update 征求意见权限

This commit is contained in:
赵霄
2023-12-05 15:38:50 +08:00
parent 97858793f2
commit 04e1a21e87
2 changed files with 9 additions and 2 deletions
@@ -35,6 +35,7 @@
<a-button icon="upload" <a-button icon="upload"
type="primary" type="primary"
ghost ghost
v-has="'askForAdvice:detail:export'"
@click="handleExportXls($t('businessSupport.askForAdvice.detailsOfComments'), '.zip')"> @click="handleExportXls($t('businessSupport.askForAdvice.detailsOfComments'), '.zip')">
{{ $t('export') }} {{ $t('export') }}
</a-button> </a-button>
@@ -303,7 +304,7 @@ export default {
this.$openPageNewSheet({ this.$openPageNewSheet({
path, query path, query
}) })
}, }
} }
} }
</script> </script>
@@ -25,7 +25,7 @@
<a-col :md="6" :sm="8"> <a-col :md="6" :sm="8">
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons"> <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
<a-button type="primary" @click="searchQuery" icon="search" style="margin-left: 8px"> <a-button type="primary" @click="searchQuery" icon="search" style="margin-left: 8px" v-has="'askForAdvice:search'">
{{ $t('query') }} {{ $t('query') }}
</a-button> </a-button>
<a-button type="primary" @click="searchReset" icon="reload" ghost>{{ $t('reset') }}</a-button> <a-button type="primary" @click="searchReset" icon="reload" ghost>{{ $t('reset') }}</a-button>
@@ -66,9 +66,15 @@
import { JeroListMixin } from '@/mixins/JeroListMixin' import { JeroListMixin } from '@/mixins/JeroListMixin'
import JTable from '../../../components/jero/JTable' import JTable from '../../../components/jero/JTable'
import { filterObj } from '../../../utils/util' import { filterObj } from '../../../utils/util'
import { askForAdvice } from '../../../common/lang/businessSupport/zh'
export default { export default {
name: 'AskForAdviceList', name: 'AskForAdviceList',
computed: {
askForAdvice () {
return askForAdvice
}
},
components: { JTable }, components: { JTable },
mixins: [JeroListMixin], mixins: [JeroListMixin],
data () { data () {