@@ -245,9 +253,9 @@
align="center"
width="260px"
>
-
-
-
+
+
+
{{ scope.row.detailedListVision
+ v-if="scope.row.detailedListVision != null && scope.row.detailedListVision !== ''">{{
+ scope.row.detailedListVision
}}
@@ -274,7 +283,10 @@
label="更新时间"
align="center">
- {{ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD') : scope.row.updateTime }}
+ {{
+ scope.row.updateTime ? $moment(scope.row.updateTime).format('YYYY-MM-DD') : scope.row.updateTime
+ }}
+
@@ -477,7 +489,7 @@ export default {
pageSize: this.$store.getters.userInfo.configContent,
pageNo: 1,
pageDo: 1,
- pageSizeDo: this.$store.getters.userInfo.configContent,
+ pageSizeDo: this.$store.getters.userInfo.configContent,
standardData: [], //添加标准数据
detailedId: '', //清单id
totalNo: 0,
@@ -512,7 +524,7 @@ export default {
},
methods: {
//搜索清单
- searchSarAccess(){
+ searchSarAccess() {
this.pageDo = 1
this.pageSizeDo = this.$store.getters.userInfo.configContent;
this.transfer()
@@ -523,7 +535,7 @@ export default {
this.pageSizeNo = this.$store.getters.userInfo.configContent;
this.getStand()
},
- clearSearchAccess(){
+ clearSearchAccess() {
this.sarSarAccessEOSearch.carType = ''
this.sarSarAccessEOSearch.detailedListName = ''
this.transfer()
@@ -547,11 +559,11 @@ export default {
this.pageNo = page
this.getStand()
},
- pageChangeDo(page){
+ pageChangeDo(page) {
this.pageDo = page
this.transfer()
},
- pageSizeChangeDo(pageSize){
+ pageSizeChangeDo(pageSize) {
this.pageDo = pageSize
this.transfer()
},
@@ -582,7 +594,7 @@ export default {
});
},
//点击获取项目清单
- transfer(){
+ transfer() {
this.$http.get("sarLawsDetailedList/sar-laws-detailed-list/getAllStand", {
page: 1,
pageSize: this.pageSize,
@@ -592,14 +604,14 @@ export default {
_this: this
}, res => {
this.sarAccessListDatas = res.data.records;
- this.sarAccessListDatas.forEach(item =>{
+ this.sarAccessListDatas.forEach(item => {
// 适用车型转换
if (item.carType !== null) {
let k = (item.carType || "").split(',')
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]) {
- k[m] = this.energyKindOptions[i].label
+ k[m] = this.energyKindOptions[i].label
}
item.carType = k.join(',')
}
@@ -692,8 +704,8 @@ export default {
})
},
//调取清单取消事件
- cancelDetailed(){
- this.detailedListModel = false;
+ cancelDetailed() {
+ this.detailedListModel = false;
},
//添加标准取消事件
cancelStand() {
@@ -747,28 +759,28 @@ export default {
}
},
//获取标准
- getStandrd(data){
+ getStandrd(data) {
this.detailedId = data.id
this.getStand();
},
- getStand(data){
+ getStand(data) {
this.$http.get("sarLawsAttrDetailedList/sar-laws-attr-detailed-list/selectLawsById", {
- id:this.detailedId,
+ id: this.detailedId,
...this.standCommonlySearch,
}, {
_this: this
}, res => {
- if(res.data === null){
+ if (res.data === null) {
this.standardData = ''
- this.totalDo =''
+ this.totalDo = ''
this.standModel = true;
}
this.standardData = res.data.records
this.standardData.forEach(item => {
- if(item.zccssrqgj === '-'){
+ if (item.zccssrqgj === '-') {
item.zccssrqgj = ''
}
- if(item.xcxssrqgj === '-'){
+ if (item.xcxssrqgj === '-') {
item.xcxssrq = ''
}
})
@@ -895,7 +907,7 @@ export default {
ids += ',\'' + this.selectList[i].standId + '\''
}
const exportURL = interfaceUrl + 'sarStandProjectLibrary/exportStandAttrInfoExcel?' +
- 'exportType' + this.saveExportType + '&ids=' + ids + '&exportName=' + this.exportName + '&id=' + this.localProEO.id
+ 'exportType' + this.saveExportType + '&ids=' + ids + '&exportName=' + this.exportName + '&id=' + this.localProEO.id
window.open(exportURL, '_self')
this.$message.success('导出信息成功')
}
@@ -911,7 +923,7 @@ export default {
}
}
const exportURL = interfaceUrl + 'sarStandProjectLibrary/exportStandAttrInfoExcel?' +
- 'exportType' + this.saveExportType + '&ids=' + ids + '&exportName=' + this.exportName + '&id=' + this.localProEO.id
+ 'exportType' + this.saveExportType + '&ids=' + ids + '&exportName=' + this.exportName + '&id=' + this.localProEO.id
window.open(exportURL, '_self')
this.$message.success('导出信息成功')
}
From e28621a77d8477723a678c7fd4a6a5582f04cad5 Mon Sep 17 00:00:00 2001
From: shenyanpei