|
@@ -119,13 +119,18 @@ export default {
|
|
|
Detail
|
|
|
},
|
|
|
props: {
|
|
|
+ type: {
|
|
|
+ type: Number,
|
|
|
+ default: 1
|
|
|
+ }
|
|
|
},
|
|
|
data () {
|
|
|
return {
|
|
|
// 查询参数
|
|
|
queryParam: {
|
|
|
searchStartTime: null,
|
|
|
- searchEndTime: null
|
|
|
+ searchEndTime: null,
|
|
|
+ type: this.type
|
|
|
},
|
|
|
// 表头
|
|
|
columns: [
|
|
@@ -286,11 +291,11 @@ export default {
|
|
|
modal.base(res.data)
|
|
|
})
|
|
|
},
|
|
|
- /* handleCopy (record) {
|
|
|
+ /* handleCopy (record) {
|
|
|
const modal = this.$refs.baseModal
|
|
|
res.data.id = null
|
|
|
modal.base(res.record)
|
|
|
- },*/
|
|
|
+ }, */
|
|
|
handleOk () {
|
|
|
this.queryParam.searchStartTime = this.queryParam.searchStartTime ? this.BaseTool.Date.formatter(this.queryParam.searchStartTime, this.BaseTool.Date.PICKER_NORM_DATE_PATTERN) : null
|
|
|
this.queryParam.searchEndTime = this.queryParam.searchEndTime ? this.BaseTool.Date.formatter(this.queryParam.searchEndTime, this.BaseTool.Date.PICKER_NORM_DATE_PATTERN) : null
|
|
@@ -301,7 +306,9 @@ export default {
|
|
|
this.selectedRows = selectedRows
|
|
|
},
|
|
|
resetSearchForm () {
|
|
|
- this.queryParam = {}
|
|
|
+ this.queryParam = {
|
|
|
+ type: this.type
|
|
|
+ }
|
|
|
this.$refs.table.refresh(true)
|
|
|
},
|
|
|
doExport () {
|