diff --git a/src/views/accountApplyManage/accountApplyManage.vue b/src/views/accountApplyManage/accountApplyManage.vue index 21d1c1a..24430a6 100644 --- a/src/views/accountApplyManage/accountApplyManage.vue +++ b/src/views/accountApplyManage/accountApplyManage.vue @@ -3,52 +3,44 @@
- {{ item.name }} + {{ item.name }}
- +
- - + + - - + + - - + + - Search - Reset Search - + Search + Reset Search + Import @@ -67,76 +59,89 @@ -->
- - + + - + - + - + - + - + - + - + - + - + + + - +
@@ -160,7 +165,7 @@ export default { name: "accountApplyManage", // mixins: [Mixin], components: { TablePagination }, - data() { + data () { return { tableLoading: false, // 表格是否加载中 tableData: [], // 接口返回的表格数据 @@ -178,11 +183,11 @@ export default { }, }; }, - created() { + created () { this.getData(); }, methods: { - getData() { + getData () { this.tableLoading = true; let { pageParams, searchForm } = this; @@ -209,7 +214,7 @@ export default { }); }, //导入表格 - handleExcel(file) { + handleExcel (file) { let formData = new FormData(); //声明一个FormDate对象 formData.append("file", file.raw); //把文件信息放入对象中 console.log(file.raw); @@ -228,7 +233,7 @@ export default { }); }, // 通过 - handlePass(index, row) { + handlePass (index, row) { ElMessageBox.confirm("Are you sure you want to pass?", "Prompt", { type: "warning", confirmButtonText: "Sure", @@ -252,10 +257,10 @@ export default { } }); }) - .catch(() => {}); + .catch(() => { }); }, // 拒绝 - handleReject(index, row) { + handleReject (index, row) { ElMessageBox.confirm("Are you sure you want to refuse?", "Prompt", { type: "warning", confirmButtonText: "Sure", @@ -279,10 +284,10 @@ export default { } }); }) - .catch(() => {}); + .catch(() => { }); }, // 删除操作 - handleDelete(index, row) { + handleDelete (index, row) { // 二次确认删除 ElMessageBox.confirm("Are you sure you want to delete?", "Prompt", { type: "warning", @@ -307,10 +312,10 @@ export default { } }); }) - .catch(() => {}); + .catch(() => { }); }, // 点击搜索 - handSearch() { + handSearch () { this.$refs["searchForm"].validate((valid) => { if (valid) { this.pageParams.pageNo = 1; @@ -319,27 +324,27 @@ export default { }); }, // 重置搜索表单 - resetSearchForm() { + resetSearchForm () { this.$refs["searchForm"].resetFields(); this.pageParams.pageNo = 1; this.getData(); }, // 分页导航 - handleSizeChange(val) { + handleSizeChange (val) { this.pageParams.pageNo = val; this.getData(); }, - handlePageChange(val) { + handlePageChange (val) { this.pageParams.pageNo = val; this.getData(); }, - headerCopy(column, e) { + headerCopy (column, e) { this.$copy(column.label); }, }, computed: { - applyStateTag() { + applyStateTag () { return function (val) { let text = ""; switch (val) { @@ -359,7 +364,7 @@ export default { return text; }; }, - applyStateText() { + applyStateText () { return function (val) { let text = ""; switch (val) { @@ -379,7 +384,7 @@ export default { return text; }; }, - convertTimestamp() { + convertTimestamp () { return function (time) { let date = new Date(time); return formatDate(date); diff --git a/src/views/pretty/PrettyNoAdminView.vue b/src/views/pretty/PrettyNoAdminView.vue index 03ac72b..3d0ce08 100644 --- a/src/views/pretty/PrettyNoAdminView.vue +++ b/src/views/pretty/PrettyNoAdminView.vue @@ -1,638 +1,744 @@ @@ -640,37 +746,38 @@ export default { \ No newline at end of file + font-size: 16px; +} + \ No newline at end of file diff --git a/src/views/pretty/PrettyNoRecordAdminView.vue b/src/views/pretty/PrettyNoRecordAdminView.vue index 8bed3b2..5485e08 100644 --- a/src/views/pretty/PrettyNoRecordAdminView.vue +++ b/src/views/pretty/PrettyNoRecordAdminView.vue @@ -1,155 +1,163 @@