Browse Source

fix: 0508 bug fix commit

master
AaronWu 1 month ago
parent
commit
ada1114444
  1. 6
      src/views/client/issue/index.vue
  2. 4
      src/views/client/knowledgeBase/index.vue
  3. 4
      src/views/login/index.vue
  4. 8
      src/views/question/issue/columns.tsx

6
src/views/client/issue/index.vue

@ -9,17 +9,17 @@
</div> </div>
<a-row :gutter="16"> <a-row :gutter="16">
<!-- 左侧目录树 --> <!-- 左侧目录树 -->
<a-col :span="6">
<a-col :span="4">
<a-card class="tree-card"> <a-card class="tree-card">
<template #title> <template #title>
<span class="card-title"> <folder-outlined /> 问题工单目录 </span> <span class="card-title"> <folder-outlined /> 问题工单目录 </span>
</template> </template>
<a-spin :spinning="loading"> <a-spin :spinning="loading">
<!-- :defaultExpandAll="expandAll" -->
<a-tree <a-tree
v-if="expandAll" v-if="expandAll"
v-model:selectedKeys="selectedKeys" v-model:selectedKeys="selectedKeys"
:tree-data="treeData" :tree-data="treeData"
:defaultExpandAll="expandAll"
@select="onSelect" @select="onSelect"
> >
<template #switcherIcon="{ switcherCls }" <template #switcherIcon="{ switcherCls }"
@ -43,7 +43,7 @@
</a-col> </a-col>
<!-- 右侧内容区 --> <!-- 右侧内容区 -->
<a-col :span="18">
<a-col :span="20">
<a-card class="content-card"> <a-card class="content-card">
<template #title> <template #title>
<div class="flex justify-between items-start"> <div class="flex justify-between items-start">

4
src/views/client/knowledgeBase/index.vue

@ -9,7 +9,7 @@
</div> </div>
<a-row :gutter="16"> <a-row :gutter="16">
<!-- 左侧目录树 --> <!-- 左侧目录树 -->
<a-col :span="6">
<a-col :span="4">
<a-card class="tree-card"> <a-card class="tree-card">
<template #title> <template #title>
<span class="card-title"> <span class="card-title">
@ -22,7 +22,7 @@
</a-col> </a-col>
<!-- 右侧内容区 --> <!-- 右侧内容区 -->
<a-col :span="18">
<a-col :span="20">
<a-card class="content-card"> <a-card class="content-card">
<template #title> <template #title>
<span class="card-title"> <span class="card-title">

4
src/views/login/index.vue

@ -100,8 +100,8 @@
isRegister: false, // isRegister: false, //
captcha: '', captcha: '',
formInline: { formInline: {
username: 'admin',
password: '123',
username: '',
password: '',
email: '', // email: '', //
confirmPassword: '', // confirmPassword: '', //
}, },

8
src/views/question/issue/columns.tsx

@ -86,10 +86,12 @@ export const baseColumns: TableColumnItem[] = [
align: 'center', align: 'center',
dataIndex: 'customer', dataIndex: 'customer',
width: 150, width: 150,
hideInSearch: true,
formItemProps: { formItemProps: {
defaultValue: '', defaultValue: '',
required: false, required: false,
colProps: {
span: 6,
},
}, },
}, },
{ {
@ -119,10 +121,12 @@ export const baseColumns: TableColumnItem[] = [
align: 'center', align: 'center',
dataIndex: 'agent', dataIndex: 'agent',
width: 150, width: 150,
hideInSearch: true,
formItemProps: { formItemProps: {
defaultValue: '', defaultValue: '',
required: false, required: false,
colProps: {
span: 6,
},
}, },
}, },
{ {

Loading…
Cancel
Save