diff --git a/src/views/manage/Portraitedit/index.vue b/src/views/manage/Portraitedit/index.vue index 0e32d34..cf94bc1 100644 --- a/src/views/manage/Portraitedit/index.vue +++ b/src/views/manage/Portraitedit/index.vue @@ -33,7 +33,7 @@ " > {{ ulitem.taskTypeName - }}|~{{ ulitem.taskPartitionDictName }} @@ -349,16 +349,13 @@ export default { } .timelist { width: 25%; + overflow: hidden; + .left { + width: 100%; background-color: #fff; padding: 17px 20px; - height: calc(100% - 56px); - // height: 680px; - // height: calc(100vh - 294px); - overflow-y: scroll; - - .left { - height: calc(100vh - 119px); - overflow: hidden; + height: calc(100vh - 156px); + overflow-y: auto; .name { font-weight: 700; margin-bottom: 10px; diff --git a/src/views/manage/components/PathReview.vue b/src/views/manage/components/PathReview.vue index 505feca..f4ba4b6 100644 --- a/src/views/manage/components/PathReview.vue +++ b/src/views/manage/components/PathReview.vue @@ -224,7 +224,7 @@ 公众号 - + 小程序 @@ -247,7 +247,7 @@ {{ item.officialNodeContent }} -
+
小程序模板
diff --git a/src/views/manage/components/portrait.vue b/src/views/manage/components/portrait.vue index 5df1455..95cda65 100644 --- a/src/views/manage/components/portrait.vue +++ b/src/views/manage/components/portrait.vue @@ -2,7 +2,7 @@
-
+
{{ aitem.taskPartitionDictName }}
@@ -622,6 +624,7 @@ :max-height="maxTableHeight" v-loading="loading" :data="taskTypeList" + @cell-dblclick="nurseclicktype" @selection-change="handleSelectionChange" > @@ -885,33 +888,32 @@ export default { }, // 任务类型弹框 clicktype(aitem, index) { - console.log(aitem, '0000000') this.getListType(); this.taskTypeId = aitem.taskTypeId ? aitem.taskTypeId : ''; this.nnerVisibleindex = index; - this.innertype = true; - this.form.taskPartitionDictName = '请选择任务细分'; - this.form.taskPartitionDictId = ''; + this.innertype = true + }, // 任务细分弹框 clickinnerVisible(aitem, index) { - if (this.taskTypeId == '') { + if (this.taskTypeId == ''|| !aitem.taskTypeId) { this.$modal.msgError("请先选择任务类型"); } else { - this.taskTypeId = aitem.taskTypeId ? aitem.taskTypeId : ''; this.nnerVisibleindex = index; + this.taskPartitionDictId = aitem.taskPartitionDictId ? aitem.taskPartitionDictId : ''; this.innerVisible = true; } - // this.getListpartit(); + if(aitem.taskTypeId){ + this.queryParamstask.taskTypeId=aitem.taskTypeId + } + this.getListpartit(); }, // 修改任务类型 clicktypexg() { if (this.form.taskTypeId) { this.taskTypeId = this.form.taskTypeId - - } this.getListType(); this.innertype = true; @@ -938,6 +940,7 @@ export default { this.innertype = false; }, nurseclickzx(row) { + this.taskPartitionDictId = row.id if (this.title == '添加标签字段信息') { this.form.labelFieldInfoList[this.nnerVisibleindex].taskPartitionDictName = row.taskPartitionName; @@ -955,18 +958,23 @@ export default { nurseclicktype(row) { console.log(row, 'row') this.queryParamstask.taskTypeId = row.id - this.taskTypeId=this.queryParamstask.taskTypeId - this.getListpartit() + this.taskTypeId = this.queryParamstask.taskTypeId + // this.getListpartit() if (this.title == '添加标签字段信息') { this.form.labelFieldInfoList[this.nnerVisibleindex].taskTypeName = row.taskTypeName; this.form.labelFieldInfoList[this.nnerVisibleindex].taskTypeId = row.id; + this.form.labelFieldInfoList[this.nnerVisibleindex].taskPartitionDictName ='请选择任务细分', + this.form.labelFieldInfoList[this.nnerVisibleindex].taskPartitionDictId = ''; + // this.form.taskPartitionDictName = '请选择任务细分', + this.taskPartitionDictId = ''; + } else if (this.titleup == '修改标签字段信息') { this.form.taskTypeName = row.taskTypeName; - this.form.taskTypeId =row.id; + this.form.taskTypeId = row.id; this.form.taskPartitionDictName = "请选择任务细分"; - this.form.taskPartitionDictId =''; + this.form.taskPartitionDictId = ''; } this.innertype = false; }, @@ -994,6 +1002,7 @@ export default { fieldCode: null, }; + this.taskTypeId='' if (this.form.labelFieldInfoList.length == 5) { this.$message.error("最多批量添加5条"); } else { @@ -1059,7 +1068,7 @@ export default { this.handleQuerytask(); }, // 类型 - handleQuerytype(){ + handleQuerytype() { this.queryType.pageNum = 1; this.getListType(); @@ -1078,24 +1087,24 @@ export default { /** 新增按钮操作 */ handleAdd() { this.reset(); - this.taskTypeId='', - this.taskPartitionDictId='', - this.form = { - labelFieldInfoList: [ - { - fieldType: null, - fieldName: null, - fieldRemark: null, - fieldSort: undefined, - taskPartitionDictName: '请选择任务细分', - taskPartitionDictId: '', - taskTypeName: '请选择任务类型', - taskTypeId: '', + this.taskTypeId = '', + this.taskPartitionDictId = '', + this.form = { + labelFieldInfoList: [ + { + fieldType: null, + fieldName: null, + fieldRemark: null, + fieldSort: undefined, + taskPartitionDictName: '请选择任务细分', + taskPartitionDictId: '', + taskTypeName: '请选择任务类型', + taskTypeId: '', - }, - ], - }; + }, + ], + }; this.open = true; this.title = "添加标签字段信息"; }, @@ -1116,7 +1125,6 @@ export default { this.queryParamstask.taskTypeId = this.form.taskTypeId this.getListpartit(); } - this.openup = true; this.titleup = "修改标签字段信息"; }); @@ -1151,7 +1159,6 @@ export default { } }); - console.log(obj, 'obj') // return addLabelfieldinfo(obj).then(response => { this.$modal.msgSuccess("新增成功"); diff --git a/src/views/manage/servicewaycontent/index.vue b/src/views/manage/servicewaycontent/index.vue index efced5d..1f1e440 100644 --- a/src/views/manage/servicewaycontent/index.vue +++ b/src/views/manage/servicewaycontent/index.vue @@ -231,16 +231,16 @@ --> + style="width: 478px"> - - + + - + 数字 @@ -248,12 +248,12 @@
+ placeholder="请输入服务频次数字起始值" style="width:200px"/> ~ + v-model="form.serviceFrequencyEnd" placeholder="请输入服务频次数字结束值" style="width:200px"/>
@@ -265,14 +265,14 @@
+ style="width: 405px" />
+ style="width: 478px" />