From 58a518f8bc23ed382f4da2a86b09024b063a620c Mon Sep 17 00:00:00 2001 From: 黎星凯 <13949086503@163.com> Date: 星期一, 13 五月 2024 15:40:47 +0800 Subject: [PATCH] 20240511修改: 分发单优化, 分类,物品,分发单明细,采购单明细数据导入 --- admin-web/src/views/systemSetting/department/index.vue | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/admin-web/src/views/systemSetting/department/index.vue b/admin-web/src/views/systemSetting/department/index.vue index 41c30b7..e5642b5 100644 --- a/admin-web/src/views/systemSetting/department/index.vue +++ b/admin-web/src/views/systemSetting/department/index.vue @@ -30,12 +30,11 @@ <script> import myTree from '@/components/myTree/index'; -import { listType, getType, delType, addType, updateType, refreshCache } from '@/api/system/dict/type'; -import * as DateFormatter from '@/utils/DateFormatter'; import MyTableV2 from '@/components/myTable/myTableV2'; import SettingIplatform from '@/utils/settingIplatform'; import edit from './edit'; import * as finsystenant from '@/api/baseSetting/finsystenant'; + export default { name: 'Dict', components: { MyTableV2, myTree, edit }, @@ -90,14 +89,14 @@ dataIndex: 'status', label: '鐘舵��', placeholder: '璇烽�夋嫨', - defaultValue: '0', + defaultValue: '1', options: [ { - value: '0', + value: '1', label: '鍚敤', }, { - value: '1', + value: '0', label: '绂佺敤', }, ], @@ -139,7 +138,7 @@ align: 'center', width: 100, formatter: (row) => { - return { value: row.status === 0 ? '鍚敤' : '绂佺敤' }; + return { value: row.status === 1 ? '鍚敤' : '绂佺敤' }; }, }, ], @@ -188,7 +187,6 @@ }); }, nodeClick(param) { - console.log(param, 'param'); this.p = Object.assign( {}, { @@ -212,7 +210,7 @@ // 鏌ヨtable鍒楄〃 search(pageNum) { if (pageNum != undefined) { - this.$refs.myTable.search(pageNum); + this.$refs.myTable.search({pageNum}); } else { this.$refs.myTable.search(); } -- Gitblit v1.9.1