修改禅道已知bug

This commit is contained in:
qq787203167
2022-08-15 09:54:36 +08:00
parent 1c34ab2e19
commit 30c05a935d
2 changed files with 27 additions and 5 deletions
@@ -75,7 +75,7 @@
</a-form>
</div>
<div class="table-operator">
<div @click="initiatingProcessClick" class="operator-text">
<div @click="initiatingProcessClick" v-has="'regulatoryComments:initiationProcess'" class="operator-text">
<a-icon type="apartment"/>
{{$t('initiatingProcess')}}
</div>
@@ -19,10 +19,18 @@
<div class="title-text" :title="$t('applicableMarket')">
<span>{{$t('applicableMarket')}}</span>
</div>
<j-dict-select-tag class="box-input" v-model="queryParam.applyMarket"
:placeholder="$t('PleaseSelect')+$t('applicableMarket')"
:type="'select'"
:triggerChange="false" :dictCode="'region'"/>
<a-select class="box-input"
:placeholder="$t('PleaseSelect')+$t('applicableMarket')"
style="width: 100%"
v-model="queryParam.applyMarket">
<a-select-option v-for="(item, key) in applyMarketList"
:key="key"
:value="item.value">
<span style="display: inline-block;width: 100%" :title=" item.title ">
{{ item.title}}
</span>
</a-select-option>
</a-select>
</div>
</a-col>
<a-col :md="6" :sm="8">
@@ -150,6 +158,7 @@
deleteBatch: '/problemKnowledgeBase/countryCardManageReleaseEO/deleteBatch'
},
userInfoQuery: {},
applyMarketList: [],
selectedRowKeys: [],
columns: [
{
@@ -177,10 +186,20 @@
mounted() {
document.title = 'Country Card-' + this.$t('managePublishing')
this.getList()
this.getApplyMarketList()
this.userInfoQuery = this.userInfo()
},
methods: {
...mapGetters(['userInfo']),
getApplyMarketList() {
getAction('/problemKnowledgeBase/countryCardManageReleaseEO/getApplyMarketList', { queryFlag: '1' }).then((res) => {
if (res.success) {
this.applyMarketList = res.result || []
} else {
this.applyMarketList = []
}
})
},
searchQuery() {
this.pageNo = 1
this.getList()
@@ -200,6 +219,7 @@
this.getList()
},
countryCardReleaseAddForm() {
this.getApplyMarketList()
this.pageNo = 1
this.getList()
},
@@ -256,6 +276,7 @@
_this.$message.success(_this.$t('OperationSuccessful'))
_this.selectedRowKeys = []
_this.getList()
_this.getApplyMarketList()
} else {
_this.$message.warning(res.message)
}
@@ -317,6 +338,7 @@
if (res.success) {
_this.$message.success(_this.$t('OperationSuccessful'))
_this.getList()
_this.getApplyMarketList()
} else {
_this.$message.warning(res.message)
}