diff --git a/pages/manage/point-reset.vue b/pages/manage/point-reset.vue
index dff2ebb..572a4f9 100644
--- a/pages/manage/point-reset.vue
+++ b/pages/manage/point-reset.vue
@@ -8,7 +8,7 @@
起点
-
+
@@ -16,7 +16,7 @@
终点
-
+
@@ -39,31 +39,24 @@
return {
title: '',
index1: '',
- options1: [],
+ options: [],
index2: '',
- options2: [],
disabled: false
};
},
onLoad (options) {
this.title = options.title
- this._getWastePointList(1)
- this._getWastePointList(2)
+ this._getWastePointList()
},
methods: {
- async _getWastePointList (type) {
- let res = await getWastePointList(type)
+ async _getWastePointList () {
+ let res = await getWastePointList()
if (res) {
res.map(el => {
this.$set(el, 'text', el.point_code)
this.$set(el, 'value', el.point_code)
})
- if (type === 2) {
- this.options1 = [...res]
- }
- if (type === 1) {
- this.options2 = [...res]
- }
+ this.options = [...res]
}
},
async toSure1 () {