diff --git a/src/api/login/index.js b/src/api/login/index.js new file mode 100644 index 000000000..3e37d9721 --- /dev/null +++ b/src/api/login/index.js @@ -0,0 +1,11 @@ +import axios from '@/common/axiosV2' + +// 流程发起 +export function checkPage(params) { + return axios({ + url: '/api/checkPage', + method: 'get', + params + }) +} + diff --git a/src/components/navMenu/index.vue b/src/components/navMenu/index.vue index 7be6eb11c..b6579017b 100644 --- a/src/components/navMenu/index.vue +++ b/src/components/navMenu/index.vue @@ -161,11 +161,11 @@ // path: '/dataStatisComments', // menuId: '' // }, - { - title: '国内外政策', - path: '/foreignRegulationsDatabase', - menuId: 'ef02a3b0af9a4b3ede460456a9591ebc' - }, + // { + // title: '国内外政策', + // path: '/foreignRegulationsDatabase', + // menuId: 'ef02a3b0af9a4b3ede460456a9591ebc' + // }, // // // { // // // title: '标准制修订管理', // // // path: '/demo2One' @@ -208,6 +208,34 @@ // } ] }, + { + title: '政策法规库', + path: '/policyRegulation', + 'icon-class': 'el-icon-s-management', + menuId: 'asdzcfgk', + children: [ + { + title: '问题项管控', + path: '/problemControl', + menuId: '50d7a0c0af4740c486100c257ae6068e' + }, + { + title: '国内外政策', + path: '/nationalPolicy', + menuId: '6557e9c4ce672af71be5807052da126b' + }, + { + title: '标准跟踪清单', + path: '/standardTrackingList', + menuId: 'a26b92e156f68dbfe0d73b0dc068ebe4' + }, + { + title: '政策工作组', + path: '/policyWorkGroup', + menuId: 'f1a4b33a498e58a8a87c954ce5ce6ad6' + } + ] + }, { title: '工作中心', path: '/processCenter', diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index e6dd6ee42..b785040db 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -258,7 +258,7 @@ -

+

