mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
项目时间搜索
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
format="YYYY-MM-DD"
|
||||
style="border-radius: 8px; height: 40px; margin-left: 5px"
|
||||
:placeholder="[' 开始时间', ' 结束时间']"
|
||||
valueFormat="X"
|
||||
|
||||
/>
|
||||
</div>
|
||||
<div style="display: flex; margin-bottom: 20px">
|
||||
@@ -827,7 +827,7 @@ import * as moment from "moment";
|
||||
import { changeOwnership } from "@/api/method";
|
||||
import NameInput from "@/components/project/NameInput";
|
||||
import { validateName } from "@/api/index1";
|
||||
import { toDate } from "../../api/method";
|
||||
//import { toDate } from "../../api/method";
|
||||
|
||||
export default {
|
||||
name: "projectManage",
|
||||
@@ -1697,16 +1697,13 @@ export default {
|
||||
beginTime:
|
||||
state.searchParam.valueDate &&
|
||||
state.searchParam.valueDate.length === 2
|
||||
? toDate(
|
||||
new Date(state.searchParam.valueDate[0].$d).getTime() / 1000,
|
||||
"Y-M-D")
|
||||
? dayjs(state.searchParam.valueDate[0]).format("YYYY-MM-DD")
|
||||
|
||||
: "",
|
||||
endTime:
|
||||
state.searchParam.valueDate &&
|
||||
state.searchParam.valueDate.length === 2
|
||||
? toDate(
|
||||
new Date(state.searchParam.valueDate[1].$d).getTime() / 1000,
|
||||
"Y-M-D")
|
||||
? dayjs(state.searchParam.valueDate[1]).format("YYYY-MM-DD")
|
||||
: "",
|
||||
})
|
||||
.then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user