Browse Source

fix(ZGPT-081|ZGPT-073): 添加名字

TwoKe945 1 year ago
parent
commit
fda5cff06c

+ 11 - 0
app/src/components/MessageTipModalContent.vue

@@ -3,6 +3,9 @@ import { area } from '@/api/area'
 
 export default {
   name: 'MessageTipModalContent',
+  props: {
+    qy: String
+  },
   data() {
     return {
       areaData: [],
@@ -10,6 +13,14 @@ export default {
       content_: `市高层建筑消防安全“除险清患"专项行动领导小组办公室,将你区/县纳入重点督导库,请认真研判本辖区高层建筑火灾风险形势,采取针对性措施,切实消除隐患,遏制高层建筑火灾发生。`
     }
   },
+  watch: {
+    qy: {
+      handler(val) {
+        this.areaValue = val
+      },
+      immediate: true
+    }
+  },
   created() {
     area({
       pageNum: 1,

+ 28 - 2
app/src/components/YlycModalHeader.vue

@@ -13,8 +13,9 @@ export default {
 <template >
   <div class="el-dialog__title" >
     <span>“一楼一策”隐患整治清单</span>
-    <img class="imgs" src="@/assets/images/dd_wh.png" alt="" @click="getShoeInfo('whFxModal')">
-      <!-- 风险问号弹窗 -->
+    <!-- <img class="imgs" src="@/assets/images/dd_wh.png" alt="" > -->
+    <div class="btn" @click="getShoeInfo('whFxModal')">隐患闭环处置流程</div>
+    <!-- 风险问号弹窗 -->
     <basic-modal :modal="false" top="30px" ref="whFxModal" name="隐患处置流程" width="90%">
       <div style="display: flex; flex-direction: column; justify-content: center">
         <img  src="@/assets/images/yhpc-tip.png" />
@@ -35,4 +36,29 @@ export default {
   display: inline-block;
   margin-left: 5px;
 }
+
+.btn {
+  // width: 55px;
+  height: 22px;
+  margin-left: 5px;
+  padding: 0px 5px;
+
+  background: linear-gradient(
+    180deg,
+    rgba(0, 209, 255, 0.245) 0%,
+    rgba(0, 255, 224, 0.435) 100%
+  );
+  border: 1px solid rgba(0, 213, 255, 0.22);
+  border-radius: 2px;
+  font-family: "Abel";
+  font-style: normal;
+  font-weight: 400;
+  font-size: 12px;
+  line-height: 24px;
+  align-items: center;
+
+  color: #ffffff;
+  text-align: center;
+  cursor: pointer;
+}
 </style>

+ 1 - 1
app/src/views/Home/index.vue

@@ -87,7 +87,7 @@
     </basic-modal>
       <!-- 短信提示弹窗 -->
     <basic-modal top="120px"  ref="smsMsgModal" name="信息提示" width="50%">
-      <MessageTipModalContent @close="onCloseModal" />
+      <MessageTipModalContent :qy="qy" @close="onCloseModal" />
     </basic-modal>
   </div>
 </template>