保存进度!
This commit is contained in:
parent
baee2ded2e
commit
b94939fbd6
@ -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>
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
* @Author: Kane
|
||||
* @Date: 2023-01-25 23:13:47
|
||||
* @LastEditors: Kane
|
||||
* @LastEditTime: 2023-02-01 01:21:07
|
||||
* @LastEditTime: 2023-02-01 18:02:24
|
||||
* @FilePath: \IT工具综合平台\src\views\requirement\RequirementManager.vue
|
||||
* @Description:
|
||||
*
|
||||
@ -26,7 +26,7 @@
|
||||
<span>需求编号:</span>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-input v-model.trim.lazy="query_param.requirement_serial" placeholder="请输入末尾三位数字"></el-input>
|
||||
<el-input v-model.trim.lazy="query_param.serial_no" placeholder="请输入末尾三位数字"></el-input>
|
||||
</el-col>
|
||||
<el-col :span="2">
|
||||
<span>申请人:</span>
|
||||
@ -50,13 +50,13 @@
|
||||
<span>提交日期:</span>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-date-picker v-model="query_param.submit_start_date" style="width:100%;"></el-date-picker>
|
||||
<el-date-picker v-model="query_param.commit_start_date" style="width:100%;"></el-date-picker>
|
||||
</el-col>
|
||||
<el-col :span="2">
|
||||
<span>至:</span>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-date-picker v-model="query_param.submit_end_date" style="width:100%;"></el-date-picker>
|
||||
<el-date-picker v-model="query_param.commit_end_date" style="width:100%;"></el-date-picker>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<div class="button-wrapper-right">
|
||||
@ -132,7 +132,7 @@
|
||||
<span>标题</span>
|
||||
</el-col>
|
||||
<el-col :span="22">
|
||||
<el-input></el-input>
|
||||
<el-input readonly></el-input>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="10">
|
||||
@ -140,40 +140,29 @@
|
||||
<span>需求编号</span>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-input v-model="query_param.requirement_serial"></el-input>
|
||||
<el-input v-model="query_param.serial_no" readonly></el-input>
|
||||
</el-col>
|
||||
<el-col :span="2">
|
||||
<span>申请人</span>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-input v-model="query_param.request_people"></el-input>
|
||||
<el-input readonly v-model="query_param.request_people"></el-input>
|
||||
</el-col>
|
||||
<el-col :span="2">
|
||||
<span>状态</span>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<!-- <el-input v-model="query_param.status"></el-input> -->
|
||||
<el-select multiple collapse-tags collapse-tags-tooltip
|
||||
v-model="query_param.status">
|
||||
<el-option v-for="option in requirement_status" :value="option"
|
||||
:key="option"></el-option>
|
||||
</el-select>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="10">
|
||||
<el-col :span="2">
|
||||
<span>提交日期</span>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-date-picker v-model="query_param.submit_start_date"
|
||||
<el-date-picker readonly v-model="query_param.commit_start_date"
|
||||
style="width:100%;"></el-date-picker>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="10">
|
||||
<el-col :span="2">
|
||||
<span>至</span>
|
||||
<span>状态</span>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-date-picker v-model="query_param.submit_end_date"
|
||||
style="width:100%;"></el-date-picker>
|
||||
<el-input readonly v-model="query_param.status">
|
||||
</el-input>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
@ -226,11 +215,11 @@ export default {
|
||||
table_current_page: 1,//分页组件当前的页面索引
|
||||
table_page_size: 10,
|
||||
query_param: {
|
||||
title:"",
|
||||
requirement_serial: "",
|
||||
title: "",
|
||||
serial_no: "",
|
||||
request_people: "",
|
||||
submit_start_date: "",
|
||||
submit_end_date: "",
|
||||
commit_start_date: "",
|
||||
commit_end_date: "",
|
||||
status: "",
|
||||
},
|
||||
requirement_status: [
|
||||
@ -270,22 +259,31 @@ export default {
|
||||
//console.log("router", this.$route);
|
||||
router.push({
|
||||
name: "RequirementEditing",
|
||||
query:{
|
||||
serial:"new",
|
||||
query: {
|
||||
serial: "new",
|
||||
}
|
||||
});
|
||||
},
|
||||
editRequirement( requirement_serial ){
|
||||
editRequirement(requirement_serial)
|
||||
{
|
||||
window.localStorage.setItem("requirement_serial", requirement_serial);
|
||||
|
||||
router.push({
|
||||
name: "RequirementEditing",
|
||||
query:{
|
||||
serial:requirement_serial,
|
||||
query: {
|
||||
serial: requirement_serial,
|
||||
}
|
||||
});
|
||||
|
||||
},
|
||||
},
|
||||
//声明周期
|
||||
created()
|
||||
{
|
||||
this.query_param.commit_end_date = new Date(Date.now());
|
||||
this.query_param.commit_start_date = new Date();
|
||||
|
||||
this.query_param.commit_start_date.setMonth(this.query_param.commit_end_date.getMonth() - 1);
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
Loading…
x
Reference in New Issue
Block a user