更新页面

This commit is contained in:
2025-09-22 19:00:02 +08:00
parent 811fd41070
commit ed6cdcd0da
9 changed files with 25 additions and 41 deletions

View File

@ -3,7 +3,7 @@
<div class="head_box">
<span class="title">{{ title }}</span>
<div>
<el-button size="small" @click="save" type="primary" :loading="loading">保存</el-button>
<el-button size="small" @click="save" type="primary" v-if="!disabled" :loading="loading">保存</el-button>
<el-button size="small" @click="close">关闭</el-button>
</div>
</div>
@ -55,29 +55,27 @@ const dialogVisible = computed({
const formList = reactive([
[
{ label: "姓名", prop: "xm", type: "input" },
{ label: "证件号码", prop: "sfzh", type: "select", options: props.dic.D_BZ_BXDLX },
{ label: "证件号码", prop: "sfzh", type: "input"},
{ label: "联系电话", prop: "lxdh", type: "input" },
{ label: "居住地址", prop: "jzdz", type: "input" },
],
[
{ label: "入职时间", prop: "rzsj", type: "date" },
// { label: "离职时间", prop: "lzsj", type: "input" },
{ label: "离职时间", prop: "lzsj", type: "input" },
{ label: "文化程度", prop: "ssbmdm", type: "select" },
{ label: "资格证编号", prop: "zgzbh", type: "input" },
{ label: "资格证类型", prop: "zgzlx", type: "input" },
],
[
{ label: "资格证类型", prop: "zgzlx", type: "input" },
{ label: "资格证起始日期", prop: "zgzKssj", type: "date" },
{ label: "资格证截至日期", prop: "zgzJssj", type: "date" },
{ label: "岗位", prop: "ssbmdm", type: "input" },
{ label: "外派岗位", prop: "ssbmdm", type: "input" },
],
[
{ label: "从业人员照片", prop: "ssbmdm", type: "upload" },
{ label: "外派单位", prop: "ssbmdm", type: "input" },
],
[
{ label: "保安证件", prop: "bazzp", type: "upload", limit: 1 },
]
{ label: "从业人员照片", prop: "ssbmdm", type: "upload" },
{ label: "保安证件", prop: "bazzp", type: "upload", limit: 1 },
])
const rules = {