|
@@ -6,7 +6,7 @@
|
|
|
<el-button @click="addZoneBtn">添加分区</el-button>
|
|
|
<el-select v-model="zoneValue" placeholder="请选择">
|
|
|
<el-option
|
|
|
- v-for="item in addZone"
|
|
|
+ v-for="item in zoneList"
|
|
|
:key="item.value"
|
|
|
:label="item.label"
|
|
|
:value="item.value">
|
|
@@ -48,7 +48,7 @@
|
|
|
<qrcode :dialog="dialog" :qrcodeUrl="qrcodeUrl" :addBody="true" ref="qrcode"></qrcode>
|
|
|
<!-- 上传图片-->
|
|
|
<upload-img-dialog :read="onlyRead" @changeFile="imgChange" :keysArr="imgsArr" :dialog="myDialog"/>
|
|
|
- <dialogZone ref="zone"/>
|
|
|
+ <dialogZone ref="zone" @addZone="addZone"/>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -74,11 +74,9 @@
|
|
|
createZone,
|
|
|
BeatchQueryParam,
|
|
|
updateRelateInSpAndBuild,
|
|
|
-
|
|
|
} from "@/api/scan/request";
|
|
|
import {mapGetters, mapActions} from "vuex";
|
|
|
import dialogZone from "../../ledger/addDialog/dialogZone";
|
|
|
- import {getZoneQuery} from "../../../api/scan/request";
|
|
|
|
|
|
export default {
|
|
|
props: {
|
|
@@ -140,7 +138,7 @@
|
|
|
uploadImgs: false, //上传图片弹窗
|
|
|
},
|
|
|
imgsArr: [], //空间图片
|
|
|
- addZone: [{
|
|
|
+ zoneList: [{
|
|
|
value: '选项1',
|
|
|
label: '黄金糕'
|
|
|
}, {
|
|
@@ -719,6 +717,9 @@
|
|
|
},
|
|
|
addZoneBtn() {
|
|
|
this.$refs.zone.dialogFormVisible = true
|
|
|
+ },
|
|
|
+ addZone() {
|
|
|
+
|
|
|
}
|
|
|
},
|
|
|
watch: {
|