diff --git a/src/assets/styles/scroll.less b/src/assets/styles/scroll.less index 96695f989..d8105b39e 100644 --- a/src/assets/styles/scroll.less +++ b/src/assets/styles/scroll.less @@ -20,7 +20,7 @@ box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.2) inset; } .el-table__fixed { - height:auto !important; // 让固定列的高自适应,且设置!important覆盖ele-ui的默认样式 + //height:auto !important; // 让固定列的高自适应,且设置!important覆盖ele-ui的默认样式 bottom:17px; // 固定列默认设置了定位, position: absolute;top: 0;left: 0;只需要再设置一下bottom的值,让固定列和父元素的底部出现距离即可 position: absolute; top: 0; diff --git a/src/pages/config/pages/standLawsAttrManage/index.vue b/src/pages/config/pages/standLawsAttrManage/index.vue index 70bf0b03e..609f9bc4f 100644 --- a/src/pages/config/pages/standLawsAttrManage/index.vue +++ b/src/pages/config/pages/standLawsAttrManage/index.vue @@ -381,16 +381,25 @@ export default { }, goNuwPage (item) { this.$store.commit('setDetailMap', this.$route.path) - this.$router.push({ - name: 'StandLawsAttrDetails', - params: { - id: item.id, - dictionaryName: item.dictionaryName, - dictionType: item.dictionType, - isRelate: item.isRelate, - relateDicId: item.relateDicId - } - }) + const params = { + id: item.id, + dictionaryName: item.dictionaryName, + dictionType: item.dictionType, + isRelate: item.isRelate, + relateDicId: item.relateDicId + } + if(item.dictionType && item.dictionType === 'TREE'){ + this.$router.push({ + name: 'standLawsAttrTreeDetails', + params: params + }) + }else { + this.$router.push({ + name: 'StandLawsAttrDetails', + params: params + }) + } + }, handleSelectone (data) { this.selectedList = [] diff --git a/src/pages/config/pages/standLawsAttrManage/pages/standLawsAttrTreeDetails.vue b/src/pages/config/pages/standLawsAttrManage/pages/standLawsAttrTreeDetails.vue new file mode 100644 index 000000000..bd935548b --- /dev/null +++ b/src/pages/config/pages/standLawsAttrManage/pages/standLawsAttrTreeDetails.vue @@ -0,0 +1,1249 @@ + + + + + + diff --git a/src/pages/localTool/standAutoSplit/index.vue b/src/pages/localTool/standAutoSplit/index.vue index b5526366e..018032f77 100644 --- a/src/pages/localTool/standAutoSplit/index.vue +++ b/src/pages/localTool/standAutoSplit/index.vue @@ -852,7 +852,7 @@ export default { } }) } else { - this.$http.get('lawss/sarStandardsInfo/getSarStandardsInfoPage', { + this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', { page: this.conditionForm.page, pageSize: this.conditionForm.pageSize, standNumber: this.conditionForm.numberName, diff --git a/src/pages/localTool/standContrast/index.vue b/src/pages/localTool/standContrast/index.vue index eed9456a1..cbf624ed1 100644 --- a/src/pages/localTool/standContrast/index.vue +++ b/src/pages/localTool/standContrast/index.vue @@ -31,8 +31,8 @@
- 比对 - 批量删除 + 比对 + 批量删除
@@ -120,19 +120,19 @@ - 查看 - 删除 - 分享 + 查看 + 删除 + 分享 收藏 取消收藏 diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue index 29e7bb6c0..aaf834d54 100644 --- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue @@ -7,7 +7,7 @@
基础信息
-
审批历史
+
人员信息
@@ -15,7 +15,9 @@ @@ -51,9 +53,9 @@ clearable > - + - + @@ -94,8 +96,9 @@ @@ -110,8 +113,11 @@ width="180px" label="标准号">
-
+
- + -

填写会签意见

+

会签人

- +
- +

标准/政策法规工程师

- +
@@ -193,7 +199,8 @@

业务经理

- +
@@ -455,7 +462,6 @@ @pageSizeChange="pageSizeChange" />
-
+ - + @@ -582,43 +603,53 @@ export default { }, data() { return { + standList: [], //新添加的标准 modalshowflag: false, // drawer开关 - drawerTitle: '', //drawer标题 + drawerTitle: "", //drawer标题 nodeList: [], defaultProps: { - children: 'children', - label: 'name' + children: "children", + label: "name" }, roleForm: { - startUserName: this.$store.getters.userInfo.account, + startUserName: this.$store.getters.userInfo.userName, startUser: this.$store.getters.userInfo.id, - dockUser: '', - responUserList: '', - ministerUser: '', - directorUser: '', - presidentUser: '', - dockUserName: '', - responUserListName: '', - ministerUserName: '', - directorUserName: '', - presidentUserName: '' + dockUser: "", + responUserList: "", + ministerUser: "", + directorUser: "", + presidentUser: "", + dockUserName: "", + responUserListName: "", + ministerUserName: "", + directorUserName: "", + presidentUserName: "" + }, + formRules: { + listType: [ + { required: true, message: "请选择清单类型", trigger: "blur" } + ], + listName: [ + { required: true, message: "请填写清单名称", trigger: "change" } + ] }, roleFormRules: { - dockUserName: [ - { required: true, message: '请选择会签责任人', trigger: 'blur' }, - ], + // dockUserName: [ + // { required: true, message: "请选择会签责任人", trigger: "blur" } + // ], ministerUserName: [ - { required: true, message: '请选择修订责任人', trigger: 'blur' }, + { required: true, message: "请选择修订责任人", trigger: "blur" } ], directorUserName: [ - { required: true, message: '请选择审批责任人', trigger: 'blur' }, - ], + { required: true, message: "请选择审批责任人", trigger: "blur" } + ] }, dataList: [],//清单里的标准数据 sarAccessListDatas: [], //国家地区清单表格 - uploadFileListPath: 'api/att/attFile/upload', // 上传的地址 + uploadFileListPath: "api/att/attFile/upload", // 上传的地址 fileInfoList: [], // 上传的附件 standardData: [], //添加标准数据 + standardData1: [], //添加标准数据 ListModel: false, //选择清单抽屉状态 standModel: false, // 选择标准抽屉状态 active: "1", @@ -633,15 +664,18 @@ export default { page: 1, total: 0, pageSize: this.$store.getters.userInfo.configContent, + pageNo: 1, + totalNo: 0, + pageSizeNo: this.$store.getters.userInfo.configContent, listForm: { listType: "", //区分是哪个清单 listName: "", //清单名称 applyRegion: "", //适用区域 descriptionList: "", //清单说明 - enclosure: "", //附件 + fileId: "", //附件 standId: "", //选择的清单的id signFlag: "1", //是否会签 1为会签 2为不会签 - inforlist:"" , //用来存放标准列表的标准id + inforlist: "", //用来存放标准列表的标准id dataList: [{ code: "", //标准号 standName: "", //标准名称 @@ -663,24 +697,24 @@ export default { }; }, methods: { - saveUserInfo () { - if (this.type === 'dockUser') { - this.roleForm.dockUser = this.roleRow.id - this.roleForm.dockUserName = this.roleRow.name - } else if (this.type === 'ministerUser') { - this.roleForm.ministerUser = this.roleRow.id - this.roleForm.ministerUserName = this.roleRow.name - } else if (this.type === 'directorUser') { - this.roleForm.directorUser = this.roleRow.id - this.roleForm.directorUserName = this.roleRow.name - } else if (this.type === 'presidentUser') { - this.roleForm.presidentUser = this.roleRow.id - this.roleForm.presidentUserName = this.roleRow.name + saveUserInfo() { + if (this.type === "dockUser") { + this.roleForm.dockUser = this.roleRow.id; + this.roleForm.dockUserName = this.roleRow.name; + } else if (this.type === "ministerUser") { + this.roleForm.ministerUser = this.roleRow.id; + this.roleForm.ministerUserName = this.roleRow.name; + } else if (this.type === "directorUser") { + this.roleForm.directorUser = this.roleRow.id; + this.roleForm.directorUserName = this.roleRow.name; + } else if (this.type === "presidentUser") { + this.roleForm.presidentUser = this.roleRow.id; + this.roleForm.presidentUserName = this.roleRow.name; } - this.modalshowflag = false + this.modalshowflag = false; }, - cancleUserInfo () { - this.modalshowflag = false + cancleUserInfo() { + this.modalshowflag = false; }, //tab发生变化 handleTabs(name) { @@ -689,21 +723,21 @@ export default { choiceShow() { this.ListModel = true; }, - drawerCheck (data) { - // 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] - // } + drawerCheck(data) { + 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]; + } }, //判断当前是否会签 - selectSign (type) { - if(type ==='1'){ - this.listForm.signFlag = 1 - }else if(type == '2'){ - this.listForm.signFlag = 2 + selectSign(type) { + if (type === "1") { + this.listForm.signFlag = 1; + } else if (type == "2") { + this.listForm.signFlag = 2; } }, // //判断当前选中的是哪个清单 @@ -746,13 +780,13 @@ export default { }); } }, - //点击新增事件 + //点击添加事件 addList() { this.$http.get("sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage", "", { _this: this }, res => { - console.log(res); this.standardData = res.data.list; + this.totalNo = res.data.pageCount }, e => { }); this.standModel = true; @@ -786,62 +820,74 @@ export default { }, //保存事件 handleSave() { - this.saveLoading = true - let _formData = new FormData() - _formData.append('createUser', this.$store.getters.userInfo.userId) - _formData.append('createUserName', this.$store.getters.userInfo.uName) - _formData.append('prcType', this.$route.query.type) - _formData.append('json', JSON.stringify({ + this.saveLoading = true; + let _formData = new FormData(); + _formData.append("createUser", this.$store.getters.userInfo.userId); + _formData.append("createUserName", this.$store.getters.userInfo.uName); + _formData.append("prcType", this.$route.query.type); + _formData.append("json", JSON.stringify({ prcForm: this.prcForm, sarAccessInfoList: this.sarAccessInfoList, sarAccessInfoListADMIN: this.sarAccessInfoListADMIN, bzqdForm: this.bzqdForm, listInfo: this.listInfo, id: this.id - })) + })); saveTaskFirst(_formData).then(res => { - this.saveLoading = false - this.$message.success('保存成功') + this.saveLoading = false; + this.$message.success("保存成功"); }).catch(e => { - this.saveLoading = false - }) + this.saveLoading = false; + }); }, //提交事件 handleSubmit() { - let json = this.listForm - json.zrUserId = this.$store.getters.userInfo.userId - json.jlUserId = this.$store.getters.userInfo.userId - json.applyUpdUserId = this.$store.getters.userInfo.userId - json.approvalOpinion = '' - json.prcCreateUser = this.$store.getters.userInfo.userId - json.prcCreateUserName = this.$store.getters.userInfo.account - json.standName = this.listForm.listName - json.standId = this.listForm.standId - this.$http.get('lawss/activiti/startProcess' , {type: '4'}, { - _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.$router.push('/processCenter') - } - }) - } - }) + let json = this.listForm; + json.zrUserId = this.$store.getters.userInfo.userId; + json.jlUserId = this.$store.getters.userInfo.userId; + json.applyUpdUserId = this.$store.getters.userInfo.userId; + json.approvalOpinion = ""; + json.prcCreateUser = this.$store.getters.userInfo.userId; + json.prcCreateUserName = this.$store.getters.userInfo.account; + json.standName = this.listForm.listName; + json.standId = this.listForm.standId; + this.$refs["qdfbForm"].validate((valid) => { + if (valid) { + this.$refs["Form"].validate((valid) => { + if (valid) { + this.$http.get("lawss/activiti/startProcess", { type: "4" }, { + _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.$router.push("/processCenter"); + } + }); + } + }); + } else { + return this.$message.warning("请完善人员信息"); + } + }); + } else { + return this.$message.warning("请完善基础信息"); + } + }); }, // 删除上传的文件 - delFileInfo (file, fileList) { + delFileInfo(file, fileList) { // this.fileInfoList = fileList }, // 上传文件成功回调 - uploadBackSuccess (res, file, fileList) { + uploadBackSuccess(res, file, fileList) { // if (res.ok) { // this.fileInfoList = fileList // this.fileInfoList[this.fileInfoList.length - 1].id = res.data.id @@ -852,13 +898,41 @@ export default { // } }, //上传之前的钩子 - beforeUpload () { + beforeUpload() { }, - //选择标准取消事件 + //选择清单取消事件 closeDrawer() { this.ListModel = false; }, + //添加标准取消事件 + cancelStand() { + this.standModel = false; + }, + //添加标准确定事件 + okStand() { + let _this = this; + if (this.standList.length < 1) { + _this.$message.warning("请选择需要添加进清单的数据"); + } else { + _this.standList.map(item => { + let newStand = false; + for (let itemKey of _this.dataList) { + if (item.id == itemKey.id) { + newStand = true; + break; + } + } + if (newStand) { + _this.$message.warning("请勿重复添加数据"); + } else { + _this.dataList.push(item); + } + }); + this.standardData = [] + _this.standModel = false; + } + }, //选择清单确定事件 OkDrawer() { if (this.selectedList.length === 1) { @@ -870,27 +944,28 @@ export default { for (let i = 0; i < this.selectedList.length; i++) { bringData.push(deposit.get(this.selectedList[i])); } - this.listForm.standId = bringData[0].id + this.listForm.standId = bringData[0].id; this.listForm.listName = bringData[0].detailedListName; this.listForm.applyRegion = bringData[0].applicationScope; this.listForm.descriptionList = bringData[0].remark; - this.listForm.enclosure = bringData[0].detailedListName; + this.listForm.fileId = bringData[0].fileId; this.ListModel = false; - this.$http.get('sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById', {id: bringData[0].id}, { + this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", { id: bringData[0].id }, { _this: this }, res => { - this.dataList = res.data - this.listForm.dataList = res.data - let formId = "" - this.dataList.forEach(item => { - if(this.dataList.length !== 0){ - formId += ',' - formId += item.id - } - }) - this.listForm.inforlist = formId + if(res.data==null){ + res.data=[] + } + this.dataList = res.data; + console.log(res.data); + this.listForm.dataList = res.data; + let formId = [] + this.dataList.map(item => { + formId.push(item.id) + }); + this.listForm.inforlist = formId.join(','); }, e => { - }) + }); } else if (this.selectedList.length > 1) { this.$message.warning("只能选择一条数据进行带入"); } else { @@ -903,6 +978,7 @@ export default { for (let i = 0; i < data.length; i++) { this.selectedList.push(data[i].id); } + console.log(this.selectedList); }, //标准表格选择框改变 selectStandChange(data) { @@ -911,34 +987,45 @@ export default { this.selectList.push(data[i].id); } }, - selectThree() { + //添加标准select的改变 + selectThree(data) { + this.standList = data; }, - choiceZRR (type, title, id) { - this.nodeList = [] - this.nodeList.push(id) - this.type = type - this.drawerTitle = title - this.modalshowflag = true + choiceZRR(type, title, id) { + this.nodeList = []; + this.nodeList.push(id); + this.type = type; + this.drawerTitle = title; + this.modalshowflag = true; }, - getTree () { - // this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> { - // this.treeData = res.data - // }) + getTree() { + this.$http.get("SarInstitution/institution/institutionAndUser", {}, {}, res => { + this.treeData = res.data; + }); }, pageChange(page) { this.page = page; - this.searchData(); + this.selectionList(); }, pageSizeChange(pageSize) { this.pageSize = this.$store.getters.userInfo.configContent; - this.searchData(); - } + this.selectionList(); + }, + pageChangeNo(page){ + this.page = page + this.addList() + }, + pageSizeChangeNo(pageSize){ + this.pageSizeNo = this.$store.getters.userInfo.configContent; + this.addList() + + }, }, computed: {}, mounted() { - this.selectionList() + this.selectionList(); this.selectSign(); - this.getTree() + this.getTree(); for (let i = 0; i < this.dataList.length; i++) { this.standMap.set(this.dataList[i].id, this.dataList[i]); } diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step2.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step2.vue index 1ed5b4e83..f6de56f6f 100644 --- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step2.vue @@ -53,11 +53,16 @@ clearable > - + + + @@ -352,7 +357,6 @@ export default { */ getFormFieldList (item) { this.$nextTick(() => { - console.log(item); this.listForm = JSON.parse(JSON.stringify(item)) this.listForm.prcNum = this.prcNum this.listForm.prcName = this.prcName diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step3.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step3.vue index 819a98232..f98995dff 100644 --- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step3.vue @@ -51,9 +51,9 @@ clearable > - + @@ -215,62 +215,75 @@ size="900px" custom-class="demo-drawer" > - +
+
+ - - - - - - - - - - - - - - - - - - - + @selection-change="selectThree" + > + + + + + + + + + + + + + + + + +
+ +
+
+ { this.standardData = res.data.list; + this.totalNo = res.data.pageCount }, e => { }); this.standModel = true; }, + //添加标准select的改变 + selectThree(data) { + this.standList = data; + }, + //添加标准取消事件 + cancelStand() { + this.standModel = false; + }, + //添加标准确定事件 + okStand() { + let _this = this; + if (this.standList.length < 1) { + _this.$message.warning("请选择需要添加进清单的数据"); + } else { + _this.standList.map(item => { + let newStand = false; + for (let itemKey of _this.dataList) { + if (item.id == itemKey.id) { + newStand = true; + break; + } + } + if (newStand) { + _this.$message.warning("请勿重复添加数据"); + } else { + _this.dataList.push(item); + } + }); + this.standardData = [] + _this.standModel = false; + } + }, // 点击批量删除事件 deleteList() { if (this.selectList.length < 1) { @@ -407,18 +457,18 @@ export default { }, // 删除上传的文件 delFileInfo (file, fileList) { - // this.fileInfoList = fileList + this.fileInfoList = fileList }, // 上传文件成功回调 uploadBackSuccess (res, file, fileList) { - // if (res.ok) { - // this.fileInfoList = fileList - // this.fileInfoList[this.fileInfoList.length - 1].id = res.data.id - // this.$message.success('上传成功') - // } else { - // this.$message.error(res.message) - // fileList.pop() - // } + if (res.ok) { + this.fileInfoList = fileList + this.fileInfoList[this.fileInfoList.length - 1].id = res.data.id + this.$message.success('上传成功') + } else { + this.$message.error(res.message) + fileList.pop() + } }, //上传之前的钩子 beforeUpload () { @@ -492,9 +542,6 @@ export default { for (let i = 0; i < data.length; i++) { this.selectList.push(data[i].id); } - }, - selectThree() { - }, pageChange(page) { this.page = page; @@ -503,7 +550,16 @@ export default { pageSizeChange(pageSize) { this.pageSize = this.$store.getters.userInfo.configContent; this.searchData(); - } + }, + pageChangeNo(page){ + this.page = page + this.addList() + }, + pageSizeChangeNo(pageSize){ + this.pageSizeNo = this.$store.getters.userInfo.configContent; + this.addList() + + }, }, computed: { listNoDataText () { diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step4.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step4.vue index c8d40e32f..559444354 100644 --- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step4.vue @@ -53,11 +53,17 @@ clearable > - + + + diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue index 1f8c0c162..6007a1d32 100644 --- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue @@ -198,7 +198,7 @@ height="100%" :header-cell-style="{background: '#f5f1f1', color: '#333333', fontSize: '16px', fontWeight: 'bold', height: '48px'}" - @selection-change="selectThree" + @selection-change="selectedChange" > @@ -316,6 +316,9 @@ export default { ProcessFooter, ProcessTitle }, + mounted () { + this.getTree() + }, methods: { //点击新增事件 addList() { @@ -367,27 +370,15 @@ export default { //未符合项整合确定事件 OkDrawer() { if (this.selectedList.length !== 0) { - let deposit = new Map(); - this.unqualidiedData.forEach(item => { - deposit.set(item.id, item); - }); - let bringData = []; - for (let i = 0; i < this.selectedList.length; i++) { - bringData.push(deposit.get(this.selectedList[i])); - } - this.dataList.standId = bringData[0].standId - this.dataList.productName = bringData[0].productName; - this.dataList.itemsNum = bringData[0].itemsNum; - this.dataList.itemsName = bringData[0].itemsName; - this.dataList.planCloseTime = bringData[0].planCloseTime; - this.dataList.responsibleUnit = bringData[0].responsibleUnit; - this.dataList.dutyEngineer = bringData[0].dutyEngineer; + this.dataList = this.selectedList this.ListModel = false; } else { this.$message.warning("请选择至少一条数据进行带入"); } }, - selectThree() {}, + selectedChange(val) { + this.selectedList = val + }, handleTabs(name) { this.active = name }, diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step2.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step2.vue index c0fef385a..2b5fcdb56 100644 --- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step2.vue @@ -6,7 +6,6 @@
基础信息
-
流程信息
@@ -16,18 +15,20 @@ - - + + + @click="getTableByPage"> 查询 @@ -80,7 +82,6 @@ class="common-button-default" size="small" type="primary" - v-btn-permission="'5905d0743c3504799aee83ac9697f8c5'" @click="dutyEngineerList"> 批量分发负责人 @@ -88,7 +89,8 @@ - + @@ -126,74 +133,6 @@
-
-
- - - - - -

流程发起人

-
- - -
-
-
-
- - - -

标准法规工程师

-
- - - -
-
-
-
- - - -

分发责任人

-
- - -
-
-
-
- - - -

负责人

-
- - -
-
-
-
- - - -

分发责任人

-
- - -
-
-
-
-
-
-
-
{ - this.myLoading.loadData = false - this.nonList = res.data.records - this.total = res.data.total - }, e => { - this.myLoading.loadData = false - }) + getData() { + this.dataList = [ + { + standId: '1', + productName: '1', + itemsNum: '1', + itemsName: '1', + planCloseTime: '1', + responsibleUnit: '1', + dutyEngineer: '1', + dutyPeople: '', + },{ + standId: '332', + productName: '333', + itemsNum: '33', + itemsName: '33', + planCloseTime: '33', + responsibleUnit: '33', + dutyEngineer: '33', + dutyPeople: '' + },{ + standId: '312`', + productName: '31312', + itemsNum: '31`2', + itemsName: '312`1`', + planCloseTime: '321`3`2', + responsibleUnit: '312`123`', + dutyEngineer: '312123', + dutyPeople: '121' + },{ + standId: '32123', + productName: '32132', + itemsNum: '312321', + itemsName: '3123', + planCloseTime: '3123', + responsibleUnit: '3123', + dutyEngineer: '3123', + dutyPeople: '' + }, + ] }, // 批量选择分发责任人 @@ -357,32 +278,23 @@ export default { if (this.multipleSelection.length === 0) { this.$message.warning("请选择至少一条数据进行分发责任人"); } else { - this.multipleSelection.forEach((val, index)=> { - val.show = true - this.$set(val, index) + this.multipleSelection.map((i, index)=> { + i.show = true + this.$set(this.dataList, i, index) }) - // this.modalshowflag = true - // this.$set(this.dataList.duty) } }, // 选择勾选项的集合 - handleSelectionChange(val) { - this.multipleSelection = val; - console.log(this.multipleSelection) + handleSelectionChange(value) { + this.multipleSelection = value + console.log(value) }, // 选择分发责任人时 - choiceDuty() { - for (let i = 0; i < this.multipleSelection.length; i++ ) { - if (this.multipleSelection[i].duty !== '') { - console.log(i) - for (let b = 0; b < this.multipleSelection.length; b++) { - this.multipleSelection[b].duty = this.multipleSelection[i].duty - this.multipleSelection.forEach(val=> { - val.show = false - }) - } - } - } + choiceDuty(type, title, id) { + this.nodeList = [] + this.nodeList.push(id) + this.drawerTitle = title + this.modalshowflag = true }, selectPeople(row) { this.modalshowflag = true @@ -402,14 +314,6 @@ export default { this.treeData = res.data }) }, - // 流程阶段负责人选择 - choiceZRR (type, title, id) { - this.nodeList = [] - this.nodeList.push(id) - this.type = type - this.drawerTitle = title - this.modalshowflag = true - }, drawerCheck (data) { var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes()); if(getlist.length == 1) { @@ -421,18 +325,17 @@ export default { }, // 流程节点负责人抽屉保存按钮 saveUserInfo () { - if (this.type === 'dockUser') { - this.roleForm.dockUser = this.roleRow.id - this.roleForm.dockUserName = this.roleRow.name - } else if (this.type === 'ministerUser') { - this.roleForm.ministerUser = this.roleRow.id - this.roleForm.ministerUserName = this.roleRow.name - } else if (this.type === 'directorUser') { - this.roleForm.directorUser = this.roleRow.id - this.roleForm.directorUserName = this.roleRow.name - } else if (this.type === 'presidentUser') { - this.roleForm.presidentUser = this.roleRow.id - this.roleForm.presidentUserName = this.roleRow.name + // 选取负责人时的操作 + for (let i = 0; i < this.multipleSelection.length; i++ ) { + this.multipleSelection[i].dutyPeople = this.roleRow.name + for (let b = 0; b < this.multipleSelection.length; b++) { + this.multipleSelection[b].dutyPeople = this.multipleSelection[i].dutyPeople + this.dataList.forEach(val=> { + val.show = false + }) + } + this.multipleSelection = [] + this.$refs.multipleTable.clearSelection(); } this.modalshowflag = false }, @@ -440,8 +343,9 @@ export default { cancleUserInfo () { this.modalshowflag = false }, - //未整改项抽屉中的查询按钮 + //查询按钮 getTableByPage() { + this.getData() }, // 清空 查询条件 clearAllSearch (search = true) { @@ -505,19 +409,6 @@ export default { justify-content: space-between; height: calc(~'100% - 103px'); overflow: auto; - .tableTitle { - margin-bottom: 10px; - height: 30px; - line-height: 30px; - position: relative; - font-size: 13px; - font-weight: bold; - .tableButton { - position: absolute; - right: 0; - top: 0; - } - } } } diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step3.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step3.vue index ea7b9bd79..2f2b95286 100644 --- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step3.vue @@ -6,7 +6,6 @@
基础信息
-
流程信息
@@ -15,16 +14,20 @@ - + - + @@ -35,6 +38,7 @@ :value="false" > - @@ -89,9 +92,21 @@ - + @@ -111,74 +126,6 @@
-
-
- - - - - -

