1 |
- {"remainingRequest":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\style-vw-loader\\index.js??ref--0-2!C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\src\\components\\common\\table.vue?vue&type=template&id=27f0b9ba&scoped=true&","dependencies":[{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\src\\components\\common\\table.vue","mtime":1663828782926},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\vue-loader\\lib\\loaders\\templateLoader.js","mtime":499162500000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\style-vw-loader\\index.js","mtime":1540864632000}],"contextDependencies":[],"result":["\n<div class=\"zz-table\">\n <!-- :height='isScroll ? boxHeight : null' -->\n <el-table\n :border=\"settings.tableBorder\"\n :height=\"height\"\n style=\"width: 100%\"\n ref=\"table\"\n v-loading=\"loading\"\n :data=\"data\"\n :summary-method=\"getSummaries\"\n :show-summary=\"!!(settings.summaryCol && settings.summaryCol.length)\"\n tooltip-effect=\"light\"\n size=\"small\"\n :key=\"updateFlag\"\n @selection-change=\"selectionChange\"\n row-key=\"id\"\n :expand-row-keys=\"expands\"\n @expand-change=\"toggleRow\"\n @sort-change=\"sortChange\"\n :default-sort=\"settings.defaultSort\"\n :empty-text=\"emptyText\"\n :show-header=\"settings.showHeader\"\n :row-class-name=\"setRowClassName\"\n lazy\n :load=\"load\"\n :tree-props=\"treeProps\"\n class=\"customer-table\"\n >\n <!-- 显示多选框 -->\n <el-table-column\n type=\"selection\"\n width=\"60\"\n align=\"center\"\n v-if=\"settings.showCheckbox\"\n :selectable=\"selectable\"\n ></el-table-column>\n <!-- 显示单选框 -->\n <el-table-column width=\"50\" align=\"left\" v-if=\"settings.showRadio\">\n <template slot-scope=\"scope\">\n <el-radio-group v-model=\"radioSelect\">\n <el-radio :label=\"scope.$index\"></el-radio>\n </el-radio-group>\n </template>\n </el-table-column>\n <!-- 显示序号 -->\n <el-table-column label=\"No.\" type=\"index\" :width=\"70\" align=\"left\" v-if=\"settings.showIndex\"></el-table-column>\n <el-table-column\n label=\"NO.\"\n type=\"index\"\n :width=\"settings.showNumberWidth\"\n align=\"left\"\n v-if=\"settings.showNumber\"\n ></el-table-column>\n <!-- 显示具体行 -->\n <el-table-column\n v-for=\"(item, index) in cols\"\n :fixed=\"item.fixed\"\n :width=\"item.width\"\n :min-width=\"item.minWidth\"\n :prop=\"item.prop\"\n :label=\"item.label\"\n :key=\"index\"\n :type=\"item.type\"\n align=\"left\"\n :sortable=\"item.sort || false\"\n filter-placement=\"bottom\"\n :show-overflow-tooltip=\"!isIE\"\n >\n <template slot=\"header\" slot-scope=\"scope\">\n <slot v-if=\"item.headerSlot\" :name=\"item.headerSlot\" :data=\"scope\"></slot>\n <span v-else>{{ item.label }}</span>\n </template>\n <template slot-scope=\"scope\">\n <!-- 插槽 -->\n <slotItem v-if=\"item.slot\" :row=\"scope.row\" :index=\"scope.$index\" :slots=\"$scopedSlots[item.slot]\"></slotItem>\n <!-- 过滤方法 -->\n <el-tooltip\n v-else-if=\"item.format && isIE\"\n class=\"item\"\n effect=\"light\"\n placement=\"bottom\"\n :disabled=\"item.format(scope.row[item.prop]).length < 2\"\n :content=\"item.format(scope.row[item.prop])\"\n >\n <p\n @click=\"item.click ? item.click() : null\"\n v-html=\"\n item.format(scope.row[item.prop], scope.row) ||\n (item.format(scope.row[item.prop], scope.row) === 0 ? 0 : item.empty ? '' : '-')\n \"\n ></p>\n </el-tooltip>\n <p\n v-else-if=\"item.format && !isIE\"\n @click=\"item.click ? item.click() : null\"\n v-html=\"item.format(scope.row[item.prop]) || (item.format(scope.row[item.prop]) == 0 ? 0 : '-')\"\n ></p>\n <!-- <p\n v-else-if=\"item.format && isIE\" \n class=\"item\" effect=\"light\" placement=\"top-start\" \n @click=\"item.click ? item.click() : null\"\n >\n {{\n item.format(scope.row[item.prop], scope.row) ||\n (item.format(scope.row[item.prop], scope.row) === 0 ? 0 : item.empty ? '' : '-')\n }}\n </p> -->\n <!-- <p v-else-if=\"item.format\" @click='item.click?item.click():null'>{{item.format(scope.row[item.prop]) || (item.format(scope.row[item.prop]) == 0 ? 0 : '-')}}</p> -->\n <!-- 默认显示 -->\n <el-tooltip\n v-else-if=\"!item.slot && !item.format && isIE\"\n class=\"item\"\n effect=\"light\"\n placement=\"bottom\"\n :disabled=\"scope.row[item.prop] && scope.row[item.prop].length < 2\"\n :content=\"scope.row[item.prop]\"\n >\n <p\n @click=\"item.click ? item.click() : null\"\n v-html=\"scope.row[item.prop] || (scope.row[item.prop] === 0 ? 0 : item.empty ? '' : '-')\"\n ></p>\n </el-tooltip>\n <p\n v-else\n @click=\"item.click ? item.click() : null\"\n v-html=\"scope.row[item.prop] || (scope.row[item.prop] === 0 ? 0 : item.empty ? '' : '-')\"\n ></p>\n <!-- <p v-else-if=\"item.fixToolTip\" v-tip.same :data-txt=\"scope.row[item.prop]\" @click=\"item.click ? item.click() : null\">\n {{ scope.row[item.prop] || (scope.row[item.prop] === 0 ? 0 : item.empty ? '' : '-') }}\n </p> -->\n <!-- <p v-else v-tip :data-txt=\"scope.row[item.prop]\" @click=\"item.click ? item.click() : null\">\n {{ scope.row[item.prop] || (scope.row[item.prop] === 0 ? 0 : item.empty ? '' : '-') }}\n </p> -->\n </template>\n </el-table-column>\n </el-table>\n <div class=\"foot\" v-if=\"!settings.hideFoot\">\n <!-- 手动全选及操作 -->\n <!-- <div v-if=\"false\" class=\"selectAll\" :class=\"{ hasIndex: settings.showIndex }\">\n <el-checkbox v-if=\"checkHide()\" v-model=\"isSelectAll\" @change=\"checkAllChange\"></el-checkbox>\n <el-tooltip class=\"item\" effect=\"light\" content=\"展示/隐藏\" placement=\"bottom\">\n <span :class=\"checkHide()?'batch_display':'batch_collapse'\" class=\"batch_button\" @click=\"hideordisplay\"></span>\n </el-tooltip>\n <slot v-if=\"checkHide()\" name=\"batchtodo\"></slot>\n </div> -->\n <el-pagination\n v-if=\"pageset.hasOwnProperty('total') && !settings.hidePagination\"\n class=\"pagination\"\n background\n @size-change=\"sizeChange\"\n @current-change=\"currentChange\"\n :current-page=\"currentPage\"\n :page-sizes=\"pageset.pageSizes || [15, 30, 60, 120]\"\n :page-size=\"pageset.pageSize || 15\"\n :total=\"pageset.total || 0\"\n layout=\"total, sizes, prev, pager, next, jumper\"\n >\n </el-pagination>\n </div>\n</div>\n",null]}
|