|  |  |  | 
|---|
|  |  |  | _vm.show5 = false | 
|---|
|  |  |  | } | 
|---|
|  |  |  | _vm.e6 = function ($event) { | 
|---|
|  |  |  | _vm.show = false | 
|---|
|  |  |  | } | 
|---|
|  |  |  | _vm.e7 = function ($event) { | 
|---|
|  |  |  | _vm.show = false | 
|---|
|  |  |  | } | 
|---|
|  |  |  | _vm.e8 = function ($event) { | 
|---|
|  |  |  | _vm.show1 = false | 
|---|
|  |  |  | } | 
|---|
|  |  |  | _vm.e9 = function ($event) { | 
|---|
|  |  |  | _vm.e7 = function ($event) { | 
|---|
|  |  |  | _vm.show1 = false | 
|---|
|  |  |  | _vm.show3 = true | 
|---|
|  |  |  | } | 
|---|
|  |  |  | _vm.e10 = function ($event) { | 
|---|
|  |  |  | _vm.e8 = function ($event) { | 
|---|
|  |  |  | _vm.show2 = false | 
|---|
|  |  |  | } | 
|---|
|  |  |  | _vm.e11 = function ($event) { | 
|---|
|  |  |  | _vm.e9 = function ($event) { | 
|---|
|  |  |  | _vm.show2 = false | 
|---|
|  |  |  | } | 
|---|
|  |  |  | _vm.e10 = function ($event) { | 
|---|
|  |  |  | _vm.show3 = false | 
|---|
|  |  |  | } | 
|---|
|  |  |  | _vm.e11 = function ($event) { | 
|---|
|  |  |  | _vm.show6 = true | 
|---|
|  |  |  | } | 
|---|
|  |  |  | _vm.e12 = function ($event) { | 
|---|
|  |  |  | _vm.show3 = false | 
|---|
|  |  |  | } | 
|---|
|  |  |  | _vm.e13 = function ($event) { | 
|---|
|  |  |  | _vm.show6 = true | 
|---|
|  |  |  | } | 
|---|
|  |  |  | _vm.e14 = function ($event) { | 
|---|
|  |  |  | _vm.show3 = false | 
|---|
|  |  |  | } | 
|---|
|  |  |  | _vm.e15 = function ($event) { | 
|---|
|  |  |  | _vm.show6 = false | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | this.getUserValid(); | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | methods: { | 
|---|
|  |  |  | closeMJ: function closeMJ() { | 
|---|
|  |  |  | this.show = false; | 
|---|
|  |  |  | this.columns.forEach(function (item) { | 
|---|
|  |  |  | item.active = false; | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | submit: function submit() { | 
|---|
|  |  |  | if (!this.form1.receptMemberId) return uni.showToast({ | 
|---|
|  |  |  | title: '被访人不能为空', | 
|---|
|  |  |  | 
|---|
|  |  |  | title: '访问门禁不能为空', | 
|---|
|  |  |  | icon: 'none' | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | if (!this.form1.reason) return uni.showToast({ | 
|---|
|  |  |  | title: '拜访事由不能为空', | 
|---|
|  |  |  | icon: 'none' | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | // if (!this.form1.reason) return uni.showToast({ | 
|---|
|  |  |  | //    title: '拜访事由不能为空', | 
|---|
|  |  |  | //    icon: 'none' | 
|---|
|  |  |  | // }) | 
|---|
|  |  |  | this.form1.starttime = this.form1.starttime + ':00'; | 
|---|
|  |  |  | this.form1.endtime = this.form1.endtime + ':00'; | 
|---|
|  |  |  | this.$u.api.createFk(_objectSpread(_objectSpread(_objectSpread({}, this.form), this.form1), {}, { | 
|---|
|  |  |  | openid: this.$store.state.openId, | 
|---|
|  |  |  | withUserList: this.personnel | 
|---|
|  |  |  | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | setinDate: function setinDate(e) { | 
|---|
|  |  |  | this.form1.starttime = uni.$u.timeFormat(e.value, 'yyyy-mm-dd hh:MM:ss'); | 
|---|
|  |  |  | this.form1.starttime = uni.$u.timeFormat(e.value, 'yyyy-mm-dd hh:MM'); | 
|---|
|  |  |  | this.show4 = false; | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | setoutDate: function setoutDate(e) { | 
|---|
|  |  |  | this.form1.endtime = uni.$u.timeFormat(e.value, 'yyyy-mm-dd hh:MM:ss'); | 
|---|
|  |  |  | this.form1.endtime = uni.$u.timeFormat(e.value, 'yyyy-mm-dd hh:MM'); | 
|---|
|  |  |  | this.show5 = false; | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | // 查询用户 | 
|---|