2023-01-29 10:17:49 +08:00
|
|
|
<!--
|
|
|
|
* @Author: Kane
|
|
|
|
* @Date: 2023-01-06 15:30:12
|
|
|
|
* @LastEditors: Kane
|
2023-02-01 20:02:42 +08:00
|
|
|
* @LastEditTime: 2023-02-01 16:07:55
|
|
|
|
* @FilePath: \IT工具综合平台\src\views\overview\Desktop.vue
|
2023-01-29 10:17:49 +08:00
|
|
|
* @Description:
|
|
|
|
*
|
|
|
|
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
|
|
|
-->
|
|
|
|
<template>
|
|
|
|
<el-form :inline="true" label-width="5em" class="query_form">
|
|
|
|
<el-row :gutter="10">
|
|
|
|
<el-col :span="7">
|
|
|
|
<el-form-item label="需求编号">
|
|
|
|
<el-input style="width:100%;"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="7">
|
|
|
|
<el-form-item label="标题">
|
|
|
|
<el-input style="width:100%;"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="7">
|
|
|
|
<el-form-item label="提交人">
|
|
|
|
<el-input style="width:100%;"></el-input>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="3"></el-col>
|
|
|
|
</el-row>
|
|
|
|
<el-row :gutter="10">
|
|
|
|
<el-col :span="7">
|
|
|
|
<el-form-item label="状态">
|
|
|
|
<el-select style="width:100%;">
|
|
|
|
<el-option key="部门审批" value="部门审批"></el-option>
|
|
|
|
<el-option key="需求分析" value="需求分析">需求分析</el-option>
|
|
|
|
<el-option key="技术开发" value="技术开发">技术开发</el-option>
|
|
|
|
<el-option key="被退回" value="被退回"></el-option>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="7">
|
|
|
|
<el-form-item label="提交日期">
|
2023-02-01 20:02:42 +08:00
|
|
|
<el-date-picker style="width:100%;" v-model="start_date"></el-date-picker>
|
2023-01-29 10:17:49 +08:00
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="7">
|
|
|
|
<el-form-item label="至">
|
2023-02-01 20:02:42 +08:00
|
|
|
<el-date-picker style="width:100%;" v-model="end_date"></el-date-picker>
|
2023-01-29 10:17:49 +08:00
|
|
|
</el-form-item>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="3"></el-col>
|
|
|
|
</el-row>
|
2023-02-01 20:02:42 +08:00
|
|
|
<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>
|
2023-01-29 10:17:49 +08:00
|
|
|
</el-form>
|
2023-01-30 23:25:57 +08:00
|
|
|
<el-button type="danger" @click="test_1">测试</el-button>
|
2023-01-29 10:17:49 +08:00
|
|
|
</template>
|
|
|
|
|
2023-02-01 20:02:42 +08:00
|
|
|
<script >
|
2023-01-29 10:17:49 +08:00
|
|
|
export default {
|
2023-01-30 23:25:57 +08:00
|
|
|
name: "DeskTop",
|
2023-02-01 20:02:42 +08:00
|
|
|
data()
|
|
|
|
{
|
|
|
|
return {
|
|
|
|
start_date: null,
|
|
|
|
end_date: null,
|
|
|
|
};
|
|
|
|
},
|
2023-01-30 23:25:57 +08:00
|
|
|
methods: {
|
|
|
|
test_1()
|
|
|
|
{
|
|
|
|
this.deleteConfirm();
|
|
|
|
},
|
|
|
|
},
|
2023-02-01 20:02:42 +08:00
|
|
|
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();
|
|
|
|
}
|
2023-01-29 10:17:49 +08:00
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
.query_form {
|
|
|
|
max-width: 63em;
|
|
|
|
}
|
|
|
|
</style>
|