|
|
@@ -82,6 +82,7 @@
|
|
|
label-width="100"
|
|
|
:option="{label:'name', value:'id'}"
|
|
|
@confirm="onChildShowM"
|
|
|
+ @changeData="onChangeChildData"
|
|
|
/>
|
|
|
</van-col>
|
|
|
</van-row>
|
|
|
@@ -105,6 +106,7 @@
|
|
|
label-width="100"
|
|
|
:option="{label:'name', value:'id'}"
|
|
|
@confirm="onAssistShowM"
|
|
|
+ @changeData="onChangeAssistData"
|
|
|
/>
|
|
|
</van-col>
|
|
|
</van-row>
|
|
|
@@ -410,6 +412,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
+
|
|
|
+ },
|
|
|
+ activated() {
|
|
|
this.userInfo = JSON.parse(sessionStorage.getItem('userInfo'))
|
|
|
this.directorLink = this.userInfo.roleIdStr == '14' ? false : true
|
|
|
this.modelValue.directorTvalue = this.userInfo.roleIdStr == '14' ? this.userInfo.name :''
|
|
|
@@ -433,6 +438,7 @@ export default {
|
|
|
methods: {
|
|
|
async listAreaF() {
|
|
|
let res = await listArea({ parentId: '' })
|
|
|
+ this.regionList = []
|
|
|
res.data.forEach(item => {
|
|
|
item.items = null
|
|
|
this.regionList.push(item)
|
|
|
@@ -465,6 +471,10 @@ export default {
|
|
|
this.form.typeDesc = e.name
|
|
|
this.form.type = e.id
|
|
|
},
|
|
|
+ // 更新儿童的数据
|
|
|
+ onChangeChildData() {
|
|
|
+ this.childTypeF()
|
|
|
+ },
|
|
|
onChildShowM(label,value) {
|
|
|
console.log('儿童类型::')
|
|
|
this.form.typeDesc = label
|
|
|
@@ -475,6 +485,10 @@ export default {
|
|
|
this.form.stationDesc = e.name
|
|
|
this.form.stationId = e.id
|
|
|
},
|
|
|
+ // 更新帮扶的数据
|
|
|
+ onChangeAssistData() {
|
|
|
+ this.organizationF()
|
|
|
+ },
|
|
|
onAssistShowM(label,value) {
|
|
|
console.log('帮扶单位::')
|
|
|
this.form.stationDesc = label
|