流程发起人

-
- - -
-
-
-
- - - -

标准法规工程师

-
- - - -
-
-
-
- - - -

分发责任人

-
- - -
-
-
-
- - - -

负责人

-
- - -
-
-
-
- - - -

分发责任人

-
- - -
-
-
-
-
-
-
-
{ - this.myLoading.loadData = false - this.nonList = res.data.records - this.total = res.data.total - }, e => { - this.myLoading.loadData = false - }) - }, - - selectPeople(row) { + // 选择责任人的按钮操作 + selectPeople(val) { + this.newDataList = val + this.nodeList = [] this.modalshowflag = true }, handleTabs(name) { @@ -331,14 +250,6 @@ export default { this.treeData = res.data }) }, - // 流程阶段负责人选择 - choiceZRR (type, title, id) { - this.nodeList = [] - this.nodeList.push(id) - this.type = type - this.drawerTitle = title - this.modalshowflag = true - }, drawerCheck (data) { var getlist = this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes()); if(getlist.length == 1) { @@ -350,26 +261,15 @@ export default { }, // 流程节点负责人抽屉保存按钮 saveUserInfo () { - if (this.type === 'dockUser') { - this.roleForm.dockUser = this.roleRow.id - this.roleForm.dockUserName = this.roleRow.name - } else if (this.type === 'ministerUser') { - this.roleForm.ministerUser = this.roleRow.id - this.roleForm.ministerUserName = this.roleRow.name - } else if (this.type === 'directorUser') { - this.roleForm.directorUser = this.roleRow.id - this.roleForm.directorUserName = this.roleRow.name - } else if (this.type === 'presidentUser') { - this.roleForm.presidentUser = this.roleRow.id - this.roleForm.presidentUserName = this.roleRow.name - } + // 选择责任人时input框内值 + this.newDataList.dutyPeople = this.roleRow.name this.modalshowflag = false }, // 流程节点负责人抽屉取消按钮 cancleUserInfo () { this.modalshowflag = false }, - //未整改项抽屉中的查询按钮 + //查询按钮 getTableByPage() { }, // 清空 查询条件 @@ -434,19 +334,6 @@ export default { justify-content: space-between; height: calc(~'100% - 103px'); overflow: auto; - .tableTitle { - margin-bottom: 10px; - height: 30px; - line-height: 30px; - position: relative; - font-size: 13px; - font-weight: bold; - .tableButton { - position: absolute; - right: 0; - top: 0; - } - } } } diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step4.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step4.vue index c95f7e89c..8641d0257 100644 --- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step4.vue @@ -6,7 +6,6 @@
基础信息
-
流程信息
@@ -15,16 +14,20 @@ - + - + @@ -35,6 +38,7 @@ :value="false" > - + @@ -112,74 +132,6 @@
-
-
- - - - - -

流程发起人

-
- - -
-
-
-
- - - -

标准法规工程师

-
- - - -
-
-
-
- - - -

分发责任人

-
- - -
-
-
-
- - - -

负责人

-
- - -
-
-
-
- - - -

分发责任人

-
- - -
-
-
-
-
-
-
-
- - - - -
@@ -247,7 +173,8 @@ export default { itemsName: '1', planCloseTime: '1', responsibleUnit: '1', - dutyEngineer: '1' + dutyEngineer: '1', + dutyPeople: '13123' },{ standId: '', productName: '', @@ -255,38 +182,19 @@ export default { itemsName: '', planCloseTime: '', responsibleUnit: '', - dutyEngineer: '' + dutyEngineer: '', + dutyPeople: '13123' }], // 当前页数 pageNo: 1, total: 0, myLoading: false, + // 上传路径 + uploadPath: 'api/att/attFile/upload', + // 上传文件所储存的数组 + uploadFileList: [], // 责任部门 zNodesSItem: [], - unqualidiedData: [{ - standId: '', - productName: '', - itemsNum: '', - itemsName: '', - planCloseTime: '', - responsibleUnit: '', - dutyEngineer: '' - }], - selectedList: [], //未整改项的选择框 - roleForm: { - startUserName: this.$store.getters.userInfo.userName, - startUser: this.$store.getters.userInfo.userId, - }, - roleFormRules: { - }, - nodeList: [], - drawerTitle: '', //drawer标题 - modalshowflag: false, // drawer开关 - treeData: [], // 人员数据 - defaultProps: { - children: 'children', - label: 'name' - }, } }, components: { @@ -297,78 +205,36 @@ export default { created() { }, methods: { - getList() { - this.myLoading.loadData = true - this.$http.get('sarStandUnqualified/sar-stand-unqualified', { - ...this.nonConformitySearch, - current: this.pageNo, - size: this.$store.getters.userInfo.configContent - }, { - _this: this - }, res => { - this.myLoading.loadData = false - this.nonList = res.data.records - this.total = res.data.total - }, e => { - this.myLoading.loadData = false - }) - }, - uploadText(row) { - }, + handleTabs(name) { this.active = name }, - + /************ 上传佐证材料 *****************/ + // 上传材料 + handleUpload() {}, + // 文件上传成功 + handleOnsuccess(res, file) { + this.$message.success('上传成功!') + console.log(file) + }, + // 文件上传失败后回调 + handleOnError(res, file) {}, + // 文件上传限制条件 + handleBeforeUpload() {}, + // 移除上传的文件 + handleBeforeRemove() {}, + handleOnRemove() {}, + // 文件超过限制数量提示 + handleExceed() { + this.$message.error(``) + }, + /************ ********* *****************/ // 保存按钮 handleSave() {}, // 提交按钮 handleSubmit() {}, - // 获取流程节点数据 - getTree () { - this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> { - this.treeData = res.data - }) - }, - // 流程阶段负责人选择 - choiceZRR (type, title, id) { - this.nodeList = [] - this.nodeList.push(id) - this.type = type - this.drawerTitle = title - this.modalshowflag = true - }, - drawerCheck (data) { - 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] - } - }, - // 流程节点负责人抽屉保存按钮 - saveUserInfo () { - if (this.type === 'dockUser') { - this.roleForm.dockUser = this.roleRow.id - this.roleForm.dockUserName = this.roleRow.name - } else if (this.type === 'ministerUser') { - this.roleForm.ministerUser = this.roleRow.id - this.roleForm.ministerUserName = this.roleRow.name - } else if (this.type === 'directorUser') { - this.roleForm.directorUser = this.roleRow.id - this.roleForm.directorUserName = this.roleRow.name - } else if (this.type === 'presidentUser') { - this.roleForm.presidentUser = this.roleRow.id - this.roleForm.presidentUserName = this.roleRow.name - } - this.modalshowflag = false - }, - // 流程节点负责人抽屉取消按钮 - cancleUserInfo () { - this.modalshowflag = false - }, //未整改项抽屉中的查询按钮 getTableByPage() { }, @@ -434,19 +300,6 @@ export default { justify-content: space-between; height: calc(~'100% - 103px'); overflow: auto; - .tableTitle { - margin-bottom: 10px; - height: 30px; - line-height: 30px; - position: relative; - font-size: 13px; - font-weight: bold; - .tableButton { - position: absolute; - right: 0; - top: 0; - } - } } } diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step5.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step5.vue index 6b4411df1..c157cb998 100644 --- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step5.vue @@ -6,7 +6,6 @@
基础信息
-
流程信息
@@ -15,16 +14,20 @@ - + - + @@ -35,6 +38,7 @@ :value="false" >
-
-
- - - - - -

流程发起人

-
- - -
-
-
-
- - - -

标准法规工程师

-
- - - -
-
-
-
- - - -

分发责任人

-
- - -
-
-
-
- - - -

负责人

-
- - -
-
-
-
- - - -

分发责任人

-
- - -
-
-
-
-
-
-
-
- - - - -
@@ -259,34 +169,9 @@ export default { myLoading: false, // 责任部门 zNodesSItem: [], - unqualidiedData: [{ - standId: '', - productName: '', - itemsNum: '', - itemsName: '', - planCloseTime: '', - responsibleUnit: '', - dutyEngineer: '' - }], - selectedList: [], //未整改项的选择框 - roleForm: { - startUserName: this.$store.getters.userInfo.userName, - startUser: this.$store.getters.userInfo.userId, - }, - roleFormRules: { - }, // 驳回弹窗状态 backDialog: false, - - nodeList: [], - drawerTitle: '', //drawer标题 - modalshowflag: false, // drawer开关 - treeData: [], // 人员数据 - defaultProps: { - children: 'children', - label: 'name' - }, } }, components: { @@ -297,80 +182,13 @@ export default { created() { }, methods: { - getList() { - this.myLoading.loadData = true - this.$http.get('sarStandUnqualified/sar-stand-unqualified', { - ...this.nonConformitySearch, - current: this.pageNo, - size: this.$store.getters.userInfo.configContent - }, { - _this: this - }, res => { - this.myLoading.loadData = false - this.nonList = res.data.records - this.total = res.data.total - }, e => { - this.myLoading.loadData = false - }) - }, - // 批准俺妞妞操作 - handleBack() { - this.backDialog = true - }, - handleSuccess() {}, + handleTabs(name) { this.active = name }, - // 保存按钮 - handleSave() {}, // 提交按钮 handleSubmit() {}, - - // 获取流程节点数据 - getTree () { - this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> { - this.treeData = res.data - }) - }, - // 流程阶段负责人选择 - choiceZRR (type, title, id) { - this.nodeList = [] - this.nodeList.push(id) - this.type = type - this.drawerTitle = title - this.modalshowflag = true - }, - drawerCheck (data) { - 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] - } - }, - // 流程节点负责人抽屉保存按钮 - saveUserInfo () { - if (this.type === 'dockUser') { - this.roleForm.dockUser = this.roleRow.id - this.roleForm.dockUserName = this.roleRow.name - } else if (this.type === 'ministerUser') { - this.roleForm.ministerUser = this.roleRow.id - this.roleForm.ministerUserName = this.roleRow.name - } else if (this.type === 'directorUser') { - this.roleForm.directorUser = this.roleRow.id - this.roleForm.directorUserName = this.roleRow.name - } else if (this.type === 'presidentUser') { - this.roleForm.presidentUser = this.roleRow.id - this.roleForm.presidentUserName = this.roleRow.name - } - this.modalshowflag = false - }, - // 流程节点负责人抽屉取消按钮 - cancleUserInfo () { - this.modalshowflag = false - }, //未整改项抽屉中的查询按钮 getTableByPage() { }, @@ -436,19 +254,6 @@ export default { justify-content: space-between; height: calc(~'100% - 103px'); overflow: auto; - .tableTitle { - margin-bottom: 10px; - height: 30px; - line-height: 30px; - position: relative; - font-size: 13px; - font-weight: bold; - .tableButton { - position: absolute; - right: 0; - top: 0; - } - } } } diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue new file mode 100644 index 000000000..0bdf9b2ad --- /dev/null +++ b/src/pages/processCenter/pages/creatProcess/xmpg/step1.vue @@ -0,0 +1,708 @@ + + + + + + + diff --git a/src/pages/processCenter/pages/creatProcess/zqyj/step1.vue b/src/pages/processCenter/pages/creatProcess/zqyj/step1.vue deleted file mode 100644 index 041e1ceb1..000000000 --- a/src/pages/processCenter/pages/creatProcess/zqyj/step1.vue +++ /dev/null @@ -1,225 +0,0 @@ - - - - - - diff --git a/src/pages/processCenter/pages/newProcess/index.vue b/src/pages/processCenter/pages/newProcess/index.vue index 7d46e0a5d..b8dc2838e 100644 --- a/src/pages/processCenter/pages/newProcess/index.vue +++ b/src/pages/processCenter/pages/newProcess/index.vue @@ -10,7 +10,8 @@
标准需求(翻译)申请流程
标准发放申请流程
标准清单发布/更新流程
-
未符合项整改流程
+
项目合规评估流程
+
未符合项整改流程
@@ -85,13 +86,17 @@ export default { }) break case '7': + //项目评估流程 + this.$router.push({ + name: 'xmpgStep1' + }) + break + case '8': //未符合项整改流程 this.$router.push({ name:'wfhxzgStep1' }) break - case '8': - break case '9': break case '10': diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue index c3ca39306..e839c14a9 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue @@ -315,6 +315,7 @@ >删除
+