refactor(重构电子围栏)
commit
f4932f541d
|
@ -192,7 +192,7 @@
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
icon="el-icon-edit"
|
icon="el-icon-edit"
|
||||||
@click="EnterpriseUpdate(scope.row)"
|
@click="EnterpriseUpdate(scope.row)" v-if="scope.row.examineStatus==0"
|
||||||
>认证</el-button>
|
>认证</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
|
|
|
@ -138,6 +138,6 @@ export default {
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
#amapContainer {
|
#amapContainer {
|
||||||
height: 800px;
|
height: 800px;
|
||||||
width: 1000px;
|
width: 5000px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -183,6 +183,7 @@ export default {
|
||||||
const basicForm = this.$refs.basicInfo.$refs.basicInfoForm;
|
const basicForm = this.$refs.basicInfo.$refs.basicInfoForm;
|
||||||
const genForm = this.$refs.genInfo.$refs.genInfoForm;
|
const genForm = this.$refs.genInfo.$refs.genInfoForm;
|
||||||
Promise.all([basicForm, genForm].map(this.getFormPromise)).then(res => {
|
Promise.all([basicForm, genForm].map(this.getFormPromise)).then(res => {
|
||||||
|
console.log("res:{}",res)
|
||||||
const validateResult = res.data.every(item => !!item);
|
const validateResult = res.data.every(item => !!item);
|
||||||
if (validateResult) {
|
if (validateResult) {
|
||||||
const genTable = Object.assign({}, basicForm.model, genForm.model);
|
const genTable = Object.assign({}, basicForm.model, genForm.model);
|
||||||
|
|
Loading…
Reference in New Issue