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