diff --git a/pages/train_management/realname_info_auth.vue b/pages/train_management/realname_info_auth.vue index 4abe76c..2dd4fd0 100644 --- a/pages/train_management/realname_info_auth.vue +++ b/pages/train_management/realname_info_auth.vue @@ -179,7 +179,19 @@ export default { }, onLoad(query) { - this.routeQuery = query // 接收上一个页面传递过来的路由参数 + this.routeQuery = query // 接收上一个页面传递过来的路由参数1 + }, + + methods: { + handleEducationClick() { + this.$refs.uPicker.setIndexs([0]) + this.fnGetDataDictionary('d7d80f08d73a4accbccf4fd3d8d1d867') + this.singleChoice = true + }, + fnSingleChoiceConfirm(event) { + this.$set(this.ruleFormData.userInfo, 'degreeOfEducation', event.value[0].NAME) + this.$set(this.ruleFormData.userInfo, 'degreeOfEducation' + '_BIANMA', event.value[0].BIANMA) + this.singleChoice = false }, methods: { diff --git a/utils/request.js b/utils/request.js index 6d43c15..0adc3a0 100644 --- a/utils/request.js +++ b/utils/request.js @@ -1,5 +1,5 @@ // let requestPath = 'https://qggf.qhdsafety.com/xgfApi/'; // 后台请求地址 -let requestPath = 'http://192.168.0.37:8058/xgf_gwj'; // 后台请求地址 +let requestPath = 'http://192.168.0.37:8058//xgf_gwj/'; // 后台请求地址 // let requestPath = 'https://skqhdg.porthebei.com:9006/qa-prevention-xgf/'; // 后台请求地址 // let requestPath = 'https://qgxgf.qhdsafety.com/qa-prevention-xgf/'; // 外网地址 import store from '../store/index'