diff --git a/public/static/pdf/web/viewer.css b/public/static/pdf/web/viewer.css index accde2053..051eb68d9 100644 --- a/public/static/pdf/web/viewer.css +++ b/public/static/pdf/web/viewer.css @@ -462,7 +462,7 @@ html[dir='rtl'] #outerContainer.sidebarOpen > #sidebarContainer { html[dir='ltr'] #outerContainer.sidebarOpen > #mainContainer { -webkit-transition-property: left; transition-property: left; - left: 200px; + /*left: 200px;*/ } html[dir='rtl'] #outerContainer.sidebarOpen > #mainContainer { -webkit-transition-property: right; diff --git a/public/static/pdf/web/viewer.html b/public/static/pdf/web/viewer.html index e9673f3e2..fd3522605 100644 --- a/public/static/pdf/web/viewer.html +++ b/public/static/pdf/web/viewer.html @@ -232,7 +232,7 @@ See https://github.com/adobe-type-tools/cmap-resources
-
+
-
{{item.standName}}
+
{{item.standName && item.standName !== '' ? item.standName : item.standEnName}}
diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue index 3588c3e3a..fc7cf7d6b 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue @@ -78,8 +78,8 @@
- 隐藏基础信息 - 展开基础信息 + 隐藏基础信息 + 展开基础信息
@@ -127,7 +127,7 @@ show-overflow-tooltip align="center"> @@ -513,7 +513,7 @@ import ProcessHeader from '../../components/ProcessHeader' import ProcessFooter from '../../components/ProcessFooter' import ProcessTitle from '../../components/ProcessTitle' - import {saveTaskFirst, taskDel} from 'api/process' + import {saveTaskFirst, taskDel,queryTaskFirst} from 'api/process' export default { name: "bzjdStep1", @@ -1168,9 +1168,23 @@ export default { return this.$message.warning('请完善基础信息') } }) - } + }, + getTaskId() { + queryTaskFirst({ + bpnId: this.$route.query.bpnId + }).then(res => { + let mes = JSON.parse(res.mes) + this.form = JSON.parse(JSON.stringify(mes.form)) + this.itemList = mes.itemList + this.roleForm = mes.roleForm + this.commentText1 = mes.commentText1 + }) + }, }, mounted() { + if(this.$route.query.bpnId){ + this.getTaskId() + } window.addEventListener('resize', this.handleResize); this.$http.get('sys/dictype/getDicTypeListCode', '', { _this: this diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue index 9af114bd2..f5cd68038 100644 --- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue @@ -25,9 +25,9 @@ - 国家/地区清单 - 车型类别清单 - 其他清单 + 国家/地区清单 + 车型类别清单 + 其他清单 选择清单 @@ -78,8 +78,8 @@ - - + + @@ -707,7 +707,7 @@ import ProcessHeader from "../../components/ProcessHeader"; import ProcessFooter from "../../components/ProcessFooter"; import ProcessTitle from "../../components/ProcessTitle"; -import { saveTaskFirst, taskDel } from "api/process"; +import { saveTaskFirst, taskDel,queryTaskFirst } from "api/process"; import seeDatalis from "@/pages/localTool/standContrast/pages/seeDatalis"; export default { @@ -1503,10 +1503,25 @@ export default { this.pageSizeNo = this.$store.getters.userInfo.configContent; this.getStandData(); - } + }, + getTaskId() { + queryTaskFirst({ + bpnId: this.$route.query.bpnId + }).then(res => { + let mes = JSON.parse(res.mes) + this.listForm = JSON.parse(JSON.stringify(mes.form)) + this.fileInfoList = this.listForm.fileName + this.dataList = this.listForm.dataList + this.roleForm = mes.roleForm + this.commentText = mes.commentText + }) + }, }, computed: {}, mounted() { + if(this.$route.query.bpnId){ + this.getTaskId() + } //从数据库中查询下拉框数据 this.$http.get("sys/dictype/getDicTypeListCode", {}, { _this: this diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step1.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step1.vue index 10e0cd0d2..0fec3f7ef 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step1.vue @@ -382,7 +382,7 @@ import ProcessHeader from '../../components/ProcessHeader' import ProcessFooter from '../../components/ProcessFooter' import ProcessTitle from '../../components/ProcessTitle' -import {saveTaskFirst, taskDel} from 'api/process' +import {saveTaskFirst, taskDel,queryTaskFirst} from 'api/process' export default { name: "bzzqyjStep1", @@ -498,6 +498,9 @@ export default { ProcessTitle }, mounted() { + if(this.$route.query.bpnId){ + this.getTaskId() + } this.$http.get('lawss/sarStandAttrDetails/getListData', '', { _this: this }, res => { @@ -516,6 +519,16 @@ export default { } }, methods: { + getTaskId() { + queryTaskFirst({ + bpnId: this.$route.query.bpnId + }).then(res => { + let mes = JSON.parse(res.mes) + this.form = JSON.parse(JSON.stringify(mes.form)) + this.roleForm = mes.roleForm + this.commentText = mes.commentText + }) + }, filesUpload (file) { // 下载 const attId = file.attId if (attId) { diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue index 95deef6a6..bea9a9221 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step1.vue @@ -337,7 +337,10 @@
- + @@ -190,6 +191,7 @@ :config="{attrName: '采用标准'}" :labelWidth="'180px'" v-model="qbfsForm.esStandRelations" + :disabled="disabledXX" > diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue index 8af764c60..a354530e1 100644 --- a/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue @@ -24,7 +24,7 @@ - 选择项目 + 选择项目 { + let mes = JSON.parse(res.mes) + this.listForm = JSON.parse(JSON.stringify(mes.form)) + this.dataList = this.listForm.dataList ? this.listForm.dataList : [] + this.roleForm = mes.roleForm + this.commentText = mes.commentText + }) + }, }, mounted() { + if(this.$route.query.bpnId){ + this.getTaskId() + } this.getProjectData(); // 查询各下拉框数据 this.$http.get("sys/dictype/getDicTypeListCode", "", { diff --git a/src/pages/processCenter/pages/creatProcess/zcrk/step1.vue b/src/pages/processCenter/pages/creatProcess/zcrk/step1.vue index 7a8a9ce96..a4e0099fc 100644 --- a/src/pages/processCenter/pages/creatProcess/zcrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/zcrk/step1.vue @@ -149,8 +149,8 @@ - - + + @@ -205,7 +205,7 @@ @@ -216,9 +216,9 @@ @@ -231,9 +231,9 @@ diff --git a/src/pages/processCenter/pages/creatProcess/zdrzbzORzchgxxmsc/step1.vue b/src/pages/processCenter/pages/creatProcess/zdrzbzORzchgxxmsc/step1.vue index cc9888ba9..89875e53a 100644 --- a/src/pages/processCenter/pages/creatProcess/zdrzbzORzchgxxmsc/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/zdrzbzORzchgxxmsc/step1.vue @@ -353,7 +353,7 @@ import ProcessHeader from "../../components/ProcessHeader"; import ProcessFooter from "../../components/ProcessFooter"; import ProcessTitle from "../../components/ProcessTitle"; -import {saveTaskFirst} from "api/process"; +import {saveTaskFirst,taskDel,queryTaskFirst} from "api/process"; export default { name: "zdrzbzORzchgxxmscStep1", @@ -475,7 +475,24 @@ export default { saveLoading: false, } }, + mounted() { + if(this.$route.query.bpnId){ + this.getTaskId() + } + }, methods: { + getTaskId() { + queryTaskFirst({ + bpnId: this.$route.query.bpnId + }).then(res => { + let mes = JSON.parse(res.mes) + console.log(mes) + this.form = JSON.parse(JSON.stringify(mes.form)) + this.infoTableDatas = mes.infoTableDatas ? JSON.parse(mes.infoTableDatas) : [] + this.roleForm = mes.roleForm + this.commentText = mes.commentText + }) + }, deleteSelectChange(data) { console.log('483',data) this.deleteSelectedList = [] @@ -683,24 +700,26 @@ export default { }, //保存事件 handleSave() { - this.saveLoading = true; + this.isSubmit = true + this.saveLoading = true let _formData = new FormData(); _formData.append("id", this.bpnId || ""); _formData.append("createUser", this.$store.getters.userInfo.userId); _formData.append("createUserName", this.$store.getters.userInfo.userName); - _formData.append("prcType", "12"); + _formData.append("prcType", "laws3"); _formData.append("json", JSON.stringify({ - taskInfo: "人确认", form: this.infoForm, roleForm: this.roleForm, commentText: this.commentText })); saveTaskFirst(_formData).then(res => { - this.saveLoading = false; + this.isSubmit = false + this.saveLoading = false this.$message.success("保存成功"); this.bpnId = res.result; }).catch(e => { - this.saveLoading = false; + this.isSubmit = false + this.saveLoading = false }); }, //提交事件 @@ -711,12 +730,24 @@ export default { this.$refs['Form'].validate((valid) => { if (valid) { this.isSubmit = true + this.saveLoading = true let infoTableDatas = [] infoTableDatas = JSON.stringify(this.infoTableDatas) localStorage.setItem('infoTableDatas', JSON.stringify(this.infoTableDatas)) - this.$http.get('lawss/activiti/startProcess', { + this.$http.post('lawss/activiti/startProcessRollBack', { + createUser: this.$store.getters.userInfo.userId, + createUserName: this.$store.getters.userInfo.userName, type: 'laws3', - }, {_this: this}, res => { + json: JSON.stringify({ + form: this.form, + roleForm: this.roleForm, + commentText: this.commentText, + infoTableDatas: infoTableDatas, + + }) + }, { + _this: this + }, res => { if (res.ok) { var json = Object.assign(this.form, this.roleForm) json.commentText = this.commentText @@ -730,16 +761,27 @@ export default { }, {_this: this}, res => { if (res.success) { this.$message.success('流程发起成功') + if (this.$route.query.bpnId && this.$route.query.bpnId !== '') { + let taskId = { + id: this.$route.query.bpnId + } + taskDel(taskId).then(res=>{ + return res + }) + } this.$router.push('/processCenter') this.isSubmit = false + this.saveLoading = false } else { this.$message.warning('流程启动失败') this.isSubmit = false - } + this.saveLoading = false + } }) } else { this.$message.warning('流程启动失败') this.isSubmit = false + this.saveLoading = false } }) } else { diff --git a/src/pages/processCenter/pages/processDetail/index.vue b/src/pages/processCenter/pages/processDetail/index.vue index 9c051d20d..150e6d018 100644 --- a/src/pages/processCenter/pages/processDetail/index.vue +++ b/src/pages/processCenter/pages/processDetail/index.vue @@ -209,11 +209,11 @@ export default { let prcType = this.detailData[index].prcType // 流程类型 console.log(prcType); // 判断当前流程是否已全部办理完成 - this.detailData.map(item => { - if (!item.endTime) { - isEnd = false - } - }) + // this.detailData.map(item => { + // if (!item.endTime) { + // isEnd = false + // } + // }) if (isEnd) { if (this.$store.state.detailMap !== '') { let lastDetailMap = this.$store.getters.getLastDetailMap @@ -225,16 +225,18 @@ export default { this.setHandleInfo((JSON.stringify(row))) this.setPrcLastDetail((JSON.stringify(row))) // 根据type判断跳转具体流程页面 - // 根据type判断跳转具体流程页面 if (prcType === '1') { // 标准入库流程数据 - this.toProcessDetail('bzrkStep5',row) + this.toProcessDetail('bzrkStep1',row) }else if(prcType === 'laws1'){ //政策入库 - this.toProcessDetail('zcrkStep5',row) + this.toProcessDetail('zcrkStep1',row) }else if(prcType === 'laws2'){ - //政策入库 - this.toProcessDetail('zczqyjStep9Detil',row) + //政策征求意见流程 + this.toProcessDetail('zczqyjStep1',row) + }else if(prcType === 'laws3'){ + //重点认证标准/政策合规性项目审查流程 + this.toProcessDetail('zdrzbzORzchgxxmscStep1',row) }else if(prcType === 'buss1'){ //企标入库 this.toProcessDetail('bussLibrary1',row) @@ -242,144 +244,70 @@ export default { //企标入库 this.toProcessDetail('bussLibraryProduct1',row) }else if(prcType === 'buss3'){ - //企标复审 - this.toProcessDetail('qbfsStep1',row) + //企标复审 + this.toProcessDetail('qbfsStep1',row) }else if(prcType === '4'){ //标准清单发布流程数据 - this.toProcessDetail('bzqdfbStep1-4',row) + this.toProcessDetail('bzqdfbStep1',row) }else if (prcType === '5'){ //标准项目合规评估 - this.toProcessDetail('bzpgStep8-1',row) + this.toProcessDetail('bzpgStep1',row) }else if(prcType === '6'){ //标准项目合规评估 项目维度 - this.toProcessDetail('xmpgStep1-5',row) + this.toProcessDetail('xmpg2Step1',row) } else if (prcType === '8') { // 未符合项整改 - this.toProcessDetail('wfhxzgStep5-1',row) + this.toProcessDetail('wfhxzgStep1',row) } else if(prcType === '9'){ - this.toProcessDetail('bzjdStep1-6',row) + this.toProcessDetail('bzjdStep1',row) //标准调研流程 }else if(prcType === '2'){ - this.toProcessDetail('bzdyStep1-9',row) + this.toProcessDetail('bzdyStep1',row) }else if(prcType === '3'){ //标准征求意见 - this.toProcessDetail('bzzqyjStep1-9',row) + this.toProcessDetail('bzzqyjStep1',row) }else if(prcType === '10'){ //项目清单确认 - this.toProcessDetail('xmqdqrStep1-4',row, 'unShowReceipt') + this.toProcessDetail('xmqdqrStep1',row, 'unShowReceipt') + }else if(prcType === '14'){ + //加入标准化协会信息备案流程 + this.toProcessDetail('cywbbzzxdStep1',row,) + }else if(prcType === '15'){ + //加入标准化协会信息备案流程 + this.toProcessDetail('jrbzhxhStep1',row,) } else if(prcType === '16'){ //外部署名 - this.toProcessDetail('wbsmStep1-5',row) + this.toProcessDetail('wbsmStep1',row) }else if(prcType === '20') { // 入会流程 - this.toProcessDetail('bzrhStep6-1',row) + this.toProcessDetail('bzrhStep1',row) } else if(prcType === '21') { // 参会流程 - this.toProcessDetail('bzchStep6-1',row) + this.toProcessDetail('bzchStep1',row) } else if(prcType === '23'){ //企标复审 - this.toProcessDetail('qbfsStep1-4',row) + this.toProcessDetail('qbfsStep1',row) }else if(prcType === '24'){ //企标废止 - this.toProcessDetail('qbfzStep1-7',row) + this.toProcessDetail('qbfzStep1',row) }else if(prcType === '25'){ //企标制修订计划管控 - this.toProcessDetail('qbzxdjhgkStep1-5',row) + this.toProcessDetail('qbzxdjhgkStep1',row) }else if(prcType === '26'){ //企标制修订计划立项 - this.toProcessDetail('qbzxdlxStep1-2',row) + this.toProcessDetail('qbzxdlxStep1',row) + }else if(prcType === '17'){ + //政策课题入会发起流程 + this.toProcessDetail('zcrhStep1',row) + }else if(prcType === '18'){ + //政策课题参会发起流程 + this.toProcessDetail('zcchStep1',row) + }else if(prcType === '12'){ + //政策课题参会发起流程 + this.toProcessDetail('zdrzbzORzchgxxmscStep1',row) } - // if (prcType === '1') { - // // 标准入库流程数据 - // this.toProcessDetail('bzrkStep1',row) - // }else if(prcType === 'laws1'){ - // //政策入库 - // this.toProcessDetail('zcrkStep1',row) - // }else if(prcType === 'laws2'){ - // //政策征求意见流程 - // this.toProcessDetail('zczqyjStep1',row) - // }else if(prcType === 'buss1'){ - // //企标入库 - // this.toProcessDetail('bussLibraryDetail',row) - // }else if(prcType === 'buss2'){ - // //企标入库 - // this.toProcessDetail('bussLibraryProductDetail',row) - // }else if(prcType === 'buss3'){ - // //企标复审 - // this.toProcessDetail('qbfsStep1',row) - // }else if(prcType === '4'){ - // //标准清单发布流程数据 - // this.toProcessDetail('bzqdfbStep1',row) - // }else if (prcType === '5'){ - // //标准项目合规评估 - // this.toProcessDetail('bzpgStep1',row) - // }else if(prcType === '6'){ - // //标准项目合规评估 项目维度 - // this.toProcessDetail('xmpg2Step1',row) - // } else if (prcType === '8') { - // // 未符合项整改 - // this.toProcessDetail('wfhxzgStep1',row) - // } else if(prcType === '9'){ - // this.toProcessDetail('bzjdStep1',row) - // //标准调研流程 - // }else if(prcType === '2'){ - // this.toProcessDetail('bzdyStep1',row) - // }else if(prcType === '3'){ - // //标准征求意见 - // this.toProcessDetail('bzzqyjStep1',row) - // }else if(prcType === '10'){ - // //项目清单确认 - // this.toProcessDetail('xmqdqrStep1',row, 'unShowReceipt') - // }else if(prcType === '14'){ - // //加入标准化协会信息备案流程 - // this.toProcessDetail('cywbbzzxdStep1',row,) - // }else if(prcType === '15'){ - // //加入标准化协会信息备案流程 - // this.toProcessDetail('jrbzhxhStep1',row,) - // } else if(prcType === '16'){ - // //外部署名 - // this.toProcessDetail('wbsmStep1',row) - // }else if(prcType === '20') { - // // 入会流程 - // this.toProcessDetail('bzrhStep1',row) - // } else if(prcType === '21') { - // // 参会流程 - // this.toProcessDetail('bzchStep1',row) - // } else if(prcType === '23'){ - // //企标复审 - // this.toProcessDetail('qbfsStep1',row) - // }else if(prcType === '24'){ - // //企标废止 - // this.toProcessDetail('qbfzStep1',row) - // }else if(prcType === '25'){ - // //企标制修订计划管控 - // this.toProcessDetail('qbzxdjhgkStep1',row) - // }else if(prcType === '26'){ - // //企标制修订计划立项 - // this.toProcessDetail('qbzxdlxStep1',row) - // }else if(prcType === '17'){ - // //政策课题入会发起流程 - // this.toProcessDetail('zcrhStep1',row) - // }else if(prcType === '18'){ - // //政策课题参会发起流程 - // this.toProcessDetail('zcchStep1',row) - // }else if(prcType === '12'){ - // //政策课题参会发起流程 - // this.toProcessDetail('zdrzbzORzchgxxmscStep1',row) - // } } else { - if(prcType === 'buss1'){ - //企标入库 - this.toProcessDetail('bussLibrary1',row) - }else if(prcType === 'buss2'){ - //企标入库 - this.toProcessDetail('bussLibraryProduct1',row) - }else if(prcType === 'buss3'){ - //企标复审 - this.toProcessDetail('qbfsStep1',row) - }else { - this.$message.warning('当前流程未全部办理完成,无法查看') - } + this.$message.warning('当前流程未全部办理完成,无法查看') } }, toProcessDetail(componentName,row,unShowReceipt) { diff --git a/src/pages/regulatoryRepository/dataCenter/dataCenterDetail.vue b/src/pages/regulatoryRepository/dataCenter/dataCenterDetail.vue index 63f10cf27..9b194fdfa 100644 --- a/src/pages/regulatoryRepository/dataCenter/dataCenterDetail.vue +++ b/src/pages/regulatoryRepository/dataCenter/dataCenterDetail.vue @@ -4,17 +4,18 @@
-
- {{ detailInfoForm.dataTitle + '-详情' }} -
+
+ +
+ + {{detailInfoForm.dataTitle}} +

- - {{ detailInfoForm.dataType }} - + {{ detailInfoForm.dataType }}

@@ -204,8 +205,8 @@ export default { }, created() { - this.detailInfoId = this.$route.params.id - console.log('13', this.$route.params.id) + this.detailInfoId = this.$route.query.id + console.log('13', this.$route.query.id) }, mounted() { let fileId @@ -250,15 +251,14 @@ export default { .transition-box { padding: 0 10% 0 10%; background: #ffffff; - font-size: 28px; + font-size: 16px; .transition-box-p { line-height: 50px; - + border-bottom: 1px solid #E5E5E5; .transition-box-label { display: inline-block; - font-weight: bolder; - width: 200px; + width: 100px; vertical-align: top; } @@ -266,6 +266,8 @@ export default { display: inline-block; color: #7e8083; width: calc(~'100% - 100px'); + word-break: break-all; + white-space: pre-wrap; } .file-box { @@ -277,6 +279,7 @@ export default { width: 100%; cursor: pointer; color: #4498f0; + word-break: break-all; } p { @@ -309,4 +312,18 @@ export default { } } } + + +.details-header { + padding: 34px 20%; + font-size: 20px; + font-weight: bold; + color: #555555; + text-align: center; + word-break: break-all; + white-space: pre-wrap; + & > span { + width: 100%; + } +} diff --git a/src/pages/regulatoryRepository/dataCenter/index.vue b/src/pages/regulatoryRepository/dataCenter/index.vue index cc758b084..e29a38b5f 100644 --- a/src/pages/regulatoryRepository/dataCenter/index.vue +++ b/src/pages/regulatoryRepository/dataCenter/index.vue @@ -81,9 +81,9 @@ @@ -120,7 +120,7 @@ tooltip-effect="dark" style="width: 100%" border - height="475px" + height="100%" :header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px', fontWeight: 'bold', height: '48px'}" > @@ -134,12 +134,14 @@ prop="dataType" width="250" label="类型" + :show-overflow-tooltip="true" align="center">