保存进度!
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
* @Author: Kane
|
||||
* @Date: 2023-01-06 15:30:12
|
||||
* @LastEditors: Kane
|
||||
* @LastEditTime: 2023-01-30 22:54:11
|
||||
* @FilePath: \IT工具综合平台\src\views\overview\desktop.vue
|
||||
* @LastEditTime: 2023-02-01 16:07:55
|
||||
* @FilePath: \IT工具综合平台\src\views\overview\Desktop.vue
|
||||
* @Description:
|
||||
*
|
||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
@@ -41,29 +41,52 @@
|
||||
</el-col>
|
||||
<el-col :span="7">
|
||||
<el-form-item label="提交日期">
|
||||
<el-date-picker style="width:100%;"></el-date-picker>
|
||||
<el-date-picker style="width:100%;" v-model="start_date"></el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="7">
|
||||
<el-form-item label="至">
|
||||
<el-date-picker style="width:100%;"></el-date-picker>
|
||||
<el-date-picker style="width:100%;" v-model="end_date"></el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="3"></el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="14">
|
||||
<el-form-item label="提交日期">
|
||||
<el-date-picker type="daterange" range-separator="至" style="width:100%;"></el-date-picker>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="10"></el-col>
|
||||
</el-row>
|
||||
</el-form>
|
||||
<el-button type="danger" @click="test_1">测试</el-button>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script >
|
||||
export default {
|
||||
name: "DeskTop",
|
||||
data()
|
||||
{
|
||||
return {
|
||||
start_date: null,
|
||||
end_date: null,
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
test_1()
|
||||
{
|
||||
this.deleteConfirm();
|
||||
},
|
||||
},
|
||||
created()
|
||||
{
|
||||
this.end_date = new Date(Date.now());
|
||||
this.start_date = new Date();
|
||||
|
||||
this.start_date.setMonth(this.end_date.getMonth() - 1);
|
||||
//this.start_date.setMonth();
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
|
Reference in New Issue
Block a user