han 2 lat temu
rodzic
commit
53a77d7db7

+ 40 - 0
src/api/biz/mission/articleApi.ts

@@ -0,0 +1,40 @@
+import { defHttp } from '/@/utils/http/axios';
+
+import { setParams } from '/@/utils/index';
+
+enum Api {
+  articleNumber = '/biz/educationLibrary/statusNumber',
+  articleStatus = '/biz/educationLibrary/status',
+  articleList = '/biz/educationLibrary/query/page',
+  articleDel = '/biz/educationLibrary/removeByIds',
+  articleAdd = 'biz/educationLibrary/add',
+  articleEdit = '/biz/educationLibrary/edit',
+  articleById = '/biz/educationLibrary/detail',
+}
+
+export const articleList = (params?: object) => {
+  return defHttp.post({ url: Api.articleList, params: setParams(params) });
+};
+
+export const articleStatus = (id?: String) => {
+  return defHttp.get({ url: Api.articleStatus + '/' + id });
+};
+
+export const articleDel = (params?: object) => {
+  return defHttp.post({ url: Api.articleDel, params: params });
+};
+export const articleNumber = () => {
+  return defHttp.get({ url: Api.articleNumber });
+};
+
+export const articleAdd = (params?: object) => {
+  return defHttp.post({ url: Api.articleAdd, params: params });
+};
+
+export const articleEdit = (params?: object) => {
+  return defHttp.post({ url: Api.articleEdit, params: params });
+};
+
+export const articleById = (id: string) => {
+  return defHttp.get({ url: Api.articleById + '/' + id });
+};

+ 26 - 0
src/api/biz/mission/recordApi.ts

@@ -0,0 +1,26 @@
+import { defHttp } from '/@/utils/http/axios';
+
+import { setParams } from '/@/utils/index';
+
+enum Api {
+  recordNumber = '/biz/educationRecord/statusNumber',
+  recordList = '/biz/educationRecord/query/page',
+  recordDel = '/biz/educationRecord/removeByIds',
+  recordAdd = 'biz/educationRecord/add',
+}
+
+export const getrecordList = (params?: object) => {
+  return defHttp.post({ url: Api.recordList, params: setParams(params) });
+};
+
+export const recordDel = (id?: String) => {
+  return defHttp.post({ url: Api.recordDel + '/' + id });
+};
+
+export const recordNumber = () => {
+  return defHttp.get({ url: Api.recordNumber });
+};
+
+export const recordAdd = (params?: object) => {
+  return defHttp.post({ url: Api.recordAdd, params: params });
+};

+ 2 - 1
src/components/Form/src/componentMap.ts

@@ -41,6 +41,7 @@ import Cron from './components/Cron.vue';
 import FormColorPicker from './components/FormColorPicker.vue';
 import InputNumberGroup from './components/InputNumberGroup.vue';
 import RadioDescGroup from './components/RadioDescGroup.vue';
+import Editor from '@/components/Editor';
 
 const componentMap = new Map<ComponentType, Component>();
 
@@ -51,7 +52,7 @@ componentMap.set('InputSearch', Input.Search);
 componentMap.set('InputTextArea', Input.TextArea);
 componentMap.set('InputNumber', InputNumber);
 componentMap.set('AutoComplete', AutoComplete);
-
+componentMap.set('Editor', Editor);
 componentMap.set('Select', Select);
 componentMap.set('ApiComplex', ApiComplex);
 componentMap.set('ApiSelect', ApiSelect);

+ 1 - 0
src/components/Form/src/types/index.ts

@@ -81,6 +81,7 @@ export interface ColEx {
 }
 
 export type ComponentType =
+  | 'Editor'
   | 'Input'
   | 'InputGroup'
   | 'InputPassword'

+ 81 - 0
src/views/biz/mission/article/data.ts

