From 863d66a30c84a1f46ed10ee2b291ff241b6320b5 Mon Sep 17 00:00:00 2001 From: futian.liu <liufutianyoo@163.com> Date: 星期六, 09 十二月 2023 16:42:59 +0800 Subject: [PATCH] 修改分部门分发的显示值 --- admin-web/src/views/foundation/classification/index.vue | 18 +++++++----------- 1 files changed, 7 insertions(+), 11 deletions(-) diff --git a/admin-web/src/views/foundation/classification/index.vue b/admin-web/src/views/foundation/classification/index.vue index 59bf55a..b2705c7 100644 --- a/admin-web/src/views/foundation/classification/index.vue +++ b/admin-web/src/views/foundation/classification/index.vue @@ -42,11 +42,10 @@ import items from './items'; import edit from './edit'; import * as finsystenant from '@/api/baseSetting/finsystenant'; -import { getTree } from '@/api/foudation/classification'; +import {getTree} from '@/api/foudation/classification'; import myImport from '@/views/components/myImport'; -import { getBaseUrl } from '@/utils/base'; -import { getType } from '@/api/system/dict/type'; -import { getDicts } from '@/api/system/dict/data'; +import {getBaseUrl} from '@/utils/base'; +import {getDicts} from '@/api/system/dict/data'; export default { name: 'index', @@ -115,9 +114,9 @@ }, // 鍒椾俊鎭� columns: [ - { title: '鍒嗙被鍚嶇О', field: 'categoryName', align: 'center' }, - { title: '绫诲埆', field: 'classification', align: 'left' }, - { title: '鏄剧ず椤哄簭', field: 'orderNumber', align: 'center', width: '80px' }, + { title: '鍒嗙被鍚嶇О', field: 'categoryName', align: 'left', minWidth: 140 }, + { title: '绫诲埆', field: 'classification', align: 'center', width: 100 }, + { title: '鏄剧ず椤哄簭', field: 'orderNumber', align: 'center', width: 100 }, { field: 'states', title: '鐘舵��', @@ -150,7 +149,7 @@ // 鎿嶄綔淇℃伅 operation: { show: true, // 鏄剧ず鎿嶄綔鍒� - width: '150', // 鍒楀 + width: '160', // 鍒楀 attr: [ { title: '缂栬緫', @@ -208,8 +207,6 @@ // 宸︿晶鏍戝垵濮嬪寲 initTreeData() { getTree().then((res) => { - console.log(res, 'restree'); - console.log(this.importSetting, 'this.importSetting'); const content = res || []; // this.treeDataList.splice(0, this.treeDataList.length) this.treeDataList = content; @@ -265,7 +262,6 @@ this.editSetting.show = true; }, nodeClick(param) { - console.log(param, 'param'); param = param || {}; this.p = Object.assign( {}, -- Gitblit v1.9.1