政策征求意见流程 征求意见列表 修改
This commit is contained in:
+4
@@ -320,6 +320,7 @@ export default {
|
||||
this.selectList = row
|
||||
},
|
||||
batchDeleteModel () {
|
||||
console.log(1)
|
||||
if (this.selectList && this.selectList.length > 0) {
|
||||
this.$confirm('确认删除这些数据?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
@@ -328,6 +329,7 @@ export default {
|
||||
type: 'warning',
|
||||
roundButton: false
|
||||
}).then(() => {
|
||||
console.log(2)
|
||||
const deleteIds = this.selectList.map(val => val.id)
|
||||
this.$http.delete('lawss/activiti/deletePolicitOpinionEOList', { ids: deleteIds }).then(res => {
|
||||
if (res.ok) {
|
||||
@@ -385,6 +387,7 @@ export default {
|
||||
this.$http.postData('lawss/activiti/insertPolicitOpinionEOList', { ...row, prcId: this.$route.query.prcId, sarLawsInfoId: this.$parent.dataForm.lawsId }, { _this: this }, res => {
|
||||
if (res.ok) {
|
||||
this.$message.success('操作成功')
|
||||
this.getData()
|
||||
}else {
|
||||
this.$message.warning(res.message)
|
||||
}
|
||||
@@ -394,6 +397,7 @@ export default {
|
||||
this.$http.putData('lawss/activiti/updatePolicitOpinionEOList', { ...row, prcId: this.$route.query.prcId, sarLawsInfoId: this.$parent.dataForm.lawsId }, { _this: this }, res => {
|
||||
if (res.ok) {
|
||||
this.$message.success('操作成功')
|
||||
this.getData()
|
||||
}else {
|
||||
this.$message.warning(res.message)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user