-
diff --git a/src/views/modules/satisfaction/satisfactionProvince/index.vue b/src/views/modules/satisfaction/satisfactionProvince/index.vue
index 952b377ab..e653d5886 100644
--- a/src/views/modules/satisfaction/satisfactionProvince/index.vue
+++ b/src/views/modules/satisfaction/satisfactionProvince/index.vue
@@ -5,7 +5,7 @@
-
diff --git a/src/views/modules/shequzhili/event/cpts/process-form-designate.vue b/src/views/modules/shequzhili/event/cpts/process-form-designate.vue
index a89ee33e7..0c3af3a14 100644
--- a/src/views/modules/shequzhili/event/cpts/process-form-designate.vue
+++ b/src/views/modules/shequzhili/event/cpts/process-form-designate.vue
@@ -1,8 +1,8 @@
@@ -91,7 +91,10 @@ export default {
timeLimit: [
{ required: true, message: "办结时限不能为空", trigger: "blur" },
]
- }
+ },
+ selCateObj:{
+ id:""
+ },
};
},
components: {},
@@ -123,9 +126,10 @@ export default {
this.getCategoryList();
if (this.eventId) {
this.eventDetailCopy = JSON.parse(JSON.stringify(this.eventDetailData));
+ console.log(this.eventDetailCopy);
// 这一步接收到eventDetailCopy在这里回填
if (this.eventDetailCopy.parentCategoryId && this.eventDetailCopy.categoryId) {
- this.selCateObj = this.eventDetailCopy.selCateObj
+ this.selCateObj.id = this.eventDetailCopy.categoryId
this.formData.categoryId = this.eventDetailCopy.categoryId
this.selCategoryArray.push(this.eventDetailCopy.parentCategoryId, this.eventDetailCopy.categoryId)
}
@@ -177,6 +181,7 @@ export default {
if (this.selCateObj = this.$refs["myCascader"].getCheckedNodes()[0]) {
this.selCateObj = this.$refs["myCascader"].getCheckedNodes()[0].data
this.formData.categoryId = this.selCateObj.id
+ console.log(this.formData.categoryId,'this.formData.categoryId');
} else {
this.selCateObj = {}
}
@@ -201,6 +206,7 @@ export default {
if (!valid) {
app.util.validateRule(messageObj);
} else {
+ console.log(this.selCateObj);
if (!this.selCateObj || !this.selCateObj.id) {
this.$message.error("请选择事件分类");
return false;