diff --git a/README.md b/README.md index 97c61388c..edfa321bb 100644 --- a/README.md +++ b/README.md @@ -17,3 +17,5 @@ npm run build ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). + +### test diff --git a/package-lock.json b/package-lock.json index b81c194e8..3d1e87236 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3619,23 +3619,6 @@ "upath": "^1.1.1" } }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npm.taobao.org/color-convert/download/color-convert-2.0.1.tgz", - "integrity": "sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM=", - "dev": true, - "optional": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npm.taobao.org/color-name/download/color-name-1.1.4.tgz", - "integrity": "sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=", - "dev": true, - "optional": true - }, "commander": { "version": "2.20.3", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", @@ -4581,94 +4564,6 @@ } } }, - "vue-loader-v16": { - "version": "npm:vue-loader@16.3.0", - "resolved": "https://registry.nlark.com/vue-loader/download/vue-loader-16.3.0.tgz", - "integrity": "sha1-LxleS6D7DiY1ltaDDfF9Gjbok2w=", - "dev": true, - "optional": true, - "requires": { - "chalk": "^4.1.0", - "hash-sum": "^2.0.0", - "loader-utils": "^2.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.nlark.com/ansi-styles/download/ansi-styles-4.3.0.tgz?cache=0&sync_timestamp=1618995651629&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fansi-styles%2Fdownload%2Fansi-styles-4.3.0.tgz", - "integrity": "sha1-7dgDYornHATIWuegkG7a00tkiTc=", - "dev": true, - "optional": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "big.js": { - "version": "5.2.2", - "resolved": "https://registry.nlark.com/big.js/download/big.js-5.2.2.tgz", - "integrity": "sha1-ZfCvOC9Xi83HQr2cKB6cstd2gyg=", - "dev": true, - "optional": true - }, - "chalk": { - "version": "4.1.1", - "resolved": "https://registry.nlark.com/chalk/download/chalk-4.1.1.tgz", - "integrity": "sha1-yAs/qyi/Y3HmhjMl7uZ+YYt35q0=", - "dev": true, - "optional": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "emojis-list": { - "version": "3.0.0", - "resolved": "https://registry.npm.taobao.org/emojis-list/download/emojis-list-3.0.0.tgz", - "integrity": "sha1-VXBmIEatKeLpFucariYKvf9Pang=", - "dev": true, - "optional": true - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npm.taobao.org/has-flag/download/has-flag-4.0.0.tgz", - "integrity": "sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s=", - "dev": true, - "optional": true - }, - "json5": { - "version": "2.2.0", - "resolved": "https://registry.npm.taobao.org/json5/download/json5-2.2.0.tgz", - "integrity": "sha1-Lf7+cgxrpSXZ69kJlQ8FFTFsiaM=", - "dev": true, - "optional": true, - "requires": { - "minimist": "^1.2.5" - } - }, - "loader-utils": { - "version": "2.0.0", - "resolved": "https://registry.npm.taobao.org/loader-utils/download/loader-utils-2.0.0.tgz", - "integrity": "sha1-5MrOW4FtQloWa18JfhDNErNgZLA=", - "dev": true, - "optional": true, - "requires": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^2.1.2" - } - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.nlark.com/supports-color/download/supports-color-7.2.0.tgz?cache=0&sync_timestamp=1622293630895&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fsupports-color%2Fdownload%2Fsupports-color-7.2.0.tgz", - "integrity": "sha1-G33NyzK4E4gBs+R4umpRyqiWSNo=", - "dev": true, - "optional": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, "vue-style-loader": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/vue-style-loader/-/vue-style-loader-4.1.2.tgz", @@ -9313,7 +9208,7 @@ }, "image-size": { "version": "0.5.5", - "resolved": "https://registry.nlark.com/image-size/download/image-size-0.5.5.tgz", + "resolved": "https://registry.npmjs.org/image-size/-/image-size-0.5.5.tgz", "integrity": "sha1-Cd/Uq50g4p6xw+gLiZA3jfnjy5w=", "dev": true, "optional": true @@ -13622,6 +13517,94 @@ "resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-8.22.4.tgz", "integrity": "sha512-XLI5s0AdqMP2Lf4I4CmdmOq8kjb5DDFGR77wAuxCfpEuYSfhTRyyx6MetgZMiL6Lxa0DasjBOiOcciU3NkL3/Q==" }, + "vue-loader-v16": { + "version": "npm:vue-loader@16.3.3", + "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-16.3.3.tgz", + "integrity": "sha512-/1GzCuQ6MRORbC+leKTKoTGtpQt60bYe0gDGEextSteA2OM+v201FPha5jzmjQzVhRcwieZeUvezAtG5a/e5cw==", + "dev": true, + "optional": true, + "requires": { + "chalk": "^4.1.0", + "hash-sum": "^2.0.0", + "loader-utils": "^2.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "optional": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz", + "integrity": "sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg==", + "dev": true, + "optional": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "optional": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "optional": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "optional": true + }, + "hash-sum": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hash-sum/-/hash-sum-2.0.0.tgz", + "integrity": "sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==", + "dev": true, + "optional": true + }, + "loader-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz", + "integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==", + "dev": true, + "optional": true, + "requires": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "optional": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, "vue-router": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-3.4.0.tgz", diff --git a/src/components/index.js b/src/components/index.js index e5167f1b8..50327d085 100644 --- a/src/components/index.js +++ b/src/components/index.js @@ -21,6 +21,7 @@ import AdvancedQuery from './advancedQuery' // 高级查询 import GenerationNumber from './generationNumber' // 生成企标编号组件 import RoleUserTree from './roleUserTree' // 根据部门和角色查询人员 import DeptRoleTree from './deptRoleTree' // 根据部门查询角色 +import RoleTree from './roleTree' // 查询所有机构及人员 import SQTree from './SQTree' import OrgTable from './OrgTable' @@ -46,6 +47,7 @@ const install = function (Vue) { Vue.component('DeptRoleTree', DeptRoleTree) Vue.component('SQTree', SQTree) Vue.component('OrgTable', OrgTable) + Vue.component('RoleTree', RoleTree) } export default { diff --git a/src/components/navMenu/index.vue b/src/components/navMenu/index.vue index bbdbd002c..d5b998e22 100644 --- a/src/components/navMenu/index.vue +++ b/src/components/navMenu/index.vue @@ -125,11 +125,11 @@ export default { // // // title: '本地产品/项目库', // // // path: '/localProductsOrProjectLibrary' // // // }, - // { - // title: '企业标准库', - // path: '/enterpriseStandardDatabase', - // menuId: '3YVZP8R4TC' - // }, + { + title: '企业标准库', + path: '/enterpriseStandardDatabase', + menuId: '01ed8f752748227777b3572d56ee9ab5' + }, // { // title: '企标制修订计划', // path: '/enterBSysRevPlanManaLib', diff --git a/src/components/roleTree/index.vue b/src/components/roleTree/index.vue new file mode 100644 index 000000000..fa5a0597e --- /dev/null +++ b/src/components/roleTree/index.vue @@ -0,0 +1,175 @@ + + + + + diff --git a/src/components/treeSelect/treeSelectNew.vue b/src/components/treeSelect/treeSelectNew.vue new file mode 100644 index 000000000..1ac8eb973 --- /dev/null +++ b/src/components/treeSelect/treeSelectNew.vue @@ -0,0 +1,270 @@ + + + + + diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index e94477eb5..0d47b1ac6 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -56,7 +56,7 @@