@@ -0,0 +1,81 @@
+import { BasicColumn, FormSchema } from '/@/components/Table';
+import { listDictModel, uploadApi } from '/@/api/common';
+
+export const columns: BasicColumn[] = [
+  {
+    title: '封面',
+    dataIndex: 'cover',
+  },
+  {
+    title: '标题',
+    dataIndex: 'title',
+  },
+  {
+    title: '分类',
+    dataIndex: 'type',
+  },
+  {
+    title: '上传时间',
+    dataIndex: 'updateTime',
+  },
+  {
+    title: '上传人',
+    dataIndex: 'updatorName',
+  },
+  {
+    title: '状态',
+    dataIndex: 'disable',
+  },
+];
+// 表单新增编辑
+export const dataFormSchema: FormSchema[] = [
+  {
+    label: '宣教标题',
+    field: 'title',
+    component: 'Input',
+    componentProps: {},
+  },
+  {
+    label: '宣教分类',
+    field: 'type',
+    required: true,
+    component: 'ApiSelect',
+    componentProps: {
+      api: listDictModel,
+      params: {
+        dictCode: 'het',
+      },
+      placeholder: '请选择宣教分类',
+    },
+  },
+
+  {
+    label: '封面',
+    field: 'cover',
+    component: 'XTUpload',
+    componentProps: ({ formModel, schema }) => {
+      return {
+        api: uploadApi,
+        maxSize: 10,
+        maxNumber: 5,
+        helpText: '仅支持上传jpg/png/pdf文件,文件大小不超过2M',
+        accept: ['image/*', '.pdf', '.doc', 'docx', 'xls'],
+        onChange: data => {
+          console.log('🚀 ~ file: data.ts:57 ~ data:', data);
+          formModel[schema.field] = data;
+        },
+      };
+    },
+    colProps: {
+      span: 22,
+    },
+  },
+  {
+    label: '宣教内容',
+    field: 'content',
+    component: 'Editor',
+    colProps: {
+      span: 24,
+    },
+  },
+];

+ 77 - 0
src/views/biz/mission/article/formDrawer.vue

@@ -0,0 +1,77 @@
+<template>
+  <div class="modals">
+    <BasicDrawer
+      v-bind="$attrs"
+      destroyOnClose
+      @register="registerDrawer"
+      :title="getTitle"
+      @ok="handleSubmit"
+      :width="780"
+      :showFooter="true"
+    >
+      <div class="!pl-8 !pt-4">
+        <BasicForm @register="registerForm" />
+      </div>
+    </BasicDrawer>
+  </div>
+</template>
+<script lang="ts" setup>
+  import { ref, computed, unref } from 'vue';
+  import { BasicForm, useForm } from '/@/components/Form';
+  import { useMessage } from '/@/hooks/web/useMessage';
+  import { dataFormSchema } from './data';
+
+  import { articleAdd, articleById, articleEdit } from '/@/api/biz/mission/articleApi';
+  import { BasicDrawer, useDrawerInner } from '@/components/Drawer';
+
+  const emit = defineEmits(['success', 'register']);
+
+  const getTitle = computed(() => (!unref(isUpdate) ? '新增宣教' : '编辑宣教'));
+  const isUpdate = ref(false);
+  const rowId = ref();
+
+  const { createMessage } = useMessage();
+  const [registerForm, { resetFields, validate, setFieldsValue }] = useForm({
+    layout: 'vertical',
+    showResetButton: true,
+    labelWidth: 100,
+    schemas: dataFormSchema,
+    showActionButtonGroup: false,
+    actionColOptions: {
+      span: 24,
+    },
+    baseColProps: {
+      span: 12,
+    },
+  });
+  const [registerDrawer, { setDrawerProps, closeDrawer }] = useDrawerInner(async data => {
+    await resetFields();
+    setDrawerProps({ confirmLoading: false });
+    isUpdate.value = !!data?.isUpdate;
+
+    if (unref(isUpdate)) {
+      rowId.value = data.record.id;
+      const resData = await articleById(data.record.id);
+      console.log('resData::::', resData);
+      await setFieldsValue({
+        ...resData,
+      });
+    }
+  });
+
+  // 提交按钮事件
+  async function handleSubmit() {
+    try {
+      const values = await validate();
+      setDrawerProps({ confirmLoading: true });
+      !unref(isUpdate)
+        ? await articleAdd({ ...values })
+        : await articleEdit({ ...values, id: rowId.value });
+      !unref(isUpdate) ? createMessage.success('新增成功!') : createMessage.success('编辑成功!');
+      closeDrawer();
+      emit('success', { isUpdate: unref(isUpdate), values: { ...values, id: rowId.value } });
+    } finally {
+      setDrawerProps({ confirmLoading: false });
+    }
+  }
+</script>

+ 318 - 3
src/views/biz/mission/article/index.vue

@@ -1,7 +1,322 @@
 <template>
