李志伟 2 anos atrás
pai
commit
1f061d77f1

+ 1
- 1
index.html Ver arquivo

@@ -4,7 +4,7 @@
4 4
     <meta charset="UTF-8" />
5 5
     <link rel="icon" href="/favicon.ico" />
6 6
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
-    <title>电网报销系统</title>
7
+    <title>开票消息收集公示系统</title>
8 8
   </head>
9 9
   <body>
10 10
     <div id="app"></div>

+ 19
- 0
src/components/BackButton/index.vue Ver arquivo

@@ -0,0 +1,19 @@
1
+<template>
2
+  <div class="backIcon">
3
+    <van-icon name="arrow-left" size="32px" color="#6b6c6d" @click="goBack" />
4
+  </div>
5
+</template>
6
+
7
+<script setup>
8
+import { useRouter } from 'vue-router'
9
+const router = useRouter();
10
+const goBack = () => {
11
+  router.back();
12
+}
13
+</script>
14
+<style lang="less" scoped>
15
+.backIcon {
16
+  margin-left: 8px;
17
+  margin-top: 8px;
18
+}
19
+</style>

+ 1
- 1
src/components/PersonPicker/index.vue Ver arquivo

@@ -3,7 +3,7 @@
3 3
     <div class="picker-search">
4 4
       <van-search
5 5
         v-model="searchValue"
6
-        placeholder="请输入报销人姓名"
6
+        placeholder="请输入学员姓名"
7 7
         @search="onSearch"
8 8
       />
9 9
     </div>

+ 1
- 1
src/pages/index.vue Ver arquivo

@@ -50,7 +50,7 @@ const formData = reactive({})
50 50
 const tipText = computed(() => {
51 51
   if (!invoiceId) return '请扫码访问此页面';
52 52
   const finished = formData.status === 2 || (formData.endDate ? dayjs().isAfter(dayjs(formData.endDate)) : false)
53
-  return finished ? '该班次已截止如有问题请联系报销助理' : `该班次将于 ${dayjs(formData.endDate).format('YYYY年MM月DD日')} 截止`
53
+  return finished ? '该班次信息收集已截止如有问题请联系报销助理' : `该班次信息收集将于 ${dayjs(formData.endDate).format('YYYY年MM月DD日')} 截止`
54 54
 })
55 55
 
56 56
 const goForm = () => {

+ 1
- 1
src/pages/invoice/components/InvoiceInfo.vue Ver arquivo

@@ -45,7 +45,7 @@
45 45
     <van-field
46 46
       name="mergeRemark"
47 47
       label="是否合开"
48
-      error-message="如果合开请和报销专员联系"
48
+      error-message="如有多位同单位学员需要合并开票的情况,请勾选“是”并主动联系班主任"
49 49
     >
50 50
       <template #input>
51 51
         <van-radio-group

+ 2
- 2
src/pages/invoice/components/ItemTpl.vue Ver arquivo

@@ -1,7 +1,7 @@
1 1
 <template>
2
-<van-cell-group v-if="props.itemList.length != 0" title="报销信息">
2
+<van-cell-group v-if="props.itemList.length != 0" title="类目信息">
3 3
       <div class="itembox" v-for="item in props.itemList" :key="item.invoiceItemId">
4
-        <van-cell title="报销项目">
4
+        <van-cell title="开票项目">
5 5
           <template #value>
6 6
             <span style="color: #000">{{ item.name }}</span>
7 7
           </template>

+ 4
- 4
src/pages/invoice/components/PersonInfo.vue Ver arquivo

@@ -1,5 +1,5 @@
1 1
 <template>
2
-  <van-cell-group title="报销人信息">
2
+  <van-cell-group title="学员信息">
3 3
     <van-field
4 4
       label="所属公司"
5 5
       v-model="value.invoiceOrgName"
@@ -21,13 +21,13 @@
21 21
       />
22 22
     </van-popup>
23 23
     <van-field
24
-      label="报销人"
24
+      label="学员"
25 25
       v-model="value.personName"
26 26
       name="personName"
27 27
       readonly
28 28
       @click="showOrgPopup"
29
-      placeholder="请输入报销人"
30
-      :rules="[{ required: true, message: '请输入报销人' }]"
29
+      placeholder="请输入学员姓名"
30
+      :rules="[{ required: true, message: '请输入学员姓名' }]"
31 31
     />
32 32
     <van-popup
33 33
       v-model:show="showPersonPicker"

+ 2
- 1
src/pages/invoice/fill.vue Ver arquivo

@@ -1,5 +1,6 @@
1 1
 <template>
2 2
   <van-form @failed="onFailed" @submit="onSubmit" :readonly="isFinished">
3
+    <back-button />
3 4
     <h2 :style="{ textAlign: 'center' }">{{ fillData.name }}</h2>
4 5
     <person-info
5 6
       :isFinished="isFinished"
@@ -127,4 +128,4 @@ const onSubmit = (val) => {
127 128
     console.log(err);
128 129
   })
129 130
 }
130
-</script>
131
+</script>

+ 1
- 0
src/pages/invoice/history.vue Ver arquivo

@@ -1,5 +1,6 @@
1 1
 <template>
2 2
   <div class="history-page">
3
+    <back-button />
3 4
     <h3>填写记录</h3>
4 5
     <van-list
5 6
       class="history-list"

+ 1
- 0
src/pages/publicity/list.vue Ver arquivo

@@ -1,5 +1,6 @@
1 1
 <template>
2 2
   <div class="publicity-page">
3
+    <back-button />
3 4
     <h3>信息公示</h3>
4 5
     <div class="picker-search">
5 6
       <van-search v-model="searchValue" placeholder="请输入报销人姓名" @search="onSearch" />

+ 1
- 0
vite.config.js Ver arquivo

@@ -7,6 +7,7 @@ import { VantResolver } from 'unplugin-vue-components/resolvers';
7 7
 // https://vitejs.dev/config/
8 8
 export default defineConfig({
9 9
   server: {
10
+    host:'0.0.0.0',
10 11
     proxy: {
11 12
       '/api': {
12 13
         target: 'http://192.168.89.147:7081',