【修改】修改流程传参 修改名称样式
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user