Prechádzať zdrojové kódy

修改地图预览内容展示模式;
修改工作区域查看弹框标题

wangyani 1 rok pred
rodič
commit
0c768623d9
1 zmenil súbory, kde vykonal 20 pridanie a 17 odobranie
  1. 20 17
      src/views/mes/wa/workarea/index.vue

+ 20 - 17
src/views/mes/wa/workarea/index.vue

@@ -260,24 +260,27 @@
     >
       <div class="content" style="display: flex">
         <!-- 将 mapData 作为 prop 传递给 MapData 组件 -->
-        <MapData
-          :points="mapData"
-          @selection-changed="updateMapData"
-          style="width: 70%; height: 60%"
-        />
-        <div
-          style="width: 26%; padding: 0 2%; line-height: 30px; font-size: 20px"
+        <MapData :points="mapData" style="width: 72%; height: 60%" />
+        <el-button
+          type="primary"
+          size="mini"
+          @click="handleEditMap"
+          style="height: 35px"
+          >刷新</el-button
         >
-          {{ this.mapData }}
-        </div>
+        <el-input
+          type="textarea"
+          v-model="mapData"
+          placeholder="请输入内容"
+          rows="30"
+          :style="{
+            width: '26%',
+            padding: '0 1%',
+            lineHeight: '30px',
+            fontSize: '18px',
+          }"
+        />
       </div>
-
-      <span slot="footer" class="dialog-footer">
-        <el-button @click="dialogVisibleMap = false">取 消</el-button>
-        <el-button type="primary" @click="dialogVisibleMap = false"
-          >确 定</el-button
-        >
-      </span>
     </el-dialog>
   </div>
 </template>
@@ -438,7 +441,7 @@ export default {
       getWorkareaInfo(this.EditId).then((response) => {
         this.form = response.data;
         this.open = true;
-        this.title = "查看班组";
+        this.title = "查看工作区域";
         this.optType = "view";
       });
     },