未符合项流程修改
This commit is contained in:
@@ -312,9 +312,14 @@ export default {
|
|||||||
let listJSON = JSON.parse(JSON.stringify(item.responUserList))
|
let listJSON = JSON.parse(JSON.stringify(item.responUserList))
|
||||||
this.dataList = [listJSON][0].standardInfoList
|
this.dataList = [listJSON][0].standardInfoList
|
||||||
} else {
|
} else {
|
||||||
|
if (item.dockUserList !== undefined) {
|
||||||
|
let listJSON = JSON.parse(JSON.stringify(item.dockUserList))
|
||||||
|
this.dataList = listJSON[0].standardInfoList
|
||||||
|
}else {
|
||||||
let listJSONInfo = item.info
|
let listJSONInfo = item.info
|
||||||
this.dataList = [listJSONInfo]
|
this.dataList = [listJSONInfo]
|
||||||
}
|
}
|
||||||
|
}
|
||||||
this.dataList.forEach(item => {
|
this.dataList.forEach(item => {
|
||||||
if (item.fileText.length !== 0) {
|
if (item.fileText.length !== 0) {
|
||||||
this.fileTextList = item.fileText
|
this.fileTextList = item.fileText
|
||||||
|
|||||||
@@ -398,7 +398,7 @@ export default {
|
|||||||
// 相关人员姓名
|
// 相关人员姓名
|
||||||
},
|
},
|
||||||
// 新增编辑弹窗里的数据
|
// 新增编辑弹窗里的数据
|
||||||
localProEODefault: {
|
/* localProEODefault: {
|
||||||
// 项目相关人员
|
// 项目相关人员
|
||||||
userEOList: [],
|
userEOList: [],
|
||||||
// 产品代码
|
// 产品代码
|
||||||
@@ -460,7 +460,7 @@ export default {
|
|||||||
// 相关人员信息
|
// 相关人员信息
|
||||||
relatePersonShow: ""
|
relatePersonShow: ""
|
||||||
// 相关人员姓名
|
// 相关人员姓名
|
||||||
},
|
},*/
|
||||||
//查询3类
|
//查询3类
|
||||||
projectLibrarySearch: {
|
projectLibrarySearch: {
|
||||||
// 项目名称
|
// 项目名称
|
||||||
|
|||||||
@@ -14,10 +14,16 @@
|
|||||||
<el-col :span="5" :push="1">项目编号: <span class="valueColor">{{ localProEO.projectNumber }}</span></el-col>
|
<el-col :span="5" :push="1">项目编号: <span class="valueColor">{{ localProEO.projectNumber }}</span></el-col>
|
||||||
<el-col :span="5" :push="2">
|
<el-col :span="5" :push="2">
|
||||||
<el-tooltip class="item" effect="dark" :content="localProEO.projectName" placement="top">
|
<el-tooltip class="item" effect="dark" :content="localProEO.projectName" placement="top">
|
||||||
<div slot="content" class="toolip-content" v-if="localProEO.projectName !== undefined && localProEO.projectName.length>15">{{ localProEO.projectName }}</div>
|
<div slot="content" class="toolip-content" v-if="localProEO.projectName !== undefined && localProEO.projectName.length>15">
|
||||||
|
{{ localProEO.projectName }}
|
||||||
|
</div>
|
||||||
<div v-else></div>
|
<div v-else></div>
|
||||||
<div class="check-item-value" v-if="localProEO.projectName !== undefined && localProEO.projectName.length>15">项目名称: <span class="valueColor">{{localProEO.projectName && localProEO.projectName.substring(0,15)+"..." }}</span></div>
|
<div class="check-item-value" v-if="localProEO.projectName !== undefined && localProEO.projectName.length>15">
|
||||||
<div class="check-item-value" v-else>项目名称: <span class="valueColor">{{localProEO.projectName}}</span></div>
|
项目名称: <span class="valueColor">{{
|
||||||
|
localProEO.projectName && localProEO.projectName.substring(0, 15) + "..."
|
||||||
|
}}</span></div>
|
||||||
|
<div class="check-item-value" v-else>项目名称: <span class="valueColor">{{ localProEO.projectName }}</span>
|
||||||
|
</div>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="4" :push="3">项目分类:<span class="valueColor">{{ localProEO.projectClassification }}</span>
|
<el-col :span="4" :push="3">项目分类:<span class="valueColor">{{ localProEO.projectClassification }}</span>
|
||||||
@@ -39,19 +45,23 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
<div class="action-bar">
|
<div class="action-bar">
|
||||||
<!-- <el-button plain class="common-button-primary" v-btn-permission="''" size="mini" @click="transfer">调取</el-button>-->
|
<el-row>
|
||||||
<!-- <el-button plain class="common-button-primary" v-btn-permission="''" size="mini" @click="deleteList">批量删除-->
|
<el-col :span="12">
|
||||||
<!-- </el-button>-->
|
<span style="font-size: 16px;font-weight: bold">清单版本: {{ }}</span>
|
||||||
<el-button class="common-button-default export-button"
|
</el-col>
|
||||||
|
<el-col :span="12" style="text-align: end">
|
||||||
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
class="common-button-default export-button"
|
||||||
size="mini" @click="exportStandard"
|
size="mini" @click="exportStandard"
|
||||||
v-btn-permission="''"
|
v-btn-permission="''"
|
||||||
title="不勾选时默认导出所有筛选项;勾选时仅导出勾选项"
|
title="不勾选时默认导出所有筛选项;勾选时仅导出勾选项"
|
||||||
icon="export"
|
icon="export"
|
||||||
>导出
|
>导出
|
||||||
</el-button>
|
</el-button>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
<!-- <el-tabs type="border-card">-->
|
|
||||||
<!-- <el-tab-pane :label="localProEO.productName" class="details-panel-tabs-item">-->
|
|
||||||
<div class="table-wrapper">
|
<div class="table-wrapper">
|
||||||
<el-table
|
<el-table
|
||||||
:data="dataList"
|
:data="dataList"
|
||||||
@@ -172,8 +182,6 @@
|
|||||||
@pageSizeChange="pageSizeChangeLaws"></pagination>
|
@pageSizeChange="pageSizeChangeLaws"></pagination>
|
||||||
</div>
|
</div>
|
||||||
<loading :loading="loading">数据获取中</loading>
|
<loading :loading="loading">数据获取中</loading>
|
||||||
<!-- </el-tab-pane>-->
|
|
||||||
<!-- </el-tabs>-->
|
|
||||||
</div>
|
</div>
|
||||||
<!-- 调取弹窗 -->
|
<!-- 调取弹窗 -->
|
||||||
<el-drawer
|
<el-drawer
|
||||||
@@ -245,9 +253,9 @@
|
|||||||
align="center"
|
align="center"
|
||||||
width="260px"
|
width="260px"
|
||||||
>
|
>
|
||||||
<!-- <template slot-scope="scope">-->
|
<!-- <template slot-scope="scope">-->
|
||||||
<!-- <a class="table-jump" @click.stop="showTable(scope.row)">{{ scope.row.detailedListName }}</a>-->
|
<!-- <a class="table-jump" @click.stop="showTable(scope.row)">{{ scope.row.detailedListName }}</a>-->
|
||||||
<!-- </template>-->
|
<!-- </template>-->
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="detailedListState"
|
prop="detailedListState"
|
||||||
@@ -265,7 +273,8 @@
|
|||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span
|
<span
|
||||||
v-if="scope.row.detailedListVision != null && scope.row.detailedListVision !== ''">{{ scope.row.detailedListVision
|
v-if="scope.row.detailedListVision != null && scope.row.detailedListVision !== ''">{{
|
||||||
|
scope.row.detailedListVision
|
||||||
}}</span>
|
}}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -274,7 +283,10 @@
|
|||||||
label="更新时间"
|
label="更新时间"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div>{{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD') : scope.row.updateTime }}</div>
|
<div>{{
|
||||||
|
scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD') : scope.row.updateTime
|
||||||
|
}}
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -512,7 +524,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//搜索清单
|
//搜索清单
|
||||||
searchSarAccess(){
|
searchSarAccess() {
|
||||||
this.pageDo = 1
|
this.pageDo = 1
|
||||||
this.pageSizeDo = this.$store.getters.userInfo.configContent;
|
this.pageSizeDo = this.$store.getters.userInfo.configContent;
|
||||||
this.transfer()
|
this.transfer()
|
||||||
@@ -523,7 +535,7 @@ export default {
|
|||||||
this.pageSizeNo = this.$store.getters.userInfo.configContent;
|
this.pageSizeNo = this.$store.getters.userInfo.configContent;
|
||||||
this.getStand()
|
this.getStand()
|
||||||
},
|
},
|
||||||
clearSearchAccess(){
|
clearSearchAccess() {
|
||||||
this.sarSarAccessEOSearch.carType = ''
|
this.sarSarAccessEOSearch.carType = ''
|
||||||
this.sarSarAccessEOSearch.detailedListName = ''
|
this.sarSarAccessEOSearch.detailedListName = ''
|
||||||
this.transfer()
|
this.transfer()
|
||||||
@@ -547,11 +559,11 @@ export default {
|
|||||||
this.pageNo = page
|
this.pageNo = page
|
||||||
this.getStand()
|
this.getStand()
|
||||||
},
|
},
|
||||||
pageChangeDo(page){
|
pageChangeDo(page) {
|
||||||
this.pageDo = page
|
this.pageDo = page
|
||||||
this.transfer()
|
this.transfer()
|
||||||
},
|
},
|
||||||
pageSizeChangeDo(pageSize){
|
pageSizeChangeDo(pageSize) {
|
||||||
this.pageDo = pageSize
|
this.pageDo = pageSize
|
||||||
this.transfer()
|
this.transfer()
|
||||||
},
|
},
|
||||||
@@ -582,7 +594,7 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
//点击获取项目清单
|
//点击获取项目清单
|
||||||
transfer(){
|
transfer() {
|
||||||
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
|
||||||
page: 1,
|
page: 1,
|
||||||
pageSize: this.pageSize,
|
pageSize: this.pageSize,
|
||||||
@@ -592,12 +604,12 @@ export default {
|
|||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
this.sarAccessListDatas = res.data.records;
|
this.sarAccessListDatas = res.data.records;
|
||||||
this.sarAccessListDatas.forEach(item =>{
|
this.sarAccessListDatas.forEach(item => {
|
||||||
// 适用车型转换
|
// 适用车型转换
|
||||||
if (item.carType !== null) {
|
if (item.carType !== null) {
|
||||||
let k = (item.carType || "").split(',')
|
let k = (item.carType || "").split(',')
|
||||||
for (let i in this.energyKindOptions) {
|
for (let i in this.energyKindOptions) {
|
||||||
for (let m = 0; m< k.length; m++) {
|
for (let m = 0; m < k.length; m++) {
|
||||||
if (this.energyKindOptions[i].value === k[m]) {
|
if (this.energyKindOptions[i].value === k[m]) {
|
||||||
k[m] = this.energyKindOptions[i].label
|
k[m] = this.energyKindOptions[i].label
|
||||||
}
|
}
|
||||||
@@ -692,7 +704,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
//调取清单取消事件
|
//调取清单取消事件
|
||||||
cancelDetailed(){
|
cancelDetailed() {
|
||||||
this.detailedListModel = false;
|
this.detailedListModel = false;
|
||||||
},
|
},
|
||||||
//添加标准取消事件
|
//添加标准取消事件
|
||||||
@@ -747,28 +759,28 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
//获取标准
|
//获取标准
|
||||||
getStandrd(data){
|
getStandrd(data) {
|
||||||
this.detailedId = data.id
|
this.detailedId = data.id
|
||||||
this.getStand();
|
this.getStand();
|
||||||
},
|
},
|
||||||
getStand(data){
|
getStand(data) {
|
||||||
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
|
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
|
||||||
id:this.detailedId,
|
id: this.detailedId,
|
||||||
...this.standCommonlySearch,
|
...this.standCommonlySearch,
|
||||||
}, {
|
}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
if(res.data === null){
|
if (res.data === null) {
|
||||||
this.standardData = ''
|
this.standardData = ''
|
||||||
this.totalDo =''
|
this.totalDo = ''
|
||||||
this.standModel = true;
|
this.standModel = true;
|
||||||
}
|
}
|
||||||
this.standardData = res.data.records
|
this.standardData = res.data.records
|
||||||
this.standardData.forEach(item => {
|
this.standardData.forEach(item => {
|
||||||
if(item.zccssrqgj === '-'){
|
if (item.zccssrqgj === '-') {
|
||||||
item.zccssrqgj = ''
|
item.zccssrqgj = ''
|
||||||
}
|
}
|
||||||
if(item.xcxssrqgj === '-'){
|
if (item.xcxssrqgj === '-') {
|
||||||
item.xcxssrq = ''
|
item.xcxssrq = ''
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user