Przeglądaj źródła

fix: 调整接口地址并修复月度考核日期字段绑定错误

1. 将生产接口地址切换为测试环境地址
2. 修正月度考核表格中日期选择器绑定字段从date改为recordDate
3. 同步更新新增考核项的日期字段赋值
huoyi 3 tygodni temu
rodzic
commit
e4dfe6b9d1

+ 2 - 2
src/views/performanceManage/monthlyAssess/index.vue

@@ -541,7 +541,7 @@
541 541
             <el-table-column label="序号" type="index" width="60" align="center" />
542 542
             <el-table-column label="日期" width="180">
543 543
               <template #default="scope">
544
-                <el-date-picker v-model="scope.row.date" type="date" value-format="YYYY-MM-DD" placeholder="选择日期" style="width: 100%" />
544
+                <el-date-picker v-model="scope.row.recordDate" type="date" value-format="YYYY-MM-DD" placeholder="选择日期" style="width: 100%" />
545 545
               </template>
546 546
             </el-table-column>
547 547
             <el-table-column label="检查部门" >
@@ -1436,7 +1436,7 @@ const updateTotal = () => {
1436 1436
         ? (indicatorDialog.form.score * 100)
1437 1437
         : (indicatorDialog.form.score * 50)
1438 1438
       list.push({
1439
-        date: today,
1439
+        recordDate: today,
1440 1440
         qcDeptType: '',
1441 1441
         rewardPunishmentDetail: '',
1442 1442
         amount: defaultAmount

+ 1 - 1
vite.config.js

@@ -3,7 +3,7 @@ import path from 'path'
3 3
 import createVitePlugins from './vite/plugins'
4 4
 
5 5
 // const baseUrl = 'http://192.168.3.221:8088' // 后端接口
6
-const baseUrl = 'http://airport.samsundot.com:9024/prod-api'
6
+const baseUrl = 'http://airport-test.samsundot.com:9025/prod-api'
7 7
 // https://vitejs.dev/config/
8 8
 export default defineConfig(({ mode, command }) => {
9 9
   const env = loadEnv(mode, process.cwd())