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AAAA,EAAAA,IAAiB,SAEnBE,EAAG,GACF,KAAM,CAAC,eAEZA,EAAG,GACF,EAAG,CAAC,aAAc,iBAEvBA,EAAG,OAGPR,EAAAA,EAAAA,IAAamO,EAAS,CACpB7B,QAAS,aACTrF,IAAK0F,EACLgB,QAASF,EACT/C,IAAK1J,EAAK0J,KACT,KAAM,EAAG,CAAC,SACb,CAEJ,IE5LA,MAAM,EAAc,EAEpB,O","sources":["webpack://baozhidao-putoutstorage/./src/components/mark-green.vue","webpack://baozhidao-putoutstorage/./src/components/mark-green.vue?d9fe","webpack://baozhidao-putoutstorage/./src/components/bg.vue?5ef6","webpack://baozhidao-putoutstorage/./src/components/bg.vue","webpack://baozhidao-putoutstorage/./src/components/bg.vue?4c61","webpack://baozhidao-putoutstorage/./src/components/searchAdd.vue?c0f0","webpack://baozhidao-putoutstorage/./src/components/searchAdd.vue","webpack://baozhidao-putoutstorage/./src/components/searchAdd.vue?592b","webpack://baozhidao-putoutstorage/./src/hooks/useTable.ts","webpack://baozhidao-putoutstorage/./src/components/table.vue?c286","webpack://baozhidao-putoutstorage/./src/components/table.vue","webpack://baozhidao-putoutstorage/./src/components/table.vue?0270","webpack://baozhidao-putoutstorage/./src/plugins/messagebox.ts","webpack://baozhidao-putoutstorage/./src/views/usermanagement/user/adduser.vue?4db0","webpack://baozhidao-putoutstorage/./src/views/usermanagement/user/adduser.vue","webpack://baozhidao-putoutstorage/./src/views/usermanagement/user/adduser.vue?afa7","webpack://baozhidao-putoutstorage/./src/views/usermanagement/user/index.vue?1ca0","webpack://baozhidao-putoutstorage/./src/views/usermanagement/user/index.vue","webpack://baozhidao-putoutstorage/./src/views/usermanagement/user/index.vue?05cc"],"sourcesContent":["<template>\r\n <div class=\"mark-green1\">\r\n <div class=\"mark-green2\">\r\n <div class=\"mark-green3\"></div>\r\n </div>\r\n </div>\r\n</template>\r\n \r\n<style lang=\"scss\">\r\n.mark-green1 {\r\n width: 30px;\r\n height: 30px;\r\n border-radius: 50%;\r\n background: #d8f2e3;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.mark-green2 {\r\n width: 70%;\r\n height: 70%;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n border-radius: 50%;\r\n background: #b2efcc;\r\n}\r\n\r\n.mark-green3 {\r\n width: 50%;\r\n height: 50%;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n border-radius: 50%;\r\n background: #69d297;\r\n}</style>","import { render } from \"./mark-green.vue?vue&type=template&id=84d97b9e\"\nconst script = {}\n\nimport \"./mark-green.vue?vue&type=style&index=0&id=84d97b9e&lang=scss\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"bg\" }\nconst _hoisted_2 = { class: \"bg-tit\" }\nconst _hoisted_3 = { style: {\"display\":\"flex\",\"align-items\":\"center\",\"flex\":\"1\",\"flex-shrink\":\"0\",\"min-width\":\"200px\"} }\n\nimport markGreen from \"@/components/mark-green.vue\";\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'bg',\n props: {\r\n istitle: {\r\n type: String,\r\n default: () => '',\r\n },\r\n},\n setup(__props) {\n\r\nconst props = __props\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_text = _resolveComponent(\"el-text\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(markGreen),\n _createVNode(_component_el_text, {\n style: {\"margin-left\":\"20px\"},\n tag: \"b\"\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"tit\", {}, () => [\n _createTextVNode(_toDisplayString(props.istitle), 1)\n ])\n ]),\n _: 3\n })\n ]),\n _renderSlot(_ctx.$slots, \"btn\")\n ]),\n _renderSlot(_ctx.$slots, \"bg\")\n ]))\n}\n}\n\n})","<template>\r\n <div class=\"bg\">\r\n <div class=\"bg-tit\">\r\n <div style=\"display: flex;align-items: center;flex: 1;flex-shrink: 0;min-width: 200px;\">\r\n <markGreen></markGreen>\r\n <el-text style=\"margin-left: 20px;\" tag=\"b\">\r\n <slot name=\"tit\">{{props.istitle}}</slot>\r\n </el-text>\r\n </div>\r\n <slot name=\"btn\"></slot>\r\n </div>\r\n <slot name=\"bg\"></slot>\r\n </div>\r\n</template>\r\n<script setup lang=\"ts\">\r\nimport markGreen from \"@/components/mark-green.vue\";\r\nconst props = defineProps({\r\n istitle: {\r\n type: String,\r\n default: () => '',\r\n },\r\n})\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n.bg {\r\n border-radius: var(--el-card-border-radius);\r\n background-color: var(--el-card-bg-color);\r\n overflow: hidden;\r\n color: var(--el-text-color-primary);\r\n transition: var(--el-transition-duration);\r\n --el-card-border-color: var(--el-border-color-light);\r\n --el-card-border-radius: 4px;\r\n --el-card-bg-color: var(--el-fill-color-blank);\r\n padding: var(--y-padding);\r\n margin-bottom: var(--y-margin);\r\n\r\n &-tit {\r\n padding: var(--y-padding) 0;\r\n border-bottom: 1px solid var(--el-card-border-color);\r\n box-sizing: border-box;\r\n margin-bottom: var(--y-margin);\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n }\r\n}</style>","import script from \"./bg.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./bg.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./bg.vue?vue&type=style&index=0&id=24052afe&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"searchAdd\" }\nconst _hoisted_2 = { class: \"searchAdd-left\" }\nconst _hoisted_3 = { class: \"searchAdd-right\" }\n\nimport marks from \"@/components/mark.vue\";\r\nimport { reactive } from \"vue\";\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'searchAdd',\n props: {\r\n isButtom: {\r\n type: String,\r\n default: () => '',\r\n },\r\n labelWidth: {\r\n type: String,\r\n default: () => '100',\r\n },\r\n inline: {\r\n type: Boolean,\r\n default: () => true,\r\n },\r\n // isPlaceholder: {\r\n // type: String,\r\n // default: () => '',\r\n // },\r\n},\n emits: [\"event\"],\n setup(__props, { emit: __emit }) {\n\r\nconst props = __props\r\nconst data = reactive({\r\n input: ''\r\n})\r\nconst emit = __emit\r\nconst subClick = () => {\r\n emit('event', data.input)\r\n}\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_button = _resolveComponent(\"el-button\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_el_form, {\n inline: props.inline\n }, {\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"searchConter\"),\n _createVNode(_component_el_form_item, null, {\n default: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: subClick\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(props.isButtom), 1)\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 3\n }, 8, [\"inline\"])\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n _renderSlot(_ctx.$slots, \"searchBtn\")\n ])\n ]))\n}\n}\n\n})","<!-- -->\r\n<template>\r\n <div class=\"searchAdd\">\r\n <div class=\"searchAdd-left\">\r\n <!-- <marks></marks> -->\r\n <el-form :inline=\"props.inline\">\r\n <slot name=\"searchConter\"></slot>\r\n <el-form-item>\r\n <el-button type=\"primary\" @click=\"subClick\">{{ props.isButtom }}</el-button>\r\n </el-form-item>\r\n </el-form>\r\n </div>\r\n <div class=\"searchAdd-right\">\r\n <slot name=\"searchBtn\"></slot>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport marks from \"@/components/mark.vue\";\r\nimport { reactive } from \"vue\";\r\nconst props = defineProps({\r\n isButtom: {\r\n type: String,\r\n default: () => '',\r\n },\r\n labelWidth: {\r\n type: String,\r\n default: () => '100',\r\n },\r\n inline: {\r\n type: Boolean,\r\n default: () => true,\r\n },\r\n // isPlaceholder: {\r\n // type: String,\r\n // default: () => '',\r\n // },\r\n})\r\nconst data = reactive({\r\n input: ''\r\n})\r\nconst emit = defineEmits<{\r\n (e: 'event', myvalue: string): void\r\n}>()\r\nconst subClick = () => {\r\n emit('event', data.input)\r\n}\r\n</script>\r\n<style lang=\"scss\">\r\n.searchAdd {\r\n border-radius: var(--el-card-border-radius);\r\n background-color: var(--el-card-bg-color);\r\n overflow: hidden;\r\n color: var(--el-text-color-primary);\r\n transition: var(--el-transition-duration);\r\n --el-card-border-color: var(--el-border-color-light);\r\n --el-card-border-radius: 4px;\r\n --el-card-bg-color: var(--el-fill-color-blank);\r\n padding: var(--y-padding) var(--y-padding) 0 var(--y-padding);\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n margin-bottom: var(--y-margin);\r\n &-left {\r\n display: flex;\r\n align-items: center;\r\n }\r\n}\r\n\r\n.el-form-item {\r\n display: flex;\r\n --font-size: 14px;\r\n}\r\n</style>","import script from \"./searchAdd.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./searchAdd.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./searchAdd.vue?vue&type=style&index=0&id=ad1965bc&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { reactive, toRefs } from 'vue'\r\ninterface Pageable {\r\n pageNum: number\r\n pageSize: number\r\n total: number\r\n RemainingTime?: number\r\n small: boolean\r\n disabled: boolean\r\n}\r\ninterface Table {\r\n loading: boolean\r\n tableData: any[]\r\n pageable: Pageable\r\n searchParam: any\r\n searchInitParam: any\r\n totalParam: any\r\n}\r\n\r\n/**\r\n *\r\n * @param requestApi 请求接口\r\n * @param initParam 请求参数\r\n * @param isPagination 是否需要分页\r\n * @param dataCallback 对后台返回参数进行处理\r\n * @returns\r\n */\r\nexport const useTable = (\r\n requestApi: (params: any) => Promise<any>,\r\n initParam: object = {},\r\n isPagination: boolean = true,\r\n dataCallback?: (data: any) => any\r\n) => {\r\n const state = reactive<Table>({\r\n // 表格数据\r\n tableData: [],\r\n loading: true,\r\n // 分页数据\r\n pageable: {\r\n // 当前页数\r\n pageNum: 1,\r\n // 每页显示条数\r\n pageSize: 8,\r\n // 总条数\r\n total: 0,\r\n RemainingTime: 0,\r\n small: true,\r\n disabled: false\r\n },\r\n // 查询参数(只包括查询)\r\n searchParam: {},\r\n // 初始化默认的查询参数\r\n searchInitParam: {},\r\n // 总参数(包含分页和查询参数)\r\n totalParam: {}\r\n })\r\n\r\n const getTableList = async () => {\r\n const params: any = {\r\n page: state.pageable.pageNum,\r\n pageSize: state.pageable.pageSize,\r\n ...initParam\r\n }\r\n requestApi(params).then(res => {\r\n state.tableData = res.data?.list || []\r\n // dataCallback && (state.tableData = dataCallback(res))\r\n state.pageable.total = parseInt(res.data?.count)\r\n // console.log('返回数据', res, state.tableData)\r\n\r\n if (res.Data?.RemainingTime) {\r\n state.pageable.RemainingTime = res.Data.RemainingTime\r\n }\r\n state.loading = false\r\n })\r\n }\r\n if (isPagination) {\r\n }\r\n const handleSizeChange = (val: number) => {\r\n state.pageable.pageSize = val\r\n getTableList()\r\n }\r\n\r\n const handleCurrentChange = (val: number) => {\r\n state.pageable.pageNum = val\r\n getTableList()\r\n }\r\n\r\n const searchTable = () => {\r\n state.pageable.pageNum = 1\r\n getTableList()\r\n }\r\n\r\n return {\r\n ...toRefs(state),\r\n getTableList,\r\n searchTable,\r\n handleSizeChange,\r\n handleCurrentChange\r\n }\r\n}\r\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, renderSlot as _renderSlot, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, resolveComponent as _resolveComponent, mergeProps as _mergeProps, createBlock as _createBlock, createCommentVNode as _createCommentVNode, resolveDynamicComponent as _resolveDynamicComponent, withCtx as _withCtx, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, createVNode as _createVNode, resolveDirective as _resolveDirective, withDirectives as _withDirectives, createElementVNode as _createElementVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"y-tabs\" }\nconst _hoisted_2 = {\n key: 0,\n style: {\"color\":\"red\"}\n}\nconst _hoisted_3 = { style: {\"margin-top\":\"20px\"} }\n\nimport { ref, CSSProperties,watch } from \"vue\";\r\nimport { useTable } from '@/hooks/useTable'\r\nimport { TableProps } from 'element-plus'\r\nimport { ColumnProps } from './interface/index'\r\ninterface ProTableProps extends Partial<Omit<TableProps<any>, 'data'>> {\r\n columns: ColumnProps[] // 列配置项\r\n requestApi: (params: any) => Promise<any> // 请求表格数据的api ==> 必传\r\n dataCallback?: (data: any) => any // 返回数据的回调函数,可以对数据进行处理 ==> 非必传\r\n title?: string // 表格标题,目前只在打印的时候用到 ==> 非必传\r\n pagination?: boolean // 是否需要分页组件 ==> 非必传(默认为true)\r\n layout?: string\r\n initParam?: any // 初始化请求参数 ==> 非必传(默认为{})\r\n border?: boolean // 是否带有纵向边框 ==> 非必传(默认为true)\r\n toolButton?: boolean // 是否显示表格功能按钮 ==> 非必传(默认为true)\r\n selectId?: string // 当表格数据多选时,所指定的 id ==> 非必传(默认为 id)\r\n displayHeader?: boolean // 是否隐藏头部\r\n rowClick?: (row: any, column: any, event: any) => void // 点击行\r\n selectionChange?: (row: any) => void // 选择函数\r\n getRowKey?: ((row: any) => string) | string // 用于优化select勾选框\r\n tableRowClassName?: (data: any) => CSSProperties\r\n}\r\n// 接受父组件参数,配置默认值\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'table',\n props: {\n columns: { default: () => [] },\n requestApi: {},\n dataCallback: {},\n title: {},\n pagination: { type: Boolean, default: true },\n layout: { default: 'total, sizes, prev, pager, next, jumper' },\n initParam: { default: {} },\n border: { type: Boolean, default: true },\n toolButton: { type: Boolean, default: true },\n selectId: { default: 'id' },\n displayHeader: { type: Boolean },\n rowClick: {},\n selectionChange: {},\n getRowKey: {},\n tableRowClassName: {},\n size: {},\n width: {},\n height: {},\n maxHeight: {},\n fit: { type: Boolean },\n stripe: { type: Boolean },\n rowKey: {},\n context: {},\n showHeader: { type: Boolean },\n showSummary: { type: Boolean },\n sumText: {},\n summaryMethod: {},\n rowClassName: {},\n rowStyle: {},\n cellClassName: {},\n cellStyle: {},\n headerRowClassName: {},\n headerRowStyle: {},\n headerCellClassName: {},\n headerCellStyle: {},\n highlightCurrentRow: { type: Boolean },\n currentRowKey: {},\n emptyText: {},\n expandRowKeys: {},\n defaultExpandAll: { type: Boolean },\n defaultSort: {},\n tooltipEffect: {},\n tooltipOptions: {},\n spanMethod: {},\n selectOnIndeterminate: { type: Boolean },\n indent: {},\n treeProps: {},\n lazy: { type: Boolean },\n load: {},\n className: {},\n style: {},\n tableLayout: {},\n scrollbarAlwaysOn: { type: Boolean },\n flexible: { type: Boolean },\n showOverflowTooltip: { type: [Boolean, Object] }\n },\n setup(__props: any, { expose: __expose }) {\n\r\nconst props = __props\r\n\r\n\r\n// 表格操作 Hooks\r\nconst { tableData, getTableList, pageable, loading, handleSizeChange, handleCurrentChange } = useTable(\r\n props.requestApi,\r\n props.initParam,\r\n props.pagination,\r\n \r\n props.dataCallback\r\n)\r\n\r\ngetTableList()\r\n// 接收 columns 并设置为响应式\r\nconst tableColumns = ref<ColumnProps[]>(props.columns)\r\n\r\n//暴露方法\r\n__expose({\r\ngetTableList,tableColumns,props\r\n})\r\n\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_table_column = _resolveComponent(\"el-table-column\")!\n const _component_el_tooltip = _resolveComponent(\"el-tooltip\")!\n const _component_el_empty = _resolveComponent(\"el-empty\")!\n const _component_el_table = _resolveComponent(\"el-table\")!\n const _component_el_pagination = _resolveComponent(\"el-pagination\")!\n const _directive_loading = _resolveDirective(\"loading\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _withDirectives((_openBlock(), _createBlock(_component_el_table, {\n data: _unref(tableData),\n onRowClick: props.rowClick,\n onSelectionChange: props.selectionChange,\n \"row-key\": props.getRowKey,\n border: props.border,\n \"max-height\": \"450\",\n \"row-style\": _ctx.tableRowClassName,\n \"table-layout\": \"auto\"\n }, {\n append: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"append\")\n ]),\n empty: _withCtx(() => [\n _createVNode(_component_el_empty)\n ]),\n default: _withCtx(() => [\n _renderSlot(_ctx.$slots, \"default\"),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(tableColumns.value, (item) => {\n return (_openBlock(), _createElementBlock(_Fragment, { key: item }, [\n (item.type == 'selection' || item.type == 'index')\n ? (_openBlock(), _createBlock(_component_el_table_column, _mergeProps({ key: 0 }, item, {\n align: item.align ?? 'center',\n \"reserve-selection\": item.type == 'selection',\n \"show-overflow-tooltip\": true\n }), null, 16, [\"align\", \"reserve-selection\"]))\n : _createCommentVNode(\"\", true),\n (item.type === 'expand')\n ? (_openBlock(), _createBlock(_component_el_table_column, _mergeProps({ key: 1 }, item, {\n align: item.align ?? 'center',\n \"show-overflow-tooltip\": true\n }), {\n default: _withCtx((scope) => [\n (item.render)\n ? (_openBlock(), _createBlock(_resolveDynamicComponent(item.render), {\n key: 0,\n row: scope.row\n }, null, 8, [\"row\"]))\n : _renderSlot(_ctx.$slots, item.type, {\n key: 1,\n row: scope.row\n })\n ]),\n _: 2\n }, 1040, [\"align\"]))\n : _createCommentVNode(\"\", true),\n (!item.type && item.prop && item.name !== item.prop)\n ? (_openBlock(), _createBlock(_component_el_table_column, _mergeProps({ key: 2 }, item, {\n align: item.align ?? 'center',\n \"show-overflow-tooltip\": true\n }), {\n default: _withCtx((scope) => [\n (item.prop=='T_wait_audit')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, _toDisplayString(scope.row[item.prop]==true?'待审核':''), 1))\n : _createCommentVNode(\"\", true),\n (item.ellipsis)\n ? (_openBlock(), _createBlock(_component_el_tooltip, {\n key: 1,\n effect: \"dark\",\n content: scope.row[item.prop],\n placement: \"bottom\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(scope.row[item.prop]), 1)\n ]),\n _: 2\n }, 1032, [\"content\"]))\n : _createCommentVNode(\"\", true),\n (item.fixed)\n ? _renderSlot(_ctx.$slots, item.fixed, {\n key: 2,\n row: scope.row\n })\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1040, [\"align\"]))\n : _createCommentVNode(\"\", true),\n (!item.type && item.prop && item.name === item.prop)\n ? (_openBlock(), _createBlock(_component_el_table_column, _mergeProps({ key: 3 }, item, {\n align: item.align ?? 'center',\n \"show-overflow-tooltip\": true\n }), {\n default: _withCtx((scope) => [\n _renderSlot(_ctx.$slots, item.prop, {\n row: scope.row\n })\n ]),\n _: 2\n }, 1040, [\"align\"]))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 128))\n ]),\n _: 3\n }, 8, [\"data\", \"onRowClick\", \"onSelectionChange\", \"row-key\", \"border\", \"row-style\"])), [\n [_directive_loading, _unref(loading)]\n ]),\n _createElementVNode(\"div\", _hoisted_3, [\n (_ctx.pagination)\n ? (_openBlock(), _createBlock(_component_el_pagination, {\n key: 0,\n \"current-page\": _unref(pageable).pageNum,\n \"onUpdate:currentPage\": _cache[0] || (_cache[0] = ($event: any) => ((_unref(pageable).pageNum) = $event)),\n \"page-size\": _unref(pageable).pageSize,\n \"onUpdate:pageSize\": _cache[1] || (_cache[1] = ($event: any) => ((_unref(pageable).pageSize) = $event)),\n layout: props.layout,\n total: _unref(pageable).total,\n \"page-sizes\": [8, 10, 20, 50],\n onSizeChange: _unref(handleSizeChange),\n onCurrentChange: _unref(handleCurrentChange)\n }, null, 8, [\"current-page\", \"page-size\", \"layout\", \"total\", \"onSizeChange\", \"onCurrentChange\"]))\n : _createCommentVNode(\"\", true)\n ])\n ]))\n}\n}\n\n})","<!-- -->\r\n<template>\r\n <div class=\"y-tabs\">\r\n <el-table v-loading=\"loading\" :data=\"tableData\" @row-click=\"props.rowClick\"\r\n @selection-change=\"props.selectionChange\" :row-key=\"props.getRowKey\"\r\n :border=\"props.border\" max-height=\"450\"\r\n :row-style=\"tableRowClassName\" table-layout=\"auto\">\r\n <!-- 默认插槽 -->\r\n <slot></slot>\r\n <template v-for=\"item in tableColumns\" :key=\"item\">\r\n <!-- selection || index -->\r\n <el-table-column\r\n v-bind=\"item\"\r\n :align=\"item.align ?? 'center'\"\r\n :reserve-selection=\"item.type == 'selection'\"\r\n v-if=\"item.type == 'selection' || item.type == 'index'\"\r\n :show-overflow-tooltip=\"true\"\r\n ></el-table-column>\r\n <!-- expand 支持 tsx 语法 && 作用域插槽 (tsx > slot) -->\r\n <el-table-column v-bind=\"item\" :align=\"item.align ?? 'center'\" v-if=\"item.type === 'expand'\" v-slot=\"scope\" :show-overflow-tooltip=\"true\">\r\n <component :is=\"item.render\" :row=\"scope.row\" v-if=\"item.render\"> </component>\r\n <slot :name=\"item.type\" :row=\"scope.row\" v-else></slot>\r\n </el-table-column>\r\n <!-- 普通渲染 -->\r\n <el-table-column\r\n v-bind=\"item\"\r\n :align=\"item.align ?? 'center'\"\r\n v-if=\"!item.type && item.prop && item.name !== item.prop\"\r\n v-slot=\"scope\" :show-overflow-tooltip=\"true\"\r\n >\r\n <div v-if=\"item.prop=='T_wait_audit'\" style=\"color: red;\">\r\n {{ scope.row[item.prop]==true?'待审核':'' }}\r\n </div>\r\n <el-tooltip v-if=\"item.ellipsis\" effect=\"dark\" :content=\"scope.row[item.prop]\" placement=\"bottom\">\r\n {{ scope.row[item.prop] }}\r\n </el-tooltip>\r\n <slot v-if=\"item.fixed\" :name=\"item.fixed\" :row=\"scope.row\"></slot>\r\n </el-table-column>\r\n <!-- 自定义slot -->\r\n <el-table-column\r\n v-bind=\"item\"\r\n :align=\"item.align ?? 'center'\"\r\n v-if=\"!item.type && item.prop && item.name === item.prop\"\r\n v-slot=\"scope\" :show-overflow-tooltip=\"true\"\r\n >\r\n <slot :name=\"item.prop\" :row=\"scope.row\"></slot>\r\n </el-table-column>\r\n </template>\r\n <!-- 插入表格最后一行之后的插槽 -->\r\n <template #append>\r\n <slot name=\"append\"> </slot>\r\n </template>\r\n <!-- 表格无数据情况 -->\r\n <template #empty>\r\n <el-empty></el-empty>\r\n </template>\r\n </el-table>\r\n <!-- 分页组件 -->\r\n <div style=\"margin-top: 20px;\">\r\n <el-pagination v-model:current-page=\"pageable.pageNum\" v-model:page-size=\"pageable.pageSize\" v-if=\"pagination\"\r\n :layout=\"props.layout\" :total=\"pageable.total\" :page-sizes=\"[8, 10, 20, 50]\"\r\n @size-change=\"handleSizeChange\" @current-change=\"handleCurrentChange\" />\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport { ref, CSSProperties,watch } from \"vue\";\r\nimport { useTable } from '@/hooks/useTable'\r\nimport { TableProps } from 'element-plus'\r\nimport { ColumnProps } from './interface/index'\r\ninterface ProTableProps extends Partial<Omit<TableProps<any>, 'data'>> {\r\n columns: ColumnProps[] // 列配置项\r\n requestApi: (params: any) => Promise<any> // 请求表格数据的api ==> 必传\r\n dataCallback?: (data: any) => any // 返回数据的回调函数,可以对数据进行处理 ==> 非必传\r\n title?: string // 表格标题,目前只在打印的时候用到 ==> 非必传\r\n pagination?: boolean // 是否需要分页组件 ==> 非必传(默认为true)\r\n layout?: string\r\n initParam?: any // 初始化请求参数 ==> 非必传(默认为{})\r\n border?: boolean // 是否带有纵向边框 ==> 非必传(默认为true)\r\n toolButton?: boolean // 是否显示表格功能按钮 ==> 非必传(默认为true)\r\n selectId?: string // 当表格数据多选时,所指定的 id ==> 非必传(默认为 id)\r\n displayHeader?: boolean // 是否隐藏头部\r\n rowClick?: (row: any, column: any, event: any) => void // 点击行\r\n selectionChange?: (row: any) => void // 选择函数\r\n getRowKey?: ((row: any) => string) | string // 用于优化select勾选框\r\n tableRowClassName?: (data: any) => CSSProperties\r\n}\r\n// 接受父组件参数,配置默认值\r\nconst props = withDefaults(defineProps<ProTableProps>(), {\r\n columns: () => [],//渲染表格\r\n pagination: true,\r\n // layout: 'total, prev, pager, next, jumper',\r\n layout: 'total, sizes, prev, pager, next, jumper',\r\n initParam: {},//请求参数\r\n border: true,\r\n toolButton: true,\r\n selectId: 'id',\r\n searchCol: () => ({ xs: 1, sm: 2, md: 2, lg: 3, xl: 4 })\r\n})\r\n\r\n\r\n// 表格操作 Hooks\r\nconst { tableData, getTableList, pageable, loading, handleSizeChange, handleCurrentChange } = useTable(\r\n props.requestApi,\r\n props.initParam,\r\n props.pagination,\r\n \r\n props.dataCallback\r\n)\r\n\r\ngetTableList()\r\n// 接收 columns 并设置为响应式\r\nconst tableColumns = ref<ColumnProps[]>(props.columns)\r\n\r\n//暴露方法\r\ndefineExpose({\r\ngetTableList,tableColumns,props\r\n})\r\n\r\n</script>\r\n<style lang=\"scss\">\r\n\r\n.y-tabs {\r\n background: var(--y-card-background);\r\n border-radius: var(--y-radius);\r\n margin-top: var(--y-margin);\r\n\r\n &-headers {\r\n border-bottom: var(--y-border);\r\n box-sizing: border-box;\r\n padding: var(--y-padding);\r\n }\r\n\r\n &-item {\r\n padding: var(--y-padding);\r\n }\r\n}\r\n</style>","import script from \"./table.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./table.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./table.vue?vue&type=style&index=0&id=588e57b4&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { ElMessageBox, ElMessage } from 'element-plus'\r\nimport { resetPaw } from \"@/api\";\r\n\r\n/**\r\n * 重置密码\r\n * @param item \r\n */\r\nexport function messagebox(item: any) {\r\n ElMessageBox.prompt(item.title, '提示', {\r\n confirmButtonText: '立即提交',\r\n cancelButtonText: 'Cancel',\r\n inputPattern: item.regular,\r\n draggable:true,\r\n inputErrorMessage: item.errorMessage,\r\n inputType:'password',//text\r\n }).then(({ value }) => {\r\n getTableList({'id':item.data.id,'password':value})\r\n }).catch(() => {\r\n ElMessage.info('已取消重置密码')\r\n })\r\n}\r\n\r\nconst getTableList = async (object:any) => {\r\n resetPaw({...object}).then((res:any)=>{\r\n if (res.code && res.msg=='更新成功') {\r\n ElMessage.success(res.msg)\r\n }\r\n })\r\n}","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"dialog-footer\" }\n\nimport { reactive, ref } from 'vue'\r\nimport type { FormInstance, FormRules } from 'element-plus'\r\nimport { sysNewuser,sysputuser } from \"@/api\";\r\ninterface RuleForm {\r\n nickName: string\r\n username: string\r\n password: string\r\n}\r\n\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'adduser',\n emits: [\"event\"],\n setup(__props, { expose: __expose, emit: __emit }) {\n\r\nconst dialogFormVisible = ref(false)\r\nconst ruleFormRef = ref<FormInstance>()\r\nconst emit = __emit\r\nconst data = reactive({\r\n str:''\r\n})\r\n\r\nconst ruleForm = reactive<RuleForm>({\r\n nickName: \"\",\r\n username: \"\",\r\n password: \"\",\r\n})\r\n\r\nconst rules = reactive<FormRules<RuleForm>>({\r\n nickName: [{\r\n required: true,\r\n message: '请填写姓名',\r\n trigger: 'change',\r\n pattern: /\\S/,\r\n },\r\n\r\n ],\r\n username: [{\r\n required: true,\r\n message: '请填写用户名(不能填写中文)',\r\n trigger: 'change',\r\n pattern: /^[a-zA-Z0-9_]{0,}$/,\r\n },\r\n ],\r\n password: [{\r\n required: true,\r\n message: '请填写密码(6-18位)',\r\n trigger: 'change',\r\n // pattern: /^(?:(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])).{8,18}$/,//大写+小写+数字\r\n // pattern: /^(?=.*[A-Za-z])(?=.*\\d)[A-Za-z\\d].{7,18}$/,//字母+数字\r\n pattern: /\\S.{5,18}$/\r\n },\r\n ],\r\n})\r\nconst submitForm = async (formEl: FormInstance | undefined) => {\r\n if (!formEl) return\r\n await formEl.validate((valid, fields) => {\r\n if (valid) {\r\n if(data.str=='new') setuserApi(); \r\n else putuserApi()\r\n \r\n }\r\n })\r\n}\r\n/**\r\n * 重置\r\n * @param formEl 重置\r\n */\r\nconst resetForm = (formEl:any) => {\r\n console.log('重置',formEl)\r\n if (!formEl) return\r\n formEl.resetFields()\r\n}\r\n\r\n//新增用户\r\nconst setuserApi = async ()=>{\r\n const result:any = await sysNewuser(ruleForm)\r\n if (result.code==200){\r\n dialogFormVisible.value = false;\r\n emit('event','true')\r\n }\r\n}\r\n//更新用户\r\nconst putuserApi = async ()=>{\r\n const result:any = await sysputuser(ruleForm)\r\n if (result.code==200){\r\n dialogFormVisible.value = false;\r\n emit('event','true')\r\n }\r\n}\r\n\r\n\r\n//暴露方法\r\n__expose({\r\n dialogFormVisible,ruleForm,data,resetForm,ruleFormRef\r\n})\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_form = _resolveComponent(\"el-form\")!\n const _component_el_button = _resolveComponent(\"el-button\")!\n const _component_el_dialog = _resolveComponent(\"el-dialog\")!\n\n return (_openBlock(), _createBlock(_component_el_dialog, {\n modelValue: dialogFormVisible.value,\n \"onUpdate:modelValue\": _cache[5] || (_cache[5] = ($event: any) => ((dialogFormVisible).value = $event)),\n title: data.str=='new'?'新增用户':'编辑用户',\n \"append-to-body\": true,\n draggable: \"\",\n width: \"20%\",\n style: {\"min-width\":\"400px\"}\n }, {\n footer: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_1, [\n _createVNode(_component_el_button, {\n onClick: _cache[3] || (_cache[3] = ($event: any) => (dialogFormVisible.value = false))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Cancel\")\n ]),\n _: 1\n }),\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => (submitForm(ruleFormRef.value)))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" 确定 \")\n ]),\n _: 1\n })\n ])\n ]),\n default: _withCtx(() => [\n _createVNode(_component_el_form, {\n ref_key: \"ruleFormRef\",\n ref: ruleFormRef,\n model: ruleForm,\n rules: rules,\n \"label-position\": \"top\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_form_item, {\n label: \"系统姓名\",\n \"label-width\": 130,\n prop: \"nickName\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: ruleForm.nickName,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((ruleForm.nickName) = $event)),\n autocomplete: \"off\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }),\n (data.str!='red'?true:false)\n ? (_openBlock(), _createBlock(_component_el_form_item, {\n key: 0,\n label: \"登录用户名\",\n \"label-width\": 130,\n prop: \"username\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: ruleForm.username,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((ruleForm.username) = $event)),\n autocomplete: \"off\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (data.str!='red'?true:false)\n ? (_openBlock(), _createBlock(_component_el_form_item, {\n key: 1,\n label: \"登录密码\",\n \"label-width\": 130,\n prop: \"password\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: ruleForm.password,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((ruleForm.password) = $event)),\n type: \"password\",\n \"show-password\": \"\",\n autocomplete: \"off\"\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"model\", \"rules\"])\n ]),\n _: 1\n }, 8, [\"modelValue\", \"title\"]))\n}\n}\n\n})","<template>\r\n <!-- <el-button type=\"primary\" @click=\"dialogFormVisible = true\">添加</el-button> -->\r\n <el-dialog v-model=\"dialogFormVisible\" :title=\"data.str=='new'?'新增用户':'编辑用户'\" :append-to-body=\"true\" draggable width=\"20%\"\r\n style=\"min-width: 400px;\">\r\n <el-form ref=\"ruleFormRef\" :model=\"ruleForm\" :rules=\"rules\" label-position=\"top\">\r\n <el-form-item label=\"系统姓名\" :label-width=\"130\" prop=\"nickName\">\r\n <el-input v-model=\"ruleForm.nickName\" autocomplete=\"off\" />\r\n </el-form-item>\r\n <el-form-item label=\"登录用户名\" :label-width=\"130\" prop=\"username\" v-if=\"data.str!='red'?true:false\">\r\n <el-input v-model=\"ruleForm.username\" autocomplete=\"off\"/>\r\n </el-form-item>\r\n <el-form-item label=\"登录密码\" :label-width=\"130\" prop=\"password\" v-if=\"data.str!='red'?true:false\">\r\n <el-input v-model=\"ruleForm.password\" type=\"password\" show-password autocomplete=\"off\" />\r\n </el-form-item>\r\n </el-form>\r\n <template #footer>\r\n <span class=\"dialog-footer\">\r\n <el-button @click=\"dialogFormVisible = false\">Cancel</el-button>\r\n <el-button type=\"primary\" @click=\"submitForm(ruleFormRef)\">\r\n 确定\r\n </el-button>\r\n </span>\r\n </template>\r\n </el-dialog>\r\n</template>\r\n\r\n<script lang=\"ts\" setup>\r\nimport { reactive, ref } from 'vue'\r\nimport type { FormInstance, FormRules } from 'element-plus'\r\nimport { sysNewuser,sysputuser } from \"@/api\";\r\nconst dialogFormVisible = ref(false)\r\nconst ruleFormRef = ref<FormInstance>()\r\nconst emit = defineEmits<{(e: 'event', myvalue: string): void}>()\r\nconst data = reactive({\r\n str:''\r\n})\r\n\r\ninterface RuleForm {\r\n nickName: string\r\n username: string\r\n password: string\r\n}\r\n\r\nconst ruleForm = reactive<RuleForm>({\r\n nickName: \"\",\r\n username: \"\",\r\n password: \"\",\r\n})\r\n\r\nconst rules = reactive<FormRules<RuleForm>>({\r\n nickName: [{\r\n required: true,\r\n message: '请填写姓名',\r\n trigger: 'change',\r\n pattern: /\\S/,\r\n },\r\n\r\n ],\r\n username: [{\r\n required: true,\r\n message: '请填写用户名(不能填写中文)',\r\n trigger: 'change',\r\n pattern: /^[a-zA-Z0-9_]{0,}$/,\r\n },\r\n ],\r\n password: [{\r\n required: true,\r\n message: '请填写密码(6-18位)',\r\n trigger: 'change',\r\n // pattern: /^(?:(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])).{8,18}$/,//大写+小写+数字\r\n // pattern: /^(?=.*[A-Za-z])(?=.*\\d)[A-Za-z\\d].{7,18}$/,//字母+数字\r\n pattern: /\\S.{5,18}$/\r\n },\r\n ],\r\n})\r\nconst submitForm = async (formEl: FormInstance | undefined) => {\r\n if (!formEl) return\r\n await formEl.validate((valid, fields) => {\r\n if (valid) {\r\n if(data.str=='new') setuserApi(); \r\n else putuserApi()\r\n \r\n }\r\n })\r\n}\r\n/**\r\n * 重置\r\n * @param formEl 重置\r\n */\r\nconst resetForm = (formEl:any) => {\r\n console.log('重置',formEl)\r\n if (!formEl) return\r\n formEl.resetFields()\r\n}\r\n\r\n//新增用户\r\nconst setuserApi = async ()=>{\r\n const result:any = await sysNewuser(ruleForm)\r\n if (result.code==200){\r\n dialogFormVisible.value = false;\r\n emit('event','true')\r\n }\r\n}\r\n//更新用户\r\nconst putuserApi = async ()=>{\r\n const result:any = await sysputuser(ruleForm)\r\n if (result.code==200){\r\n dialogFormVisible.value = false;\r\n emit('event','true')\r\n }\r\n}\r\n\r\n\r\n//暴露方法\r\ndefineExpose({\r\n dialogFormVisible,ruleForm,data,resetForm,ruleFormRef\r\n})\r\n</script>\r\n<style lang=\"scss\">\r\n/* @import url(); 引入css类 */\r\n</style>","import script from \"./adduser.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./adduser.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./adduser.vue?vue&type=style&index=0&id=7787efda&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, createTextVNode as _createTextVNode, unref as _unref, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { class: \"user\" }\nconst _hoisted_2 = { class: \"user-conter-table\" }\n\nimport searchAdd from \"@/components/searchAdd.vue\";\r\nimport {messagebox} from \"@/plugins/messagebox\";\r\n\r\nimport { userList, sysDeluser } from \"@/api\";\r\nimport tables from \"@/components/table.vue\";\r\nimport bg from '@/components/bg.vue'\r\nimport adduser from './adduser.vue'\r\nimport { ElMessage, ElMessageBox } from 'element-plus'\r\nimport { reactive, ref, nextTick } from \"vue\";\r\n\nexport default /*#__PURE__*/_defineComponent({\n __name: 'index',\n setup(__props) {\n\r\nconst TableRef = ref()\r\nconst adduserRef = ref()\r\n//函数\r\nconst addtFun = async () => {\r\n adduserRef.value.dialogFormVisible = true\r\n adduserRef.value.resetForm(adduserRef.value.ruleFormRef)\r\n adduserRef.value.data.str = 'new'\r\n const result = Object.keys(adduserRef.value.ruleForm).includes(\"id\")\r\n if(result)delete adduserRef.value.ruleForm.id\r\n Object.keys(adduserRef.value.ruleForm).forEach(key=>{\r\n adduserRef.value.ruleForm[key] = ''\r\n })\r\n}\r\n\r\n//编辑\r\nconst RedactFun = async (data: any) => {\r\n adduserRef.value.resetForm(adduserRef.value.ruleFormRef)\r\n adduserRef.value.data.str = 'red'\r\n adduserRef.value.dialogFormVisible = true\r\n adduserRef.value.ruleForm.nickName = data.nickName\r\n adduserRef.value.ruleForm.username = data.username\r\n adduserRef.value.ruleForm.id = data.id\r\n adduserRef.value.ruleForm.password = \"\"\r\n}\r\n//重置密码\r\nconst resetPassword = async (item:any)=>{\r\n messagebox({\r\n title:'重置密码操作,请输入新密码',\r\n regular: /\\S/,//密码不为空正则\r\n errorMessage:'重置密码不能为空',//验证不通过提示文字\r\n data:item\r\n })\r\n}\r\n//删除\r\nconst removeFun = async (data: any) => {\r\n console.log('删除', data)\r\n ElMessageBox.confirm('删除用户操作,时候继续删除?', '提示', {\r\n confirmButtonText: '立即删除',\r\n cancelButtonText: 'Cancel',\r\n type: 'warning',\r\n center: true,\r\n }).then(async () => {\r\n setDeluserApi(data.id)\r\n }).catch(() => {\r\n ElMessage.info('已取消删除操作!')\r\n })\r\n}\r\n//删除Api\r\nconst setDeluserApi = async (data: any) => {\r\n const result:any = await sysDeluser({ id: data, id2: data })\r\n if (result.code == 200) {\r\n nextTick(() => {\r\n TableRef.value?.getTableList()\r\n })\r\n }\r\n}\r\n\r\n\r\nconst eventFun = async (data: any) => {\r\n nextTick(() => {\r\n TableRef.value?.getTableList()\r\n })\r\n}\r\n\r\n// 渲染表格\r\nconst columns: any = [\r\n { type: 'index', label: '编号', width: 80, },\r\n { prop: 'nickName', label: '名称', width: 200 },\r\n { prop: 'username', label: '用户名称', width: 200 },\r\n { prop: 'operation', label: '操作', fixed: 'right',align:'left', 'min-width': 200 }\r\n]\r\n\r\nconst data = reactive({\r\n initParam : { username: '' },//请求参数\r\n str: ''\r\n})\r\n/**\r\n * \r\n * @param val 子传值\r\n */\r\nconst eventFn = (val: any) => {\r\n console.log('/', val);\r\n}\r\n\nreturn (_ctx: any,_cache: any) => {\n const _component_el_input = _resolveComponent(\"el-input\")!\n const _component_el_form_item = _resolveComponent(\"el-form-item\")!\n const _component_el_button = _resolveComponent(\"el-button\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(searchAdd, {\n isButtom: \"查询\",\n onEvent: eventFun\n }, {\n searchConter: _withCtx(() => [\n _createVNode(_component_el_form_item, { label: \"用户名称\" }, {\n default: _withCtx(() => [\n _createVNode(_component_el_input, {\n modelValue: data.initParam.username,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((data.initParam.username) = $event)),\n placeholder: \"请输入用户名\",\n style: {\"width\":\"200px\"}\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(bg, { istitle: \"用户列表\" }, {\n btn: _withCtx(() => [\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: addtFun\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"添加\")\n ]),\n _: 1\n })\n ]),\n bg: _withCtx(() => [\n _createVNode(tables, {\n ref_key: \"TableRef\",\n ref: TableRef,\n requestApi: _unref(userList),\n columns: columns,\n initParam: data.initParam\n }, {\n right: _withCtx(({ row }) => [\n _createVNode(_component_el_button, {\n type: \"primary\",\n onClick: ($event: any) => (RedactFun(row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"编辑\")\n ]),\n _: 2\n }, 1032, [\"onClick\"]),\n _createVNode(_component_el_button, {\n type: \"warning\",\n onClick: ($event: any) => (resetPassword(row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"重置密码\")\n ]),\n _: 2\n }, 1032, [\"onClick\"]),\n _createVNode(_component_el_button, {\n type: \"danger\",\n onClick: ($event: any) => (removeFun(row))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"删除\")\n ]),\n _: 2\n }, 1032, [\"onClick\"])\n ]),\n _: 1\n }, 8, [\"requestApi\", \"initParam\"])\n ]),\n _: 1\n })\n ]),\n _createVNode(adduser, {\n ref_key: \"adduserRef\",\n ref: adduserRef,\n onEvent: eventFun,\n str: data.str\n }, null, 8, [\"str\"])\n ]))\n}\n}\n\n})","<template>\r\n <div class=\"user\">\r\n <searchAdd isButtom=\"查询\" @event=\"eventFun\">\r\n <template #searchConter>\r\n <el-form-item label=\"用户名称\">\r\n <el-input v-model=\"data.initParam.username\" placeholder=\"请输入用户名\" style=\"width: 200px;\" />\r\n </el-form-item>\r\n </template>\r\n </searchAdd>\r\n <div class=\"user-conter-table\">\r\n <bg istitle=\"用户列表\">\r\n <template #btn>\r\n <el-button type=\"primary\" @click=\"addtFun\">添加</el-button>\r\n </template>\r\n <template #bg>\r\n <tables ref=\"TableRef\" :requestApi=\"userList\" :columns=\"columns\" :initParam=\"data.initParam\">\r\n <template #right=\"{ row }\">\r\n <el-button type=\"primary\" @click=\"RedactFun(row)\">编辑</el-button>\r\n <el-button type=\"warning\" @click=\"resetPassword(row)\">重置密码</el-button>\r\n <el-button type=\"danger\" @click=\"removeFun(row)\">删除</el-button>\r\n </template>\r\n </tables>\r\n </template>\r\n </bg>\r\n </div>\r\n <adduser ref=\"adduserRef\" @event=\"eventFun\" :str=\"data.str\"/>\r\n </div>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\nimport searchAdd from \"@/components/searchAdd.vue\";\r\nimport {messagebox} from \"@/plugins/messagebox\";\r\n\r\nimport { userList, sysDeluser } from \"@/api\";\r\nimport tables from \"@/components/table.vue\";\r\nimport bg from '@/components/bg.vue'\r\nimport adduser from './adduser.vue'\r\nimport { ElMessage, ElMessageBox } from 'element-plus'\r\nimport { reactive, ref, nextTick } from \"vue\";\r\nconst TableRef = ref()\r\nconst adduserRef = ref()\r\n//函数\r\nconst addtFun = async () => {\r\n adduserRef.value.dialogFormVisible = true\r\n adduserRef.value.resetForm(adduserRef.value.ruleFormRef)\r\n adduserRef.value.data.str = 'new'\r\n const result = Object.keys(adduserRef.value.ruleForm).includes(\"id\")\r\n if(result)delete adduserRef.value.ruleForm.id\r\n Object.keys(adduserRef.value.ruleForm).forEach(key=>{\r\n adduserRef.value.ruleForm[key] = ''\r\n })\r\n}\r\n\r\n//编辑\r\nconst RedactFun = async (data: any) => {\r\n adduserRef.value.resetForm(adduserRef.value.ruleFormRef)\r\n adduserRef.value.data.str = 'red'\r\n adduserRef.value.dialogFormVisible = true\r\n adduserRef.value.ruleForm.nickName = data.nickName\r\n adduserRef.value.ruleForm.username = data.username\r\n adduserRef.value.ruleForm.id = data.id\r\n adduserRef.value.ruleForm.password = \"\"\r\n}\r\n//重置密码\r\nconst resetPassword = async (item:any)=>{\r\n messagebox({\r\n title:'重置密码操作,请输入新密码',\r\n regular: /\\S/,//密码不为空正则\r\n errorMessage:'重置密码不能为空',//验证不通过提示文字\r\n data:item\r\n })\r\n}\r\n//删除\r\nconst removeFun = async (data: any) => {\r\n console.log('删除', data)\r\n ElMessageBox.confirm('删除用户操作,时候继续删除?', '提示', {\r\n confirmButtonText: '立即删除',\r\n cancelButtonText: 'Cancel',\r\n type: 'warning',\r\n center: true,\r\n }).then(async () => {\r\n setDeluserApi(data.id)\r\n }).catch(() => {\r\n ElMessage.info('已取消删除操作!')\r\n })\r\n}\r\n//删除Api\r\nconst setDeluserApi = async (data: any) => {\r\n const result:any = await sysDeluser({ id: data, id2: data })\r\n if (result.code == 200) {\r\n nextTick(() => {\r\n TableRef.value?.getTableList()\r\n })\r\n }\r\n}\r\n\r\n\r\nconst eventFun = async (data: any) => {\r\n nextTick(() => {\r\n TableRef.value?.getTableList()\r\n })\r\n}\r\n\r\n// 渲染表格\r\nconst columns: any = [\r\n { type: 'index', label: '编号', width: 80, },\r\n { prop: 'nickName', label: '名称', width: 200 },\r\n { prop: 'username', label: '用户名称', width: 200 },\r\n { prop: 'operation', label: '操作', fixed: 'right',align:'left', 'min-width': 200 }\r\n]\r\n\r\nconst data = reactive({\r\n initParam : { username: '' },//请求参数\r\n str: ''\r\n})\r\n/**\r\n * \r\n * @param val 子传值\r\n */\r\nconst eventFn = (val: any) => {\r\n console.log('/', val);\r\n}\r\n</script>\r\n<style lang=\"scss\">\r\n.user {\r\n &-conter {\r\n // display: grid;\r\n // grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));\r\n // grid-gap: 20px;\r\n gap: 20px;\r\n display: flex;\r\n\r\n &-table {\r\n flex: .6;\r\n }\r\n\r\n &-prog {\r\n flex: .4;\r\n }\r\n }\r\n}\r\n</style>","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=103d28c9&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__"],"names":["class","_createElementVNode","_hoisted_2","_createElementBlock","_hoisted_1","_hoisted_3","script","__exports__","render","style","_defineComponent","__name","props","istitle","type","String","default","setup","__props","_ctx","_cache","_component_el_text","_resolveComponent","_openBlock","_createVNode","markGreen","tag","_withCtx","_renderSlot","$slots","_createTextVNode","_toDisplayString","_","isButtom","labelWidth","inline","Boolean","emits","emit","__emit","data","reactive","input","subClick","_component_el_button","_component_el_form_item","_component_el_form","onClick","useTable","requestApi","initParam","isPagination","dataCallback","state","tableData","loading","pageable","pageNum","pageSize","total","RemainingTime","small","disabled","searchParam","searchInitParam","totalParam","getTableList","async","params","page","then","res","list","parseInt","count","Data","handleSizeChange","val","handleCurrentChange","searchTable","toRefs","key","columns","title","pagination","layout","border","toolButton","selectId","displayHeader","rowClick","selectionChange","getRowKey","tableRowClassName","size","width","height","maxHeight","fit","stripe","rowKey","context","showHeader","showSummary","sumText","summaryMethod","rowClassName","rowStyle","cellClassName","cellStyle","headerRowClassName","headerRowStyle","headerCellClassName","headerCellStyle","highlightCurrentRow","currentRowKey","emptyText","expandRowKeys","defaultExpandAll","defaultSort","tooltipEffect","tooltipOptions","spanMethod","selectOnIndeterminate","indent","treeProps","lazy","load","className","tableLayout","scrollbarAlwaysOn","flexible","showOverflowTooltip","Object","expose","__expose","tableColumns","ref","_component_el_table_column","_component_el_tooltip","_component_el_empty","_component_el_table","_component_el_pagination","_directive_loading","_resolveDirective","_withDirectives","_createBlock","_unref","onRowClick","onSelectionChange","append","empty","_Fragment","_renderList","value","item","_mergeProps","align","_createCommentVNode","scope","_resolveDynamicComponent","row","prop","name","ellipsis","effect","content","placement","fixed","$event","onSizeChange","onCurrentChange","messagebox","ElMessageBox","prompt","confirmButtonText","cancelButtonText","inputPattern","regular","draggable","inputErrorMessage","errorMessage","inputType","id","catch","ElMessage","info","resetPaw","object","code","msg","success","dialogFormVisible","ruleFormRef","str","ruleForm","nickName","username","password","rules","required","message","trigger","pattern","submitForm","formEl","validate","valid","fields","setuserApi","putuserApi","resetForm","console","log","resetFields","result","sysNewuser","sysputuser","_component_el_input","_component_el_dialog","modelValue","footer","ref_key","model","label","autocomplete","TableRef","adduserRef","addtFun","keys","includes","forEach","RedactFun","resetPassword","removeFun","confirm","center","setDeluserApi","sysDeluser","id2","nextTick","eventFun","searchAdd","onEvent","searchConter","placeholder","bg","btn","tables","userList","right","adduser"],"sourceRoot":""}