Commit 1e4b1338 authored by 张耀's avatar 张耀

fix:

修复bug:10655 【研发环境】置灰的时间,点击选择是可以选择
parent 2736cb00
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
v-model="filter.finish_time" v-model="filter.finish_time"
type="datetimerange" type="datetimerange"
value-format="YYYY-MM-DD HH:mm:ss" value-format="YYYY-MM-DD HH:mm:ss"
:disabled-date="disabledDate"
range-separator="-" range-separator="-"
start-placeholder="开始时间" start-placeholder="开始时间"
end-placeholder="结束时间"> end-placeholder="结束时间">
...@@ -134,6 +135,9 @@ const filterClear = () => { ...@@ -134,6 +135,9 @@ const filterClear = () => {
const tableTotal = ref(0); const tableTotal = ref(0);
const ticketLevelOptions = ["全部", "紧急任务", "重要任务", "一般任务"]; const ticketLevelOptions = ["全部", "紧急任务", "重要任务", "一般任务"];
const statusOptions = ["全部", "待处置", "已完成", "已关闭"]; const statusOptions = ["全部", "待处置", "已完成", "已关闭"];
const disabledDate = (time) => {
return time.getTime() > Date.now();
};
let headers = reactive([ let headers = reactive([
{ {
label: "工单名称", label: "工单名称",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment