批量上传、添加注释

This commit is contained in:
mabo
2021-07-14 18:00:59 +08:00
parent 0fd4645514
commit 0499a9c237
27 changed files with 226 additions and 1011 deletions

View File

@@ -22,7 +22,7 @@ export default {
this.init();
},
methods: {
clear() {
clear() { // 引用该组件的父组件会调用
this.data = [];
this.selectedWay = [];
this.init();
@@ -49,13 +49,9 @@ export default {
*/
open(val, index) {
if (val) {
// console.warn(val);
//已选中的地址
let checkedData = this.$store.state.shipTemplate;
// console.warn(this.$store.state.shipTemplate);
// 禁止选中的地址
let checkData = [];
let disabledData = checkedData.filter((item, i) => {
if (i != index) {
@@ -177,7 +173,7 @@ export default {
this.cancel();
},
// 初始化地区数据
init() {
getAllCity().then((res) => {
if (res.result) {