|
@@ -141,6 +141,16 @@
|
|
|
>值班导出
|
|
|
</el-button>
|
|
|
</el-col>
|
|
|
+ <el-col :span="1.5">
|
|
|
+ <el-button
|
|
|
+ type="warning"
|
|
|
+ icon="el-icon-download"
|
|
|
+ size="mini"
|
|
|
+ @click="handleExportNowAll"
|
|
|
+ v-hasPermi="['invoice:bookingworkticket:export']"
|
|
|
+ >导出当前所有
|
|
|
+ </el-button>
|
|
|
+ </el-col>
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="cancelQuery"></right-toolbar>
|
|
|
</el-row>
|
|
|
|
|
@@ -526,6 +536,7 @@ import {
|
|
|
updateBookingworkticket,
|
|
|
exportBookingworkticket,
|
|
|
exportBookingworkticketZb,
|
|
|
+ exportBookingworkticketNowAll,
|
|
|
cancelBookingworkticket,
|
|
|
importTemplate,
|
|
|
seeBookingworkticket,
|
|
@@ -864,7 +875,6 @@ export default {
|
|
|
},
|
|
|
//根据用户单位 查询对应选择的用户主管 根据用户单位 字段 查找对应的多个主管 返回 Sysuser的集合(id,name)
|
|
|
checkCategoryPromotion(oneId) {
|
|
|
-
|
|
|
getUserByUnit(oneId).then(response => {
|
|
|
// this.form.userMg=null;
|
|
|
this.userMgOptions = response.data;
|
|
@@ -1289,6 +1299,7 @@ export default {
|
|
|
/** 导出按钮操作 */
|
|
|
handleExport() {
|
|
|
const queryParams = this.queryParams;
|
|
|
+ queryParams.status = null
|
|
|
this.$confirm('是否确认导出所有预约作业票台账数据项?', "警告", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
@@ -1312,6 +1323,22 @@ export default {
|
|
|
this.download(response.msg);
|
|
|
})
|
|
|
},
|
|
|
+
|
|
|
+ /** 当前所有导出按钮操作 */
|
|
|
+ handleExportNowAll() {
|
|
|
+ const queryParams = this.queryParams;
|
|
|
+ queryParams.status = 7
|
|
|
+ this.$confirm('是否确认导出预约作业票台账数据项?', "警告", {
|
|
|
+ confirmButtonText: "确定",
|
|
|
+ cancelButtonText: "取消",
|
|
|
+ type: "warning"
|
|
|
+ }).then(function () {
|
|
|
+ return exportBookingworkticket(queryParams);
|
|
|
+ }).then(response => {
|
|
|
+ queryParams.status = null
|
|
|
+ this.download(response.msg);
|
|
|
+ })
|
|
|
+ },
|
|
|
/** 导出按钮操作 */
|
|
|
handleExportToday() {
|
|
|
const queryParams = {};
|
|
@@ -1329,6 +1356,9 @@ export default {
|
|
|
// 预约续票
|
|
|
handleXp(row) {
|
|
|
this.xpForm = base.deepClone(row)
|
|
|
+ if(!this.xpForm.yqxkzh) {
|
|
|
+ this.xpForm.yqxkzh = 'V'
|
|
|
+ }
|
|
|
this.xpVisible = true
|
|
|
},
|
|
|
//提交预约续票
|