jiawuxian 2 rokov pred
rodič
commit
868e9f0c1e

+ 2 - 2
src/views/menu/protection/components/item.vue

@@ -21,7 +21,7 @@
         >
         </template>
       </van-cell>
-      <van-cell title="布撤防状态" :value="getDictLabel(data.status, 'protection_status', '未')" />
+      <van-cell title="布撤防状态" :value="getDictLabel(data.status, 'protection_status', '未上报')" />
       <van-cell
         v-if="data.status == '0' || data.status == '1'"
         :title="data.status == '0' ? '撤防时间' : '布防时间'"
@@ -54,7 +54,7 @@ export default {
     },
     updateStatus(data, status) {
       Dialog.confirm({
-        message: `是否更新${this.getLabel(this.statusOptions, status)}时间?`
+        message: `是否更新${this.getDictLabel(status, 'protection_status', '未上报')}时间?`
       })
         .then(() => {
           api.updateStatus(data.id, status).then(r => {

+ 1 - 1
vue.config.js

@@ -52,7 +52,7 @@ module.exports = defineConfig({
     /*本地开发请求代理*/
     proxy: {
       '/online': {
-        target: "http://47.92.229.224:8081",
+        target: "http://47.92.229.224:8080",
           // ws:true,
           changOrigin:true,
           pathRewrite:{