1 line
7.7 KiB
JSON
1 line
7.7 KiB
JSON
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\sys\\news.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\sys\\news.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\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//\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//\n//\n//\n//\nimport mixinViewModule from '@/mixins/view-module';\nimport AddOrUpdate from \"./news-add-or-update\";\nexport default {\n mixins: [mixinViewModule],\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/sys/news/page',\n getDataListIsPage: true,\n deleteURL: '/sys/news',\n deleteIsBatch: true,\n needCheckRecord: false\n },\n daterange: null,\n dataForm: {\n title: '',\n startDate: '',\n endDate: ''\n }\n };\n },\n watch: {\n daterange: function daterange(val) {\n this.dataForm.startDate = val[0];\n this.dataForm.endDate = val[1];\n }\n },\n components: {\n AddOrUpdate: AddOrUpdate\n },\n methods: {\n dbclick: function dbclick(row, column, cell, event) {\n console.log(\"dbclick -> event\", event);\n console.log(\"dbclick -> cell\", cell);\n console.log(\"dbclick -> column\", column);\n console.log(\"dbclick -> row\", row);\n\n if (column.columnKey === 'copy') {\n console.log(row[column.property]);\n }\n }\n }\n};",{"version":3,"sources":["news.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+DA,OAAA,eAAA,MAAA,sBAAA;AACA,OAAA,WAAA;AACA,eAAA;AACA,EAAA,MAAA,EAAA,CAAA,eAAA,CADA;AAEA,EAAA,IAFA,kBAEA;AACA,WAAA;AACA,MAAA,sBAAA,EAAA;AACA,QAAA,cAAA,EAAA,gBADA;AAEA,QAAA,iBAAA,EAAA,IAFA;AAGA,QAAA,SAAA,EAAA,WAHA;AAIA,QAAA,aAAA,EAAA,IAJA;AAKA,QAAA,eAAA,EAAA;AALA,OADA;AAQA,MAAA,SAAA,EAAA,IARA;AASA,MAAA,QAAA,EAAA;AACA,QAAA,KAAA,EAAA,EADA;AAEA,QAAA,SAAA,EAAA,EAFA;AAGA,QAAA,OAAA,EAAA;AAHA;AATA,KAAA;AAeA,GAlBA;AAmBA,EAAA,KAAA,EAAA;AACA,IAAA,SADA,qBACA,GADA,EACA;AACA,WAAA,QAAA,CAAA,SAAA,GAAA,GAAA,CAAA,CAAA,CAAA;AACA,WAAA,QAAA,CAAA,OAAA,GAAA,GAAA,CAAA,CAAA,CAAA;AACA;AAJA,GAnBA;AAyBA,EAAA,UAAA,EAAA;AACA,IAAA,WAAA,EAAA;AADA,GAzBA;AA4BA,EAAA,OAAA,EAAA;AACA,IAAA,OADA,mBACA,GADA,EACA,MADA,EACA,IADA,EACA,KADA,EACA;AACA,MAAA,OAAA,CAAA,GAAA,CAAA,kBAAA,EAAA,KAAA;AACA,MAAA,OAAA,CAAA,GAAA,CAAA,iBAAA,EAAA,IAAA;AACA,MAAA,OAAA,CAAA,GAAA,CAAA,mBAAA,EAAA,MAAA;AACA,MAAA,OAAA,CAAA,GAAA,CAAA,gBAAA,EAAA,GAAA;;AACA,UAAA,MAAA,CAAA,SAAA,KAAA,MAAA,EACA;AACA,QAAA,OAAA,CAAA,GAAA,CAAA,GAAA,CAAA,MAAA,CAAA,QAAA,CAAA;AACA;AACA;AAVA;AA5BA,CAAA","sourcesContent":["<template>\n <el-card shadow=\"never\" class=\"aui-card--fill\">\n <div class=\"mod-demo__news\">\n <el-form :inline=\"true\" :model=\"dataForm\" @keyup.enter.native=\"getDataList()\">\n <el-form-item>\n <el-input v-model=\"dataForm.title\" :placeholder=\"$t('news.title')\" clearable></el-input>\n </el-form-item>\n <el-form-item>\n <el-date-picker\n v-model=\"daterange\"\n type=\"daterange\"\n value-format=\"yyyy-MM-dd\"\n :range-separator=\"$t('datePicker.range')\"\n :start-placeholder=\"$t('datePicker.start')\"\n :end-placeholder=\"$t('datePicker.end')\">\n </el-date-picker>\n </el-form-item>\n <el-form-item>\n <el-button @click=\"getDataList()\">{{ $t('query') }}</el-button>\n </el-form-item>\n <el-form-item>\n <el-button type=\"primary\" @click=\"addOrUpdateHandle()\">{{ $t('add') }}</el-button>\n </el-form-item>\n <el-form-item>\n <el-button type=\"danger\" @click=\"deleteHandle()\">{{ $t('deleteBatch') }}</el-button>\n </el-form-item>\n </el-form>\n <el-table\n v-loading=\"dataListLoading\"\n :data=\"dataList\"\n border\n ref=\"tableSelect\"\n @selection-change=\"dataListSelectionChangeHandle\"\n @sort-change=\"dataListSortChangeHandle\"\n @cell-dblclick=\"dbclick\"\n style=\"width: 100%;\">\n <el-table-column type=\"selection\" header-align=\"center\" align=\"center\" width=\"50\"></el-table-column>\n <el-table-column prop=\"title\" column-key=\"copy\" :label=\"$t('news.title')\" header-align=\"center\" align=\"center\"></el-table-column>\n <el-table-column prop=\"pubDate\" :label=\"$t('news.pubDate')\" sortable=\"custom\" header-align=\"center\" align=\"center\" width=\"180\"></el-table-column>\n <el-table-column prop=\"createDate\" :label=\"$t('news.createDate')\" sortable=\"custom\" header-align=\"center\" align=\"center\" width=\"180\"></el-table-column>\n <el-table-column :label=\"$t('handle')\" fixed=\"right\" header-align=\"center\" align=\"center\" width=\"150\">\n <template slot-scope=\"scope\">\n <el-button type=\"text\" size=\"small\" @click=\"addOrUpdateHandle(scope.row.id)\">{{ $t('update') }}</el-button>\n <el-button type=\"text\" size=\"small\" @click=\"deleteHandle(scope.row.id)\">{{ $t('delete') }}</el-button>\n </template>\n </el-table-column>\n </el-table>\n <el-pagination\n :current-page=\"page\"\n :page-sizes=\"[10, 20, 30, 40]\"\n :page-size=\"limit\"\n :total=\"total\"\n layout=\"total, sizes, prev, pager, next, jumper\"\n @size-change=\"pageSizeChangeHandle\"\n @current-change=\"pageCurrentChangeHandle\">\n </el-pagination>\n <!-- 弹窗, 新增 / 修改 -->\n <add-or-update v-if=\"addOrUpdateVisible\" ref=\"addOrUpdate\" @refreshDataList=\"getDataList\"></add-or-update>\n </div>\n </el-card>\n</template>\n\n<script>\nimport mixinViewModule from '@/mixins/view-module'\nimport AddOrUpdate from './news-add-or-update'\nexport default {\n mixins: [mixinViewModule],\n data () {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/sys/news/page',\n getDataListIsPage: true,\n deleteURL: '/sys/news',\n deleteIsBatch: true,\n needCheckRecord:false\n },\n daterange: null,\n dataForm: {\n title: '',\n startDate: '',\n endDate: ''\n }\n }\n },\n watch: {\n daterange (val) {\n this.dataForm.startDate = val[0]\n this.dataForm.endDate = val[1]\n }\n },\n components: {\n AddOrUpdate\n },\n methods: {\n dbclick (row, column, cell, event) {\n console.log(\"dbclick -> event\", event)\n console.log(\"dbclick -> cell\", cell)\n console.log(\"dbclick -> column\", column)\n console.log(\"dbclick -> row\", row)\n if (column.columnKey==='copy') \n {\n console.log(row[column.property])\n }\n }\n }\n}\n</script>\n"],"sourceRoot":"src/views/modules/sys"}]} |