|
@@ -260,24 +260,27 @@
|
|
|
>
|
|
>
|
|
|
<div class="content" style="display: flex">
|
|
<div class="content" style="display: flex">
|
|
|
<!-- 将 mapData 作为 prop 传递给 MapData 组件 -->
|
|
<!-- 将 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>
|
|
</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>
|
|
</el-dialog>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
@@ -438,7 +441,7 @@ export default {
|
|
|
getWorkareaInfo(this.EditId).then((response) => {
|
|
getWorkareaInfo(this.EditId).then((response) => {
|
|
|
this.form = response.data;
|
|
this.form = response.data;
|
|
|
this.open = true;
|
|
this.open = true;
|
|
|
- this.title = "查看班组";
|
|
|
|
|
|
|
+ this.title = "查看工作区域";
|
|
|
this.optType = "view";
|
|
this.optType = "view";
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|