瀏覽代碼

处置整改

chauncey 11 月之前
父節點
當前提交
c4076cc015

+ 2 - 0
src/views/disaster/disaster-control/src/components/CreateLossReportItem.vue

@@ -191,6 +191,8 @@
   const initFormData = () => {
     uploadImagesRef.value?.removeAllImages();
     basicFormRef.value?.clearValidate();
+    ruleFormData.estimatedLoss = '';
+    ruleFormData.uploadImages = [];
     initBasicFormData();
     cloneRuleFormData();
   };

+ 3 - 2
src/views/disaster/disaster-control/src/components/LossRecord.vue

@@ -94,8 +94,9 @@
                     />
                   </div>
                   <div class="action-container" v-else>
-                    <ActionButton text="编辑" @click="handleEdit(scope.row.id, item.id)" />
-                    <ActionButton text="删除" @click="handleDelete(scope.row.id)" />
+                    <ActionButton text="查看" v-if="scope.row.fixStatus === FIX_STATUS.TEMPORARY_CLOSED" />
+                    <ActionButton text="编辑" @click="handleEdit(scope.row.id, item.id)" v-if="scope.row.fixStatus !== FIX_STATUS.TEMPORARY_CLOSED" />
+                    <ActionButton text="删除" @click="handleDelete(scope.row.id)" v-if="scope.row.fixStatus !== FIX_STATUS.TEMPORARY_CLOSED" />
                   </div>
                 </template>
               </BasicTable>

+ 1 - 1
utils/devProxy/staff/proxy.ts

@@ -3,7 +3,7 @@ import path from 'path';
 
 // staff环境
 const proxyStaff: PROXY_TYPE = {
-  serverHost: 'http://192.168.13.68:8802/',
+  serverHost: 'http://192.168.22.163:8802/',
   loginHost: 'http://192.168.13.68:7200/login/#/',
   fileUploadHost: 'http://192.168.13.102:9000/',
 };