refactor(重构电子围栏)

master
031026 2024-06-11 22:36:02 +08:00
commit f4932f541d
3 changed files with 3 additions and 2 deletions

View File

@ -192,7 +192,7 @@
size="mini"
type="text"
icon="el-icon-edit"
@click="EnterpriseUpdate(scope.row)"
@click="EnterpriseUpdate(scope.row)" v-if="scope.row.examineStatus==0"
>认证</el-button>
<el-button
size="mini"

View File

@ -138,6 +138,6 @@ export default {
<style lang="scss" scoped>
#amapContainer {
height: 800px;
width: 1000px;
width: 5000px;
}
</style>

View File

@ -183,6 +183,7 @@ export default {
const basicForm = this.$refs.basicInfo.$refs.basicInfoForm;
const genForm = this.$refs.genInfo.$refs.genInfoForm;
Promise.all([basicForm, genForm].map(this.getFormPromise)).then(res => {
console.log("res:{}",res)
const validateResult = res.data.every(item => !!item);
if (validateResult) {
const genTable = Object.assign({}, basicForm.model, genForm.model);