Commit b1f21174 authored by 黄奎's avatar 黄奎

页面修改

parent 9d252203
...@@ -134,7 +134,7 @@ ...@@ -134,7 +134,7 @@
<th width="100">地接状态</th> <th width="100">地接状态</th>
</tr> </tr>
<tr v-if="dataList.length==0"> <tr v-if="dataList.length==0">
<td colspan="11">暂无数据</td> <td colspan="13">暂无数据</td>
</tr> </tr>
<template v-for="(outItem,outindex) in dataList"> <template v-for="(outItem,outindex) in dataList">
<tbody :class="{roomQuerySplitTrCss:outindex%2!=0}"> <tbody :class="{roomQuerySplitTrCss:outindex%2!=0}">
......
...@@ -212,7 +212,6 @@ ...@@ -212,7 +212,6 @@
</li> </li>
<li style="margin-right:50px;"> <li style="margin-right:50px;">
<button class="normalBtn" type="button" @click="GetHoltelInventory()">{{$t('pub.searchBtn')}}</button> <button class="normalBtn" type="button" @click="GetHoltelInventory()">{{$t('pub.searchBtn')}}</button>
<button class="normalBtn" type="button" @click="DownLoadDinner()">下载</button>
</li> </li>
</ul> </ul>
</div> </div>
...@@ -386,19 +385,7 @@ ...@@ -386,19 +385,7 @@
err => {} err => {}
); );
}, },
//餐厅下载
DownLoadDinner() {
this.msg.loading = true;
let qMsg = {
queryMsg: this.msg,
uid: this.getLocalStorage().EmployeeId
};
let fileName = "餐厅下载" + this.$commonUtils.getCurrentDate() + ".xls";
this.GetLocalFile("dinner_get_downloadDinner", qMsg, fileName,
res => {
this.msg.loading = false;
});
}
}, },
mounted() { mounted() {
//初始化日历 //初始化日历
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
</li> </li>
<li> <li>
<input type="button" class="normalBtn" value="查询" @click="getList();resetPageIndex()" /> <input type="button" class="normalBtn" value="查询" @click="getList();resetPageIndex()" />
<button class="normalBtn" type="button" @click="DownLoadDinner()">下载</button>
</li> </li>
</ul> </ul>
</div> </div>
...@@ -316,6 +317,19 @@ ...@@ -316,6 +317,19 @@
} }
} }
); );
},
//餐厅下载
DownLoadDinner() {
this.loading = true;
let qMsg = {
queryMsg: this.msg,
uid: this.getLocalStorage().EmployeeId
};
let fileName = "餐厅下载" + this.$commonUtils.getCurrentDate() + ".xls";
this.GetLocalFile("dinner_get_downloadDinner", qMsg, fileName,
res => {
this.loading = false;
});
} }
}, },
mounted() { mounted() {
......
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