|
@@ -101,7 +101,7 @@
|
|
v-hasPermi="['invoice:bookingworkticket:export']"
|
|
v-hasPermi="['invoice:bookingworkticket:export']"
|
|
>导出</el-button>
|
|
>导出</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
|
|
|
+ <right-toolbar :showSearch.sync="showSearch" @queryTable="cancelQuery"></right-toolbar>
|
|
</el-row>
|
|
</el-row>
|
|
|
|
|
|
<el-table v-loading="loading" :data="bookingworkticketList" :span-method="mergeMethod" @selection-change="handleSelectionChange" :height="clientHeight" border>
|
|
<el-table v-loading="loading" :data="bookingworkticketList" :span-method="mergeMethod" @selection-change="handleSelectionChange" :height="clientHeight" border>
|
|
@@ -574,9 +574,11 @@ export default {
|
|
//设置表格高度对应屏幕高度
|
|
//设置表格高度对应屏幕高度
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
this.clientHeight = document.body.clientHeight -250
|
|
this.clientHeight = document.body.clientHeight -250
|
|
|
|
+
|
|
})
|
|
})
|
|
- this.getList();
|
|
|
|
- this.getTreeselect();
|
|
|
|
|
|
+ this.getNowFormatDate()
|
|
|
|
+ this.getList();
|
|
|
|
+ this.getTreeselect();
|
|
//初始化作业区域、 初始化用户单位下拉框
|
|
//初始化作业区域、 初始化用户单位下拉框
|
|
this.getDeviceup();
|
|
this.getDeviceup();
|
|
// this.getOneCategorys();
|
|
// this.getOneCategorys();
|
|
@@ -741,6 +743,7 @@ export default {
|
|
strDate = "0" + strDate;
|
|
strDate = "0" + strDate;
|
|
}
|
|
}
|
|
var currentdate = year + seperator1 + month + seperator1 + strDate;
|
|
var currentdate = year + seperator1 + month + seperator1 + strDate;
|
|
|
|
+ this.queryParams.createdate=currentdate
|
|
return currentdate;
|
|
return currentdate;
|
|
},
|
|
},
|
|
// 重置方法
|
|
// 重置方法
|
|
@@ -849,6 +852,8 @@ export default {
|
|
/** 搜索按钮操作 */
|
|
/** 搜索按钮操作 */
|
|
handleQuery() {
|
|
handleQuery() {
|
|
this.queryParams.pageNum = 1;
|
|
this.queryParams.pageNum = 1;
|
|
|
|
+ //搜索时全放开
|
|
|
|
+ this.queryParams.createdate=null;
|
|
this.getList();
|
|
this.getList();
|
|
},
|
|
},
|
|
/** 重置按钮操作 */
|
|
/** 重置按钮操作 */
|
|
@@ -856,6 +861,12 @@ export default {
|
|
this.resetForm("queryForm");
|
|
this.resetForm("queryForm");
|
|
this.handleQuery();
|
|
this.handleQuery();
|
|
},
|
|
},
|
|
|
|
+ //取消搜索
|
|
|
|
+ cancelQuery() {
|
|
|
|
+ this.resetForm("queryForm");
|
|
|
|
+ this.getNowFormatDate()
|
|
|
|
+ this.getList()
|
|
|
|
+ },
|
|
// 多选框选中数据
|
|
// 多选框选中数据
|
|
handleSelectionChange(selection) {
|
|
handleSelectionChange(selection) {
|
|
this.ids = selection.map(item => item.bookingticketId)
|
|
this.ids = selection.map(item => item.bookingticketId)
|