保存进度!
This commit is contained in:
parent
baee2ded2e
commit
b94939fbd6
@ -2,8 +2,8 @@
|
|||||||
* @Author: Kane
|
* @Author: Kane
|
||||||
* @Date: 2023-01-06 15:30:12
|
* @Date: 2023-01-06 15:30:12
|
||||||
* @LastEditors: Kane
|
* @LastEditors: Kane
|
||||||
* @LastEditTime: 2023-01-30 22:54:11
|
* @LastEditTime: 2023-02-01 16:07:55
|
||||||
* @FilePath: \IT工具综合平台\src\views\overview\desktop.vue
|
* @FilePath: \IT工具综合平台\src\views\overview\Desktop.vue
|
||||||
* @Description:
|
* @Description:
|
||||||
*
|
*
|
||||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||||
@ -41,29 +41,52 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="7">
|
<el-col :span="7">
|
||||||
<el-form-item label="提交日期">
|
<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-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="7">
|
<el-col :span="7">
|
||||||
<el-form-item label="至">
|
<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-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="3"></el-col>
|
<el-col :span="3"></el-col>
|
||||||
</el-row>
|
</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-form>
|
||||||
<el-button type="danger" @click="test_1">测试</el-button>
|
<el-button type="danger" @click="test_1">测试</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script >
|
||||||
export default {
|
export default {
|
||||||
name: "DeskTop",
|
name: "DeskTop",
|
||||||
|
data()
|
||||||
|
{
|
||||||
|
return {
|
||||||
|
start_date: null,
|
||||||
|
end_date: null,
|
||||||
|
};
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
test_1()
|
test_1()
|
||||||
{
|
{
|
||||||
this.deleteConfirm();
|
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>
|
</script>
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* @Author: Kane
|
* @Author: Kane
|
||||||
* @Date: 2023-01-25 23:13:47
|
* @Date: 2023-01-25 23:13:47
|
||||||
* @LastEditors: Kane
|
* @LastEditors: Kane
|
||||||
* @LastEditTime: 2023-02-01 01:21:07
|
* @LastEditTime: 2023-02-01 18:02:24
|
||||||
* @FilePath: \IT工具综合平台\src\views\requirement\RequirementManager.vue
|
* @FilePath: \IT工具综合平台\src\views\requirement\RequirementManager.vue
|
||||||
* @Description:
|
* @Description:
|
||||||
*
|
*
|
||||||
@ -26,7 +26,7 @@
|
|||||||
<span>需求编号:</span>
|
<span>需求编号:</span>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="4">
|
<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>
|
||||||
<el-col :span="2">
|
<el-col :span="2">
|
||||||
<span>申请人:</span>
|
<span>申请人:</span>
|
||||||
@ -50,13 +50,13 @@
|
|||||||
<span>提交日期:</span>
|
<span>提交日期:</span>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="4">
|
<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>
|
||||||
<el-col :span="2">
|
<el-col :span="2">
|
||||||
<span>至:</span>
|
<span>至:</span>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="4">
|
<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>
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<div class="button-wrapper-right">
|
<div class="button-wrapper-right">
|
||||||
@ -132,7 +132,7 @@
|
|||||||
<span>标题</span>
|
<span>标题</span>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="22">
|
<el-col :span="22">
|
||||||
<el-input></el-input>
|
<el-input readonly></el-input>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row :gutter="10">
|
<el-row :gutter="10">
|
||||||
@ -140,40 +140,29 @@
|
|||||||
<span>需求编号</span>
|
<span>需求编号</span>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="6">
|
<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>
|
||||||
<el-col :span="2">
|
<el-col :span="2">
|
||||||
<span>申请人</span>
|
<span>申请人</span>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="6">
|
<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>
|
||||||
<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">
|
<el-col :span="2">
|
||||||
<span>提交日期</span>
|
<span>提交日期</span>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="6">
|
<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>
|
style="width:100%;"></el-date-picker>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<el-row :gutter="10">
|
||||||
<el-col :span="2">
|
<el-col :span="2">
|
||||||
<span>至</span>
|
<span>状态</span>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="6">
|
<el-col :span="6">
|
||||||
<el-date-picker v-model="query_param.submit_end_date"
|
<el-input readonly v-model="query_param.status">
|
||||||
style="width:100%;"></el-date-picker>
|
</el-input>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
@ -226,11 +215,11 @@ export default {
|
|||||||
table_current_page: 1,//分页组件当前的页面索引
|
table_current_page: 1,//分页组件当前的页面索引
|
||||||
table_page_size: 10,
|
table_page_size: 10,
|
||||||
query_param: {
|
query_param: {
|
||||||
title:"",
|
title: "",
|
||||||
requirement_serial: "",
|
serial_no: "",
|
||||||
request_people: "",
|
request_people: "",
|
||||||
submit_start_date: "",
|
commit_start_date: "",
|
||||||
submit_end_date: "",
|
commit_end_date: "",
|
||||||
status: "",
|
status: "",
|
||||||
},
|
},
|
||||||
requirement_status: [
|
requirement_status: [
|
||||||
@ -270,22 +259,31 @@ export default {
|
|||||||
//console.log("router", this.$route);
|
//console.log("router", this.$route);
|
||||||
router.push({
|
router.push({
|
||||||
name: "RequirementEditing",
|
name: "RequirementEditing",
|
||||||
query:{
|
query: {
|
||||||
serial:"new",
|
serial: "new",
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
editRequirement( requirement_serial ){
|
editRequirement(requirement_serial)
|
||||||
|
{
|
||||||
window.localStorage.setItem("requirement_serial", requirement_serial);
|
window.localStorage.setItem("requirement_serial", requirement_serial);
|
||||||
|
|
||||||
router.push({
|
router.push({
|
||||||
name: "RequirementEditing",
|
name: "RequirementEditing",
|
||||||
query:{
|
query: {
|
||||||
serial:requirement_serial,
|
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>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user