kz-ui-base 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +5 -0
- package/kztool/css/10.96cad523.css +1 -0
- package/kztool/css/11.e4c864cd.css +1 -0
- package/kztool/css/12.647fccce.css +1 -0
- package/kztool/css/13.65952a1f.css +1 -0
- package/kztool/css/14.dd36c45f.css +1 -0
- package/kztool/css/15.832c7deb.css +1 -0
- package/kztool/css/16.8b271d59.css +1 -0
- package/kztool/css/17.0e84559e.css +1 -0
- package/kztool/css/18.832c7deb.css +1 -0
- package/kztool/css/19.6a3d2dce.css +1 -0
- package/kztool/css/2.f1342bd9.css +1 -0
- package/kztool/css/20.bb41fc34.css +1 -0
- package/kztool/css/21.ed73c08f.css +1 -0
- package/kztool/css/22.e894eb6f.css +1 -0
- package/kztool/css/23.57aa83b4.css +1 -0
- package/kztool/css/25.5f134180.css +1 -0
- package/kztool/css/26.832c7deb.css +1 -0
- package/kztool/css/4.a42922b4.css +1 -0
- package/kztool/css/6.2fd4b699.css +1 -0
- package/kztool/css/7.9be14673.css +21 -0
- package/kztool/css/9.9d93e54d.css +22 -0
- package/kztool/demo.html +10 -0
- package/kztool/img/401.089007e7.gif +0 -0
- package/kztool/img/404.a57b6f31.png +0 -0
- package/kztool/img/404.cb2515ac.svg +1 -0
- package/kztool/img/404_cloud.0f4bc32b.png +0 -0
- package/kztool/img/bug.f34b1328.svg +1 -0
- package/kztool/img/build.afff0ba4.svg +1 -0
- package/kztool/img/button.43a072f1.svg +1 -0
- package/kztool/img/cascader.af4b06f5.svg +1 -0
- package/kztool/img/chart.15fe45db.svg +1 -0
- package/kztool/img/checkbox.33950d05.svg +1 -0
- package/kztool/img/client.8669e2c6.svg +1 -0
- package/kztool/img/clipboard.a754c187.svg +1 -0
- package/kztool/img/code.21a8c1ce.svg +1 -0
- package/kztool/img/color.d6e1d0d9.svg +1 -0
- package/kztool/img/component.a69885f8.svg +1 -0
- package/kztool/img/dark.412ca67e.svg +39 -0
- package/kztool/img/dashboard.28a2a850.svg +1 -0
- package/kztool/img/date-range.21c0ab78.svg +1 -0
- package/kztool/img/date.43878da9.svg +1 -0
- package/kztool/img/dict.e54d50d6.svg +1 -0
- package/kztool/img/documentation.250402ca.svg +1 -0
- package/kztool/img/download.5153dc2b.svg +1 -0
- package/kztool/img/drag.4a19e202.svg +1 -0
- package/kztool/img/druid.09b411e5.svg +1 -0
- package/kztool/img/edit.82ad92eb.svg +1 -0
- package/kztool/img/education.8a144773.svg +1 -0
- package/kztool/img/email.e4742db4.svg +1 -0
- package/kztool/img/example.894f4689.svg +1 -0
- package/kztool/img/excel.25efb1e4.svg +1 -0
- package/kztool/img/exit-fullscreen.c0a0b5af.svg +1 -0
- package/kztool/img/eye-open.26bf09f4.svg +1 -0
- package/kztool/img/eye.e4fe315c.svg +1 -0
- package/kztool/img/file-config.e9cf97b5.png +0 -0
- package/kztool/img/file-doc.2e32d62d.png +0 -0
- package/kztool/img/file-exe.ba756588.png +0 -0
- package/kztool/img/file-ini.b1d3af9d.png +0 -0
- package/kztool/img/file-jpg.20c594b1.png +0 -0
- package/kztool/img/file-mpg.4a3b6b53.png +0 -0
- package/kztool/img/file-none.529195fd.png +0 -0
- package/kztool/img/file-pdf.36c3acbd.png +0 -0
- package/kztool/img/file-png.961aaab6.png +0 -0
- package/kztool/img/file-ppt.b13aca2d.png +0 -0
- package/kztool/img/file-rar.d940b06e.png +0 -0
- package/kztool/img/file-txt.fba6847c.png +0 -0
- package/kztool/img/file-wav.6c6a98a5.png +0 -0
- package/kztool/img/file-xls.0ba7ceb7.png +0 -0
- package/kztool/img/form.f3ed6fee.svg +1 -0
- package/kztool/img/fullscreen.9ce971c6.svg +1 -0
- package/kztool/img/github.a1e0a262.svg +1 -0
- package/kztool/img/guide.fe0b5508.svg +1 -0
- package/kztool/img/icon-ext.ba81b24c.png +0 -0
- package/kztool/img/icon.3ab19eb2.svg +1 -0
- package/kztool/img/icon.551539f8.png +0 -0
- package/kztool/img/input.fd627960.svg +1 -0
- package/kztool/img/international.256537bf.svg +1 -0
- package/kztool/img/job.b6da1ffe.svg +1 -0
- package/kztool/img/kz_authority.3278f033.svg +1 -0
- package/kztool/img/kz_build.d01b7fab.svg +1 -0
- package/kztool/img/kz_code.181e9399.svg +1 -0
- package/kztool/img/kz_config.8ed433a4.svg +1 -0
- package/kztool/img/kz_creatTime.b36ed35c.svg +1 -0
- package/kztool/img/kz_dept.5e64451a.svg +1 -0
- package/kztool/img/kz_dept_profile.5d4e147f.svg +1 -0
- package/kztool/img/kz_dict.2ab95ca5.svg +1 -0
- package/kztool/img/kz_edit.7d07a3ee.svg +1 -0
- package/kztool/img/kz_enlarge.af9fd797.svg +1 -0
- package/kztool/img/kz_enterprise.d341ab44.svg +1 -0
- package/kztool/img/kz_fold.17a83166.svg +2 -0
- package/kztool/img/kz_job.d4e52276.svg +1 -0
- package/kztool/img/kz_layout.9bab2381.svg +1 -0
- package/kztool/img/kz_log.685b9ce0.svg +1 -0
- package/kztool/img/kz_log_loginInfo.68ba7786.svg +1 -0
- package/kztool/img/kz_log_operation.fdc2ddf9.svg +1 -0
- package/kztool/img/kz_master-slave.83dad46f.svg +2 -0
- package/kztool/img/kz_menu.35eddf40.svg +1 -0
- package/kztool/img/kz_menu_analyse.4b4d8f9b.svg +22 -0
- package/kztool/img/kz_message.b8712b45.svg +1 -0
- package/kztool/img/kz_monitor.8b10fbe6.svg +1 -0
- package/kztool/img/kz_nacos.c51b9d4a.svg +1 -0
- package/kztool/img/kz_narrow.2a646b99.svg +1 -0
- package/kztool/img/kz_notice.34428b82.svg +2 -0
- package/kztool/img/kz_online.754b59da.svg +1 -0
- package/kztool/img/kz_open.c0247e97.svg +2 -0
- package/kztool/img/kz_organization.c4c24b8b.svg +1 -0
- package/kztool/img/kz_post.a3b24529.svg +1 -0
- package/kztool/img/kz_post_profile.729ed1fd.svg +1 -0
- package/kztool/img/kz_productCenter.94cb1bf1.svg +1 -0
- package/kztool/img/kz_rabbit.c1e30068.svg +1 -0
- package/kztool/img/kz_refresh.e4335ee7.svg +2 -0
- package/kztool/img/kz_renovation.cec7bdbb.svg +1 -0
- package/kztool/img/kz_role.337dafc2.svg +1 -0
- package/kztool/img/kz_roleGroup.d40cf86e.svg +1 -0
- package/kztool/img/kz_search.91e19919.svg +1 -0
- package/kztool/img/kz_sentinel.65a96c32.svg +1 -0
- package/kztool/img/kz_server.1aeaae9a.svg +1 -0
- package/kztool/img/kz_setting.b121026e.svg +1 -0
- package/kztool/img/kz_sex.2dfbc39c.svg +1 -0
- package/kztool/img/kz_source.78acc35f.svg +2 -0
- package/kztool/img/kz_strategy.960f4e2b.svg +2 -0
- package/kztool/img/kz_swagger.72b031ef.svg +1 -0
- package/kztool/img/kz_system.a0a83a20.svg +1 -0
- package/kztool/img/kz_tenant.bb89322f.svg +1 -0
- package/kztool/img/kz_tool.bc04a7cd.svg +1 -0
- package/kztool/img/kz_user.8ade980b.svg +1 -0
- package/kztool/img/language.a84ceaa6.svg +1 -0
- package/kztool/img/light.4183aad0.svg +39 -0
- package/kztool/img/link.9c719b73.svg +1 -0
- package/kztool/img/list.76dedeca.svg +1 -0
- package/kztool/img/loading-0.a72011cc.gif +0 -0
- package/kztool/img/lock.8634238d.svg +1 -0
- package/kztool/img/log.7798bf59.svg +1 -0
- package/kztool/img/login-background.c5b184b7.jpg +0 -0
- package/kztool/img/logininfor.182c8103.svg +1 -0
- package/kztool/img/logo.8ae3d6ee.jpg +0 -0
- package/kztool/img/logo.eeed0dd2.png +0 -0
- package/kztool/img/mes-ad.af0324d3.svg +21 -0
- package/kztool/img/mes-ic.7d10c9df.svg +16 -0
- package/kztool/img/mes-mfg-order.d03a00ac.svg +22 -0
- package/kztool/img/mes-tm.e3818cf7.svg +15 -0
- package/kztool/img/message.1fbaa155.svg +1 -0
- package/kztool/img/money.954fffc7.svg +1 -0
- package/kztool/img/monitor.7eeb6217.svg +2 -0
- package/kztool/img/nacos.147e9bf5.svg +1 -0
- package/kztool/img/nested.c948fb38.svg +1 -0
- package/kztool/img/number.7e0faaa5.svg +1 -0
- package/kztool/img/online.fb93d2e7.svg +1 -0
- package/kztool/img/password.9173da92.svg +1 -0
- package/kztool/img/pdf.7e6ae0e3.svg +1 -0
- package/kztool/img/people.665094ec.svg +1 -0
- package/kztool/img/peoples.73b2be61.svg +1 -0
- package/kztool/img/phone.4ab5e783.svg +1 -0
- package/kztool/img/post.4f1521cb.svg +1 -0
- package/kztool/img/profile.8ae3d6ee.jpg +0 -0
- package/kztool/img/qq.8968a17d.svg +1 -0
- package/kztool/img/question.6dd93e77.svg +1 -0
- package/kztool/img/radio.1db061a7.svg +1 -0
- package/kztool/img/rate.d8284c44.svg +1 -0
- package/kztool/img/row.88cc2b15.svg +1 -0
- package/kztool/img/search.8b49baae.svg +1 -0
- package/kztool/img/select.be2885c0.svg +1 -0
- package/kztool/img/sentinel.51b1eedb.svg +1 -0
- package/kztool/img/server.e9df1296.svg +1 -0
- package/kztool/img/shop-call.31143fe6.svg +14 -0
- package/kztool/img/shopping.232bbd1d.svg +1 -0
- package/kztool/img/size.c77e5b9c.svg +1 -0
- package/kztool/img/skill.9842762c.svg +1 -0
- package/kztool/img/slider.dca17dd6.svg +1 -0
- package/kztool/img/star.91c10562.svg +1 -0
- package/kztool/img/stock-query.e3aea312.svg +14 -0
- package/kztool/img/stock-report.03ca7ff1.svg +14 -0
- package/kztool/img/stock-take.6bd8c87e.svg +14 -0
- package/kztool/img/swagger.78429129.svg +1 -0
- package/kztool/img/switch.67ff45e5.svg +1 -0
- package/kztool/img/system.8f062138.svg +2 -0
- package/kztool/img/tab.02b3a5b8.svg +1 -0
- package/kztool/img/table.fe7671a5.svg +1 -0
- package/kztool/img/textarea.6a19873e.svg +1 -0
- package/kztool/img/theme.a8c15249.svg +1 -0
- package/kztool/img/time-range.4a869bcb.svg +1 -0
- package/kztool/img/time.809df2f6.svg +1 -0
- package/kztool/img/tool.ce0f6d38.svg +1 -0
- package/kztool/img/tree-table.76f687b5.svg +1 -0
- package/kztool/img/tree.59ecebc1.svg +1 -0
- package/kztool/img/upload.84d5b598.svg +1 -0
- package/kztool/img/user.9f469d0b.svg +1 -0
- package/kztool/img/validCode.9e7b7784.svg +1 -0
- package/kztool/img/wechat.28725df0.svg +1 -0
- package/kztool/img/xy-cancel.c5f3d1db.svg +1 -0
- package/kztool/img/xy-choice.b2e8c9cf.svg +1 -0
- package/kztool/img/xy-choice2.453db322.svg +31 -0
- package/kztool/img/zip.839d61e0.svg +1 -0
- package/kztool/kztool.common.0.js +17212 -0
- package/kztool/kztool.common.1.js +11 -0
- package/kztool/kztool.common.10.js +2775 -0
- package/kztool/kztool.common.11.js +1920 -0
- package/kztool/kztool.common.12.js +641 -0
- package/kztool/kztool.common.13.js +1363 -0
- package/kztool/kztool.common.14.js +987 -0
- package/kztool/kztool.common.15.js +2477 -0
- package/kztool/kztool.common.16.js +222 -0
- package/kztool/kztool.common.17.js +140 -0
- package/kztool/kztool.common.18.js +1053 -0
- package/kztool/kztool.common.19.js +319 -0
- package/kztool/kztool.common.2.js +2893 -0
- package/kztool/kztool.common.20.js +131 -0
- package/kztool/kztool.common.21.js +396 -0
- package/kztool/kztool.common.22.js +377 -0
- package/kztool/kztool.common.23.js +677 -0
- package/kztool/kztool.common.24.js +1007 -0
- package/kztool/kztool.common.25.js +246 -0
- package/kztool/kztool.common.26.js +138 -0
- package/kztool/kztool.common.27.js +505 -0
- package/kztool/kztool.common.28.js +62 -0
- package/kztool/kztool.common.29.js +65 -0
- package/kztool/kztool.common.3.js +3868 -0
- package/kztool/kztool.common.4.js +1387 -0
- package/kztool/kztool.common.5.js +10 -0
- package/kztool/kztool.common.6.js +32006 -0
- package/kztool/kztool.common.7.js +28976 -0
- package/kztool/kztool.common.9.js +63288 -0
- package/kztool/kztool.common.js +137547 -0
- package/kztool/kztool.css +7 -0
- package/kztool/kztool.umd.0.js +17212 -0
- package/kztool/kztool.umd.1.js +11 -0
- package/kztool/kztool.umd.10.js +2775 -0
- package/kztool/kztool.umd.11.js +1920 -0
- package/kztool/kztool.umd.12.js +641 -0
- package/kztool/kztool.umd.13.js +1363 -0
- package/kztool/kztool.umd.14.js +987 -0
- package/kztool/kztool.umd.15.js +2477 -0
- package/kztool/kztool.umd.16.js +222 -0
- package/kztool/kztool.umd.17.js +140 -0
- package/kztool/kztool.umd.18.js +1053 -0
- package/kztool/kztool.umd.19.js +319 -0
- package/kztool/kztool.umd.2.js +2893 -0
- package/kztool/kztool.umd.20.js +131 -0
- package/kztool/kztool.umd.21.js +396 -0
- package/kztool/kztool.umd.22.js +377 -0
- package/kztool/kztool.umd.23.js +677 -0
- package/kztool/kztool.umd.24.js +1007 -0
- package/kztool/kztool.umd.25.js +246 -0
- package/kztool/kztool.umd.26.js +138 -0
- package/kztool/kztool.umd.27.js +505 -0
- package/kztool/kztool.umd.28.js +62 -0
- package/kztool/kztool.umd.29.js +65 -0
- package/kztool/kztool.umd.3.js +3868 -0
- package/kztool/kztool.umd.4.js +1387 -0
- package/kztool/kztool.umd.5.js +10 -0
- package/kztool/kztool.umd.6.js +32006 -0
- package/kztool/kztool.umd.7.js +28976 -0
- package/kztool/kztool.umd.9.js +63288 -0
- package/kztool/kztool.umd.js +137557 -0
- package/kztool/kztool.umd.min.0.js +9 -0
- package/kztool/kztool.umd.min.1.js +1 -0
- package/kztool/kztool.umd.min.10.js +1 -0
- package/kztool/kztool.umd.min.11.js +1 -0
- package/kztool/kztool.umd.min.12.js +1 -0
- package/kztool/kztool.umd.min.13.js +1 -0
- package/kztool/kztool.umd.min.14.js +1 -0
- package/kztool/kztool.umd.min.15.js +1 -0
- package/kztool/kztool.umd.min.16.js +1 -0
- package/kztool/kztool.umd.min.17.js +1 -0
- package/kztool/kztool.umd.min.18.js +1 -0
- package/kztool/kztool.umd.min.19.js +1 -0
- package/kztool/kztool.umd.min.2.js +1 -0
- package/kztool/kztool.umd.min.20.js +1 -0
- package/kztool/kztool.umd.min.21.js +1 -0
- package/kztool/kztool.umd.min.22.js +1 -0
- package/kztool/kztool.umd.min.23.js +1 -0
- package/kztool/kztool.umd.min.24.js +1 -0
- package/kztool/kztool.umd.min.25.js +1 -0
- package/kztool/kztool.umd.min.26.js +1 -0
- package/kztool/kztool.umd.min.27.js +1 -0
- package/kztool/kztool.umd.min.28.js +1 -0
- package/kztool/kztool.umd.min.29.js +1 -0
- package/kztool/kztool.umd.min.3.js +8 -0
- package/kztool/kztool.umd.min.4.js +1 -0
- package/kztool/kztool.umd.min.5.js +1 -0
- package/kztool/kztool.umd.min.6.js +1 -0
- package/kztool/kztool.umd.min.7.js +24 -0
- package/kztool/kztool.umd.min.9.js +24 -0
- package/kztool/kztool.umd.min.js +349 -0
- package/list-bese-page/doublelistBasePageTs.vue +996 -0
- package/list-bese-page/listBasePageTs.vue +2170 -0
- package/package.json +12 -0
|
@@ -0,0 +1,677 @@
|
|
|
1
|
+
((typeof self !== 'undefined' ? self : this)["webpackJsonpkztool"] = (typeof self !== 'undefined' ? self : this)["webpackJsonpkztool"] || []).push([[23],{
|
|
2
|
+
|
|
3
|
+
/***/ "36e5":
|
|
4
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5
|
+
|
|
6
|
+
"use strict";
|
|
7
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_data_vue_vue_type_style_index_0_id_b89fc39a_prod_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3b40");
|
|
8
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_data_vue_vue_type_style_index_0_id_b89fc39a_prod_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_data_vue_vue_type_style_index_0_id_b89fc39a_prod_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
9
|
+
/* unused harmony reexport * */
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
/***/ }),
|
|
13
|
+
|
|
14
|
+
/***/ "3b40":
|
|
15
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
16
|
+
|
|
17
|
+
// extracted by mini-css-extract-plugin
|
|
18
|
+
|
|
19
|
+
/***/ }),
|
|
20
|
+
|
|
21
|
+
/***/ "9eaa":
|
|
22
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
23
|
+
|
|
24
|
+
"use strict";
|
|
25
|
+
// ESM COMPAT FLAG
|
|
26
|
+
__webpack_require__.r(__webpack_exports__);
|
|
27
|
+
|
|
28
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"efdf055a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/system/system/dict/data.vue?vue&type=template&id=b89fc39a&scoped=true&
|
|
29
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"app-container"},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.showSearch),expression:"showSearch"}],staticClass:"wrapper-container"},[_c('el-form',{ref:"queryForm",attrs:{"model":_vm.queryParams,"inline":true}},[_c('el-form-item',{attrs:{"label":"字典标签","prop":"dictLabel"}},[_c('el-input',{attrs:{"placeholder":"请输入字典标签","clearable":"","size":"small"},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.handleQuery($event)}},model:{value:(_vm.queryParams.dictLabel),callback:function ($$v) {_vm.$set(_vm.queryParams, "dictLabel", $$v)},expression:"queryParams.dictLabel"}})],1),_c('el-form-item',{attrs:{"label":"状态","prop":"status"}},[_c('el-select',{attrs:{"placeholder":"数据状态","clearable":"","size":"small"},model:{value:(_vm.queryParams.status),callback:function ($$v) {_vm.$set(_vm.queryParams, "status", $$v)},expression:"queryParams.status"}},_vm._l((_vm.statusOptions),function(dict){return _c('el-option',{key:dict.dictValue,attrs:{"label":dict.dictLabel,"value":dict.dictValue}})}),1)],1),_c('el-form-item',[_c('el-button',{attrs:{"type":"primary","icon":"el-icon-search","size":"mini"},on:{"click":_vm.handleQuery}},[_vm._v("搜索")]),_c('el-button',{attrs:{"icon":"el-icon-refresh","size":"mini"},on:{"click":_vm.resetQuery}},[_vm._v("重置")])],1)],1)],1),_c('div',{staticClass:"wrapper-container"},[_c('el-row',{staticClass:"mb8",attrs:{"gutter":10}},[_c('el-col',{attrs:{"span":1.5}},[_c('el-button',{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:(['system:dict:add']),expression:"['system:dict:add']"}],attrs:{"type":"primary","plain":"","icon":"el-icon-plus","size":"mini","disabled":_vm.isSystemParam=='1'},on:{"click":_vm.handleAdd}},[_vm._v("新增 ")])],1),_c('el-col',{attrs:{"span":1.5}},[_c('el-button',{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:(['system:dict:edit']),expression:"['system:dict:edit']"}],attrs:{"type":"success","plain":"","icon":"el-icon-edit","size":"mini","disabled":_vm.single || _vm.isSystemParam=='1'},on:{"click":_vm.handleUpdate}},[_vm._v("修改 ")])],1),_c('el-col',{attrs:{"span":1.5}},[_c('el-button',{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:(['system:dict:remove']),expression:"['system:dict:remove']"}],attrs:{"type":"danger","plain":"","icon":"el-icon-delete","size":"mini","disabled":_vm.multiple || _vm.isSystemParam=='1',"loading":_vm.submitLoading},on:{"click":_vm.handleDelete}},[_vm._v("删除 ")])],1),_c('el-col',{attrs:{"span":1.5}},[_c('el-button',{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:(['system:dict:export']),expression:"['system:dict:export']"}],attrs:{"type":"warning","plain":"","icon":"el-icon-download","size":"mini"},on:{"click":_vm.handleExport}},[_vm._v("导出 ")])],1),_c('el-col',{attrs:{"span":1.5}},[_c('el-button',{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:(['system:dict:edit']),expression:"['system:dict:edit']"}],attrs:{"type":"success","plain":"","icon":"el-icon-edit","size":"mini","disabled":_vm.isSystemParam=='1'},on:{"click":_vm.handleResort}},[_vm._v("按标签排序 ")])],1),_c('right-toolbar',{attrs:{"showSearch":_vm.showSearch,"sortVisible":false},on:{"update:showSearch":function($event){_vm.showSearch=$event},"update:show-search":function($event){_vm.showSearch=$event},"queryTable":_vm.getList}})],1),_c('el-table',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.loading),expression:"loading"}],attrs:{"data":_vm.dataList},on:{"selection-change":_vm.handleSelectionChange}},[_c('el-table-column',{attrs:{"type":"selection","width":"55","align":"center"}}),_c('el-table-column',{attrs:{"label":"字典编码","align":"center","prop":"dictCode","min-width":"120"}}),_c('el-table-column',{attrs:{"label":"字典标签","align":"center","prop":"dictLabel","min-width":"120"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(scope.row.listClass == '' || scope.row.listClass == 'default')?_c('span',[_vm._v(_vm._s(scope.row.dictLabel))]):_c('el-tag',{attrs:{"type":scope.row.listClass == 'primary' ? '' : scope.row.listClass}},[_vm._v(" "+_vm._s(scope.row.dictLabel)+" ")])]}}])}),_c('el-table-column',{attrs:{"label":"字典键值","align":"center","prop":"dictValue","min-width":"120"}}),_c('el-table-column',{attrs:{"label":"字典排序","align":"center","prop":"dictSort","min-width":"120"}}),_c('el-table-column',{attrs:{"label":"状态","align":"center","prop":"status","min-width":"120"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('dict-tag',{attrs:{"options":_vm.statusOptions,"value":scope.row.status}})]}}])}),_c('el-table-column',{attrs:{"label":"备注","align":"center","prop":"remark","show-overflow-tooltip":true,"min-width":"120"}}),_c('el-table-column',{attrs:{"label":"创建时间","align":"center","prop":"createTime","min-width":"180"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [_c('span',[_vm._v(_vm._s(_vm.parseTime(scope.row.createTime)))])]}}])}),_c('el-table-column',{attrs:{"label":"操作","align":"center","class-name":"small-padding fixed-width","min-width":"120"},scopedSlots:_vm._u([{key:"default",fn:function(scope){return [(_vm.isSystemParam=='0')?_c('el-button',{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:(['system:dict:edit']),expression:"['system:dict:edit']"}],attrs:{"size":"mini","type":"text","icon":"el-icon-edit"},on:{"click":function($event){return _vm.handleUpdate(scope.row)}}},[_vm._v("修改 ")]):_vm._e(),(_vm.isSystemParam=='0')?_c('el-button',{directives:[{name:"hasPermi",rawName:"v-hasPermi",value:(['system:dict:remove']),expression:"['system:dict:remove']"}],attrs:{"size":"mini","type":"text","icon":"el-icon-delete"},on:{"click":function($event){return _vm.handleDelete(scope.row)}}},[_vm._v("删除 ")]):_vm._e()]}}])})],1),_c('pagination',{attrs:{"total":_vm.total,"page":_vm.queryParams.pageNum,"limit":_vm.queryParams.pageSize},on:{"update:page":function($event){return _vm.$set(_vm.queryParams, "pageNum", $event)},"update:limit":function($event){return _vm.$set(_vm.queryParams, "pageSize", $event)},"pagination":_vm.getList}})],1),_c('el-dialog',{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"},{name:"dialogDragHeight",rawName:"v-dialogDragHeight"}],attrs:{"title":_vm.title,"visible":_vm.open,"width":"500px","append-to-body":""},on:{"update:visible":function($event){_vm.open=$event}}},[_c('el-form',{ref:"form",attrs:{"model":_vm.form,"rules":_vm.rules,"label-width":"80px"}},[_c('el-form-item',{attrs:{"label":"字典类型"}},[_c('el-input',{attrs:{"disabled":true},model:{value:(_vm.form.dictType),callback:function ($$v) {_vm.$set(_vm.form, "dictType", $$v)},expression:"form.dictType"}})],1),_c('el-form-item',{attrs:{"label":"数据标签","prop":"dictLabel"}},[_c('el-input',{attrs:{"placeholder":"请输入数据标签"},model:{value:(_vm.form.dictLabel),callback:function ($$v) {_vm.$set(_vm.form, "dictLabel", $$v)},expression:"form.dictLabel"}})],1),_c('el-form-item',{attrs:{"label":"数据键值","prop":"dictValue"}},[_c('el-input',{attrs:{"placeholder":"请输入数据键值"},model:{value:(_vm.form.dictValue),callback:function ($$v) {_vm.$set(_vm.form, "dictValue", $$v)},expression:"form.dictValue"}})],1),_c('el-form-item',{attrs:{"label":"样式属性","prop":"cssClass"}},[_c('el-input',{attrs:{"placeholder":"请输入样式属性"},model:{value:(_vm.form.cssClass),callback:function ($$v) {_vm.$set(_vm.form, "cssClass", $$v)},expression:"form.cssClass"}})],1),_c('el-form-item',{attrs:{"label":"显示排序","prop":"dictSort"}},[_c('el-input-number',{attrs:{"controls-position":"right","min":0,"max":20000000},model:{value:(_vm.form.dictSort),callback:function ($$v) {_vm.$set(_vm.form, "dictSort", $$v)},expression:"form.dictSort"}})],1),_c('el-form-item',{attrs:{"label":"回显样式","prop":"listClass"}},[_c('el-select',{model:{value:(_vm.form.listClass),callback:function ($$v) {_vm.$set(_vm.form, "listClass", $$v)},expression:"form.listClass"}},_vm._l((_vm.listClassOptions),function(item){return _c('el-option',{key:item.value,attrs:{"label":item.label,"value":item.value}})}),1)],1),_c('el-form-item',{attrs:{"label":"状态","prop":"status"}},[_c('el-radio-group',{model:{value:(_vm.form.status),callback:function ($$v) {_vm.$set(_vm.form, "status", $$v)},expression:"form.status"}},_vm._l((_vm.statusOptions),function(dict){return _c('el-radio',{key:dict.dictValue,attrs:{"label":dict.dictValue}},[_vm._v(_vm._s(dict.dictLabel)+" ")])}),1)],1),_c('el-form-item',{attrs:{"label":"备注","prop":"remark"}},[_c('el-input',{attrs:{"type":"textarea","placeholder":"请输入内容"},model:{value:(_vm.form.remark),callback:function ($$v) {_vm.$set(_vm.form, "remark", $$v)},expression:"form.remark"}})],1)],1),_c('div',{staticClass:"dialog-footer",attrs:{"slot":"footer"},slot:"footer"},[_c('el-button',{attrs:{"type":"primary","loading":_vm.submitLoading},on:{"click":_vm.submitForm}},[_vm._v("确 定")]),_c('el-button',{on:{"click":_vm.cancel}},[_vm._v("取 消")])],1)],1)],1)}
|
|
30
|
+
var staticRenderFns = []
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
// CONCATENATED MODULE: ./src/views/system/system/dict/data.vue?vue&type=template&id=b89fc39a&scoped=true&
|
|
34
|
+
|
|
35
|
+
// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
|
|
36
|
+
var objectSpread2 = __webpack_require__("5530");
|
|
37
|
+
|
|
38
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
|
39
|
+
var es_array_map = __webpack_require__("d81d");
|
|
40
|
+
|
|
41
|
+
// EXTERNAL MODULE: ../common/src/utils/request.js + 2 modules
|
|
42
|
+
var request = __webpack_require__("6e66");
|
|
43
|
+
|
|
44
|
+
// CONCATENATED MODULE: ./src/api/system/dict/data.js
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
// 查询字典数据列表
|
|
48
|
+
function listData(query) {
|
|
49
|
+
return Object(request["a" /* default */])({
|
|
50
|
+
url: '/system/dict/data/list',
|
|
51
|
+
method: 'get',
|
|
52
|
+
params: query
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// 查询字典数据详细
|
|
57
|
+
function getData(dictCode) {
|
|
58
|
+
return Object(request["a" /* default */])({
|
|
59
|
+
url: '/system/dict/data/' + dictCode,
|
|
60
|
+
method: 'get'
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// 根据字典类型查询字典数据信息
|
|
65
|
+
function getDicts(dictType) {
|
|
66
|
+
return Object(request["a" /* default */])({
|
|
67
|
+
url: '/system/dict/data/type/' + dictType,
|
|
68
|
+
method: 'get'
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// 刷新缓存
|
|
73
|
+
function refreshCache() {
|
|
74
|
+
return Object(request["a" /* default */])({
|
|
75
|
+
url: '/system/dict/type/refreshCache',
|
|
76
|
+
method: 'get'
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
// 新增字典数据
|
|
81
|
+
function addData(data) {
|
|
82
|
+
return Object(request["a" /* default */])({
|
|
83
|
+
url: '/system/dict/data',
|
|
84
|
+
method: 'post',
|
|
85
|
+
data: data
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// 修改字典数据
|
|
90
|
+
function updateData(data) {
|
|
91
|
+
return Object(request["a" /* default */])({
|
|
92
|
+
url: '/system/dict/data',
|
|
93
|
+
method: 'put',
|
|
94
|
+
data: data
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// 删除字典数据
|
|
99
|
+
function delData(dictCode) {
|
|
100
|
+
return Object(request["a" /* default */])({
|
|
101
|
+
url: '/system/dict/data/' + dictCode,
|
|
102
|
+
method: 'delete'
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
// 字典数据按值重排
|
|
106
|
+
function reorderDictData(dictType) {
|
|
107
|
+
return Object(request["a" /* default */])({
|
|
108
|
+
url: '/system/dict/data/reorder',
|
|
109
|
+
method: 'get',
|
|
110
|
+
params: {
|
|
111
|
+
dictType: dictType
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
function dictDataPageSearch(params) {
|
|
116
|
+
return Object(request["a" /* default */])({
|
|
117
|
+
url: '/system/dict/data/dictDataPageSearch',
|
|
118
|
+
method: 'get',
|
|
119
|
+
params: params
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
// EXTERNAL MODULE: ./src/api/system/dict/type.js
|
|
123
|
+
var type = __webpack_require__("ed45");
|
|
124
|
+
|
|
125
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/system/system/dict/data.vue?vue&type=script&lang=js&
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
//
|
|
129
|
+
//
|
|
130
|
+
//
|
|
131
|
+
//
|
|
132
|
+
//
|
|
133
|
+
//
|
|
134
|
+
//
|
|
135
|
+
//
|
|
136
|
+
//
|
|
137
|
+
//
|
|
138
|
+
//
|
|
139
|
+
//
|
|
140
|
+
//
|
|
141
|
+
//
|
|
142
|
+
//
|
|
143
|
+
//
|
|
144
|
+
//
|
|
145
|
+
//
|
|
146
|
+
//
|
|
147
|
+
//
|
|
148
|
+
//
|
|
149
|
+
//
|
|
150
|
+
//
|
|
151
|
+
//
|
|
152
|
+
//
|
|
153
|
+
//
|
|
154
|
+
//
|
|
155
|
+
//
|
|
156
|
+
//
|
|
157
|
+
//
|
|
158
|
+
//
|
|
159
|
+
//
|
|
160
|
+
//
|
|
161
|
+
//
|
|
162
|
+
//
|
|
163
|
+
//
|
|
164
|
+
//
|
|
165
|
+
//
|
|
166
|
+
//
|
|
167
|
+
//
|
|
168
|
+
//
|
|
169
|
+
//
|
|
170
|
+
//
|
|
171
|
+
//
|
|
172
|
+
//
|
|
173
|
+
//
|
|
174
|
+
//
|
|
175
|
+
//
|
|
176
|
+
//
|
|
177
|
+
//
|
|
178
|
+
//
|
|
179
|
+
//
|
|
180
|
+
//
|
|
181
|
+
//
|
|
182
|
+
//
|
|
183
|
+
//
|
|
184
|
+
//
|
|
185
|
+
//
|
|
186
|
+
//
|
|
187
|
+
//
|
|
188
|
+
//
|
|
189
|
+
//
|
|
190
|
+
//
|
|
191
|
+
//
|
|
192
|
+
//
|
|
193
|
+
//
|
|
194
|
+
//
|
|
195
|
+
//
|
|
196
|
+
//
|
|
197
|
+
//
|
|
198
|
+
//
|
|
199
|
+
//
|
|
200
|
+
//
|
|
201
|
+
//
|
|
202
|
+
//
|
|
203
|
+
//
|
|
204
|
+
//
|
|
205
|
+
//
|
|
206
|
+
//
|
|
207
|
+
//
|
|
208
|
+
//
|
|
209
|
+
//
|
|
210
|
+
//
|
|
211
|
+
//
|
|
212
|
+
//
|
|
213
|
+
//
|
|
214
|
+
//
|
|
215
|
+
//
|
|
216
|
+
//
|
|
217
|
+
//
|
|
218
|
+
//
|
|
219
|
+
//
|
|
220
|
+
//
|
|
221
|
+
//
|
|
222
|
+
//
|
|
223
|
+
//
|
|
224
|
+
//
|
|
225
|
+
//
|
|
226
|
+
//
|
|
227
|
+
//
|
|
228
|
+
//
|
|
229
|
+
//
|
|
230
|
+
//
|
|
231
|
+
//
|
|
232
|
+
//
|
|
233
|
+
//
|
|
234
|
+
//
|
|
235
|
+
//
|
|
236
|
+
//
|
|
237
|
+
//
|
|
238
|
+
//
|
|
239
|
+
//
|
|
240
|
+
//
|
|
241
|
+
//
|
|
242
|
+
//
|
|
243
|
+
//
|
|
244
|
+
//
|
|
245
|
+
//
|
|
246
|
+
//
|
|
247
|
+
//
|
|
248
|
+
//
|
|
249
|
+
//
|
|
250
|
+
//
|
|
251
|
+
//
|
|
252
|
+
//
|
|
253
|
+
//
|
|
254
|
+
//
|
|
255
|
+
//
|
|
256
|
+
//
|
|
257
|
+
//
|
|
258
|
+
//
|
|
259
|
+
//
|
|
260
|
+
//
|
|
261
|
+
//
|
|
262
|
+
//
|
|
263
|
+
//
|
|
264
|
+
//
|
|
265
|
+
//
|
|
266
|
+
//
|
|
267
|
+
//
|
|
268
|
+
//
|
|
269
|
+
//
|
|
270
|
+
//
|
|
271
|
+
//
|
|
272
|
+
//
|
|
273
|
+
//
|
|
274
|
+
//
|
|
275
|
+
//
|
|
276
|
+
//
|
|
277
|
+
//
|
|
278
|
+
//
|
|
279
|
+
//
|
|
280
|
+
//
|
|
281
|
+
//
|
|
282
|
+
//
|
|
283
|
+
//
|
|
284
|
+
//
|
|
285
|
+
//
|
|
286
|
+
//
|
|
287
|
+
//
|
|
288
|
+
//
|
|
289
|
+
//
|
|
290
|
+
//
|
|
291
|
+
//
|
|
292
|
+
//
|
|
293
|
+
//
|
|
294
|
+
//
|
|
295
|
+
//
|
|
296
|
+
//
|
|
297
|
+
//
|
|
298
|
+
//
|
|
299
|
+
//
|
|
300
|
+
//
|
|
301
|
+
//
|
|
302
|
+
//
|
|
303
|
+
//
|
|
304
|
+
//
|
|
305
|
+
//
|
|
306
|
+
//
|
|
307
|
+
//
|
|
308
|
+
//
|
|
309
|
+
//
|
|
310
|
+
//
|
|
311
|
+
//
|
|
312
|
+
//
|
|
313
|
+
//
|
|
314
|
+
//
|
|
315
|
+
//
|
|
316
|
+
//
|
|
317
|
+
//
|
|
318
|
+
//
|
|
319
|
+
//
|
|
320
|
+
//
|
|
321
|
+
//
|
|
322
|
+
//
|
|
323
|
+
//
|
|
324
|
+
//
|
|
325
|
+
//
|
|
326
|
+
//
|
|
327
|
+
//
|
|
328
|
+
//
|
|
329
|
+
//
|
|
330
|
+
//
|
|
331
|
+
//
|
|
332
|
+
//
|
|
333
|
+
//
|
|
334
|
+
//
|
|
335
|
+
//
|
|
336
|
+
//
|
|
337
|
+
//
|
|
338
|
+
//
|
|
339
|
+
//
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
/* harmony default export */ var datavue_type_script_lang_js_ = ({
|
|
344
|
+
name: "Data",
|
|
345
|
+
data: function data() {
|
|
346
|
+
return {
|
|
347
|
+
// 遮罩层
|
|
348
|
+
loading: true,
|
|
349
|
+
// 提交状态
|
|
350
|
+
submitLoading: false,
|
|
351
|
+
// 选中数组
|
|
352
|
+
ids: [],
|
|
353
|
+
// 非单个禁用
|
|
354
|
+
single: true,
|
|
355
|
+
// 非多个禁用
|
|
356
|
+
multiple: true,
|
|
357
|
+
// 显示搜索条件
|
|
358
|
+
showSearch: true,
|
|
359
|
+
// 总条数
|
|
360
|
+
total: 0,
|
|
361
|
+
// 字典表格数据
|
|
362
|
+
dataList: [],
|
|
363
|
+
// 默认字典类型
|
|
364
|
+
defaultDictType: "",
|
|
365
|
+
// 弹出层标题
|
|
366
|
+
title: "",
|
|
367
|
+
// 是否显示弹出层
|
|
368
|
+
open: false,
|
|
369
|
+
// 数据标签回显样式
|
|
370
|
+
listClassOptions: [{
|
|
371
|
+
value: "default",
|
|
372
|
+
label: "默认"
|
|
373
|
+
}, {
|
|
374
|
+
value: "primary",
|
|
375
|
+
label: "主要"
|
|
376
|
+
}, {
|
|
377
|
+
value: "success",
|
|
378
|
+
label: "成功"
|
|
379
|
+
}, {
|
|
380
|
+
value: "info",
|
|
381
|
+
label: "信息"
|
|
382
|
+
}, {
|
|
383
|
+
value: "warning",
|
|
384
|
+
label: "警告"
|
|
385
|
+
}, {
|
|
386
|
+
value: "danger",
|
|
387
|
+
label: "危险"
|
|
388
|
+
}],
|
|
389
|
+
// 是否系统内置参数
|
|
390
|
+
isSystemParam: '0',
|
|
391
|
+
// 状态数据字典
|
|
392
|
+
statusOptions: [],
|
|
393
|
+
// 类型数据字典
|
|
394
|
+
typeOptions: [],
|
|
395
|
+
// 查询参数
|
|
396
|
+
queryParams: {
|
|
397
|
+
pageNum: 1,
|
|
398
|
+
pageSize: 10,
|
|
399
|
+
dictName: undefined,
|
|
400
|
+
dictType: undefined,
|
|
401
|
+
status: undefined
|
|
402
|
+
},
|
|
403
|
+
// 表单参数
|
|
404
|
+
form: {},
|
|
405
|
+
// 表单校验
|
|
406
|
+
rules: {
|
|
407
|
+
dictLabel: [{
|
|
408
|
+
required: true,
|
|
409
|
+
message: "数据标签不能为空",
|
|
410
|
+
trigger: "blur"
|
|
411
|
+
}],
|
|
412
|
+
dictValue: [{
|
|
413
|
+
required: true,
|
|
414
|
+
message: "数据键值不能为空",
|
|
415
|
+
trigger: "blur"
|
|
416
|
+
}],
|
|
417
|
+
dictSort: [{
|
|
418
|
+
required: true,
|
|
419
|
+
message: "数据顺序不能为空",
|
|
420
|
+
trigger: "blur"
|
|
421
|
+
}]
|
|
422
|
+
}
|
|
423
|
+
};
|
|
424
|
+
},
|
|
425
|
+
created: function created() {
|
|
426
|
+
var _this = this;
|
|
427
|
+
var dictId = this.$route.params && this.$route.params.dictId;
|
|
428
|
+
this.getType(dictId);
|
|
429
|
+
this.getTypeList();
|
|
430
|
+
this.getDicts("sys_normal_disable").then(function (response) {
|
|
431
|
+
_this.statusOptions = response.data;
|
|
432
|
+
});
|
|
433
|
+
},
|
|
434
|
+
methods: {
|
|
435
|
+
/** 查询字典类型详细 */getType: function getType(dictId) {
|
|
436
|
+
var _this2 = this;
|
|
437
|
+
Object(type["c" /* getType */])(dictId).then(function (response) {
|
|
438
|
+
// console.log(response.data);
|
|
439
|
+
_this2.queryParams.dictType = response.data.dictType;
|
|
440
|
+
_this2.defaultDictType = response.data.dictType;
|
|
441
|
+
_this2.isSystemParam = response.data.isSystemParam;
|
|
442
|
+
_this2.getList();
|
|
443
|
+
});
|
|
444
|
+
},
|
|
445
|
+
/** 查询字典类型列表 */getTypeList: function getTypeList() {
|
|
446
|
+
var _this3 = this;
|
|
447
|
+
Object(type["d" /* listType */])().then(function (response) {
|
|
448
|
+
_this3.typeOptions = response.rows;
|
|
449
|
+
});
|
|
450
|
+
},
|
|
451
|
+
/** 查询字典数据列表 */getList: function getList() {
|
|
452
|
+
var _this4 = this;
|
|
453
|
+
this.loading = true;
|
|
454
|
+
// 删除无用搜索字段,否则空的 value 会导致检索不出东西
|
|
455
|
+
for (var prop in this.queryParams) {
|
|
456
|
+
if (this.queryParams[prop] == null || this.queryParams[prop] == '') delete this.queryParams[prop];
|
|
457
|
+
}
|
|
458
|
+
dictDataPageSearch(this.queryParams).then(function (response) {
|
|
459
|
+
_this4.dataList = response.rows;
|
|
460
|
+
_this4.total = response.total;
|
|
461
|
+
_this4.loading = false;
|
|
462
|
+
});
|
|
463
|
+
},
|
|
464
|
+
// 取消按钮
|
|
465
|
+
cancel: function cancel() {
|
|
466
|
+
this.open = false;
|
|
467
|
+
this.reset();
|
|
468
|
+
},
|
|
469
|
+
// 表单重置
|
|
470
|
+
reset: function reset() {
|
|
471
|
+
this.form = {
|
|
472
|
+
dictCode: undefined,
|
|
473
|
+
dictLabel: undefined,
|
|
474
|
+
dictValue: undefined,
|
|
475
|
+
cssClass: undefined,
|
|
476
|
+
listClass: 'default',
|
|
477
|
+
dictSort: 0,
|
|
478
|
+
status: "0",
|
|
479
|
+
remark: undefined
|
|
480
|
+
};
|
|
481
|
+
this.resetForm("form");
|
|
482
|
+
},
|
|
483
|
+
/** 搜索按钮操作 */handleQuery: function handleQuery() {
|
|
484
|
+
this.queryParams.pageNum = 1;
|
|
485
|
+
this.getList();
|
|
486
|
+
},
|
|
487
|
+
/** 重置按钮操作 */resetQuery: function resetQuery() {
|
|
488
|
+
this.resetForm("queryForm");
|
|
489
|
+
this.queryParams.dictType = this.defaultDictType;
|
|
490
|
+
this.handleQuery();
|
|
491
|
+
},
|
|
492
|
+
/** 新增按钮操作 */handleAdd: function handleAdd() {
|
|
493
|
+
this.reset();
|
|
494
|
+
this.open = true;
|
|
495
|
+
this.title = "添加字典数据";
|
|
496
|
+
this.form.dictType = this.queryParams.dictType;
|
|
497
|
+
},
|
|
498
|
+
// 多选框选中数据
|
|
499
|
+
handleSelectionChange: function handleSelectionChange(selection) {
|
|
500
|
+
this.ids = selection.map(function (item) {
|
|
501
|
+
return item.dictCode;
|
|
502
|
+
});
|
|
503
|
+
this.single = selection.length != 1;
|
|
504
|
+
this.multiple = !selection.length;
|
|
505
|
+
},
|
|
506
|
+
/** 修改按钮操作 */handleUpdate: function handleUpdate(row) {
|
|
507
|
+
var _this5 = this;
|
|
508
|
+
this.reset();
|
|
509
|
+
var dictCode = row.dictCode || this.ids[0];
|
|
510
|
+
console.log(dictCode);
|
|
511
|
+
getData(dictCode).then(function (response) {
|
|
512
|
+
_this5.form = response.data;
|
|
513
|
+
_this5.open = true;
|
|
514
|
+
_this5.title = "修改字典数据";
|
|
515
|
+
});
|
|
516
|
+
},
|
|
517
|
+
handleResort: function handleResort() {
|
|
518
|
+
var _this6 = this;
|
|
519
|
+
this.submitLoading = true;
|
|
520
|
+
reorderDictData(this.queryParams.dictType).then(function (response) {
|
|
521
|
+
_this6.getList();
|
|
522
|
+
_this6.submitLoading = false;
|
|
523
|
+
_this6.msgSuccess("排序完成");
|
|
524
|
+
});
|
|
525
|
+
},
|
|
526
|
+
/** 提交按钮 */
|
|
527
|
+
submitForm: function submitForm() {
|
|
528
|
+
var _this7 = this;
|
|
529
|
+
this.submitLoading = true;
|
|
530
|
+
this.$refs["form"].validate(function (valid) {
|
|
531
|
+
if (valid) {
|
|
532
|
+
if (_this7.form.dictCode != undefined) {
|
|
533
|
+
updateData(_this7.form).then(function (response) {
|
|
534
|
+
_this7.msgSuccess("修改成功");
|
|
535
|
+
_this7.open = false;
|
|
536
|
+
_this7.getList();
|
|
537
|
+
});
|
|
538
|
+
} else {
|
|
539
|
+
addData(_this7.form).then(function (response) {
|
|
540
|
+
_this7.msgSuccess("新增成功");
|
|
541
|
+
_this7.open = false;
|
|
542
|
+
_this7.getList();
|
|
543
|
+
});
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
});
|
|
547
|
+
this.submitLoading = false;
|
|
548
|
+
},
|
|
549
|
+
/** 删除按钮操作 */handleDelete: function handleDelete(row) {
|
|
550
|
+
var _this8 = this;
|
|
551
|
+
this.submitLoading = true;
|
|
552
|
+
var dictCodes = row.dictCode || this.ids;
|
|
553
|
+
this.$confirm('是否确认删除字典编码为"' + dictCodes + '"的数据项?', "警告", {
|
|
554
|
+
confirmButtonText: "确定",
|
|
555
|
+
cancelButtonText: "取消",
|
|
556
|
+
type: "warning"
|
|
557
|
+
}).then(function () {
|
|
558
|
+
return delData(dictCodes);
|
|
559
|
+
}).then(function () {
|
|
560
|
+
_this8.getList();
|
|
561
|
+
_this8.msgSuccess("删除成功");
|
|
562
|
+
}).catch(function () {});
|
|
563
|
+
this.submitLoading = false;
|
|
564
|
+
},
|
|
565
|
+
/** 导出按钮操作 */handleExport: function handleExport() {
|
|
566
|
+
this.download('system/dict/data/export', Object(objectSpread2["a" /* default */])({}, this.queryParams), "data_".concat(new Date().getTime(), ".xlsx"));
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
});
|
|
570
|
+
// CONCATENATED MODULE: ./src/views/system/system/dict/data.vue?vue&type=script&lang=js&
|
|
571
|
+
/* harmony default export */ var dict_datavue_type_script_lang_js_ = (datavue_type_script_lang_js_);
|
|
572
|
+
// EXTERNAL MODULE: ./src/views/system/system/dict/data.vue?vue&type=style&index=0&id=b89fc39a&prod&scoped=true&lang=css&
|
|
573
|
+
var datavue_type_style_index_0_id_b89fc39a_prod_scoped_true_lang_css_ = __webpack_require__("36e5");
|
|
574
|
+
|
|
575
|
+
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
576
|
+
var componentNormalizer = __webpack_require__("2877");
|
|
577
|
+
|
|
578
|
+
// CONCATENATED MODULE: ./src/views/system/system/dict/data.vue
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
/* normalize component */
|
|
586
|
+
|
|
587
|
+
var component = Object(componentNormalizer["a" /* default */])(
|
|
588
|
+
dict_datavue_type_script_lang_js_,
|
|
589
|
+
render,
|
|
590
|
+
staticRenderFns,
|
|
591
|
+
false,
|
|
592
|
+
null,
|
|
593
|
+
"b89fc39a",
|
|
594
|
+
null
|
|
595
|
+
|
|
596
|
+
)
|
|
597
|
+
|
|
598
|
+
/* harmony default export */ var dict_data = __webpack_exports__["default"] = (component.exports);
|
|
599
|
+
|
|
600
|
+
/***/ }),
|
|
601
|
+
|
|
602
|
+
/***/ "ed45":
|
|
603
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
604
|
+
|
|
605
|
+
"use strict";
|
|
606
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return listType; });
|
|
607
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return getType; });
|
|
608
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return addType; });
|
|
609
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return updateType; });
|
|
610
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return delType; });
|
|
611
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return refreshCache; });
|
|
612
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return optionselect; });
|
|
613
|
+
/* harmony import */ var _utils_request__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6e66");
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
// 查询字典类型列表
|
|
617
|
+
function listType(query) {
|
|
618
|
+
return Object(_utils_request__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
|
|
619
|
+
url: '/system/dict/type/list',
|
|
620
|
+
method: 'get',
|
|
621
|
+
params: query
|
|
622
|
+
});
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
// 查询字典类型详细
|
|
626
|
+
function getType(dictId) {
|
|
627
|
+
return Object(_utils_request__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
|
|
628
|
+
url: '/system/dict/type/' + dictId,
|
|
629
|
+
method: 'get'
|
|
630
|
+
});
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
// 新增字典类型
|
|
634
|
+
function addType(data) {
|
|
635
|
+
return Object(_utils_request__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
|
|
636
|
+
url: '/system/dict/type',
|
|
637
|
+
method: 'post',
|
|
638
|
+
data: data
|
|
639
|
+
});
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
// 修改字典类型
|
|
643
|
+
function updateType(data) {
|
|
644
|
+
return Object(_utils_request__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
|
|
645
|
+
url: '/system/dict/type',
|
|
646
|
+
method: 'put',
|
|
647
|
+
data: data
|
|
648
|
+
});
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
// 删除字典类型
|
|
652
|
+
function delType(dictId) {
|
|
653
|
+
return Object(_utils_request__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
|
|
654
|
+
url: '/system/dict/type/' + dictId,
|
|
655
|
+
method: 'delete'
|
|
656
|
+
});
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
// 刷新字典缓存
|
|
660
|
+
function refreshCache() {
|
|
661
|
+
return Object(_utils_request__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
|
|
662
|
+
url: '/system/dict/type/refreshCache',
|
|
663
|
+
method: 'delete'
|
|
664
|
+
});
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
// 获取字典选择框列表
|
|
668
|
+
function optionselect() {
|
|
669
|
+
return Object(_utils_request__WEBPACK_IMPORTED_MODULE_0__[/* default */ "a"])({
|
|
670
|
+
url: '/system/dict/type/optionselect',
|
|
671
|
+
method: 'get'
|
|
672
|
+
});
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
/***/ })
|
|
676
|
+
|
|
677
|
+
}]);
|