故障查询调整

This commit is contained in:
joylink_zhaoerwei 2024-11-08 17:59:50 +08:00
parent 7971887d2c
commit f10e55ce0d

View File

@ -56,7 +56,11 @@
:options="searchOptionsFaultType"
style="min-width: 130px"
/>
<q-input label="故障内容" v-model="filter.faultName" lazy-rules />
<q-input
:label="inputSearchName"
v-model="filter.faultName"
lazy-rules
/>
<div class="button-container">
<q-btn
color="primary"
@ -144,7 +148,7 @@ const columns =computed(()=> [
required: true,
align: 'center',
},
])
]);
const rows = reactive([]);
const loading = ref(false);
const pagination = ref({
@ -268,12 +272,15 @@ const onDialogShow = () => {
}, 1000);
};
const inputSearchName = ref('');
onMounted(() => {
if (props.dialogTitle == '故障指导') {
inputSearchName.value = '故障现象';
tableTitle.faultNameShower = '故障现象';
tableTitle.faultDriverShower = '司机处理结果';
tableTitle.resultMsg = '行调提醒司机关键点';
} else {
inputSearchName.value = '故障名称';
tableTitle.faultNameShower = '故障名称';
tableTitle.faultDriverShower = '故障现象';
tableTitle.resultMsg = '退出服务地点';