BUG 28264
This commit is contained in:
@@ -66,7 +66,8 @@
|
|||||||
fileName="网格区块"
|
fileName="网格区块"
|
||||||
>
|
>
|
||||||
<el-button icon="iconfont iconExported" size="small"
|
<el-button icon="iconfont iconExported" size="small"
|
||||||
>导出全部</el-button
|
>导出全部
|
||||||
|
</el-button
|
||||||
>
|
>
|
||||||
</ai-download>
|
</ai-download>
|
||||||
<ai-import
|
<ai-import
|
||||||
@@ -85,7 +86,8 @@
|
|||||||
</p>
|
</p>
|
||||||
</template>
|
</template>
|
||||||
<el-button size="small" icon="iconfont iconImport"
|
<el-button size="small" icon="iconfont iconImport"
|
||||||
>导入</el-button
|
>导入
|
||||||
|
</el-button
|
||||||
>
|
>
|
||||||
</ai-import>
|
</ai-import>
|
||||||
</template>
|
</template>
|
||||||
@@ -117,7 +119,8 @@
|
|||||||
<template slot-scope="{ row }">
|
<template slot-scope="{ row }">
|
||||||
<div class="flex-box">
|
<div class="flex-box">
|
||||||
<div v-for="(item, index) in row.girdMemberNames" v-show="index < 3" :key="index">
|
<div v-for="(item, index) in row.girdMemberNames" v-show="index < 3" :key="index">
|
||||||
<AiOpenData type="userName" :openid="item"></AiOpenData><span v-if="index < 2 && index < row.girdMemberNames.length - 1">、</span>
|
<AiOpenData type="userName" :openid="item"></AiOpenData>
|
||||||
|
<span v-if="index < 2 && index < row.girdMemberNames.length - 1">、</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -167,7 +170,8 @@
|
|||||||
v-if="editRow.plottingStatus == 1"
|
v-if="editRow.plottingStatus == 1"
|
||||||
>
|
>
|
||||||
<el-button type="primary" size="mini" @click="beginPoltting()"
|
<el-button type="primary" size="mini" @click="beginPoltting()"
|
||||||
>开始编辑</el-button
|
>开始编辑
|
||||||
|
</el-button
|
||||||
>
|
>
|
||||||
<el-button size="mini" @click="finishPoltting()">结束编辑</el-button>
|
<el-button size="mini" @click="finishPoltting()">结束编辑</el-button>
|
||||||
</el-button-group>
|
</el-button-group>
|
||||||
@@ -176,7 +180,8 @@
|
|||||||
v-if="editRow.plottingStatus == 0"
|
v-if="editRow.plottingStatus == 0"
|
||||||
>
|
>
|
||||||
<el-button size="mini" @click="draw('polygon')"
|
<el-button size="mini" @click="draw('polygon')"
|
||||||
>开始绘制多边形</el-button
|
>开始绘制多边形
|
||||||
|
</el-button
|
||||||
>
|
>
|
||||||
<!-- <el-button size="mini" @click="close()">关闭绘制</el-button> -->
|
<!-- <el-button size="mini" @click="close()">关闭绘制</el-button> -->
|
||||||
<el-button size="mini" @click="clear()">清除绘制</el-button>
|
<el-button size="mini" @click="clear()">清除绘制</el-button>
|
||||||
@@ -185,7 +190,8 @@
|
|||||||
<div class="dialog-footer" slot="footer">
|
<div class="dialog-footer" slot="footer">
|
||||||
<el-button size="medium" @click="showMap = false">取消</el-button>
|
<el-button size="medium" @click="showMap = false">取消</el-button>
|
||||||
<el-button type="primary" size="medium" @click="confirm()"
|
<el-button type="primary" size="medium" @click="confirm()"
|
||||||
>确认</el-button
|
>确认
|
||||||
|
</el-button
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</ai-dialog>
|
</ai-dialog>
|
||||||
@@ -367,7 +373,8 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => {
|
||||||
|
});
|
||||||
},
|
},
|
||||||
deleteTree(ids) {
|
deleteTree(ids) {
|
||||||
ids &&
|
ids &&
|
||||||
@@ -387,7 +394,8 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => {
|
||||||
|
});
|
||||||
},
|
},
|
||||||
getList() {
|
getList() {
|
||||||
this.instance
|
this.instance
|
||||||
@@ -569,16 +577,12 @@ export default {
|
|||||||
path = [...this.path];
|
path = [...this.path];
|
||||||
}
|
}
|
||||||
delete this.editRow.points;
|
delete this.editRow.points;
|
||||||
this.instance
|
let {girdMemberNames} = this.editRow
|
||||||
.post(
|
this.instance.post(`/app/appgirdinfo/addOrUpdate`, {
|
||||||
`/app/appgirdinfo/addOrUpdate`,
|
|
||||||
{
|
|
||||||
...this.editRow,
|
...this.editRow,
|
||||||
points: path,
|
points: path,
|
||||||
},
|
girdMemberNames: girdMemberNames?.toString()
|
||||||
null
|
}).then((res) => {
|
||||||
)
|
|
||||||
.then((res) => {
|
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.getList();
|
this.getList();
|
||||||
this.showMap = false;
|
this.showMap = false;
|
||||||
@@ -611,6 +615,7 @@ export default {
|
|||||||
.app-grid-block {
|
.app-grid-block {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
::v-deep .el-tree {
|
::v-deep .el-tree {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user