diff --git a/src/pages/config/pages/mechanismManage/index.vue b/src/pages/config/pages/mechanismManage/index.vue index 062ed60e8..535421bfe 100644 --- a/src/pages/config/pages/mechanismManage/index.vue +++ b/src/pages/config/pages/mechanismManage/index.vue @@ -101,7 +101,7 @@ {{scope.row.institutionName}}
-

+

{{scope.row.institutionName}}

{{scope.row.institutionName.substring(0,15)}}...

@@ -116,7 +116,7 @@ {{scope.row.NameList}}
-

+

{{scope.row.NameList}}

{{scope.row.NameList.substring(0,15)}}...

@@ -334,7 +334,7 @@ export default { }, res => { console.log(res.data) res.data.records.forEach((item) => { - var NameList = '' + let NameList = '' item.positions.forEach((items) => { if (NameList.length > 0) { NameList += ',' diff --git a/src/pages/details/otherStandardDetails/components/RelatedTermsSelect.vue b/src/pages/details/otherStandardDetails/components/RelatedTermsSelect.vue index d5267b384..d7ea0fe8e 100644 --- a/src/pages/details/otherStandardDetails/components/RelatedTermsSelect.vue +++ b/src/pages/details/otherStandardDetails/components/RelatedTermsSelect.vue @@ -210,20 +210,28 @@ export default { handleSubmit(callback) { const selection = this.$refs['selection'].selection - console.log(selection) - return new Promise((resolve, reject) => { - this.postListToServer(selection).then(res => { - // 关闭当前区域 - this.handleCancel() - callback && callback() - resolve(res) - }).catch((err) => { - // 关闭当前区域 - this.handleCancel() - callback && callback() - reject(err) + if (selection.length>0){ + return new Promise((resolve, reject) => { + this.postListToServer(selection).then(res => { + // 关闭当前区域 + this.handleCancel() + callback && callback() + resolve(res) + }).catch((err) => { + // 关闭当前区域 + this.handleCancel() + callback && callback() + reject(err) + }) }) - }) + }else { + return new Promise(() => { + // 关闭当前区域 + this.handleCancel() + callback && callback() + }) + } + }, handleCancel() { diff --git a/src/pages/localTool/standAutoSplit/index.vue b/src/pages/localTool/standAutoSplit/index.vue index 9846d1ba6..3d807ae23 100644 --- a/src/pages/localTool/standAutoSplit/index.vue +++ b/src/pages/localTool/standAutoSplit/index.vue @@ -982,8 +982,12 @@ export default { }, res => { res.data.list.map((item, index) => { if (item.collectId != null && item.collectId !== '') { + item.showNumber= item.splitStatus=='0' ? item.showNumber : item.standNumSplit + item.standName=item.splitStatus=='0' ? item.standName : item.standNameSplit item.collectBtn = false } else { + item.showNumber= item.splitStatus=='0' ? item.showNumber : item.standNumSplit + item.standName=item.splitStatus=='0' ? item.standName : item.standNameSplit item.collectBtn = true } }) diff --git a/src/pages/localTool/standAutoSplit/pages/itemSplitInfo.vue b/src/pages/localTool/standAutoSplit/pages/itemSplitInfo.vue index 236df3463..babea2ac8 100644 --- a/src/pages/localTool/standAutoSplit/pages/itemSplitInfo.vue +++ b/src/pages/localTool/standAutoSplit/pages/itemSplitInfo.vue @@ -1036,7 +1036,8 @@ export default { return } const query = this.infoForm - this.editForm.id = query.infoId + this.editForm.id = this.infoId + console.log("hello",this.editForm.id); this.editForm.standNumSplit = query.standNumSplit this.editForm.standNameSplit = query.standNameSplit this.editForm.fileType = query.fileType @@ -1046,6 +1047,7 @@ export default { editFormSave () { this.$refs['editForm'].validate(valid => { if (valid) { + this.isSubmit = true this.$http.postData('lawss/sarFileSplitInfo/updateSarFileSplitInfo', this.editForm, { _this: this @@ -2223,8 +2225,8 @@ export default { const query = info[0] this.infoForm = { id: this.infoId, - standNumSplit: query.splitStatus!=='0' ? query.showNumber : query.standNumSplit, - standNameSplit: query.splitStatus!=='0' ? query.standName : query.standNameSplit, + standNumSplit: query.splitStatus=='0' ? query.showNumber : query.standNumSplit, + standNameSplit: query.splitStatus=='0' ? query.standName : query.standNameSplit, fileType: query.fileType } if (query.splitStatus === '0') { diff --git a/src/pages/localTool/standardWarning.vue b/src/pages/localTool/standardWarning.vue index 85c93ef7a..43c1a6c3b 100644 --- a/src/pages/localTool/standardWarning.vue +++ b/src/pages/localTool/standardWarning.vue @@ -261,8 +261,8 @@ :pageSize="pageConfig.newStandPageSize" :total="pageConfig.count3" autoSize - @pageChange="page => handlePageChange('newItems', page)" - @pageSizeChange="pageSize => handlePageSizeChange('newItems', pageSize)"> + @pageChange="page => handlePageChange('newStand', page)" + @pageSizeChange="pageSize => handlePageSizeChange('newStand', pageSize)"> 在产车条款预警 + + { - if (item.distributePerson === "" || item.distributePerson === null || item.distributePerson === undefined) { + if (!item.distributePerson) { this.satisfyFlag = false this.$message.warning("请选择分发责任人"); + }else{ + this.satisfyFlag = true } }); if(this.satisfyFlag){ diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue index 9d5bbc2ab..be8b531a8 100644 --- a/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue @@ -29,21 +29,37 @@ + + + { - if (item.distributePerson === "" || item.distributePerson === null || item.distributePerson === undefined) { + if (!item.distributePerson) { this.satisfyFlag = false this.$message.warning("请选择分发责任人"); + }else { + this.satisfyFlag = true } }); if(this.satisfyFlag){ diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step4.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step4.vue index 1427aa536..25617f65b 100644 --- a/src/pages/processCenter/pages/creatProcess/xmpg/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/xmpg/step4.vue @@ -220,10 +220,20 @@ label="合规"> @@ -282,10 +318,20 @@ label="合规(具体情况)"> @@ -810,6 +882,11 @@ export default { height: 100%; } } + .datePickLen { + /deep/ .el-icon-circle-close:before { + margin-left: -180px; + } + } .input-jump { /deep/.el-input__inner{ color: #409EFF; diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step6.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step6.vue index aa5ffa79c..1d608e3e5 100644 --- a/src/pages/processCenter/pages/creatProcess/xmpg2/step6.vue +++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step6.vue @@ -132,10 +132,20 @@ label="合规"> @@ -194,10 +230,20 @@ label="合规(具体情况)"> @@ -896,6 +968,12 @@ export default { .accessStandardsAndRegulations { height: 100%; } + + .datePickLen { + /deep/ .el-icon-circle-close:before { + margin-left: -180px; + } + } } .demo-drawer-content { diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index 6ecccb894..d351f035e 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -2872,12 +2872,14 @@ export default { this.$set(data, 'showDel', false) }, treeClick(treeNode) { + console.log("hello") this.selectSarMenu = treeNode this.standCommonlySearch.menuId = treeNode.id this.sarStandardsSearch.menuId = treeNode.id // 将当前二级菜单的id传回后台做标准的条件查询 this.sarStandardsSearch.page = 1 this.standCommonlySearch.page = 1 - this.getDomesticStandardTable(this.tableFlag) + //搜索后点击属性菜单依然显示搜索条件的数据 + this.getDomesticStandardTable(this.standCommonlySearch) }, // 点击搜索按钮 searchBtnClick(standCommonlySearch) {