wenhongquan 2 年之前
父節點
當前提交
86b82a6316
共有 2 個文件被更改,包括 31 次插入30 次删除
  1. 4 4
      src/views/IncidentManagementDetail/index.tsx
  2. 27 26
      src/views/IncidentManagementDetailLite/index.tsx

+ 4 - 4
src/views/IncidentManagementDetail/index.tsx

@@ -251,7 +251,7 @@ export default defineComponent({
         </Popup>
 
         <van-tabs color="#1777ff" swipeable={ true} title-active-color="#1777ff" v-model:active={activeNames.value}>
-          <van-tab title="事件信息">
+          <van-tab title-style={ "font-weight:500"} title="事件信息">
             <p>
               事件类型:
               {
@@ -289,7 +289,7 @@ export default defineComponent({
 
           </van-tab>
 
-          <van-tab title="应急预案">
+          <van-tab title-style={"font-weight:500"} title="应急预案">
             {console.log(planOptions.value)}
             {planOptions.value?.map((d, index) => (
               <div style={"margin-bottom:10px"}>
@@ -301,7 +301,7 @@ export default defineComponent({
             ))}
           </van-tab>
 
-          <van-tab title="处置方案">
+          <van-tab title-style={"font-weight:500"} title="处置方案">
             <Collapse v-model={activeoplanNames.value}>
               {store.incidentDetail.task?.map((i) => (
                 <div class="cz-item">
@@ -329,7 +329,7 @@ export default defineComponent({
           </van-tab>
 
 
-          <van-tab title="处置详情">
+          <van-tab title-style={"font-weight:500"} title="处置详情">
             <div>
               {process.value?.map((i, index) => (
                 <div class="czxq-item">

+ 27 - 26
src/views/IncidentManagementDetailLite/index.tsx

@@ -378,13 +378,34 @@ export default defineComponent({
                 />
                 <div class="cz-action">
                   <Button
+                    color="red"
+                    style={getisbj() ? 'display:none' : ''}
                     size="small"
-                    type="primary"
+                    type="default"
                     onClick={() => {
-                      dosubmitdata();
+                      if (getisbj()) {
+                        return;
+                      }
+                      Dialog.confirm({
+                        title: '提示',
+                        confirmButtonText: '办结',
+                        message:
+                          '点击办结按钮后,将无法继续反馈,请确认好是否完成!',
+                      })
+                        .then(() => {
+                          // on confirm
+                          store.putbackLog(currenttaskid.value);
+                          try {
+                            uni.navigateBack();
+                          } catch (E) { }
+                        })
+                        .catch(() => {
+                          // on cancel
+                        });
                     }}>
-                    保存
+                    办结
                   </Button>
+                  
                   <Button
                     size="small"
                     type="default"
@@ -404,32 +425,12 @@ export default defineComponent({
                     发起会商
                   </Button>
                   <Button
-                    color="red"
-                    style={getisbj() ? 'display:none' : ''}
                     size="small"
-                    type="default"
+                    type="primary"
                     onClick={() => {
-                      if (getisbj()) {
-                        return;
-                      }
-                      Dialog.confirm({
-                        title: '提示',
-                        confirmButtonText: '办结',
-                        message:
-                          '点击办结按钮后,将无法继续反馈,请确认好是否完成!',
-                      })
-                        .then(() => {
-                          // on confirm
-                          store.putbackLog(currenttaskid.value);
-                          try {
-                            uni.navigateBack();
-                          } catch (E) {}
-                        })
-                        .catch(() => {
-                          // on cancel
-                        });
+                      dosubmitdata();
                     }}>
-                    办结
+                    保存
                   </Button>
                 </div>
               </div>