NGToolsAdmin/unpackage/dist/build/web/static/js/pages-system-app-list.45808606.js

1 line
13 KiB
JavaScript
Raw Normal View History

2024-09-13 08:39:31 +00:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-system-app-list"],{"195f":function(t,e,n){"use strict";n.r(e);var a=n("19a0"),i=n("53f1");for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);var o=n("828b"),s=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"07d12dc6",null,!1,a["a"],void 0);e["default"]=s.exports},"19a0":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var a={uniStatBreadcrumb:n("2531").default,downloadExcel:n("f4c6").default,unicloudDb:n("3220").default,uniTable:n("aa68").default,uniTr:n("615c").default,uniTh:n("9fdf").default,uniTd:n("398e").default,uniDateformat:n("e37cb").default,uniPagination:n("31f1").default},i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"fix-top-window"},[n("v-uni-view",{staticClass:"uni-header"},[n("uni-stat-breadcrumb",{staticClass:"uni-stat-breadcrumb-on-phone"}),n("v-uni-view",{staticClass:"uni-group"},[n("v-uni-input",{staticClass:"uni-search",attrs:{type:"text",placeholder:t.$t("common.placeholder.query")},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.search.apply(void 0,arguments)}},model:{value:t.query,callback:function(e){t.query=e},expression:"query"}}),n("v-uni-button",{staticClass:"uni-button hide-on-phone",attrs:{type:"default",size:"mini"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.search.apply(void 0,arguments)}}},[t._v(t._s(t.$t("common.button.search")))]),n("v-uni-button",{staticClass:"uni-button",attrs:{type:"primary",size:"mini"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navigateTo("./add")}}},[t._v(t._s(t.$t("common.button.add")))]),n("v-uni-button",{staticClass:"uni-button",attrs:{type:"warn",size:"mini",disabled:!t.selectedIndexs.length},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.delTable.apply(void 0,arguments)}}},[t._v(t._s(t.$t("common.button.batchDelete")))]),n("download-excel",{staticClass:"hide-on-phone",attrs:{fields:t.exportExcel.fields,data:t.exportExcelData,type:t.exportExcel.type,name:t.exportExcel.filename}},[n("v-uni-button",{staticClass:"uni-button",attrs:{type:"primary",size:"mini"}},[t._v(t._s(t.$t("common.button.exportExcel")))])],1)],1)],1),n("v-uni-view",{staticClass:"uni-container"},[n("unicloud-db",{ref:"udb",attrs:{collection:"opendb-app-list",field:"appid,name,description,create_date",where:t.where,"page-data":"replace",orderby:t.orderby,getcount:!0,"page-size":t.options.pageSize,"page-current":t.options.pageCurrent,options:t.options,loadtime:"manual"},on:{load:function(e){arguments[0]=e=t.$handleEvent(e),t.onqueryload.apply(void 0,arguments)}},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.data,i=e.pagination,r=e.loading,o=e.error;e.options;return[n("uni-table",{ref:"table",staticClass:"table-pc",attrs:{loading:r||t.addAppidLoading,emptyText:o.message||t.$t("common.empty"),border:!0,stripe:!0,type:"selection"},on:{"selection-change":function(e){arguments[0]=e=t.$handleEvent(e),t.selectionChange.apply(void 0,arguments)}}},[n("uni-tr",[n("uni-th",{attrs:{align:"center","filter-type":"search",sortable:!0},on:{"filter-change":function(e){arguments[0]=e=t.$handleEvent(e),t.filterChange(e,"appid")},"sort-change":function(e){arguments[0]=e=t.$handleEvent(e),t.sortChange(e,"appid")}}},[t._v("AppID")]),n("uni-th",{attrs:{align:"center","filter-type":"search",sortable:!0},on:{"filter-change":function(e){arguments[0]=e=t.$handleEvent(e),t.filterChange(e,"name")},"sort-change":function(e){arguments[0]=e=t.$handleEvent(e),t.sortChange(e,"name")}}},[t._v("应用名称")]),n("uni-th",{attrs:{align:"center","filter-type":"search",sortable:!0,width:t.descriptionThWidth},on:{"filter-change":function(e){arguments[0]=e=t.$handleEvent(e),t.filterChange(e,"description")},"sort-change":function(e){arguments[0]=e=t.$handleEvent(e),t.sortChange(e,"description")}}},[t._v("应用描述")]),n("uni-th",{attrs:{align:"center","filter-type":"timestamp",sortable:!0},on:{"filter-change":function(e){arguments[0]=e=t.$h