政策征求意见流程 征求意见列表 接口参数
This commit is contained in:
+13
-8
@@ -334,9 +334,10 @@ export default {
|
||||
this.getData()
|
||||
this.resetSelect()
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
}
|
||||
}).catch(() => {
|
||||
});
|
||||
})
|
||||
}).catch(() => {
|
||||
// 取消删除,清空选择
|
||||
this.$refs.selection.clearSelection();
|
||||
@@ -365,11 +366,15 @@ export default {
|
||||
type: 'warning',
|
||||
roundButton: false
|
||||
}).then(() => {
|
||||
if (row.id) {
|
||||
this.deleteList.push(row.id)
|
||||
}
|
||||
this.histortData.splice(num, 1)
|
||||
this.histortData = [ ...this.histortData ]
|
||||
this.$http.delete('lawss/activiti/deletePolicitOpinionEOList', { ids: row.id }).then(res => {
|
||||
if (res.ok) {
|
||||
this.getData()
|
||||
this.resetSelect()
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
}
|
||||
}).catch(() => {
|
||||
})
|
||||
}).catch(() => {
|
||||
// 取消删除,清空选择
|
||||
// this.$refs.multipleTable.clearSelection()
|
||||
@@ -377,7 +382,7 @@ export default {
|
||||
},
|
||||
addModelForm (row) {
|
||||
if (this.addOrEdit == 'add') {
|
||||
this.$http.postData('lawss/activiti/insertPolicitOpinionEOList', { row }, { _this: this }, res => {
|
||||
this.$http.postData('lawss/activiti/insertPolicitOpinionEOList', { ...row, prcId: this.$route.query.prcId, userId: this.$store.getters.userInfo.userId }, { _this: this }, res => {
|
||||
if (res.ok) {
|
||||
this.$message.success('操作成功')
|
||||
}else {
|
||||
@@ -386,7 +391,7 @@ export default {
|
||||
}, e => {
|
||||
})
|
||||
} else if (this.addOrEdit == 'edit') {
|
||||
this.$http.postData('lawss/activiti/updatePolicitOpinionEOList', { row }, { _this: this }, res => {
|
||||
this.$http.postData('lawss/activiti/updatePolicitOpinionEOList', { ...row, prcId: this.$route.query.prcId, userId: this.$store.getters.userInfo.userId }, { _this: this }, res => {
|
||||
if (res.ok) {
|
||||
this.$message.success('操作成功')
|
||||
}else {
|
||||
|
||||
Reference in New Issue
Block a user