|
|
|
@ -6,14 +6,14 @@
|
|
|
|
|
label-position="right">
|
|
|
|
|
<template v-if="!loading">
|
|
|
|
|
<!-- 具体表单 -->
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<jnpf-form-tip-item label="用户编码" prop="userCode">
|
|
|
|
|
<JnpfInput v-model="dataForm.userCode" @change="changeData('userCode',-1)" placeholder="请输入" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
<JnpfInput v-model="dataForm.userCode" :disabled="!changeId" @change="changeData('userCode', -1)"
|
|
|
|
|
placeholder="请输入" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<jnpf-form-tip-item label="用户名" prop="userName">
|
|
|
|
|
<JnpfInput v-model="dataForm.userName" @change="changeData('userName', -1)" placeholder="请输入" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
@ -21,45 +21,45 @@
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<jnpf-form-tip-item label="联系电话" prop="phone">
|
|
|
|
|
<JnpfInput v-model="dataForm.phone" @change="changeData('phone', -1)" placeholder="请输入" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<jnpf-form-tip-item label="人员归属" prop="userAscription">
|
|
|
|
|
<JnpfSelect v-model="dataForm.userAscription" @change="changeData('userAscription', -1)" placeholder="请选择"
|
|
|
|
|
clearable :style='{ "width": "100%" }' :options="userAscriptionOptions" :props="userAscriptionProps">
|
|
|
|
|
</JnpfSelect>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<jnpf-form-tip-item label="身份证号" prop="idCard">
|
|
|
|
|
<JnpfInput v-model="dataForm.idCard" @change="changeData('idCard', -1)" placeholder="请输入" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<jnpf-form-tip-item label="开始时间" prop="effectiveStartTime">
|
|
|
|
|
<JnpfDatePicker v-model="dataForm.effectiveStartTime" @change="changeData('effectiveStartTime', -1)"
|
|
|
|
|
:startTime="dateTime(false, 1, 1, '', '')" :endTime="dateTime(false, 1, 1, '', '')" placeholder="请选择" clearable
|
|
|
|
|
:style='{"width":"100%"}' type="datetime" format="yyyy-MM-dd HH:mm:ss">
|
|
|
|
|
:style='{ "width": "100%" }' type="datetime" format="yyyy-MM-dd">
|
|
|
|
|
</JnpfDatePicker>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<jnpf-form-tip-item label="结束时间" prop="effectiveEndTime">
|
|
|
|
|
<JnpfDatePicker v-model="dataForm.effectiveEndTime" @change="changeData('effectiveEndTime', -1)"
|
|
|
|
|
:startTime="dateTime(false, 1, 1, '', '')" :endTime="dateTime(false, 1, 1, '', '')" placeholder="请选择" clearable
|
|
|
|
|
:style='{"width":"100%"}' type="datetime" format="yyyy-MM-dd HH:mm:ss">
|
|
|
|
|
:style='{ "width": "100%" }' type="datetime" format="yyyy-MM-dd">
|
|
|
|
|
</JnpfDatePicker>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<jnpf-form-tip-item label="出入码" prop="entryCodes">
|
|
|
|
|
<JnpfInput v-model="dataForm.entryCodes" @change="changeData('entryCodes', -1)" placeholder="请输入" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
@ -67,7 +67,7 @@
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-col :span="12">
|
|
|
|
|
<jnpf-form-tip-item label="归属部门" prop="merchantId" v-if="dataForm.userAscription == 2">
|
|
|
|
|
<JnpfDepSelect v-model="dataForm.merchantId" @change="depSelectChangeData" placeholder="请选择"
|
|
|
|
|
selectType="all" :ableIds="ableAll.merchantIdableIds" clearable :style='{ "width": "100%" }'>
|
|
|
|
@ -77,7 +77,7 @@
|
|
|
|
|
<JnpfPopupSelect v-model="dataForm.merchantId" @change="selectChangeData" :rowIndex="null"
|
|
|
|
|
:formData="dataForm" :templateJson="interfaceRes.merchantId" placeholder="请选择" propsValue="id"
|
|
|
|
|
popupWidth="800px" popupTitle="选择数据" popupType="dialog" relationField='cmp_nm' field='merchantId'
|
|
|
|
|
interfaceId="582919057313895877" :pageSize="20" :columnOptions="merchantIdcolumnOptions" clearable
|
|
|
|
|
interfaceId="587625521974612357" :pageSize="20" :columnOptions="merchantIdcolumnOptions" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
@ -255,6 +255,9 @@
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
|
changeId() {
|
|
|
|
|
return !this.dataForm.id;
|
|
|
|
|
},
|
|
|
|
|
...mapGetters(['userInfo'])
|
|
|
|
|
},
|
|
|
|
|
watch: {},
|
|
|
|
|