This commit is contained in:
lb
2023-03-24 16:06:29 +08:00
parent 766de83deb
commit 13561c2acc
9 changed files with 78 additions and 55 deletions

View File

@@ -6,6 +6,7 @@
@close="handleClose"
:destroy-on-close="false"
:close-on-click-modal="configs.clickModalToClose ?? true"
:width="configs.dialogWidth ?? '50%'"
>
<!-- main content -->
<BaseListTable

View File

@@ -5,6 +5,7 @@
@close="handleClose"
:destroy-on-close="false"
:close-on-click-modal="configs.clickModalToClose ?? true"
:width="configs.dialogWidth ?? '50%'"
>
<!-- title -->
<div slot="title" class="dialog-title">
@@ -373,7 +374,7 @@ export default {
httpPayload = {
...httpPayload,
startTime: startTime ? moment(startTime).format("YYYY-MM-DDTHH:mm:ss") : moment().format("YYYY-MM-DDTHH:mm:ss"),
endTime: endTime ? moment(endTime).format("YYYY-MM-DDTHH:mm:ss") : moment().format("YYYY-MM-DDTHH:mm:ss"),
endTime: endTime ? moment(endTime).format("YYYY-MM-DDTHH:mm:ss") : null, // moment().format("YYYY-MM-DDTHH:mm:ss"),
};
}
@@ -438,7 +439,7 @@ export default {
break;
}
case "add-car-payload": {
console.log('edit-car-payload', payload)
console.log("edit-car-payload", payload);
this.addOrUpdate("POST", this.urls.payloadFormUrl);
break;
}

View File

@@ -1,6 +1,6 @@
<template>
<div class="state-select">
<select name="state" id="state" @change.stop.prevent="handleChange" :key="selectKey" style="color: #606266;">
<select name="state" id="state" @change.stop.prevent="handleChange" :key="selectKey" style="color: #606266">
<option v-for="(opt, index) in options" :key="index" :value="opt.value" :selected="chosen === opt.value">
{{ opt.label }}
</option>
@@ -86,5 +86,12 @@ export default {
width: 100%;
/* appearance: unset; */
border: none;
cursor: pointer;
border: 1px solid transparent;
transition: border .3s ease-out;
}
.state-select >>> #state:hover {
border: 1px solid #ccc;
}
</style>