From a1e0d470093b77b1723f3e7bb28e564944062fe9 Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Mon, 23 May 2022 17:20:08 +0800 Subject: [PATCH 1/9] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93?= =?UTF-8?q?=E5=B7=B2=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/documentManage/collection/index.vue | 137 +++++--- .../splitting/modules/SplitAddForm.vue | 2 +- .../documentManage/subscribtion/index.vue | 302 +++++++++++------- 3 files changed, 273 insertions(+), 168 deletions(-) diff --git a/jero-web/src/views/documentManage/collection/index.vue b/jero-web/src/views/documentManage/collection/index.vue index f352a636c..21feda519 100644 --- a/jero-web/src/views/documentManage/collection/index.vue +++ b/jero-web/src/views/documentManage/collection/index.vue @@ -3,37 +3,46 @@
- - - +
+ - - - +
+
+ {{$t('standard')}} +
+ +
- - - +
+
+ {{$t('title')}} +
+ +
- - - - - - - {{$t('query')}} - {{ $t('reset') }} - +
+
+ {{$t('status')}} +
+ +
+ + + {{$t('query')}} + {{$t('reset')}} + +
- - +
@@ -272,28 +281,64 @@ } } } - - + \ No newline at end of file diff --git a/jero-web/src/views/documentManage/splitting/modules/SplitAddForm.vue b/jero-web/src/views/documentManage/splitting/modules/SplitAddForm.vue index e35c7bc11..d33dc24ac 100644 --- a/jero-web/src/views/documentManage/splitting/modules/SplitAddForm.vue +++ b/jero-web/src/views/documentManage/splitting/modules/SplitAddForm.vue @@ -1398,6 +1398,6 @@ .box-input .ant-select-selection__rendered { line-height: 32px; height: 32px; - overflow-y: auto; + /*overflow-y: auto;*/ } \ No newline at end of file diff --git a/jero-web/src/views/documentManage/subscribtion/index.vue b/jero-web/src/views/documentManage/subscribtion/index.vue index 21a28ed58..9bdb376a6 100644 --- a/jero-web/src/views/documentManage/subscribtion/index.vue +++ b/jero-web/src/views/documentManage/subscribtion/index.vue @@ -3,41 +3,56 @@
- - + +
- - - - + +
+
+ {{$t('standard')}} +
+ +
- - - - + +
+
+ {{$t('title')}} +
+ +
- - - - - - - - {{$t('query')}} - {{$t('reset')}} - + +
+
+ {{$t('status')}} +
+ +
+ + + {{$t('query')}} + {{$t('reset')}} + +
- +
- + {{ $t('SubscriptionManagement') }}
- + {{ $t('BatchCancellation') }}
@@ -53,13 +68,13 @@ :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" > - {{record.serialNumber}} + {{record.serialNumber}} - {{record.title}} + {{record.title}} - {{$t('CancelSubscribe')}} + {{$t('CancelSubscribe')}}
@@ -82,196 +97,199 @@ \ No newline at end of file From 3d97252141856ade5e0de0c11bc9c7017d12e23f Mon Sep 17 00:00:00 2001 From: xiejunyu Date: Mon, 23 May 2022 17:36:25 +0800 Subject: [PATCH 2/9] =?UTF-8?q?bug51957+51803=E7=9B=B8=E5=85=B3=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E4=B8=8D=E6=A0=A1=E9=AA=8C=E7=A9=BA=E5=AD=97?= =?UTF-8?q?=E6=AE=B5+52795=E8=AE=A4=E8=AF=81=E5=B7=A5=E7=A8=8B=E5=B8=88?= =?UTF-8?q?=E5=85=B3=E8=81=94=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ProjectRelatedPersonnelController.java | 3 +- .../enums/ProjectTaskPlanningNameEnum.java | 2 +- .../IProjectRelatedPersonnelService.java | 3 +- .../ProjectRelatedPersonnelServiceImpl.java | 276 +++++++++--------- 4 files changed, 143 insertions(+), 141 deletions(-) diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/controller/ProjectRelatedPersonnelController.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/controller/ProjectRelatedPersonnelController.java index 7a9a244a0..291cceac3 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/controller/ProjectRelatedPersonnelController.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/controller/ProjectRelatedPersonnelController.java @@ -5,7 +5,6 @@ import com.jero.common.aspect.annotation.AutoLog; import com.jero.common.system.base.controller.JeroController; import com.jero.modules.project.entity.ProjectRelatedPersonnel; import com.jero.modules.project.service.IProjectRelatedPersonnelService; -import com.jero.modules.system.entity.SysUser; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.extern.slf4j.Slf4j; @@ -195,7 +194,7 @@ public class ProjectRelatedPersonnelController extends JeroController queryCertificationEngineer(@RequestParam(name="projectId",required=true) String projectId){ - List certificationEngineerList = projectRelatedPersonnelService.queryCertificationEngineer(projectId); + List certificationEngineerList = projectRelatedPersonnelService.queryCertificationEngineer(projectId); return Result.OK(certificationEngineerList); } } diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/enums/ProjectTaskPlanningNameEnum.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/enums/ProjectTaskPlanningNameEnum.java index 02839a265..e4940671a 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/enums/ProjectTaskPlanningNameEnum.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/enums/ProjectTaskPlanningNameEnum.java @@ -4,7 +4,7 @@ public enum ProjectTaskPlanningNameEnum { LIST_CONFIRMATION("法规清单确认"," Confirmation of regulations list"), LEGAL_TASK_CONFIRMATION("法规任务确认","Regulatory task confirmation"), DESIGN_DEADLINE("设计符合性确认","Design Compliance Check"), - PREHOMO_DEADLINE("Pre-Homo确认","Pre-homo Check"), + PREHOMO_DEADLINE("Pre-Homo确认","Pre-Homo Check"), ATTESTATION_START_TIME("认证开始","Certification start"), ATTESTATION_END_TIME("认证结束"," Certification end"), VERIFY_DEADLINE("验证符合性确认截止时间","Verification compliance confirmation deadline"), diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/service/IProjectRelatedPersonnelService.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/service/IProjectRelatedPersonnelService.java index 7455c6f05..273981bd1 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/service/IProjectRelatedPersonnelService.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/service/IProjectRelatedPersonnelService.java @@ -2,7 +2,6 @@ package com.jero.modules.project.service; import com.baomidou.mybatisplus.extension.service.IService; import com.jero.modules.project.entity.ProjectRelatedPersonnel; -import com.jero.modules.system.entity.SysUser; import org.apache.poi.openxml4j.exceptions.InvalidFormatException; import org.springframework.web.multipart.MultipartFile; @@ -87,5 +86,5 @@ public interface IProjectRelatedPersonnelService extends IService queryCertificationEngineer(String projectId); + List queryCertificationEngineer(String projectId); } diff --git a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/service/impl/ProjectRelatedPersonnelServiceImpl.java b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/service/impl/ProjectRelatedPersonnelServiceImpl.java index 7c3ce10d4..f30b62a0a 100644 --- a/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/service/impl/ProjectRelatedPersonnelServiceImpl.java +++ b/jero-boot/jero-boot-modules/src/main/java/com/jero/modules/project/service/impl/ProjectRelatedPersonnelServiceImpl.java @@ -11,6 +11,7 @@ import com.jero.common.util.RedisUtil; import com.jero.common.util.TokenUtils; import com.jero.modules.dummy.service.impl.DummyInventoryInfoEOServiceImpl; import com.jero.modules.enums.DictCodeEnum; +import com.jero.modules.project.entity.ProjectLibraryBase; import com.jero.modules.project.entity.ProjectRelatedPersonnel; import com.jero.modules.project.mapper.ProjectRelatedPersonnelMapper; import com.jero.modules.project.service.IProjectRelatedPersonnelService; @@ -83,6 +84,8 @@ public class ProjectRelatedPersonnelServiceImpl extends ServiceImpl0 && StringUtils.isNotBlank(row.getCell(k).getStringCellValue())) { + if (CutEnum.CN.getValue().equals(cut)) { + throw new JeroBootException("填写说明列数不对,请严格按照模板文件导入数据"); + } else { + throw new JeroBootException("The number of columns of filling explanation is wrong. Please import data strictly according to the template file."); + } } } - } if (i > 1) {//读取数据 //获取每一行数据 @@ -762,7 +767,7 @@ public class ProjectRelatedPersonnelServiceImpl extends ServiceImpl可以 + }else if(StringUtils.isBlank(lawEngineerName) || StringUtils.isBlank(engineeringInterfacePersonName) || StringUtils.isBlank(certificationEngineerName)) { + //除了责任领域,其他的可以全为空->可以 projectRelatedPersonnel.setLawEngineerName(""); projectRelatedPersonnel.setEngineeringInterfacePersonName(""); projectRelatedPersonnel.setCertificationEngineerName(""); - }else {//除了责任领域,备注,有一个为空都报错 + }/*else {//除了责任领域,备注,有一个为空都报错 if(CutEnum.CN.getValue().equals(cut)){ throw new JeroBootException("请填写必填字段内容,带*的为必填.请检查第 "+ (i+1) + "行"); }else{ throw new JeroBootException("Please fill in the required fields marked with * .Please check line" + (i+1)); } - } + }*/ String remark = row.getCell(4, Row.MissingCellPolicy.CREATE_NULL_AS_BLANK).toString(); if(StringUtils.isNotEmpty(row.getCell(4).toString())) { @@ -803,7 +808,7 @@ public class ProjectRelatedPersonnelServiceImpl extends ServiceImpl queryCertificationEngineer(String projectId) { + public List queryCertificationEngineer(String projectId) { QueryWrapper queryWrapper = new QueryWrapper<>(); List list = list(queryWrapper.eq("project_id",projectId)); - List certificationEngineerList = list.stream().map(e -> e.getCertificationEngineer()).collect(Collectors.toList()); +// List certificationEngineerIdList = list.stream().map(e -> e.getCertificationEngineer()).collect(Collectors.toList()); - StringBuilder userIdBuilder=new StringBuilder(); - List certificationEngineerUsers = new ArrayList<>(); - if(CollectionUtils.isNotEmpty(certificationEngineerList)){ - for(String certificationEngineerId :certificationEngineerList){ - if(StringUtils.isNotBlank(certificationEngineerId)) { - userIdBuilder.append(certificationEngineerId).append(","); + //查询基础表认证工程师的值 + QueryWrapper baseQueryWrapper = new QueryWrapper<>(); + List baseDataList = projectLibraryBaseService.list(baseQueryWrapper.eq("id", projectId)); + String baseCertificationEngineer = baseDataList.get(0).getCertificationEngineer(); +// List certificationEngineerUsers = new ArrayList<>();//认证工程师非空 + + if(StringUtils.isNotBlank(baseCertificationEngineer)) { + for (ProjectRelatedPersonnel projectRelatedPersonnel : list) { + if (StringUtils.isBlank(projectRelatedPersonnel.getCertificationEngineer())) { + projectRelatedPersonnel.setCertificationEngineer(baseCertificationEngineer); } } - String userId = userIdBuilder.substring(0, userIdBuilder.toString().length() - 1); - List userIdList = Arrays.asList(userId.split(",")); - userIdList.stream().distinct().collect(Collectors.toList()); - QueryWrapper userqueryWrapper = new QueryWrapper<>(); - userqueryWrapper.in("id ", userIdList); - certificationEngineerUsers = sysUserMapper.selectList(userqueryWrapper); } - return certificationEngineerUsers; + disposeData(list); + return list; } From dbd7c662a6c7d722c614b588cbdff670cda1d4ed Mon Sep 17 00:00:00 2001 From: qq787203167 <787203167@qq.com> Date: Mon, 23 May 2022 17:45:30 +0800 Subject: [PATCH 3/9] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=A6=85=E9=81=93?= =?UTF-8?q?=E5=B7=B2=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/documentManage/collection/index.vue | 2 + .../documentManage/tags/tabs/TagContent.vue | 534 +++--- .../documentManage/tags/tabs/TagItem.vue | 591 ++++--- .../virtualList/components/addModel.vue | 2 + .../components/virtualListDetails.vue | 2 + .../views/documentTools/virtualList/index.vue | 2 + .../ParameterItemCollectionList.vue | 1534 +++++++++-------- .../projectManagement/components/TaskList.vue | 54 +- .../components/TaskParameterCollection.vue | 235 +-- .../components/listAddModel.vue | 2 + .../components/listOfRegulations.vue | 2 + .../components/nonConformance.vue | 2 + .../components/transferList.vue | 26 +- .../historicalVersion/index.vue | 56 +- .../projectLibrary/index.vue | 2 + .../projectNonConformance/index.vue | 4 +- .../projectStatusBoard/index.vue | 46 +- 17 files changed, 1623 insertions(+), 1473 deletions(-) diff --git a/jero-web/src/views/documentManage/collection/index.vue b/jero-web/src/views/documentManage/collection/index.vue index 21feda519..5c09a4e35 100644 --- a/jero-web/src/views/documentManage/collection/index.vue +++ b/jero-web/src/views/documentManage/collection/index.vue @@ -4,6 +4,7 @@
+
@@ -42,6 +43,7 @@ +
diff --git a/jero-web/src/views/documentManage/tags/tabs/TagContent.vue b/jero-web/src/views/documentManage/tags/tabs/TagContent.vue index 2eda7c419..a33437abd 100644 --- a/jero-web/src/views/documentManage/tags/tabs/TagContent.vue +++ b/jero-web/src/views/documentManage/tags/tabs/TagContent.vue @@ -1,93 +1,101 @@ @@ -97,137 +105,136 @@ // import tabTable from './tabTable' import DicList from '../dialog/DicList' import Vue from 'vue' - import { UI_CACHE_DB_DICT_DATA } from "@/store/mutation-types" + import { UI_CACHE_DB_DICT_DATA } from '@/store/mutation-types' + export default { name: 'tagContent', - components:{ + components: { // tabTable, DicList }, - data(){ - return{ + data() { + return { title: this.$t('add'), - total:0, - queryParams:{ - pageNo:1, - pageSize:10 + total: 0, + queryParams: { + pageNo: 1, + pageSize: 10 }, - ids:[], - loading:false, + ids: [], + loading: false, selectedRowKeys: [], - contentVisible:false, - tableData:[], + contentVisible: false, + tableData: [], columns: [ { title: this.$t('LabelName'), dataIndex: 'dictName', key: 'dictName', - align: "center", + align: 'center', ellipsis: true, - width: 100, + width: 100 }, { title: this.$t('LabelType'), - align: "center", + align: 'center', width: 100, - dataIndex: 'attributeTypeName', + dataIndex: 'attributeTypeName' }, { title: this.$t('describe'), - align: "center", + align: 'center', dataIndex: 'description', ellipsis: true, - width:300 + width: 300 }, { title: this.$t('operation'), dataIndex: 'action', - scopedSlots: {customRender: 'action'}, - align: "center", + scopedSlots: { customRender: 'action' }, + align: 'center', width: 170 } ], - labelCol: { span:6 }, + labelCol: { span: 6 }, wrapperCol: { span: 16 }, - form:{}, - rules:{ - dictName:[{ required: true, message: this.$t('PleaseEnterLabelName'), trigger: 'change' }, - { min:1, max: 100, message: this.$t('cantExeed')+'100'+this.$t('characters'), trigger: 'blur' },], - attributeType:[ - { required: true, message: this.$t('PleaseSelectLabelType'), trigger: 'blur' }, + form: {}, + rules: { + dictName: [{ required: true, message: this.$t('PleaseEnterLabelName'), trigger: 'change' }, + { min: 1, max: 100, message: this.$t('cantExeed') + '100' + this.$t('characters'), trigger: 'blur' }], + attributeType: [ + { required: true, message: this.$t('PleaseSelectLabelType'), trigger: 'blur' } ], - description:[ - { min:1, max: 200, message: this.$t('cantExeed')+'200'+this.$t('characters'), trigger: 'blur' }, + description: [ + { min: 1, max: 200, message: this.$t('cantExeed') + '200' + this.$t('characters'), trigger: 'blur' } ] }, // typeVisible:{}, - dicVisible:false, - dictVal:'list', + dicVisible: false, + dictVal: 'list', record: {}, - isEdit:1, - flag:false, //表单提交标识 + isEdit: 1, + flag: false //表单提交标识 } }, - computed:{ - - }, + computed: {}, mounted() { - this.loadData(); + this.loadData() }, - methods:{ + methods: { //获取列表数据 - loadData(param){ - this.loading=true - let params={ + loadData(param) { + this.loading = true + let params = { ...this.queryParams, - isTagDict:1, + isTagDict: 1 } // sys/dict/tagDictPage // sys/dict/page - postAction(`sys/dict/tagDictPage`,params).then(res=>{ - if(res.success){ - this.total=res.result.total - this.tableData=[...res.result.records] + postAction(`sys/dict/tagDictPage`, params).then(res => { + if (res.success) { + this.total = res.result.total + this.tableData = [...res.result.records] } - }).finally(()=>{ - this.loading=false + }).finally(() => { + this.loading = false }) }, //查询 - searchQuery(){ - this.queryParams.pageNo=1 + searchQuery() { + this.queryParams.pageNo = 1 this.loadData() }, - searchReset(){ - this.queryParams={ - pageNo:1, + searchReset() { + this.queryParams = { + pageNo: 1, pageSize: 10 } this.loadData() }, - handleAdd(){ - this.title=this.$t('add') - this.isEdit=1 - this.contentVisible=true - this.form={} + handleAdd() { + this.title = this.$t('add') + this.isEdit = 1 + this.contentVisible = true + this.form = {} }, - hideModal(){ - let params={ - ...this.form, + hideModal() { + let params = { + ...this.form } - this.$refs.ruleForm.validate((valid)=>{ + this.$refs.ruleForm.validate((valid) => { // console.log('valide',valide) - if(valid){ + if (valid) { - if(!this.flag){ - this.flag=true - if(this.isEdit==1){ + if (!this.flag) { + this.flag = true + if (this.isEdit == 1) { - params.id='' - params.isTagDict=1 - params.isReadOnly=0 - postAction(`sys/dict/add`,params).then(res=> { + params.id = '' + params.isTagDict = 1 + params.isReadOnly = 0 + postAction(`sys/dict/add`, params).then(res => { if (res.success) { this.$message.success(this.$t('OperationSuccessful')) this.contentVisible = false @@ -244,26 +251,26 @@ } } - }).finally(()=>{ - this.flag=false - }) - }else if(this.isEdit==0){ - this.$delete(params,'isReadOnly') - this.$delete(params,'isTagDict') - // console.log('editparams',params) - putAction(`sys/dict/edit`,params).then(res=>{ - if(res.success){ - this.$message.success( this.$t('OperationSuccessful')) - this.reFresh() - this.loadData() - this.contentVisible=false - this.form={} - }else{ - this.$message.warning(this.$t('operationFailed')) - } - }).finally(()=>{ - this.flag=false - }) + }).finally(() => { + this.flag = false + }) + } else if (this.isEdit == 0) { + this.$delete(params, 'isReadOnly') + this.$delete(params, 'isTagDict') + // console.log('editparams',params) + putAction(`sys/dict/edit`, params).then(res => { + if (res.success) { + this.$message.success(this.$t('OperationSuccessful')) + this.reFresh() + this.loadData() + this.contentVisible = false + this.form = {} + } else { + this.$message.warning(this.$t('operationFailed')) + } + }).finally(() => { + this.flag = false + }) } } } @@ -271,7 +278,7 @@ }, //刷新缓存 - reFresh(){ + reFresh() { getAction('sys/dict/refleshCache').then((res) => { if (res.success) { //重新加载缓存 @@ -286,17 +293,17 @@ console.log('刷新失败', e) }) }, - cancelModel(){ - this.contentVisible=false - this.form={} + cancelModel() { + this.contentVisible = false + this.form = {} }, - onCellChange(){ + onCellChange() { }, //删除 - onDelete(val){ - let param={ - id:val.id + onDelete(val) { + let param = { + id: val.id } this.$confirm({ title: this.$t('ConfirmDelete'), @@ -307,12 +314,12 @@ if (res.success) { this.$message.success(this.$t('OperationSuccessful')) this.reFresh() - if(this.tableData&&this.tableData.length==1&&this.queryParams.pageNo!=1){ - this.queryParams.pageNo=this.queryParams.pageNo-1 + if (this.tableData && this.tableData.length == 1 && this.queryParams.pageNo != 1) { + this.queryParams.pageNo = this.queryParams.pageNo - 1 } this.loadData() - }else{ - this.$message.warning(this.$t('operationFailed')); + } else { + this.$message.warning(this.$t('operationFailed')) } }) } @@ -320,16 +327,16 @@ }, onSelectChange(selectedRowKeys) { // console.log('selectedRowKeys changed: ', selectedRowKeys); - this.selectedRowKeys = selectedRowKeys; - this.ids = this.selectedRowKeys; - console.log('selRows',selectedRowKeys) + this.selectedRowKeys = selectedRowKeys + this.ids = this.selectedRowKeys + console.log('selRows', selectedRowKeys) }, //批量删除 - batDelete(){ - let params={ - ids:this.ids.join(',') + batDelete() { + let params = { + ids: this.ids.join(',') } - if(this.ids&&this.ids.length>0){ + if (this.ids && this.ids.length > 0) { this.$confirm({ title: this.$t('ConfirmDelete'), content: '', @@ -339,46 +346,45 @@ if (res.success) { this.$message.success(this.$t('OperationSuccessful')) this.reFresh() - this.selectedRowKeys=[] - if(this.ids.length==this.tableData.length&&this.queryParams.pageNo!=1){ - this.queryParams.pageNo=this.queryParams.pageNo-1 + this.selectedRowKeys = [] + if (this.ids.length == this.tableData.length && this.queryParams.pageNo != 1) { + this.queryParams.pageNo = this.queryParams.pageNo - 1 } this.loadData() - // postAction(`online/cgform/api/doDbSynch/48308196e7b04761b533dc31bc899707/normal - // `,{}).then(res=>{ - // }) - }else{ + // postAction(`online/cgform/api/doDbSynch/48308196e7b04761b533dc31bc899707/normal + // `,{}).then(res=>{ + // }) + } else { this.$message.warning(this.$t('operationFailed')) } }) } }) - } - else{ + } else { this.$message.warning(this.$t('selectLeastOne')) } }, //编辑 - actionEdit(val){ - this.title=this.$t('edit') - this.isEdit=0 - this.form={...val} - this.contentVisible=true + actionEdit(val) { + this.title = this.$t('edit') + this.isEdit = 0 + this.form = { ...val } + this.contentVisible = true }, //字典配置 - handleDicPop(record){ - this.record=record - if(record.attributeType=='1'){ + handleDicPop(record) { + this.record = record + if (record.attributeType == '1') { // console.log('attribu',record.attributeType,record.attributeType=='1') // this.typeVisible[record.id]=false - this.dictVal='list' - this.dicVisible=true + this.dictVal = 'list' + this.dicVisible = true - }else if(record.attributeType=='2'){ + } else if (record.attributeType == '2') { // this.typeVisible[record.id]=false - this.dictVal='tree' - this.dicVisible=true + this.dictVal = 'tree' + this.dicVisible = true } }, afterDicVisibleChange(val) { @@ -387,69 +393,107 @@ }, //字典列表关闭 onDicClose() { - this.dicVisible = false; + this.dicVisible = false }, //点击页数 - onChangePage(page,pageSize){ - console.log('page',page) + onChangePage(page, pageSize) { + console.log('page', page) this.queryParams.pageNo = page this.loadData() }, //一页显示条数 - SizeChange(page,pageSize){ + SizeChange(page, pageSize) { this.queryParams.pageSize = pageSize - this.queryParams.pageNo=1 + this.queryParams.pageNo = 1 this.loadData() - }, + } } } - + \ No newline at end of file diff --git a/jero-web/src/views/documentManage/tags/tabs/TagItem.vue b/jero-web/src/views/documentManage/tags/tabs/TagItem.vue index fcd00fd36..de4062fdb 100644 --- a/jero-web/src/views/documentManage/tags/tabs/TagItem.vue +++ b/jero-web/src/views/documentManage/tags/tabs/TagItem.vue @@ -1,256 +1,279 @@ \ No newline at end of file diff --git a/jero-web/src/views/projectManagement/components/TaskList.vue b/jero-web/src/views/projectManagement/components/TaskList.vue index 2abd5697d..bcac01a40 100644 --- a/jero-web/src/views/projectManagement/components/TaskList.vue +++ b/jero-web/src/views/projectManagement/components/TaskList.vue @@ -1,34 +1,36 @@