linqilong 5 days ago
parent
commit
69bda94f41

+ 4 - 4
src/api/questions.js

@@ -4,7 +4,7 @@ import {useUserStore} from "@/stores/user";
 const userStore = useUserStore()
 
 /**
- * 稽 - 获取问题清单
+ * 稽 - 获取问题清单
  */
 export function getTacQuestionList() {
     const userid = userStore.userId
@@ -26,7 +26,7 @@ export function getTacQuestionList() {
 
 
 /**
- * 稽 - 获取违法事项列表
+ * 稽 - 获取违法事项列表
  * {"class1Name":"","pageNum":2,"pageSize":20,"pblmType":"1"}
  */
 export function getIllegalActList(data) {
@@ -49,7 +49,7 @@ export function getIllegalActById(id) {
 }
 
 /**
- * 稽查 - 稽查单位
+ * 稽察 - 稽察单位
  */
 export function getTacUnitList(rgstrId, sysType) {
     return request({
@@ -60,7 +60,7 @@ export function getTacUnitList(rgstrId, sysType) {
 }
 
 /**
- * 稽 - 新增问题
+ * 稽 - 新增问题
  */
 export function addTacQuestion(data) {
     return request({

+ 5 - 5
src/layout/components/BottomNav.vue

@@ -17,11 +17,11 @@ import {useAppStore} from '@/stores/app'
 const appStore = useAppStore()
 
 const menuList = [
-    { name: '首页', icon: 'wap-home-o', path: '/home' },
-    // { name: '一张图', icon: 'location-o', path: '/map' },
-    { name: appStore.ownApp === "1" ? '督查': '稽查', icon: 'completed-o', path: '/inspect' },
-    { name: '问题', icon: 'orders-o', path: '/problem' },
-    { name: '我的', icon: 'user-o', path: '/about' },
+  {name: '首页', icon: 'wap-home-o', path: '/home'},
+  // { name: '一张图', icon: 'location-o', path: '/map' },
+  {name: appStore.ownApp === "1" ? '督查' : '稽察', icon: 'completed-o', path: '/inspect'},
+  {name: '问题', icon: 'orders-o', path: '/problem'},
+  {name: '我的', icon: 'user-o', path: '/about'},
 ]
 
 const route = useRoute();

+ 3 - 3
src/stores/app.js

@@ -1,10 +1,10 @@
-import { defineStore } from 'pinia'
-import { ref } from 'vue'
+import {defineStore} from 'pinia'
+import {ref} from 'vue'
 
 export const useAppStore = defineStore('app', () => {
   // 当前机构
   const currentOrgId = ref('034')
-  // 当前应用 督察:1;稽:2;
+  // 当前应用 督察:1;稽:2;
   const ownApp = ref('1')
 
   function setCurrentOrgId(id) {

+ 5 - 5
src/views/Inspect/current.vue

@@ -11,16 +11,16 @@
     </div>
 </template>
 <script setup>
-import { ref, defineEmits, watch } from "vue";
+import {defineEmits, ref, watch} from "vue";
 import GwSelect from "@/components/GwSelect.vue";
 import card01 from '@/components/card01.vue';
-import { getCurrGroup } from '@/api/inspect.js';
-import { jumpPage } from "@/utils/page";
+import {getCurrGroup} from '@/api/inspect.js';
+import {jumpPage} from "@/utils/page";
 
 const emits = defineEmits(['onClick']);
 
 const inspectTypes = [
-    { text: '稽查工作', value: '008' },
+  {text: '稽察工作', value: '008'},
 ];
 const inspectType = ref('008');
 const list = ref([]);
@@ -55,4 +55,4 @@ watch(() => inspectType, inspectType => {
     }
 
 }
-</style>
+</style>

+ 1 - 1
src/views/Inspect/history.vue

@@ -21,7 +21,7 @@ import {getInspBaseByPersid} from "@/api/inspect";
 import {jumpPage} from "@/utils/page";
 
 const inspectType = ref('008');
-const inspectTypes = [{text: '稽工作', value: '008'}];
+const inspectTypes = [{text: '稽工作', value: '008'}];
 
 const baseBatch = ref(null);
 const baseBatchs = ref([]);

+ 8 - 9
src/views/Login/index.vue

@@ -4,7 +4,7 @@
       <div class="login-main">
         <van-tabs v-model:active="appStore.ownApp">
           <van-tab title="水利督察" name="1"></van-tab>
-          <van-tab title="水利稽" name="2"></van-tab>
+          <van-tab title="水利稽" name="2"></van-tab>
         </van-tabs>
         <van-form @submit="handleLogin">
           <van-cell-group>
@@ -39,13 +39,12 @@
   </div>
 </template>
 <script setup>
-import { ref, onBeforeUnmount, onMounted, nextTick } from 'vue'
-import { showToast } from 'vant'
-import { setToken } from '@/utils/auth'
-import { useAppStore } from '@/stores/app'
-import { useUserStore } from '@/stores/user'
-import { loginWithMessage, getCaptchaImage } from '@/api/login'
-import { useRouter } from 'vue-router';
+import {nextTick, onBeforeUnmount, onMounted, ref} from 'vue'
+import {showToast} from 'vant'
+import {useAppStore} from '@/stores/app'
+import {useUserStore} from '@/stores/user'
+import {getCaptchaImage} from '@/api/login'
+import {useRouter} from 'vue-router';
 
 const appStore = useAppStore()
 const userStore = useUserStore()
@@ -141,4 +140,4 @@ onBeforeUnmount(() => {
   }
 
 }
-</style>
+</style>

+ 2 - 2
src/views/Problem/detail/index.vue

@@ -32,8 +32,8 @@
         <van-field v-model="pblm.pblmSggtn" autosize label="整改意见及建议" label-align="top"
                    placeholder="整改意见及建议"
                    rows="2" type="textarea"/>
-        <van-field v-model="pblm.spclRvwOptn" autosize label="稽组长复核意见" label-align="top"
-                   placeholder="稽组长复核意见"
+        <van-field v-model="pblm.spclRvwOptn" autosize label="稽组长复核意见" label-align="top"
+                   placeholder="稽组长复核意见"
                    rows="2" type="textarea"/>
         <GwSelect02 v-model:value="pblm.pblmPasi" :columns="cateObjList" label="问题严重性"></GwSelect02>
         <van-field label="是否典型问题" name="radio">