@@ -4371,7 +4371,7 @@ export default { .basic-information-content { & > p { - min-height: 42px; + min-height: 43px; line-height: 43px; border-bottom: 1px solid #E5E5E5; } diff --git a/src/pages/localTool/standAutoSplit/pages/itemSplitInfo.vue b/src/pages/localTool/standAutoSplit/pages/itemSplitInfo.vue index b940e3705..96974ace8 100644 --- a/src/pages/localTool/standAutoSplit/pages/itemSplitInfo.vue +++ b/src/pages/localTool/standAutoSplit/pages/itemSplitInfo.vue @@ -1508,8 +1508,8 @@ export default { }, res => { if (res.data) { this.batchDeleteItem() - } else if(this.selectedList != null && this.selectedList.length > 20){ - this.$message.warning('单次最多删除20个条款') + } else if(this.selectedList != null){ + this.$message.warning('请选择要删除的数据') } else { this.deleteItemsModal = true } diff --git a/src/pages/login/checkPage.vue b/src/pages/login/checkPage.vue new file mode 100644 index 000000000..344b231c9 --- /dev/null +++ b/src/pages/login/checkPage.vue @@ -0,0 +1,137 @@ + + + + + diff --git a/src/pages/login/index.vue b/src/pages/login/index.vue index 75c737f81..062f1ac58 100644 --- a/src/pages/login/index.vue +++ b/src/pages/login/index.vue @@ -148,53 +148,53 @@ }) }, loginNew (res) { - if (res.data.orgId === null || res.data.orgId === '') { - this.$message.warning('未分配组织机构,请联系管理员分配后重新登录') - return + if (res.data.orgId === null || res.data.orgId === '') { + this.$message.warning('未分配组织机构,请联系管理员分配后重新登录') + return + } + let Base64 = require('js-base64').Base64 + let userInfoStr = Base64.decode(res.data) + let userInfo2 = decodeURIComponent(userInfoStr) + let userInfoObj = JSON.parse(userInfo2) + userInfoObj.userId = userInfoObj.usid + window.sessionStorage.setItem('userInfoObj', userInfoObj); // del + this.setToken(userInfoObj.token) // vuex存储token + let userInfo = {} + for (let key in userInfoObj) { + if (key !== 'uname') { + userInfo[key] = userInfoObj[key] + } else { + userInfo.uName = userInfoObj[key] + } + } + this.setUserInfo(JSON.stringify((userInfo))) + // this.resetTime() + // 获取用户菜单 + window.sessionStorage.setItem('userInfo', userInfo); // del + this.getMenu().then((menuList) => { + let hasHomeMenu = false + menuList.map((menuItem) => { + if (menuItem.id === 'asdfadf') { + hasHomeMenu = true } - let Base64 = require('js-base64').Base64 - let userInfoStr = Base64.decode(res.data) - let userInfo2 = decodeURIComponent(userInfoStr) - let userInfoObj = JSON.parse(userInfo2) - userInfoObj.userId = userInfoObj.usid - window.sessionStorage.setItem('userInfoObj', userInfoObj); // del - this.setToken(userInfoObj.token) // vuex存储token - let userInfo = {} - for (let key in userInfoObj) { - if (key !== 'uname') { - userInfo[key] = userInfoObj[key] - } else { - userInfo.uName = userInfoObj[key] - } - } - this.setUserInfo(JSON.stringify((userInfo))) - // this.resetTime() - // 获取用户菜单 - window.sessionStorage.setItem('userInfo', userInfo); // del - this.getMenu().then((menuList) => { - let hasHomeMenu = false - menuList.map((menuItem) => { - if (menuItem.id === 'asdfadf') { - hasHomeMenu = true - } - }) - window.sessionStorage.setItem('hasHomeMenu', hasHomeMenu); // del - window.sessionStorage.setItem('menuList', menuList); // del - if (hasHomeMenu) { - this.setMenu(JSON.stringify(menuList)).then(res => { - if (this.showIETips) {//判断是否IE浏览器 - alert('为了最佳显示效果 请使用google chrome') - } - this.$router.push('/home2') - }, e => { - this.$message.warning('未获取到菜单') - }) - } else { - alert('无系统权限') - // window.location.href = 'http://testsso1.foton.com.cn/oauth2.0/authorize?client_id=app_slrs&redirect_uri=http://127.0.0.1:9090&response_type=code'; - } + }) + window.sessionStorage.setItem('hasHomeMenu', hasHomeMenu); // del + window.sessionStorage.setItem('menuList', menuList); // del + if (hasHomeMenu) { + this.setMenu(JSON.stringify(menuList)).then(res => { + if (this.showIETips) {//判断是否IE浏览器 + alert('为了最佳显示效果 请使用google chrome') + } + this.$router.push('/home2') + }, e => { + this.$message.warning('未获取到菜单') }) - }, + } else { + alert('无系统权限') + // window.location.href = 'http://testsso1.foton.com.cn/oauth2.0/authorize?client_id=app_slrs&redirect_uri=http://127.0.0.1:9090&response_type=code'; + } + }) + }, ...mapMutations(['setToken', 'setUserInfo', 'resetTime', 'rememberPwd', 'setJESSCookie']), ...mapActions(['setMenu']) }, diff --git a/src/pages/policyRegulation/index.vue b/src/pages/policyRegulation/index.vue new file mode 100644 index 000000000..c75eca2c9 --- /dev/null +++ b/src/pages/policyRegulation/index.vue @@ -0,0 +1,23 @@ + + + + + diff --git a/src/pages/policyRegulation/nationalPolicy/index.vue b/src/pages/policyRegulation/nationalPolicy/index.vue new file mode 100644 index 000000000..e6fc85096 --- /dev/null +++ b/src/pages/policyRegulation/nationalPolicy/index.vue @@ -0,0 +1,27 @@ + + + + + diff --git a/src/pages/policyRegulation/policyWorkGroup/index.vue b/src/pages/policyRegulation/policyWorkGroup/index.vue new file mode 100644 index 000000000..2dd70eb39 --- /dev/null +++ b/src/pages/policyRegulation/policyWorkGroup/index.vue @@ -0,0 +1,74 @@ + + + + diff --git a/src/pages/policyRegulation/problemControl/index.vue b/src/pages/policyRegulation/problemControl/index.vue new file mode 100644 index 000000000..2d0ce2e2c --- /dev/null +++ b/src/pages/policyRegulation/problemControl/index.vue @@ -0,0 +1,100 @@ + + + + diff --git a/src/pages/policyRegulation/standardTrackingList/index.vue b/src/pages/policyRegulation/standardTrackingList/index.vue new file mode 100644 index 000000000..12b8507a8 --- /dev/null +++ b/src/pages/policyRegulation/standardTrackingList/index.vue @@ -0,0 +1,27 @@ + + + + + diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step1-1.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step1-1.vue index ede994365..90225c661 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step1-1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step1-1.vue @@ -661,13 +661,14 @@ export default { bpnId: this.$route.query.bpnId }).then(res => { let mes = JSON.parse(res.mes) + console.log(mes); this.bpnId = this.$route.query.bpnId if (mes.form.endTime) { mes.form.endTime = new Date(this.$moment(mes.form.endTime).format('YYYY-MM-DD')) } else { mes.form.endTime = '' } - this.addFjList = mes.filesId + this.addFjList = mes.filesId || mes.form.filesId || '' this.form.fjListName = mes.filesName this.form = mes.form this.roleForm = mes.roleForm @@ -878,6 +879,7 @@ export default { handleSave () { this.saveLoading = true let _formData = new FormData() + this.form.filesId = this.addFjList _formData.append('id', this.bpnId || '') _formData.append('createUser', this.$store.getters.userInfo.userId) _formData.append('createUserName', this.$store.getters.userInfo.userName) diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step1-9.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step1-9.vue index 0b87159c2..a80b09eba 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step1-9.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step1-9.vue @@ -169,19 +169,6 @@ - - -

- - -
- -
{ let data = JSON.parse(res.mesg) + this.onlyKey = data.form ? data.form.onlyKey : data.onlyKey this.commentText2 = data.commentText2 || '' this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue index fe5399ae3..51c43b171 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue @@ -349,6 +349,7 @@ export default { data() { return { standId: '', + onlyKey: '', modaltitle2: '', addType: '', commentText4: '', @@ -623,6 +624,7 @@ export default { let _formData = new FormData(); let json = this.json json.info = this.data + json.onlyKey = this.onlyKey json.spId = this.form.spId json.spName = this.form.spName _formData.append("id", this.bpnId || ""); @@ -630,8 +632,9 @@ export default { _formData.append("taskIds", this.taskIds); _formData.append("json", JSON.stringify({ form: json, - commentText: this.commentText4 + commentText4: this.commentText4 })); + console.log(json); saveTaskForPub(_formData).then(res => { this.saveLoading = false; this.$message.success("保存成功"); @@ -649,6 +652,7 @@ export default { json.commentText = this.commentText4 json.spId = this.form.spId json.info = this.data + json.onlyKey = this.onlyKey json.spName = this.form.spName this.$http.post('lawss/activiti/completeTask', { json: JSON.stringify(json), @@ -702,7 +706,12 @@ export default { this.acceptShow = false this.submitShow = true } - this.commentText4 = data.commentText || data.commentText4 || '' + this.commentText4 = data.commentText4 || '' + if(data.onlyKey){ + this.onlyKey = data.onlyKey + }else{ + this.onlyKey = data.form.onlyKey + } this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName this.form.fjList = data.fjList || data.form.fjList diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue index a9f199be1..97f4abc32 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue @@ -351,6 +351,7 @@ return { clickFlag: false, commentText5: '', + onlyKey: '', options: [], itemId: '', modalshowflag2: false, @@ -557,6 +558,7 @@ let _formData = new FormData(); let json = this.form; json.data = this.data; + json.onlyKey = this.onlyKey _formData.append("id", this.bpnId || ""); _formData.append("prcType", "3"); _formData.append("taskIds", this.taskIds); @@ -593,6 +595,7 @@ this.isSubmit = true; var json = this.json; json.oldinfo = this.oldData; + json.onlyKey = this.onlyKey json.commentText = this.commentText5; json.introduce = true; this.$http.post("lawss/activiti/completeTask", { @@ -617,8 +620,8 @@ pId: this.pId }).then(res => { let data = JSON.parse(res.mesg); - console.log(data); this.commentText5 = data.commentText5 || '' + this.onlyKey = data.form ? data.form.onlyKey :data.onlyKey this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName this.form.fjList = data.form ? data.form.fjList : (data.fjList ? data.fjList : [] ) diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step5-1.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step5-1.vue index 67b82b874..f091246e6 100644 --- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step5-1.vue +++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step5-1.vue @@ -16,7 +16,7 @@ @@ -394,7 +394,7 @@ export default { display: flex; flex-direction: column; justify-content: space-between; - height: calc(~'100% - 103px'); + height: calc(~'100% - 53px'); overflow: auto; } } diff --git a/src/pages/processCenter/pages/phone/bzrk/step2.vue b/src/pages/processCenter/pages/phone/bzrk/step2.vue index c6c3e831e..29d878e6f 100644 --- a/src/pages/processCenter/pages/phone/bzrk/step2.vue +++ b/src/pages/processCenter/pages/phone/bzrk/step2.vue @@ -10,12 +10,12 @@
审批历史
-
+
@@ -27,14 +27,7 @@ 海外标准入库 - - - + - - - - - - - - - - + + + - - - - - - + - - - +
@@ -277,36 +230,12 @@ > - - - - - - - - - - - - - - - - - - + + + + + + @@ -367,18 +296,7 @@ > --> - - {{ form.wssmr }} - - + 关联信息
- - - + @@ -412,34 +323,13 @@
{{ value.name }}
-
+
- -
- - - - - - - - - + + +
@@ -516,6 +406,7 @@ export default { name: "phoneBzrkStep2", data() { return { + textStatusMap: {}, // 文本状态id与name对应 xgdFileMap: [], fbgbjbdFileMap: [], bpgFileMap: [], @@ -701,6 +592,13 @@ export default { TreeSelect }, methods: { + // 将文本状态的id与name对应 + setMap(data){ + data.forEach(item => { + this.$set(this.textStatusMap, item.value, item.label) + }) + + }, checkedRole(data) { this.assigneeNewLoading = true changeAssigneeNew({ @@ -1013,6 +911,7 @@ export default { this.standSortOptions = res.data.STANDCLASSIFY // 标准类别 this.standNatureOptions = res.data.SARPROPERTY // 标准性质 this.standStateOptions = res.data.WBZTCLASS // 文本状态 + this.setMap(this.standStateOptions) this.standSystemOptions = res.data.BZTXCLASS // 标准体系 this.applyArcticOptions = res.data.ENERGYTYPES // 适用车型 this.categoryOptions = res.data.NYLXCLASS // 能源类型 @@ -1041,11 +940,9 @@ export default { /deep/.el-select .el-input .el-select__caret { font-size: 0; } - /deep/.prc-content-border { - width: 600px; - } /deep/ .el-drawer__container { .prc-content-border { + overflow: auto; border: none; padding: 0 20px 0; } diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step2.vue b/src/pages/processCenter/pages/phone/bzzqyj/step2.vue index e04ae7855..e4837618b 100644 --- a/src/pages/processCenter/pages/phone/bzzqyj/step2.vue +++ b/src/pages/processCenter/pages/phone/bzzqyj/step2.vue @@ -253,51 +253,59 @@ this.saveLoading = false; }); }, - handleSubmit() { - this.$refs["bzzqyjForm"].validate((valid) => { - if (valid) { - this.isSubmit = true; - var json = this.json; - json.commentText = this.commentText2; - json.responUserList = this.form.responUserList; - json.responUserListName = this.form.responUserListName; - json.introduce = false; - this.$http.post("lawss/activiti/completeTask", { - json: JSON.stringify(json), - taskId: this.taskIds, - userId: this.$store.getters.userInfo.account - }, {}, res => { - if (res.success) { - this.$message.success("提交成功"); - this.$router.push("/processCenter"); - } - this.isSubmit = false; - }); - } else { - return this.$message.warning("请完善基础信息"); - } + handleSubmit() { + this.$refs["bzzqyjForm"].validate((valid) => { + if (valid) { + this.isSubmit = true; + var json = this.json; + json.onlyKey = this.onlyKey + json.commentText = this.commentText2; + json.responUserList = this.form.responUserList; + json.responUserListName = this.form.responUserListName; + json.presidentUser = this.form.presidentUser + json.presidentUserName = this.form.presidentUserName + json.introduce = false; + this.$http.post("lawss/activiti/completeTask", { + json: JSON.stringify(json), + taskId: this.taskIds, + userId: this.$store.getters.userInfo.account + }, {}, res => { + if (res.success) { + this.$message.success("提交成功"); + this.$router.push("/processCenter"); + } + this.isSubmit = false; }); - }, - getData() { - return new Promise((resolve, reject) => { - inboundLiaisonDetail({ - taskIds: this.taskIds, - pId: this.pId - }).then(res => { - let data = JSON.parse(res.mesg) - this.commentText2 = data.commentText2 || '' - this.form.cid = data.form ? data.form.cid : data.cid - this.form.endTime = data.form ? data.form.endTime : data.endTime - this.form.fjList = data.form ? data.form.fjList : data.fjList - this.form.textType = data.form ? data.form.textType : data.textType - this.form.modelList = data.form ? data.form.modelList : data.modelList - this.form.responUserListName = data.form ? data.form.responUserListName : (data.responUserListName ? data.responUserListName : '') - this.form.responUserList = data.form ? data.form.responUserList : (data.responUserList ? data.responUserList : '') - this.json = data - }).catch(e => { - }); - }); - } + } else { + return this.$message.warning("请完善基础信息"); + } + }); + }, + getData() { + return new Promise((resolve, reject) => { + inboundLiaisonDetail({ + taskIds: this.taskIds, + pId: this.pId + }).then(res => { + let data = JSON.parse(res.mesg) + this.onlyKey = data.form ? data.form.onlyKey : data.onlyKey + this.commentText2 = data.commentText2 || '' + this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser + this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName + this.form.startUserName = data.form ? data.form.startUserName : data.startUserName + this.form.startUser = data.form ? data.form.startUser : data.startUser + this.form.cid = data.form ? data.form.cid : data.cid + this.form.endTime = data.form ? data.form.endTime : data.endTime + this.form.fjList = data.form ? data.form.fjList : data.fjList + this.form.textType = data.form ? data.form.textType : data.textType + this.form.modelList = data.form ? data.form.modelList : data.modelList + this.form.responUserListName = data.form ? data.form.responUserListName : (data.responUserListName ? data.responUserListName : '') + this.form.responUserList = data.form ? data.form.responUserList : (data.responUserList ? data.responUserList : '') + this.json = data + }).catch(e => { + }); + }); + } }, mounted() { this.getHistoryData(); diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step4-1.vue b/src/pages/processCenter/pages/phone/bzzqyj/step4-1.vue index b892b67e9..c749d3a70 100644 --- a/src/pages/processCenter/pages/phone/bzzqyj/step4-1.vue +++ b/src/pages/processCenter/pages/phone/bzzqyj/step4-1.vue @@ -314,34 +314,34 @@ handleTabs(name) { this.active = name }, - handleSubmit() { - this.$refs['bzzqyjForm'].validate((valid) => { - if (valid) { - this.isSubmit = true - var json = this.json - json.commentText = this.commentText41 - json.bzfgId = this.form.bzfgId - json.bzfgName = this.form.bzfgName - json.spFlag = '0' - this.$http.post('lawss/activiti/completeTask', { - json: JSON.stringify(json), - taskId: this.taskIds, - userId: this.$store.getters.userInfo.account - }, {}, res => { - if (res.success) { - this.$message.success('提交成功') - this.$router.push('/processCenter') - } - this.isSubmit = false - }) - } else { - this.$message.warning('请选择标准法规工程师分线管理员') - } + handleSubmit() { + this.$refs['bzzqyjForm'].validate((valid) => { + if (valid) { + this.isSubmit = true + let json = this.json + json.info = this.data + json.commentText = this.commentText41 + json.bzfgId = this.form.bzfgId + json.bzfgName = this.form.bzfgName + json.spFlag = '0' + this.$http.post('lawss/activiti/completeTask', { + json: JSON.stringify(json), + taskId: this.taskIds, + userId: this.$store.getters.userInfo.account + }, {}, res => { + if (res.success) { + this.$message.success('提交成功') + this.$router.push('/processCenter') + } + this.isSubmit = false }) - }, + } else { + this.$message.warning('请选择标准法规工程师分线管理员') + } + }) + }, handleSubmitNo() { if (this.commentText41) { - this.isSubmit = true var json = this.json json.spFlag = '1' json.commentText = this.commentText41 @@ -353,7 +353,6 @@ if (res.success) { this.$message.success('提交成功') this.$router.push('/processCenter') - this.isSubmit = false } }) } else { diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step4-2.vue b/src/pages/processCenter/pages/phone/bzzqyj/step4-2.vue index 02ee8be31..c4712d9a8 100644 --- a/src/pages/processCenter/pages/phone/bzzqyj/step4-2.vue +++ b/src/pages/processCenter/pages/phone/bzzqyj/step4-2.vue @@ -305,70 +305,66 @@ handleTabs(name) { this.active = name }, - handleSubmit() { - this.isSubmit = true - var json = this.json - json.commentText = this.commentText42 - json.bzFlag = '0' - this.$http.post('lawss/activiti/completeTask', { - json: JSON.stringify(json), - taskId: this.taskIds, - userId: this.$store.getters.userInfo.account - }, {}, res => { - if (res.success) { - this.$message.success('提交成功') - this.$router.push('/processCenter') - } - this.isSubmit = false - }) - }, - handleSubmitNo() { - if (this.commentText42) { - var json = this.json - json.bzFlag = '1' - json.commentText = this.commentText42 - this.$http.post('lawss/activiti/completeTask', { - json: JSON.stringify(json), - taskId: this.taskIds, - userId: this.$store.getters.userInfo.account - }, {}, res => { - if (res.success) { - this.$message.success('提交成功') - this.$router.push('/processCenter') - } - }) - } else { - this.$message.warning('请输入反馈意见') + handleSubmit() { + this.isSubmit = true + let json = this.json + json.info = this.data + json.commentText = this.commentText42 + json.bzFlag = '0' + this.$http.post('lawss/activiti/completeTask', { + json: JSON.stringify(json), + taskId: this.taskIds, + userId: this.$store.getters.userInfo.account + }, {}, res => { + if (res.success) { + this.$message.success('提交成功') + this.$router.push('/processCenter') + } + this.isSubmit = false + }) + }, + handleSubmitNo() { + if (this.commentText42) { + var json = this.json + json.bzFlag = '1' + json.commentText = this.commentText42 + this.$http.post('lawss/activiti/completeTask', { + json: JSON.stringify(json), + taskId: this.taskIds, + userId: this.$store.getters.userInfo.account + }, {}, res => { + if (res.success) { + this.$message.success('提交成功') + this.$router.push('/processCenter') } + }) + } else { + this.$message.warning('请输入反馈意见') + } - }, - getData() { - return new Promise((resolve, reject) => { - inboundLiaisonDetail({ - taskIds: this.taskIds, - pId: this.pId - }).then(res => { - let data = JSON.parse(res.mesg) - this.form.fjList = data.fjList || data.form.fjList - if (data.fjListId === '') { - this.form.fjListId = '' - } else { - this.form.fjListId = data.form.fjListId || data.fjListId - } - this.commentText42 = data.commentText42 || '' - this.form.cid = data.cid || data.form.cid - this.form.endTime = data.endTime || data.form.endTime - this.form.cname = data.cname || data.form.cname - this.form.textType = data.textType || data.form.textType - this.form.modelList = data.modelList || data.form.modelList - this.form.modelNameList = data.modelNameList || data.form.modelNameList - this.form.bzfgId = data.bzfgId || '' - this.json = data - this.data = data.info || data.data - }).catch(e => { - }) - }) - }, + }, + getData() { + return new Promise((resolve, reject) => { + inboundLiaisonDetail({ + taskIds: this.taskIds, + pId: this.pId + }).then(res => { + let data = JSON.parse(res.mesg) + this.form.fjList = data.fjList || data.form.fjList + this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser + this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName + this.commentText42 = data.commentText42 || '' + this.form.cid = data.cid || data.form.cid + this.form.endTime = data.endTime || data.form.endTime + this.form.textType = data.textType || data.form.textType + this.form.modelList = data.modelList || data.form.modelList + this.form.bzfgId = data.bzfgId || '' + this.json = data + this.data = data.info || data.data + }).catch(e => { + }) + }) + }, }, mounted() { this.getHistoryData() diff --git a/src/pages/processCenter/pages/phone/wfhxzg/step2.vue b/src/pages/processCenter/pages/phone/wfhxzg/step2.vue index a7ab8056f..63d7f3513 100644 --- a/src/pages/processCenter/pages/phone/wfhxzg/step2.vue +++ b/src/pages/processCenter/pages/phone/wfhxzg/step2.vue @@ -89,6 +89,7 @@ { + if(res.success === true) { + this.$message.success('提交成功') + this.$router.push("/processCenter"); + } + this.isSubmit = false + }).catch(e => { + this.isSubmit = false + }) + } + + }, // 提交按钮 handleSubmit() { this.isSubmit = true diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue index 6071af3b9..21dfae7f8 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/index.vue @@ -8,9 +8,9 @@ - - - + + + diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue index 5f82860d2..30d9299cf 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries.vue @@ -32,7 +32,7 @@ class="common-button-primary" size="small" v-btn-permission="'072efe80c5459dd47fedd2d14f59ff7f'" - @click="searchSarAccess"> + @click="searchSarAccessPage1"> 查询 @@ -263,8 +263,8 @@ export default { searchSarAccess() { this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", { sortKey: 1, - page: 1, - pageSize: 10, + page: this.sarSarAccessEOSearch.page, + pageSize: this.sarSarAccessEOSearch.pageSize, ...this.sarSarAccessEOSearch }, { _this: this @@ -286,7 +286,7 @@ export default { }); this.tableLoading = false; this.sarAccessListDatas = arr; - this.sarSarAccessEOSearch.page = 1; + // this.sarSarAccessEOSearch.page = 1; this.sarAccessListTotal = res.data.total; }, e => { @@ -300,6 +300,10 @@ export default { this.sarSarAccessEOSearch.pageSize = this.$store.getters.userInfo.configContent; this.searchSarAccess(); }, + searchSarAccessPage1() { + this.sarSarAccessEOSearch.page = 1 + this.searchSarAccess(); + }, clearSearch() { this.sarSarAccessEOSearch.countryArea = ""; this.sarSarAccessEOSearch.detailedListName = ""; diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue index 3f6d1ab06..29a2cad08 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue @@ -748,6 +748,7 @@ export default { }, data() { return { + seniorQueryFlag: false, textStatusMap: {}, countryAreaMap: {}, // 编辑抽屉状态 @@ -1036,7 +1037,9 @@ export default { // formData.issueTime = formData.issueTime ? formData.issueTime[1] : null }*/ this.sarAccessInfo = formData + this.sarAccessInfo.page = 1 this.showQueryMore = false + this.seniorQueryFlag = true this.selectLawsStands(1) }, @@ -1100,6 +1103,7 @@ export default { }, // 点数据搜索 查询按钮 事件 searchLawsStands() { + this.seniorQueryFlag = false this.showTableFlag = false this.sarAccessInfo.page = 1 this.selectLawsStands() @@ -1640,12 +1644,21 @@ export default { drawerPageChange(page) { this.drawerPage = page this.sarAccessInfo.page = this.drawerPage - this.selectLawsStands() + if (this.seniorQueryFlag) { + this.selectLawsStands(1) + } else { + this.selectLawsStands() + } + }, // 数据搜索table分页条数改变回调 drawerPageSizeChange() { this.sarAccessInfo.pageSize = this.$store.getters.userInfo.configContent - this.selectLawsStands() + if (this.seniorQueryFlag) { + this.selectLawsStands(1) + } else { + this.selectLawsStands() + } }, // 点击 导出、全部导出按钮事件 exportAccessInfo(type) { diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue index 6d071e387..ed432e8f9 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/details.vue @@ -162,7 +162,6 @@ @@ -170,14 +169,12 @@ diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue index 3f7d46e0b..581bdbf51 100644 --- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue +++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue @@ -801,6 +801,7 @@ export default { orgTableValName: "", // 高级检索 isAdvancedSearch: false, + isAdvancedSearchFlag: false, targetMarketOptions: {}, twoOptions: [ { @@ -1206,7 +1207,7 @@ export default { getLocalProductTableBtn() { this.page = 1 this.projectLibrarySearch.page = 1; - this.isAdvancedSearch = true; + this.isAdvancedSearchFlag = true; this.getLocalProductTable(); }, // 查询本地产品 @@ -1418,7 +1419,7 @@ export default { // 分页点击后方法 pageChange(page) { this.page = page; - if (this.isAdvancedSearch === true) { + if (this.isAdvancedSearchFlag === true) { this.getLocalProductTable() } else { this.getLocalProductTables() @@ -1427,7 +1428,7 @@ export default { // 分页每页显示数改变后方法 pageSizeChange(pageSize) { this.pageSize = pageSize; - if (this.isAdvancedSearch === true) { + if (this.isAdvancedSearchFlag === true) { this.getLocalProductTable() } else { this.getLocalProductTables() diff --git a/src/pages/regulatoryRepository/nonConfomity/index.vue b/src/pages/regulatoryRepository/nonConfomity/index.vue index 9bc0ef834..86fa0ac08 100644 --- a/src/pages/regulatoryRepository/nonConfomity/index.vue +++ b/src/pages/regulatoryRepository/nonConfomity/index.vue @@ -6,9 +6,9 @@ - - - + + +
diff --git a/src/pages/regulatoryRepository/workingGroup/index.vue b/src/pages/regulatoryRepository/workingGroup/index.vue index f3c350c94..e99e5b298 100644 --- a/src/pages/regulatoryRepository/workingGroup/index.vue +++ b/src/pages/regulatoryRepository/workingGroup/index.vue @@ -9,10 +9,10 @@ 标准法规工作组 - - 政策工作组 - - + + + + 工作组统计 diff --git a/src/router/index.js b/src/router/index.js index 0bd717c52..a6fb25b6d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -36,6 +36,17 @@ const routes = [ path: '*', redirect: '/loginVerify' }, + // 单点登录跳转页面 + { + path: '/checkPage', + name: 'CheckPage', + component: resolve => require(['@/pages/login/checkPage.vue'], resolve), + meta: { + requireAuth: true, + isBoolean: true, + title: '跳转' + } + }, // 登录页 { path: '/login', @@ -3531,6 +3542,67 @@ const routes = [ } ] }, + // 政策法规库 + { + path: '/policyRegulation', + name: 'PolicyRegulation', + redirect: () => { + return 'problemControl' + }, + component: () => + import('@/pages/policyRegulation/index'), + meta: { + requireAuth: true, + title: '政策法规库', + menuId: 'asdzcfgk' + }, + children: [ + { + path: '/problemControl', + name: 'ProblemControl', + component: () => + import('@/pages/policyRegulation/problemControl/index'), + meta: { + requireAuth: true, + title: '问题项管控', + menuId: '50d7a0c0af4740c486100c257ae6068e' + } + }, + { + path: '/nationalPolicy', + name: 'NationalPolicy', + component: () => + import('@/pages/policyRegulation/nationalPolicy'), + meta: { + requireAuth: true, + title: '国内外政策', + menuId: '6557e9c4ce672af71be5807052da126b' + } + }, + { + path: '/standardTrackingList', + name: 'StandardTrackingList', + component: () => + import('@/pages/policyRegulation/standardTrackingList'), + meta: { + requireAuth: true, + title: '标准跟踪清单', + menuId: 'a26b92e156f68dbfe0d73b0dc068ebe4' + } + }, + { + path: '/policyWorkGroup', + name: 'PolicyWorkGroup', + component: () => + import('@/pages/policyRegulation/policyWorkGroup'), + meta: { + requireAuth: true, + title: '政策工作组', + menuId: 'f1a4b33a498e58a8a87c954ce5ce6ad6' + } + } + ] + }, // 配置管理 { path: '/config',