You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
20 KiB
1 lines
20 KiB
{"version":3,"sources":["webpack:///./src/views/contact/index.vue?6965","webpack:///src/views/contact/index.vue","webpack:///./src/views/contact/index.vue?bbf1","webpack:///./src/views/contact/index.vue","webpack:///./src/views/contact/index.vue?5d4d"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","staticStyle","attrs","path","_v","ref","ruleForm","rules","class","type","on","$event","tapChangeType","complaint","tapChangeComplaint","_e","beau","tapChangeBeau","model","value","callback","$$v","$set","expression","handlePictureCardPreview","handleRemove","handleSuccess","dialogVisible","dialogImageUrl","submitForm","resetForm","staticRenderFns","name","data","coachName","schoolName","connect","desc","computed","methods","getQueryCreateComplaint","complaintId","content","phone","types","res","code","confirmButtonText","$refs","formName","validate","valid","resetFields","file","url","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,mBAAmBF,EAAG,MAAM,CAACE,YAAY,mBAAmB,CAACF,EAAG,MAAM,CAACE,YAAY,iBAAiBC,YAAY,CAAC,SAAW,YAAY,CAACH,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,gBAAgB,CAACI,MAAM,CAAC,UAAY,MAAM,CAACJ,EAAG,qBAAqB,CAACI,MAAM,CAAC,GAAK,CAAEC,KAAM,OAAQ,CAACT,EAAIU,GAAG,QAAQN,EAAG,qBAAqB,CAACJ,EAAIU,GAAG,WAAW,IAAI,GAAGN,EAAG,MAAM,CAACE,YAAY,kBAAkB,CAACF,EAAG,UAAU,CAACO,IAAI,WAAWL,YAAY,YAAYE,MAAM,CAAC,iBAAiB,OAAO,MAAQR,EAAIY,SAAS,MAAQZ,EAAIa,MAAM,cAAc,UAAU,CAACT,EAA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C,IAC3B3D,KAAKgC,eAAgB,GAEvBD,cA5DJ,SA4DA,WCxL8V,I,wBCQ1V6B,EAAY,eACd,EACA9D,EACAsC,GACA,EACA,KACA,WACA,MAIa,aAAAwB,E,oECnBf","file":"js/chunk-5268f17c.908fa15b.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"contact\"},[_c('div',{staticClass:\"contact-banner\"}),_c('div',{staticClass:\"contact-wrapper\"},[_c('div',{staticClass:\"zlxc-container\",staticStyle:{\"overflow\":\"visible\"}},[_c('div',{staticClass:\"bread-crumbs\"},[_c('el-breadcrumb',{attrs:{\"separator\":\"/\"}},[_c('el-breadcrumb-item',{attrs:{\"to\":{ path: '/' }}},[_vm._v(\"首页\")]),_c('el-breadcrumb-item',[_vm._v(\"投诉建议\")])],1)],1),_c('div',{staticClass:\"form-selection\"},[_c('el-form',{ref:\"ruleForm\",staticClass:\"rule-form\",attrs:{\"label-position\":\"left\",\"model\":_vm.ruleForm,\"rules\":_vm.rules,\"label-width\":\"120px\"}},[_c('el-form-item',{attrs:{\"label\":\"选择类型\",\"prop\":\"type\"}},[_c('div',{staticClass:\"type-select\"},[_c('p',{class:['select-radio',{'is-action': _vm.ruleForm.type == '咨询'}],on:{\"click\":function($event){return _vm.tapChangeType('咨询')}}},[_vm._v(\"咨询\")]),_c('p',{class:['select-radio',{'is-action': _vm.ruleForm.type == '投诉'}],on:{\"click\":function($event){return _vm.tapChangeType('投诉')}}},[_vm._v(\"投诉\")])])]),(_vm.ruleForm.type == '投诉')?_c('el-form-item',{attrs:{\"label\":\"投诉类型\",\"prop\":\"complaint\"}},[_c('div',{staticClass:\"type-select\"},[_c('p',{class:['select-radio',{'is-action': _vm.ruleForm.complaint == '服务'}],on:{\"click\":function($event){return _vm.tapChangeComplaint('服务')}}},[_vm._v(\"服务\")]),_c('p',{class:['select-radio',{'is-action': _vm.ruleForm.complaint == '教学质量'}],on:{\"click\":function($event){return _vm.tapChangeComplaint('教学质量')}}},[_vm._v(\"教学质量\")]),_c('p',{class:['select-radio',{'is-action': _vm.ruleForm.complaint == '费用'}],on:{\"click\":function($event){return _vm.tapChangeComplaint('费用')}}},[_vm._v(\"费用\")])])]):_vm._e(),(_vm.ruleForm.type == '投诉')?_c('el-form-item',{attrs:{\"label\":\"投诉对象\",\"prop\":\"beau\"}},[_c('div',{staticClass:\"type-select\"},[_c('p',{class:['select-radio',{'is-action': _vm.ruleForm.beau == '驾校'}],on:{\"click\":function($event){return _vm.tapChangeBeau('驾校')}}},[_vm._v(\"驾校\")]),_c('p',{class:['select-radio',{'is-action': _vm.ruleForm.beau == '教练'}],on:{\"click\":function($event){return _vm.tapChangeBeau('教练')}}},[_vm._v(\"教练\")])])]):_vm._e(),(_vm.ruleForm.type == '投诉' && _vm.ruleForm.beau == '教练')?_c('el-form-item',{attrs:{\"label\":\"教练姓名\",\"prop\":\"coachName\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入教练姓名\"},model:{value:(_vm.ruleForm.coachName),callback:function ($$v) {_vm.$set(_vm.ruleForm, \"coachName\", $$v)},expression:\"ruleForm.coachName\"}})],1):_vm._e(),(_vm.ruleForm.type == '投诉')?_c('el-form-item',{attrs:{\"label\":\"驾校名称\",\"prop\":\"schoolName\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入驾校名称\"},model:{value:(_vm.ruleForm.schoolName),callback:function ($$v) {_vm.$set(_vm.ruleForm, \"schoolName\", $$v)},expression:\"ruleForm.schoolName\"}})],1):_vm._e(),_c('el-form-item',{attrs:{\"label\":\"联系方式\",\"prop\":\"connect\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入您的联系方式\"},model:{value:(_vm.ruleForm.connect),callback:function ($$v) {_vm.$set(_vm.ruleForm, \"connect\", $$v)},expression:\"ruleForm.connect\"}})],1),_c('el-form-item',{attrs:{\"label\":\"内容详情\",\"prop\":\"desc\"}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"placeholder\":\"请输入您要咨询或投诉的内容\"},model:{value:(_vm.ruleForm.desc),callback:function ($$v) {_vm.$set(_vm.ruleForm, \"desc\", $$v)},expression:\"ruleForm.desc\"}})],1),_c('el-form-item',{attrs:{\"label\":\"上传图片\"}},[_c('el-upload',{attrs:{\"action\":\"/api/index/uploadFile.do\",\"list-type\":\"picture-card\",\"name\":\"file\",\"limit\":3,\"on-preview\":_vm.handlePictureCardPreview,\"on-remove\":_vm.handleRemove,\"on-success\":_vm.handleSuccess}},[_c('i',{staticClass:\"el-icon-plus\"})]),_c('el-dialog',{attrs:{\"visible\":_vm.dialogVisible},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('img',{attrs:{\"width\":\"100%\",\"src\":_vm.dialogImageUrl,\"alt\":\"\"}})])],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":function($event){return _vm.submitForm('ruleForm')}}},[_vm._v(\"提交\")]),_c('el-button',{on:{\"click\":function($event){return _vm.resetForm('ruleForm')}}},[_vm._v(\"重置\")])],1)],1)],1)])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"contact\">\r\n <div class=\"contact-banner\"></div>\r\n <div class=\"contact-wrapper\">\r\n <div class=\"zlxc-container\" style=\"overflow: visible\">\r\n <div class=\"bread-crumbs\">\r\n <el-breadcrumb separator=\"/\">\r\n <el-breadcrumb-item :to=\"{ path: '/' }\">首页</el-breadcrumb-item>\r\n <el-breadcrumb-item>投诉建议</el-breadcrumb-item>\r\n </el-breadcrumb>\r\n </div>\r\n <div class=\"form-selection\">\r\n <el-form label-position=\"left\" :model=\"ruleForm\" :rules=\"rules\" ref=\"ruleForm\" label-width=\"120px\" class=\"rule-form\">\r\n <el-form-item label=\"选择类型\" prop=\"type\">\r\n <div class=\"type-select\">\r\n <p :class=\"['select-radio',{'is-action': ruleForm.type == '咨询'}]\" @click=\"tapChangeType('咨询')\">咨询</p>\r\n <p :class=\"['select-radio',{'is-action': ruleForm.type == '投诉'}]\" @click=\"tapChangeType('投诉')\">投诉</p>\r\n </div>\r\n </el-form-item>\r\n <el-form-item label=\"投诉类型\" prop=\"complaint\" v-if=\"ruleForm.type == '投诉'\">\r\n <div class=\"type-select\">\r\n <p :class=\"['select-radio',{'is-action': ruleForm.complaint == '服务'}]\" @click=\"tapChangeComplaint('服务')\">服务</p>\r\n <p :class=\"['select-radio',{'is-action': ruleForm.complaint == '教学质量'}]\" @click=\"tapChangeComplaint('教学质量')\">教学质量</p>\r\n <p :class=\"['select-radio',{'is-action': ruleForm.complaint == '费用'}]\" @click=\"tapChangeComplaint('费用')\">费用</p>\r\n </div>\r\n </el-form-item>\r\n <el-form-item label=\"投诉对象\" prop=\"beau\" v-if=\"ruleForm.type == '投诉'\">\r\n <div class=\"type-select\">\r\n <p :class=\"['select-radio',{'is-action': ruleForm.beau == '驾校'}]\" @click=\"tapChangeBeau('驾校')\">驾校</p>\r\n <p :class=\"['select-radio',{'is-action': ruleForm.beau == '教练'}]\" @click=\"tapChangeBeau('教练')\">教练</p>\r\n </div>\r\n </el-form-item>\r\n <el-form-item label=\"教练姓名\" prop=\"coachName\" v-if=\"ruleForm.type == '投诉' && ruleForm.beau == '教练'\">\r\n <el-input v-model=\"ruleForm.coachName\" placeholder=\"请输入教练姓名\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"驾校名称\" prop=\"schoolName\" v-if=\"ruleForm.type == '投诉'\">\r\n <el-input v-model=\"ruleForm.schoolName\" placeholder=\"请输入驾校名称\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"联系方式\" prop=\"connect\">\r\n <el-input v-model=\"ruleForm.connect\" placeholder=\"请输入您的联系方式\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"内容详情\" prop=\"desc\">\r\n <el-input type=\"textarea\" v-model=\"ruleForm.desc\" placeholder=\"请输入您要咨询或投诉的内容\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"上传图片\">\r\n <el-upload\r\n action=\"/api/index/uploadFile.do\"\r\n list-type=\"picture-card\"\r\n name=\"file\"\r\n :limit=\"3\"\r\n :on-preview=\"handlePictureCardPreview\"\r\n :on-remove=\"handleRemove\"\r\n :on-success=\"handleSuccess\"\r\n >\r\n <i class=\"el-icon-plus\"></i>\r\n </el-upload>\r\n <el-dialog :visible.sync=\"dialogVisible\">\r\n <img width=\"100%\" :src=\"dialogImageUrl\" alt=\"\">\r\n </el-dialog>\r\n </el-form-item>\r\n <el-form-item>\r\n <el-button type=\"primary\" @click=\"submitForm('ruleForm')\">提交</el-button>\r\n <el-button @click=\"resetForm('ruleForm')\">重置</el-button>\r\n </el-form-item>\r\n </el-form>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { queryCreateComplaint } from '@/api/herbalMedicine'\r\n\r\nexport default {\r\n name: 'About',\r\n data () {\r\n return {\r\n ruleForm: {\r\n // 选择类型\r\n type: '咨询',\r\n // 投诉类型\r\n complaint: '',\r\n // 投诉对象\r\n beau: '',\r\n // 教练姓名\r\n coachName: '',\r\n // 驾校名称\r\n schoolName: '',\r\n // 联系方式\r\n connect: '',\r\n // 内容详情\r\n desc: ''\r\n },\r\n // 上传图片\r\n dialogImageUrl: '',\r\n dialogVisible: false,\r\n rules: {\r\n connect: [\r\n { required: true, message: '请输入您的联系方式', trigger: 'blur' },\r\n { min: 7, max: 11, message: '长度在 7 到 11 个数字', trigger: 'blur' }\r\n ],\r\n type: [\r\n { required: true, message: '选择类型', trigger: 'change' }\r\n ],\r\n complaint: [\r\n { required: true, message: '选择投诉类型', trigger: 'change' }\r\n ],\r\n beau: [\r\n { required: true, message: '选择投诉对象', trigger: 'change' }\r\n ],\r\n coachName: [\r\n { required: true, message: '请输入教练姓名', trigger: 'blur' },\r\n ],\r\n schoolName: [\r\n { required: true, message: '请输入驾校名称', trigger: 'blur' },\r\n ],\r\n desc: [\r\n { required: true, message: '请输入您要咨询或投诉的内容', trigger: 'blur' }\r\n ]\r\n }\r\n }\r\n },\r\n computed: {},\r\n methods: {\r\n // 创建投诉咨询\r\n getQueryCreateComplaint () {\r\n queryCreateComplaint({\r\n complaintId: this.ruleForm.complaint,\r\n content: this.ruleForm.desc,\r\n // image: this.dialogImageUrl,\r\n coachName: this.ruleForm.coachName,\r\n schoolName: this.ruleForm.schoolName,\r\n phone: this.ruleForm.connect,\r\n types: this.ruleForm.type == '咨询' ? 0 : 1\r\n }).then(res => {\r\n if (res.code == 0) {\r\n this.$alert('提交成功', this.ruleForm.type, {\r\n confirmButtonText: '确定',\r\n callback: action => {\r\n this.$router.push({\r\n name:'Wrapper'\r\n })\r\n }\r\n });\r\n }\r\n })\r\n },\r\n submitForm(formName) {\r\n this.$refs[formName].validate((valid) => {\r\n if (valid) {\r\n this.showMessage(\"正在开发中!\");\r\n } else {\r\n console.log('error submit!!');\r\n return false;\r\n }\r\n });\r\n },\r\n resetForm(formName) {\r\n this.$refs[formName].resetFields();\r\n },\r\n tapChangeType(type) {\r\n if (this.ruleForm.type == type) return\r\n if (type == '咨询') {\r\n this.ruleForm.complaint = ''\r\n this.ruleForm.beau = ''\r\n }\r\n this.ruleForm.type = type\r\n },\r\n tapChangeComplaint(complaint) {\r\n if (this.ruleForm.complaint == complaint) return\r\n this.ruleForm.complaint = complaint\r\n },\r\n tapChangeBeau(beau) {\r\n if (this.ruleForm.beau == beau) return\r\n this.ruleForm.beau = beau\r\n },\r\n handleRemove(file, fileList) {\r\n console.log(file, fileList);\r\n },\r\n handlePictureCardPreview(file) {\r\n this.dialogImageUrl = file.url;\r\n this.dialogVisible = true;\r\n },\r\n handleSuccess(response, file, fileList) {\r\n console.log(\"response\", response)\r\n console.log(\"file\", file)\r\n console.log(\"fileList\", fileList)\r\n }\r\n }\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n@import \"./index.scss\";\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=5d0d88fb&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=5d0d88fb&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5d0d88fb\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=5d0d88fb&lang=scss&scoped=true&\""],"sourceRoot":""}
|