bug
This commit is contained in:
@@ -77,19 +77,18 @@
|
||||
<el-form-item class="search-item btn-box">
|
||||
<el-button
|
||||
:loading="searching"
|
||||
icon="el-icon-search"
|
||||
type="primary"
|
||||
class="common-button-primary"
|
||||
size="mini"
|
||||
v-btn-permission="'366c89d1c54465faca96aaed26a158b1'"
|
||||
@click="searchBtnClick(standCommonlySearch)">
|
||||
查询
|
||||
</el-button>
|
||||
<el-button
|
||||
class="common-button-default"
|
||||
icon="el-icon-refresh-left"
|
||||
size="mini"
|
||||
v-btn-permission="'31ac9f600d8a3072ba088f1c106df359'"
|
||||
@click="clearAllSearch('standCommonlySearch')"></el-button>
|
||||
@click="clearAllSearch('standCommonlySearch')">清空</el-button>
|
||||
<el-button type="primary" class="common-button-primary" size="mini" @click="selectMoreBtn"><i class="iconfont" v-btn-permission="'c9390928e5a3107956c7d43d8bde5cba'"></i>高级查询</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
@@ -198,14 +197,17 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standStateShow"
|
||||
prop="textStatus"
|
||||
sortable="custom"
|
||||
width="120px"
|
||||
label="标准状态">
|
||||
<template slot="header" slot-scope="scope">
|
||||
<el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">
|
||||
<span>标准状态 <i class="el-icon-warning-outline"></i></span>
|
||||
</el-tooltip>
|
||||
label="文本状态">
|
||||
<!-- <template slot="header" slot-scope="scope">-->
|
||||
<!-- <el-tooltip class="item" effect="dark" content="计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" placement="bottom">-->
|
||||
<!-- <span>文本状态 <i class="el-icon-warning-outline"></i></span>-->
|
||||
<!-- </el-tooltip>-->
|
||||
<!-- </template>-->
|
||||
<template slot-scope="scope">
|
||||
<span>{{ textStatusMap[scope.row.textStatus] }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" width="50" fixed="right">
|
||||
@@ -697,10 +699,13 @@
|
||||
align="center">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standStateShow"
|
||||
label="标准状态"
|
||||
prop="textStatus"
|
||||
label="文本状态"
|
||||
width="130"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ textStatusMap[scope.row.textStatus] }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<!--分页-->
|
||||
@@ -895,10 +900,13 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="standStateShow"
|
||||
label="标准状态"
|
||||
prop="textStatus"
|
||||
label="文本状态"
|
||||
width="200"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ textStatusMap[scope.row.textStatus] }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
@@ -1094,6 +1102,7 @@ export default {
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
textStatusMap: {}, // 文本状态id与name对应
|
||||
treeList: [],
|
||||
props: {
|
||||
label: 'menuName',
|
||||
@@ -1713,6 +1722,13 @@ export default {
|
||||
watch: {
|
||||
},
|
||||
methods: {
|
||||
// 将文本状态的id与name对应
|
||||
setMap(data){
|
||||
data.forEach(item => {
|
||||
this.$set(this.textStatusMap, item.value, item.label)
|
||||
})
|
||||
console.log(this.textStatusMap, '文本状态的值')
|
||||
},
|
||||
popoverHideBusVs (checkedIds, checkedData) {
|
||||
if(checkedData){
|
||||
this.sarStandardsInfoEO.CYCVPPSBM = checkedData.code
|
||||
@@ -3944,6 +3960,7 @@ export default {
|
||||
this.categoryConfigOptions = res.data.CATEGORY
|
||||
this.standAttributeList = res.data.RULETYPE
|
||||
this.getGzzOption()
|
||||
this.setMap(this.standStateOptions)
|
||||
}, e => {
|
||||
})
|
||||
this.getDomesticStandardTable()
|
||||
|
||||
Reference in New Issue
Block a user