|
|
@ -146,6 +146,7 @@ import ButtonBar from '@/components/ButtonBar' |
|
|
|
import req from '@/api/operation/repairbill' |
|
|
|
import repairbillAdd from './repairbillAdd' |
|
|
|
import repairbillInfo from './repairbillInfo' |
|
|
|
import { typeValues } from '@/api/Common/dictcommons' |
|
|
|
|
|
|
|
export default { |
|
|
|
name: 'RepairBill', |
|
|
@ -195,20 +196,7 @@ export default { |
|
|
|
tableKey: 0, |
|
|
|
list: [], |
|
|
|
sids: [], // 用于导出的时候保存已选择的SIDs |
|
|
|
billType_list: [ |
|
|
|
{ |
|
|
|
dictKey: '0', |
|
|
|
dictValue: '正常工单' |
|
|
|
}, |
|
|
|
{ |
|
|
|
dictKey: '1', |
|
|
|
dictValue: '保险理赔' |
|
|
|
}, |
|
|
|
{ |
|
|
|
dictKey: '2', |
|
|
|
dictValue: '协议单位' |
|
|
|
} |
|
|
|
], |
|
|
|
billType_list: [], |
|
|
|
state_list: [ |
|
|
|
{ |
|
|
|
dictKey: '1', |
|
|
@ -216,7 +204,7 @@ export default { |
|
|
|
}, |
|
|
|
{ |
|
|
|
dictKey: '0', |
|
|
|
dictValue: '是' |
|
|
|
dictValue: '否' |
|
|
|
} |
|
|
|
], |
|
|
|
FormLoading: false, |
|
|
@ -224,7 +212,7 @@ export default { |
|
|
|
// 翻页 |
|
|
|
listQuery: { |
|
|
|
current: 1, |
|
|
|
size: 10, |
|
|
|
size: 5, |
|
|
|
total: 0, |
|
|
|
params: { |
|
|
|
startTime: '', |
|
|
@ -258,12 +246,20 @@ export default { |
|
|
|
}, |
|
|
|
created() { |
|
|
|
// 初始化变量 |
|
|
|
this.init() |
|
|
|
this.getList() |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
this.$refs['btnbar'].setButtonList(this.btnList) |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
init() { |
|
|
|
typeValues({ type: 'billType' }).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.billType_list = res.data |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 搜索条件效果 |
|
|
|
clicksearchShow() { |
|
|
|
this.isSearchShow = !this.isSearchShow |
|
|
@ -333,7 +329,7 @@ export default { |
|
|
|
handleReset() { |
|
|
|
this.listQuery = { |
|
|
|
current: 1, |
|
|
|
size: 10, |
|
|
|
size: 5, |
|
|
|
total: 0, |
|
|
|
params: { |
|
|
|
startTime: '', |
|
|
|