Browse Source

2024-1-6

master
qiezi 1 year ago
parent
commit
16bee8d866
  1. 6
      src/views/modules/proofing/requestForProofing.vue
  2. 6
      src/views/modules/quotation/requestForQuote.vue
  3. 4
      src/views/modules/quote/index.vue
  4. 2
      src/views/modules/quote/primary/quoteSearch.vue
  5. 6
      src/views/modules/test/requestForTest.vue

6
src/views/modules/proofing/requestForProofing.vue

@ -73,7 +73,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item :label="' '"> <el-form-item :label="' '">
<el-button v-if="isAuth('103001:query')" @click="getDataList()">查询</el-button>
<el-button @click="getDataList()">查询</el-button>
<el-button v-if="isAuth('103001:save')" type="primary" @click="addModal()">新增</el-button> <el-button v-if="isAuth('103001:save')" type="primary" @click="addModal()">新增</el-button>
<el-button v-if="isAuth('103001:remove')" type="primary" @click="delModal()">删除</el-button> <el-button v-if="isAuth('103001:remove')" type="primary" @click="delModal()">删除</el-button>
<download-excel <download-excel
@ -2141,14 +2141,10 @@ export default {
}) })
}, },
created() { created() {
if (this.isAuth('103001:query')){
this.handleRouteQuery(); this.handleRouteQuery();
}
}, },
activated() { activated() {
if (this.isAuth('103001:query')){
this.handleRouteQuery(); this.handleRouteQuery();
}
}, },
methods: { methods: {
handleRouteQuery() { handleRouteQuery() {

6
src/views/modules/quotation/requestForQuote.vue

@ -80,7 +80,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item :label="' '"> <el-form-item :label="' '">
<el-button @click="getDataList()" v-if="isAuth('102001001:query')">查询</el-button>
<el-button @click="getDataList()">查询</el-button>
<el-button type="primary" @click="addModal()" v-if="isAuth('102001001:save')">新增</el-button> <el-button type="primary" @click="addModal()" v-if="isAuth('102001001:save')">新增</el-button>
<el-button type="primary" @click="delModal()" v-if="isAuth('102001001:remove')">删除</el-button> <el-button type="primary" @click="delModal()" v-if="isAuth('102001001:remove')">删除</el-button>
<download-excel v-if="isAuth('102001001:export')" <download-excel v-if="isAuth('102001001:export')"
@ -2073,14 +2073,10 @@ export default {
}) })
}, },
created() { created() {
if (this.isAuth('102001001:query')){
this.handleRouteQuery() this.handleRouteQuery()
}
}, },
activated () { activated () {
if (this.isAuth('102001001:query')){
this.handleRouteQuery() this.handleRouteQuery()
}
}, },
methods: { methods: {
handleRouteQuery(){ handleRouteQuery(){

4
src/views/modules/quote/index.vue

@ -977,7 +977,7 @@ export default {
}, },
}, },
created() { created() {
if (this.isMenu && this.searchIndex === 0 && this.isAuth('5011:query')){
if (this.isMenu && this.searchIndex === 0){
this.quoteForm = { this.quoteForm = {
...this.quote, ...this.quote,
site: this.$store.state.user.site, site: this.$store.state.user.site,
@ -1054,7 +1054,7 @@ export default {
}, },
}, },
activated() { activated() {
if (!this.isMenu && !this.isAuth('5011:query')){
if (!this.isMenu){
return return
} }
if (this.$route.params.ids){ if (this.$route.params.ids){

2
src/views/modules/quote/primary/quoteSearch.vue

@ -89,7 +89,7 @@ export default {
</el-col> </el-col>
<el-col :span="3"> <el-col :span="3">
<el-form-item label=" "> <el-form-item label=" ">
<el-button @click="$emit('search')" v-if="isAuth('5011:query')"> </el-button>
<el-button @click="$emit('search')"> </el-button>
<el-button type="primary" @click="$emit('save')" v-if="isAuth('5011:save')"> </el-button> <el-button type="primary" @click="$emit('save')" v-if="isAuth('5011:save')"> </el-button>
</el-form-item> </el-form-item>
</el-col> </el-col>

6
src/views/modules/test/requestForTest.vue

@ -79,7 +79,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item :label="' '"> <el-form-item :label="' '">
<el-button @click="getDataList()" v-if="isAuth('107001:query')">查询</el-button>
<el-button @click="getDataList()">查询</el-button>
<el-button type="primary" @click="addModal()" v-if="isAuth('107001:save')">新增</el-button> <el-button type="primary" @click="addModal()" v-if="isAuth('107001:save')">新增</el-button>
<el-button type="primary" @click="delModal()" v-if="isAuth('107001:remove')">删除</el-button> <el-button type="primary" @click="delModal()" v-if="isAuth('107001:remove')">删除</el-button>
<download-excel <download-excel
@ -2141,14 +2141,10 @@
}) })
}, },
created () { created () {
if (this.isAuth('107001:query')){
this.handleRouteQuery() this.handleRouteQuery()
}
}, },
activated () { activated () {
if (this.isAuth('107001:query')){
this.handleRouteQuery() this.handleRouteQuery()
}
}, },
methods: { methods: {
handleRouteQuery(){ handleRouteQuery(){

Loading…
Cancel
Save