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