Browse Source

更新表单提交

epdc-admin-dangqun
fengyu 3 years ago
parent
commit
5d25e18adf
  1. 16
      src/views/modules/events/item-reject-deal-detail-view.vue

16
src/views/modules/events/item-reject-deal-detail-view.vue

@ -119,6 +119,7 @@
:rules="dataRule">
<el-form-item label="处置部门" prop="handlerDeptIdRule">
<el-cascader
v-if="changeHandleShow"
ref="name"
v-model="dataForm.handlerDeptIdRule"
:options="options"
@ -395,6 +396,7 @@ export default {
idea: '',
isWhistle: true, //
isShowDeal: false,
changeHandleShow:true,
checkParentName: '',
timeloading: true,
disabledCategory: false,
@ -607,6 +609,7 @@ export default {
this.dataForm.handlePeopleMobile = val
},
'postDataForm.handleCategoryShow': function (val) {
console.log("getCategory"+val)
if (this.typeKey == 'community_party') {
//
if (val == 6) {
@ -647,6 +650,7 @@ export default {
}
},
'postDataForm.handleCategory': function (val) {
console.log("getCategory2"+val)
if (val === 1) {
this.deptResultDTOSVisible = false
this.evaluateDeptDTOSVisible = false
@ -934,7 +938,8 @@ export default {
this.postDataForm.handlerDept = res.data.handlerDept
this.postDataForm.handlerDeptId = res.data.handlerDeptId
this.getHandleResultDTOS()
this.getHandleResultDTOS();
this.postDataForm = res.data;
this.postDataForm.handlerDeptIdRule = res.data.handlerDeptId
@ -943,6 +948,8 @@ export default {
...this.dataForm,
...res.data
}
this.dataForm.handlerDeptId = res.data.handlerDeptId
let imagesList =[];
res.data.images.forEach(element => {
@ -960,6 +967,12 @@ export default {
this.postDataForm.outHandleImagesPC = imagesList;
this.postDataForm.outHandleImages = [];
this.postDataForm.handleImages = [];
this.postDataForm.handleCategory = this.postDataForm.handleCategoryShow;
this.changeHandleShow = false;
this.$nextTick(()=>{
this.changeHandleShow = true;
})
// this.changeHandleShow = true;
// this.postDataForm.handleImagesPC = [{name: 'food.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100'}, {name: 'food2.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100'}]
this.dataForm.handleProgressResultDTOS.forEach((item, index, arr) => {
// if (index === arr.length - 1) {
@ -1070,7 +1083,6 @@ export default {
//
dataFormSubmitHandle: debounce(
function (type = '') {
debugger;
this.postDataForm.categoryId = this.categoryIds[
this.categoryIds.length - 1
]

Loading…
Cancel
Save