【修改】修改流程传参 修改名称样式

This commit is contained in:
zhoulingpo
2023-04-24 21:11:53 +08:00
parent 95b35ed77a
commit 21f68b0bd8
12 changed files with 106 additions and 65 deletions
@@ -94,7 +94,7 @@ export default {
const prcType = row.prcType
console.log(prcType);
this.loading = true
this.$api.getAlreadData({taskIds:row.taskIds})
this.$api.getAlreadData({taskId:row.taskId})
.then(res=>{
switch (prcType) {
case '1':
@@ -132,18 +132,16 @@ export default {
this.loadData()
}).catch(err => {
console.log(err)
this.tableData = [{name: 1}]
})
})
},
loadData() {
let userId=this.$store.getters.userInfo.usid
this.$api.processCenter.sentProcessPage({...this.q,...this.form,userId:userId}).then(res=>{
this.tableData = res.data.list.length>0 ?res.data.list:[{name:1}]
this.tableData = res.data.list
this.total = res.data.count
}).catch(err=>{
console.log(err)
this.tableData = [{name:1}]
})
},
// 单页数据量
@@ -168,10 +166,7 @@ export default {
}
})
},
back(index, tableData) {
console.log('index', index);
console.log('tableData', tableData);
},
},
};
</script>