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