From c302d80e4823151f640ae2d5ba675acdcf68a73e Mon Sep 17 00:00:00 2001 From: zhutianqi Date: Mon, 27 Dec 2021 18:08:08 +0800 Subject: [PATCH] commit --- .../components/EnterpriseStandardDatabase.vue | 1 - .../enterpriseStandardPlan/index.vue | 313 ++++++++++++++++-- 2 files changed, 284 insertions(+), 30 deletions(-) diff --git a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue index 4de7326ed..c8d3c6477 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardDatabase/components/EnterpriseStandardDatabase.vue @@ -4566,7 +4566,6 @@ export default { this.standNatureOptions = res.data.SARPROPERTY // 标准性质 this.standStateOptions = res.data.TEXTSTATUSBUSS // 文本状态 this.standSystemOptions = res.data.TXLBBUSS // 标准体系 - console.log(this.standSystemOptions); this.applyArcticOptions.options = res.data.ENERGYTYPES // 适用车型 this.categoryOptions.options = res.data.NYLXCLASS // 能源类型 this.applyAuthOptions.options = res.data.SYRZCLASS // 适用认证 diff --git a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue index 2d6ec22f6..702f7c6aa 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue @@ -263,40 +263,42 @@ v-model="addForm.unit"> - - - - - - - - - - - - - - - - - - - - - - - - - - + + + +
+ + + + +
+
+ +
+ + + +
@@ -361,6 +363,128 @@ :nodeList="nodeListZRBM" @checkedRole="drawerCheckZRBM" /> + +
+
+ +
+ + + + + + + + + 查询 + + 清空 + + + +
+
+
+ + + + + + + + + + + + + + + + +
+ + 数据加载中…… +
+
+ +
+
+ +
+
+ + +
+ +
+
@@ -371,9 +495,28 @@ components: {}, data() { return { + TXJGList: [], + TXJGmodal: false, + standSystemOptions: [], + defaultProps: { + children: 'children', + label: 'menuName' + }, + QYBZShow: false, + QYBZList: [], modalshowflagZRBM: false, nodeListZRBM: [], - + QYBZformSelect: [], + QYBZmodal: false, + QYBZform: { + page: 1, + pageSzie: this.$store.getters.userInfo.configContent, + validFlag: '0', + userId: this.$store.getters.userInfo.userId, + standCode: '', + standName: '', + total: 0, + }, QCDWmodal: false, QCDWValue: [], QCDWList: [], @@ -390,6 +533,10 @@ DrawerType: '', ids: [], addForm: { + tsJson: '', + tsJsonName: '', + rqbJson: '', + rqbName: '', unit: '', // 单位 unitName: '', esName: '', // 企标名称 @@ -450,6 +597,83 @@ props: {}, watch: {}, methods: { + TXJGcloseDrawer () { + this.TXJGmodal = false + }, + TXJGenterDrawer () { + let list = this.$refs.TXJGTree.getCheckedNodes() + let id = '' + let name = '' + list.map(item => { + if (id.length > 0) { + id += ',' + id += item.id + name += ',' + name += item.menuName + } else { + id = item.id + name = item.menuName + } + }) + this.addForm.tsJson = id + this.addForm.tsJsonName = name + this.TXJGmodal = false + }, + choiceTXJG (id) { + if (id) { + this.TXJGList = id.split(',') + } else { + this.TXJGList = [] + } + this.TXJGmodal = true + }, + QYBZcloseDrawer () { + this.clearQYBZ() + }, + QYBZenterDrawer () { + if (this.QYBZformSelect.length > 1) { + this.$message.warning('请选择一条标准') + } else if (this.QYBZformSelect.length < 1){ + this.$message.warning('请选择要带入的标准') + } else { + this.addForm.rqbJson = this.QYBZformSelect[0].id + this.addForm.rqbName = this.QYBZformSelect[0].standName + this.clearQYBZ() + this.QYBZmodal = false + } + }, + handleSelectionQYBZ (val) { + this.QYBZformSelect = val + }, + QYBZpageChange (page) { + this.QYBZform.page = page + this.QYBZget() + }, + QYBZpageSizeChange (pageSize) { + this.QYBZform.pageSize = pageSize + this.QYBZget() + }, + QYBZget () { + this.$http.get('lawss/sarBussionessStand/getSarBussionStandPage', this.QYBZform, { + _this: this, loading: 'QYBZShow' + }, res => { + this.QYBZList = res.data.list + this.QYBZform.total = res.data.count + }, e => { + }) + }, + clearQYBZ () { + this.QYBZform = { + page: 1, + standCode: '', + standName: '', + } + }, + choiceQYBZ (id) { + this.QYBZformSelect = [] + this.QYBZget() + this.QYBZmodal = true + }, drawerCheckZRBM (data) { let list = '' let listName = '' @@ -718,6 +942,7 @@ _this: this }, res => { this.QCDWList = res.data.QCDW // 起草单位 + this.standSystemOptions = res.data.TXLBBUSS // 体系结构 }, e => { }) }, @@ -730,6 +955,36 @@ #enterpriseStandardPlan { height: 100%; background: #fff; + .standardForComments { + height: calc(~'100% - 56px'); + background: #fff; + flex-direction: column; + .action-bar { + margin-bottom: 5px; + padding: 0; + } + + .content { + flex: auto; + overflow: hidden; + display: flex; + flex-direction: column; + + .table-wrap { + flex: auto; + overflow: hidden; + position: relative; + } + } + + & > .pagination { + position: static; + + /deep/ .pagination-slot { + padding: 0; + } + } + } /deep/.table-wrap { .el-table__fixed { height: calc(~'100% - 20px') !important;