diff --git a/src/pages/processCenter/pages/creatProcess/zcrk/step1.vue b/src/pages/processCenter/pages/creatProcess/zcrk/step1.vue index 1dedc63c8..08036277e 100644 --- a/src/pages/processCenter/pages/creatProcess/zcrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/zcrk/step1.vue @@ -41,25 +41,6 @@ clearable > - - - - - - - - - + + + + + + + + + - + - + - + - - - - - - - - - + + + 根据编号、名称、文本状态查询 + + + - + 是 否 - + - + - + - + - + 实施日期 - + @@ -253,10 +253,10 @@ - + 文本信息 - + @@ -354,10 +354,10 @@ - + 适用范围 - + @@ -448,10 +448,10 @@ - + 关联信息 - + @@ -583,7 +583,7 @@ - + - - - - - - - - + + + + + + + + + + + - - - - - - - - - - + - - {{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }} - {{ scope.row.standSort }} {{ scope.row.standNumber }} + {{ scope.row.lawsNumber }} + + - {{ textStatusMap[scope.row.textStatus] }} + {{ scope.row.standStatusShow }} @@ -1051,6 +1047,9 @@ }, // 代替标准号 replaceLawsNumForm: { + lawsNumber:'', + numberName:'', + lawsTextState:'', dataSource: '', standNumber: '', // 标准编号 page: 1, @@ -1402,132 +1401,6 @@ filterText(val) { this.$refs.tree.filter(val); }, - 'form.standInData': { - handler: function(val) { - this.verifySarStandard = false - this.standardSearchForm.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN' - //切换清空表单 - this.form= { - // 基础信息 - country:[], - textStatus: '', // 文本状态 - standYear: '', // 标准年份 - standInData: val, // 标准类型 - standSort: '', // 标准类别 - standNumber: '', // 标准编号 - standNature: '', // 标准性质 - standEnName: '', // 英文名称 - standName: '', // 中文名称 - signFlag: '1', // 是否需要会签 - issueTime: '', // 发布时间 - isRelateAccess: '', // 是否纳入认证清单 - standSystem: '',// 标准体系 - standSystemName: '',// 标准体系名称 - gxhbq: '', // 标签 - // 实施日期 - ssrq: '', // 实施日期(标准文本) - xcxssrq: '', // 新车型实施日期(标准文本) - zccssrq: '', // 在产车实施日期(标准文本) - ssrqgj: '', // 实施日期(国际) - xcxssrqgj: '', // 新车型实施日期(国际) - zccssrqgj: '', // 在产车实施日期(国际) - // 文本信息 - ca: '', // 草案 - FBGBJBD: '', // 发布稿 - xgd: '', // 修改单 - bpg: '', // 报批稿 - ssg: '', // 送审稿 - zqyjg: '', // 征求意见稿 - jdwj: '', // 解读文件 - zbjbd: '', // 增补件 - kwj: '', // 勘 误件 - caName: '', // 草案 - fbgbjbdName: '', // 发布稿 - xgdName: '', // 修改单 - bpgName: '', // 报批稿 - ssgName: '', // 送审稿 - zqyjgName: '', // 征求意见稿 - jdwjName: '', // 解读文件 - zbjbdName: '', // 增补件 - kwjName: '', // 勘误件 - glwjName: '', // 关联文件 - // 适用范围 - txlb: '', // 体系类别 - gkdw: '', // 归口管理部门 - qcdw: [], // 起草单位 - wssmr: [], // 我司署名人 - cysd: '', // 我司参与深度 - cllx: [], // 适用车型 - nylx: [],// 能源类型 - sycpx: [],// 适用产品线 - syrz: [], // 适用认证 - zrbm: [], // 责任部门 - zrgcs: [], // 责任工程师 - cycvppsbm: '', // 关联模块--乘用车VPPS编码 - cycvppscn: '', // 关联模块--乘用车vpps中文名称 - kccvppsbm: '', // 关联模块--卡车VPPS编码 - kccvppscn: '', // 关联模块--卡车vpps中文名称 - dybxh: '', // 模块结构单元变型号 - dymc: '', // 模块结构单元名称 - // 关联信息 - dtbjh: '', // 代替标准号 - cbbh: '', // 采标编号 - cbcd: '', // 采标程度 - yybj: '', // 引用标准 - bfbdtbzh: '', // 部分代替标准号 - byybj: '', // 被引用标准 - glwj: '', // 关联文件 - xglc: '', // 相关流程 - chjl: '', // 参会记录 - } - - }, - }, - 'standardSearchForm.standType': { - handler: function() { - this.form.standInData = this.standardSearchForm.standType === 'INLAND' ? '0' : '1' - }, - }, - 'form.standNumber': { - handler: function() { - this.standardSearchForm.standNumber = this.form.standNumber - }, - }, - 'standardSearchForm.standNumber': { - handler: function() { - this.form.standNumber = this.standardSearchForm.standNumber - }, - }, - 'form.standSort': { - handler: function() { - this.standardSearchForm.standSort = this.form.standSort - }, - }, - 'standardSearchForm.standSort': { - handler: function() { - this.form.standSort = this.standardSearchForm.standSort - }, - }, - 'form.standName': { - handler: function() { - this.standardSearchForm.standName = this.form.standName - }, - }, - 'standardSearchForm.standName': { - handler: function() { - this.form.standName = this.standardSearchForm.standName - }, - }, - 'form.standEnName': { - handler: function() { - this.standardSearchForm.standEnName = this.form.standEnName - }, - }, - 'standardSearchForm.standEnName': { - handler: function() { - this.form.standEnName = this.standardSearchForm.standEnName - }, - }, }, methods: { // choiceZRRS () { @@ -1586,8 +1459,6 @@ clearFormData(data){ this.form = { // 基础信息 - textStatus: '', // 文本状态 - standYear: '', // 标准年份 standInData: data.standInData ? data.standInData : '0', // 标准类型 standSort: data.standSort ? data.standSort : '', // 标准类别 standNumber: data.standNumber ? data.standNumber : '', // 标准编号 @@ -1595,65 +1466,62 @@ standEnName: data.standEnName ? data.standEnName : '', // 英文名称 standName: data.standName ? data.standName : '', // 中文名称 signFlag: data.signFlag ? data.signFlag : '1', // 是否需要会签 - issueTime: '', // 发布时间 - isRelateAccess: '', // 是否纳入认证清单 - standSystem: '',// 标准体系 - standSystemName: '',// 标准体系名称 - gxhbq: '', // 标签 + // 基础信息 + lawsType: '', + lawsNumber: data.lawsNumber, + lawsName: data.lawsName, + lawsEnName: data.lawsEnName, + lawsNo: '', + issueTime: '', + issueCompany: '', + commentCycleStart: '', + commentCycleEnd: '', + lawsTextState: data.lawsTextState, + lawsSyqy: '', + lawsSycx: '', + isRelateAccess: '', + lawsYear: '', + lawsNotisyncNum: '', + lawsBulletin: '', + lawsLabel: '', + lawsRemark: '', // 实施日期 - ssrq: '', // 实施日期(标准文本) - xcxssrq: '', // 新车型实施日期(标准文本) - zccssrq: '', // 在产车实施日期(标准文本) - ssrqgj: '', // 实施日期(国际) - xcxssrqgj: '', // 新车型实施日期(国际) - zccssrqgj: '', // 在产车实施日期(国际) + SSRQLAWS:'', + XCXSSRQLAWS:'', + ZCXSSRQLAWS:'', // 文本信息 - ca: '', // 草案 - fbgbjbd: '', // 发布稿 - xgd: '', // 修改单 - bpg: '', // 报批稿 - ssg: '', // 送审稿 - zqyjg: '', // 征求意见稿 - jdwj: '', // 解读文件 - zbjbd: '', // 增补件 - kwj: '', // 勘误件 - caName: '', // 草案 - fbgbjbdName: '', // 发布稿 - xgdName: '', // 修改单 - bpgName: '', // 报批稿 - ssgName: '', // 送审稿 - zqyjgName: '', // 征求意见稿 - jdwjName: '', // 解读文件 - zbjbdName: '', // 增补件 - kwjName: '', // 勘误件 - glwjName: '', // 关联文件 + ZCWBLAWS:'', + GCWBLAWS:'', + JDWJLAWS:'', + ZCWBLAWSName:'', + GCWBLAWSName:'', + JDWJLAWSName:'', + FBGBUSS:'', + BZSMBUSS:'', + LSBBBUSS:'', + QTWJBUSS:'', // 适用范围 - txlb: '', // 体系类别 - gkdw: '', // 归口管理部门 - qcdw: [], // 起草单位 - wssmr: [], // 我司署名人 - cysd: '', // 我司参与深度 - cllx: [], // 适用车型 - nylx: [],// 能源类型 - sycpx: [],// 适用产品线 - syrz: [], // 适用认证 - zrbm: [], // 责任部门 - zrgcs: [], // 责任工程师 - cycvppsbm: '', // 关联模块--乘用车VPPS编码 - cycvppscn: '', // 关联模块--乘用车vpps中文名称 - kccvppsbm: '', // 关联模块--卡车VPPS编码 - kccvppscn: '', // 关联模块--卡车vpps中文名称 - dybxh: '', // 模块结构单元变型号 - dymc: '', // 模块结构单元名称 + FBJGLAWS: '', + CYSDLAWS: '', + TGRLAWS: '', + TGDWLAWS: '', + NYLXLAWS: '', + YYRZLAWS: '', + ZRBMLAWS: '', + ZRGCSLAWS: '', // 关联信息 - dtbjh: '', // 代替标准号 - cbbh: '', // 采标编号 - cbcd: '', // 采标程度 - yybj: '', // 引用标准 - byybj: '', // 被引用标准 - glwj: '', // 关联文件 - xglc: '', // 相关流程 - chjl: '', // 参会记录 + DTQBBHBUSS:'', + BDTQBBHBUSS:'', + XGJLBUSS:'', + GLWJBUSS:'', + XCSJBUSS:'', + DTWJHLAWS: '', + BDTWJHLAWS: '', + YYBZZCLAWS: '', + XGLC: '', + CHJLLAWS: '', + GLWJLAWS: '', + GLWJLAWSName: '', } // 标准信息 }, handleProcessStandardNext(status) { @@ -1669,35 +1537,20 @@ // 带入 case 2: if (this.standardCheckedList.length === 1) { - this.$http.get('sarStandardsInfo/sar-standards-info/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, { + this.$http.get('lawss/sarLawsInfo/getStandInfoUpdateById', {id: this.standardCheckedList[0].id}, { _this: this }, res => { if(res && res.data){ const bringData = res.data - bringData.signFlag = this.form.signFlag && this.form.signFlag != '' ? this.form.signFlag : '0' - bringData.standInData = this.form.standInData && this.form.standInData != '' ? this.form.standInData : '0' - const json = Object.assign(bringData, bringData.attrInfoCaseMap); + const json = Object.assign(bringData, bringData.attrInfoMap); this.form = JSON.parse(JSON.stringify(json)) - - this.form.qcdw = JSON.parse(JSON.stringify(json)).qcdw && JSON.parse(JSON.stringify(json)).qcdw !== '[]' ? JSON.parse(JSON.stringify(json)).qcdw.split(',') : [] - this.form.wssmr = JSON.parse(JSON.stringify(json)).wssmr && JSON.parse(JSON.stringify(json)).wssmr !== '[]' ? JSON.parse(JSON.stringify(json)).wssmr.split(',') : [] - this.form.zrgcs = JSON.parse(JSON.stringify(json)).zrgcs && JSON.parse(JSON.stringify(json)).zrgcs !== '[]' ? JSON.parse(JSON.stringify(json)).zrgcs.split(',') : [] - this.form.zrbm = JSON.parse(JSON.stringify(json)).zrbm && JSON.parse(JSON.stringify(json)).zrbm !== '[]' ? JSON.parse(JSON.stringify(json)).zrbm.split(',') : [] - this.form.syrz = JSON.parse(JSON.stringify(json)).syrz && JSON.parse(JSON.stringify(json)).syrz !== '[]' ? JSON.parse(JSON.stringify(json)).syrz.split(',') : [] - this.form.sycpx = JSON.parse(JSON.stringify(json)).sycpx && JSON.parse(JSON.stringify(json)).sycpx !== '[]' ? JSON.parse(JSON.stringify(json)).sycpx.split(',') : [] - this.form.nylx = JSON.parse(JSON.stringify(json)).nylx && JSON.parse(JSON.stringify(json)).nylx !== '[]' ? JSON.parse(JSON.stringify(json)).nylx.split(',') : [] - this.form.cllx = JSON.parse(JSON.stringify(json)).cllx && JSON.parse(JSON.stringify(json)).cllx !== '[]' ? JSON.parse(JSON.stringify(json)).cllx.split(',') : [] - this.defaultCheckedKeys = [this.form.standSystem]; - this.defaultCheckedKeys1 = [this.form.cycvppsbm]; - this.defaultCheckedKeys2 = [this.form.kccvppsbm]; - this.defaultCheckedKeys3 = [this.form.dybxh]; - this.key++ - this.key1++ - this.key2++ - this.key3++ - this.form.standType = this.form.standInData === '0' ? 'INLAND' : 'FOREIGN' - this.form.standYear = bringData.standYear ? parseInt(bringData.standYear) : '' + this.form.TGRLAWS = JSON.parse(JSON.stringify(json)).TGRLAWS && JSON.parse(JSON.stringify(json)).TGRLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGRLAWS.split(',') : [] + this.form.TGDWLAWS = JSON.parse(JSON.stringify(json)).TGDWLAWS && JSON.parse(JSON.stringify(json)).TGDWLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).TGDWLAWS.split(',') : [] + this.form.NYLXLAWS = JSON.parse(JSON.stringify(json)).NYLXLAWS && JSON.parse(JSON.stringify(json)).NYLXLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).NYLXLAWS.split(',') : [] + this.form.YYRZLAWS = JSON.parse(JSON.stringify(json)).YYRZLAWS && JSON.parse(JSON.stringify(json)).YYRZLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).YYRZLAWS.split(',') : [] + this.form.ZRBMLAWS = JSON.parse(JSON.stringify(json)).ZRBMLAWS && JSON.parse(JSON.stringify(json)).ZRBMLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRBMLAWS.split(',') : [] + this.form.ZRGCSLAWS = JSON.parse(JSON.stringify(json)).ZRGCSLAWS && JSON.parse(JSON.stringify(json)).ZRGCSLAWS !== '[]' ? JSON.parse(JSON.stringify(json)).ZRGCSLAWS.split(',') : [] this.form.prcNum = this.prcNum this.form.prcName = this.prcName this.form['id'] = bringData.id @@ -1717,9 +1570,9 @@ }) } else if (this.standardCheckedList.length > 1) { - this.$message.warning('最多可以带入一条标准信息') + this.$message.warning('最多可以带入一条政策信息') } else { - this.$message.warning('请选择要带入的标准信息') + this.$message.warning('请选择要带入的政策信息') } break // 取消 @@ -1823,7 +1676,7 @@ }, getDomesticStandardTable () { this.loadSarStandard = true - this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', this.standardSearchForm, {}, res => { + this.$http.get('lawss/sarLawsInfo/page', this.standardSearchForm, {}, res => { this.loadSarStandard = false if (res.ok) { this.tableData.standardData = res.data.list @@ -2057,10 +1910,10 @@ // 点击查看 handlePreview (item) { let routeUrl = this.$router.resolve({ - name: 'OtherStandardDetails', + name: 'OtherLawsStandDetails', params: { id: item.id, - pageType: 'INLAND_STAND' + pageType: 'LAWS_STAND' } }) window.open(routeUrl.href, '_blank') diff --git a/src/pages/processCenter/pages/creatProcess/zcrk/step2.vue b/src/pages/processCenter/pages/creatProcess/zcrk/step2.vue index 1554ae504..c65b895c7 100644 --- a/src/pages/processCenter/pages/creatProcess/zcrk/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/zcrk/step2.vue @@ -610,6 +610,7 @@ name: "bzrkStep2", data () { return { + loading: false, xgdFileMap: [], fbgbjbdFileMap: [], bpgFileMap: [], @@ -958,6 +959,7 @@ }) }, processTable () { + this.loading = true this.$http.get('lawss/activiti/get_list_by_instance', { prcNum: this.$route.query.prcNum, sortWord: this.shunxu ? this.paixu : '', @@ -967,6 +969,7 @@ _this: this }, res => { this.detailData = res + this.loading = false }, e => {}) }, assemble(ids,names){ @@ -1081,7 +1084,6 @@ this.form.commentText = this.formTongGuo.commentText this.form.approvalOpinion = this.formTongGuo.approvalOpinion const json = JSON.stringify(this.form); - this.processCreateLaws(json) this.$http.post('lawss/activiti/completeTask', { taskIds: this.taskIds, userId : this.userId, @@ -1090,6 +1092,7 @@ _this: this }, res => { if (res.success) { + debugger if(this.formTongGuo.approvalOpinion === '1'){ this.$message.warning("驳回成功") this.isSubmit = false diff --git a/src/pages/processCenter/pages/creatProcess/zcrk/step3.vue b/src/pages/processCenter/pages/creatProcess/zcrk/step3.vue new file mode 100644 index 000000000..82969e214 --- /dev/null +++ b/src/pages/processCenter/pages/creatProcess/zcrk/step3.vue @@ -0,0 +1,2485 @@ + + + + 政策入库流程 + 重新发起流程 + + + 基础信息 + 审批历史 + + + + + + 基础信息 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 根据编号、名称、文本状态查询 + + + + + + + + 是 + 否 + + + + + + + + + + + + + + + + + + + + + + + + + 实施日期 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 文本信息 + + + + + + + + + + + 查看已上传的文件 + + + + + + 点击上传 + + + + + + + + + + 查看已上传的文件 + + + + + + 点击上传 + + + + + + + + + + + + 查看已上传的文件 + + + + + + 点击上传 + + + + + + + + 适用范围 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 关联信息 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 查看已上传文件 + + + + + + + 点击上传 + + + + + + + + + + + + + + + + + + + {{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD') : '' }} + + + + + {{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD') : '' }} + + + + + {{scope.row.commentText}} + + + + + {{ scope.row.endTime ? '已完成' : '未完成'}} + + + + 流程列表加载中 + + + + + + + + + + + + + + + + + + + + 点击或拖拽上传文件 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }} + {{ scope.row.standSort }} {{ scope.row.standNumber }} + + + + + + {{ scope.row.issueTime ? $moment(scope.row.issueTime).format('YYYY-MM-DD') : '' }} + + + + {{ textStatusMap[scope.row.textStatus] }} + + + + {{$t('m.dataAcquisition')}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ scope.row.lawsNumber }} + + + + + + + + + {{ scope.row.standStatusShow }} + + + + + 查看 + + + + + + + 数据获取中 + + + + + + + + + + diff --git a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue index d1e0901ab..00897c1f1 100644 --- a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue +++ b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue @@ -334,7 +334,7 @@ export default { }) }else if (row.taskInfo === '重新发起入库流程'){ this.$router.push({ - name: 'zcrkStep1', + name: 'zcrkStep3', query: { taskIds: row.taskIds, prcId: row.prcId, diff --git a/src/pages/processCenter/pages/processList/tabComponents/taskDraft/index.vue b/src/pages/processCenter/pages/processList/tabComponents/taskDraft/index.vue index 95e5e6642..09b740f51 100644 --- a/src/pages/processCenter/pages/processList/tabComponents/taskDraft/index.vue +++ b/src/pages/processCenter/pages/processList/tabComponents/taskDraft/index.vue @@ -466,10 +466,20 @@ export default { verifySarStandard: true, } }) + }else if(mes.taskInfo === '申请人重新发起'){ + this.$router.push({ + name: 'zcrkStep3', + query: { + type: '1', + processName: '申请人发起流程', + bpnId: id, + verifySarStandard: true, + } + }) } }else { this.$router.push({ - name: 'zcrkStep1', + name: 'zcrkStep3', query: { type: '1', processName: '申请人发起流程', diff --git a/src/router/index.js b/src/router/index.js index 38197dec4..1ed2856f0 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -727,6 +727,15 @@ const routes = [ title: '政策入库流程' } }, + { + path: '/zcrkStep3', + name: 'zcrkStep3', + component: () => import('@/pages/processCenter/pages/creatProcess/zcrk/step3.vue'), + meta: { + requireAuth: true, + title: '政策入库流程' + } + }, { path: '/zcrkStep5', name: 'zcrkStep5',
点击或拖拽上传文件