From 38b22f21427eac11237686536c18076d5e0f5fea Mon Sep 17 00:00:00 2001 From: shenyanpei Date: Tue, 25 Jan 2022 14:57:52 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E6=B8=85=E5=8D=95=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../localProductsOrProjectLibrary/index.vue | 433 +++++++++--------- .../pages/details.vue | 31 +- 2 files changed, 235 insertions(+), 229 deletions(-) diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue index d9dda2b2c..0e0a09b4f 100644 --- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue +++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/index.vue @@ -21,7 +21,7 @@ clearable > - +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @selection-change="handleSelectionChange"> + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{ + this.$http.get("sys/dictype/getDicTypeListCode", {}, {_this: this}, res => { // this.xmztOptions = res.data.XMZT; this.scxxOptions = res.data.SCXX; this.countryList = res.data.COUNTRY; @@ -955,7 +957,7 @@ export default { } else { this.title = "编辑车型/项目库"; row.targetMarket = row.targetMarket.split(","); - this.localProEO = { ...row }; + this.localProEO = {...row}; // this.localProEO.id = row.id if (this.localProEO.energyKind != null && !(this.localProEO.energyKind instanceof Array)) { if (this.localProEO.energyKind === "") { @@ -1095,8 +1097,8 @@ export default { }, // 清空条件查询 clearAllSearch() { - this.localProTableSearch = { ...this.localProTableSearchDefault }; - this.projectLibrarySearch = { ...this.projectLibrarySearchDefault }; + this.localProTableSearch = {...this.localProTableSearchDefault}; + this.projectLibrarySearch = {...this.projectLibrarySearchDefault}; this.localProTableSearch.page = 1; this.getLocalProductTable(); }, @@ -1337,7 +1339,7 @@ export default { handleProcess(row) { // 项目清单确认流程 this.$router.push({ - name:'xmqdqrStep1-4', + name: 'xmqdqrStep1-4', query: { row } @@ -1402,7 +1404,7 @@ export default { }, // 取消或者关闭弹窗 resetReletionForm() { - this.relationTableSearch = { ...this.relationTableSearchDefault }; + this.relationTableSearch = {...this.relationTableSearchDefault}; // this.$refs['processForm'].clearValidate() this.$refs.RelectionMultipleTable.clearSelection(); this.reletionSelectNum = []; @@ -1432,7 +1434,7 @@ export default { this.$http.get("lawss/sarProductInfo/isOver", { productNo: this.localProEO.productNo, id: this.localProEO.id - }, { _this: this }, res => { + }, {_this: this}, res => { if (res.data) { callback(new Error("项目编号不能重复")); } else { @@ -1564,26 +1566,26 @@ export default { this.localProEO.productManagerShow = userNameList.join(","); }, selectSort() { - solostarData().then(res=>{ - res.data.MaintenanceProjectClassification.forEach((item, index)=>{ + solostarData().then(res => { + res.data.MaintenanceProjectClassification.forEach((item, index) => { this.projectData.push({ label: item, value: index }) }) - res.data.MaintenanceProjectStatus.forEach((item, index)=>{ + res.data.MaintenanceProjectStatus.forEach((item, index) => { this.projectStatus.push({ label: item, value: index }) }) - res.data.notMaintenanceProjectClassification.forEach((item, index)=>{ + res.data.notMaintenanceProjectClassification.forEach((item, index) => { this.notProjectData.push({ label: item, value: index }) }) - res.data.notMaintenanceProjectStatus.forEach((item, index)=>{ + res.data.notMaintenanceProjectStatus.forEach((item, index) => { this.notProjectStatus.push({ label: item, value: index @@ -1614,7 +1616,7 @@ export default { this.ifMaintaince = "Maintenance"; } else { this.ifMaintaince = this.$route.query.tabName; - if(this.ifMaintaince === "notMaintenance"){ + if (this.ifMaintaince === "notMaintenance") { this.localProTableSearch.prodectCode = this.ifMaintaince; } } @@ -1644,6 +1646,7 @@ export default { width: 100%; //height: calc(100% - 110px); height: calc(~'100% - 30px'); + .table_info { height: calc(70vh - 90px); } @@ -1654,7 +1657,7 @@ export default { } /deep/ .pagination { - position:inherit; + position: inherit; //position: unset; } @@ -1668,15 +1671,17 @@ export default { } } } + ///deep/ .el-table--scrollable-x .el-table__body-wrapper { // overflow-x: scroll; //} ///deep/.el-table__fixed { // height: 48px !important; //} -/deep/.el-table .el-table__body-wrapper { +/deep/ .el-table .el-table__body-wrapper { height: 84%; } + ::v-deep .el-drawer__header { & > span:first-child { outline: none !important; diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue index af3445f7f..7f0b3b962 100644 --- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue +++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue @@ -10,9 +10,15 @@
- 产品平台: {{ localProEO.projectPlatfor }} - 项目编号: {{ localProEO.projectNumber }} - + + 管理主体: {{ localProEO.managementHostName || '-' }} + 开发主体: {{ localProEO.developmentHostName || '-' }} + 项目细分类:{{ localProEO.categoryName || '-' }} + 项目群: {{ localProEO.projectGroup }} + + + 项目编号: {{ localProEO.projectNumber }} +
{{ localProEO.projectName }} @@ -26,21 +32,16 @@
- 项目分类:{{ localProEO.projectClassification }} - + 项目状态: {{ localProEO.projectStatus }} + + 当前节点: {{ localProEO.currentNode }}
- 项目状态: {{ localProEO.projectStatus }} - 项目群: {{ localProEO.projectGroup }} - 当前节点: {{ localProEO.currentNode }} - 项目级别: {{ localProEO.projectLevel }} - - - 产品线: {{ localProEO.productLine }} - 项目经理: {{ localProEO.uname }} - 项目计划开始时间: 产品线: {{ localProEO.productLine }} --> + 项目经理: {{ localProEO.uname }} + 项目计划开始时间: {{ $moment(localProEO.projectStartDate).format('YYYY-MM-DD') }} - 项目计划完成时间: 项目计划完成时间: {{ $moment(localProEO.projectEndDate).format('YYYY-MM-DD') }}