nantai-erp-admin/dist/js/chunk-8d6b.56f7bbcf.js
2024-09-23 10:51:42 +08:00

1 line
3.9 KiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-8d6b"],{By7N:function(e,t,a){"use strict";a.d(t,"a",function(){return i}),a.d(t,"c",function(){return s}),a.d(t,"b",function(){return o}),a.d(t,"d",function(){return l});var n=a("HB48"),i=function(){return Object(n.a)("/admin/system/detail_system",{},"POST")},s=function(e){var t=e.system_logo,a=e.system_version,i=e.system_message,s=e.system_phone;return Object(n.a)("/admin/system/update_system",{system_logo:t,system_version:a,system_message:i,system_phone:s},"POST")},o=function(e){var t=e.page,a=e.page_len,i=e.advice_man,s=e.advice_content;return Object(n.a)("/admin/system/list_advice",{page:t,page_len:a,advice_man:i,advice_content:s},"POST")},l="/admin/system/upload"},Gbt8:function(e,t,a){"use strict";a.r(t);var n=a("By7N"),i={data:function(){return{firmList:[],total:0,listLoading:!0,searchForm:{page:1,page_len:10},dialog:!1,viewsContent:""}},created:function(){this.fetchData()},methods:{fetchData:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.page&&(this.searchForm.page=t.page,this.searchForm.page_len=t.page_len),this.listLoading=!0,this.$http(Object(n.b)(this.searchForm),function(t){e.firmList=t.data.result,e.total=t.data.data_sum,e.listLoading=!1})},handleDetail:function(e){e&&(this.viewsContent=e,this.dialog=!0)}}},s=(a("QaiM"),a("KHd+")),o=Object(s.a)(i,function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"app-container"},[a("div",{staticClass:"filter-container"},[a("el-form",{attrs:{inline:!0,model:e.searchForm}},[a("el-form-item",{attrs:{label:"意见人"}},[a("el-input",{attrs:{placeholder:"请输入意见人"},model:{value:e.searchForm.advice_man,callback:function(t){e.$set(e.searchForm,"advice_man",t)},expression:"searchForm.advice_man"}})],1),e._v(" "),a("el-form-item",{attrs:{label:"意见内容"}},[a("el-input",{attrs:{placeholder:"请输入意见内容"},model:{value:e.searchForm.advice_content,callback:function(t){e.$set(e.searchForm,"advice_content",t)},expression:"searchForm.advice_content"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:e.fetchData}},[e._v("搜索")])],1)],1)],1),e._v(" "),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{data:e.firmList,border:"",fit:"","highlight-current-row":""}},[a("el-table-column",{attrs:{label:"ID",prop:"advice_id",align:"center",width:"80"}}),e._v(" "),a("el-table-column",{attrs:{label:"意见人",prop:"advice_man",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"意见内容",prop:"advice_content",align:"center"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("span",{staticClass:"line"},[e._v(e._s(t.row.advice_content))])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"创建时间",prop:"create_time",align:"center"}}),e._v(" "),a("el-table-column",{attrs:{label:"操作",align:"center",width:"220"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{staticClass:"ml-10",attrs:{size:"mini",type:"primary"},on:{click:function(a){e.handleDetail(t.row.advice_content)}}},[e._v(" 内容详情 ")])]}}])})],1),e._v(" "),a("pagination",{directives:[{name:"show",rawName:"v-show",value:e.total>0,expression:"total>0"}],attrs:{total:e.total,page:e.searchForm.page,page_len:e.searchForm.page_len,limit:e.searchForm.limit},on:{"update:page":function(t){e.$set(e.searchForm,"page",t)},"update:page_len":function(t){e.$set(e.searchForm,"page_len",t)},"update:limit":function(t){e.$set(e.searchForm,"limit",t)},pagination:e.fetchData}}),e._v(" "),a("el-dialog",{attrs:{title:"意见内容",visible:e.dialog,center:"",width:"540px"},on:{"update:visible":function(t){e.dialog=t}}},[a("div",{staticClass:"box font-16 lh-24"},[e._v(e._s(e.viewsContent))])])],1)},[],!1,null,"d3e7fd5e",null);o.options.__file="index.vue";t.default=o.exports},QaiM:function(e,t,a){"use strict";var n=a("cBJI");a.n(n).a},cBJI:function(e,t,a){}}]);