style(contract-manage): 优化合同管理标签样式和表单布局
- 为合同格式、法人章和一式字段添加统一的标签宽度72px - 合同管理弹窗标签支持长文字自动换行,提升显示效果 - Vite配置中新增本地开发服务器端口设置及API代理规则调整,便于本地联调接口
This commit is contained in:
@@ -386,6 +386,7 @@ export const option = createCrudOption([
|
||||
{
|
||||
label: '合同格式',
|
||||
prop: 'contractFormat',
|
||||
labelWidth: '72px',
|
||||
type: 'select',
|
||||
dicData: [
|
||||
{ label: '电子合同', value: '电子合同' },
|
||||
@@ -399,6 +400,7 @@ export const option = createCrudOption([
|
||||
{
|
||||
label: '是否需要加盖法人章',
|
||||
prop: 'legalSealFlag',
|
||||
labelWidth: '72px',
|
||||
type: 'select',
|
||||
dicData: [
|
||||
{ label: '否', value: 0 },
|
||||
@@ -413,6 +415,7 @@ export const option = createCrudOption([
|
||||
{
|
||||
label: '一式',
|
||||
prop: 'copyCount',
|
||||
labelWidth: '72px',
|
||||
formslot: true,
|
||||
hide: true,
|
||||
order: 60,
|
||||
|
||||
@@ -18,3 +18,11 @@ export default {
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
/* 合同管理弹窗:长 label(如"是否需要加盖法人章")在标签列内自动换行 */
|
||||
.el-dialog .el-form-item__label {
|
||||
white-space: normal;
|
||||
line-height: 1.2;
|
||||
}
|
||||
</style>
|
||||
|
||||
+13
-13
@@ -50,26 +50,26 @@ export default ({
|
||||
__VUE_I18N_LEGACY_API__: true,
|
||||
__INTLIFY_PROD_DEVTOOLS__: false,
|
||||
},
|
||||
// server: {
|
||||
// port: 2888,
|
||||
// proxy: {
|
||||
// '/api': {
|
||||
// target: 'http://localhost',
|
||||
// //target: 'https://saber3.bladex.cn/api',
|
||||
// changeOrigin: true,
|
||||
// rewrite: path => path.replace(/^\/api/, ''),
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
server: {
|
||||
port: 2889,
|
||||
port: 2888,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://172.16.203.228:8000',
|
||||
target: 'http://localhost',
|
||||
//target: 'https://saber3.bladex.cn/api',
|
||||
changeOrigin: true,
|
||||
rewrite: path => path.replace(/^\/api/, ''),
|
||||
},
|
||||
},
|
||||
},
|
||||
// server: {
|
||||
// port: 2889,
|
||||
// proxy: {
|
||||
// '/api': {
|
||||
// target: 'http://172.16.203.228:8000',
|
||||
// changeOrigin: true,
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
resolve: {
|
||||
alias: {
|
||||
'~': resolve(__dirname, './'),
|
||||
|
||||
Reference in New Issue
Block a user