Bladeren bron

feat: 增加负责人联系相关信息表单项

lanjianrong 4 jaren geleden
bovenliggende
commit
15b851b04d

+ 15 - 0
src/views/dashboard/project-detail/components/info.vue

@@ -121,6 +121,21 @@
           required: true
         },
         {
+          field: 'staffPhone',
+          component: 'Input',
+          label: '负责人电话'
+        },
+        {
+          field: 'staffQq',
+          component: 'Input',
+          label: '负责人QQ'
+        },
+        {
+          field: 'staffTelephone',
+          component: 'Input',
+          label: '负责人座机'
+        },
+        {
           field: 'remark',
           component: 'InputTextArea',
           componentProps: {

+ 15 - 0
src/views/dashboard/workbench/index.vue

@@ -123,6 +123,21 @@
           }
         },
         {
+          field: 'staffPhone',
+          component: 'Input',
+          label: '负责人电话'
+        },
+        {
+          field: 'staffQq',
+          component: 'Input',
+          label: '负责人QQ'
+        },
+        {
+          field: 'staffTelephone',
+          component: 'Input',
+          label: '负责人座机'
+        },
+        {
           field: 'remark',
           label: '备注',
           component: 'InputTextArea'

+ 13 - 0
src/views/dashboard/workbench/tableData.tsx

@@ -7,6 +7,7 @@ export function getProjectTableColumns(): BasicColumn[] {
       title: '项目编号',
       dataIndex: 'code',
       width: 100,
+      fixed: 'left',
       customRender: ({ text, record }) => <router-link to={`/dashboard/project/${record.id}`}>{text}</router-link>
     },
     {
@@ -26,6 +27,18 @@ export function getProjectTableColumns(): BasicColumn[] {
       width: 100
     },
     {
+      title: '电话',
+      dataIndex: 'staffPhone'
+    },
+    {
+      title: 'QQ',
+      dataIndex: 'staffQq'
+    },
+    {
+      title: '座机',
+      dataIndex: 'staffTelephone'
+    },
+    {
       title: '创建时间',
       dataIndex: 'createTime',
       width: 200