保存进度!
This commit is contained in:
		@@ -2,8 +2,8 @@
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2022-12-14 15:12:46
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @LastEditTime: 2023-02-06 00:36:26
 | 
			
		||||
 * @FilePath: /IT工具综合平台/.eslintrc.js
 | 
			
		||||
 * @LastEditTime: 2023-02-28 09:14:16
 | 
			
		||||
 * @FilePath: /deskop_task_schedule/code/web/task_schedule/.eslintrc.js
 | 
			
		||||
 * @Description: 
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
			
		||||
@@ -19,6 +19,7 @@ module.exports = {
 | 
			
		||||
  ],
 | 
			
		||||
  parserOptions: {
 | 
			
		||||
    parser: '@babel/eslint-parser',
 | 
			
		||||
    requireConfigFile: false,
 | 
			
		||||
  },
 | 
			
		||||
  rules: {
 | 
			
		||||
    'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										1
									
								
								code/web/task_schedule/.npmrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								code/web/task_schedule/.npmrc
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
registry=https://registry.npm.taobao.org/
 | 
			
		||||
							
								
								
									
										13151
									
								
								code/web/task_schedule/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										13151
									
								
								code/web/task_schedule/package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -1,29 +1,32 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "task_schedule",
 | 
			
		||||
  "private": true,
 | 
			
		||||
  "version": "0.0.0",
 | 
			
		||||
  "type": "module",
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "dev": "vite",
 | 
			
		||||
    "build": "vite build",
 | 
			
		||||
    "preview": "vite preview"
 | 
			
		||||
  },
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "@babel/eslint-parser": "^7.19.1",
 | 
			
		||||
    "@element-plus/icons-vue": "^2.0.10",
 | 
			
		||||
    "element-plus": "^2.2.30",
 | 
			
		||||
    "moment": "^2.29.4",
 | 
			
		||||
    "vue": "^3.2.45",
 | 
			
		||||
    "vue-router": "^4.1.6",
 | 
			
		||||
    "vuex": "^4.1.0"
 | 
			
		||||
  },
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "@babel/eslint-parser": "^7.19.1",
 | 
			
		||||
    "@vitejs/plugin-vue": "^4.0.0",
 | 
			
		||||
    "@vue/cli-plugin-eslint": "^5.0.8",
 | 
			
		||||
    "eslint": "^8.35.0",
 | 
			
		||||
    "eslint-config-recommended": "^4.1.0",
 | 
			
		||||
    "eslint-plugin-vue": "^9.9.0",
 | 
			
		||||
    "vite": "^4.1.0"
 | 
			
		||||
  }
 | 
			
		||||
    "name": "task_schedule",
 | 
			
		||||
    "private": true,
 | 
			
		||||
    "version": "0.0.0",
 | 
			
		||||
    "scripts": {
 | 
			
		||||
        "dev": "vite",
 | 
			
		||||
        "build": "vite build",
 | 
			
		||||
        "preview": "vite preview"
 | 
			
		||||
    },
 | 
			
		||||
    "dependencies": {
 | 
			
		||||
        "@babel/eslint-parser": "^7.19.1",
 | 
			
		||||
        "@element-plus/icons-vue": "^2.0.10",
 | 
			
		||||
        "@typescript-eslint/eslint-plugin": "^5.54.0",
 | 
			
		||||
        "@typescript-eslint/parser": "^5.54.0",
 | 
			
		||||
        "babel": "^6.23.0",
 | 
			
		||||
        "element-plus": "^2.2.30",
 | 
			
		||||
        "moment": "^2.29.4",
 | 
			
		||||
        "typescript": "^4.9.5",
 | 
			
		||||
        "vue": "^3.2.45",
 | 
			
		||||
        "vue-router": "^4.1.6",
 | 
			
		||||
        "vuex": "^4.1.0"
 | 
			
		||||
    },
 | 
			
		||||
    "devDependencies": {
 | 
			
		||||
        "@babel/eslint-parser": "^7.19.1",
 | 
			
		||||
        "@vitejs/plugin-vue": "^4.0.0",
 | 
			
		||||
        "@vue/cli-plugin-eslint": "^5.0.8",
 | 
			
		||||
        "eslint": "^8.35.0",
 | 
			
		||||
        "eslint-config-recommended": "^4.1.0",
 | 
			
		||||
        "eslint-plugin-vue": "^9.9.0",
 | 
			
		||||
        "vite": "^4.1.0"
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,40 +0,0 @@
 | 
			
		||||
<script setup>
 | 
			
		||||
import { ref } from 'vue'
 | 
			
		||||
 | 
			
		||||
defineProps({
 | 
			
		||||
  msg: String,
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
const count = ref(0)
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<template>
 | 
			
		||||
  <h1>{{ msg }}</h1>
 | 
			
		||||
 | 
			
		||||
  <div class="card">
 | 
			
		||||
    <button type="button" @click="count++">count is {{ count }}</button>
 | 
			
		||||
    <p>
 | 
			
		||||
      Edit
 | 
			
		||||
      <code>components/HelloWorld.vue</code> to test HMR
 | 
			
		||||
    </p>
 | 
			
		||||
  </div>
 | 
			
		||||
 | 
			
		||||
  <p>
 | 
			
		||||
    Check out
 | 
			
		||||
    <a href="https://vuejs.org/guide/quick-start.html#local" target="_blank"
 | 
			
		||||
      >create-vue</a
 | 
			
		||||
    >, the official Vue + Vite starter
 | 
			
		||||
  </p>
 | 
			
		||||
  <p>
 | 
			
		||||
    Install
 | 
			
		||||
    <a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>
 | 
			
		||||
    in your IDE for a better DX
 | 
			
		||||
  </p>
 | 
			
		||||
  <p class="read-the-docs">Click on the Vite and Vue logos to learn more</p>
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<style scoped>
 | 
			
		||||
.read-the-docs {
 | 
			
		||||
  color: #888;
 | 
			
		||||
}
 | 
			
		||||
</style>
 | 
			
		||||
@@ -2,21 +2,31 @@
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2023-02-28 00:57:21
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @FilePath: /task_schedule/src/components/login/Login.vue
 | 
			
		||||
 * @FilePath: /deskop_task_schedule/code/web/task_schedule/src/components/login/Login.vue
 | 
			
		||||
 * @Description: 
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
			
		||||
-->
 | 
			
		||||
<template>
 | 
			
		||||
    登录页面
 | 
			
		||||
    <el-input v-model="ui.p13uid"></el-input>
 | 
			
		||||
    <el-button type="danger">保存</el-button>
 | 
			
		||||
    <span>{{ ui.p13uid }}</span>
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script lang="ts">
 | 
			
		||||
export default {
 | 
			
		||||
    name: "Login",
 | 
			
		||||
    setup(): void
 | 
			
		||||
    {
 | 
			
		||||
import { reactive } from "vue";
 | 
			
		||||
 | 
			
		||||
export default {
 | 
			
		||||
    name: "LoginPage",
 | 
			
		||||
    setup()
 | 
			
		||||
    {
 | 
			
		||||
        const ui = reactive({
 | 
			
		||||
            p13uid: "",
 | 
			
		||||
        });
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        return { ui, };
 | 
			
		||||
    },
 | 
			
		||||
};
 | 
			
		||||
</script>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,12 +1,13 @@
 | 
			
		||||
/*
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2023-02-28 00:20:48
 | 
			
		||||
 * @Date: 2023-02-28 01:22:48
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @FilePath: /task_schedule/src/router/index.js
 | 
			
		||||
 * @Description: 路由配置文件
 | 
			
		||||
 * @FilePath: /deskop_task_schedule/code/web/task_schedule/src/router/index.js
 | 
			
		||||
 * @Description: 
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
import { createRouter, createWebHashHistory } from "vue-router";
 | 
			
		||||
 | 
			
		||||
const routes = [
 | 
			
		||||
 
 | 
			
		||||
@@ -0,0 +1,13 @@
 | 
			
		||||
/*
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2023-02-28 09:26:45
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @FilePath: /deskop_task_schedule/code/web/task_schedule/src/utils/localStorage/localStorage.js
 | 
			
		||||
 * @Description: 
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
			
		||||
 */
 | 
			
		||||
function loadStaffInfo()
 | 
			
		||||
{
 | 
			
		||||
    // const staffInfo:string = "";
 | 
			
		||||
}
 | 
			
		||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user