diff --git a/src/pages/processCenter/pages/components/ProcessMixin.vue b/src/pages/processCenter/pages/components/ProcessMixin.vue index eeac9195b..dfe31b56b 100644 --- a/src/pages/processCenter/pages/components/ProcessMixin.vue +++ b/src/pages/processCenter/pages/components/ProcessMixin.vue @@ -6,93 +6,22 @@ export default { mixins: [], components: {}, data () { - return { - processTypeList: [ - { - label: '法规入库及评估流程', - value: '1' - }, { - label: '标准法规技术储备评估流程', - value: '2' - }, - { - label: '项目评估流程', - value: '3' - }, - { - label: '企标制修订流程', - value: '4' - }, - { - label: '未符合项跟踪流程', - value: '5' - }, - { - label: '企标制修订申请流程', - value: '6' - }, - { - label: '企标废止流程', - value: '7' - }, - { - label: '企标延期制修订申请流程', - value: '8' - }, - { - label: '标准采购流程', - value: '9' - }, - { - label: '工作组会前申请流程', - value: '10' - }, - { - label: '企标制修订评估流程', - value: '11' - }, - { - label: '企标勘误流程', - value: '12' - }, - { - label: '行政管理要求评估流程', - value: '13' - }, - { - label: '政策入库及评估流程', - value: '14' - }, - { - label: '标准翻译申请流程', - value: '15' - }, - { - label: '工作组会后管理流程', - value: '16' - }, - { - label: '企标备案流程', - value: '17' - }, - { - label: '标准法规清单发布/更新流程', - value: '18' - }, - { - label: '企标复审流程', - value: '19' - } - ], - formDisableFlag: false, - pickerOptions: { - disabledDate(time) { - const start = new Date(new Date().toLocaleDateString()); - start.setTime(start.getTime()); - return time.getTime() < start - } + return { + processTypeList: [ + { + label: '标准入库流程', + value: '1' + }, + ], + formDisableFlag: false, + pickerOptions: { + disabledDate(time) { + const start = new Date(new Date().toLocaleDateString()); + start.setTime(start.getTime()); + return time.getTime() < start + } + } } - } }, methods: { /** diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue index aced02f51..dbe623393 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue @@ -574,10 +574,9 @@ -

责任对接人

+

责任人

-
@@ -644,7 +643,7 @@ standNature: '', // 标准性质 standEnName: '', // 英文名称 standName: '', // 中文名称 - signFlag: '', // 是否需要会签 + signFlag: '1', // 是否需要会签 issueTime: '', // 发布时间 isRelateAccess: '', // 是否纳入认证清单 standSystem: '',// 标准体系 @@ -740,6 +739,29 @@ }, handleSave() {}, handleSubmit() { + var json = this.form + json.zrUserId = this.$store.getters.userInfo.userId + json.jlUserId = this.$store.getters.userInfo.userId + json.applyUpdUserId = this.$store.getters.userInfo.userId + json.prcCreateUser = this.$store.getters.userInfo.userId + json.prcCreateUserName = this.$store.getters.userInfo.account + this.$http.get('lawss/activiti/startProcess', {type: '1'}, { + _this: this + }, res => { + if (res.ok) { + this.$http.post('lawss/activiti/completeTask', { + taskIds: res.data, + userId : this.$store.getters.userInfo.userId, + json: JSON.stringify(json) + }, { + _this: this + }, res => { + console.log(res); + if (res.ok) { + } + }) + } + }) } }, mounted () { diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue new file mode 100644 index 000000000..55f15899b --- /dev/null +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue @@ -0,0 +1,831 @@ + + + + + diff --git a/src/pages/processCenter/pages/newProcess/index.vue b/src/pages/processCenter/pages/newProcess/index.vue index a4291c72b..efed470a0 100644 --- a/src/pages/processCenter/pages/newProcess/index.vue +++ b/src/pages/processCenter/pages/newProcess/index.vue @@ -4,8 +4,8 @@

标准法规管理流程

-
标准调研流程
-
标准入库流程
+
标准调研流程
+
标准入库流程
标准征求意见流程
标准需求(翻译)申请流程
标准发放申请流程
@@ -46,13 +46,13 @@ export default { this.$store.commit('setDetailMap', this.$route.path) this.$store.commit('setHandleInfo') switch (prcType) { - case '1': + case '2': // 标准调研流程 this.$router.push({ name: 'bzdyStep1' }) break - case '2': + case '1': // 标准入库流程 this.$router.push({ name: 'bzrkStep1' diff --git a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue index b40e0992f..e9a545f17 100644 --- a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue +++ b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue @@ -82,6 +82,9 @@ align="center" width="180" > + { + this.processList = res.list + this.total = res.count + }, e => { + }) }, + selectProcessBtn () { // 搜索按钮 this.pageNo = 1 this.queryProcess() @@ -195,6 +215,18 @@ export default { this.queryProcess() }, dealWith (row) { // 办理 + switch(row.prcType) { + case '1': + if (row.taskInfo === '标准法规业务经理审批') { + this.$router.push({ + name: 'bzrkStep2', + query: { + taskIds: row.taskIds, + prcId: row.prcId + } + }) + } + } }, ...mapMutations(['setProcess', 'setHandleInfo']), ...mapActions(['setMenu']) diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue index 31c69b2b7..30f4beac0 100644 --- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue +++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue @@ -68,6 +68,11 @@ label="标准/政策名称" > + + + prop="standardItem" + label="标准章条"> @@ -196,22 +201,22 @@ align="center" label="在产产品"> @@ -233,29 +238,30 @@ export default { name: 'standInvolveProjectDetail', data () { return { - sarProject: { - standName: '', // 标准政策名称 - standNumber: '', // 标准/政策号 - standApplicationType: 1 + sarProject: { + standName: '', // 标准政策名称 + standNumber: '', // 标准/政策号 + standApplicationType: 1 }, // 条件查询 - showSarProStateModal: false, // 查看drawer开关 - // table数据 - sarProjectListDatas: [], - // table高度 - tableHeight: null, - // 列表页loading - loading: false, - total: 0, - page: 1, - pageSize: this.$store.getters.userInfo.configContent, - sarProStateEO: { - productName: '' - }, - sarProStateTotal: 0, - sarProStateTotalPage: 1, - sarProStatePageSize: this.$store.getters.userInfo.configContent, - sarProStateListDatas: [], // 符合性项目列表数据 - sarProStateTableHeight: null, // 符合性项目列表高度 + showSarProStateModal: false, // 查看drawer开关 + // table数据 + sarProjectListDatas: [], + // table高度 + tableHeight: null, + // 列表页loading + loading: false, + total: 0, + page: 1, + pageSize: this.$store.getters.userInfo.configContent, + sarProStateEO: { + productName: '' + }, + sarProStateTotal: 0, + sarProStateTotalPage: 1, + sarProStatePageSize: this.$store.getters.userInfo.configContent, + sarProStateListDatas: [], // 符合性项目列表数据 + sarProStateTableHeight: null, // 符合性项目列表高度 + standId: '' // 符合性项目Id } }, methods: { @@ -290,17 +296,34 @@ export default { this.queryStandAndLaws() }, // 外层清空条件查询 handleProjectCompliance (row) { - this.showSarProStateModal = true - this.querySarProStateZero() + this.standId = row.standId + this.querySarProStateZero() }, // 查看项目符合性 - querySarProStateZero () {}, // 查询项目数据 + querySarProStateZero () { + var form = this.sarProStateEO + form.standId = this.standId + form.current = this.sarProStateTotalPage + form.size = this.sarProStatePageSize + this.$http.get('sarStandardComplianceAssessResult/product', form, { + _this: this, + loading: 'loading' + }, res => { + if (res.ok) { + this.sarProStateListDatas = res.data.records + this.sarProStateTotal = res.data.total + } + }) + this.showSarProStateModal = true + }, // 查询项目数据 clearSearchProState () { - this.sarProStateEO.productName = '' - this.querySarProStateZero() + this.sarProStateEO.productName = '' + this.sarProStateTotalPage = 1 + this.querySarProStateZero() }, // 清空条件查询 clearSearchPro () { - this.sarProStateEO.productName = '' - this.showSarProStateModal = false + this.sarProStateEO.productName = '' + this.showSarProStateModal = false + this.standId = '' }, // 关闭查看事件 pageProStateChange (page) { this.sarProStateTotalPage = page diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/technologyInvolveProject.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/technologyInvolveProject.vue index 446877c09..486dcaa66 100644 --- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/technologyInvolveProject.vue +++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/technologyInvolveProject.vue @@ -14,6 +14,12 @@ placeholder="标准/政策名称查找" clearable> + + + + + + @@ -68,6 +74,11 @@ label="标准/政策名称" > + + - { + if (res.ok) { + this.sarProStateListDatas = res.data.records + this.sarProStateTotal = res.data.total + } + }) + this.showSarProStateModal = true + }, // 查询项目数据 clearSearchProState () { this.sarProStateEO.productName = '' this.querySarProStateZero() diff --git a/src/router/index.js b/src/router/index.js index e9233f2cd..22500369a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -240,6 +240,15 @@ const routes = [ title: '标准入库流程' } }, + { + path: '/bzrkStep2', + name: 'bzrkStep2', + component: () => import('@/pages/processCenter/pages/creatProcess/bzrk/step2.vue'), + meta: { + requireAuth: true, + title: '标准入库流程' + } + }, { path: '/bzdyStep1', name: 'bzdyStep1',