From 3f3dd1ea356bad57645a4f3f85bf355fd2d9d86e Mon Sep 17 00:00:00 2001 From: super_liu <396572590@qq.com> Date: Thu, 15 Jul 2021 09:09:50 +0800 Subject: [PATCH 1/3] =?UTF-8?q?feat:=20=E6=A0=87=E5=87=86=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/treeSelect/treeSelect.vue | 12 +- .../details/otherStandardDetails/index.vue | 7 +- .../pages/creatProcess/bzrk/step1.vue | 672 +++++++++++++++--- .../pages/creatProcess/bzrk/step2.vue | 11 +- .../pages/creatProcess/bzrk/step3.vue | 11 +- .../pages/creatProcess/bzrk/step4.vue | 391 +++++++++- .../domesticStandardsAndRegulations/index.vue | 1 + 7 files changed, 958 insertions(+), 147 deletions(-) diff --git a/src/components/treeSelect/treeSelect.vue b/src/components/treeSelect/treeSelect.vue index f52259f19..f980c43f9 100644 --- a/src/components/treeSelect/treeSelect.vue +++ b/src/components/treeSelect/treeSelect.vue @@ -92,17 +92,11 @@ } }, width: { - type: Number, + type: String, default () { - return 593; + return ""; } }, - height: { - type: Number, - default () { - return 300; - } - } }, data () { return { @@ -110,7 +104,7 @@ isShowSelect: false, // 是否显示树状选择器 options: [], selectedData: [], // 选中的节点 - style: 'width:' + this.width + 'px;' + 'height:' + this.height + 'px;', + style: 'width:' + this.width + 'px;' + 'height:100%;', selectStyle: 'width:100%;', checkedIds: [], checkedData: [] diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index 43f10be3d..b4cb77b38 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -2621,9 +2621,9 @@ export default { const dynamicFormField = standEO ? standEO.attrInfoMap : {} formFieldList.forEach((field) => { // 相关流程权限 - if (field.attrField === 'XGLC' && !this.$_has('6A52PZCAX8BAUUJ2TSQ4')) { - return - } + // if (field.attrField === 'XGLC' && !this.$_has('6A52PZCAX8BAUUJ2TSQ4')) { + // return + // } console.log("displayLocation"); console.log(displayLocation); displayLocation.forEach((location) => { @@ -2693,6 +2693,7 @@ export default { } }) this.dynamicFormField = displayLocation + console.log(this.dynamicFormField) }) sessionStorage.setItem('displayLocation', JSON.stringify(displayLocation)) this.loading = false diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue index 30b380397..aa6cb8d76 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue @@ -7,16 +7,17 @@
基础信息
-
流程信息
+
人员信息
-
-
- +
+ +
@@ -41,12 +42,11 @@ - - + @@ -621,6 +622,13 @@ placeholder="请输入代替标准号" clearable > + {{'手动查找'}} @@ -628,13 +636,13 @@ - - - + + + + + + + + {{'手动查找'}} + {{'手动查找'}} - - - + + + + + + +
-
- - +
+ + + + + +

流程发起人

+
+ +
+
+
+
+ + + +

会签责任人

+
+ +
+
+
+
+ + + +

修订申请人

+
+ +
+
+
+
+ + + +

标准法规业务经理

+
+ +
+
+
+
+
+
+
+
+ +
-
-
- - - -

流程发起人

-
- -
-
-
- - -

责任人

-
- -
-
-
- - -

责任人

-
- -
-
-
- - -

标准法规工程师

-
- -
-
-
- - -

责任对接人,标准法规部部门负责人

-
- -
-
-
-
-
-
+ +
+
+ + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + {{$t('m.dataAcquisition')}} + + + +
+ + + + +
@@ -791,8 +941,36 @@ name: "bzrkStep1", data () { return { + activeName:'1', + roleRow: {}, commentText: '', // 意见 title: '', // 新增编辑抽屉标题 + config: { + attrName : '', + }, + dataSource: false, + replaceLawsNumModel: false, + replaceLawType: '', + sarBussionessLawsEO: { + replaceLawsNum: '' + }, + // 代替标准号 + replaceLawsNumForm: { + dataSource: '', + standNumber: '', // 标准编号 + page: 1, + pageSize: this.$store.getters.userInfo.configContent, + total: 0, + standType: 'INLAND', + quoteIdList: '', + validFlag: '0', + menuId: 'nomenu' + }, + replaceLawsNumRow: [], // 代替政策号 数组内容 + replaceTotal: 0, + selectedListRep: [], + replaceLoading: true, + replacePage: 1, ListModel: false, // 新增编辑抽屉开关 active: '1', // 默认显示 isSubmit: false, @@ -801,6 +979,15 @@ children: 'children', label: 'menuName' }, + nodeList: [], + type: '', + defaultUserProps: { + children: 'children', + label: 'name' + }, + treeData: [], // 人员数据 + modalShowFlag: false, // drawer开关 + drawerTitle: '', //drawer标题 nodeKey: 'id', defaultCheckedKeys: [], fileUrl: 'api/att/attFile/upload', @@ -877,6 +1064,58 @@ xglc: '', // 相关流程 chjl: '', // 参会记录 }, // 标准信息 + roleForm:{ + zrUserId: '', + zrUserName: '', + jlUserId: '', + jlUserName: '', + applyUpdUserId: this.$store.getters.userInfo.userId, + applyUpdUserName: this.$store.getters.userInfo.userName, + prcCreateUser: this.$store.getters.userInfo.userId, + prcCreateUserName: this.$store.getters.userInfo.userName, + }, + roleRules:{ + zrUserName: [ + { required: true, message: '请选择会签责任人', trigger: 'blur' }, + ], + jlUserName: [ + { required: true, message: '选择标准法规业务经理', trigger: 'blur' }, + ], + }, + rules:{ + standSort: [ + { required: true, message: '请选择标准类别', trigger: 'change' } + ], + standNumber: [ + { required: true, message: '请输入标准编号', trigger: 'blur' }, + { min: 1, max: 100, message: '长度在 1 到 100 个字符', trigger: 'blur' } + ], + standYear: [ + { required: true, message: '请输入标准年份'}, + { type: 'number', message: '年标准年份必须为数字值'} + ], + standName: [ + { required: true, message: '请输入标准名称', trigger: 'blur' }, + { min: 1, max: 100, message: '长度在 1 到 100 个字符', trigger: 'blur' } + ], + standNature: [ + { required: false, message: '请选择标准性质', trigger: 'change' } + ], + textStatus: [ + { required: true, message: '请选择文本状态', trigger: 'change' } + ], + issueTime: [ + { required: true, message: '请选择标准发布日期', trigger: 'change' } + ], + qcdw: [ + { required: true, message: '请选择起草单位', trigger: 'change' } + ], + cysd: [ + { required: true, message: '请选择我司参与深度', trigger: 'change' } + ], + }, + zrUserIds: [], // 选择多个会签责任人 + userType:'', // 选择用户ID判断 standSortOptions: [], // 标准类别 standNatureOptions: [], // 标准性质 standStateOptions: [], // 文本状态 @@ -891,11 +1130,6 @@ txlbOptions: [], // 体系类别 data: [], // 标准列表数据 ListForm: {}, // 新增数据 - user1: '', - user2: '', - user3: '', - user4: '', - user5: '', } }, components: { @@ -905,6 +1139,225 @@ TreeSelect }, methods: { + saveUserInfo () { + if (this.userType === 'zrUserId') { + this.roleForm.zrUserId = this.zrUserIds.map(item => item.id).join(",") + this.roleForm.zrUserName = this.zrUserIds.map(item => item.name).join(",") + } else if (this.userType === 'jlUserId') { + this.roleForm.jlUserId = this.roleRow.id + this.roleForm.jlUserName = this.roleRow.name + } + + this.modalShowFlag = false + }, + cancelUserInfo () { + this.modalShowFlag = false + }, + drawerCheck (data) { + if(this.userType === 'zrUserId'){ + + if(this.zrUserIds.length > 0){ + const list = this.zrUserIds.filter ( item => item.id === data.id); + if(list.length === 0){ + this.zrUserIds.push(data) + }else { + this.zrUserIds.forEach((item,index) => { + if(item.id === data.id){ + this.zrUserIds.splice(index,1) + } + }) + } + }else { + this.zrUserIds.push(data) + } + + console.log(this.zrUserIds) + }else { + var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes()); + if(getlist.length == 1) { + this.roleRow = getlist[0] + }else { + this.$refs.tree.setCheckedKeys([data.id]); + this.roleRow = this.$refs.tree.getCheckedNodes()[0] + } + } + }, + choiceZRR (type, title, id) { + this.nodeList = [] + this.nodeList.push(id) + this.userType = type + this.drawerTitle = title + this.modalShowFlag = true + }, + getTree () { + this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> { + this.treeData = res.data + }) + }, + // 代替政策号 请求数据 + getReplaceLawsNumRowFirst () { + if (this.sarBussionessLawsEO.replaceLawsNum !== null && this.sarBussionessLawsEO.replaceLawsNum !== '') { + this.replaceLawsNumForm.quoteIdList = this.quoteIdList1.toString() === '' ? '' : this.quoteIdList1 + } else { + this.quoteIdList1 = [] + this.replaceLawsNumForm.quoteIdList = '' + } + this.replaceLawsNumForm.page = 1 + this.replacePage = 1 + this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', this.replaceLawsNumForm, { + _this: this, + loading: 'replaceLoading' + }, res => { + this.replaceLawsNumRow = res.data.list + this.replaceTotal = res.data.count + if (this.selectedListRep.length !== 0) { + this.selectedListRep.map((list) => { + this.replaceLawsNumRow.map((item) => { + if (list.id === item.id) { + item._checked = true + } + }) + }) + } + }, e => { + }) + }, + dataSourceChange (val) { + }, + handleChange (event) { + // const value = event.target.value + const value = event + this.$emit('input', value) + if (value.length==1000){ + return this.$message({ + message: '相关标准不能输入超过1000个字符', + type: 'warning' + }); + } + }, + // 代替政策编号-取消 + replaceLawsNumModelCancel () { + // this.replaceLawsNumModel = false + this.$refs.selections.clearSelection() + }, + // 代替政策号 table选择事件 + selectReplaceStandNumRowChange (row) { + this.selectedListRep = row + }, + // 代替政策分页 + pageChangeReplace (page) { + this.replacePage = page + this.replaceLawsNumForm.page = page + this.getReplaceLawsNumRow() + }, + pageSizeChangeReplace (pageSize) { + // this.replaceRows = pageSize + this.replaceLawsNumForm.pageSize = pageSize + this.getReplaceLawsNumRow() + }, + // 代替政策编号确定 + replaceLawsNumModelBt () { + let textArr = [] + + if (typeof this.value === 'string') { + if (this.value) { + textArr = this.value.split(',') + } + } + if (this.selectedListRep.length === 0) { + return this.$message({ + message: '请先选择数据', + type: 'warning' + }) + } + if (this.selectedListRep.length + textArr.length > 20) { + return this.$message({ + message: '标准最多选择20项', + type: 'warning' + }) + } + this.selectedListRep.map((item) => { + let texts = '' + if (item.standYear != null && item.standYear !== '') { + texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear + } else { + texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber + } + textArr.push(texts) + textArr = [...new Set(textArr)] + this.replaceLawsNumModel = false + }) + // this.SarLawsInfoEO.replaceLawsNum = textArr.join(',') + if(this.replaceLawType === 'dtbjh'){ + this.form.dtbjh = textArr.join(',') + }else if(this.replaceLawType === 'yybj'){ + this.form.yybj = textArr.join(',') + }else { + this.form.byybj = textArr.join(',') + } + // this.$emit('input', textArr.join(',')) + this.$refs.selections.clearSelection() + }, + // 点击查看 + handlePreview (item) { + let routeUrl = this.$router.resolve({ + name: 'OtherStandardDetails', + params: { + id: item.id, + pageType: 'INLAND_STAND' + } + }) + window.open(routeUrl.href, '_blank') + }, + getResetLawsNumRow () { + this.replaceLawsNumForm = { + standNumber: '', // 标准编号 + page: 1, + pageSize: this.$store.getters.userInfo.configContent, + total: 0, + standType: 'INLAND', + quoteIdList: '', + validFlag: '0' + } + this.getReplaceLawsNumRow() + }, + selectLaws (type) { + // if (this.standNumFlag === 1) { + // this.$refs.selections.selectAll(false) + // } + // this.sarBussionessLawsEO.replaceLawsNum = '' + this.replaceLawsNumModel = true + this.replaceLawType = '' + this.replaceLawType = type + this.getReplaceLawsNumRow() + }, + // 代替政策号 请求数据 + getReplaceLawsNumRow () { + if (this.sarBussionessLawsEO.replaceLawsNum !== null && this.sarBussionessLawsEO.replaceLawsNum !== '') { + this.replaceLawsNumForm.quoteIdList = this.quoteIdList1.toString() === '' ? '' : this.quoteIdList1 + } else { + this.quoteIdList1 = [] + this.replaceLawsNumForm.quoteIdList = '' + } + this.replaceLawsNumForm.standType = this.form.standInData === '1' ? 'FOREIGN' : 'INLAND' + this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', this.replaceLawsNumForm, { + _this: this, + loading: 'replaceLoading' + }, res => { + this.replaceLawsNumRow = res.data.list + this.replaceTotal = res.data.count + if (this.selectedListRep.length !== 0) { + this.selectedListRep.map((list) => { + this.replaceLawsNumRow.map((item) => { + if (list.id === item.id) { + item._checked = true + } + }) + }) + } + }, e => { + }) + }, beginImportFile (file) { var filename = file.name var index1 = filename.lastIndexOf('.') @@ -1026,33 +1479,46 @@ }) }, handleSubmit() { - var json = this.form - json.zrUserId = this.$store.getters.userInfo.userId - json.jlUserId = this.$store.getters.userInfo.userId - json.commentText = this.commentText - 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 => { - if (res.success) { - this.$message.success(res.message) + this.$refs['form'].validate((valid) => { + if (valid) { + this.$refs['userForm'].validate((valid) => { + if (valid) { + var json = Object.assign(this.form, this.roleForm) + json.zrUserId = this.form.zrUserId + json.jlUserId = this.form.jlUserId + json.commentText = this.commentText + json.applyUpdUserId = this.form.applyUpdUserId + json.prcCreateUser = this.form.prcCreateUser + json.prcCreateUserName = this.form.prcCreateUserName + 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 => { + if (res.success) { + this.$message.success(res.message) + } + }) + } + }) + }else { + this.$message.warning('请检查人员信息表单是否填写完整') } }) + } else { + this.$message.warning('请检查基础信息表单是否填写完整') } }) } }, mounted () { + this.getTree() this.$http.get('sys/dictype/getDicTypeListCode', '', { _this: this }, res => { diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue index 06544ba2a..f1a9cb9f2 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue @@ -350,10 +350,10 @@ clearable > - + @@ -521,8 +521,8 @@
- - + +
@@ -678,6 +678,7 @@ name: "bzrkStep2", data () { return { + activeName:'1', // 当前流程类型(1待办/2已办) processType: 1, detailData: [], @@ -743,7 +744,7 @@ // 适用范围 txlb: '', // 体系类别 gkdw: '', // 归口管理部门 - fbjg: '', // 起草单位 + qcdw: '', // 起草单位 wssmr: '', // 我司署名人 cysd: '', // 我司参与深度 cllx: '', // 适用车型 diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue index 652ca5446..99355c242 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step3.vue @@ -343,10 +343,10 @@ clearable > - + @@ -514,8 +514,8 @@
- - + +
@@ -671,6 +671,7 @@ export default { name: "bzrkStep3", data () { return { + activeName:'1', // 当前流程类型(1待办/2已办) processType: 1, detailData: [], @@ -735,7 +736,7 @@ export default { // 适用范围 txlb: '', // 体系类别 gkdw: '', // 归口管理部门 - fbjg: '', // 起草单位 + qcdw: '', // 起草单位 wssmr: '', // 我司署名人 cysd: '', // 我司参与深度 cllx: '', // 适用车型 diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue index ed2fbb46f..4c459acc8 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step4.vue @@ -13,8 +13,9 @@
@@ -115,6 +116,7 @@ @@ -509,9 +511,9 @@ clearable > - + @@ -612,6 +614,13 @@ placeholder="请输入代替标准号" clearable > + {{'手动查找'}} @@ -654,6 +663,13 @@ placeholder="请输入引用标准" clearable > + {{'手动查找'}} + {{'手动查找'}}
- - + +
@@ -843,6 +866,104 @@
+ +
+
+ + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + {{$t('m.dataAcquisition')}} + + + +
@@ -857,6 +978,7 @@ export default { name: "bzrkStep4", data () { return { + activeName:'1', // 当前流程类型(1待办/2已办) processType: 1, detailData: [], @@ -880,6 +1002,64 @@ export default { fileUrl: 'api/att/attFile/upload', fileMadel: false, fileType: '', + config: { + attrName : '', + }, + dataSource: false, + replaceLawsNumModel: false, + replaceLawType: '', + sarBussionessLawsEO: { + replaceLawsNum: '' + }, + // 代替标准号 + replaceLawsNumForm: { + dataSource: '', + standNumber: '', // 标准编号 + page: 1, + pageSize: this.$store.getters.userInfo.configContent, + total: 0, + standType: 'INLAND', + quoteIdList: '', + validFlag: '0', + menuId: 'nomenu' + }, + replaceLawsNumRow: [], // 代替政策号 数组内容 + replaceTotal: 0, + selectedListRep: [], + replaceLoading: true, + replacePage: 1, + rules:{ + standSort: [ + { required: true, message: '请选择标准类别', trigger: 'change' } + ], + standNumber: [ + { required: true, message: '请输入标准编号', trigger: 'blur' }, + { min: 1, max: 100, message: '长度在 1 到 100 个字符', trigger: 'blur' } + ], + standYear: [ + { required: true, message: '请输入标准年份'}, + { type: 'number', message: '年标准年份必须为数字值'} + ], + standName: [ + { required: true, message: '请输入标准名称', trigger: 'blur' }, + { min: 1, max: 100, message: '长度在 1 到 100 个字符', trigger: 'blur' } + ], + standNature: [ + { required: false, message: '请选择标准性质', trigger: 'change' } + ], + textStatus: [ + { required: true, message: '请选择文本状态', trigger: 'change' } + ], + issueTime: [ + { required: true, message: '请选择标准发布日期', trigger: 'change' } + ], + qcdw: [ + { required: true, message: '请选择起草单位', trigger: 'change' } + ], + cysd: [ + { required: true, message: '请选择我司参与深度', trigger: 'change' } + ], + }, form: { // 基础信息 textStatus: '', // 文本状态 @@ -926,7 +1106,7 @@ export default { // 适用范围 txlb: '', // 体系类别 gkdw: '', // 归口管理部门 - fbjg: '', // 起草单位 + qcdw: '', // 起草单位 wssmr: '', // 我司署名人 cysd: '', // 我司参与深度 cllx: '', // 适用车型 @@ -992,6 +1172,170 @@ export default { }, }, methods: { + // 代替政策号 请求数据 + getReplaceLawsNumRowFirst () { + if (this.sarBussionessLawsEO.replaceLawsNum !== null && this.sarBussionessLawsEO.replaceLawsNum !== '') { + this.replaceLawsNumForm.quoteIdList = this.quoteIdList1.toString() === '' ? '' : this.quoteIdList1 + } else { + this.quoteIdList1 = [] + this.replaceLawsNumForm.quoteIdList = '' + } + this.replaceLawsNumForm.page = 1 + this.replacePage = 1 + this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', this.replaceLawsNumForm, { + _this: this, + loading: 'replaceLoading' + }, res => { + this.replaceLawsNumRow = res.data.list + this.replaceTotal = res.data.count + if (this.selectedListRep.length !== 0) { + this.selectedListRep.map((list) => { + this.replaceLawsNumRow.map((item) => { + if (list.id === item.id) { + item._checked = true + } + }) + }) + } + }, e => { + }) + }, + dataSourceChange (val) { + }, + handleChange (event) { + // const value = event.target.value + const value = event + this.$emit('input', value) + if (value.length==1000){ + return this.$message({ + message: '相关标准不能输入超过1000个字符', + type: 'warning' + }); + } + }, + // 代替政策编号-取消 + replaceLawsNumModelCancel () { + // this.replaceLawsNumModel = false + this.$refs.selections.clearSelection() + }, + // 代替政策号 table选择事件 + selectReplaceStandNumRowChange (row) { + this.selectedListRep = row + }, + // 代替政策分页 + pageChangeReplace (page) { + this.replacePage = page + this.replaceLawsNumForm.page = page + this.getReplaceLawsNumRow() + }, + pageSizeChangeReplace (pageSize) { + // this.replaceRows = pageSize + this.replaceLawsNumForm.pageSize = pageSize + this.getReplaceLawsNumRow() + }, + // 代替政策编号确定 + replaceLawsNumModelBt () { + let textArr = [] + + if (typeof this.value === 'string') { + if (this.value) { + textArr = this.value.split(',') + } + } + if (this.selectedListRep.length === 0) { + return this.$message({ + message: '请先选择数据', + type: 'warning' + }) + } + if (this.selectedListRep.length + textArr.length > 20) { + return this.$message({ + message: '标准最多选择20项', + type: 'warning' + }) + } + this.selectedListRep.map((item) => { + let texts = '' + if (item.standYear != null && item.standYear !== '') { + texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear + } else { + texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber + } + textArr.push(texts) + textArr = [...new Set(textArr)] + this.replaceLawsNumModel = false + }) + // this.SarLawsInfoEO.replaceLawsNum = textArr.join(',') + if(this.replaceLawType === 'dtbjh'){ + this.form.dtbjh = textArr.join(',') + }else if(this.replaceLawType === 'yybj'){ + this.form.yybj = textArr.join(',') + }else { + this.form.byybj = textArr.join(',') + } + // this.$emit('input', textArr.join(',')) + this.$refs.selections.clearSelection() + }, + // 点击查看 + handlePreview (item) { + let routeUrl = this.$router.resolve({ + name: 'OtherStandardDetails', + params: { + id: item.id, + pageType: 'INLAND_STAND' + } + }) + window.open(routeUrl.href, '_blank') + }, + getResetLawsNumRow () { + this.replaceLawsNumForm = { + standNumber: '', // 标准编号 + page: 1, + pageSize: this.$store.getters.userInfo.configContent, + total: 0, + standType: 'INLAND', + quoteIdList: '', + validFlag: '0' + } + this.getReplaceLawsNumRow() + }, + selectLaws (type) { + // if (this.standNumFlag === 1) { + // this.$refs.selections.selectAll(false) + // } + // this.sarBussionessLawsEO.replaceLawsNum = '' + this.replaceLawsNumModel = true + this.replaceLawType = '' + this.replaceLawType = type + this.getReplaceLawsNumRow() + }, + // 代替政策号 请求数据 + getReplaceLawsNumRow () { + if (this.sarBussionessLawsEO.replaceLawsNum !== null && this.sarBussionessLawsEO.replaceLawsNum !== '') { + this.replaceLawsNumForm.quoteIdList = this.quoteIdList1.toString() === '' ? '' : this.quoteIdList1 + } else { + this.quoteIdList1 = [] + this.replaceLawsNumForm.quoteIdList = '' + } + this.replaceLawsNumForm.standType = this.form.standInData === '1' ? 'FOREIGN' : 'INLAND' + this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', this.replaceLawsNumForm, { + _this: this, + loading: 'replaceLoading' + }, res => { + this.replaceLawsNumRow = res.data.list + this.replaceTotal = res.data.count + if (this.selectedListRep.length !== 0) { + this.selectedListRep.map((list) => { + this.replaceLawsNumRow.map((item) => { + if (list.id === item.id) { + item._checked = true + } + }) + }) + } + }, e => { + }) + }, beginImportFile (file) { var filename = file.name var index1 = filename.lastIndexOf('.') @@ -1128,22 +1472,25 @@ export default { }, handleSave() {}, handleSubmit() { - this.form.commentText = this.commentText - this.form.approvalOpinion = this.approvalOpinion - const json = JSON.stringify(this.form); - console.log(json) - this.$http.post('lawss/activiti/completeTask', { - taskIds: this.taskIds, - userId : this.userId, - json: json - }, { - _this: this - }, res => { - if (res.success) { - this.$message.success(res.message) - }else { - this.$message.success(res.message) - } + this.$refs['form'].validate((valid) => { + if (valid) { + this.form.commentText = this.commentText + this.form.approvalOpinion = this.approvalOpinion + const json = JSON.stringify(this.form); + this.$http.post('lawss/activiti/completeTask', { + taskIds: this.taskIds, + userId : this.userId, + json: json + }, { + _this: this + }, res => { + if (res.success) { + this.$message.success(res.message) + }else { + this.$message.success(res.message) + } + }) + } }) }, diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index 137c40c5f..bb42023d4 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -395,6 +395,7 @@ > From 8eedeaa9f5aee13e698fe44806266a29d53040d4 Mon Sep 17 00:00:00 2001 From: shen_yan_pu <1975145892@qq.com> Date: Thu, 15 Jul 2021 09:10:25 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86?= =?UTF-8?q?=E7=9A=84=E6=A0=B7=E5=BC=8Fbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shangqi-iconfont-replace/demo_index.html | 858 +++++++++--------- .../pages/attributeCustom/components/buss.vue | 2 +- .../pages/standLawsAttrManage/index.vue | 3 +- src/pages/localTool/standContrast/index.vue | 42 +- .../localTool/standardRecognition/index.vue | 8 +- 5 files changed, 456 insertions(+), 457 deletions(-) diff --git a/src/assets/styles/shangqi-iconfont-replace/demo_index.html b/src/assets/styles/shangqi-iconfont-replace/demo_index.html index 9fbc2eab1..8e8874e61 100644 --- a/src/assets/styles/shangqi-iconfont-replace/demo_index.html +++ b/src/assets/styles/shangqi-iconfont-replace/demo_index.html @@ -22,860 +22,860 @@
  • Font class
  • Symbol
  • - + 查看项目 - +
      - +
    • 帮助与支持
      &#xe683;
    • - +
    • 对比2
      &#xe64e;
    • - +
    • 标签
      &#xeb43;
    • - +
    • 线性-标记
      &#xe64c;
    • - +
    • 已读
      &#xe686;
    • - +
    • 已读
      &#xeb42;
    • - +
    • 小组
      &#xe657;
    • - +
    • 单据-错误
      &#xe646;
    • - +
    • 保养计划
      &#xe649;
    • - +
    • 毅进06-积分政策
      &#xe644;
    • - +
    • 对比分析
      &#xe643;
    • - +
    • 角色管理
      &#xe641;
    • - +
    • 识别
      &#xeb41;
    • - +
    • 权限块状
      &#xe662;
    • - +
    • 条件筛选
      &#xe618;
    • - +
    • 返回
      &#xe619;
    • - +
    • 随你后台-新闻
      &#xe654;
    • - +
    • 待办
      &#xe675;
    • - +
    • 分享
      &#xe69f;
    • - +
    • 国内
      &#xe61d;
    • - +
    • 国际
      &#xe622;
    • - +
    • 设置
      &#xe633;
    • - +
    • 首页
      &#xe6ca;
    • - +
    • 日历 (1)
      &#xe629;
    • - +
    • &#xe62a;
    • - +
    • 设置
      &#xe62b;
    • - +
    • 向下d
      &#xe62c;
    • - +
    • 向上d
      &#xe62d;
    • - +
    • 企业 工厂 建筑2
      &#xe803;
    • - +
    • 全球
      &#xe663;
    • - +
    • 中国地图
      &#xe62e;
    • - +
    • 前进
      &#xe63a;
    • - +
    • 返回
      &#xe631;
    • - +
    • 返回
      &#xe636;
    • - +
    • 预警
      &#xe637;
    • - +
    • 全文检索库
      &#xe7ed;
    • - +
    • 数据检索
      &#xe63c;
    • - +
    • 展开侧边栏
      &#xe63d;
    • - +
    • WiFi
      &#xe665;
    • - +
    • 验证码
      &#xe63e;
    • - +
    • car
      &#xe63f;
    • - +
    • car
      &#xe74a;
    • - +
    • 信息
      &#xe67a;
    • - +
    • 云端
      &#xe6a7;
    • - +
    • 流程
      &#xe635;
    • - +
    • 配置
      &#xe60a;
    • - +
    • 数据分析
      &#xe66f;
    • - +
    • 检索
      &#xe63b;
    • - +
    • 团队
      &#xe60d;
    • - +
    • 法规库
      &#xe656;
    • - +
    • 分析工具,红字分析
      &#xe6ee;
    • - +
    • 搜索
      &#xe60e;
    • - +
    • 轮胎
      &#xe651;
    • - +
    • 回到顶部
      &#xe648;
    • - +
    • web__暂无记录
      &#xe6f0;
    • - +
    • 文件夹
      &#xe64b;
    • - +
    • arrow down
      &#xe61a;
    • - +
    • 汽车-28
      &#xe61c;
    • - +
    • 系统运维-部门
      &#xe640;
    • - +
    • 员工渠道APP-我的
      &#xe60f;
    • - +
    • 选中个人中心
      &#xe621;
    • - +
    • 资源库
      &#xe721;
    • - +
    • 车-03
      &#xe614;
    • - +
    • 车-02
      &#xe616;
    • - +
    • 车-01
      &#xe617;
    • - +
    • 下载
      &#xeb3d;
    • - +
    • 下载
      &#xe609;
    • - +
    • 下载
      &#xe634;
    • - +
    • 委托
      &#xe615;
    • - +
    • 保存
      &#xe608;
    • - +
    • 图表
      &#xe64d;
    • - +
    • pdf
      &#xe61f;
    • - +
    • 翻译
      &#xe769;
    • - +
    • word
      &#xe607;
    • - +
    • 流程
      &#xe612;
    • - +
    • 报表
      &#xe606;
    • - +
    • 报表
      &#xe6ec;
    • - +
    • 配置
      &#xe630;
    • - +
    • 清单
      &#xe748;
    • - +
    • 动态
      &#xe613;
    • - +
    • 工具
      &#xe689;
    • - +
    • 配置
      &#xe7d2;
    • - +
    • 检索管理
      &#xe645;
    • - +
    • 法规库
      &#xe6ed;
    • - +
    • 法律法规库
      &#xe703;
    • - +
    • 首页
      &#xe660;
    • - +
    • 清单
      &#xe605;
    • - +
    • 下载
      &#xe825;
    • - +
    • 配置
      &#xe669;
    • - +
    • 移除
      &#xe611;
    • - +
    • 预警
      &#xe726;
    • - +
    • 基础信息管理
      &#xe695;
    • - +
    • 基础配置管理
      &#xe664;
    • - +
    • 搜索
      &#xe684;
    • - +
    • 个人中心-我的
      &#xe639;
    • - +
    • 下 拉
      &#xe603;
    • - +
    • -
      上传
      +
      &#xe65d;
    • - +
    • 关 闭
      &#xe67d;
    • - +
    • 日期
      &#xe642;
    • - +
    • &#xe610;
    • - +
    • 筛 选
      &#xe7a5;
    • - +
    • 删 除
      &#xe61b;
    • - +
    • 导入
      &#xe6de;
    • - +
    • 导出
      &#xe6e9;
    • - +
    • 更多
      &#xe61e;
    • - +
    • 编辑
      &#xeb3c;
    • - +
    • 删除/数字面板编辑态
      &#xe602;
    • - +
    • 新增
      &#xe84e;
    • - +
    • 删除筛选项
      &#xe601;
    • - +
    • 
      下载
      &#xeb3f;
    • - +
    • 下载
      &#xe60c;
    • - +
    • 下载
      &#xe620;
    • - +
    • 文件夹
      &#xe64a;
    • - +
    • 上传
      &#xe84d;
    • - +
    • 查看
      &#xe655;
    • - +
    • 上传
      &#xeb37;
    • - +
    • 下载
      &#xeb38;
    • - +
    • 下载
      &#xeb39;
    • - +
    • 查看
      &#xeb3a;
    • - +
    • 文件夹
      &#xeb3b;
    • - +
    • 导出
      &#xe638;
    • - +
    • 星星
      &#xe870;
    • - +
    • 会议记录
      &#xe732;
    • - +
    • 分开
      &#xeb36;
    • - +
    • 待办提醒
      &#xe627;
    • - +
    • AK-MN消息2_fill
      &#xe600;
    • - +
    • 首页
      &#xe626;
    • - +
    • 爱生活-个人中心-头像
      &#xe628;
    • - +
    • 头像(通用)
      &#xe632;
    • - +
    • 头像修改
      &#xe69b;
    • - +
    • 折叠
      &#xe647;
    • - +
    • 重置
      &#xe604;
    • - +
    • 维修扳手
      &#xe715;
    • - +
    • 首页
      &#xe62f;
    • - +
    • 数据分析
      &#xe625;
    • - +
    • 流程
      &#xeb35;
    • - +
    • 法律法规
      &#xe6da;
    • - +
    • shouye
      &#xe771;
    • - +
    • 搜索
      &#xe624;
    • - +
    • 团队
      &#xe60b;
    • - +
    • shouye
      &#xe623;
    • - +

    Unicode 引用

    @@ -925,7 +925,7 @@
      - +
    • @@ -934,7 +934,7 @@
      .icon-bangzhuyuzhichi
    • - +
    • @@ -943,7 +943,7 @@
      .icon-duibi
    • - +
    • @@ -952,7 +952,7 @@
      .icon-biaoqian-copy
    • - +
    • @@ -961,7 +961,7 @@
      .icon-xianxing-biaoji
    • - +
    • @@ -970,7 +970,7 @@
      .icon-yidu
    • - +
    • @@ -979,7 +979,7 @@
      .icon-yidu-copy
    • - +
    • @@ -988,7 +988,7 @@
      .icon-xiaozu
    • - +
    • @@ -997,7 +997,7 @@
      .icon-danju-cuowu-tianchong
    • - +
    • @@ -1006,7 +1006,7 @@
      .icon-baoyangjihua
    • - +
    • @@ -1015,7 +1015,7 @@
      .icon-yijin06-jifenzhengce
    • - +
    • @@ -1024,7 +1024,7 @@
      .icon-duibifenxi
    • - +
    • @@ -1033,7 +1033,7 @@
      .icon-jiaoseguanli
    • - +
    • @@ -1042,7 +1042,7 @@
      .icon-shibie
    • - +
    • @@ -1051,7 +1051,7 @@
      .icon-quanxiankuaizhuang
    • - +
    • @@ -1060,7 +1060,7 @@
      .icon-tiaojianshaixuan
    • - +
    • @@ -1069,7 +1069,7 @@
      .icon-fanhui
    • - +
    • @@ -1078,7 +1078,7 @@
      .icon-suini-new-2
    • - +
    • @@ -1087,7 +1087,7 @@
      .icon-iconfontrenwu
    • - +
    • @@ -1096,7 +1096,7 @@
      .icon-fenxiang
    • - +
    • @@ -1105,7 +1105,7 @@
      .icon-guonei
    • - +
    • @@ -1114,7 +1114,7 @@
      .icon-guoji
    • - +
    • @@ -1123,7 +1123,7 @@
      .icon-shezhi1
    • - +
    • @@ -1132,7 +1132,7 @@
      .icon-shouye5
    • - +
    • @@ -1141,7 +1141,7 @@
      .icon-rili
    • - +
    • @@ -1150,7 +1150,7 @@
      .icon-yun
    • - +
    • @@ -1159,7 +1159,7 @@
      .icon-shezhi2
    • - +
    • @@ -1168,7 +1168,7 @@
      .icon-icon-angle-double-bottom
    • - +
    • @@ -1177,7 +1177,7 @@
      .icon-icon-angle-double-top
    • - +
    • @@ -1186,7 +1186,7 @@
      .icon-qiyegongchangjianzhu2
    • - +
    • @@ -1195,7 +1195,7 @@
      .icon-quanqiu
    • - +
    • @@ -1204,7 +1204,7 @@
      .icon-zhongguoditu
    • - +
    • @@ -1213,7 +1213,7 @@
      .icon-tuanduicankaoxian_huaban
    • - +
    • @@ -1222,7 +1222,7 @@
      .icon-fanhui1
    • - +
    • @@ -1231,7 +1231,7 @@
      .icon-fanhui2
    • - +
    • @@ -1240,7 +1240,7 @@
      .icon-yujing1
    • - +
    • @@ -1249,7 +1249,7 @@
      .icon-wulumuqishigongandashujuguanlipingtai-ico-
    • - +
    • @@ -1258,7 +1258,7 @@
      .icon-shujujiansuo
    • - +
    • @@ -1267,7 +1267,7 @@
      .icon-zhankaicebianlan
    • - +
    • @@ -1276,7 +1276,7 @@
      .icon-WiFi
    • - +
    • @@ -1285,7 +1285,7 @@
      .icon-securityCode-b
    • - +
    • @@ -1294,7 +1294,7 @@
      .icon-car
    • - +
    • @@ -1303,7 +1303,7 @@
      .icon-car1
    • - +
    • @@ -1312,7 +1312,7 @@
      .icon-xinxi
    • - +
    • @@ -1321,7 +1321,7 @@
      .icon-icon-technology-cloud
    • - +
    • @@ -1330,7 +1330,7 @@
      .icon-liucheng1
    • - +
    • @@ -1339,7 +1339,7 @@
      .icon-peizhi3
    • - +
    • @@ -1348,7 +1348,7 @@
      .icon-data-ana
    • - +
    • @@ -1357,7 +1357,7 @@
      .icon-jiansuo
    • - +
    • @@ -1366,7 +1366,7 @@
      .icon-i
    • - +
    • @@ -1375,7 +1375,7 @@
      .icon-faguiku1
    • - +
    • @@ -1384,7 +1384,7 @@
      .icon-fenxigongjuhongzifenxi
    • - +
    • @@ -1393,7 +1393,7 @@
      .icon-sousuo2
    • - +
    • @@ -1402,7 +1402,7 @@
      .icon-icon-loading
    • - +
    • @@ -1411,7 +1411,7 @@
      .icon-huidaodingbu
    • - +
    • @@ -1420,7 +1420,7 @@
      .icon-zanwu
    • - +
    • @@ -1429,7 +1429,7 @@
      .icon-wenjianjia1
    • - +
    • @@ -1438,7 +1438,7 @@
      .icon-arrowdown
    • - +
    • @@ -1447,7 +1447,7 @@
      .icon-qicheqianlian-
    • - +
    • @@ -1456,7 +1456,7 @@
      .icon-xitongyunweibumen
    • - +
    • @@ -1465,7 +1465,7 @@
      .icon-wode
    • - +
    • @@ -1474,7 +1474,7 @@
      .icon-icon-test
    • - +
    • @@ -1483,7 +1483,7 @@
      .icon-ziyuanku1
    • - +
    • @@ -1492,7 +1492,7 @@
      .icon-che-3
    • - +
    • @@ -1501,7 +1501,7 @@
      .icon-che-1
    • - +
    • @@ -1510,7 +1510,7 @@
      .icon-che-2
    • - +
    • @@ -1519,7 +1519,7 @@
      .icon-svg34-copy-copy
    • - +
    • @@ -1528,7 +1528,7 @@
      .icon-svg34-copy
    • - +
    • @@ -1537,7 +1537,7 @@
      .icon-xiazai3
    • - +
    • @@ -1546,7 +1546,7 @@
      .icon-weituo
    • - +
    • @@ -1555,7 +1555,7 @@
      .icon-baocun
    • - +
    • @@ -1564,7 +1564,7 @@
      .icon-tubiao
    • - +
    • @@ -1573,7 +1573,7 @@
      .icon-pdf
    • - +
    • @@ -1582,7 +1582,7 @@
      .icon-fanyi
    • - +
    • @@ -1591,7 +1591,7 @@
      .icon-word1
    • - +
    • @@ -1600,7 +1600,7 @@
      .icon-liucheng-A-
    • - +
    • @@ -1609,7 +1609,7 @@
      .icon-baobiao
    • - +
    • @@ -1618,7 +1618,7 @@
      .icon-baobiao1
    • - +
    • @@ -1627,7 +1627,7 @@
      .icon-peizhi1
    • - +
    • @@ -1636,7 +1636,7 @@
      .icon-qingdan1
    • - +
    • @@ -1645,7 +1645,7 @@
      .icon-dongtai
    • - +
    • @@ -1654,7 +1654,7 @@
      .icon-gongju
    • - +
    • @@ -1663,7 +1663,7 @@
      .icon-peizhi2
    • - +
    • @@ -1672,7 +1672,7 @@
      .icon-jiansuoguanli
    • - +
    • @@ -1681,7 +1681,7 @@
      .icon-faguiku
    • - +
    • @@ -1690,7 +1690,7 @@
      .icon-falvfaguiku
    • - +
    • @@ -1699,7 +1699,7 @@
      .icon-shouye4
    • - +
    • @@ -1708,7 +1708,7 @@
      .icon-qingdan
    • - +
    • @@ -1717,7 +1717,7 @@
      .icon-xiazai2
    • - +
    • @@ -1726,7 +1726,7 @@
      .icon-peizhi
    • - +
    • @@ -1735,7 +1735,7 @@
      .icon-yichu
    • - +
    • @@ -1744,7 +1744,7 @@
      .icon-yujing
    • - +
    • @@ -1753,7 +1753,7 @@
      .icon-jichuxinxiguanli
    • - +
    • @@ -1762,7 +1762,7 @@
      .icon-jichupeizhiguanli
    • - +
    • @@ -1771,7 +1771,7 @@
      .icon-sousuo1
    • - +
    • @@ -1780,7 +1780,7 @@
      .icon-yonghu
    • - +
    • @@ -1789,7 +1789,7 @@
      .icon-xiala
    • - +
    • @@ -1798,7 +1798,7 @@
      .icon-shangchuan1
    • - +
    • @@ -1807,7 +1807,7 @@
      .icon-guanbi
    • - +
    • @@ -1816,7 +1816,7 @@
      .icon-riqi
    • - +
    • @@ -1825,7 +1825,7 @@
      .icon-dui
    • - +
    • @@ -1834,7 +1834,7 @@
      .icon-shaixuan
    • - +
    • @@ -1843,7 +1843,7 @@
      .icon-shanchu
    • - +
    • @@ -1852,7 +1852,7 @@
      .icon-daoru
    • - +
    • @@ -1861,7 +1861,7 @@
      .icon-daochu1
    • - +
    • @@ -1870,7 +1870,7 @@
      .icon-gengduo
    • - +
    • @@ -1879,7 +1879,7 @@
      .icon-bianji-copy
    • - +
    • @@ -1888,7 +1888,7 @@
      .icon-chuyidong
    • - +
    • @@ -1897,7 +1897,7 @@
      .icon-xinzeng
    • - +
    • @@ -1906,7 +1906,7 @@
      .icon-chushaixuanxiang
    • - +
    • @@ -1915,7 +1915,7 @@
      .icon-xiazai1-copy-copy
    • - +
    • @@ -1924,7 +1924,7 @@
      .icon-xiazai
    • - +
    • @@ -1933,7 +1933,7 @@
      .icon-xiazai1
    • - +
    • @@ -1942,7 +1942,7 @@
      .icon-wenjianjia
    • - +
    • @@ -1951,7 +1951,7 @@
      .icon-shangchuan
    • - +
    • @@ -1960,7 +1960,7 @@
      .icon-chakan
    • - +
    • @@ -1969,7 +1969,7 @@
      .icon-shangchuan-copy
    • - +
    • @@ -1978,7 +1978,7 @@
      .icon-xiazai1-copy
    • - +
    • @@ -1987,7 +1987,7 @@
      .icon-xiazai-copy
    • - +
    • @@ -1996,7 +1996,7 @@
      .icon-chakan-copy
    • - +
    • @@ -2005,7 +2005,7 @@
      .icon-wenjianjia-copy
    • - +
    • @@ -2014,7 +2014,7 @@
      .icon-daochu
    • - +
    • @@ -2023,7 +2023,7 @@
      .icon-xingxing
    • - +
    • @@ -2032,7 +2032,7 @@
      .icon-214
    • - +
    • @@ -2041,7 +2041,7 @@
      .icon-fenkai-copy
    • - +
    • @@ -2050,7 +2050,7 @@
      .icon-daibantixing
    • - +
    • @@ -2059,7 +2059,7 @@
      .icon-mn_xiaoxi_fill
    • - +
    • @@ -2068,7 +2068,7 @@
      .icon-shouye3
    • - +
    • @@ -2077,7 +2077,7 @@
      .icon-touxiang
    • - +
    • @@ -2086,7 +2086,7 @@
      .icon-touxiangtongyong
    • - +
    • @@ -2095,7 +2095,7 @@
      .icon-touxiangxiugai
    • - +
    • @@ -2104,7 +2104,7 @@
      .icon-zhedie
    • - +
    • @@ -2113,7 +2113,7 @@
      .icon-zhongzhi
    • - +
    • @@ -2122,7 +2122,7 @@
      .icon-weixiubanshou
    • - +
    • @@ -2131,7 +2131,7 @@
      .icon-shouye
    • - +
    • @@ -2140,7 +2140,7 @@
      .icon-data-analysis
    • - +
    • @@ -2149,7 +2149,7 @@
      .icon-liucheng
    • - +
    • @@ -2158,7 +2158,7 @@
      .icon-falvfagui
    • - +
    • @@ -2167,7 +2167,7 @@
      .icon-shouye1
    • - +
    • @@ -2176,7 +2176,7 @@
      .icon-sousuo
    • - +
    • @@ -2185,7 +2185,7 @@
      .icon-tuandui
    • - +
    • @@ -2194,7 +2194,7 @@
      .icon-shouye2
    • - +

    font-class 引用

    @@ -2223,7 +2223,7 @@
      - +
    • 帮助与支持
      #icon-bangzhuyuzhichi
    • - +
    • 对比2
      #icon-duibi
    • - +
    • 标签
      #icon-biaoqian-copy
    • - +
    • 线性-标记
      #icon-xianxing-biaoji
    • - +
    • 已读
      #icon-yidu
    • - +
    • 已读
      #icon-yidu-copy
    • - +
    • 小组
      #icon-xiaozu
    • - +
    • 单据-错误
      #icon-danju-cuowu-tianchong
    • - +
    • 保养计划
      #icon-baoyangjihua
    • - +
    • 毅进06-积分政策
      #icon-yijin06-jifenzhengce
    • - +
    • 对比分析
      #icon-duibifenxi
    • - +
    • 角色管理
      #icon-jiaoseguanli
    • - +
    • 识别
      #icon-shibie
    • - +
    • 权限块状
      #icon-quanxiankuaizhuang
    • - +
    • 条件筛选
      #icon-tiaojianshaixuan
    • - +
    • 返回
      #icon-fanhui
    • - +
    • 随你后台-新闻
      #icon-suini-new-2
    • - +
    • 待办
      #icon-iconfontrenwu
    • - +
    • 分享
      #icon-fenxiang
    • - +
    • 国内
      #icon-guonei
    • - +
    • 国际
      #icon-guoji
    • - +
    • 设置
      #icon-shezhi1
    • - +
    • 首页
      #icon-shouye5
    • - +
    • 日历 (1)
      #icon-rili
    • - +
    • #icon-yun
    • - +
    • 设置
      #icon-shezhi2
    • - +
    • 向下d
      #icon-icon-angle-double-bottom
    • - +
    • 向上d
      #icon-icon-angle-double-top
    • - +
    • 企业 工厂 建筑2
      #icon-qiyegongchangjianzhu2
    • - +
    • 全球
      #icon-quanqiu
    • - +
    • 中国地图
      #icon-zhongguoditu
    • - +
    • 前进
      #icon-tuanduicankaoxian_huaban
    • - +
    • 返回
      #icon-fanhui1
    • - +
    • 返回
      #icon-fanhui2
    • - +
    • 预警
      #icon-yujing1
    • - +
    • 全文检索库
      #icon-wulumuqishigongandashujuguanlipingtai-ico-
    • - +
    • 数据检索
      #icon-shujujiansuo
    • - +
    • 展开侧边栏
      #icon-zhankaicebianlan
    • - +
    • WiFi
      #icon-WiFi
    • - +
    • 验证码
      #icon-securityCode-b
    • - +
    • car
      #icon-car
    • - +
    • car
      #icon-car1
    • - +
    • 信息
      #icon-xinxi
    • - +
    • 云端
      #icon-icon-technology-cloud
    • - +
    • 流程
      #icon-liucheng1
    • - +
    • 配置
      #icon-peizhi3
    • - +
    • 数据分析
      #icon-data-ana
    • - +
    • 检索
      #icon-jiansuo
    • - +
    • 团队
      #icon-i
    • - +
    • 法规库
      #icon-faguiku1
    • - +
    • 分析工具,红字分析
      #icon-fenxigongjuhongzifenxi
    • - +
    • 搜索
      #icon-sousuo2
    • - +
    • 轮胎
      #icon-icon-loading
    • - +
    • 回到顶部
      #icon-huidaodingbu
    • - +
    • web__暂无记录
      #icon-zanwu
    • - +
    • 文件夹
      #icon-wenjianjia1
    • - +
    • arrow down
      #icon-arrowdown
    • - +
    • 汽车-28
      #icon-qicheqianlian-
    • - +
    • 系统运维-部门
      #icon-xitongyunweibumen
    • - +
    • 员工渠道APP-我的
      #icon-wode
    • - +
    • 选中个人中心
      #icon-icon-test
    • - +
    • 资源库
      #icon-ziyuanku1
    • - +
    • 车-03
      #icon-che-3
    • - +
    • 车-02
      #icon-che-1
    • - +
    • 车-01
      #icon-che-2
    • - +
    • 下载
      #icon-svg34-copy-copy
    • - +
    • 下载
      #icon-svg34-copy
    • - +
    • 下载
      #icon-xiazai3
    • - +
    • 委托
      #icon-weituo
    • - +
    • 保存
      #icon-baocun
    • - +
    • 图表
      #icon-tubiao
    • - +
    • pdf
      #icon-pdf
    • - +
    • 翻译
      #icon-fanyi
    • - +
    • word
      #icon-word1
    • - +
    • 流程
      #icon-liucheng-A-
    • - +
    • 报表
      #icon-baobiao
    • - +
    • 报表
      #icon-baobiao1
    • - +
    • 配置
      #icon-peizhi1
    • - +
    • 清单
      #icon-qingdan1
    • - +
    • 动态
      #icon-dongtai
    • - +
    • 工具
      #icon-gongju
    • - +
    • 配置
      #icon-peizhi2
    • - +
    • 检索管理
      #icon-jiansuoguanli
    • - +
    • 法规库
      #icon-faguiku
    • - +
    • 法律法规库
      #icon-falvfaguiku
    • - +
    • 首页
      #icon-shouye4
    • - +
    • 清单
      #icon-qingdan
    • - +
    • 下载
      #icon-xiazai2
    • - +
    • 配置
      #icon-peizhi
    • - +
    • 移除
      #icon-yichu
    • - +
    • 预警
      #icon-yujing
    • - +
    • 基础信息管理
      #icon-jichuxinxiguanli
    • - +
    • 基础配置管理
      #icon-jichupeizhiguanli
    • - +
    • 搜索
      #icon-sousuo1
    • - +
    • 个人中心-我的
      #icon-yonghu
    • - +
    • 下 拉
      #icon-xiala
    • - +
    • 上传
      #icon-shangchuan1
    • - +
    • 关 闭
      #icon-guanbi
    • - +
    • 日期
      #icon-riqi
    • - +
    • #icon-dui
    • - +
    • 筛 选
      #icon-shaixuan
    • - +
    • 删 除
      #icon-shanchu
    • - +
    • 导入
      #icon-daoru
    • - +
    • 导出
      #icon-daochu1
    • - +
    • 更多
      #icon-gengduo
    • - +
    • 编辑
      #icon-bianji-copy
    • - +
    • 删除/数字面板编辑态
      #icon-chuyidong
    • - +
    • 新增
      #icon-xinzeng
    • - +
    • 删除筛选项
      #icon-chushaixuanxiang
    • - +
    • 下载
      #icon-xiazai1-copy-copy
    • - +
    • 下载
      #icon-xiazai
    • - +
    • 下载
      #icon-xiazai1
    • - +
    • 文件夹
      #icon-wenjianjia
    • - +
    • 上传
      #icon-shangchuan
    • - +
    • 查看
      #icon-chakan
    • - +
    • 上传
      #icon-shangchuan-copy
    • - +
    • 下载
      #icon-xiazai1-copy
    • - +
    • 下载
      #icon-xiazai-copy
    • - +
    • 查看
      #icon-chakan-copy
    • - +
    • 文件夹
      #icon-wenjianjia-copy
    • - +
    • 导出
      #icon-daochu
    • - +
    • 星星
      #icon-xingxing
    • - +
    • 会议记录
      #icon-214
    • - +
    • 分开
      #icon-fenkai-copy
    • - +
    • 待办提醒
      #icon-daibantixing
    • - +
    • AK-MN消息2_fill
      #icon-mn_xiaoxi_fill
    • - +
    • 首页
      #icon-shouye3
    • - +
    • 爱生活-个人中心-头像
      #icon-touxiang
    • - +
    • 头像(通用)
      #icon-touxiangtongyong
    • - +
    • 头像修改
      #icon-touxiangxiugai
    • - +
    • 折叠
      #icon-zhedie
    • - +
    • 重置
      #icon-zhongzhi
    • - +
    • 维修扳手
      #icon-weixiubanshou
    • - +
    • 首页
      #icon-shouye
    • - +
    • 数据分析
      #icon-data-analysis
    • - +
    • 流程
      #icon-liucheng
    • - +
    • 法律法规
      #icon-falvfagui
    • - +
    • shouye
      #icon-shouye1
    • - +
    • 搜索
      #icon-sousuo
    • - +
    • 团队
      #icon-tuandui
    • - +
    • shouye
      #icon-shouye2
    • - +

    Symbol 引用

    diff --git a/src/pages/config/pages/attributeCustom/components/buss.vue b/src/pages/config/pages/attributeCustom/components/buss.vue index 728c33ecc..24fa0033f 100644 --- a/src/pages/config/pages/attributeCustom/components/buss.vue +++ b/src/pages/config/pages/attributeCustom/components/buss.vue @@ -341,7 +341,7 @@ export default { {required: true, message: '所属模块不能为空', trigger: 'change'} ], showIndex: [ - { type: 'number', required: true, message: '请输入排序号', trigger: 'blur' }, + { type: 'number', required: true, message: '不能为空且为正整数', trigger: 'blur' }, { type: 'number', min: 0, max: 999, message: '请输入0-999之间的整数', trigger: 'blur' } ] }, diff --git a/src/pages/config/pages/standLawsAttrManage/index.vue b/src/pages/config/pages/standLawsAttrManage/index.vue index 609f9bc4f..9672fae8b 100644 --- a/src/pages/config/pages/standLawsAttrManage/index.vue +++ b/src/pages/config/pages/standLawsAttrManage/index.vue @@ -32,10 +32,9 @@ + >搜索 - - - - - - - - - - - - - - - - - - - + diff --git a/src/pages/localTool/standardRecognition/index.vue b/src/pages/localTool/standardRecognition/index.vue index 628d45181..b9a84f7e1 100644 --- a/src/pages/localTool/standardRecognition/index.vue +++ b/src/pages/localTool/standardRecognition/index.vue @@ -115,9 +115,9 @@ 删除 - 在线编辑 + >-->
    @@ -472,9 +472,9 @@ export default { case "删除": this.delSingalData(command[0]); break; - case "在线编辑": + /*case "在线编辑": this.downloadFile(command[0]); - break; + break;*/ } }, // 修改成表格样式后,选择项勾选改变 From 3cbb0111a0c4f2c184eadf7ee2cb470a5704970d Mon Sep 17 00:00:00 2001 From: zhutianqi Date: Thu, 15 Jul 2021 15:19:22 +0800 Subject: [PATCH 3/3] commit --- .../pages/creatProcess/bzjd/step1.vue | 185 +++++++++++++----- .../pages/creatProcess/bzjd/step4.vue | 13 ++ .../pages/creatProcess/bzjd/step5.vue | 13 ++ .../pages/creatProcess/bzjd/step6.vue | 13 ++ .../tabComponents/processCenter/index.vue | 33 ++++ src/router/index.js | 27 +++ 6 files changed, 234 insertions(+), 50 deletions(-) create mode 100644 src/pages/processCenter/pages/creatProcess/bzjd/step4.vue create mode 100644 src/pages/processCenter/pages/creatProcess/bzjd/step5.vue create mode 100644 src/pages/processCenter/pages/creatProcess/bzjd/step6.vue diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue index fe16bf313..194ae0752 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step1.vue @@ -10,7 +10,7 @@
    人员信息
    -
    +
    + + + +
    + 批量编辑 +
    + + + + + + + + + + + + + 数据获取中
    @@ -82,21 +128,6 @@ - - - -

    对接部门责任人

    -
    - - - -
    -
    -
    -
    @@ -126,7 +157,7 @@ > { deposit.set(item.id, item); @@ -427,9 +462,13 @@ _this: this }, res => { if (res.ok) { + res.data.list.forEach(item => { + item.zrUserId = '' + item.zrUserIdName= '' + }) this.itemList = res.data.list - console.log(res); } + this.loading = false }) } else if (this.selectedList.length > 1) { this.$message.warning("只能选择一条数据进行带入"); @@ -470,12 +509,37 @@ this.roleRow = this.$refs.tree.getCheckedNodes()[0] } }, - choiceZRRS () { - this.nodeList2 = [] - if ( this.roleForm.zrUserId.length > 0) { - this.nodeList2 = this.roleForm.zrUserId.split(',') + drawerCheck2 (data) { + var getlist = this.$refs.tree2.getCheckedNodes().concat(this.$refs.tree2.getHalfCheckedNodes()); + if(getlist.length == 1) { + this.roleRow = getlist[0] + }else { + this.$refs.tree2.setCheckedKeys([data.id]); + this.roleRow = this.$refs.tree2.getCheckedNodes()[0] + } + }, + handleSelectionChange (val) { + this.zrIdList = [] + val.forEach( item => { + this.zrIdList.push(item.id) + }) + }, + choiceZRRS (row, type, index) { + if (type === 1) { + this.zrIndex= index + this.zrType = type + this.nodeList2.push(row) + this.modalshowflag2 = true + } else { + // 批量 + if (this.zrIdList.length > 0) { + this.zrType = type + this.nodeList2 = [] + this.modalshowflag2 = true + } else { + this.$message.warning('请选择要编辑的数据') + } } - this.modalshowflag2 = true }, saveUserInfo2 () { var idList = '' @@ -488,8 +552,19 @@ idList += item.id nameList += item.name }) - this.roleForm.zrUserId = idList - this.roleForm.zrUserIdName = nameList + if (this.zrType == 1) { + this.itemList[this.zrIndex].zrUserId = idList + this.itemList[this.zrIndex].zrUserIdName = nameList + } else { + this.itemList.forEach( item => { + this.zrIdList.forEach( items => { + if (item.id === items) { + item.zrUserId = idList + item.zrUserIdName = nameList + } + }) + }) + } this.modalshowflag2 = false }, cancleUserInfo2 () { @@ -504,28 +579,38 @@ if (valid) { this.$refs['Form'].validate((valid) => { if (valid) { - this.$http.get('lawss/activiti/startProcess', { - type: '9' - }, {}, res => { - if (res.ok) { - var json = Object.assign(this.form, this.roleForm) - json.commentText = this.commentText - json.standInData = this.standId - json.itemList = this.itemList - this.$http.post('lawss/activiti/completeTask', { - json: JSON.stringify(json), - taskId: res.data, - userId: this.$store.getters.userInfo.userId - }, {}, res => { - if (res.success) { - this.$message.success('流程发起成功') - this.$router.push('/processCenter') - } - }) - } else { - this.$message.warning('流程启动失败') + let b = 0 + for (let a = 0; a < this.itemList.length; a++) { + if (!this.itemList[a].zrUserId) { + b++ } - }) + } + if (b > 0) { + this.$message.warning('请选择责任人') + } else { + this.$http.get('lawss/activiti/startProcess', { + type: '9' + }, {}, res => { + if (res.ok) { + var json = Object.assign(this.form, this.roleForm) + json.commentText = this.commentText + json.standInData = this.standId + json.itemList = this.itemList + this.$http.post('lawss/activiti/completeTask', { + json: JSON.stringify(json), + taskId: res.data, + userId: this.$store.getters.userInfo.userId + }, {}, res => { + if (res.success) { + this.$message.success('流程发起成功') + this.$router.push('/processCenter') + } + }) + } else { + this.$message.warning('流程启动失败') + } + }) + } } else { return this.$message.warning('请完善人员信息') } diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue new file mode 100644 index 000000000..51fa5d16e --- /dev/null +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue new file mode 100644 index 000000000..e5703d7c0 --- /dev/null +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step5.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue new file mode 100644 index 000000000..15b0a36dd --- /dev/null +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step6.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue index 5d55a3700..72f598fcc 100644 --- a/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue +++ b/src/pages/processCenter/pages/processList/tabComponents/processCenter/index.vue @@ -613,6 +613,39 @@ export default { prcType: row.prcType } }) + } else if (row.taskInfo === '4') { + this.$router.push({ + name: 'bzjdStep4', + query: { + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) + } else if (row.taskInfo === '5') { + this.$router.push({ + name: 'bzjdStep5', + query: { + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) + } else if (row.taskInfo === '6') { + this.$router.push({ + name: 'bzjdStep6', + query: { + taskIds: row.taskIds, + prcId: row.prcId, + prcNum: row.prcNum, + prcName: row.prcName, + prcType: row.prcType + } + }) } } }, diff --git a/src/router/index.js b/src/router/index.js index 4fdfc96b2..4ab6e1b9d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -618,6 +618,33 @@ const routes = [ title: '标准解读流程' } }, + { + path: '/bzjdStep4', + name: 'bzjdStep4', + component: () => import('@/pages/processCenter/pages/creatProcess/bzjd/step4.vue'), + meta: { + requireAuth: true, + title: '标准解读流程' + } + }, + { + path: '/bzjdStep5', + name: 'bzjdStep5', + component: () => import('@/pages/processCenter/pages/creatProcess/bzjd/step5.vue'), + meta: { + requireAuth: true, + title: '标准解读流程' + } + }, + { + path: '/bzjdStep6', + name: 'bzjdStep6', + component: () => import('@/pages/processCenter/pages/creatProcess/bzjd/step6.vue'), + meta: { + requireAuth: true, + title: '标准解读流程' + } + }, ] }, // 本地工具