|
|
@ -34,33 +34,37 @@ |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
|
|
|
|
|
|
|
|
<template v-if="!model.id"> |
|
|
|
<template v-if="!model.id"> |
|
|
|
<a-col :span="12" > |
|
|
|
<a-col :span="11" > |
|
|
|
<a-form-item label="登录密码" :labelCol="labelCol" :wrapperCol="wrapperCol" > |
|
|
|
<a-form-item label="登录密码" :labelCol="labelCol" :wrapperCol="wrapperCol" > |
|
|
|
<a-input type="password" placeholder="请输入登录密码" v-decorator="[ 'password',validatorRules.password]" /> |
|
|
|
<a-input type="password" placeholder="请输入登录密码" v-decorator="[ 'password',validatorRules.password]" /> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col > |
|
|
|
</a-col > |
|
|
|
<a-col :span="12" > |
|
|
|
<a-col :span="11" > |
|
|
|
<a-form-item label="确认密码" :labelCol="labelCol" :wrapperCol="wrapperCol" > |
|
|
|
<a-form-item label="确认密码" :labelCol="labelCol" :wrapperCol="wrapperCol" > |
|
|
|
<a-input type="password" @blur="handleConfirmBlur" placeholder="请重新输入登录密码" v-decorator="[ 'confirmpassword', validatorRules.confirmpassword]"/> |
|
|
|
<a-input type="password" @blur="handleConfirmBlur" placeholder="请重新输入登录密码" v-decorator="[ 'confirmpassword', validatorRules.confirmpassword]"/> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col > |
|
|
|
</a-col > |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
<a-col :span="12" > |
|
|
|
<a-col :span="11" > |
|
|
|
<a-form-item label="用户姓名" :labelCol="labelCol" :wrapperCol="wrapperCol" > |
|
|
|
<a-form-item label="用户姓名" :labelCol="labelCol" :wrapperCol="wrapperCol" > |
|
|
|
<a-input placeholder="请输入用户姓名" v-decorator.trim="[ 'realname', validatorRules.realname]" :disabled = "editMeans"/> |
|
|
|
<a-input placeholder="请输入用户姓名" v-decorator.trim="[ 'realname', validatorRules.realname]" :disabled = "editMeans"/> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="12" > |
|
|
|
</a-row> |
|
|
|
|
|
|
|
<a-row> |
|
|
|
|
|
|
|
<a-col :span="11" > |
|
|
|
<a-form-item label="工号" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<a-form-item label="工号" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<a-input placeholder="请输入工号" v-decorator.trim="[ 'workNo', validatorRules.workNo]" :disabled = "editMeans"/> |
|
|
|
<a-input placeholder="请输入工号" v-decorator.trim="[ 'workNo', validatorRules.workNo]" :disabled = "editMeans"/> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="12" > |
|
|
|
<a-col :span="11" > |
|
|
|
<a-form-item label="职务" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<a-form-item label="职务" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<j-select-position placeholder="请选择职务" :multiple="true" v-decorator.trim="['post']" :disabled = "editMeans"/> |
|
|
|
<j-select-position placeholder="请选择职务" :multiple="true" v-decorator.trim="['post']" :disabled = "editMeans"/> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="12" > |
|
|
|
</a-row> |
|
|
|
|
|
|
|
<a-row> |
|
|
|
|
|
|
|
<a-col :span="11" > |
|
|
|
<a-form-item label="角色分配" :labelCol="labelCol" :wrapperCol="wrapperCol" v-show="!roleDisabled" > |
|
|
|
<a-form-item label="角色分配" :labelCol="labelCol" :wrapperCol="wrapperCol" v-show="!roleDisabled" > |
|
|
|
<a-select |
|
|
|
<a-select |
|
|
|
mode="multiple" |
|
|
|
mode="multiple" |
|
|
@ -76,7 +80,7 @@ |
|
|
|
</a-select> |
|
|
|
</a-select> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="12" > |
|
|
|
<a-col :span="11" > |
|
|
|
<!--部门分配--> |
|
|
|
<!--部门分配--> |
|
|
|
<a-form-item label="部门分配" :labelCol="labelCol" :wrapperCol="wrapperCol" v-show="!departDisabled"> |
|
|
|
<a-form-item label="部门分配" :labelCol="labelCol" :wrapperCol="wrapperCol" v-show="!departDisabled"> |
|
|
|
<a-input-search |
|
|
|
<a-input-search |
|
|
@ -90,7 +94,7 @@ |
|
|
|
<!-- <j-select-depart v-model="checkedDepartNameString" :multi="false" :value="checkedDepartNameString" :trigger-change="true" ></j-select-depart>--> |
|
|
|
<!-- <j-select-depart v-model="checkedDepartNameString" :multi="false" :value="checkedDepartNameString" :trigger-change="true" ></j-select-depart>--> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
|
|
|
|
</a-row> |
|
|
|
<!--租户分配--> |
|
|
|
<!--租户分配--> |
|
|
|
<!-- <a-form-item label="租户分配" :labelCol="labelCol" :wrapperCol="wrapperCol" v-show="!departDisabled">--> |
|
|
|
<!-- <a-form-item label="租户分配" :labelCol="labelCol" :wrapperCol="wrapperCol" v-show="!departDisabled">--> |
|
|
|
|
|
|
|
|
|
|
@ -107,7 +111,8 @@ |
|
|
|
<!-- </a-form-item>--> |
|
|
|
<!-- </a-form-item>--> |
|
|
|
|
|
|
|
|
|
|
|
<!-- update--begin--autor:wangshuai-----date:20200108------for:新增身份和负责部门------ --> |
|
|
|
<!-- update--begin--autor:wangshuai-----date:20200108------for:新增身份和负责部门------ --> |
|
|
|
<a-col :span="12" > |
|
|
|
<a-row> |
|
|
|
|
|
|
|
<a-col :span="11" > |
|
|
|
<a-form-item label="头像" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<a-form-item label="头像" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<!-- <a-radio-group--> |
|
|
|
<!-- <a-radio-group--> |
|
|
|
<!-- v-model="identity"--> |
|
|
|
<!-- v-model="identity"--> |
|
|
@ -134,7 +139,7 @@ |
|
|
|
</a-upload> |
|
|
|
</a-upload> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="12" > |
|
|
|
<a-col :span="11" > |
|
|
|
<a-form-item label="签名" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<a-form-item label="签名" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<!-- <a-radio-group--> |
|
|
|
<!-- <a-radio-group--> |
|
|
|
<!-- v-model="identity"--> |
|
|
|
<!-- v-model="identity"--> |
|
|
@ -161,7 +166,8 @@ |
|
|
|
</a-upload> |
|
|
|
</a-upload> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="12" > |
|
|
|
</a-row> |
|
|
|
|
|
|
|
<a-row> |
|
|
|
<a-form-item label="负责部门" :labelCol="labelCol" :wrapperCol="wrapperCol" v-if="departIdShow==true"> |
|
|
|
<a-form-item label="负责部门" :labelCol="labelCol" :wrapperCol="wrapperCol" v-if="departIdShow==true"> |
|
|
|
<a-select |
|
|
|
<a-select |
|
|
|
mode="multiple" |
|
|
|
mode="multiple" |
|
|
@ -209,7 +215,7 @@ |
|
|
|
<!-- v-decorator="['birthday', {initialValue:!model.birthday?null:moment(model.birthday,dateFormat)}]"--> |
|
|
|
<!-- v-decorator="['birthday', {initialValue:!model.birthday?null:moment(model.birthday,dateFormat)}]"--> |
|
|
|
<!-- :getCalendarContainer="node => node.parentNode"/>--> |
|
|
|
<!-- :getCalendarContainer="node => node.parentNode"/>--> |
|
|
|
<!-- </a-form-item>--> |
|
|
|
<!-- </a-form-item>--> |
|
|
|
<a-col :span="12" > |
|
|
|
<a-col :span="11" > |
|
|
|
<a-form-item label="性别" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<a-form-item label="性别" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<a-select v-decorator="[ 'sex', {}]" placeholder="请选择性别" :getPopupContainer= "(target) => target.parentNode" :disabled = "editMeans"> |
|
|
|
<a-select v-decorator="[ 'sex', {}]" placeholder="请选择性别" :getPopupContainer= "(target) => target.parentNode" :disabled = "editMeans"> |
|
|
|
<a-select-option :value="1">男</a-select-option> |
|
|
|
<a-select-option :value="1">男</a-select-option> |
|
|
@ -217,12 +223,12 @@ |
|
|
|
</a-select> |
|
|
|
</a-select> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="12" > |
|
|
|
<a-col :span="11" > |
|
|
|
<a-form-item label="邮箱" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<a-form-item label="邮箱" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<a-input placeholder="请输入邮箱" v-decorator="[ 'email', validatorRules.email]" :disabled = "editMeans" /> |
|
|
|
<a-input placeholder="请输入邮箱" v-decorator="[ 'email', validatorRules.email]" :disabled = "editMeans" /> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="12" > |
|
|
|
<a-col :span="11" > |
|
|
|
<a-form-item label="手机号码" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<a-form-item label="手机号码" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<!-- <a-input placeholder="请输入手机号码" :disabled="isDisabledAuth('user:form:phone')" v-decorator="[ 'phone', validatorRules.phone]" />--> |
|
|
|
<!-- <a-input placeholder="请输入手机号码" :disabled="isDisabledAuth('user:form:phone')" v-decorator="[ 'phone', validatorRules.phone]" />--> |
|
|
|
<a-input placeholder="请输入手机号码" v-decorator="[ 'phone', validatorRules.phone]" :disabled = "editMeans" /> |
|
|
|
<a-input placeholder="请输入手机号码" v-decorator="[ 'phone', validatorRules.phone]" :disabled = "editMeans" /> |
|
|
|