| | |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | var _default = { |
| | | data: function data() { |
| | | var _rules; |
| | |
| | | model: { |
| | | memberName: '', |
| | | memberId: '', |
| | | remark: '', |
| | | idcardNo: '', |
| | | oldDuName: '', |
| | | oldDuId: '', |
| | |
| | | this.model.memberId = item.id; |
| | | this.model.idcardNo = item.idcardNo; |
| | | this.model.oldDuName = item.duName; |
| | | this.model.remark = item.remark; |
| | | this.model.oldDuId = item.duId; |
| | | this.model.oldWorkTypeName = item.workTypeName; |
| | | this.model.oldWorktypeId = item.worktypeId; |
| | |
| | | // 搜索 |
| | | changeSearch: function changeSearch(name) { |
| | | var _this = this; |
| | | if (!name) { |
| | | this.user = []; |
| | | return; |
| | | } |
| | | this.$u.api.memberFindListByDTO({ |
| | | name: name, |
| | | insuranceApplyId: this.insuranceApplyId, |
| | | validTime: this.validTime |
| | | }).then(function (res) { |
| | | if (res.code === 200) { |
| | | _this.user = res.data; |
| | | if (res.data.length > 0) { |
| | | _this.user = res.data; |
| | | } else { |
| | | uni.showToast({ |
| | | title: '未找到该人员', |
| | | icon: 'none' |
| | | }); |
| | | } |
| | | } |
| | | }); |
| | | }, |
| | |
| | | this.model.duName = e.value[0].label; |
| | | this.duSolutionId = e.value[0].duSolutionId; |
| | | this.model.worktypeId = ''; |
| | | this.model.remark = ''; |
| | | this.model.workTypeName = ''; |
| | | this.getGZ(); |
| | | this.show = false; |
| | |
| | | }, |
| | | submit: function submit() { |
| | | var _this4 = this; |
| | | if (!this.model.memberId) return uni.showToast({ |
| | | title: '请选择人员', |
| | | icon: 'none' |
| | | }); |
| | | this.$refs.uForm.validate().then(function (res) { |
| | | uni.$emit('data', _this4.model); |
| | | uni.navigateBack({ |