Commit c936875a authored by qiaoyajun's avatar qiaoyajun

投诉报表

parent 0531f5cf
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
<li> <li>
<input type="button" class="hollowFixedBtn" value="查询" @click="getList(),resetPageIndex()"/>&nbsp; <input type="button" class="hollowFixedBtn" value="查询" @click="getList(),resetPageIndex()"/>&nbsp;
<input type="button" class="normalBtn" value="新增" @click="goUrl('AddComplaints',0)"/> <input type="button" class="normalBtn" value="新增" @click="goUrl('AddComplaints',0)"/>
<input type="button" class="normalBtn" value="导出"/> <input type="button" class="normalBtn" value="导出" @click="exportExcel()"/>
</li> </li>
</ul> </ul>
</div> </div>
...@@ -422,6 +422,22 @@ ...@@ -422,6 +422,22 @@
} }
}) })
}, },
exportExcel() {
console.log(111)
//导出报表
let msg = JSON.parse(JSON.stringify(this.queryMsg))
if (msg.ID == '') {
msg.ID = 0
}
if (msg.OrderID == '') {
msg.OrderID = 0
}
if (msg.TCID == '') {
msg.TCID = 0
}
var fileName = "投诉报表.xls";
this.GetLocalFile("get_complain_GetExport", msg, fileName);
},
}, },
mounted () { mounted () {
this.getLineList() this.getLineList()
......
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