{{ sarStandardsInfoEO.issueTime || '-' }}

{{sarStandardsInfoEO.isRelateAccess ? (sarStandardsInfoEO.isRelateAccess === '1' ? '是' : '否') : '-'}}

-

{{ sarStandardsInfoEO.standSystemName || '-' }}

+

{{ sarStandardsInfoEO.standSystem || '-' }}

@@ -189,12 +189,12 @@ /> 上传时间:{{ dateFormat(file.modifyTime) }} + 标准分解单

- 标准分解单 @@ -281,12 +281,12 @@ 上传时间:{{ dateFormat(file.modifyTime) }}

- - - - - - + 标准分解单 @@ -2023,7 +2023,7 @@ export default { } // 缺少文件 if (this.$route.params.pageType === 'INLAND_STAND') { - if (this.$hasPermission('ZWBGBNTL11')) { + if (this.$hasPermission('2d6ab9d465ab73d415194e1ca4313793')) { this.$http.get('lawss/sarStandFile/queryConvertAtt', { attId: attId }, { @@ -2067,7 +2067,7 @@ export default { } } else { // 国外在线预览权限 - if (this.$hasPermission('YfS94QodMK')) { + if (this.$hasPermission('ee684b4a9975f5d8a6dfe898c0332f98 ')) { this.$http.get('lawss/sarStandFile/queryConvertAtt', { attId: attId }, { diff --git a/src/pages/personal/pages/my-collection/components/CollectionStandard.vue b/src/pages/personal/pages/my-collection/components/CollectionStandard.vue index 1f77c4b61..9251b1c8f 100644 --- a/src/pages/personal/pages/my-collection/components/CollectionStandard.vue +++ b/src/pages/personal/pages/my-collection/components/CollectionStandard.vue @@ -53,13 +53,13 @@ -
标题:{{ item.name }}
+
标题:{{ item.collectTitle }}
-
标题:{{ item.name }}
+
标题:{{ item.collectTitle }}
- 创建时间:{{getDate(item.createTime)}} + 创建时间:{{getDate(item.creationTime)}} 取消收藏 @@ -127,6 +127,7 @@ export default { this.$http.get('person/personCollect/page', { pageNo: this.page, pageSize: this.$store.getters.userInfo.configContent, + userId: this.$store.getters.userInfo.userId, collectTitle: this.search.name }, { _this: this, diff --git a/src/pages/processCenter/pages/components/ProcessMixin.vue b/src/pages/processCenter/pages/components/ProcessMixin.vue index ac50a05da..61b1a1d6e 100644 --- a/src/pages/processCenter/pages/components/ProcessMixin.vue +++ b/src/pages/processCenter/pages/components/ProcessMixin.vue @@ -22,7 +22,7 @@ export default { }, { label:'标准清单发布/更新流程', - value: '6' + value: '4' }, { label: '项目合规评估流程', diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step1-1.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step1-1.vue index 178d7f8c3..5b24794bb 100644 --- a/src/pages/processCenter/pages/creatProcess/bzdy/step1-1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step1-1.vue @@ -154,57 +154,19 @@ @submit="handleSubmit" > - - - - - - - - - - + + 0) { - this.nodeList2 = this.roleForm.dockUserList.split(',') - } - this.modalshowflag2 = true - }, - saveUserInfo2 () { + checkedRole2 (data) { var idList = '' var nameList = '' - this.$refs.tree2.getCheckedNodes().concat(this.$refs.tree2.getHalfCheckedNodes()).forEach( item => { + data.forEach( item => { if (nameList.length > 0) { nameList += ',' idList += ',' @@ -342,10 +290,35 @@ }) this.roleForm.dockUserList = idList this.roleForm.dockUserName = nameList - this.modalshowflag2 = false }, - cancleUserInfo2 () { - this.modalshowflag2 = false + checkedRole (data) { + if (this.type === 'dockUser') { + this.roleForm.dockUser = data[0].id + this.roleForm.dockUserName = data[0].name + } else if (this.type === 'ministerUser') { + this.roleForm.ministerUser = data[0].id + this.roleForm.ministerUserName = data[0].name + } else if (this.type === 'directorUser') { + this.roleForm.directorUser = data[0].id + this.roleForm.directorUserName = data[0].name + } else if (this.type === 'presidentUser') { + this.roleForm.presidentUser = data[0].id + this.roleForm.presidentUserName = data[0].name + } + }, + choiceZRRS () { + this.nodeList2 = [] + if ( this.roleForm.dockUserList.length > 0) { + this.nodeList2 = this.roleForm.dockUserList.split(',') + } + this.modalshowflag2 = true + }, + choiceZRR (type, title, id) { + this.nodeList = [] + this.nodeList.push(id) + this.type = type + this.drawerTitle = title + this.modalshowflag = true }, // 导入按钮 上传之前的钩子 beginImportFile (file) { @@ -388,46 +361,6 @@ fileUpload () { this.fileMadel = true }, - 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 - }, - 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] - } - }, - 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 - }) - }, handleTabs(name) { this.active = name }, @@ -490,7 +423,6 @@ }, mounted () { this.getData() - this.getTree() } } diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue index be0700a43..f9ba573ed 100644 --- a/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue @@ -154,116 +154,19 @@ @submit="handleSubmit" > - - - - - - - - - - - - 导入中... - - - - - - - - - - - - - 导入中... - + + { - this.treeData1 = res.data - this.treeLoading = false - }) - } else { - this.open1 = true - } - }, - filterText2 (val) { - if (val.length) { - this.open2 = false - this.treeLoading = true - this.$http.get('SarInstitution/institution/institutionAndUser', { - userName: val - }, {}, res => { - this.treeData2 = res.data - this.treeLoading = false - }) - } else { - this.open2 = true - } - }, - }, methods: { - loadNode(node, resolve) { - if (node.level === 0) { - return resolve(this.treeData); - } - this.getChildren(node, resolve) - }, - getChildren (node, resolve) { - this.$http.get('SarInstitution/institution/getNext', { - institutionId: node.key - }, {}, res => { - resolve(res) - }) - }, - choiceZRRS () { - this.nodeList2 = [] - if ( this.roleForm.dockUserList.length > 0) { - this.nodeList2 = this.roleForm.dockUserList.split(',') - } - this.filterText2 = '' - this.modalshowflag2 = true - }, - saveUserInfo2 () { + checkedRole2 (data) { var idList = '' var nameList = '' - this.$refs.tree2.getCheckedNodes().concat(this.$refs.tree2.getHalfCheckedNodes()).forEach( item => { + data.forEach( item => { if (nameList.length > 0) { nameList += ',' idList += ',' @@ -441,10 +280,35 @@ export default { }) this.roleForm.dockUserList = idList this.roleForm.dockUserName = nameList - this.modalshowflag2 = false }, - cancleUserInfo2 () { - this.modalshowflag2 = false + checkedRole (data) { + if (this.type === 'dockUser') { + this.roleForm.dockUser = data[0].id + this.roleForm.dockUserName = data[0].name + } else if (this.type === 'ministerUser') { + this.roleForm.ministerUser = data[0].id + this.roleForm.ministerUserName = data[0].name + } else if (this.type === 'directorUser') { + this.roleForm.directorUser = data[0].id + this.roleForm.directorUserName = data[0].name + } else if (this.type === 'presidentUser') { + this.roleForm.presidentUser = data[0].id + this.roleForm.presidentUserName = data[0].name + } + }, + choiceZRRS () { + this.nodeList2 = [] + if ( this.roleForm.dockUserList.length > 0) { + this.nodeList2 = this.roleForm.dockUserList.split(',') + } + this.modalshowflag2 = true + }, + choiceZRR (type, title, id) { + this.nodeList = [] + this.nodeList.push(id) + this.type = type + this.drawerTitle = title + this.modalshowflag = true }, // 导入按钮 上传之前的钩子 beginImportFile (file) { @@ -487,49 +351,6 @@ export default { fileUpload () { this.fileMadel = true }, - 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 - }, - 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] - } - }, - choiceZRR (type, title, id) { - this.nodeList = [] - this.nodeList.push(id) - this.type = type - this.drawerTitle = title - this.filterText1 = '' - this.modalshowflag = true - }, - getTree () { - this.treeLoading = true - this.$http.get('SarInstitution/institution/getFirstInstitution', {}, {}, res=> { - this.treeData = res - this.treeLoading = false - }) - }, handleTabs(name) { this.active = name }, @@ -591,9 +412,7 @@ export default { }) } }, - mounted () { - this.getTree() - } + mounted () {} } diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue index 1169ad9bf..299d6dbe8 100644 --- a/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step2.vue @@ -82,31 +82,12 @@ @submit="handleSubmit" > - - - - - + @@ -123,15 +104,9 @@ commentText: '', taskIds: this.$route.query.taskIds, pId: this.$route.query.prcId, - roleRow: {}, - nodeList: [], + nodeList2: [], type: '', - defaultProps: { - children: 'children', - label: 'name' - }, - treeData: [], // 人员数据 - modalshowflag: false, // drawer开关 + modalshowflag2: false, // drawer开关 drawerTitle: '', //drawer标题 textarea: '', // 意见 ListModel: false, // 新增编辑抽屉开关 @@ -159,13 +134,10 @@ ProcessTitle }, methods: { - updateFile () { - window.location.href = '/api/att/attFile/downloadFile?fileId=' + this.form.model - }, - saveUserInfo () { + checkedRole2 (data) { var idList = '' var nameList = '' - this.$refs.tree.getCheckedNodes().concat(this.$refs.tree.getHalfCheckedNodes()).forEach( item => { + data.forEach( item => { if (nameList.length > 0) { nameList += ',' idList += ',' @@ -175,22 +147,16 @@ }) this.form.responUserList = idList this.form.responUserListName = nameList - this.modalshowflag = false }, - cancleUserInfo () { - this.modalshowflag = false + updateFile () { + window.location.href = '/api/att/attFile/downloadFile?fileId=' + this.form.model }, choiceZRR () { - this.nodeList = [] - if (this.form.responUserList.length > 0) { - this.nodeList = this.form.responUserList.split(',') + this.nodeList2 = [] + if ( this.form.responUserList.length > 0) { + this.nodeList2 = this.form.responUserList.split(',') } - this.modalshowflag = true - }, - getTree () { - this.$http.get('SarInstitution/institution/institutionAndUser', {}, {}, res=> { - this.treeData = res.data - }) + this.modalshowflag2 = true }, handleTabs(name) { this.active = name @@ -238,7 +204,6 @@ }, }, mounted () { - this.getTree() this.getData() } } diff --git a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue index 4a1f06106..2618e5787 100644 --- a/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzqdfb/step1.vue @@ -1064,6 +1064,8 @@ export default { //提交事件 handleSubmit() { let json = this.listForm; + console.log(this.fileInfoList); + console.log(this.fileInfoList.join(',')); this.listForm.fileId = this.fileInfoList.join(',') this.listForm.fileName = this.fileListName.join(',') // let json = Object.assign(this.listForm, this.roleForm) @@ -1110,9 +1112,11 @@ export default { // 删除上传的文件 delFileInfo(file, fileList) { this.fileInfoList = fileList + let middle = [] fileList.forEach(item => { - this.fileListName = item.name + middle.push(item.name) }) + this.fileListName = middle }, fileUpload () { this.fileMadel = true @@ -1120,12 +1124,16 @@ export default { // 上传文件成功回调 uploadBackSuccess (res, file, fileList) { if (res.ok) { + let middle = [] fileList.forEach(item => { - this.fileListName = item.name + middle.push(item.name) }) - this.fileInfoList = fileList - this.fileInfoList[this.fileInfoList.length - 1].id = res.data.id - this.$message.success('上传成功') + this.fileListName = middle + let files = [] + this.flielist + // this.fileInfoList = fileList + // this.fileInfoList[this.fileInfoList.length - 1].id = res.data.id + // this.$message.success('上传成功') } else { this.$message.error(res.message) fileList.pop() diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue index aa58f9b7b..8adf3eb0d 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue @@ -705,20 +705,20 @@ clearable > - - - {{'手动查找'}} - + + + + + + + + + + + + + + @@ -1248,15 +1248,15 @@ // 适用范围 txlb: '', // 体系类别 gkdw: '', // 归口管理部门 - qcdw: [], // 起草单位 - wssmr: [], // 我司署名人 + qcdw: '', // 起草单位 + wssmr: '', // 我司署名人 cysd: '', // 我司参与深度 - cllx: [], // 适用车型 - nylx: [],// 能源类型 - sycpx: [],// 适用产品线 - syrz: [], // 适用认证 - zrbm: [], // 责任部门 - zrgcs: [], // 责任工程师 + cllx: '', // 适用车型 + nylx: '',// 能源类型 + sycpx: '',// 适用产品线 + syrz: '', // 适用认证 + zrbm: '', // 责任部门 + zrgcs: '', // 责任工程师 cycvppsbm: '', // 关联模块--乘用车VPPS编码 cycvppscn: '', // 关联模块--乘用车vpps中文名称 kccvppsbm: '', // 关联模块--卡车VPPS编码 @@ -1452,15 +1452,15 @@ // 适用范围 txlb: '', // 体系类别 gkdw: '', // 归口管理部门 - qcdw: [], // 起草单位 - wssmr: [], // 我司署名人 + qcdw: '', // 起草单位 + wssmr: '', // 我司署名人 cysd: '', // 我司参与深度 - cllx: [], // 适用车型 - nylx: [],// 能源类型 - sycpx: [],// 适用产品线 - syrz: [], // 适用认证 - zrbm: [], // 责任部门 - zrgcs: [], // 责任工程师 + cllx: '', // 适用车型 + nylx: '',// 能源类型 + sycpx: '',// 适用产品线 + syrz: '', // 适用认证 + zrbm: '', // 责任部门 + zrgcs: '', // 责任工程师 cycvppsbm: '', // 关联模块--乘用车VPPS编码 cycvppscn: '', // 关联模块--乘用车vpps中文名称 kccvppsbm: '', // 关联模块--卡车VPPS编码 diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue index 9d3675641..3eb2cc962 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue @@ -119,13 +119,7 @@ - + - + - + - + - + - + - + - + - + + :nodeKey="nodeKey" @popoverHide="popoverHide"> - + + :nodeKey="nodeKeyCode" @popoverHide="popoverHideBusVs"> - + + :nodeKey="nodeKeyCode" @popoverHide="popoverHideCarVs"> - + + :nodeKey="nodeKeyModel" @popoverHide="popoverHideModel"> 0){ + this.form.standSystem = checkedData.map(item => item.menuName).join(",") + }else { + this.form.standSystem = checkedData.menuName + } } + this.modalShowFlag1 = false }, - popoverHideBusVs (checkedIds, checkedData) { - if(checkedData){ - this.form.cycvppsbm = checkedData.code - this.form.cycvppscn = checkedData.chineseName + popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) { + if(checkedData) { + if(checkedData.length > 0){ + this.form.cycvppsbm = checkedData.map(item => item.code).join(",") + this.form.cycvppscn = checkedData.map(item => item.chineseName).join(",") + }else { + this.form.cycvppsbm = checkedData.code + this.form.cycvppscn = checkedData.chineseName + } } + this.modalShowFlag2 = false }, - popoverHideCarVs (checkedIds, checkedData) { - if(checkedData){ - this.form.kccvppsbm = checkedData.code - this.form.kccvppscn = checkedData.chineseName + popoverHideCarVs (checkedIds, checkedData,isShow,isLoadChild,topId) { + if(checkedData) { + if(checkedData.length > 0){ + this.form.kccvppsbm = checkedData.map(item => item.code).join(",") + this.form.kccvppscn = checkedData.map(item => item.chineseName).join(",") + }else { + this.form.kccvppsbm = checkedData.code + this.form.kccvppscn = checkedData.chineseName + } } + this.modalShowFlag3 = false }, - popoverHideModel (checkedIds, checkedData) { - if(checkedData){ - this.form.dybxh = checkedData.model - this.form.dymc = checkedData.name + popoverHideModel (checkedIds, checkedData,isShow,isLoadChild,topId) { + if(checkedData) { + if(checkedData.length > 0){ + this.form.dybxh = checkedData.map(item => item.model).join(",") + this.form.dymc = checkedData.map(item => item.name).join(",") + }else { + this.form.dybxh = checkedData.model + this.form.dymc = checkedData.name + } } + this.modalShowFlag4 = false }, processTable () { this.$http.get('lawss/activiti/get_list_by_instance', { diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue index b09a5622e..3643f6062 100644 --- a/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/xmpg/step2.vue @@ -111,7 +111,7 @@
-
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ref="tree2"> -
-
+
{ + // if (this.selectList.includes(item.itemId)) { + // this.listForm.breakdownList[index].implementerId = this.roleRow.id; + // this.listForm.breakdownList[index].implementer = this.roleRow.name; + // } + // }); + // } else { + // this.listForm.breakdownList[this.dsadadadsada].implementerId = this.roleRow.id; + // this.listForm.breakdownList[this.dsadadadsada].implementer = this.roleRow.name; + // } + // this.listForm.implementer = this.roleRow.name; + // this.showColumn = false; + // this.$nextTick(() => { + // this.showColumn = true; + // }); + // } + // this.modalshowflag = false; + // }, + saveUserInfo2 () { + var idList = ""; + var nameList = ""; + this.$refs.tree2.getCheckedNodes().concat(this.$refs.tree2.getHalfCheckedNodes()).forEach(item => { + if (nameList.length > 0) { + nameList += ","; + idList += ","; + } + idList += item.id; + nameList += item.name; + }); // 如果有勾选的项 if (this.selectList.length) { this.listForm.breakdownList.forEach((item, index) => { + console.log(item.itemId); + console.log(index); if (this.selectList.includes(item.itemId)) { - this.listForm.breakdownList[index].implementerId = this.roleRow.id; - this.listForm.breakdownList[index].implementer = this.roleRow.name; + this.listForm.breakdownList[index].implementerId = idList; + this.listForm.breakdownList[index].implementer = nameList; } }); } else { - this.listForm.breakdownList[this.dsadadadsada].implementerId = this.roleRow.id; - this.listForm.breakdownList[this.dsadadadsada].implementer = this.roleRow.name; + this.listForm.breakdownList[this.dsadadadsada].implementerId = idList; + this.listForm.breakdownList[this.dsadadadsada].implementer = nameList; } - this.listForm.implementer = this.roleRow.name; + this.listForm.implementer = nameList; this.showColumn = false; this.$nextTick(() => { this.showColumn = true; }); - } - this.modalshowflag = false; + this.modalshowflag2 = false; + //不要删除 By 宋伟佳 + console.log(this.$refs.multipleTable.clearSelection()) + this.$nextTick(() => { + for(var i=0;i 0) { + this.nodeList = this.roleForm.implementer.split(","); + } + this.modalshowflag2 = true; }, getTree() { this.$http.get("SarInstitution/institution/institutionAndUser", {}, {}, res => { diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step4.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step4.vue index a0d0d502b..d3f680706 100644 --- a/src/pages/processCenter/pages/creatProcess/xmpg/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/xmpg/step4.vue @@ -271,9 +271,9 @@
-
+
{ - console.log(res.mesg); if (res) { const processForm = JSON.parse(res.mesg); this.getFormFieldList(processForm); @@ -492,11 +461,18 @@ export default { getFormFieldList(item) { this.$nextTick(() => { this.listForm = JSON.parse(JSON.stringify(item)); - console.log(item.fenFlag); if (item.fenFlag === undefined ) { + item.step3DTOS.forEach(item => { + item.implementerId = this.$store.getters.userInfo.userId + item.implementer = this.$store.getters.userInfo.userName + }) this.dataList = item.step3DTOS; } else { this.dataList = item.dataList; + this.dataList.forEach(item => { + item.implementerId = this.$store.getters.userInfo.userId + item.implementer = this.$store.getters.userInfo.userName + }) } this.listForm.prcNum = this.prcNum; this.listForm.prcName = this.prcName; @@ -524,6 +500,7 @@ export default { this.listForm.signFlag = ""; this.listForm.dataList = this.dataList; const json = JSON.stringify(this.listForm); + console.log(json); this.$http.post("lawss/activiti/completeTask", { taskIds: this.taskIds, userId: this.userId, diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step5.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step5.vue index 60b351613..1dc390e5a 100644 --- a/src/pages/processCenter/pages/creatProcess/xmpg/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/xmpg/step5.vue @@ -228,7 +228,7 @@
-
+
-
+
-
+
+ + + + + diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step2.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step2.vue new file mode 100644 index 000000000..a61c3a4a4 --- /dev/null +++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step2.vue @@ -0,0 +1,13 @@ + + + + + diff --git a/src/pages/processCenter/pages/newProcess/index.vue b/src/pages/processCenter/pages/newProcess/index.vue index 709ebe063..3ac149a2f 100644 --- a/src/pages/processCenter/pages/newProcess/index.vue +++ b/src/pages/processCenter/pages/newProcess/index.vue @@ -10,7 +10,8 @@
标准清单发布/更新流程
-
项目合规评估流程
+
项目合规评估流程-标准
+
项目合规评估流程-项目
未符合项整改流程
标准解读流程
@@ -87,11 +88,17 @@ export default { }) break case '7': - //项目评估流程 + //项目评估流程 - 标准 this.$router.push({ name: 'xmpgStep1' }) break + case '10': + //项目评估流程- 项目 + this.$router.push({ + name: 'xmpg2Step1' + }) + break case '8': //未符合项整改流程 this.$router.push({ diff --git a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue index 9a8810380..712ae4209 100644 --- a/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue +++ b/src/pages/regulatoryRepository/accessStandardsAndRegulations/pages/addEdit.vue @@ -378,6 +378,9 @@ align="center" width="210px" label="标准实施日期"> + - + @@ -499,6 +507,87 @@
+ + + + + {{ editRowData.standSortShow }} {{ editRowData.standNumber }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/src/pages/regulatoryRepository/standardForComments/index.vue b/src/pages/regulatoryRepository/standardForComments/index.vue index 98f515675..f59f8f7b3 100644 --- a/src/pages/regulatoryRepository/standardForComments/index.vue +++ b/src/pages/regulatoryRepository/standardForComments/index.vue @@ -9,10 +9,12 @@
- + - + 查询 + @click="sarStandCompareHisInfo">查询 + 清空 + @click="clearSearchStand">清空 +
@@ -54,7 +58,7 @@ label="标准" align="center">
- + 数据加载中……