1 line
7.8 KiB
JavaScript
1 line
7.8 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-65aac34a"],{7868:function(t,e,i){},e0c5:function(t,e,i){"use strict";i("7868")},e132:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"problem"},[i("el-row",[i("el-col",{attrs:{span:24}},[i("div",{staticClass:"problem_form"},[i("el-form",{ref:"form",attrs:{inline:!0,model:t.dataForm,"label-width":"60px"}},[i("el-form-item",{attrs:{label:"关键字:"}},[i("el-input",{staticClass:"filter-item",staticStyle:{width:"400px"},attrs:{placeholder:"请输入搜索关键字"},model:{value:t.dataForm.keyword,callback:function(e){t.$set(t.dataForm,"keyword",e)},expression:"dataForm.keyword"}})],1),i("el-form-item",[i("el-button",{attrs:{type:"success"},on:{click:t.onSubmit}},[t._v("查询")])],1)],1)],1)])],1),i("div",{staticClass:"problem_container"},[i("div",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:t.load,expression:"load"}],staticClass:"problem_left",staticStyle:{overflow:"auto",padding:"10px"},attrs:{"infinite-scroll-immediate":!1}},t._l(t.getQaCityList,(function(e){return i("div",{staticClass:"btn",on:{click:function(i){return t.handleQacityl(e.city_id)}}},[t._v(" "+t._s(e.city_name)+" ")])})),0),i("div",{staticClass:"problem_right"},[i("ul",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:t.load,expression:"load"}],staticClass:"infinite-list",staticStyle:{overflow:"auto"},attrs:{"infinite-scroll-immediate":!1}},t._l(t.getQaLists,(function(e){return i("li",{staticClass:"problem_right_container"},[i("div",{staticClass:"title"},[i("span",{domProps:{innerHTML:t._s(t.handleprant(e.title))}}),i("el-button",{attrs:{type:"primary"},on:{click:function(i){return t.showImgDialog(e.img_zip)}}},[t._v("下载图片")]),i("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary"},on:{click:function(i){return t.showFileList(e.trip_zip)}}},[t._v("下载行程")])],1),t._l(e.qaQuestions,(function(e){return i("div",{staticClass:"desc_container"},[i("span",{staticClass:"desc",staticStyle:{"font-weight":"700",color:"#46a6ff"},domProps:{innerHTML:t._s(t.handleprant(e.title))}}),i("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary",size:"mini"},on:{click:function(i){return t.copyToClipboard(e.content)}}},[t._v("复制")]),i("div",{staticClass:"desc",domProps:{innerHTML:t._s(t.handleprantHtml(e.content))}})],1)}))],2)})),0)])]),i("el-dialog",{attrs:{title:"图片列表",visible:t.dialogImage,width:"80%"},on:{"update:visible":function(e){t.dialogImage=e}}},[i("div",{staticClass:"image-list"},t._l(t.imageList,(function(e,a){return i("el-card",{key:a,staticClass:"image-card",attrs:{"body-style":{padding:"10px"}}},[i("div",{staticStyle:{"text-align":"center"}},[t._v(t._s(e.desc))]),i("img",{staticClass:"image-preview",attrs:{src:e.file}}),i("div",{staticClass:"image-footer"},[i("el-button",{attrs:{size:"mini"},on:{click:function(i){return t.handlePreview(e.file)}}},[t._v("查看")]),i("el-button",{attrs:{type:"success",size:"mini"},on:{click:function(i){return t.handleDownload(e.file)}}},[t._v("下载")])],1)])})),1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:function(e){t.dialogImage=!1}}},[t._v("关闭")])],1)]),i("el-dialog",{attrs:{title:"文件列表",visible:t.dialogFile,width:"80%"},on:{"update:visible":function(e){t.dialogFile=e}}},[i("div",{staticClass:"file-list-horizontal"},t._l(t.fileList,(function(e,a){return i("el-card",{key:a,staticClass:"file-card",attrs:{"body-style":{padding:"10px"}}},[i("div",{staticClass:"file-info"},[i("el-icon",{staticClass:"file-icon"},[i("i",{class:t.getFileIcon(e.file)})]),i("span",{staticClass:"file-name",staticStyle:{display:"block"}},[t._v(t._s(t.getFileName(e.file)))])],1),i("div",{staticClass:"file-info"},[i("span",{staticClass:"file-name"},[t._v(t._s(e.desc))])]),i("div",{staticClass:"file-footer"},[i("el-button",{attrs:{type:"success",size:"mini"},on:{click:function(i){return t.handleDownload(e.file)}}},[t._v("下载")])],1)])})
|