Commit d41468b3 authored by caimeng's avatar caimeng

允许跨域携带cookie

parent ced24a30
......@@ -87,6 +87,7 @@ const handleData = ({ config, data, status, statusText }) => {
const instance = axios.create({
baseURL:API_URL,
timeout: requestTimeout,
withCredentials: true,
headers: {
'Content-Type': contentType,
},
......
......@@ -252,9 +252,13 @@
<el-row>
<el-col :span="5">
<el-form-item prop="incomeTimeBefore">
<el-input
<el-time-picker
v-model="form.incomeTimeBefore"
style="width: 80px"
style="width: 120px"
placeholder="起始时间"
:picker-options="{
selectableRange: '00:00:00 - 23:59:59'
}"
/>
</el-form-item>
</el-col>
......@@ -265,14 +269,14 @@
</el-col>
<el-col :span="5">
<el-form-item prop="incomeTimeLate">
<el-input
<el-time-picker
v-model="form.incomeTimeLate"
style="width: 130px"
>
<template slot="append">
</template>
</el-input>
style="width: 120px"
placeholder="结束时间"
:picker-options="{
selectableRange: '00:00:00 - 23:59:59'
}"
/>
</el-form-item>
</el-col>
</el-row>
......
......@@ -249,11 +249,15 @@
label="每日进件时间"
>
<el-row>
<el-col :span="5">
<el-col :span="7">
<el-form-item prop="incomeTimeBefore">
<el-input
<el-time-picker
v-model="form.incomeTimeBefore"
style="width: 80px"
style="width: 120px"
placeholder="起始时间"
:picker-options="{
selectableRange: '00:00:00 - 23:59:59'
}"
/>
</el-form-item>
</el-col>
......@@ -262,16 +266,16 @@
~
</div>
</el-col>
<el-col :span="5">
<el-col :span="7">
<el-form-item prop="incomeTimeLate">
<el-input
<el-time-picker
v-model="form.incomeTimeLate"
style="width: 130px"
>
<template slot="append">
</template>
</el-input>
style="width: 120px"
placeholder="结束时间"
:picker-options="{
selectableRange: '00:00:00 - 23:59:59'
}"
/>
</el-form-item>
</el-col>
</el-row>
......
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