保存进度!

This commit is contained in:
Kane Wang 2023-02-23 18:10:53 +08:00
parent f24a47f27d
commit 6d6ce6025b
5 changed files with 47 additions and 55 deletions

View File

@ -1,11 +1,14 @@
{
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.51.0",
"@typescript-eslint/parser": "^5.51.0",
"eslint": "^8.33.0"
},
"dependencies": {
"axios": "^1.3.2",
"pako": "^2.1.0"
}
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.51.0",
"@typescript-eslint/parser": "^5.51.0",
"eslint": "^8.33.0",
"ts-loader": "^9.4.2",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"axios": "^1.3.2",
"pako": "^2.1.0"
}
}

View File

@ -0,0 +1,11 @@
/*
* @Author: Kane
* @Date: 2023-02-23 16:15:45
* @LastEditors: Kane
* @LastEditTime: 2023-02-23 16:16:04
* @FilePath: //webpack.config.js
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*/
const path = require("path");

View File

@ -2,8 +2,8 @@
* @Author: Kane
* @Date: 2023-02-06 14:12:11
* @LastEditors: Kane
* @LastEditTime: 2023-02-08 10:46:41
* @FilePath: /IT/src/utils/api/LocalStorage.js
* @LastEditTime: 2023-02-23 16:00:54
* @FilePath: /it-console/src/utils/api/LocalStorage.js
* @Description: 初始化localStorage中保存的值
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
@ -12,11 +12,12 @@
//常量
const REQUIREMRNT_UI = `requirement_ui`;
//需求管理模块
/**
*
* @returns 读取并装配好的ui对象
*/
function loadRequirementUI()
{
// debugger;
let requirementUI = null;
try
@ -30,30 +31,12 @@ function loadRequirementUI()
}
//如果之前不存在json转换结果也会是null
if (requirementUI === null)
{
requirementUI = {};
}
if (requirementUI.selected_status === undefined)
{
requirementUI.selected_status = [];
}
if (requirementUI.title === undefined)
{
requirementUI.title = "";
}
if (requirementUI.serial_no === undefined)
{
requirementUI.serial_no = "";
}
if (requirementUI.request_people === undefined)
{
requirementUI.request_people = "";
}
requirementUI = requirementUI || {};
requirementUI.selected_status = requirementUI.selected_status || [];
requirementUI.title = requirementUI.title || "";
requirementUI.serial_no = requirementUI.serial_no || "";
requirementUI.request_people = requirementUI.request_people || "";
requirementUI.commit_end_date = requirementUI.commit_end_date || new Date();
if (requirementUI.commit_start_date === undefined)
{
@ -62,11 +45,6 @@ function loadRequirementUI()
requirementUI.commit_start_date.setDate(1);
}
if (requirementUI.commit_end_date === undefined)
{
requirementUI.commit_end_date = new Date();
}
return requirementUI;
}

View File

@ -11,7 +11,7 @@
* @Author: Kane
* @Date: 2023-02-21 11:03:15
* @LastEditors: Kane
* @LastEditTime: 2023-02-23 09:59:16
* @LastEditTime: 2023-02-23 10:18:25
* @FilePath: /it-console/src/views/info/StaffInfo.vue
* @Description:<
*
@ -25,19 +25,19 @@
<span>姓名</span>
</el-col>
<el-col :span="4">
<el-input v-model="query_param.stuffName"></el-input>
<el-input v-model.trim.lazy="query_param.stuffName"></el-input>
</el-col>
<el-col :span="2">
<span>工号</span>
</el-col>
<el-col :span="4">
<el-input v-model="query_param.stuffName"></el-input>
<el-input v-model.trim.lazy="query_param.stuffCode"></el-input>
</el-col>
<el-col :span="2">
<span>P13账号</span>
</el-col>
<el-col :span="4">
<el-input v-model="query_param.stuffName"></el-input>
<el-input v-model.trim.lazy="query_param.p13UID"></el-input>
</el-col>
</el-row>
<el-row :gutter="10">
@ -45,13 +45,13 @@
<span>部门</span>
</el-col>
<el-col :span="4">
<el-input v-model="query_param.stuffName"></el-input>
<el-input v-model.trim.lazy="query_param.departmentName"></el-input>
</el-col>
<el-col :span="2">
<span>部门代码</span>
</el-col>
<el-col :span="4">
<el-input v-model="query_param.stuffName"></el-input>
<el-input v-model.trim.lazy="query_param.departmentCode"></el-input>
</el-col>
<el-col :span="6">
<div class="toolbutton-wrapper">

View File

@ -2,8 +2,8 @@
* @Author: Kane
* @Date: 2023-02-02 22:19:12
* @LastEditors: Kane
* @LastEditTime: 2023-02-22 23:02:30
* @FilePath: /IT/src/views/requirement/RequirementManager.vue
* @LastEditTime: 2023-02-23 15:51:11
* @FilePath: /it-console/src/views/requirement/RequirementManager.vue
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
@ -229,10 +229,10 @@
</el-tab-pane>
</el-tabs>
<!-- <template #footer>
<div class="dialogFooter">
<el-button type="primary" @click="dialogRequirementDetailVisible = false;">关闭</el-button>
</div>
</template> -->
<div class="dialogFooter">
<el-button type="primary" @click="dialogRequirementDetailVisible = false;">关闭</el-button>
</div>
</template> -->
</el-dialog>
</div>
</template>