|
|
@ -37,7 +37,7 @@ |
|
|
|
<InputSearch |
|
|
|
style="width: 402px;" |
|
|
|
:formList="searchFormList" |
|
|
|
:formConfigOptions="{ labelWidth: '72px' }" |
|
|
|
:formConfigOptions="{ labelWidth: '100px' }" |
|
|
|
placeholder="请输入姓名、电话,回车搜索" |
|
|
|
type="input" |
|
|
|
:params="params" |
|
|
@ -133,6 +133,7 @@ import request from "@/utils/request"; |
|
|
|
import { setLoading } from "@screen/utils/index.js" |
|
|
|
import { delay, exportFile, confirm, uploadFile } from "@screen/utils/common"; |
|
|
|
import { Message } from "element-ui"; |
|
|
|
import { getSelectOptionsStation } from "@screen/pages/control/event/businessDataManagement/utils.js"; |
|
|
|
|
|
|
|
export default { |
|
|
|
name: 'DutyOfficer', |
|
|
@ -173,12 +174,21 @@ export default { |
|
|
|
{ |
|
|
|
label: "值班日期:", |
|
|
|
key: "date", |
|
|
|
required: true, |
|
|
|
required: false, |
|
|
|
type: "datePicker", |
|
|
|
options: { |
|
|
|
valueFormat: "yyyy-MM-dd" |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "驻点:", |
|
|
|
key: "station", |
|
|
|
type: "select", |
|
|
|
options: { |
|
|
|
clearable: true, |
|
|
|
options: [], |
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
operateRecordVisible: false, |
|
|
|
modifyDutyInformationTableVisible: false, |
|
|
@ -189,8 +199,15 @@ export default { |
|
|
|
}, |
|
|
|
created() { |
|
|
|
this.getData(); |
|
|
|
this.getOptions(); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
async getOptions() { |
|
|
|
|
|
|
|
const result = await getSelectOptionsStation(2); |
|
|
|
|
|
|
|
this.searchFormList[1].options.options = result; |
|
|
|
}, |
|
|
|
handleOperateRecord(bool, data) { |
|
|
|
this.operateRecordVisible = bool; |
|
|
|
this.dialogData = data; |
|
|
|