Compare commits
11 Commits
64b59e02ae
...
feature-re
Author | SHA1 | Date | |
---|---|---|---|
280636bd14 | |||
679c12fb92 | |||
e3ada43d48 | |||
1a1e230ead | |||
8b0f8e618b | |||
a0f23c3a4c | |||
0bf3ae2520 | |||
0c9df7d70d | |||
57dc7568b1 | |||
968eaed581 | |||
304acb5c6c |
@@ -1,3 +1,12 @@
|
||||
VUE_APP_API_URL_LOGIN = "http://222.76.244.118:11001/admin-system/account/p13_account_check"
|
||||
VUE_APP_API_URL_UPLOAD_FILE= "http://222.76.244.118:11001/admin-system/file/file-upload.do"
|
||||
VUE_APP_API_URL_REQUIREMENT_STATUS= "http://222.76.244.118:11001/requirement/query_requirement_status.do"
|
||||
###
|
||||
# @Author: Kane
|
||||
# @Date: 2023-02-23 09:41:37
|
||||
# @LastEditors: Kane
|
||||
# @FilePath: /it-console/.env.development
|
||||
# @Description:
|
||||
#
|
||||
# Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
###
|
||||
VUE_APP_API_URL_LOGIN = "http://222.76.244.118:11101/admin-system/account/p13_account_check"
|
||||
VUE_APP_API_URL_UPLOAD_FILE= "http://222.76.244.118:11101/admin-system/file/file-upload.do"
|
||||
VUE_APP_API_URL_REQUIREMENT_STATUS= "http://222.76.244.118:11101/requirement/query_requirement_status.do"
|
2
code/web/it-console/.npmrc
Normal file
2
code/web/it-console/.npmrc
Normal file
@@ -0,0 +1,2 @@
|
||||
registry=https://registry.npmjs.org/
|
||||
proxy=http://127.0.0.1:7890/
|
19177
code/web/it-console/package-lock.json
generated
19177
code/web/it-console/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -11,48 +11,47 @@
|
||||
"preview-vite": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"@element-plus/icons-vue": "^1.1.4",
|
||||
"@vitejs/plugin-vue": "^4.0.0",
|
||||
"@element-plus/icons-vue": "^2.1.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.57.1",
|
||||
"@typescript-eslint/parser": "^5.57.1",
|
||||
"@vitejs/plugin-vue": "^4.1.0",
|
||||
"@wangeditor/editor": "^5.1.23",
|
||||
"@wangeditor/editor-for-vue": "^5.1.12",
|
||||
"axios": "^1.2.1",
|
||||
"core-js": "^3.8.3",
|
||||
"element-plus": "^2.2.26",
|
||||
"sass": "^1.56.2",
|
||||
"axios": "^1.3.4",
|
||||
"core-js": "^3.30.0",
|
||||
"element-plus": "^2.3.2",
|
||||
"sass": "^1.60.0",
|
||||
"scss": "^0.2.4",
|
||||
"scss-loader": "^0.0.1",
|
||||
"vite": "^4.1.4",
|
||||
"vue": "^3.2.13",
|
||||
"vue-router": "^4.0.3",
|
||||
"vuex": "^4.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.54.0",
|
||||
"@typescript-eslint/parser": "^5.54.0"
|
||||
"vue": "^3.2.47",
|
||||
"vue-router": "^4.1.6",
|
||||
"vuex": "^4.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.12.16",
|
||||
"@babel/eslint-parser": "^7.12.16",
|
||||
"@originjs/vite-plugin-commonjs": "^1.0.1",
|
||||
"@babel/core": "^7.21.4",
|
||||
"@babel/eslint-parser": "^7.21.3",
|
||||
"@originjs/vite-plugin-commonjs": "^1.0.3",
|
||||
"@originjs/vite-plugin-require-context": "1.0.9",
|
||||
"@vitejs/plugin-vue": "^2.0.1",
|
||||
"@vitejs/plugin-vue-jsx": "^1.3.2",
|
||||
"@vue/cli-plugin-babel": "~5.0.0",
|
||||
"@vue/cli-plugin-eslint": "~5.0.0",
|
||||
"@vue/cli-plugin-router": "~5.0.0",
|
||||
"@vue/cli-plugin-vuex": "~5.0.0",
|
||||
"@vue/cli-service": "~5.0.0",
|
||||
"@vue/compiler-sfc": "^3.2.26",
|
||||
"eslint": "^8.35.0",
|
||||
"@vitejs/plugin-vue": "^4.1.0",
|
||||
"@vitejs/plugin-vue-jsx": "^3.0.1",
|
||||
"@vue/cli-plugin-babel": "~5.0.8",
|
||||
"@vue/cli-plugin-eslint": "~5.0.8",
|
||||
"@vue/cli-plugin-router": "~5.0.8",
|
||||
"@vue/cli-plugin-vuex": "~5.0.8",
|
||||
"@vue/cli-service": "~5.0.8",
|
||||
"@vue/compiler-sfc": "^3.2.47",
|
||||
"eslint": "^8.37.0",
|
||||
"eslint-config-recommended": "^4.1.0",
|
||||
"eslint-config-standard-with-typescript": "^34.0.1",
|
||||
"eslint-plugin-vue": "^9.10.0",
|
||||
"node-sass": "^8.0.0",
|
||||
"sass-loader": "^13.2.0",
|
||||
"vite": "^2.7.2",
|
||||
"sass": "^1.60.0",
|
||||
"sass-loader": "^13.2.2",
|
||||
"vite": "^4.2.1",
|
||||
"vite-plugin-env-compatible": "^1.1.1",
|
||||
"vite-plugin-html": "3.2.0",
|
||||
"vue-cli-plugin-element-plus": "~0.0.13",
|
||||
"webpack": "^5.75.0",
|
||||
"webpack-cli": "^5.0.1",
|
||||
"eslint-config-recommended": "^4.1.0",
|
||||
"eslint-config-standard-with-typescript": "^34.0.0",
|
||||
"eslint-plugin-vue": "^9.9.0",
|
||||
"sass": "^1.58.3"
|
||||
"webpack": "^5.77.0",
|
||||
"webpack-cli": "^5.0.1"
|
||||
}
|
||||
}
|
||||
|
@@ -9,19 +9,19 @@
|
||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
-->
|
||||
<template>
|
||||
svg-icon:{{ this.iconName }}
|
||||
svg-icon:{{ iconName }}
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "svg-icon",
|
||||
name: "SvgIcon",
|
||||
props: ["icon",],
|
||||
data()
|
||||
{
|
||||
return {
|
||||
iconName: "",
|
||||
};
|
||||
},
|
||||
props: ["icon",],
|
||||
created()
|
||||
{
|
||||
console.log("svg");
|
||||
|
@@ -2,7 +2,7 @@
|
||||
* @Author: Kane
|
||||
* @Date: 2023-01-04 11:30:33
|
||||
* @LastEditors: Kane
|
||||
* @LastEditTime: 2023-03-21 23:18:41
|
||||
* @LastEditTime: 2023-03-27 14:45:35
|
||||
* @FilePath: /it-console/src/layout/components/Aside.vue
|
||||
* @Description:
|
||||
*
|
||||
@@ -170,10 +170,10 @@ export default {
|
||||
}
|
||||
|
||||
/* 顺序必须在上面两个之后*/
|
||||
.is-active {
|
||||
.el-menu-item.is-active {
|
||||
background-color: #ffffff4f !important;
|
||||
/* font-weight: 1000; */
|
||||
/* font-size: 15px; */
|
||||
font-weight: 1000;
|
||||
font-size: 15px;
|
||||
color: #ffd04b;
|
||||
}
|
||||
|
||||
|
@@ -8,7 +8,7 @@
|
||||
*
|
||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
*/
|
||||
import { createStore } from 'vuex';
|
||||
import { createStore } from "vuex";
|
||||
import app from "./modules/app";
|
||||
import requirement from "./modules/requirement";
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
* @Author: Kane
|
||||
* @Date: 2022-12-14 15:23:54
|
||||
* @LastEditors: Kane
|
||||
* @LastEditTime: 2023-03-22 01:04:54
|
||||
* @LastEditTime: 2023-03-27 15:28:21
|
||||
* @FilePath: /it-console/src/views/account/Login.vue
|
||||
* @Description:
|
||||
*
|
||||
@@ -196,7 +196,7 @@ export default {
|
||||
saveUserInfo(data);
|
||||
|
||||
// 验证成功,跳转路由
|
||||
router.push("/Desktop");
|
||||
router.push("/desktop");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@@ -14,7 +14,7 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "NewsPage"
|
||||
name: "NewsPage",
|
||||
};
|
||||
</script>
|
||||
|
||||
|
@@ -11,8 +11,13 @@
|
||||
<template>
|
||||
信息编辑:{{ getCount }}
|
||||
<br>
|
||||
<el-button type="danger" @click="this.add">计数加一</el-button>
|
||||
<SvgIcon icon="house"></SvgIcon>
|
||||
<el-button
|
||||
type="danger"
|
||||
@click="add"
|
||||
>
|
||||
计数加一
|
||||
</el-button>
|
||||
<SvgIcon icon="house" />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -32,18 +37,18 @@ export default {
|
||||
return this.$store.state.app.count;
|
||||
},
|
||||
},
|
||||
created()
|
||||
{
|
||||
this.store = this.$store;
|
||||
},
|
||||
methods: {
|
||||
add()
|
||||
{
|
||||
let count = this.store.state.app.count + 1;
|
||||
const count = this.store.state.app.count + 1;
|
||||
|
||||
this.store.commit("app/SET_COUNT", count);
|
||||
},
|
||||
},
|
||||
created()
|
||||
{
|
||||
this.store = this.$store;
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
|
@@ -24,7 +24,7 @@
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "NewsPage"
|
||||
name: "NewsPage",
|
||||
};
|
||||
</script>
|
||||
|
||||
|
@@ -8,14 +8,14 @@
|
||||
*
|
||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||
*/
|
||||
import { defineConfig } from 'vite';
|
||||
import path from 'path';
|
||||
import vue from '@vitejs/plugin-vue';
|
||||
import vueJsx from '@vitejs/plugin-vue-jsx';
|
||||
import ViteRequireContext from '@originjs/vite-plugin-require-context';
|
||||
import envCompatible from 'vite-plugin-env-compatible';
|
||||
import { createHtmlPlugin } from 'vite-plugin-html';
|
||||
import { viteCommonjs } from '@originjs/vite-plugin-commonjs';
|
||||
import { defineConfig } from "vite";
|
||||
import path from "path";
|
||||
import vue from "@vitejs/plugin-vue";
|
||||
import vueJsx from "@vitejs/plugin-vue-jsx";
|
||||
import ViteRequireContext from "@originjs/vite-plugin-require-context";
|
||||
import envCompatible from "vite-plugin-env-compatible";
|
||||
import { createHtmlPlugin } from "vite-plugin-html";
|
||||
import { viteCommonjs } from "@originjs/vite-plugin-commonjs";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
@@ -23,21 +23,21 @@ export default defineConfig({
|
||||
alias: [
|
||||
{
|
||||
find: /^~/,
|
||||
replacement: '',
|
||||
replacement: "",
|
||||
},
|
||||
{
|
||||
find: '@',
|
||||
replacement: path.resolve(__dirname, 'src'),
|
||||
find: "@",
|
||||
replacement: path.resolve(__dirname, "src"),
|
||||
},
|
||||
],
|
||||
extensions: [
|
||||
'.mjs',
|
||||
'.js',
|
||||
'.ts',
|
||||
'.jsx',
|
||||
'.tsx',
|
||||
'.json',
|
||||
'.vue',
|
||||
".mjs",
|
||||
".js",
|
||||
".ts",
|
||||
".jsx",
|
||||
".tsx",
|
||||
".json",
|
||||
".vue",
|
||||
],
|
||||
},
|
||||
plugins: [
|
||||
@@ -49,19 +49,19 @@ export default defineConfig({
|
||||
createHtmlPlugin({
|
||||
inject: {
|
||||
data: {
|
||||
title: 'CPIC-IT-Console',
|
||||
title: "CPIC-IT-Console",
|
||||
},
|
||||
},
|
||||
}),
|
||||
],
|
||||
base: './',
|
||||
base: "./",
|
||||
server: {
|
||||
strictPort: false,
|
||||
port: 8001,
|
||||
host: 'localhost',
|
||||
host: "localhost",
|
||||
open: true,
|
||||
},
|
||||
build: {
|
||||
outDir: 'dist',
|
||||
outDir: "dist",
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user