兼容无信息

This commit is contained in:
yunkexin 2026-03-30 08:57:45 +08:00
parent 8ad94a3eef
commit a9a7b8fe14

View File

@ -19,9 +19,9 @@
<!-- <u-form-item label="组织结构" prop="department" border-bottom> <!-- <u-form-item label="组织结构" prop="department" border-bottom>
<text>{{userInfo.DepartmentName}}</text> <text>{{userInfo.DepartmentName}}</text>
</u-form-item> --> </u-form-item> -->
<u-form-item label="组织结构" prop="job" @click="handleChange(userInfo.Nav_Department.NAME)"> <u-form-item label="组织结构" prop="job" @click="handleChange">
<!-- @click="handleShowSheet({title: '作业名称', name: 'stepName'})" --> <!-- @click="handleShowSheet({title: '作业名称', name: 'stepName'})" -->
<u--input disabledColor="#fff" v-model="(userInfo.Nav_Department||[]).NAME" disabled placeholder="请选择组织" suffixIcon="arrow-right" suffixIconStyle="font-size:12px" fontSize="14px" <u--input disabledColor="#fff" v-model="(userInfo.Nav_Department||{}).NAME" disabled placeholder="请选择组织" suffixIcon="arrow-right" suffixIconStyle="font-size:12px" fontSize="14px"
customStyle="margin:0px;display:flex;padding:3px 9px" border="none" inputAlign="right"> customStyle="margin:0px;display:flex;padding:3px 9px" border="none" inputAlign="right">
</u--input> </u--input>
@ -32,9 +32,9 @@
<!-- <u-form-item label="岗位" prop="job"> <!-- <u-form-item label="岗位" prop="job">
<text>{{userInfo.PostName}}</text> <text>{{userInfo.PostName}}</text>
</u-form-item> --> </u-form-item> -->
<u-form-item label="岗位" prop="job" @click="handleChangeStep(userInfo.Nav_Person.Nav_Post.NAME)"> <u-form-item label="岗位" prop="job" @click="handleChangeStep">
<!-- @click="handleShowSheet({title: '作业名称', name: 'stepName'})" --> <!-- @click="handleShowSheet({title: '作业名称', name: 'stepName'})" -->
<u--input disabledColor="#fff" v-model="userInfo.Nav_Person.Nav_Post.NAME" disabled placeholder="请选择岗位" suffixIcon="arrow-right" suffixIconStyle="font-size:12px" fontSize="14px" <u--input disabledColor="#fff" v-model="(userInfo.Nav_Person.Nav_Post||{}).NAME" disabled placeholder="请选择岗位" suffixIcon="arrow-right" suffixIconStyle="font-size:12px" fontSize="14px"
customStyle="margin:0px;display:flex;padding:3px 9px" border="none" inputAlign="right"> customStyle="margin:0px;display:flex;padding:3px 9px" border="none" inputAlign="right">
</u--input> </u--input>
@ -221,7 +221,7 @@
this.showPopupStep = false this.showPopupStep = false
// this.showPopupCertificate = false // this.showPopupCertificate = false
}, },
handleChangeStep(step) { handleChangeStep() {
this.currentOperateStep = {} this.currentOperateStep = {}
this.showPopupStep = true this.showPopupStep = true
this.handleSearchStep('init') this.handleSearchStep('init')
@ -259,7 +259,7 @@
this.userInfo.Nav_Person.Nav_Post = val this.userInfo.Nav_Person.Nav_Post = val
this.userInfo.Nav_Person.POST_ID = val.ID this.userInfo.Nav_Person.POST_ID = val.ID
}, },
handleChange(step) { handleChange() {
this.currentOperate = {} this.currentOperate = {}
this.showPopup = true this.showPopup = true
this.handleSearch('init') this.handleSearch('init')