|
@@ -14,17 +14,17 @@
|
14
|
14
|
:rules="[{ required: true, message: '请选择企业' }]"
|
15
|
15
|
@click="showPicker = true"
|
16
|
16
|
/>
|
17
|
|
- <!-- <Popup v-model:show="showPicker" position="left" :style="{ height: '100%', width: '80%' }" >
|
|
17
|
+ <Popup v-model:show="showPicker" position="left" :style="{ height: '100%', width: '80%' }" >
|
18
|
18
|
<org-picker v-model="formData.orgId" @change="onConfirm" />
|
19
|
|
- </Popup> -->
|
20
|
|
- <Popup v-model:show="showPicker" position="bottom" >
|
|
19
|
+ </Popup>
|
|
20
|
+ <!-- <Popup v-model:show="showPicker" position="bottom" >
|
21
|
21
|
<Picker
|
22
|
22
|
:columns="orgList"
|
23
|
23
|
:columns-field-names="customFieldName"
|
24
|
24
|
@confirm="onConfirm"
|
25
|
25
|
@cancel="showPicker = false"
|
26
|
26
|
/>
|
27
|
|
- </Popup>
|
|
27
|
+ </Popup> -->
|
28
|
28
|
<Field
|
29
|
29
|
v-model="formData.userName"
|
30
|
30
|
name="userName"
|
|
@@ -137,13 +137,13 @@ const customFieldName = {
|
137
|
137
|
}
|
138
|
138
|
|
139
|
139
|
onMounted(() => {
|
140
|
|
- getOrgList({ pageSize: 500 }).then((res) => {
|
141
|
|
- orgList.value = res.records;
|
142
|
|
- columns.value = res.records.map(item => item.orgName);
|
143
|
|
- }).catch(e => {
|
144
|
|
- Toast('系统错误请刷新重试');
|
145
|
|
- console.log(e);
|
146
|
|
- })
|
|
140
|
+ // getOrgList({ pageSize: 500 }).then((res) => {
|
|
141
|
+ // orgList.value = res.records;
|
|
142
|
+ // columns.value = res.records.map(item => item.orgName);
|
|
143
|
+ // }).catch(e => {
|
|
144
|
+ // Toast('系统错误请刷新重试');
|
|
145
|
+ // console.log(e);
|
|
146
|
+ // })
|
147
|
147
|
});
|
148
|
148
|
|
149
|
149
|
const onConfirm = (value) => {
|