Commit fe63dd5a authored by 王向前's avatar 王向前

no message

parent acd196f9
const fs = require('fs') const fs = require('fs')
const child_process = require('child_process'); const child_process = require('child_process');
let clone = 'D: && CD D://FrontPackage && git clone git@gitlab.gavelinfo.com:lisu/common.git '; let clone = 'CD /Users/forwards/Dev/FrontPackage && git clone git@gitlab.gavelinfo.com:lisu/common.git ';
let pull = 'D: && CD D://FrontPackage && cd common && git pull '; let pull = 'CD /Users/forwards/Dev/FrontPackage && cd common && git pull';
fs.readFile('./README.md','utf-8',(err,data)=>{ fs.readFile('./README.md','utf-8',(err,data)=>{
console.log(data||'Loading') console.log(data||'Loading')
console.table(global.process.versions) console.table(global.process.versions)
console.log('\x1B[33m%s','>正在读取项目必须依赖common包') console.log('\x1B[33m%s','>正在读取项目必须依赖common包')
}) })
fs.mkdir('D://FrontPackage', (error) => { fs.mkdir('/Users/forwards/Dev/FrontPackage', (error) => {
if(error){ if(error){
if(error.code=='EEXIST'){ if(error.code=='EEXIST'){
creatCommon() creatCommon()
...@@ -20,7 +20,7 @@ let pull = 'D: && CD D://FrontPackage && cd common && git pull '; ...@@ -20,7 +20,7 @@ let pull = 'D: && CD D://FrontPackage && cd common && git pull ';
} }
}) })
function creatCommon(){ function creatCommon(){
fs.readFile('D:/FrontPackage/common/index.js','utf-8',(err,data)=>{ fs.readFile('/Users/forwards/Dev/FrontPackage/common/index.js','utf-8',(err,data)=>{
if(data){ if(data){
console.log('\x1B[33m%s','>正在拉取最新commom包') console.log('\x1B[33m%s','>正在拉取最新commom包')
child_process.exec(pull,(err,s1,s2)=>{ child_process.exec(pull,(err,s1,s2)=>{
......
{ {
"name": "GavelDmg", "name": "GavelDmg",
"version": "0.0.1", "version": "0.0.1",
"description": "GavelDmg", "description": "GavelDmg",
"author": "Gavel", "author": "Gavel",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"clear": "rmdir /s/q node_modules", "clear": "rmdir /s/q node_modules",
"serve": "node init && vue-cli-service serve", "serve": "vue-cli-service serve",
"devbuild": "vue-cli-service build --mode development", "devbuild": "vue-cli-service build --mode development",
"build": "vue-cli-service build", "build": "vue-cli-service build",
"build:report": "vue-cli-service build --report", "build:report": "vue-cli-service build --report",
"build:stage": "vue-cli-service build --mode staging", "build:stage": "vue-cli-service build --mode staging",
"preview": "node build/index.js --preview", "preview": "node build/index.js --preview",
"lint": "eslint --ext .js,.vue src" "lint": "eslint --ext .js,.vue src"
}, },
"husky": { "husky": {
"hooks": { "hooks": {
"pre-commit": "lint-staged" "pre-commit": "lint-staged"
} }
}, },
"lint-staged": { "lint-staged": {
"src/**/*.{js,vue}": [ "src/**/*.{js,vue}": [
"eslint --fix", "eslint --fix",
"git add" "git add"
] ]
}, },
"keywords": [ "keywords": [
"vue", "vue",
"admin", "admin",
"dashboard", "dashboard",
"element-ui", "element-ui",
"boilerplate", "boilerplate",
"admin-template", "admin-template",
"management-system" "management-system"
], ],
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://gitee.com/y_project/RuoYi-Vue.git" "url": "https://gitee.com/y_project/RuoYi-Vue.git"
}, },
"dependencies": { "dependencies": {
"@riophae/vue-treeselect": "0.4.0", "@riophae/vue-treeselect": "0.4.0",
"axios": "0.24.0", "axios": "0.24.0",
"clipboard": "2.0.8", "clipboard": "2.0.8",
"common": "file:D://common", "common": "file:/Users/forwards/Dev/sgaqgl-vue/public/common",
"core-js": "3.19.1", "core-js": "3.19.1",
"echarts": "^4.9.0", "echarts": "^4.9.0",
"element-ui": "2.15.8", "element-ui": "2.15.8",
"file-saver": "2.0.5", "file-saver": "2.0.5",
"fuse.js": "6.4.3", "fuse.js": "6.4.3",
"highlight.js": "9.18.5", "highlight.js": "9.18.5",
"js-beautify": "1.13.0", "js-beautify": "1.13.0",
"js-cookie": "3.0.1", "js-cookie": "3.0.1",
"jsencrypt": "3.0.0-rc.1", "jsencrypt": "3.0.0-rc.1",
"nprogress": "0.2.0", "nprogress": "0.2.0",
"quill": "1.3.7", "quill": "1.3.7",
"screenfull": "5.0.2", "screenfull": "5.0.2",
"sortablejs": "1.10.2", "sortablejs": "1.10.2",
"typescript": "^4.5.2", "typescript": "^4.5.2",
"vue": "2.6.12", "vue": "2.6.12",
"vue-class-component": "^7.2.3", "vue-class-component": "^7.2.3",
"vue-count-to": "1.0.13", "vue-count-to": "1.0.13",
"vue-cropper": "0.5.5", "vue-cropper": "0.5.5",
"vue-meta": "2.4.0", "vue-meta": "2.4.0",
"vue-router": "3.4.9", "vue-router": "3.4.9",
"vue-seamless-scroll": "^1.1.23", "vue-seamless-scroll": "^1.1.23",
"vue-video-player": "5.0", "vue-video-player": "5.0",
"vuedraggable": "^2.24.3", "vuedraggable": "^2.24.3",
"vuex": "3.6.0" "vuex": "3.6.0"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "4.4.6", "@vue/cli-plugin-babel": "4.4.6",
"@vue/cli-plugin-eslint": "4.4.6", "@vue/cli-plugin-eslint": "4.4.6",
"@vue/cli-service": "4.4.6", "@vue/cli-service": "4.4.6",
"babel-eslint": "10.1.0", "babel-eslint": "10.1.0",
"babel-plugin-dynamic-import-node": "2.3.3", "babel-plugin-dynamic-import-node": "2.3.3",
"babel-plugin-transform-remove-console": "^6.9.4", "babel-plugin-transform-remove-console": "^6.9.4",
"babel-plugin-transform-remove-debugger": "^6.9.4", "babel-plugin-transform-remove-debugger": "^6.9.4",
"chalk": "4.1.0", "chalk": "4.1.0",
"compression-webpack-plugin": "5.0.2", "compression-webpack-plugin": "5.0.2",
"connect": "3.6.6", "connect": "3.6.6",
"eslint": "7.15.0", "eslint": "7.15.0",
"eslint-plugin-vue": "7.2.0", "eslint-plugin-vue": "7.2.0",
"lint-staged": "10.5.3", "lint-staged": "10.5.3",
"runjs": "4.4.2", "runjs": "4.4.2",
"sass": "1.32.13", "sass": "1.32.13",
"sass-loader": "10.1.1", "sass-loader": "10.1.1",
"script-ext-html-webpack-plugin": "2.1.5", "script-ext-html-webpack-plugin": "2.1.5",
"svg-sprite-loader": "5.1.1", "svg-sprite-loader": "5.1.1",
"ts-loader": "~8.2.0", "ts-loader": "~8.2.0",
"vue-particles": "^1.0.9", "vue-particles": "^1.0.9",
"vue-property-decorator": "^9.1.2", "vue-property-decorator": "^9.1.2",
"vue-template-compiler": "2.6.12" "vue-template-compiler": "2.6.12"
}, },
"engines": { "engines": {
"node": ">=8.9", "node": ">=8.9",
"npm": ">= 3.0.0" "npm": ">= 3.0.0"
}, },
"browserslist": [ "browserslist": [
"> 1%", "> 1%",
"last 2 versions" "last 2 versions"
] ]
} }
import request from '@/utils/request';
/*query */
export function fxpcQuery(query) {
return request({
url: '/aqgl/kbcx/fxpc',
method: 'post',
data: query||{}
})
}
export function lzglQuery(query) {
return request({
url: '/aqgl/kbcx/lzgl',
method: 'post',
data: query||{}
})
}
export function ygczQuery(query) {
return request({
url: '/aqgl/kbcx/ygcz',
method: 'post',
data: query||{}
})
}
export function yhtjQuery(query) {
return request({
url: '/aqgl/kbcx/yhtj',
method: 'post',
data: query||{}
})
}
export function yjylQuery(query) {
return request({
url: '/aqgl/kbcx/yjyl',
method: 'post',
data: query||{}
})
}
\ No newline at end of file
This image diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment