Browse Source

订单字段修改

贾宇博 2 weeks ago
parent
commit
fbf7e6f41b

+ 1 - 1
src/views/order/details/index.vue

@@ -22,7 +22,7 @@
                 <el-descriptions-item label="姓名">kooriookami</el-descriptions-item>
                 <el-descriptions-item label="项目类别">18100000000</el-descriptions-item>
                 <el-descriptions-item label="被服务人员">18100000000</el-descriptions-item>
-                <el-descriptions-item label="是否有疾病">18100000000</el-descriptions-item>
+                <!-- <el-descriptions-item label="是否有疾病">18100000000</el-descriptions-item> -->
                 <el-descriptions-item label="手机号">18100000000</el-descriptions-item>
                 <el-descriptions-item label="科目">18100000000</el-descriptions-item>
                 <el-descriptions-item label="性别">18100000000</el-descriptions-item>

+ 31 - 25
src/views/order/manage/index.vue

@@ -35,34 +35,40 @@ const listPageData = reactive({
             width: '180px'
         },
         {
-            label: '姓名',
+            label: '志愿者姓名',
             prop: 'name',
             type: 'input',
             isSearch: true,
         },
         {
-            label: '手机号',
+            label: '志愿者手机号',
             prop: 'phonenumber',
             type: 'input',
             isSearch: true
         },
         {
-            label: '服务项目',
-            prop: 'businessManagementId',
-            type: 'cascader',
-            isSearch: true,
-            tableProp: 'projectName',
-            options: options,
-            props: { label: 'businessName', value: 'id', checkStrictly:true },
+            label: '用户手机号',
+            prop: 'clientTelephone',
+            type: 'input',
+            isSearch: true
         },
+        // {
+        //     label: '服务项目',
+        //     prop: 'businessManagementId',
+        //     type: 'cascader',
+        //     isSearch: true,
+        //     tableProp: 'projectName',
+        //     options: options,
+        //     props: { label: 'businessName', value: 'id', checkStrictly:true },
+        // },
         {
             label: '项目类别',
-            prop: 'projectTypeName',
-        },
-        {
-            label: '科目',
-            prop: 'projectTypeName',
+            prop: 'businessTierName',
         },
+        // {
+        //     label: '科目',
+        //     prop: 'projectTypeName',
+        // },
         {
             label: '评分',
             prop: 'address',
@@ -84,7 +90,7 @@ const listPageData = reactive({
         {
             label: '平台提成',
             prop: 'skillDescribe',
-        }
+        },
     ],
     searchBtns: [],
     tableApi: list,//接口地址
@@ -103,16 +109,16 @@ const listPageData = reactive({
         //         return row.appStatus == 1
         //     }
         // },
-        // {
-        //     label: '查看',
-        //     type: 'primary',
-        //     hasPermi: ['manage:details'],
-        //     key: 'details',
-        //     func: (row) => {
-        //         console.log(row)
-        //         openDialog(row)
-        //     }
-        // },
+        {
+            label: '查看',
+            type: 'primary',
+            hasPermi: ['manage:details'],
+            key: 'details',
+            func: (row) => {
+                console.log(row)
+                openDialog(row)
+            }
+        },
         // {
         //     label: '删除',
         //     type: 'danger',

+ 8 - 8
src/views/staff/user/index.vue

@@ -58,14 +58,14 @@ const listPageData = reactive({
             type: 'input',
             isSearch: true
         },
-        {
-            label: '是否有疾病',
-            prop: 'isContagion',
-        },
-        {
-            label: '住址',
-            prop: 'adress',
-        },
+        // {
+        //     label: '是否有疾病',
+        //     prop: 'isContagion',
+        // },
+        // {
+        //     label: '住址',
+        //     prop: 'adress',
+        // },
     ],
     searchBtns: [],
     tableApi: listUser,//接口地址

+ 1 - 1
vite.config.js

@@ -32,7 +32,7 @@ export default defineConfig(({ mode, command }) => {
         // https://cn.vitejs.dev/config/#server-proxy
         '/dev-api': {
           // target: 'http://localhost:9527',
-        target: 'http://192.168.100.121:9527',
+        target: 'http://192.168.100.133:9527',
           changeOrigin: true,
           rewrite: (p) => p.replace(/^\/dev-api/, '')
         }