|
@@ -228,7 +228,7 @@
|
|
|
@click="getsite(item)"
|
|
|
>
|
|
|
<template #right-icon>
|
|
|
- <van-radio :name="item.id" @click="getsite(item)"/>
|
|
|
+ <van-radio :name="item.id" @click="getsite(item)" />
|
|
|
</template>
|
|
|
</van-cell>
|
|
|
</van-cell-group>
|
|
@@ -307,6 +307,7 @@
|
|
|
v-model:show="hs_persontype"
|
|
|
title="人员类型"
|
|
|
show-cancel-button
|
|
|
+ @confirm = "changperson"
|
|
|
>
|
|
|
<div class="dialog">
|
|
|
<van-list>
|
|
@@ -345,7 +346,7 @@
|
|
|
/>
|
|
|
<van-dialog
|
|
|
v-model:show="hs_tissue"
|
|
|
- title="所属场所"
|
|
|
+ title="宗教组织"
|
|
|
show-cancel-button
|
|
|
>
|
|
|
<div class="dialog">
|
|
@@ -406,261 +407,124 @@
|
|
|
</van-popup>
|
|
|
</van-cell-group>
|
|
|
<p class="miniTitle">扩展信息</p>
|
|
|
- <van-cell-group
|
|
|
- v-if="
|
|
|
- showZW.includes('15') &&
|
|
|
- showZW.includes('17') &&
|
|
|
- showZW.includes('18') &&
|
|
|
- showZW.includes('19') &&
|
|
|
- showZW.includes('21') &&
|
|
|
- showZW.includes('22')
|
|
|
- "
|
|
|
+ <van-col
|
|
|
+ span="24"
|
|
|
+ v-for="(item, index) in inputForm.userManagenmetDetailsDTOList"
|
|
|
+ :key="index"
|
|
|
>
|
|
|
- <van-field
|
|
|
- v-model="job"
|
|
|
- center
|
|
|
- label="职务:"
|
|
|
- placeholder="请填写职务"
|
|
|
- input-align="right"
|
|
|
- />
|
|
|
- </van-cell-group>
|
|
|
- <van-cell-group v-if="showZW.includes('3')">
|
|
|
- <van-field
|
|
|
- v-model="teachPosition"
|
|
|
- readonly
|
|
|
- label="教职身份:"
|
|
|
- name="validator"
|
|
|
- placeholder="请选择教职身份"
|
|
|
- input-align="right"
|
|
|
- right-icon="arrow-down"
|
|
|
- @click="hs_teach = true"
|
|
|
- />
|
|
|
- <van-popup v-model:show="hs_teach" round position="bottom">
|
|
|
- <van-picker
|
|
|
- title="教职身份"
|
|
|
- :columns="teach"
|
|
|
- @cancel="hs_teach = false"
|
|
|
- @confirm="getteach"
|
|
|
+ <van-cell-group
|
|
|
+ v-if="item.dataType === '1' && item.dataDictionary == ''"
|
|
|
+ >
|
|
|
+ <van-field
|
|
|
+ v-model="item.value"
|
|
|
+ center
|
|
|
+ placeholder="请填写内容"
|
|
|
+ :label="item.chineseName"
|
|
|
+ input-align="right"
|
|
|
/>
|
|
|
- </van-popup>
|
|
|
- </van-cell-group>
|
|
|
- <van-cell-group v-if="showZW.includes('3')">
|
|
|
- <van-field
|
|
|
- v-model="Religiouseducation"
|
|
|
- readonly
|
|
|
- label-width="6.5em"
|
|
|
- label="宗教教育程度:"
|
|
|
- name="validator"
|
|
|
- placeholder="请选择宗教教育程度"
|
|
|
- input-align="right"
|
|
|
- right-icon="arrow-down"
|
|
|
- @click="hs_Reducation = true"
|
|
|
- />
|
|
|
- <van-popup v-model:show="hs_Reducation" round position="bottom">
|
|
|
- <van-picker
|
|
|
- title="宗教教育程度"
|
|
|
- :columns="Reducation"
|
|
|
- @cancel="hs_Reducation = false"
|
|
|
- @confirm="getReducation"
|
|
|
+ </van-cell-group>
|
|
|
+ <van-cell-group v-else-if="item.dataType && item.dataDictionary != ''">
|
|
|
+ <van-field
|
|
|
+ v-model="item.value"
|
|
|
+ center
|
|
|
+ :label="item.chineseName"
|
|
|
+ placeholder="请选择"
|
|
|
+ input-align="right"
|
|
|
+ right-icon="arrow-down"
|
|
|
+ @click="hs_teach = true"
|
|
|
/>
|
|
|
- </van-popup>
|
|
|
- </van-cell-group>
|
|
|
- <van-cell-group v-if="showZW.includes('3')">
|
|
|
- <van-field
|
|
|
- v-model="finishschoolName"
|
|
|
- center
|
|
|
- label-width="6.5em"
|
|
|
- label="宗教毕业院校:"
|
|
|
- placeholder="请填写宗教毕业院校"
|
|
|
- input-align="right"
|
|
|
- />
|
|
|
- </van-cell-group>
|
|
|
- <van-cell-group v-if="showZW.includes('3')">
|
|
|
- <van-field
|
|
|
- v-model="certificateNumber"
|
|
|
- center
|
|
|
- label-width="6.5em"
|
|
|
- label="教职证书号:"
|
|
|
- placeholder="请填写教职证书号"
|
|
|
- input-align="right"
|
|
|
- />
|
|
|
- </van-cell-group>
|
|
|
- <van-cell-group v-if="showZW.includes('3')">
|
|
|
- <van-field
|
|
|
- v-model="issueDate"
|
|
|
- center
|
|
|
- label-width="6.5em"
|
|
|
- label="证书颁发时间:"
|
|
|
- placeholder="请填写证书颁发时间"
|
|
|
- input-align="right"
|
|
|
- @click="hs_issueDate = true"
|
|
|
- />
|
|
|
- <van-popup v-model:show="hs_issueDate" round position="bottom">
|
|
|
- <van-date-picker
|
|
|
- v-model="currentDate"
|
|
|
- title="选择日期"
|
|
|
- :min-date="minDate"
|
|
|
- :max-date="maxDate"
|
|
|
- @cancel="hs_issueDate = false"
|
|
|
- @confirm="getissueDate"
|
|
|
+ <van-popup v-model:show="hs_teach" round position="bottom" >
|
|
|
+ <van-picker
|
|
|
+ :columns="$dictUtils.getDictList(item.dataDictionary)"
|
|
|
+ :columns-field-names="{
|
|
|
+ text: 'label',
|
|
|
+ value: 'value',
|
|
|
+ }"
|
|
|
+ @cancel="hs_teach = false"
|
|
|
+ @confirm="getteach"
|
|
|
+ />
|
|
|
+ </van-popup>
|
|
|
+ </van-cell-group>
|
|
|
+ <van-cell-group v-if="item.dataType === '2'">
|
|
|
+ <van-field
|
|
|
+ v-model="item.value"
|
|
|
+ center
|
|
|
+ :label="item.chineseName"
|
|
|
+ input-align="right"
|
|
|
/>
|
|
|
- </van-popup>
|
|
|
- </van-cell-group>
|
|
|
- <van-cell-group v-if="showZW.includes('3')">
|
|
|
- <van-field
|
|
|
- v-model="certificateUnit"
|
|
|
- center
|
|
|
- label-width="6.5em"
|
|
|
- label="证书颁发单位:"
|
|
|
- placeholder="请填写证书颁发单位"
|
|
|
- input-align="right"
|
|
|
- />
|
|
|
- </van-cell-group>
|
|
|
- <van-cell-group v-if="showZW.includes('3')">
|
|
|
- <van-field
|
|
|
- v-model="recordDate"
|
|
|
- center
|
|
|
- label="备案时间:"
|
|
|
- placeholder="请填写备案时间"
|
|
|
- input-align="right"
|
|
|
- @click="hs_recordDate = true"
|
|
|
- />
|
|
|
- <van-popup v-model:show="hs_recordDate" round position="bottom">
|
|
|
- <van-date-picker
|
|
|
- v-model="currentDate"
|
|
|
- title="选择日期"
|
|
|
- :min-date="minDate"
|
|
|
- :max-date="maxDate"
|
|
|
- @cancel="hs_recordDate = false"
|
|
|
- @confirm="getrecordDate"
|
|
|
+ </van-cell-group>
|
|
|
+ <van-cell-group v-if="item.dataType === '3'">
|
|
|
+ <van-field
|
|
|
+ :v-model="item.value"
|
|
|
+ center
|
|
|
+ :label="item.chineseName"
|
|
|
+ input-align="right"
|
|
|
/>
|
|
|
- </van-popup>
|
|
|
- </van-cell-group>
|
|
|
- <van-cell-group v-if="showZW.includes('3')">
|
|
|
- <van-field
|
|
|
- v-model="authorityName"
|
|
|
- center
|
|
|
- label-width="6.5em"
|
|
|
- label="备案机关名称:"
|
|
|
- placeholder="请填写备案机关名称"
|
|
|
- input-align="right"
|
|
|
- />
|
|
|
- </van-cell-group>
|
|
|
- <van-cell-group v-if="showZW.includes('3')">
|
|
|
- <van-field
|
|
|
- v-model="schoolName"
|
|
|
- center
|
|
|
- label-width="6.5em"
|
|
|
- label="宗教院校名称:"
|
|
|
- placeholder="请填写宗教院校名称"
|
|
|
- input-align="right"
|
|
|
- />
|
|
|
- </van-cell-group>
|
|
|
- <van-cell-group v-if="showZW.includes('3')">
|
|
|
- <van-field
|
|
|
- v-model="takeoffice"
|
|
|
- center
|
|
|
- label-width="6.5em"
|
|
|
- label="院校任职情况:"
|
|
|
- placeholder="请填写院校任职情况"
|
|
|
- input-align="right"
|
|
|
- />
|
|
|
- </van-cell-group>
|
|
|
- <van-cell-group v-if="showZW.includes('16')">
|
|
|
- <van-field
|
|
|
- v-model="operateName"
|
|
|
- center
|
|
|
- label-width="6.5em"
|
|
|
- label="网络运营类型:"
|
|
|
- placeholder="请填写网络运营类型"
|
|
|
- input-align="right"
|
|
|
- @click="hs_operate = true"
|
|
|
- />
|
|
|
- <van-popup v-model:show="hs_operate" round position="bottom">
|
|
|
- <van-picker
|
|
|
- title="网络运营类型"
|
|
|
- :columns="operate"
|
|
|
- @cancel="hs_operate = false"
|
|
|
- @confirm="getoperate"
|
|
|
- />
|
|
|
- </van-popup>
|
|
|
- </van-cell-group>
|
|
|
- <van-cell-group v-if="showZW.includes('18')">
|
|
|
- <van-field
|
|
|
- v-model="journalistName"
|
|
|
- center
|
|
|
- label-width="6.5em"
|
|
|
- label="记者类型:"
|
|
|
- placeholder="请填写记者类型"
|
|
|
- input-align="right"
|
|
|
- @click="hs_journalist = true"
|
|
|
- />
|
|
|
- <van-popup v-model:show="hs_journalist" round position="bottom">
|
|
|
- <van-picker
|
|
|
- title="记者类型"
|
|
|
- :columns="journalistn"
|
|
|
- @cancel="hs_journalist = false"
|
|
|
- @confirm="getjournalist"
|
|
|
+ </van-cell-group>
|
|
|
+ <van-cell-group v-if="item.dataType === '4'">
|
|
|
+ <van-field
|
|
|
+ name="uploader"
|
|
|
+ label-align="top"
|
|
|
+ :label="item.chineseName"
|
|
|
+ >
|
|
|
+ <template #input>
|
|
|
+ <van-uploader
|
|
|
+ v-model="fileList"
|
|
|
+ :after-read="afterRead1"
|
|
|
+ :max-count="1"
|
|
|
+ capture="camera"
|
|
|
+ accept=""
|
|
|
+ :before-delete="fjdelete"
|
|
|
+ >
|
|
|
+ </van-uploader>
|
|
|
+ </template>
|
|
|
+ </van-field>
|
|
|
+ </van-cell-group>
|
|
|
+ <van-cell-group v-if="item.dataType === '5'">
|
|
|
+ <van-field
|
|
|
+ v-model="item.value"
|
|
|
+ center
|
|
|
+ required
|
|
|
+ readonly
|
|
|
+ :label="item.chineseName"
|
|
|
+ placeholder="请选择地点"
|
|
|
+ input-align="right"
|
|
|
+ right-icon="arrow-down"
|
|
|
+ @click="showPlace1 = true"
|
|
|
/>
|
|
|
- </van-popup>
|
|
|
- </van-cell-group>
|
|
|
- <van-cell-group v-if="showZW.includes('6') && showZW.includes('19')">
|
|
|
- <van-field
|
|
|
- v-model="overseas"
|
|
|
- center
|
|
|
- label-width="6.5em"
|
|
|
- label="境外来源地:"
|
|
|
- placeholder="请填写境外来源地"
|
|
|
- input-align="right"
|
|
|
- />
|
|
|
- </van-cell-group>
|
|
|
- <van-cell-group
|
|
|
- v-if="
|
|
|
- showZW.includes('20') &&
|
|
|
- showZW.includes('21') &&
|
|
|
- showZW.includes('22')
|
|
|
- "
|
|
|
- >
|
|
|
- <van-field
|
|
|
- v-model="faction"
|
|
|
- center
|
|
|
- label-width="6.5em"
|
|
|
- label="派别:"
|
|
|
- placeholder="请填写派别"
|
|
|
- input-align="right"
|
|
|
- />
|
|
|
- </van-cell-group>
|
|
|
- <van-cell-group v-if="showZW.includes('7')">
|
|
|
- <van-field
|
|
|
- v-model="cityOutaddress"
|
|
|
- center
|
|
|
- label-width="6.5em"
|
|
|
- label="市外来源地:"
|
|
|
- placeholder="请填写市外来源地"
|
|
|
- input-align="right"
|
|
|
- />
|
|
|
- </van-cell-group>
|
|
|
- <!-- 教别2 -->
|
|
|
- <van-cell-group v-if="showZW.includes('8')">
|
|
|
- <van-field
|
|
|
- v-model="religiousName2"
|
|
|
- readonly
|
|
|
- label="教别:"
|
|
|
- name="validator"
|
|
|
- placeholder="请选择教别"
|
|
|
- input-align="right"
|
|
|
- right-icon="arrow-down"
|
|
|
- @click="hs_religious2 = true"
|
|
|
- />
|
|
|
- <van-popup v-model:show="hs_religious2" round position="bottom">
|
|
|
- <van-picker
|
|
|
- title="教别"
|
|
|
- :columns="religious2"
|
|
|
- @cancel="hs_religious2 = false"
|
|
|
- @confirm="getreligious2"
|
|
|
+ <van-popup v-model:show="showPlace1" round position="bottom">
|
|
|
+ <van-picker
|
|
|
+ title="地点选择"
|
|
|
+ :columns="options"
|
|
|
+ :columns-field-names="customFieldName"
|
|
|
+ @cancel="showPlace1 = false"
|
|
|
+ @confirm="getPlace1"
|
|
|
+ />
|
|
|
+ </van-popup>
|
|
|
+ </van-cell-group>
|
|
|
+ <van-cell-group v-if="item.dataType === '6'">
|
|
|
+ <van-field
|
|
|
+ v-model="item.value"
|
|
|
+ center
|
|
|
+ :label="item.chineseName"
|
|
|
+ label-width="6.5em"
|
|
|
+ placeholder="请选择日期时间"
|
|
|
+ input-align="right"
|
|
|
+ right-icon="arrow-down"
|
|
|
+ @click="hs_issueDate = true"
|
|
|
/>
|
|
|
- </van-popup>
|
|
|
- </van-cell-group>
|
|
|
+ <van-popup v-model:show="hs_issueDate" round position="bottom">
|
|
|
+ <van-date-picker
|
|
|
+ v-model="currentDate"
|
|
|
+ title="选择日期"
|
|
|
+ :min-date="minDate"
|
|
|
+ :max-date="maxDate"
|
|
|
+ @cancel="hs_issueDate = false"
|
|
|
+ @confirm="getissueDate"
|
|
|
+ />
|
|
|
+ </van-popup>
|
|
|
+ </van-cell-group>
|
|
|
+ </van-col>
|
|
|
</div>
|
|
|
<div class="subbtn">
|
|
|
<van-button type="primary" @click="submit">提交</van-button>
|
|
@@ -719,33 +583,6 @@ export default {
|
|
|
},
|
|
|
bkcheck: "",
|
|
|
});
|
|
|
- // 职务
|
|
|
- const job = ref("");
|
|
|
- //教职身份
|
|
|
- const teachType = ref("");
|
|
|
- //宗教教育程度
|
|
|
- const religiousType = ref("");
|
|
|
- // 宗教毕业院校
|
|
|
- const religiousScool = ref("");
|
|
|
- //教职证书号
|
|
|
- const certificateNumber = ref("");
|
|
|
- //证书颁发单位
|
|
|
- const certificateUnit = ref("");
|
|
|
- //备案机关名称
|
|
|
- const authorityName = ref("");
|
|
|
- // 宗教毕业院校
|
|
|
- const finishschoolName = ref("");
|
|
|
- //宗教院校名称
|
|
|
- const schoolName = ref("");
|
|
|
- //院校任职情况
|
|
|
- const takeoffice = ref("");
|
|
|
- //境外来源地
|
|
|
- const overseas = ref("");
|
|
|
- //派别
|
|
|
- const faction = ref("");
|
|
|
- //市外来源地
|
|
|
- const cityOutaddress = ref("");
|
|
|
- const locationName = ref("");
|
|
|
onMounted(() => {
|
|
|
//籍贯接口
|
|
|
new placePerson().nativePlace().then((res) => {
|
|
@@ -830,7 +667,7 @@ export default {
|
|
|
{ text: "藏族", value: "55" },
|
|
|
{ text: "壮族", value: "56" },
|
|
|
{ text: "其他", value: "57" },
|
|
|
- ]
|
|
|
+ ];
|
|
|
let hs_nation = ref(false);
|
|
|
const getnation = ({ selectedOptions }) => {
|
|
|
hs_nation.value = false;
|
|
@@ -912,12 +749,13 @@ export default {
|
|
|
religiousName2.value = selectedOptions[0].text;
|
|
|
};
|
|
|
// 所属场所
|
|
|
+ const locationName = ref('');
|
|
|
const checked = ref("");
|
|
|
const sitelist = ref([]);
|
|
|
let hs_site = ref(false);
|
|
|
const getsite = (val) => {
|
|
|
console.log(val);
|
|
|
- let id = '';
|
|
|
+ let id = "";
|
|
|
id = val.id;
|
|
|
locationName.value = val.name;
|
|
|
const json = Object.assign(inputForm.value, { location: { id: id } });
|
|
@@ -1009,7 +847,7 @@ export default {
|
|
|
let workpic = ref("");
|
|
|
const afterRead1 = (file) => {
|
|
|
new tools()
|
|
|
- .uploadFile(file, `sys/file/webupload/upload`)
|
|
|
+ .uploadFile(file, `logo`)
|
|
|
.then(({ data }) => {
|
|
|
data.name = decodeURIComponent(
|
|
|
data.url.substring(data.url.lastIndexOf("/") + 1)
|
|
@@ -1132,15 +970,36 @@ export default {
|
|
|
let hs_persontype = ref(false);
|
|
|
const toggle = (index) => {
|
|
|
checkboxRefs.value[index].toggle();
|
|
|
- let str = "";
|
|
|
- str = checked2.value.join();
|
|
|
+ personnalType.value = getValue(checked2.value).join();
|
|
|
+ showZW.value = checked2.value.join();;
|
|
|
+ };
|
|
|
+ const changperson = ()=>{
|
|
|
const json = Object.assign(
|
|
|
{ ...inputForm.value },
|
|
|
- { personnelType: str }
|
|
|
+ { personnelType: showZW.value }
|
|
|
);
|
|
|
inputForm.value = json;
|
|
|
- personnalType.value = getValue(checked2.value).join();
|
|
|
- showZW.value = str;
|
|
|
+ changePersonnelType();
|
|
|
+ }
|
|
|
+ const changePersonnelType = () => {
|
|
|
+ let userManagenmetDetailsDTOList = [];
|
|
|
+ new placePerson().userDTOqueryId(inputForm.value.personnelType.toString()).then((data) => {
|
|
|
+ data.forEach((item) => {
|
|
|
+ let userManagenmetDetail = {};
|
|
|
+ userManagenmetDetail = Object.assign(userManagenmetDetail, {
|
|
|
+ id: "",
|
|
|
+ chineseName: item.chineseName,
|
|
|
+ englishName: item.englishName,
|
|
|
+ dataType: item.dataType,
|
|
|
+ value: "",
|
|
|
+ orderNum: item.orderNum,
|
|
|
+ dataDictionary: item.dataDictionary,
|
|
|
+ dataDictionaryId: item.dataDictionaryId,
|
|
|
+ });
|
|
|
+ userManagenmetDetailsDTOList.push(userManagenmetDetail);
|
|
|
+ });
|
|
|
+ inputForm.value.userManagenmetDetailsDTOList = userManagenmetDetailsDTOList
|
|
|
+ });
|
|
|
};
|
|
|
onBeforeUpdate(() => {
|
|
|
checkboxRefs.value = [];
|
|
@@ -1193,41 +1052,10 @@ export default {
|
|
|
};
|
|
|
// 教职身份
|
|
|
const teachPosition = ref("");
|
|
|
- const teach = [
|
|
|
- { text: "阿訇", value: "1" },
|
|
|
- { text: "牧师", value: "2" },
|
|
|
- { text: "长老", value: "3" },
|
|
|
- { text: "传道员", value: "4" },
|
|
|
- { text: "神学生", value: "5" },
|
|
|
- { text: "道士(正一)", value: "6" },
|
|
|
- { text: "比丘", value: "7" },
|
|
|
- { text: "教师(副牧师)", value: "8" },
|
|
|
- { text: "比丘尼", value: "9" },
|
|
|
- ];
|
|
|
let hs_teach = ref(false);
|
|
|
- const getteach = ({ selectedOptions }) => {
|
|
|
+ const getteach = ({selectedOptions}) => {
|
|
|
hs_teach.value = false;
|
|
|
- teachType.value = selectedOptions[0].value;
|
|
|
- teachPosition.value = selectedOptions[0].text;
|
|
|
- };
|
|
|
- // 宗教教育程度
|
|
|
- const Religiouseducation = ref("");
|
|
|
- const Reducation = [
|
|
|
- { text: "小学", value: "1" },
|
|
|
- { text: "初中", value: "2" },
|
|
|
- { text: "中专", value: "3" },
|
|
|
- { text: "高中", value: "4" },
|
|
|
- { text: "大专", value: "5" },
|
|
|
- { text: "本科", value: "6" },
|
|
|
- { text: "硕士研究生", value: "7" },
|
|
|
- { text: "博士研究生", value: "8" },
|
|
|
- { text: "其他", value: "9" },
|
|
|
- ];
|
|
|
- let hs_Reducation = ref(false);
|
|
|
- const getReducation = ({ selectedOptions }) => {
|
|
|
- hs_Reducation.value = false;
|
|
|
- religiousType.value = selectedOptions[0].value;
|
|
|
- Religiouseducation.value = selectedOptions[0].text;
|
|
|
+ teachPosition.value = selectedOptions[0].value;
|
|
|
};
|
|
|
// 证书颁发时间
|
|
|
const issueDate = ref("");
|
|
@@ -1241,80 +1069,13 @@ export default {
|
|
|
"-" +
|
|
|
selectedOptions[2].text;
|
|
|
};
|
|
|
- // 备案时间
|
|
|
- const recordDate = ref("");
|
|
|
- let hs_recordDate = ref(false);
|
|
|
- const getrecordDate = ({ selectedOptions }) => {
|
|
|
- hs_recordDate.value = false;
|
|
|
- recordDate.value =
|
|
|
- selectedOptions[0].text +
|
|
|
- "-" +
|
|
|
- selectedOptions[1].text +
|
|
|
- "-" +
|
|
|
- selectedOptions[2].text;
|
|
|
- };
|
|
|
- //记者类型
|
|
|
- const journalistName = ref("");
|
|
|
- const journalistName2 = ref("");
|
|
|
- const journalistn = [
|
|
|
- { text: "境内", value: "1" },
|
|
|
- { text: "境外", value: "2" },
|
|
|
- ];
|
|
|
- let hs_journalistn = ref(false);
|
|
|
- const getjournalistn = ({ selectedOptions }) => {
|
|
|
- hs_journalistn.value = false;
|
|
|
- journalistName2.value = selectedOptions[0].value;
|
|
|
- journalistName.value = selectedOptions[0].text;
|
|
|
- };
|
|
|
- //网络运营类型
|
|
|
- const operateName = ref("");
|
|
|
- const operateName2 = ref("");
|
|
|
- const operate = [
|
|
|
- { text: "网络主播", value: "1" },
|
|
|
- { text: "微博", value: "2" },
|
|
|
- { text: "微信", value: "3" },
|
|
|
- { text: "抖音", value: "4" },
|
|
|
- { text: "快手", value: "5" },
|
|
|
- { text: "淘宝", value: "6" },
|
|
|
- { text: "QQ", value: "7" },
|
|
|
- ];
|
|
|
- let hs_operate = ref(false);
|
|
|
- const getoperate = ({ selectedOptions }) => {
|
|
|
- hs_operate.value = false;
|
|
|
- operateName2.value = selectedOptions[0].value;
|
|
|
- operateName.value = selectedOptions[0].text;
|
|
|
- };
|
|
|
//跳转
|
|
|
let router = useRouter();
|
|
|
+ const handleAvatarSuccess1 = (row, res, file, filelist) => {
|
|
|
+ row.value = res.url;
|
|
|
+ };
|
|
|
//数据提交
|
|
|
const submit = () => {
|
|
|
- const list = [
|
|
|
- { chineseName: "职务", value: job.value },
|
|
|
- { chineseName: "教职身份", value: teachType.value },
|
|
|
- { chineseName: "宗教教育程度", value: religiousType.value },
|
|
|
- { chineseName: "宗教毕业院校", value: finishschoolName.value },
|
|
|
- { chineseName: "教职证书号", value: certificateNumber.value },
|
|
|
- { chineseName: "证书颁发时间", value: issueDate.value },
|
|
|
- { chineseName: "证书颁发单位", value: certificateUnit.value },
|
|
|
- { chineseName: "备案时间", value: recordDate.value },
|
|
|
- { chineseName: "备案机关名称", value: authorityName.value },
|
|
|
- { chineseName: "宗教院校名称", value: schoolName.value },
|
|
|
- { chineseName: "院校任职情况", value: takeoffice.value },
|
|
|
- { chineseName: "网络运营类型", value: operateName2.value },
|
|
|
- { chineseName: "记者类型", value: journalistName2.value },
|
|
|
- { chineseName: "境外来源地", value: overseas.value },
|
|
|
- { chineseName: "派别", value: faction.value },
|
|
|
- { chineseName: "市外来源地", value: cityOutaddress.value },
|
|
|
- { chineseName: "教别", value: religioustype2.value },
|
|
|
- ];
|
|
|
- let newList = [];
|
|
|
- newList = list.filter((item) => {
|
|
|
- return item.value != "";
|
|
|
- });
|
|
|
- const json = Object.assign(inputForm.value, {
|
|
|
- userManagenmetDetailsDTOList: newList,
|
|
|
- });
|
|
|
- inputForm.value = json;
|
|
|
new placePerson().save(inputForm.value).then((res) => {
|
|
|
console.log(res);
|
|
|
if (res.status == 200) {
|
|
@@ -1324,7 +1085,7 @@ export default {
|
|
|
router.push({
|
|
|
path: "/placePerson",
|
|
|
});
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
xm.showToast({
|
|
|
message: "人员添加失败",
|
|
|
});
|
|
@@ -1402,6 +1163,7 @@ export default {
|
|
|
persontype,
|
|
|
hs_persontype,
|
|
|
toggle,
|
|
|
+ changperson,
|
|
|
checkboxRefs,
|
|
|
showZW,
|
|
|
// 是否参加非法活动
|
|
@@ -1411,33 +1173,12 @@ export default {
|
|
|
activitytext,
|
|
|
//教职身份
|
|
|
teachPosition,
|
|
|
- teach,
|
|
|
hs_teach,
|
|
|
getteach,
|
|
|
- //宗教教育程度
|
|
|
- Religiouseducation,
|
|
|
- Reducation,
|
|
|
- hs_Reducation,
|
|
|
- getReducation,
|
|
|
//证书颁发时间
|
|
|
hs_issueDate,
|
|
|
issueDate,
|
|
|
getissueDate,
|
|
|
- //备案时间
|
|
|
- hs_recordDate,
|
|
|
- recordDate,
|
|
|
- getrecordDate,
|
|
|
- //记者类型
|
|
|
- journalistName,
|
|
|
- journalistn,
|
|
|
- hs_journalistn,
|
|
|
- getjournalistn,
|
|
|
- //网络运营类型
|
|
|
- operate,
|
|
|
- operateName,
|
|
|
- operateName2,
|
|
|
- hs_operate,
|
|
|
- getoperate,
|
|
|
//图片上传
|
|
|
fileList,
|
|
|
afterRead1,
|
|
@@ -1453,18 +1194,6 @@ export default {
|
|
|
showPlace1,
|
|
|
getPlace1,
|
|
|
options,
|
|
|
- //userList数组
|
|
|
- job,
|
|
|
- religiousScool,
|
|
|
- certificateNumber,
|
|
|
- certificateUnit,
|
|
|
- authorityName,
|
|
|
- schoolName,
|
|
|
- takeoffice,
|
|
|
- overseas,
|
|
|
- faction,
|
|
|
- cityOutaddress,
|
|
|
- finishschoolName,
|
|
|
//数据提交
|
|
|
submit,
|
|
|
selectColor,
|