-  <div> 占位符 </div>
+  <div class="m-4 modals">
+    <div>
+      <XTTitle title="宣教库" :right-data="titleData" @click="callTitleClick" />
+      <div class="flex items-center justify-between my-4">
+        <XTTab
+          type="article"
+          :width="180"
+          :selected="tabSelected"
+          :data="typeOptions"
+          @item-click="callTab"
+        />
+        <XTForm :form-data="formData" @change="callForm" />
+      </div>
+    </div>
+    <BasicTable @register="registerTable">
+      <template #bodyCell="{ column, record }">
+        <template v-if="column.key === 'disable'">
+          <span
+            :class="['table-dot']"
+            :style="{ backgroundColor: formatDictPreColor(responseDisableOptions, record.disable) }"
+          />
+          <span> {{ formatDictValue(responseDisableOptions, record.disable) }}</span>
+        </template>
+        <template v-if="column.key === 'type'">
+          <span> {{ formatDictValue(responseTypeOptions, record.type) }}</span>
+        </template>
+        <template v-if="column.key === 'action'">
+          <TableAction
+            :actions="[
+              {
+                auth: 'biz:educationLibrary:edit',
+                icon: 'icon-xt-details_edit_default|iconfont',
+                tooltip: '编辑',
+                onClick: handleEdit.bind(null, record),
+              },
+              {
+                auth: 'biz:education:edit',
+                icon: 'icon-tingyong-moren|iconfont',
+                tooltip: '停用',
+                ifShow: record.disable === 0,
+                popConfirm: {
+                  title: '是否确认停用',
+                  placement: 'left',
+                  confirm: handleClick.bind(null, record),
+                },
+              },
+              {
+                auth: 'biz:education:edit',
+                icon: 'icon-xt-revocation_default|iconfont',
+                tooltip: '启用',
+                ifShow: record.disable === 1,
+                popConfirm: {
+                  title: '是否确认启用',
+                  placement: 'left',
+                  confirm: handleClick.bind(null, record),
+                },
+              },
+              {
+                auth: 'biz:educationLibrary:remove',
+                icon: 'icon-xt-details_delete_default|iconfont',
+                tooltip: '删除',
+                onClick: handleDelete.bind(null, record),
+              },
+            ]"
+          />
+        </template>
+      </template>
+    </BasicTable>
+    <FormDrawer @register="registerDrawer" @success="callSuccess" @cancel="handleCancel" />
+    <ImportModal @register="registerImpModal" />
+  </div>
 </template>
+<script lang="ts" setup>
+  import { onBeforeMount, ref } from 'vue';
+  import { BasicTable, useTable, TableAction } from '/@/components/TableCard';
+  import { useMessage } from '/@/hooks/web/useMessage';
+  import FormDrawer from './formDrawer.vue';
+  import { ImportModal } from '/@/components/XTImport/index';
 
-<script setup lang="ts"></script>
+  import { formatDictValue, formatDictPreColor } from '/@/utils';
+  import { columns } from './data';
 
-<style lang="less" scoped></style>
+  import {
+    articleList,
+    articleStatus,
+    articleNumber,
+    articleDel,
+  } from '/@/api/biz/mission/articleApi';
+  import { listDictModel } from '/@/api/common';
+  // import { useModal } from '/@/components/Modal';
+  import { XTTitle } from '/@/components/XTTitle/index';
+  import { XTTab } from '/@/components/XTTab/index';
+  import { XTForm } from '/@/components/XTForm/index';
+  import { useDrawer } from '@/components/Drawer';
+  import { useModal } from '@/components/Modal';
+
+  // 标题数据
+  const titleData = [
+    {
+      type: 'print',
+      icon: 'icon-xt-print_default',
+    },
+    {
+      type: 'import',
+      auth: ['archives:drug:import'],
+      icon: 'icon-xt-import_default',
+    },
+    {
+      type: 'add',
+      auth: ['biz:drug:add'],
+      btnIcon: 'icon-xt-add_default',
+      btnText: '新增宣教',
+    },
+  ];
+  // formdata
+  const formData = [
+    {
+      name: 'tableSort',
+      componentType: 'Select',
+      placeholder: '请选择',
+      width: 120,
+      defaultValue: 'patrolTime',
+      dicts: [
+        { label: '全部', value: 'patrolTime' },
+        { label: '正常', value: 'disable ="0"' },
+        { label: '停用', value: 'disable ="1"' },
+      ],
+    },
+    {
+      name: 'title',
+      componentType: 'Input',
+      prefix: 'icon-xt-search',
+      placeholder: '请输入宣教标题',
+      width: 240,
+    },
+  ];
+  // tab 切换选中
+  const tabSelected = ref();
+  // 操作名称
+  const searchNames = ref('');
+  const shiftDate = ref([]);
+
+  const typeOptions = ref();
+  const responseDisableOptions = ref();
+  const responseTypeOptions = ref();
+  onBeforeMount(async () => {
+    responseDisableOptions.value = await listDictModel({ dictCode: 'sys_disable_type' });
+    responseTypeOptions.value = await listDictModel({ dictCode: 'het' });
+    getTab();
+  });
+
+  const { createMessage } = useMessage();
+  const [registerDrawer, { openDrawer }] = useDrawer();
+  const [registerImpModal, { openModal: openImpModal }] = useModal();
+
+  // const tableSort = ref([
+  //   {
+  //     field: 'create_time',
+  //     direction: 'DESC',
+  //   },
+  // ]) as any;
+
+  const [registerTable, { reload, clearSelectedRowKeys }] = useTable({
+    api: articleList,
+    batchDelApi: articleStatus,
+    // batchExportApi: pharmaceuticalsExport,
+    delAuthList: ['biz:educationLibrary:remove'],
+    rowKey: 'id',
+    columns,
+    showIndexColumn: true,
+    bordered: true,
+    actionColumn: {
+      width: 200,
+      title: '操作',
+      dataIndex: 'action',
+    },
+    beforeFetch: handleBeforeFetch,
+  });
+
+  // 编辑按钮事件
+  function handleEdit(record) {
+    openDrawer(true, {
+      record,
+      isUpdate: true,
+    });
+  }
+
+  // 新增按钮事件
+  function callTitleClick(data) {
+    if (data.type == 'add') {
+      openDrawer(true, {
+        isUpdate: false,
+        record: data,
+      });
+    } else if (data.type == 'print') {
+      console.log('打印中...');
+    } else if (data.type == 'import') {
+      openImpModal(true, {
+        title: '导入宣教',
+      });
+    }
+  }
+
+  // 删除按钮事件
+  async function handleDelete(record: Recordable) {
+    console.log('🚀 ~ file: index.vue:141 ~ handleDelete ~ record', record);
+    await articleDel([record.id]);
+    createMessage.success('删除成功!');
+    await reload();
+  }
+  // 启用停用按钮事件
+  async function handleClick(record: Recordable) {
+    if (record) {
+      await articleStatus(record.id);
+      createMessage.success('停用成功!');
+      clearSelectedRowKeys();
+      await reload();
+      await getTab();
+    }
+  }
+
+  // 表格请求之前,对参数进行处理, 添加默认 排序
+  async function handleBeforeFetch(params) {
+    console.log('searchNames:::', searchNames.value);
+    return {
+      ...params,
+      // orders: tableSort.value,
+      name: searchNames.value == '' ? undefined : searchNames.value,
+      status: tabSelected.value == '' ? undefined : tabSelected.value,
+      time: shiftDate.value.length <= 0 ? undefined : shiftDate.value,
+    };
+  }
+
+  async function getTab() {
+    typeOptions.value = await listDictModel({ dictCode: 'sys_disable_type' });
+    const typeNums = await articleNumber(); // 获取各类型数量
+    let typeList = [];
+    typeOptions.value.forEach(ele => {
+      // 变量各类型放置对应数量
+      let typeData = {};
+      Object.keys(typeNums).forEach(numKey => {
+        if (ele.value == numKey) {
+          typeData = {
+            key: ele.value,
+            label: ele.label,
+            value: typeNums[numKey],
+            hasValue: true,
+            prefixColor: ele.prefixColor,
+            hasBracket: true,
+          };
+          typeList.push(typeData);
+        }
+      });
+    });
+    typeList = typeList.reverse();
+    typeList.splice(0, 0, {
+      key: '',
+      label: '全部',
+      value: typeNums.total,
+      hasValue: true,
+      hasBracket: true,
+    });
+    typeOptions.value = typeList;
+    tabSelected.value = typeOptions.value[0].key;
+  }
+
+  //取消按钮事件
+  async function handleCancel() {
+    clearSelectedRowKeys();
+    await reload();
+    await getTab();
+  }
+
+  // 弹窗回调事件
+  async function callSuccess({ isUpdate, values }) {
+    console.log(isUpdate);
+    console.log(values);
+    await reload();
+    await getTab();
+  }
+  // 选项卡组件回调
+  async function callTab(data) {
+    tabSelected.value = data.value;
+    await reload();
+  }
+
+  // 查询组件回调
+  async function callForm(data) {
+    shiftDate.value = data.shiftDate ? data.shiftDate : '';
+    searchNames.value = data.searchNames ? data.searchNames : '';
+    console.log('callForm:::', searchNames.value);
+    await reload();
+  }
+</script>
+<style lang="less" scoped>
+  .table-dot {
+    display: inline-block;
+    width: 10px;
+    height: 10px;
+    margin-right: 6px;
+    border-radius: 50%;
+  }
+
+  ::v-deep(.ant-btn-link) {
+    color: #3d4155;
+  }
+
+  .colUpdateAvatar {
+    display: flex;
+    justify-content: center;
+    text-align: center;
+    line-height: 28px;
+  }
+
+  .colImg {
+    width: 28px;
+    height: 28px;
+    margin-right: 5px;
+  }
+</style>
+../../../../api/biz/mission/articleApi

+ 24 - 0
src/views/biz/mission/record/data.ts

@@ -0,0 +1,24 @@
+import { BasicColumn } from '/@/components/Table';
+
+export const columns: BasicColumn[] = [
+  {
+    title: '宣教时间',
+    dataIndex: 'updateTime',
+  },
+  {
+    title: '治疗阶段',
+    dataIndex: 'treatmentStage',
+  },
+  {
+    title: '患者姓名',
+    dataIndex: 'name',
+  },
+  {
+    title: '宣教标题',
+    dataIndex: 'title',
+  },
+  {
+    title: '宣教人',
+    dataIndex: 'updatorName',
+  },
+];

+ 212 - 3
src/views/biz/mission/record/index.vue

@@ -1,7 +1,216 @@
 <template>
-  <div> 占位符 </div>
+  <div class="m-4 modals">
+    <div>
+      <XTTitle title="宣教记录" />
+      <div class="flex items-center justify-between my-4">
+        <XTTab
+          type="record"
+          :width="180"
+          :selected="tabSelected"
+          :data="typeOptions"
+          @item-click="callTab"
+        />
+        <XTForm :form-data="formData" @change="callForm" />
+      </div>
+    </div>
+    <BasicTable @register="registerTable">
+      <template #bodyCell="{ column, record }">
+        <template v-if="column.key === 'treatmentStage'">
+          <span
+            :class="['table-dot']"
+            :style="{
+              backgroundColor: formatDictPreColor(responseTypeOptions, record.treatmentStage),
+            }"
+          />
+          <span> {{ formatDictValue(responseTypeOptions, record.treatmentStage) }}</span>
+        </template>
+        <!-- <template v-if="column.key === 'supplierCategory'">
+          <span>
+            {{ formatDictValue(responsesupplierCategoryOptions, record.supplierCategory) }}</span
+          >
+        </template> -->
+        <template v-if="column.key === 'action'">
+          <TableAction
+            :actions="[
+              {
+                auth: 'biz:drug:edit',
+                icon: 'icon-xt-details_delete_default|iconfont',
+                tooltip: '删除',
+                onClick: handleDelete.bind(null, record),
+              },
+            ]"
+          />
+        </template>
+      </template>
+    </BasicTable>
+  </div>
 </template>
+<script lang="ts" setup>
+  import { onBeforeMount, ref } from 'vue';
+  import { BasicTable, useTable, TableAction } from '/@/components/TableCard';
+  import { useMessage } from '/@/hooks/web/useMessage';
 
-<script setup lang="ts"></script>
+  import { formatDictValue, formatDictPreColor } from '/@/utils';
+  import { columns } from './data';
 
-<style lang="less" scoped></style>
+  import { getrecordList, recordNumber, recordDel } from '/@/api/biz/mission/recordApi';
+  import { listDictModel } from '/@/api/common';
+  import { XTTitle } from '/@/components/XTTitle/index';
+  import { XTTab } from '/@/components/XTTab/index';
+  import { XTForm } from '/@/components/XTForm/index';
+
+  // formdata
+  const formData = [
+    {
+      name: 'shiftDate',
+      componentType: 'RangePicker',
+      format: 'YYYY-MM-DD',
+      valueFormat: 'YYYY-MM-DD',
+      placeholder: '请选择日期',
+      width: 240,
+    },
+    {
+      name: 'searchNames',
+      componentType: 'Input',
+      prefix: 'icon-xt-search',
+      placeholder: '请输入宣教标题',
+      width: 240,
+    },
+  ];
+  // tab 切换选中
+  const tabSelected = ref();
+  // 操作名称
+  const searchNames = ref('');
+  const shiftDate = ref([]);
+
+  const typeOptions = ref();
+  const responseTypeOptions = ref();
+  const responsesupplierCategoryOptions = ref();
+  onBeforeMount(async () => {
+    responseTypeOptions.value = await listDictModel({ dictCode: 'sys_disable_type' });
+    responsesupplierCategoryOptions.value = await listDictModel({ dictCode: 'd' });
+    getTab();
+  });
+
+  const { createMessage } = useMessage();
+
+  // const tableSort = ref([
+  //   {
+  //     field: 'create_time',
+  //     direction: 'DESC',
+  //   },
+  // ]) as any;
+
+  const [registerTable, { reload, clearSelectedRowKeys }] = useTable({
+    api: getrecordList,
+    batchDelApi: recordDel,
+    // batchExportApi: pharmaceuticalsExport,
+    delAuthList: ['biz:consumable:remove'],
+    rowKey: 'id',
+    columns,
+    showIndexColumn: true,
+    bordered: true,
+    actionColumn: {
+      width: 200,
+      title: '操作',
+      dataIndex: 'action',
+    },
+    beforeFetch: handleBeforeFetch,
+  });
+
+  // 删除按钮事件
+  async function handleDelete(record: Recordable) {
+    if (record) {
+      await recordDel(record.id);
+      createMessage.success('删除成功!');
+      clearSelectedRowKeys();
+      await reload();
+      await getTab();
+    }
+  }
+
+  // 表格请求之前,对参数进行处理, 添加默认 排序
+  async function handleBeforeFetch(params) {
+    console.log('searchNames:::', searchNames.value);
+    return {
+      ...params,
+      // orders: tableSort.value,
+      name: searchNames.value == '' ? undefined : searchNames.value,
+      status: tabSelected.value == '' ? undefined : tabSelected.value,
+      time: shiftDate.value.length <= 0 ? undefined : shiftDate.value,
+    };
+  }
+
+  async function getTab() {
+    typeOptions.value = await listDictModel({ dictCode: 'sys_disable_type' });
+    const typeNums = await recordNumber(); // 获取各类型数量
+    let typeList = [];
+    typeOptions.value.forEach(ele => {
+      // 变量各类型放置对应数量
+      let typeData = {};
+      Object.keys(typeNums).forEach(numKey => {
+        if (ele.value == numKey) {
+          typeData = {
+            key: ele.value,
+            label: ele.label,
+            value: typeNums[numKey],
+            hasValue: true,
+            prefixColor: ele.prefixColor,
+            hasBracket: true,
+          };
+          typeList.push(typeData);
+        }
+      });
+    });
+    typeList = typeList.reverse();
+    typeList.splice(0, 0, {
+      key: '',
+      label: '全部',
+      value: typeNums.total,
+      hasValue: true,
+      hasBracket: true,
+    });
+    typeOptions.value = typeList;
+    tabSelected.value = typeOptions.value[0].key;
+  }
+
+  // 选项卡组件回调
+  async function callTab(data) {
+    tabSelected.value = data.value;
+    await reload();
+  }
+
+  // 查询组件回调
+  async function callForm(data) {
+    shiftDate.value = data.shiftDate ? data.shiftDate : '';
+    searchNames.value = data.searchNames ? data.searchNames : '';
+    console.log('callForm:::', searchNames.value);
+    await reload();
+  }
+</script>
+<style lang="less" scoped>
+  .table-dot {
+    display: inline-block;
+    width: 10px;
+    height: 10px;
+    margin-right: 6px;
+    border-radius: 50%;
+  }
+
+  ::v-deep(.ant-btn-link) {
+    color: #3d4155;
+  }
+
+  .colUpdateAvatar {
+    display: flex;
+    justify-content: center;
+    text-align: center;
+    line-height: 28px;
+  }
+
+  .colImg {
+    width: 28px;
+    height: 28px;
+    margin-right: 5px;
+  }
+</style>