Compare commits
2 Commits
3e640c3633
...
dev
Author | SHA1 | Date | |
---|---|---|---|
af749eb638 | |||
3340f1f3af |
@@ -277,7 +277,12 @@ Page({
|
||||
type: "meter",
|
||||
columns: [
|
||||
// { id: "", name: "全部", code: "" },
|
||||
...this.data.meterList.map(item => ({ id: item.id, name: `${item.code}-${item.address}`, code: item.code }))],
|
||||
...this.data.meterList.map(item => ({
|
||||
id: item.id,
|
||||
name: `${item.code}-${item.address}`,
|
||||
code: item.code,
|
||||
address: item.address
|
||||
}))],
|
||||
show: true,
|
||||
title: "表计"
|
||||
})
|
||||
@@ -292,6 +297,8 @@ Page({
|
||||
},
|
||||
onOk(e) {
|
||||
const { id, code, address } = e.detail.value;
|
||||
console.log('e', e)
|
||||
console.log("id, code, address", id, code, address)
|
||||
this.setData({
|
||||
// year: currentYear,
|
||||
meterId: id,
|
||||
|
@@ -45,8 +45,8 @@ export function getConfigByEnv() {
|
||||
switch (envVersion) {
|
||||
// 开发版
|
||||
case 'develop':
|
||||
// api = "http://localhost:8000"
|
||||
api = "https://zgd.hbhcbn.com/api3"
|
||||
api = "http://localhost:8000"
|
||||
// api = "https://zgd.hbhcbn.com/api3"
|
||||
// TODO: 发布正式时使用此路径
|
||||
// api = "https://zgd.hbhcbn.com/wxApi"
|
||||
// api = "http://127.0.0.1:4523/m1/4143821-0-default"
|
||||
|
Reference in New Issue
Block a user