变更维护
This commit is contained in:
@@ -412,6 +412,11 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="项目群" class="search-item search-item-last">
|
||||||
|
<el-input v-model="projectSearch.projectGroup"
|
||||||
|
placeholder="请输入项目群"
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item class="search-item btn-box">
|
<el-form-item class="search-item btn-box">
|
||||||
<el-button :disabled="disabledXX"
|
<el-button :disabled="disabledXX"
|
||||||
:loading="searching"
|
:loading="searching"
|
||||||
|
|||||||
@@ -276,6 +276,11 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="项目名称" class="search-item search-item-last">
|
||||||
|
<el-input v-model="projectSearch.projectName"
|
||||||
|
placeholder="请输入项目名称"
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item class="search-item btn-box">
|
<el-form-item class="search-item btn-box">
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
|
|||||||
@@ -528,6 +528,11 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
pickerOptions: {
|
||||||
|
disabledDate(time) {
|
||||||
|
return time.getTime() < Date.now() - 8.64e7;
|
||||||
|
},
|
||||||
|
},
|
||||||
comFlag: 0,
|
comFlag: 0,
|
||||||
total: 0,
|
total: 0,
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
@@ -661,6 +666,8 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
console.log(this.dataList)
|
||||||
|
this.dataList = [...this.dataList]
|
||||||
this.modalShowFlag = false;
|
this.modalShowFlag = false;
|
||||||
},
|
},
|
||||||
cancelBatchEditForm() {
|
cancelBatchEditForm() {
|
||||||
|
|||||||
@@ -617,7 +617,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//查询项目下的标准
|
//查询项目下的标准
|
||||||
getStandData() {
|
getStandData() {
|
||||||
this.$http.get("sarStandProjectLibrary/queryStandInfo", { id: this.projectId }, {
|
this.$http.get("sarStandProjectLibrary/queryStandInfoNew", { id: this.projectId }, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
res.data.records.forEach(item => {
|
res.data.records.forEach(item => {
|
||||||
|
|||||||
@@ -90,8 +90,7 @@
|
|||||||
label="标准号"
|
label="标准号"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort
|
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort + scope.row.standNumber}}-{{ scope.row.standYear}}</a>
|
||||||
}} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
|
|
||||||
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSort }}
|
<a v-else @click="handlePreview(scope.row)" class="table-jump">{{ scope.row.standSort }}
|
||||||
{{ scope.row.standNumber }}</a>
|
{{ scope.row.standNumber }}</a>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -759,7 +759,7 @@ export default {
|
|||||||
}, res => {
|
}, res => {
|
||||||
this.energyKindOptions = res.data.ENERGYTYPES; //适用车型
|
this.energyKindOptions = res.data.ENERGYTYPES; //适用车型
|
||||||
this.standSortOptions = res.data.STANDCLASSIFY; // 标准类别
|
this.standSortOptions = res.data.STANDCLASSIFY; // 标准类别
|
||||||
this.setMap(res.data.WBZTCLASS);// 文本状态
|
this.setMap(res.data.WBZTCLASS,res.data.TEXTSTATUSBUSS);// 文本状态
|
||||||
this.setMap(this.zrbmMap, res.data.ZRBMCLASS);
|
this.setMap(this.zrbmMap, res.data.ZRBMCLASS);
|
||||||
this.textState = res.data.WBZTCLASS // 文本状态
|
this.textState = res.data.WBZTCLASS // 文本状态
|
||||||
this.showLocalProductData(this.getLocalPro);
|
this.showLocalProductData(this.getLocalPro);
|
||||||
@@ -821,8 +821,9 @@ export default {
|
|||||||
this.selectPeople = row
|
this.selectPeople = row
|
||||||
},
|
},
|
||||||
// 将文本状态的id与name对应
|
// 将文本状态的id与name对应
|
||||||
setMap(data) {
|
setMap(data,res) {
|
||||||
data.forEach(item => {
|
var arr = data.concat(res)
|
||||||
|
arr.forEach(item => {
|
||||||
this.$set(this.textStatusMap, item.value, item.label)
|
this.$set(this.textStatusMap, item.value, item.label)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -293,6 +293,7 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standName"
|
prop="standName"
|
||||||
|
show-overflow-tooltip
|
||||||
:label="standLabelName"
|
:label="standLabelName"
|
||||||
align="center"
|
align="center"
|
||||||
width="260px"
|
width="260px"
|
||||||
@@ -305,6 +306,7 @@
|
|||||||
prop="standEnName"
|
prop="standEnName"
|
||||||
align="center"
|
align="center"
|
||||||
width="180px"
|
width="180px"
|
||||||
|
show-overflow-tooltip
|
||||||
label="英文名称">
|
label="英文名称">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<a @click="handlePreview(scope.row)">{{ scope.row.standEnName }}</a>
|
<a @click="handlePreview(scope.row)">{{ scope.row.standEnName }}</a>
|
||||||
@@ -314,30 +316,35 @@
|
|||||||
prop="typeApplicable"
|
prop="typeApplicable"
|
||||||
align="center"
|
align="center"
|
||||||
width="180px"
|
width="180px"
|
||||||
|
show-overflow-tooltip
|
||||||
label="适用车型">
|
label="适用车型">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="nylx"
|
prop="nylx"
|
||||||
align="center"
|
align="center"
|
||||||
width="180px"
|
width="180px"
|
||||||
|
show-overflow-tooltip
|
||||||
label="能源类型">
|
label="能源类型">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="syrz"
|
prop="syrz"
|
||||||
align="center"
|
align="center"
|
||||||
width="180px"
|
width="180px"
|
||||||
|
show-overflow-tooltip
|
||||||
label="适用认证">
|
label="适用认证">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="ssrq"
|
prop="ssrq"
|
||||||
align="center"
|
align="center"
|
||||||
width="210px"
|
width="210px"
|
||||||
|
show-overflow-tooltip
|
||||||
label="标准实施日期">
|
label="标准实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
prop="zccssrqgj"
|
prop="zccssrqgj"
|
||||||
width="210px"
|
width="210px"
|
||||||
|
show-overflow-tooltip
|
||||||
align="center"
|
align="center"
|
||||||
label="在产车实施日期">
|
label="在产车实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -345,12 +352,13 @@
|
|||||||
prop="xcxssrqgj"
|
prop="xcxssrqgj"
|
||||||
align="center"
|
align="center"
|
||||||
width="210px"
|
width="210px"
|
||||||
|
show-overflow-tooltip
|
||||||
label="新车型实施日期">
|
label="新车型实施日期">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
show-overflow-tooltip
|
|
||||||
prop="zrbm"
|
prop="zrbm"
|
||||||
width="210px"
|
width="210px"
|
||||||
|
show-overflow-tooltip
|
||||||
align="center"
|
align="center"
|
||||||
label="责任部门">
|
label="责任部门">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|||||||
@@ -89,14 +89,9 @@
|
|||||||
width="190px"
|
width="190px"
|
||||||
>
|
>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span v-if="scope.row.standSortShow === undefined"
|
<a class="table-jump" style="margin-left: 10px"
|
||||||
style="margin-left: 10px">{{
|
@click="handlePreview(scope.row)" v-if="scope.row.standSortShow === undefined" >{{scope.row.standSort + ' ' + scope.row.standNumber + '-' + scope.row.standYear}}</a>
|
||||||
scope.row.standSort + ' ' + scope.row.standNumber + '-' + scope.row.standYear
|
<a class="table-jump" style="margin-left: 10px" @click="handlePreview(scope.row)" v-else >{{scope.row.standSortShow + ' ' + scope.row.standNumber + '-' + scope.row.standYear}}</a>
|
||||||
}}</span>
|
|
||||||
<span v-else
|
|
||||||
style="margin-left: 10px">{{
|
|
||||||
scope.row.standSortShow + ' ' + scope.row.standNumber + '-' + scope.row.standYear
|
|
||||||
}}</span>
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
@@ -105,6 +100,9 @@
|
|||||||
min-width="300"
|
min-width="300"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
>
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<a class="table-jump" style="margin-left: 10px" @click="handlePreview(scope.row)">{{scope.row.standName}}</a>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="standEnName"
|
prop="standEnName"
|
||||||
@@ -112,6 +110,9 @@
|
|||||||
min-width="300"
|
min-width="300"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
>
|
>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<a class="table-jump" style="margin-left: 10px" @click="handlePreview(scope.row)">{{scope.row.standEnName}}</a>
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="ssrq"
|
prop="ssrq"
|
||||||
@@ -823,14 +824,38 @@ export default {
|
|||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview(item) {
|
handlePreview(item) {
|
||||||
let routeUrl = this.$router.resolve({
|
switch (item.standType) {
|
||||||
name: 'OtherStandardDetails',
|
case 'FOREIGN':
|
||||||
params: {
|
let routeUrl = this.$router.resolve({
|
||||||
id: item.id,
|
name: 'OtherStandardDetails',
|
||||||
pageType: 'INLAND_STAND'
|
params: {
|
||||||
}
|
id: item.standId,
|
||||||
})
|
pageType: 'FOREIGN_STAND'
|
||||||
window.open(routeUrl.href, '_blank')
|
}
|
||||||
|
})
|
||||||
|
window.open(routeUrl.href, '_blank')
|
||||||
|
break;
|
||||||
|
case 'INLAND':
|
||||||
|
let routeUrl1 = this.$router.resolve({
|
||||||
|
name: 'OtherStandardDetails',
|
||||||
|
params: {
|
||||||
|
id: item.standId,
|
||||||
|
pageType: 'INLAND_STAND'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
window.open(routeUrl1.href, '_blank')
|
||||||
|
break;
|
||||||
|
case 'BUSINESS_STAND':
|
||||||
|
let routeUrl2 = this.$router.resolve({
|
||||||
|
name: 'OtherBussStandardDetails',
|
||||||
|
params: {
|
||||||
|
id: item.standId,
|
||||||
|
pageType: 'BUSINESS_STAND'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
window.open(routeUrl2.href, '_blank')
|
||||||
|
break;
|
||||||
|
}
|
||||||
},
|
},
|
||||||
back() {
|
back() {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
|
|||||||
Reference in New Issue
Block a user