1 line
4.0 KiB
JSON
1 line
4.0 KiB
JSON
{"remainingRequest":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\babel-loader\\lib\\index.js!D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\src\\views\\components\\VxeTableRender\\components\\EditPopupModal.vue?vue&type=script&lang=js","dependencies":[{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\src\\views\\components\\VxeTableRender\\components\\EditPopupModal.vue","mtime":1732871026674},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\babel.config.js","mtime":1732871025888},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1732872824662},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\babel-loader\\lib\\index.js","mtime":1732872825017},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1732872824662},{"path":"D:\\data\\hanguodoushan\\acs2\\nladmin-ui\\node_modules\\vue-loader\\lib\\index.js","mtime":1732872825835}],"contextDependencies":[],"result":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nvar _default = exports.default = {\n name: 'EditPopupModal',\n props: {\n params: Object\n },\n data: function data() {\n return {\n row: null,\n column: null,\n modalVisible: false,\n loading: false,\n tableData: [],\n tableColumn: [{\n type: 'checkbox',\n width: 80\n }, {\n field: 'name',\n title: 'Name'\n }, {\n field: 'role',\n title: 'Role'\n }, {\n field: 'sex',\n title: 'Sex'\n }],\n tablePage: {\n total: 0,\n currentPage: 1,\n pageSize: 10\n }\n };\n },\n created: function created() {\n this.load();\n },\n methods: {\n load: function load() {\n var _this = this;\n var _this$params = this.params,\n row = _this$params.row,\n column = _this$params.column;\n this.row = row;\n this.column = column;\n this.getData().then(function (data) {\n _this.tableData = data;\n });\n },\n getData: function getData() {\n return new Promise(function (resolve) {\n setTimeout(function () {\n var list = [{\n name: 'Test1',\n role: '前端',\n sex: '男'\n }, {\n name: 'Test2',\n role: '后端',\n sex: '男'\n }, {\n name: 'Test3',\n role: '测试',\n sex: '男'\n }, {\n name: 'Test4',\n role: '设计师',\n sex: '女'\n }, {\n name: 'Test5',\n role: '前端',\n sex: '男'\n }, {\n name: 'Test6',\n role: '前端',\n sex: '男'\n }, {\n name: 'Test7',\n role: '前端',\n sex: '男'\n }];\n resolve(list);\n }, 100);\n });\n },\n popupEvent: function popupEvent() {\n this.modalVisible = true;\n },\n pageChangeEvent: function pageChangeEvent(_ref) {\n var _this2 = this;\n var currentPage = _ref.currentPage,\n pageSize = _ref.pageSize;\n this.tablePage.currentPage = currentPage;\n this.tablePage.pageSize = pageSize;\n this.loading = true;\n this.getData().then(function (data) {\n _this2.loading = false;\n _this2.tableData = data;\n });\n },\n confirmEvent: function confirmEvent() {\n var row = this.row,\n column = this.column;\n var selectRecords = this.$refs.xGrid.getCheckboxRecords();\n row[column.property] = \"\".concat(selectRecords.length, \"\\u6761\");\n }\n }\n};",null]} |