@@ -50,7 +50,7 @@
methods: {
onMatters(data){
console.log(data)
- uni.setStorageSync('data', {department:data.name,examine:1})
+ uni.setStorageSync('data', {department:data.id,examine:1})
uni.navigateTo({
url: '/pages/handleAffairs/matterAll/matterAll',
});
@@ -180,9 +180,9 @@ import { listDept,collectlist } from '@/api/handleAffairs/matter.js';
},
getListDept() {
const _that = this;
- let query = { yesOrNoShow: "0" };
+
// 获取推荐列表数据
- listDept(query).then(res => {
+ listDept().then(res => {
_that.recommendList = res.rows;
@@ -74,7 +74,9 @@
getMatters() {
let _that = this
listMatters(_that.queryForm).then(res => {
_that.dataList = res.rows
+ console.log("5555555555555555",_that.dataList)
_that.total = res.total
})
@@ -62,6 +62,7 @@
const matterId = this.matterlist.id
getsc({ matterId , userId }).then(res => {
this.isFavorite = res.data;
+ console.log('111111111111111111',this.isFavorite)
@@ -45,7 +45,7 @@
- uni.setStorageSync('data', {type:data.deptName,examine:1})
+ uni.setStorageSync('data', {type:data.id,examine:1})