Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -1075,7 +1075,7 @@
|
||||
<el-input
|
||||
v-model="detail.reviewScore"
|
||||
maxlength="10"
|
||||
:disabled="readonly"
|
||||
:disabled="readonly || !hasPermission('customer_type_re_cert')"
|
||||
@input="value => handleScoreDetailScoreInput(detail, 'reviewScore', value)"
|
||||
>
|
||||
<template #suffix>分</template>
|
||||
@@ -1147,7 +1147,13 @@
|
||||
|
||||
<template #footer>
|
||||
<el-button type="primary" v-if="!readonly" @click="saveScoreDetail">保存</el-button>
|
||||
<el-button type="primary" v-if="!readonly" @click="confirmReviewScore">复评确认</el-button>
|
||||
<el-button
|
||||
v-if="!readonly && hasPermission('customer_type_re_cert')"
|
||||
type="primary"
|
||||
@click="confirmReviewScore"
|
||||
>
|
||||
复评确认
|
||||
</el-button>
|
||||
<el-button type="primary" @click="scoreBox = false">关闭</el-button>
|
||||
</template>
|
||||
</el-dialog>
|
||||
|
||||
@@ -62,11 +62,11 @@ export default ({
|
||||
server: {
|
||||
port: 2888,
|
||||
proxy: {
|
||||
// 开发期同源代理:浏览器请求 /api/xxx -> 由 Vite 转发到 http://172.16.203.228:8000/api/xxx
|
||||
// 必须保留 /api 前缀(不要 rewrite 去掉),与 openresty/nginx 期望的路径一致,从而规避跨域(CORS)问题
|
||||
'/api': {
|
||||
target: 'http://172.16.203.228:8000',
|
||||
target: 'http://localhost',
|
||||
//target: 'https://saber3.bladex.cn/api',
|
||||
changeOrigin: true,
|
||||
rewrite: path => path.replace(/^\/api/, ''),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user