{"remainingRequest":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Manage\\dwd\\components\\DwdLkEpidemicPreventionInformationFormDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Manage\\dwd\\components\\DwdLkEpidemicPreventionInformationFormDialog.vue","mtime":1667882609229},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\r\n\r\nimport DwdLkEpidemicPreventionInformationApi from '@/views/Manage/dwd/api/DwdLkEpidemicPreventionInformationApi'\r\nimport dictContracts from '@/components/dict/DictSelectUtils.js'\r\nimport CommonApi from '@/views/Manage/CommonApi.js'\r\nimport { mapState } from 'vuex'\r\n\r\nexport default {\r\n name: 'DwdLkEpidemicPreventionInformationFormDialog',\r\n components: {\r\n },\r\n props: {},\r\n data() {\r\n return {\r\n title: '新增',\r\n CommonApi,\r\n showFormDia: false,\r\n loading: false,\r\n activeCollapseNames: ['1'],\r\n activeTabChildName: '0',\r\n\r\n typeSelectOptions: [],\r\n sexSelectOptions: [],\r\n reportSelectOptions: [],\r\n statusSelectOptions: [],\r\n transitModeSelectOptions: [],\r\n luggageSelectOptions: [],\r\n inCitySelectOptions: [],\r\n params: {\r\n name: null,\r\n mobile: null,\r\n type: null,\r\n idCard: null,\r\n sex: null,\r\n dateOfBirth: null,\r\n isEntry: null,\r\n journey: null,\r\n isIsolation: null,\r\n help: null,\r\n createUser: null,\r\n address: null,\r\n city: null,\r\n fromAddress: null,\r\n toAddress: null,\r\n report: null,\r\n code: null,\r\n status: null,\r\n transitMode: null,\r\n registerTime: null,\r\n passTime: null,\r\n transTime: null,\r\n arriveTime: null,\r\n trainNo: null,\r\n text: null,\r\n airlineCompany: null,\r\n takeOffTime: null,\r\n airlineCode: null,\r\n luggage: null,\r\n terminal: null,\r\n requirement: null,\r\n infoAddress: null,\r\n inCity: null,\r\n transInType: null,\r\n transOutType: null,\r\n transCarNumber: null,\r\n transDriver: null,\r\n transPhone: null,\r\n transArrayTime: null,\r\n transLoop: null,\r\n transAddress: null,\r\n transReceiveTime: null,\r\n familyMembers: null,\r\n turnConfirmTime: null,\r\n amount: null,\r\n transArea: null,\r\n pickupPoint: null,\r\n waitTime: null\r\n },\r\n rules: {\r\n name: [\r\n { required: true,\r\n message: '姓名不能为空',\r\n trigger: 'blur'\r\n }\r\n ],\r\n mobile: [\r\n { required: true,\r\n message: '手机号码不能为空',\r\n trigger: 'blur'\r\n }\r\n ],\r\n type: [\r\n { required: true,\r\n message: '证件类型不能为空',\r\n trigger: 'blur'\r\n }\r\n ],\r\n idCard: [\r\n { required: true,\r\n message: '证件号不能为空',\r\n trigger: 'blur'\r\n }\r\n ],\r\n insertTime: [\r\n { required: true,\r\n message: '创建时间不能为空',\r\n trigger: 'blur'\r\n }\r\n ],\r\n updateTime: [\r\n { required: true,\r\n message: '更新时间不能为空',\r\n trigger: 'blur'\r\n }\r\n ],\r\n address: [\r\n { required: true,\r\n message: '住址不能为空',\r\n trigger: 'blur'\r\n }\r\n ],\r\n fromAddress: [\r\n { required: true,\r\n message: '来源地不能为空',\r\n trigger: 'blur'\r\n }\r\n ],\r\n code: [\r\n { required: true,\r\n message: '健康码不能为空',\r\n trigger: 'blur'\r\n }\r\n ],\r\n status: [\r\n { required: true,\r\n message: '状态不能为空',\r\n trigger: 'blur'\r\n }\r\n ]\r\n }\r\n }\r\n },\r\n computed: mapState({\r\n header: state => {\r\n return {\r\n Authorization: `Bearer ${state.login.currentUser.token}`\r\n }\r\n }\r\n }),\r\n created() {\r\n },\r\n methods: {\r\n add() {\r\n this.title = '新增'\r\n this.resetForm()\r\n this.showFormDia = true\r\n },\r\n resetForm() {\r\n this.params = {\r\n name: null,\r\n mobile: null,\r\n type: null,\r\n idCard: null,\r\n sex: null,\r\n dateOfBirth: null,\r\n isEntry: null,\r\n journey: null,\r\n isIsolation: null,\r\n help: null,\r\n createUser: null,\r\n address: null,\r\n city: null,\r\n fromAddress: null,\r\n toAddress: null,\r\n report: null,\r\n code: null,\r\n status: null,\r\n transitMode: null,\r\n registerTime: null,\r\n passTime: null,\r\n transTime: null,\r\n arriveTime: null,\r\n trainNo: null,\r\n text: null,\r\n airlineCompany: null,\r\n takeOffTime: null,\r\n airlineCode: null,\r\n luggage: null,\r\n terminal: null,\r\n requirement: null,\r\n infoAddress: null,\r\n inCity: null,\r\n transInType: null,\r\n transOutType: null,\r\n transCarNumber: null,\r\n transDriver: null,\r\n transPhone: null,\r\n transArrayTime: null,\r\n transLoop: null,\r\n transAddress: null,\r\n transReceiveTime: null,\r\n familyMembers: null,\r\n turnConfirmTime: null,\r\n amount: null,\r\n transArea: null,\r\n pickupPoint: null,\r\n waitTime: null\r\n }\r\n },\r\n handleClose() {\r\n this.resetForm()\r\n this.showFormDia = false\r\n },\r\n handleSave() {\r\n this.$refs.formInfo.validate(valid => {\r\n if (valid) {\r\n let method\r\n if (!this.params.id) {\r\n // 新增\r\n method = DwdLkEpidemicPreventionInformationApi.addDwdLkEpidemicPreventionInformation\r\n } else {\r\n // 修改\r\n method = DwdLkEpidemicPreventionInformationApi.editDwdLkEpidemicPreventionInformation\r\n }\r\n this.loading = true\r\n method(this.params, res => {\r\n this.loading = false\r\n if (res.state) {\r\n this.$notify({\r\n type: 'success',\r\n message: this.title + '成功',\r\n duration: 2000\r\n })\r\n // this.$emit('loadData')\r\n this.$parent.loadData()\r\n this.handleClose()\r\n } else {\r\n this.$message.warning(res.message)\r\n }\r\n })\r\n }\r\n })\r\n },\r\n Update(row) {\r\n this.title = '修改'\r\n this.showFormDia = true\r\n this.params = row\r\n }\r\n }\r\n}\r\n",null]}