Commit 4f8f19e7 authored by yf's avatar yf

.

parent df43f7d7
...@@ -15689,7 +15689,7 @@ ...@@ -15689,7 +15689,7 @@
}, },
"vue-lazyload": { "vue-lazyload": {
"version": "1.2.3", "version": "1.2.3",
"resolved": "https://registry.npmmirror.com/vue-lazyload/-/vue-lazyload-1.2.3.tgz", "resolved": "https://registry.npmjs.org/vue-lazyload/-/vue-lazyload-1.2.3.tgz",
"integrity": "sha512-DC0ZwxanbRhx79tlA3zY5OYJkH8FYp3WBAnAJbrcuoS8eye1P73rcgAZhyxFSPUluJUTelMB+i/+VkNU/qVm7g==" "integrity": "sha512-DC0ZwxanbRhx79tlA3zY5OYJkH8FYp3WBAnAJbrcuoS8eye1P73rcgAZhyxFSPUluJUTelMB+i/+VkNU/qVm7g=="
}, },
"vue-loader": { "vue-loader": {
......
...@@ -128,8 +128,8 @@ export default { ...@@ -128,8 +128,8 @@ export default {
planId: 0, planId: 0,
buildingId: 0, buildingId: 0,
buildingName: "", buildingName: "",
value1: 1, value1: 0,
value2: 1, value2: 0,
option1: [], option1: [],
option2: [], option2: [],
isHaveNews: false, isHaveNews: false,
...@@ -192,6 +192,7 @@ export default { ...@@ -192,6 +192,7 @@ export default {
getFun(`/risk/plan/floor/list/${id}`) getFun(`/risk/plan/floor/list/${id}`)
.then(res => { .then(res => {
this.option1 = this.changeData(res.data); this.option1 = this.changeData(res.data);
this.value1 = res.data[0].id || 0;
resolve(res.data); resolve(res.data);
}) })
.catch(() => { .catch(() => {
...@@ -204,6 +205,7 @@ export default { ...@@ -204,6 +205,7 @@ export default {
getFun(`/risk/plan/room/list/${id}`) getFun(`/risk/plan/room/list/${id}`)
.then(res => { .then(res => {
this.option2 = this.changeData(res.data); this.option2 = this.changeData(res.data);
this.value2 = res.data[0].id || 0;
resolve(res.data); resolve(res.data);
}) })
.catch(() => { .catch(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment