YZProjectCloud/yanzhu-ui-app/miniprogram/pageage/project_magusers/add/index.wxml

122 lines
6.6 KiB
Plaintext

<view class="header_title">
<view class="header_title_row">
<van-row>
<van-col span="4">
<view class="header_img" bindtap="returnToPage">
<image src="/images/left.png"></image>
</view>
</van-col>
<van-col span="15">
<view class="header_name">{{form.id?'修改':'新增'}}总包人员</view>
</van-col>
</van-row>
</view>
</view>
<view class="max_content">
<van-steps steps="{{ flowNodes }}" active="{{ active }}" />
<view class="inspect_info">
<view class="module_title_2 module_title_padding">
<view>{{form.projectName}}</view>
</view>
<view class="inspect_info_list">
<van-row>
<van-col span="8">
<view class="markers inspect_info_title">身份证正面
</view>
<view class="inspect_info_content" style="margin-left: 10px;">
<file-uploader bindimages="fileUploadCardImgPos" iconClass="in-zcard-click" limit="{{limit}}" fileUrlArray="{{form.cardImgPos}}"></file-uploader>
</view>
</van-col>
<van-col span="8">
<view class="markers inspect_info_title">身份证反面
</view>
<view class="inspect_info_content" style="margin-left: 10px;">
<file-uploader bindimages="fileUploadCardImgInv" iconClass="in-fcard-click" limit="{{limit}}" fileUrlArray="{{form.cardImgInv}}"></file-uploader>
</view>
</van-col>
<van-col span="8">
<view class="markers inspect_info_title">半身清晰照
</view>
<view class="inspect_info_content" style="margin-left: 10px;">
<file-uploader bindimages="fileUploadUserPicture" limit="{{limit}}" fileUrlArray="{{form.avatar}}"></file-uploader>
</view>
</van-col>
</van-row>
</view>
<view class="inspect_info_list">
<view class="markers inspect_info_title">人员姓名
<text style="font-size: small; color: #ff711e;">[不可输入,证件自动识别]</text>
</view>
<view class="inspect_info_content">
<input placeholder="请填写姓名" placeholder-style="color:#6777aa;" bindinput="inputUserName" class="inspect_input_fill_in" disabled maxlength="30" model:value="{{form.nickName}}" />
</view>
</view>
<view class="inspect_info_list">
<view class="markers inspect_info_title">身份证号
<text style="font-size: small; color: #ff711e;">[不可输入,证件自动识别]</text>
</view>
<view class="inspect_info_content">
<input placeholder="请填写身份证号" placeholder-style="color:#6777aa;" bindinput="inputUserCode" class="inspect_input_fill_in" disabled maxlength="30" model:value="{{form.cardCode}}" />
</view>
</view>
<view class="inspect_info_list">
<view class="markers inspect_info_title">手机号码
<text wx:if="{{form.id}}" style="font-size: small; color: #ff711e;">[不可修改]</text>
</view>
<view class="inspect_info_content" wx:if="{{form.id}}">
<input placeholder-style="color:#6777aa;" model:value="{{form.phonenumber}}" class="inspect_input_fill_out" disabled />
</view>
<view class="inspect_info_content" wx:if="{{!form.id}}">
<input placeholder="请填写手机号码" placeholder-style="color:#6777aa;" bindinput="inputUserPhone" model:value="{{form.phonenumber}}" class="inspect_input_fill_in" maxlength="11"/>
</view>
</view>
<view class="safety_inspect_title module_title_flex">
<text class="color_delete">使用手机号码登录系统。</text>
</view>
<view class="inspect_info_list" wx:if="{{!form.id}}">
<view class="markers inspect_info_title">登陆密码</view>
<view class="inspect_info_content">
<input placeholder="请填写登陆密码" type="password" placeholder-style="color:#6777aa;" bindinput="inputPassword" class="inspect_input_fill_in" maxlength="30" model:value="{{form.password}}" />
</view>
</view>
<view class="inspect_info_list" wx:if="{{!form.id}}">
<view class="markers inspect_info_title">岗位部门</view>
<view class="inspect_info_content">
<voucher-select columns="{{deptsList}}" placeholder="请选择岗位部门" bindchange="onDepts" ></voucher-select>
</view>
</view>
<view class="inspect_info_list" wx:if="{{!form.id}}">
<view class="markers inspect_info_title">岗位级别</view>
<view class="inspect_info_content">
<voucher-select columns="{{postsList}}" placeholder="请选择岗位部门" bindchange="onPosts" selectValue="{{form._userPost}}"></voucher-select>
</view>
</view>
<view class="inspect_info_list" wx:if="{{form.id}}">
<view class="markers inspect_info_title">部门岗位</view>
<view class="inspect_info_content">
<input wx:for="{{allPostList}}" wx:key="index" wx:if="{{item.dictValue==form.workType}}" placeholder-style="color:#6777aa;" model:value="{{item.remark+item.dictLabel}}" class="inspect_input_fill_out" disabled />
</view>
</view>
<view class="inspect_info_list">
<view class="markers inspect_info_title">用户角色</view>
<view class="inspect_info_content">
<select-roles rectifierData="{{proRoleList}}" multiple="{{true}}" bindselected="onAddRoles" title="请选择用户角色" choose="{{form.roleNames}}"></select-roles>
</view>
</view>
<view class="safety_inspect_title module_title_flex">
<text class="color_orange">{{form.id?'修改':'新增'}}人员信息不进入审核流程、{{form.id?'修改':'新增'}}后立即生效。</text>
</view>
</view>
<view class="problem_submit_to">
<view class="problem_submit_to_btn" bindtap="cancelSaveView">取消</view>
<view class="problem_submit_to_btn problem_submit_to_save" bindtap="submitSubUsers">提交保存</view>
</view>
</view>
<van-overlay show="{{loadShow}}">
<view class="gif">
<image src="https://xiangguan.sxyanzhu.com/profile/static/images/loding.gif"></image>
<view>数据处理中!请稍后...</view>
</view>
</van-overlay>