1 |
- {"version":3,"sources":["webpack:///./src/views/message/Message.vue?6784","webpack:///src/views/message/Message.vue","webpack:///./src/views/message/Message.vue?c787","webpack:///./src/views/message/Message.vue","webpack:///./src/components/Page.vue?61f7","webpack:///./src/assets/survey_logo.png","webpack:///./src/components/Page.vue?5a44","webpack:///src/components/Page.vue","webpack:///./src/components/Page.vue?7e0d","webpack:///./src/components/Page.vue","webpack:///./node_modules/_core-js@2.6.12@core-js/modules/es6.function.name.js","webpack:///./src/views/message/Message.vue?7444"],"names":["render","_vm","this","_h","$createElement","_c","_self","_m","staticClass","attrs","model","value","form","callback","$$v","$set","expression","on","search","_v","staticStyle","openDiag","directives","name","rawName","list","scopedSlots","_u","key","fn","scope","row","fileurl","_s","filename","$event","showSurvey","template_qrcode","_e","receiver_ids","length","edit","del","id","ref","page","page_size","total","gopage","dialogTitle","dialogVisible","form1","rules","options","props","handleChange","node","data","label","isLeaf","children","_l","item","index","upload","slot","save","dialogVisible1","title","form2","type","placeholder","iitem","handlePictureCardPreview","handleRemove","refInFor","handlePreview","fileList","submitUpload","widgetList","saveResult","staticRenderFns","components","loading","input","defaultProps","templateList","userList","methods","created","component","module","exports","current","getData","handleSizeChange","dP","f","FProto","Function","prototype","nameRE","NAME","configurable","get","match","e"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACJ,EAAIM,GAAG,GAAGF,EAAG,MAAM,CAACG,YAAY,WAAW,CAACH,EAAG,MAAM,CAACG,YAAY,UAAU,CAACH,EAAG,UAAU,CAACI,MAAM,CAAC,KAAO,QAAQ,cAAc,OAAO,QAAS,EAAK,iBAAiB,SAAS,CAACJ,EAAG,eAAe,CAACI,MAAM,CAAC,MAAQ,KAAK,CAACJ,EAAG,WAAW,CAACI,MAAM,CAAC,UAAY,GAAG,YAAc,SAASC,MAAM,CAACC,MAAOV,EAAI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AVJ,SAUA,GACM,KAAN,wBAGE,QAzBF,cCzBkb,I,wBCQ9aS,EAAY,eACd,EACA1F,EACAiF,GACA,EACA,KACA,KACA,MAIa,OAAAS,E,qDCnBf,IAAIM,EAAK,EAAQ,QAAgBC,EAC7BC,EAASC,SAASC,UAClBC,EAAS,wBACTC,EAAO,OAGXA,KAAQJ,GAAU,EAAQ,SAAqBF,EAAGE,EAAQI,EAAM,CAC9DC,cAAc,EACdC,IAAK,WACH,IACE,OAAQ,GAAKtG,MAAMuG,MAAMJ,GAAQ,GACjC,MAAOK,GACP,MAAO,Q,kCCZb","file":"js/chunk-3fc807ba.b11d9132.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',[_vm._m(0),_c('div',{staticClass:\"content\"},[_c('div',{staticClass:\"filter\"},[_c('el-form',{attrs:{\"size\":\"small\",\"label-width\":\"70px\",\"inline\":true,\"label-position\":\"left\"}},[_c('el-form-item',{attrs:{\"label\":\"\"}},[_c('el-input',{attrs:{\"clearable\":\"\",\"placeholder\":\"请输入标题\"},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}})],1),_c('el-form-item',[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.search}},[_vm._v(\"搜索\")])],1),_c('el-form-item',{staticStyle:{\"float\":\"right\"}},[_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.openDiag}},[_vm._v(\"发送消息\")])],1)],1)],1),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],staticClass:\"table\",staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.list,\"height\":\"50vh\",\"border\":\"\",\"default-expand-all\":\"\",\"row-key\":\"id\"}},[_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":\"标题\"}}),_c('el-table-column',{attrs:{\"prop\":\"name\",\"label\":\"附件\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('a',{attrs:{\"href\":scope.row.fileurl,\"target\":\"_blank\"}},[_c('span',[_vm._v(_vm._s(scope.row.filename))])])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"cname\",\"label\":\"是否问卷\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('a',{attrs:{\"target\":\"_blank\"},on:{\"click\":function($event){return _vm.showSurvey(scope.row)}}},[_c('span',[_vm._v(\"查看问卷\")])]),(scope.row.template_qrcode)?_c('a',{attrs:{\"href\":scope.row.template_qrcode,\"target\":\"_blank\"}},[_c('span',[_vm._v(\" | 生成二维码\")])]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"prop\":\"cname\",\"label\":\"问卷统计\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.receiver_ids)?_c('span',[_vm._v(\"共统计:\\n \"),_c('a',{attrs:{\"target\":\"_blank\"}},[_c('span',[_vm._v(_vm._s(scope.row.receiver_ids.length))])]),_vm._v(\"人\"),_c('br')]):_vm._e(),_vm._v(\"\\n 已完成:\"),_c('a',{attrs:{\"href\":scope.row.fileurl,\"target\":\"_blank\"}},[_c('span',[_vm._v(\"生成二维码\")])]),_vm._v(\"人\"),_c('br'),(scope.row.receiver_ids)?_c('span',[_vm._v(\"未完成:\"),_c('a',{attrs:{\"href\":scope.row.fileurl,\"target\":\"_blank\"}},[_c('span',[_vm._v(\"生成二维码\")])]),_vm._v(\"人\"),_c('br')]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"prop\":\"cname\",\"label\":\"发送者\"}}),_c('el-table-column',{attrs:{\"prop\":\"receiver_names\",\"label\":\"接收者\"}}),_c('el-table-column',{attrs:{\"prop\":\"ctime\",\"label\":\"发送时间\"}}),_c('el-table-column',{attrs:{\"prop\":\"zip\",\"width\":\"150\",\"label\":\"操作\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{staticClass:\"edit\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.edit(scope.row)}}},[_vm._v(\"编辑\")]),_c('el-button',{staticClass:\"del\",attrs:{\"type\":\"text\"},on:{\"click\":function($event){return _vm.del(scope.row.id)}}},[_vm._v(\"删除\")])]}}])})],1),_c('Page',{ref:\"pageButton\",attrs:{\"current\":_vm.form.page,\"page_size\":_vm.form.page_size,\"total\":_vm.total},on:{\"pageChange\":_vm.gopage}})],1),_c('el-dialog',{attrs:{\"title\":_vm.dialogTitle,\"close-on-click-modal\":false,\"visible\":_vm.dialogVisible},on:{\"update:visible\":function($event){_vm.dialogVisible=$event}}},[_c('el-form',{ref:\"form1\",staticClass:\"preview\",attrs:{\"size\":\"small\",\"inline\":false,\"label-width\":\"80px\",\"model\":_vm.form1,\"rules\":_vm.rules}},[_c('el-form-item',{attrs:{\"label\":\"标题\",\"prop\":\"name\"}},[_c('el-input',{attrs:{\"placeholder\":\"请输入标题\"},model:{value:(_vm.form1.name),callback:function ($$v) {_vm.$set(_vm.form1, \"name\", $$v)},expression:\"form1.name\"}})],1),_c('el-form-item',{attrs:{\"label\":\"接收人\"}},[_c('el-cascader',{attrs:{\"options\":_vm.options,\"props\":_vm.props,\"clearable\":\"\"},on:{\"change\":_vm.handleChange},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar node = ref.node;\nvar data = ref.data;\nreturn [_c('span',[_vm._v(_vm._s(data.label))]),(!node.isLeaf)?_c('span',[_vm._v(\" (\"+_vm._s(data.children.length)+\") \")]):_vm._e()]}}]),model:{value:(_vm.form1.receiver_id),callback:function ($$v) {_vm.$set(_vm.form1, \"receiver_id\", $$v)},expression:\"form1.receiver_id\"}})],1),_c('el-form-item',{attrs:{\"label\":\"问卷模板\"}},[_c('el-select',{attrs:{\"placeholder\":\"请选择问卷模板\",\"clearable\":\"\"},model:{value:(_vm.form1.template_id),callback:function ($$v) {_vm.$set(_vm.form1, \"template_id\", $$v)},expression:\"form1.template_id\"}},_vm._l((_vm.templateList),function(item,index){return _c('el-option',{key:index,attrs:{\"label\":item.name,\"value\":item.id}})}),1)],1),_c('el-form-item',{attrs:{\"label\":\"附件\"}},[_c('input',{attrs:{\"id\":\"fileurl\",\"type\":\"file\"},on:{\"change\":function($event){return _vm.upload('fileurl')}}}),_c('a',{attrs:{\"href\":_vm.form1.fileurl,\"target\":\"_blank\"}},[_c('span',[_vm._v(_vm._s(_vm.form1.filename))])])])],1),_c('span',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.save}},[_vm._v(\"确 定\")])],1)],1),_c('el-dialog',{attrs:{\"title\":_vm.dialogTitle,\"close-on-click-modal\":false,\"visible\":_vm.dialogVisible1},on:{\"update:visible\":function($event){_vm.dialogVisible1=$event}}},[_c('div',{staticClass:\"item-main\"},[_c('img',{staticClass:\"survey_logo\",attrs:{\"src\":require(\"../../assets/survey_logo.png\"),\"alt\":\"\"}}),_c('h5',{staticClass:\"tpl_title\",attrs:{\"align\":\"center\"}},[_vm._v(_vm._s(_vm.title))]),_c('el-form',{ref:\"form\",staticClass:\"tpl_form over_y\",attrs:{\"model\":_vm.form2}},[_vm._l((_vm.widgetList),function(item,index){return _c('el-form-item',{key:index,attrs:{\"label\":item.label}},[(item.type=='input')?_c('el-input',{attrs:{\"placeholder\":item.placeholder},model:{value:(_vm.form2[item.label]),callback:function ($$v) {_vm.$set(_vm.form2, item.label, $$v)},expression:\"form2[item.label]\"}}):_vm._e(),(item.type=='textarea')?_c('el-input',{attrs:{\"type\":\"textarea\",\"placeholder\":item.placeholder},model:{value:(_vm.form2[item.label]),callback:function ($$v) {_vm.$set(_vm.form2, item.label, $$v)},expression:\"form2[item.label]\"}}):_vm._e(),(item.type=='radio')?_c('el-radio-group',{model:{value:(_vm.form2[item.label]),callback:function ($$v) {_vm.$set(_vm.form2, item.label, $$v)},expression:\"form2[item.label]\"}},_vm._l((item.items),function(iitem,index){return _c('el-radio',{key:index,attrs:{\"label\":iitem.label}},[_vm._v(_vm._s(iitem.label))])}),1):_vm._e(),(item.type=='checkbox')?_c('el-radio-group',{model:{value:(_vm.form2[item.label]),callback:function ($$v) {_vm.$set(_vm.form2, item.label, $$v)},expression:\"form2[item.label]\"}},_vm._l((item.items),function(iitem,index){return _c('el-checkbox',{key:index,attrs:{\"label\":iitem.label}},[_vm._v(_vm._s(iitem.label))])}),1):_vm._e(),(item.type=='image')?_c('el-upload',{attrs:{\"action\":\"https://jsonplaceholder.typicode.com/posts/\",\"list-type\":\"picture-card\",\"on-preview\":_vm.handlePictureCardPreview,\"on-remove\":_vm.handleRemove}},[_c('i',{staticClass:\"el-icon-plus\"})]):_vm._e(),(item.type=='file')?_c('el-upload',{ref:\"upload\",refInFor:true,staticClass:\"upload-demo\",attrs:{\"action\":\"https://jsonplaceholder.typicode.com/posts/\",\"on-preview\":_vm.handlePreview,\"on-remove\":_vm.handleRemove,\"file-list\":_vm.fileList,\"auto-upload\":false}},[_c('el-button',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"size\":\"small\",\"type\":\"primary\",\"plain\":\"\"},on:{\"click\":_vm.submitUpload}},[_vm._v(\"添加文件\")])],1):_vm._e()],1)}),(this.widgetList.length)?_c('el-form-item',[_c('el-button',{staticStyle:{\"width\":\"100%\"},attrs:{\"size\":\"medium\",\"type\":\"primary\"},on:{\"click\":_vm.saveResult}},[_vm._v(\"提交\")])],1):_vm._e()],2)],1)])],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('span',[_vm._v(\"信息管理>\")]),_vm._v(\"消息管理\")])}]\n\nexport { render, staticRenderFns }","<style lang=\"scss\">\r\n .preview{\r\n .el-form-item{\r\n margin-bottom:15px;\r\n }\r\n label,p{\r\n line-height: 25px !important;\r\n }\r\n }\r\n .el-cascader{\r\n width:100%;\r\n }\r\n a{\r\n text-decoration: none;\r\n color:#409EFF;\r\n }\r\n // 右边\r\n .item-main{\r\n // margin:34px;\r\n // height:600px;\r\n // background: #FFFFFF;\r\n border: 1px solid #DDDDDD;\r\n box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.13);\r\n border-radius: 20px; \r\n .el-form.over_y{\r\n max-height:calc( 100vh - 340px);\r\n }\r\n /deep/.el-form-item__label{\r\n float: none;\r\n }\r\n }\r\n // label样式\r\n .edit_label {\r\n /deep/.el-input__inner{\r\n background:#F5FAFF;\r\n border:0px;\r\n padding:0px;\r\n }\r\n }\r\n /deep/.opicon{\r\n font-weight: bold;\r\n padding:5px;\r\n color:#3895FE;\r\n }\r\n .tpl_title{\r\n font-size: 18px;\r\n margin-bottom:20px;\r\n }\r\n .tpl_form{\r\n margin:20px;\r\n border:1px solid #ccc;\r\n border-radius: 20px;\r\n /deep/.el-form-item{\r\n background:none;\r\n }\r\n /deep/.el-form-item__content{\r\n width:100%;\r\n }\r\n }\r\n .survey_logo{\r\n position: relative;\r\n top:15px;\r\n left: 20px;\r\n }\r\n \r\n</style>\r\n<template>\r\n <section>\r\n <p><span>信息管理></span>消息管理</p>\r\n <div class=\"content\">\r\n <div class=\"filter\">\r\n <el-form size=\"small\" label-width=\"70px\" :inline=\"true\" label-position=\"left\">\r\n <el-form-item label=\"\">\r\n <el-input clearable placeholder=\"请输入标题\" v-model=\"form.name\"></el-input>\r\n </el-form-item>\r\n <el-form-item>\r\n <el-button type=\"primary\" @click=\"search\">搜索</el-button>\r\n </el-form-item>\r\n <el-form-item style=\"float:right\" >\r\n <el-button @click=\"openDiag\" type=\"primary\">发送消息</el-button>\r\n </el-form-item>\r\n </el-form>\r\n </div>\r\n <el-table\r\n class=\"table\"\r\n :data=\"list\"\r\n height='50vh'\r\n border v-loading=\"loading\"\r\n default-expand-all row-key=\"id\"\r\n style=\"width: 100%\">\r\n <el-table-column\r\n prop=\"name\" \r\n label=\"标题\">\r\n </el-table-column>\r\n <el-table-column\r\n prop=\"name\" \r\n label=\"附件\">\r\n <template slot-scope=\"scope\">\r\n <a :href=\"scope.row.fileurl\" target=\"_blank\"><span>{{scope.row.filename}}</span></a>\r\n </template>\r\n </el-table-column>\r\n <el-table-column\r\n prop=\"cname\" \r\n label=\"是否问卷\">\r\n <template slot-scope=\"scope\">\r\n <a @click=\"showSurvey(scope.row)\" target=\"_blank\"><span>查看问卷</span></a>\r\n <a v-if=\"scope.row.template_qrcode\" :href=\"scope.row.template_qrcode\" target=\"_blank\"><span> | 生成二维码</span></a>\r\n </template>\r\n </el-table-column>\r\n <el-table-column\r\n prop=\"cname\" \r\n label=\"问卷统计\">\r\n <template slot-scope=\"scope\">\r\n <span v-if=\"scope.row.receiver_ids\">共统计:\r\n <a target=\"_blank\"><span>{{scope.row.receiver_ids.length}}</span></a>人<br>\r\n </span>\r\n 已完成:<a :href=\"scope.row.fileurl\" target=\"_blank\"><span>生成二维码</span></a>人<br>\r\n <span v-if=\"scope.row.receiver_ids\">未完成:<a :href=\"scope.row.fileurl\" target=\"_blank\"><span>生成二维码</span></a>人<br></span>\r\n </template>\r\n </el-table-column>\r\n <el-table-column\r\n prop=\"cname\" \r\n label=\"发送者\">\r\n </el-table-column>\r\n <el-table-column\r\n prop=\"receiver_names\" \r\n label=\"接收者\">\r\n </el-table-column>\r\n <el-table-column\r\n prop=\"ctime\" \r\n label=\"发送时间\">\r\n </el-table-column>\r\n <el-table-column \r\n prop=\"zip\" width=\"150\"\r\n label=\"操作\">\r\n <template slot-scope=\"scope\">\r\n <el-button class=\"edit\" type=\"text\" @click=\"edit(scope.row)\">编辑</el-button>\r\n <el-button class=\"del\" @click=\"del(scope.row.id)\" type=\"text\">删除</el-button>\r\n </template>\r\n </el-table-column>\r\n </el-table>\r\n <Page ref=\"pageButton\" :current='form.page' :page_size='form.page_size' :total='total' @pageChange='gopage'/>\r\n </div>\r\n\r\n <el-dialog\r\n :title=\"dialogTitle\" :close-on-click-modal='false'\r\n :visible.sync=\"dialogVisible\">\r\n <el-form size=\"small\" class=\"preview\" :inline='false' label-width=\"80px\" :model=\"form1\" ref=\"form1\" :rules=\"rules\">\r\n <el-form-item label=\"标题\" prop=\"name\">\r\n <el-input v-model=\"form1.name\" placeholder=\"请输入标题\"></el-input>\r\n </el-form-item>\r\n <el-form-item label=\"接收人\">\r\n <!-- <el-select placeholder=\"请选择接收人\" v-model=\"form1.receiver_id\" multiple>\r\n <el-option\r\n v-for=\"(item, index) in userList\"\r\n :key=\"index\"\r\n :label=\"item.name\"\r\n :value=\"item.id\"\r\n ></el-option>\r\n </el-select> -->\r\n <el-cascader\r\n v-model='form1.receiver_id'\r\n :options=\"options\"\r\n :props=\"props\"\r\n @change=\"handleChange\"\r\n clearable>\r\n <template slot-scope=\"{ node, data }\">\r\n <span>{{ data.label }}</span>\r\n <span v-if=\"!node.isLeaf\"> ({{ data.children.length }}) </span>\r\n </template>\r\n </el-cascader>\r\n </el-form-item>\r\n <el-form-item label=\"问卷模板\">\r\n <el-select placeholder=\"请选择问卷模板\" v-model=\"form1.template_id\" clearable>\r\n <el-option\r\n v-for=\"(item, index) in templateList\"\r\n :key=\"index\"\r\n :label=\"item.name\"\r\n :value=\"item.id\"\r\n ></el-option>\r\n </el-select>\r\n </el-form-item>\r\n <el-form-item label=\"附件\">\r\n <input @change=\"upload('fileurl')\" id='fileurl' type=\"file\">\r\n <a :href=\"form1.fileurl\" target=\"_blank\"><span>{{form1.filename}}</span></a>\r\n </el-form-item>\r\n </el-form>\r\n <span slot=\"footer\" class=\"dialog-footer\">\r\n <el-button size=\"small\" type=\"primary\" @click=\"save\">确 定</el-button>\r\n </span>\r\n </el-dialog>\r\n <!-- 问卷调查表单 -->\r\n <el-dialog\r\n :title=\"dialogTitle\" :close-on-click-modal='false'\r\n :visible.sync=\"dialogVisible1\">\r\n <div class='item-main'>\r\n <img src=\"../../assets/survey_logo.png\" alt=\"\" class=\"survey_logo\">\r\n <h5 align='center' class=\"tpl_title\">{{title}}</h5>\r\n <el-form ref=\"form\" :model=\"form2\" class=\"tpl_form over_y\">\r\n <el-form-item v-for=\"(item,index) in widgetList\" :key=\"index\" :label=\"item.label\">\r\n <el-input v-if=\"item.type=='input'\" v-model=\"form2[item.label]\" :placeholder=\"item.placeholder\"></el-input>\r\n <el-input v-if=\"item.type=='textarea'\" type=\"textarea\" v-model=\"form2[item.label]\" :placeholder=\"item.placeholder\"></el-input>\r\n <el-radio-group v-if=\"item.type=='radio'\" v-model=\"form2[item.label]\">\r\n <el-radio :label=\"iitem.label\" v-for=\"(iitem,index) in item.items\" :key=\"index\">{{iitem.label}}</el-radio>\r\n </el-radio-group>\r\n <el-radio-group v-if=\"item.type=='checkbox'\" v-model=\"form2[item.label]\">\r\n <el-checkbox :label=\"iitem.label\" v-for=\"(iitem,index) in item.items\" :key=\"index\">{{iitem.label}}</el-checkbox>\r\n </el-radio-group>\r\n <el-upload\r\n v-if=\"item.type=='image'\"\r\n action=\"https://jsonplaceholder.typicode.com/posts/\"\r\n list-type=\"picture-card\"\r\n :on-preview=\"handlePictureCardPreview\"\r\n :on-remove=\"handleRemove\">\r\n <i class=\"el-icon-plus\"></i>\r\n </el-upload>\r\n <el-upload\r\n v-if=\"item.type=='file'\"\r\n class=\"upload-demo\"\r\n ref=\"upload\"\r\n action=\"https://jsonplaceholder.typicode.com/posts/\"\r\n :on-preview=\"handlePreview\"\r\n :on-remove=\"handleRemove\"\r\n :file-list=\"fileList\"\r\n :auto-upload=\"false\">\r\n <!-- <el-button slot=\"trigger\" size=\"small\" type=\"primary\">选取文件</el-button> -->\r\n <el-button style=\"margin-left: 10px;\" size=\"small\" type=\"primary\" plain @click=\"submitUpload\">添加文件</el-button>\r\n <!-- <div slot=\"tip\" class=\"el-upload__tip\">只能上传jpg/png文件,且不超过500kb</div> -->\r\n </el-upload>\r\n </el-form-item> \r\n <el-form-item v-if=\"this.widgetList.length\">\r\n <el-button size=\"medium\" type=\"primary\" @click=\"saveResult\" style=\"width:100%;\">提交</el-button>\r\n </el-form-item>\r\n </el-form>\r\n </div>\r\n </el-dialog>\r\n </section>\r\n</template>\r\n<script>\r\nimport Page from '../../components/Page';\r\nexport default {\r\n components:{\r\n Page\r\n },\r\n data(){\r\n return{\r\n widgetList:[],\r\n form:{name:'',page:1,page_size:20},\r\n form1:{},\r\n form2:{},\r\n total:1,\r\n list:[{name:'2333'}],\r\n loading:false,\r\n input:'',\r\n dialogVisible:false,\r\n dialogVisible1:false,\r\n dialogTitle:\"\",\r\n defaultProps:{},\r\n data: [],\r\n templateList:[],\r\n userList:[],\r\n rules: {\r\n name: [\r\n { required: true, message: '请输入标题', trigger: 'blur' }\r\n ]\r\n },\r\n props: { multiple: true },\r\n options: [{\r\n value: 1,\r\n label: '东南',\r\n children: [{\r\n value: 2,\r\n label: '上海',\r\n children: [\r\n { value: 3, label: '普陀' },\r\n { value: 4, label: '黄埔' },\r\n { value: 5, label: '徐汇' }\r\n ]\r\n }, {\r\n value: 7,\r\n label: '江苏',\r\n children: [\r\n { value: 8, label: '南京' },\r\n { value: 9, label: '苏州' },\r\n { value: 10, label: '无锡' }\r\n ]\r\n }, {\r\n value: 12,\r\n label: '浙江',\r\n children: [\r\n { value: 13, label: '杭州' },\r\n { value: 14, label: '宁波' },\r\n { value: 15, label: '嘉兴' }\r\n ]\r\n }]\r\n }, {\r\n value: 17,\r\n label: '西北',\r\n children: [{\r\n value: 18,\r\n label: '陕西',\r\n children: [\r\n { value: 19, label: '西安' },\r\n { value: 20, label: '延安' }\r\n ]\r\n }, {\r\n value: 21,\r\n label: '新疆维吾尔族自治区',\r\n children: [\r\n { value: 22, label: '乌鲁木齐' },\r\n { value: 23, label: '克拉玛依' }\r\n ]\r\n }]\r\n }]\r\n }\r\n },\r\n methods:{\r\n showSurvey(row){\r\n this.title = row.name\r\n this.message_id = row.id\r\n this.$api.getTemplate({id:row.template_id}).then(res=>{\r\n if(res.data.code==0){\r\n this.widgetList = res.data.data.widget;\r\n this.dialogVisible1 = true;\r\n }\r\n })\r\n },\r\n upload(type){\r\n var file=document.getElementById(type).files;\r\n var data=new FormData();\r\n data.append(\"file\",file[0])\r\n this.$api.uploadFile(data).then(res=>{\r\n if(res.data.code==0){\r\n this.$set(this.form1,type,res.data.data.url)\r\n this.$set(this.form1,\"filename\",res.data.data.name)\r\n this.$message({message: '上传成功!',type: 'success'});\r\n }else{\r\n this.$message.error(res.data.message);\r\n }\r\n })\r\n },\r\n handleChange(value){\r\n console.log(value)\r\n },\r\n search(){\r\n let parm = this.form\r\n this.getData()\r\n },\r\n openDiag(){\r\n this.form1 = {}\r\n this.dialogVisible = true;\r\n this.dialogTitle = \"发送消息\"\r\n },\r\n gopage(size){\r\n if(size){\r\n this.form.page_size=size\r\n }\r\n this.form.page=this.$refs.pageButton.page\r\n this.getData()\r\n },\r\n getData(){\r\n var parm=this.form; \r\n this.loading=true\r\n this.$api.getAllTemplateList().then(res=>{\r\n this.templateList = res.data.data\r\n })\r\n this.$api.getAllSysUserList().then(res=>{\r\n this.userList = res.data.data\r\n })\r\n this.$api.getMessageList(parm).then(res=>{\r\n this.list=res.data.data.list;\r\n this.total=res.data.data.total\r\n this.loading=false\r\n })\r\n this.$api.getMessageReceiverList().then(res=>{\r\n this.options=res.data.data;\r\n })\r\n \r\n },\r\n del(id){\r\n this.$confirm('确定删除吗', '提示', {\r\n type: 'warning'\r\n }).then(() => {\r\n this.$api.delMessageInfo({id:id}).then((res)=>{\r\n this.$message({\r\n message: '删除成功',\r\n type: 'success'\r\n })\r\n this.getData()\r\n })\r\n })\r\n },\r\n edit(row){\r\n this.form1 = row;\r\n let receiver_ids = this.form1.receiver_id\r\n console.log(receiver_ids,33333333333333)\r\n if(typeof(receiver_ids)==\"string\"){\r\n receiver_ids = JSON.parse(receiver_ids)\r\n }\r\n // receiver_ids.forEach((element,index) => {\r\n // receiver_ids[index] = parseInt(element)\r\n // });\r\n this.form1.receiver_id = receiver_ids\r\n this.dialogVisible = true;\r\n },\r\n saveResult(){\r\n let parm = {\r\n message_id:this.message_id,\r\n result:this.form2\r\n }\r\n this.$api.saveSurveyResult(parm).then(res=>{\r\n if(res.data.code==0){\r\n this.$message({\r\n type:\"success\",\r\n message:\"保存成功!\"\r\n })\r\n }else{\r\n this.$message.error(\"保存失败!\");\r\n }\r\n })\r\n },\r\n save(){\r\n this.$refs[\"form1\"].validate((valid)=>{\r\n if(valid){\r\n let parm = this.form1\r\n let id = this.form1.id\r\n parm.receiver_id = JSON.stringify(parm.receiver_id)\r\n if(id){\r\n this.$api.editMessage(parm).then(res=>{\r\n if(res.data.code==0){\r\n this.$message({\r\n type:\"success\",\r\n message:\"保存成功!\"\r\n })\r\n }else{\r\n this.$message.error(\"保存失败!\");\r\n }\r\n })\r\n }else{\r\n this.$api.addMessage(parm).then(res=>{\r\n if(res.data.code==0){\r\n this.$message({\r\n type:\"success\",\r\n message:\"保存成功!\"\r\n })\r\n }else{\r\n this.$message.error(\"保存失败!\");\r\n }\r\n })\r\n }\r\n this.getData()\r\n this.dialogVisible = false\r\n }\r\n })\r\n }\r\n },\r\n created(){\r\n this.getData()\r\n }\r\n}\r\n</script>\r\n","import mod from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./Message.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./Message.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Message.vue?vue&type=template&id=3216f4a6&\"\nimport script from \"./Message.vue?vue&type=script&lang=js&\"\nexport * from \"./Message.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Message.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/_vue-loader@15.9.6@vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/_sass-loader@7.3.1@sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./Page.vue?vue&type=style&index=0&lang=scss&\"","module.exports = __webpack_public_path__ + \"img/survey_logo.387bf80d.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-pagination',{attrs:{\"background\":\"\",\"page-size\":_vm.page_size?_vm.page_size:20,\"current-page\":_vm.current,\"page-sizes\":[10,20, 30, 40, 50,60,70,80,90,100],\"layout\":\"total,sizes,prev, pager, next\",\"total\":_vm.total},on:{\"current-change\":_vm.getData,\"size-change\":_vm.handleSizeChange}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<style lang=\"scss\">\r\n @import '../style/style.scss';\r\n .el-pagination{\r\n li,button{\r\n border: 1px solid #CACACA !important;\r\n background-color: #fff !important;\r\n }\r\n .active{\r\n border:none !important;\r\n background: #3895FE !important;\r\n }\r\n }\r\n</style>\r\n<template>\r\n <el-pagination\r\n @current-change=\"getData\"\r\n background :page-size='page_size?page_size:20'\r\n @size-change=\"handleSizeChange\"\r\n :current-page=\"current\"\r\n :page-sizes=\"[10,20, 30, 40, 50,60,70,80,90,100]\"\r\n layout=\"total,sizes,prev, pager, next\"\r\n :total=\"total\">\r\n </el-pagination>\r\n</template>\r\n<script>\r\nexport default {\r\n data(){\r\n return{\r\n page:1\r\n }\r\n },\r\n props: {\r\n total:'',\r\n page_size:'',\r\n current:''\r\n },\r\n methods:{\r\n getData(type){\r\n // if(type == 1){\r\n // this.data.pageNumber=this.data.pageNumber-1\r\n // }else if(type == 2){\r\n // this.data.pageNumber=this.data.pageNumber+1\r\n // }\r\n this.page=type\r\n this.$emit('pageChange')\r\n },\r\n handleSizeChange(val){\r\n this.$emit('pageChange',val)\r\n }\r\n },\r\n created(){\r\n }\r\n}\r\n</script>","import mod from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./Page.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.2.2@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./Page.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Page.vue?vue&type=template&id=df237d3a&\"\nimport script from \"./Page.vue?vue&type=script&lang=js&\"\nexport * from \"./Page.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Page.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/_vue-loader@15.9.6@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var dP = require('./_object-dp').f;\nvar FProto = Function.prototype;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// 19.2.4.2 name\nNAME in FProto || require('./_descriptors') && dP(FProto, NAME, {\n configurable: true,\n get: function () {\n try {\n return ('' + this).match(nameRE)[1];\n } catch (e) {\n return '';\n }\n }\n});\n","export * from \"-!../../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/_sass-loader@7.3.1@sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.6@vue-loader/lib/index.js??vue-loader-options!./Message.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""}
|