Commit e399cf2e by fengzhaoyu

fix:会议室全名

parent 54f4b3f5
......@@ -11,7 +11,7 @@ export default function http(data) {
method: data.method,
dataType: "json",
data: data.data,
success: function(res) {
success: function (res) {
if (res.data.code == 0) {
resolve(res);
} else {
......@@ -21,7 +21,7 @@ export default function http(data) {
});
}
},
fail: function(res) {
fail: function (res) {
dd.alert({
content: "网络异常",
buttonText: "确定"
......@@ -54,10 +54,10 @@ export default function http(data) {
method: data.method,
data: data.data,
dataType: "json",
success: function(res) {
success: function (res) {
resolve(res);
},
fail: function(res) {
fail: function (res) {
rejects(res);
}
});
......
......@@ -120,7 +120,7 @@ create.Page({
getReserveRoomList(data).then(res => {
if (res.data.data) {
for (let value of res.data.data) {
value.name = `${this.getParentStr("1250241601903665153")}${value.name}`
value.name = `${this.getParentStr(value.locationId)}${value.name}`
this.parentStr = ''
}
let reserveRoomList = res.data.data.map(item => {
......
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