修改权限
This commit is contained in:
parent
60b85aceab
commit
a0a756548c
@ -86,7 +86,7 @@ if (process.env.NODE_ENV == "development") {
|
||||
// axios.defaults.baseURL = 'http://192.168.34.221:28889/' //郭圣雄本地
|
||||
// axios.defaults.baseURL = 'http://192.168.34.221:9111/' //郭圣雄本地
|
||||
// axios.defaults.baseURL = 'http://192.168.34.155:19111/' //彭洁本地
|
||||
// axios.defaults.baseURL = 'http://182.90.224.237:51234' //郭圣雄远程
|
||||
axios.defaults.baseURL = 'http://182.90.224.237:51234' //郭圣雄远程
|
||||
// axios.defaults.baseURL = 'http://jxj.zhgdyun.com:61212/' //彭洁远程
|
||||
// axios.defaults.baseURL ='http://101.43.164.214:45020/' //沈阳和盈
|
||||
// axios.defaults.baseURL ='http://183.249.224.118:9000/' //嘉兴王江泾公用码头
|
||||
@ -97,7 +97,7 @@ if (process.env.NODE_ENV == "development") {
|
||||
// axios.defaults.baseURL = 'http://47.93.215.234:9809/'//鞍钢正式地址(弃用)
|
||||
// axios.defaults.baseURL = 'http://42.180.188.17:9809/'//鞍钢正式地址
|
||||
// axios.defaults.baseURL = 'http://47.93.215.234:11211/'//鞍钢测试地址(弃用)
|
||||
axios.defaults.baseURL = "http://42.180.188.17:11211/"; //鞍钢测试地址
|
||||
// axios.defaults.baseURL = "http://42.180.188.17:11211/"; //鞍钢测试地址
|
||||
// axios.defaults.baseURL = 'http://jxj.zhgdyun.com:19814/'//测试地址
|
||||
} else if (process.env.NODE_ENV == "debug") {
|
||||
axios.defaults.baseURL = "https://www.ceshi.com";
|
||||
|
||||
@ -49,6 +49,7 @@
|
||||
type="text"
|
||||
size="mini"
|
||||
@click.stop="() => singleEditState(node, data, 0)"
|
||||
v-permission="{key: 'criterion_stop_open', menuPath: '/project/quality/criterion'}"
|
||||
>
|
||||
{{ $t('message.quality.click')
|
||||
}}{{ $t('message.quality.startUsing') }}
|
||||
@ -58,7 +59,7 @@
|
||||
type="text"
|
||||
size="mini"
|
||||
@click.stop="() => singleEditState(node, data, 1)"
|
||||
|
||||
v-permission="{key: 'criterion_stop_open', menuPath: '/project/quality/criterion'}"
|
||||
>
|
||||
{{ $t('message.quality.click')
|
||||
}}{{ $t('message.quality.forbidden') }}
|
||||
@ -181,23 +182,23 @@
|
||||
}}</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<div class="tab_btn_wrap" v-if="tableData.length > 0">
|
||||
<div class="tab_btn_wrap" v-if="tableData.length == 0">
|
||||
<el-button
|
||||
v-permission="{key: 'criterions_stop_open', menuPath: '/project/quality/criterion'}"
|
||||
type="primary"
|
||||
size="small"
|
||||
:disabled="showBatch"
|
||||
@click="editState(0)"
|
||||
v-permission="{key: 'criterion_open', menuPath: '/project/quality/criterion'}"
|
||||
>{{
|
||||
$t('message.quality.batch') + $t('message.quality.startUsing')
|
||||
}}</el-button
|
||||
>
|
||||
<el-button
|
||||
v-permission="{key: 'criterions_stop_open', menuPath: '/project/quality/criterion'}"
|
||||
type="primary"
|
||||
size="small"
|
||||
:disabled="showBatch"
|
||||
@click="editState(1)"
|
||||
v-permission="{key: 'criterion_stop', menuPath: '/project/quality/criterion'}"
|
||||
>{{
|
||||
$t('message.quality.batch') + $t('message.quality.forbidden')
|
||||
}}</el-button
|
||||
|
||||
@ -49,16 +49,17 @@
|
||||
type="text"
|
||||
size="mini"
|
||||
@click.stop="() => singleEditState(node, data, 0)"
|
||||
v-permission="{key: 'criterion_stop_open', menuPath: '/project/safeSame/criterion'}"
|
||||
>
|
||||
{{ $t('message.quality.click')
|
||||
}}{{ $t('message.quality.startUsing') }}
|
||||
</el-button>
|
||||
<!-- v-permission="{key: 'criterion_stop', menuPath: '/project/safeSame/criterion'}" -->
|
||||
<el-button
|
||||
v-if="data.recordStatus != 1"
|
||||
type="text"
|
||||
size="mini"
|
||||
@click.stop="() => singleEditState(node, data, 1)"
|
||||
v-permission="{key: 'criterion_stop_open', menuPath: '/project/safeSame/criterion'}"
|
||||
>
|
||||
{{ $t('message.quality.click')
|
||||
}}{{ $t('message.quality.forbidden') }}
|
||||
@ -193,7 +194,7 @@
|
||||
</el-table>
|
||||
<div class="tab_btn_wrap" v-if="tableData.length > 0">
|
||||
<el-button
|
||||
v-permission="{key: 'criterion_open', menuPath: '/project/safeSame/criterion'}"
|
||||
v-permission="{key: 'criterions_stop_open', menuPath: '/project/safeSame/criterion'}"
|
||||
type="primary"
|
||||
size="small"
|
||||
:disabled="showBatch"
|
||||
@ -203,7 +204,7 @@
|
||||
}}</el-button
|
||||
>
|
||||
<el-button
|
||||
v-permission="{key: 'criterion_stop', menuPath: '/project/safeSame/criterion'}"
|
||||
v-permission="{key: 'criterions_stop_open', menuPath: '/project/safeSame/criterion'}"
|
||||
type="primary"
|
||||
size="small"
|
||||
:disabled="showBatch"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user