feat(project-apply): 优化表单提示与客户承运商表格交互
- 将“项目资金使用额度”和“项目应收账款额度”提示从placeholder移至label右侧问号tooltip - 调整提示文案为“实际业务回款周期内付款”和“回款期内最大应收账款额” - 客户信息和承运商信息表格中“客户”“承运商”列变为可点击链接,点击跳转查看客商档案 - 删除客户和承运商表格中的“联系人”“联系方式”列 - 表单输入框placeholder统一调整为“请选择”或“请输入” - 新增openCustomerArchive方法支持查看客商档案,缺失ID时提示警告 - 项目申请页面用户查询条件由account改为phone,相关表格列同步调整 - 部门管理权限调整,操作列只显示“添加”按钮,删除查看、编辑、删除按钮相关代码及样式 - Vite配置中更新本地开发端口为2889并修改API代理目标地址为局域网地址http://172.16.203.228:8000 - 修正项目申请页面部分样式,使label问号图标与文字baseline对齐和换行显示
This commit is contained in:
+11
-21
@@ -32,15 +32,6 @@
|
||||
</el-button>
|
||||
</template>
|
||||
<template #menu="scope">
|
||||
<el-link type="primary" @click.stop="handleView(scope.row, scope.index)" v-if="permissionList.viewBtn"
|
||||
>查看</el-link
|
||||
>
|
||||
<el-link type="primary" @click.stop="handleEdit(scope.row, scope.index)" v-if="permissionList.editBtn"
|
||||
>编辑</el-link
|
||||
>
|
||||
<el-link type="danger" @click.stop="handleDel(scope.row, scope.index)" v-if="permissionList.delBtn"
|
||||
>删除</el-link
|
||||
>
|
||||
<el-link
|
||||
type="primary"
|
||||
@click.stop="handleAdd(scope.row, scope.index)"
|
||||
@@ -186,9 +177,7 @@ export default {
|
||||
border: true,
|
||||
index: true,
|
||||
selection: true,
|
||||
viewBtn: false,
|
||||
editBtn: false,
|
||||
delBtn: false,
|
||||
viewBtn: true,
|
||||
menuWidth: 320,
|
||||
dialogWidth: 800,
|
||||
dialogClickModal: false,
|
||||
@@ -530,15 +519,6 @@ export default {
|
||||
isRootDept(row) {
|
||||
return row && (row.parentId === 0 || String(row.parentId) === '0');
|
||||
},
|
||||
handleView(row, index) {
|
||||
this.$refs.crud.rowView(row, index);
|
||||
},
|
||||
handleEdit(row, index) {
|
||||
this.$refs.crud.rowEdit(row, index);
|
||||
},
|
||||
handleDel(row, index) {
|
||||
this.$refs.crud.rowDel(row, index);
|
||||
},
|
||||
handleAdd(row) {
|
||||
this.parentId = row.id;
|
||||
this.loadParentDeptCode(row.id);
|
||||
@@ -774,4 +754,14 @@ export default {
|
||||
display: inline-flex;
|
||||
}
|
||||
}
|
||||
|
||||
/* 操作列删除按钮使用危险色 */
|
||||
:deep(.avue-crud__menu > .el-button.is-text.avue-crud__delBtn) {
|
||||
color: var(--el-color-danger);
|
||||
}
|
||||
|
||||
:deep(.avue-crud__menu > .el-button.is-text.avue-crud__delBtn:hover),
|
||||
:deep(.avue-crud__menu > .el-button.is-text.avue-crud__delBtn:focus) {
|
||||
color: var(--el-color-danger-light-3);
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user