feat(areaRegionConfig): getconfig after get awards

This commit is contained in:
woody 2025-07-25 11:11:04 +08:00
parent cff42baffb
commit 7e8badfa8f
1 changed files with 12 additions and 5 deletions

View File

@ -6,6 +6,9 @@
:moren="moren"
/>
<div class="main">
<el-alert type="warning" :closable="false">
5%比例维护为0.0510%比例维护为0.1以此类推
</el-alert>
<div class="maintable">
<el-table
:data="tableData"
@ -18,7 +21,7 @@
{{ getAreaTextByType(scope.row.areaType) }}
</template>
</el-table-column>
<el-table-column width="200px" align="center" prop="cloudTypeVal" label="奖衔">
<el-table-column width="200px" align="center" prop="awardsValue" label="奖衔">
<template slot-scope="scope">
<el-select v-model="scope.row.awardsValue" clearable :disabled="ifupdate">
<el-option v-for="item in awardsList" :key="item.awardsValue" :label="item.awardsName" :value="item.awardsValue" />
@ -63,8 +66,9 @@ export default {
}
},
created() {
this.getAwardsListChiose().then(() => {
this.getAreaRegionConfig()
this.getAwardsListChiose()
})
},
methods: {
getAreaRegionConfig() {
@ -77,8 +81,11 @@ export default {
return areaList[type - 1]
},
getAwardsListChiose() {
return new Promise((resolve, reject) => {
getAwardsListChiose().then((res) => {
this.awardsList = res.rows
resolve()
})
})
},
//