1 |
- (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-6d02b352"],{"644d":function(t,e,n){"use strict";n.r(e);var r=n("5530"),u=(n("a434"),n("2f62")),o=n("8593");r={name:"index",computed:Object(r.a)(Object(r.a)(Object(r.a)({},Object(u.d)("media",["isMobile"])),Object(u.d)("userLevel",["categoryId"])),{},{labelWidth:function(){return this.isMobile?void 0:"80px"},labelPosition:function(){return this.isMobile?"top":"right"}}),data:function(){return{verModal:!1,total:20,tableFrom:{page:1,limit:15},loading:!1,tableList:[]}},created:function(){this.getList()},methods:{submitFail:function(){this.getList()},record:function(t){this.rows=t,this.modals3=!0,this.isChat=!0,this.getListRecord()},add:function(){var t=this;this.$modalForm(Object(o.qb)(0)).then((function(e){t.getList()}))},getList:function(){var t=this;this.loading=!0,Object(o.rb)().then((function(e){t.tableList=e.data.list,t.total=e.data.count,t.loading=!1})).catch((function(e){t.$message.error(e.msg),t.loading=!1}))},edit:function(t){var e=this;this.$modalForm(Object(o.qb)(t.id)).then((function(t){e.getList()}))},del:function(t,e,n){var r=this;e={title:e,num:n,url:"app/version/del/".concat(t.id),method:"DELETE",ids:""};this.$modalSure(e).then((function(t){r.$message.success(t.msg),r.tableList.splice(n,1)})).catch((function(t){r.$message.error(t.msg)}))},handleSubmit:function(t){var e=this;this.$refs[t].validate((function(t){t?e.$message.success("成功!"):e.$message.error("失败!")}))},handleReset:function(t){this.$refs[t].resetFields()},pageChange:function(){}}},u=n("2877"),n=Object(u.a)(r,(function(){var t=this,e=t._self._c;return e("div",[e("el-card",{staticClass:"ivu-mt",attrs:{bordered:!1,shadow:"never"}},[e("el-row",{staticClass:"mb20"},[e("el-col",{attrs:{span:24}},[e("el-button",{staticClass:"mr10",attrs:{type:"primary"},on:{click:t.add}},[t._v("发布版本")])],1)],1),e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{data:t.tableList,"highlight-current-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"}},[e("el-table-column",{attrs:{label:"版本号",width:"80"},scopedSlots:t._u([{key:"default",fn:function(n){return[n.row.is_new?e("el-tooltip",{attrs:{effect:"light",trigger:"hover",placement:"top-start",content:"当前为最新线上版本!"}},[e("i",{staticClass:"el-icon-s-promotion",staticStyle:{"font-size":"16px",color:"red"}})]):t._e()]}}])}),e("el-table-column",{attrs:{label:"平台类型","min-width":"90"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("div",{directives:[{name:"viewer",rawName:"v-viewer"}],staticClass:"tabBox_img"},[e("span",[t._v(t._s(1===n.row.platform?"安卓":"苹果"))])])]}}])}),e("el-table-column",{attrs:{label:"升级信息","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("span",[t._v(t._s(n.row.info))])]}}])}),e("el-table-column",{attrs:{label:"是否强制","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("span",[t._v(t._s(1===n.row.is_force?"强制":"非强制"))])]}}])}),e("el-table-column",{attrs:{label:"发布日期","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("span",[t._v(t._s(n.row.add_time))])]}}])}),e("el-table-column",{attrs:{label:"下载地址","min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("span",[t._v(t._s(n.row.url))])]}}])}),e("el-table-column",{attrs:{label:"操作",fixed:"right",width:"60"},scopedSlots:t._u([{key:"default",fn:function(n){return[e("a",{on:{click:function(e){return t.edit(n.row)}}},[t._v("编辑")])]}}])})],1)],1)],1)}),[],!1,null,"708f8dc0",null);e.default=n.exports},8593:function(t,e,n){"use strict";n.d(e,"i",(function(){return u})),n.d(e,"g",(function(){return o})),n.d(e,"h",(function(){return i})),n.d(e,"db",(function(){return a})),n.d(e,"m",(function(){return c})),n.d(e,"k",(function(){return s})),n.d(e,"l",(function(){return d})),n.d(e,"j",(function(){return l})),n.d(e,"L",(function(){return f})),n.d(e,"D",(function(){return m})),n.d(e,"K",(function(){return b})),n.d(e,"I",(function(){return g})),n.d(e,"F",(function(){return h})),n.d(e,"G",(function(){return p})),n.d(e,"H",(function(){return O})),n.d(e,"J",(function(){return j})),n.d(e,"Z",(function(){return _})),n.d(e,"fb",(function(){return y})),n.d(e,"s",(function(){return v})),n.d(e,"c",(function(){return k})),n.d(e,"e",(function(){return w})),n.d(e,"b",(function(){return T})),n.d(e,"d",(function(){return S})),n.d(e,"f",(function(){return E})),n.d(e,"w",(function(){return G})),n.d(e,"u",(function(){return L})),n.d(e,"v",(function(){return F})),n.d(e,"Q",(function(){return P})),n.d(e,"P",(function(){return x})),n.d(e,"R",(function(){return $})),n.d(e,"Y",(function(){return C})),n.d(e,"o",(function(){return M})),n.d(e,"n",(function(){return q})),n.d(e,"U",(function(){return U})),n.d(e,"q",(function(){return z})),n.d(e,"t",(function(){return J})),n.d(e,"V",(function(){return N})),n.d(e,"a",(function(){return R})),n.d(e,"A",(function(){return B})),n.d(e,"cb",(function(){return D})),n.d(e,"E",(function(){return I})),n.d(e,"rb",(function(){return W})),n.d(e,"qb",(function(){return A})),n.d(e,"M",(function(){return H})),n.d(e,"O",(function(){return K})),n.d(e,"B",(function(){return Q})),n.d(e,"S",(function(){return V})),n.d(e,"T",(function(){return X})),n.d(e,"x",(function(){return Y})),n.d(e,"ab",(function(){return Z})),n.d(e,"y",(function(){return tt})),n.d(e,"bb",(function(){return et})),n.d(e,"p",(function(){return nt})),n.d(e,"C",(function(){return rt})),n.d(e,"z",(function(){return ut})),n.d(e,"W",(function(){return ot})),n.d(e,"lb",(function(){return it})),n.d(e,"nb",(function(){return at})),n.d(e,"kb",(function(){return ct})),n.d(e,"ob",(function(){return st})),n.d(e,"mb",(function(){return dt})),n.d(e,"r",(function(){return lt})),n.d(e,"pb",(function(){return ft})),n.d(e,"gb",(function(){return mt})),n.d(e,"eb",(function(){return bt})),n.d(e,"hb",(function(){return gt})),n.d(e,"X",(function(){return ht})),n.d(e,"jb",(function(){return pt})),n.d(e,"N",(function(){return Ot})),n.d(e,"ib",(function(){return jt})),n("99af");var r=n("6b6c");function u(t){return Object(r.a)({url:"setting/config_class",method:"get",params:t})}function o(t){return Object(r.a)({url:"setting/config_class/create",method:"get"})}function i(t){return Object(r.a)({url:"setting/config_class/".concat(t,"/edit"),method:"get"})}function a(t){return Object(r.a)({url:"setting/config_class/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function c(t){return Object(r.a)({url:"setting/config",method:"get",params:t})}function s(t){return Object(r.a)({url:"setting/config/create",method:"get",params:t})}function d(t){return Object(r.a)({url:"/setting/config/".concat(t,"/edit"),method:"get"})}function l(t,e){return Object(r.a)({url:"setting/config/set_status/".concat(t,"/").concat(e),method:"PUT"})}function f(t){return Object(r.a)({url:"setting/group",method:"get",params:t})}function m(t){return Object(r.a)({url:t.url,method:t.method,data:t.datas})}function b(t){return Object(r.a)({url:"setting/group/".concat(t),method:"get"})}function g(t,e){return Object(r.a)({url:e,method:"get",params:t})}function h(t,e){return Object(r.a)({url:e,method:"get",params:t})}function p(t,e){return Object(r.a)({url:e,method:"get",params:t})}function O(t,e){return Object(r.a)({url:e,method:"get",params:t})}function j(t){return Object(r.a)({url:t,method:"PUT"})}function _(t){return Object(r.a)({url:"system/log/search_admin",method:"GET"})}function y(t){return Object(r.a)({url:"system/log",method:"GET",params:t})}function v(){return Object(r.a)({url:"system/file",method:"GET"})}function k(){return Object(r.a)({url:"system/backup",method:"GET"})}function w(t){return Object(r.a)({url:"system/backup/read",method:"GET",params:t})}function T(t){return Object(r.a)({url:"system/backup/backup",method:"put",data:t})}function S(t){return Object(r.a)({url:"system/backup/optimize",method:"put",data:t})}function E(t){return Object(r.a)({url:"system/backup/repair",method:"put",data:t})}function G(t){return Object(r.a)({url:"system/backup/file_list",method:"GET"})}function L(t){return Object(r.a)({url:"backup/download",method:"get",params:t})}function F(t){return Object(r.a)({url:"system/backup/import",method:"POST",data:t})}function P(t){return Object(r.a)({url:"system/file/login",method:"POST",data:t})}function x(t){return Object(r.a)({url:"system/file/opendir",method:"GET",params:t,file_edit:!0})}function $(t){return Object(r.a)({url:"system/file/openfile",method:"GET",params:t,file_edit:!0})}function C(t){return Object(r.a)({url:"system/file/savefile?fileToken=".concat(t.fileToken),method:"post",data:t,file_edit:!0})}function M(t){return Object(r.a)({url:"system/file/createFolder",method:"GET",params:t,file_edit:!0})}function q(t){return Object(r.a)({url:"system/file/createFile",method:"GET",params:t,file_edit:!0})}function U(t){return Object(r.a)({url:"system/file/rename",method:"GET",params:t,file_edit:!0})}function z(t){return Object(r.a)({url:"system/file/delFolder",method:"GET",params:t,file_edit:!0})}function J(t){return Object(r.a)({url:"system/file/mark",method:"get",params:t,file_edit:!0})}function N(t){return Object(r.a)({url:"system/replace_site_url",method:"post",data:t})}function R(){return Object(r.a)({url:"auth",method:"get"})}function B(){return Object(r.a)({url:"setting/get_kf_adv",method:"get"})}function D(t){return Object(r.a)({url:"setting/set_kf_adv",method:"post",data:t})}function I(){return Object(r.a)({url:"setting/group_all",method:"get"})}function W(t){return Object(r.a)({url:"system/version_list",method:"get",params:t})}function A(t){return Object(r.a)({url:"system/version_crate/".concat(t),method:"get"})}function H(t){return Object(r.a)({url:"setting/group_data/save_all",method:"POST",data:t})}function K(t){return Object(r.a)({url:"diy/open_adv/add",method:"POST",data:t})}function Q(){return Object(r.a)({url:"diy/open_adv/info",method:"get"})}function V(t){return Object(r.a)({url:"setting/config/get_system/".concat(t),method:"get"})}function X(t){return Object(r.a)({url:"setting/config/save_basics",method:"POST",data:t})}function Y(){return Object(r.a)({url:"setting/get_user_agreement",method:"get"})}function Z(t){return Object(r.a)({url:"setting/set_user_agreement",method:"post",data:t})}function tt(t){return Object(r.a)({url:"setting/get_agreement/".concat(t),method:"get"})}function et(t,e){return Object(r.a)({url:"setting/save_agreement",method:"post",data:t})}function nt(t){return Object(r.a)({url:"crmeb_product",method:"get",params:t})}function rt(){return Object(r.a)({url:"setting/get_version",method:"get"})}function ut(){return Object(r.a)({url:"copyright",method:"get"})}function ot(t){return Object(r.a)({url:"copyright",method:"post",data:t})}function it(t){return Object(r.a)({url:"/system/upgrade/list",method:"get",params:t})}function at(){return Object(r.a)({url:"/system/upgrade_progress",method:"get"})}function ct(){return Object(r.a)({url:"/system/upgrade/agreement",method:"get"})}function st(){return Object(r.a)({url:"/system/upgrade_status",method:"get"})}function dt(t){return Object(r.a)({url:"/system/upgrade_log/list",method:"get",params:t})}function lt(t){return Object(r.a)({url:"/system/upgrade_download/"+t,method:"POST"})}function ft(t){return Object(r.a)({url:"/system/upgradeable/list",method:"get",params:t})}function mt(t){return Object(r.a)({url:"system/crontab/list",params:t})}function bt(t,e){return Object(r.a)({url:"system/crontab/set_open/".concat(t,"/").concat(e)})}function gt(t){return Object(r.a)({url:"system/crontab/info/".concat(t)})}function ht(t){return Object(r.a)({url:"system/crontab/save",method:"post",data:t})}function pt(t){return Object(r.a)({url:"system/database/update_mark",method:"post",data:t})}function Ot(t,e){return Object(r.a)({url:"system/file/mark/save?fileToken=".concat(t),method:"post",data:e})}function jt(){return Object(r.a)({url:"system/crontab/mark"})}}}]);
|