
@ -0,0 +1,14 @@ |
|||
# http://editorconfig.org |
|||
root = true |
|||
|
|||
[*] |
|||
charset = utf-8 |
|||
indent_style = space |
|||
indent_size = 2 |
|||
end_of_line = lf |
|||
insert_final_newline = true |
|||
trim_trailing_whitespace = true |
|||
|
|||
[*.md] |
|||
insert_final_newline = false |
|||
trim_trailing_whitespace = false |
@ -0,0 +1,11 @@ |
|||
# just a flag |
|||
ENV = 'development' |
|||
|
|||
# base api |
|||
VUE_APP_BASE_API = '/api' |
|||
|
|||
## 配置测试和本地开发时的 接口地址 |
|||
|
|||
##VUE_APP_URL = "http://127.0.0.1:4523/m1/4061550-0-default" |
|||
VUE_APP_URL = "http://192.168.0.105:8111" |
|||
##VUE_APP_URL = "https://wms.yxtsoft.com" |
@ -0,0 +1,8 @@ |
|||
# just a flag |
|||
ENV = 'production' |
|||
|
|||
# base api |
|||
VUE_APP_BASE_API = '/api' |
|||
|
|||
## 配置 正式接口地址 |
|||
VUE_APP_URL = "https://wms.yxtsoft.com" |
@ -0,0 +1,8 @@ |
|||
NODE_ENV = production |
|||
|
|||
# just a flag |
|||
ENV = 'staging' |
|||
|
|||
# base api |
|||
VUE_APP_BASE_API = '/stage-api' |
|||
|
@ -0,0 +1,4 @@ |
|||
build/*.js |
|||
src/assets |
|||
public |
|||
dist |
@ -0,0 +1,199 @@ |
|||
module.exports = { |
|||
root: true, |
|||
parserOptions: { |
|||
parser: 'babel-eslint', |
|||
sourceType: 'module' |
|||
}, |
|||
env: { |
|||
browser: true, |
|||
node: true, |
|||
es6: true, |
|||
}, |
|||
extends: ['plugin:vue/recommended', 'eslint:recommended'], |
|||
|
|||
// add your custom rules here
|
|||
//it is base on https://github.com/vuejs/eslint-config-vue
|
|||
rules: { |
|||
"vue/max-attributes-per-line": [2, { |
|||
"singleline": 10, |
|||
"multiline": { |
|||
"max": 1, |
|||
"allowFirstLine": false |
|||
} |
|||
}], |
|||
"vue/singleline-html-element-content-newline": "off", |
|||
"vue/multiline-html-element-content-newline":"off", |
|||
"vue/name-property-casing": ["error", "PascalCase"], |
|||
"vue/no-v-html": "off", |
|||
'accessor-pairs': 2, |
|||
'arrow-spacing': [2, { |
|||
'before': true, |
|||
'after': true |
|||
}], |
|||
'block-spacing': [2, 'always'], |
|||
'brace-style': [2, '1tbs', { |
|||
'allowSingleLine': true |
|||
}], |
|||
'camelcase': [0, { |
|||
'properties': 'always' |
|||
}], |
|||
'comma-dangle': [2, 'never'], |
|||
'comma-spacing': [2, { |
|||
'before': false, |
|||
'after': true |
|||
}], |
|||
'comma-style': [2, 'last'], |
|||
'constructor-super': 2, |
|||
'curly': [2, 'multi-line'], |
|||
'dot-location': [2, 'property'], |
|||
'eol-last': 2, |
|||
'eqeqeq': ["error", "always", {"null": "ignore"}], |
|||
'generator-star-spacing': [2, { |
|||
'before': true, |
|||
'after': true |
|||
}], |
|||
'handle-callback-err': [2, '^(err|error)$'], |
|||
// 'indent': [2, 2, {
|
|||
// 'SwitchCase': 1
|
|||
// }],
|
|||
'indent': 'off', |
|||
'jsx-quotes': [2, 'prefer-single'], |
|||
'key-spacing': [2, { |
|||
'beforeColon': false, |
|||
'afterColon': true |
|||
}], |
|||
'keyword-spacing': [2, { |
|||
'before': true, |
|||
'after': true |
|||
}], |
|||
'new-cap': [2, { |
|||
'newIsCap': true, |
|||
'capIsNew': false |
|||
}], |
|||
'new-parens': 2, |
|||
'no-array-constructor': 2, |
|||
'no-caller': 2, |
|||
'no-console': 'off', |
|||
'no-class-assign': 2, |
|||
'no-cond-assign': 2, |
|||
'no-const-assign': 2, |
|||
'no-control-regex': 0, |
|||
'no-delete-var': 2, |
|||
'no-dupe-args': 2, |
|||
'no-dupe-class-members': 2, |
|||
'no-dupe-keys': 2, |
|||
'no-duplicate-case': 2, |
|||
'no-empty-character-class': 2, |
|||
'no-empty-pattern': 2, |
|||
'no-eval': 2, |
|||
'no-ex-assign': 2, |
|||
'no-extend-native': 2, |
|||
'no-extra-bind': 2, |
|||
'no-extra-boolean-cast': 2, |
|||
'no-extra-parens': [2, 'functions'], |
|||
'no-fallthrough': 2, |
|||
'no-floating-decimal': 2, |
|||
'no-func-assign': 2, |
|||
'no-implied-eval': 2, |
|||
'no-inner-declarations': [2, 'functions'], |
|||
'no-invalid-regexp': 2, |
|||
'no-irregular-whitespace': 2, |
|||
'no-iterator': 2, |
|||
'no-label-var': 2, |
|||
'no-labels': [2, { |
|||
'allowLoop': false, |
|||
'allowSwitch': false |
|||
}], |
|||
'no-lone-blocks': 2, |
|||
'no-mixed-spaces-and-tabs': 2, |
|||
'no-multi-spaces': 2, |
|||
'no-multi-str': 2, |
|||
'no-multiple-empty-lines': [2, { |
|||
'max': 1 |
|||
}], |
|||
'no-native-reassign': 2, |
|||
'no-negated-in-lhs': 2, |
|||
'no-new-object': 2, |
|||
'no-new-require': 2, |
|||
'no-new-symbol': 2, |
|||
'no-new-wrappers': 2, |
|||
'no-obj-calls': 2, |
|||
'no-octal': 2, |
|||
'no-octal-escape': 2, |
|||
'no-path-concat': 2, |
|||
'no-proto': 2, |
|||
'no-redeclare': 2, |
|||
'no-regex-spaces': 2, |
|||
'no-return-assign': [2, 'except-parens'], |
|||
'no-self-assign': 2, |
|||
'no-self-compare': 2, |
|||
'no-sequences': 2, |
|||
'no-shadow-restricted-names': 2, |
|||
'no-spaced-func': 2, |
|||
'no-sparse-arrays': 2, |
|||
'no-this-before-super': 2, |
|||
'no-throw-literal': 2, |
|||
'no-trailing-spaces': 2, |
|||
'no-undef': 2, |
|||
'no-undef-init': 2, |
|||
'no-unexpected-multiline': 2, |
|||
'no-unmodified-loop-condition': 2, |
|||
'no-unneeded-ternary': [2, { |
|||
'defaultAssignment': false |
|||
}], |
|||
'no-unreachable': 2, |
|||
'no-unsafe-finally': 2, |
|||
'no-unused-vars': [2, { |
|||
'vars': 'all', |
|||
'args': 'none' |
|||
}], |
|||
'no-useless-call': 2, |
|||
'no-useless-computed-key': 2, |
|||
'no-useless-constructor': 2, |
|||
'no-useless-escape': 0, |
|||
'no-whitespace-before-property': 2, |
|||
'no-with': 2, |
|||
'one-var': [2, { |
|||
'initialized': 'never' |
|||
}], |
|||
'operator-linebreak': [2, 'after', { |
|||
'overrides': { |
|||
'?': 'before', |
|||
':': 'before' |
|||
} |
|||
}], |
|||
'padded-blocks': [2, 'never'], |
|||
'quotes': [2, 'single', { |
|||
'avoidEscape': true, |
|||
'allowTemplateLiterals': true |
|||
}], |
|||
'semi': [2, 'never'], |
|||
'semi-spacing': [2, { |
|||
'before': false, |
|||
'after': true |
|||
}], |
|||
'space-before-blocks': [2, 'always'], |
|||
'space-before-function-paren': [2, 'never'], |
|||
'space-in-parens': [2, 'never'], |
|||
'space-infix-ops': 2, |
|||
'space-unary-ops': [2, { |
|||
'words': true, |
|||
'nonwords': false |
|||
}], |
|||
'spaced-comment': [2, 'always', { |
|||
'markers': ['global', 'globals', 'eslint', 'eslint-disable', '*package', '!', ','] |
|||
}], |
|||
'template-curly-spacing': [2, 'never'], |
|||
'use-isnan': 2, |
|||
'valid-typeof': 2, |
|||
'wrap-iife': [2, 'any'], |
|||
'yield-star-spacing': [2, 'both'], |
|||
'yoda': [2, 'never'], |
|||
'prefer-const': 2, |
|||
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0, |
|||
'object-curly-spacing': [2, 'always', { |
|||
objectsInObjects: false |
|||
}], |
|||
'array-bracket-spacing': [2, 'never'] |
|||
} |
|||
} |
@ -0,0 +1,31 @@ |
|||
**/.DS_Store |
|||
**/*.log |
|||
node_modules/ |
|||
|
|||
# local env files |
|||
.env.local |
|||
.env.*.local |
|||
|
|||
# Log files |
|||
npm-debug.log* |
|||
yarn-debug.log* |
|||
yarn-error.log* |
|||
pnpm-debug.log* |
|||
|
|||
tests/**/coverage/ |
|||
tests/e2e/reports |
|||
selenium-debug.log |
|||
|
|||
# Editor directories and files |
|||
.idea |
|||
.vscode |
|||
*.suo |
|||
*.ntvs* |
|||
*.njsproj |
|||
*.sln |
|||
*.local |
|||
|
|||
package-lock.json |
|||
yarn.lock |
|||
|
|||
wms-ui/ |
@ -0,0 +1,3 @@ |
|||
# yxt-wms-ui-admin |
|||
|
|||
仓库管理系统管理后台界面 |
@ -0,0 +1,5 @@ |
|||
language: node_js |
|||
node_js: 10 |
|||
script: npm run test |
|||
notifications: |
|||
email: false |
@ -0,0 +1 @@ |
|||
ref: refs/heads/master |
@ -0,0 +1,21 @@ |
|||
MIT License |
|||
|
|||
Copyright (c) 2017-present PanJiaChen |
|||
|
|||
Permission is hereby granted, free of charge, to any person obtaining a copy |
|||
of this software and associated documentation files (the "Software"), to deal |
|||
in the Software without restriction, including without limitation the rights |
|||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
|||
copies of the Software, and to permit persons to whom the Software is |
|||
furnished to do so, subject to the following conditions: |
|||
|
|||
The above copyright notice and this permission notice shall be included in all |
|||
copies or substantial portions of the Software. |
|||
|
|||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
|||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
|||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
|||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
|||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
|||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
|||
SOFTWARE. |
@ -0,0 +1,15 @@ |
|||
module.exports = { |
|||
presets: [ |
|||
// https://github.com/vuejs/vue-cli/tree/master/packages/@vue/babel-preset-app
|
|||
// '@vue/cli-plugin-babel/preset',
|
|||
['@vue/app', { useBuiltIns: 'entry' }] |
|||
], |
|||
'env': { |
|||
'development': { |
|||
// babel-plugin-dynamic-import-node plugin only does one thing by converting all import() to require().
|
|||
// This plugin can significantly increase the speed of hot updates, when you have a large number of pages.
|
|||
// https://panjiachen.github.io/vue-element-admin-site/guide/advanced/lazy-loading.html
|
|||
'plugins': ['dynamic-import-node'] |
|||
} |
|||
} |
|||
} |
@ -0,0 +1,6 @@ |
|||
[core] |
|||
bare = true |
|||
repositoryformatversion = 0 |
|||
filemode = false |
|||
symlinks = false |
|||
ignorecase = true |
@ -0,0 +1 @@ |
|||
Unnamed repository; edit this file 'description' to name the repository. |
After Width: | Height: | Size: 53 KiB |
@ -0,0 +1,24 @@ |
|||
module.exports = { |
|||
moduleFileExtensions: ['js', 'jsx', 'json', 'vue'], |
|||
transform: { |
|||
'^.+\\.vue$': 'vue-jest', |
|||
'.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': |
|||
'jest-transform-stub', |
|||
'^.+\\.jsx?$': 'babel-jest' |
|||
}, |
|||
moduleNameMapper: { |
|||
'^@/(.*)$': '<rootDir>/src/$1' |
|||
}, |
|||
snapshotSerializers: ['jest-serializer-vue'], |
|||
testMatch: [ |
|||
'**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)' |
|||
], |
|||
collectCoverageFrom: ['src/utils/**/*.{js,vue}', '!src/utils/auth.js', '!src/utils/request.js', 'src/components/**/*.{js,vue}'], |
|||
coverageDirectory: '<rootDir>/tests/unit/coverage', |
|||
// 'collectCoverage': true,
|
|||
'coverageReporters': [ |
|||
'lcov', |
|||
'text-summary' |
|||
], |
|||
testURL: 'http://localhost/' |
|||
} |
@ -0,0 +1,9 @@ |
|||
{ |
|||
"compilerOptions": { |
|||
"baseUrl": "./", |
|||
"paths": { |
|||
"@/*": ["src/*"] |
|||
} |
|||
}, |
|||
"exclude": ["node_modules", "dist"] |
|||
} |
@ -0,0 +1,57 @@ |
|||
const Mock = require('mockjs') |
|||
const { param2Obj } = require('./utils') |
|||
|
|||
const user = require('./user') |
|||
const table = require('./table') |
|||
|
|||
const mocks = [ |
|||
...user, |
|||
...table |
|||
] |
|||
|
|||
// for front mock
|
|||
// please use it cautiously, it will redefine XMLHttpRequest,
|
|||
// which will cause many of your third-party libraries to be invalidated(like progress event).
|
|||
function mockXHR() { |
|||
// mock patch
|
|||
// https://github.com/nuysoft/Mock/issues/300
|
|||
Mock.XHR.prototype.proxy_send = Mock.XHR.prototype.send |
|||
Mock.XHR.prototype.send = function() { |
|||
if (this.custom.xhr) { |
|||
this.custom.xhr.withCredentials = this.withCredentials || false |
|||
|
|||
if (this.responseType) { |
|||
this.custom.xhr.responseType = this.responseType |
|||
} |
|||
} |
|||
this.proxy_send(...arguments) |
|||
} |
|||
|
|||
function XHR2ExpressReqWrap(respond) { |
|||
return function(options) { |
|||
let result = null |
|||
if (respond instanceof Function) { |
|||
const { body, type, url } = options |
|||
// https://expressjs.com/en/4x/api.html#req
|
|||
result = respond({ |
|||
method: type, |
|||
body: JSON.parse(body), |
|||
query: param2Obj(url) |
|||
}) |
|||
} else { |
|||
result = respond |
|||
} |
|||
return Mock.mock(result) |
|||
} |
|||
} |
|||
|
|||
for (const i of mocks) { |
|||
Mock.mock(new RegExp(i.url), i.type || 'get', XHR2ExpressReqWrap(i.response)) |
|||
} |
|||
} |
|||
|
|||
module.exports = { |
|||
mocks, |
|||
mockXHR |
|||
} |
|||
|
@ -0,0 +1,81 @@ |
|||
const chokidar = require('chokidar') |
|||
const bodyParser = require('body-parser') |
|||
const chalk = require('chalk') |
|||
const path = require('path') |
|||
const Mock = require('mockjs') |
|||
|
|||
const mockDir = path.join(process.cwd(), 'mock') |
|||
|
|||
function registerRoutes(app) { |
|||
let mockLastIndex |
|||
const { mocks } = require('./index.js') |
|||
const mocksForServer = mocks.map(route => { |
|||
return responseFake(route.url, route.type, route.response) |
|||
}) |
|||
for (const mock of mocksForServer) { |
|||
app[mock.type](mock.url, mock.response) |
|||
mockLastIndex = app._router.stack.length |
|||
} |
|||
const mockRoutesLength = Object.keys(mocksForServer).length |
|||
return { |
|||
mockRoutesLength: mockRoutesLength, |
|||
mockStartIndex: mockLastIndex - mockRoutesLength |
|||
} |
|||
} |
|||
|
|||
function unregisterRoutes() { |
|||
Object.keys(require.cache).forEach(i => { |
|||
if (i.includes(mockDir)) { |
|||
delete require.cache[require.resolve(i)] |
|||
} |
|||
}) |
|||
} |
|||
|
|||
// for mock server
|
|||
const responseFake = (url, type, respond) => { |
|||
return { |
|||
url: new RegExp(`${process.env.VUE_APP_BASE_API}${url}`), |
|||
type: type || 'get', |
|||
response(req, res) { |
|||
console.log('request invoke:' + req.path) |
|||
res.json(Mock.mock(respond instanceof Function ? respond(req, res) : respond)) |
|||
} |
|||
} |
|||
} |
|||
|
|||
module.exports = app => { |
|||
// parse app.body
|
|||
// https://expressjs.com/en/4x/api.html#req.body
|
|||
app.use(bodyParser.json()) |
|||
app.use(bodyParser.urlencoded({ |
|||
extended: true |
|||
})) |
|||
|
|||
const mockRoutes = registerRoutes(app) |
|||
var mockRoutesLength = mockRoutes.mockRoutesLength |
|||
var mockStartIndex = mockRoutes.mockStartIndex |
|||
|
|||
// watch files, hot reload mock server
|
|||
chokidar.watch(mockDir, { |
|||
ignored: /mock-server/, |
|||
ignoreInitial: true |
|||
}).on('all', (event, path) => { |
|||
if (event === 'change' || event === 'add') { |
|||
try { |
|||
// remove mock routes stack
|
|||
app._router.stack.splice(mockStartIndex, mockRoutesLength) |
|||
|
|||
// clear routes cache
|
|||
unregisterRoutes() |
|||
|
|||
const mockRoutes = registerRoutes(app) |
|||
mockRoutesLength = mockRoutes.mockRoutesLength |
|||
mockStartIndex = mockRoutes.mockStartIndex |
|||
|
|||
console.log(chalk.magentaBright(`\n > Mock Server hot reload success! changed ${path}`)) |
|||
} catch (error) { |
|||
console.log(chalk.redBright(error)) |
|||
} |
|||
} |
|||
}) |
|||
} |
@ -0,0 +1,29 @@ |
|||
const Mock = require('mockjs') |
|||
|
|||
const data = Mock.mock({ |
|||
'items|30': [{ |
|||
id: '@id', |
|||
title: '@sentence(10, 20)', |
|||
'status|1': ['published', 'draft', 'deleted'], |
|||
author: 'name', |
|||
display_time: '@datetime', |
|||
pageviews: '@integer(300, 5000)' |
|||
}] |
|||
}) |
|||
|
|||
module.exports = [ |
|||
{ |
|||
url: '/vue-admin-template/table/list', |
|||
type: 'get', |
|||
response: config => { |
|||
const items = data.items |
|||
return { |
|||
code: 20000, |
|||
data: { |
|||
total: items.length, |
|||
items: items |
|||
} |
|||
} |
|||
} |
|||
} |
|||
] |
@ -0,0 +1,84 @@ |
|||
|
|||
const tokens = { |
|||
admin: { |
|||
token: 'admin-token' |
|||
}, |
|||
editor: { |
|||
token: 'editor-token' |
|||
} |
|||
} |
|||
|
|||
const users = { |
|||
'admin-token': { |
|||
roles: ['admin'], |
|||
introduction: 'I am a super administrator', |
|||
avatar: 'https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif', |
|||
name: 'Super Admin' |
|||
}, |
|||
'editor-token': { |
|||
roles: ['editor'], |
|||
introduction: 'I am an editor', |
|||
avatar: 'https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif', |
|||
name: 'Normal Editor' |
|||
} |
|||
} |
|||
|
|||
module.exports = [ |
|||
// user login
|
|||
{ |
|||
url: '/vue-admin-template/user/login', |
|||
type: 'post', |
|||
response: config => { |
|||
const { username } = config.body |
|||
const token = tokens[username] |
|||
|
|||
// mock error
|
|||
if (!token) { |
|||
return { |
|||
code: 60204, |
|||
message: 'Account and password are incorrect.' |
|||
} |
|||
} |
|||
|
|||
return { |
|||
code: 20000, |
|||
data: token |
|||
} |
|||
} |
|||
}, |
|||
|
|||
// get user info
|
|||
{ |
|||
url: '/vue-admin-template/user/info\.*', |
|||
type: 'get', |
|||
response: config => { |
|||
const { token } = config.query |
|||
const info = users[token] |
|||
|
|||
// mock error
|
|||
if (!info) { |
|||
return { |
|||
code: 50008, |
|||
message: 'Login failed, unable to get user details.' |
|||
} |
|||
} |
|||
|
|||
return { |
|||
code: 20000, |
|||
data: info |
|||
} |
|||
} |
|||
}, |
|||
|
|||
// user logout
|
|||
{ |
|||
url: '/vue-admin-template/user/logout', |
|||
type: 'post', |
|||
response: _ => { |
|||
return { |
|||
code: 20000, |
|||
data: 'success' |
|||
} |
|||
} |
|||
} |
|||
] |
@ -0,0 +1,25 @@ |
|||
/** |
|||
* @param {string} url |
|||
* @returns {Object} |
|||
*/ |
|||
function param2Obj(url) { |
|||
const search = decodeURIComponent(url.split('?')[1]).replace(/\+/g, ' ') |
|||
if (!search) { |
|||
return {} |
|||
} |
|||
const obj = {} |
|||
const searchArr = search.split('&') |
|||
searchArr.forEach(v => { |
|||
const index = v.indexOf('=') |
|||
if (index !== -1) { |
|||
const name = v.substring(0, index) |
|||
const val = v.substring(index + 1, v.length) |
|||
obj[name] = val |
|||
} |
|||
}) |
|||
return obj |
|||
} |
|||
|
|||
module.exports = { |
|||
param2Obj |
|||
} |
@ -0,0 +1,78 @@ |
|||
{ |
|||
"name": "yxt-wms-ui-admin", |
|||
"version": "1.1.0", |
|||
"description": "", |
|||
"author": "", |
|||
"scripts": { |
|||
"dev": "vue-cli-service serve", |
|||
"build:prod": "vue-cli-service build", |
|||
"build:stage": "vue-cli-service build --mode staging", |
|||
"preview": "node build/index.js --preview", |
|||
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml", |
|||
"lint": "eslint --ext .js,.vue src", |
|||
"test:unit": "jest --clearCache && vue-cli-service test:unit", |
|||
"test:ci": "npm run lint && npm run test:unit" |
|||
}, |
|||
"dependencies": { |
|||
"@amap/amap-jsapi-loader": "^1.0.1", |
|||
"axios": "^0.24.0", |
|||
"bpmn-js": "^9.2.2", |
|||
"core-js": "^3.8.3", |
|||
"echarts": "^5.4.3", |
|||
"ejs": "^2.7.4", |
|||
"element-china-area-data": "^6.1.0", |
|||
"element-ui": "^2.15.14", |
|||
"js-cookie": "2.2.0", |
|||
"moment": "^2.29.1", |
|||
"normalize.css": "7.0.0", |
|||
"nprogress": "0.2.0", |
|||
"path-to-regexp": "2.4.0", |
|||
"portfinder": "^1.0.21", |
|||
"print-template": "^1.2.8", |
|||
"qs": "^6.9.4", |
|||
"quill": "^1.3.7", |
|||
"sass-resources-loader": "^2.1.1", |
|||
"viewerjs": "^1.9.0", |
|||
"vue": "^2.6.14", |
|||
"vue-amap": "^0.5.10", |
|||
"vue-router": "^3.5.1", |
|||
"vuex": "3.6.0", |
|||
"vuex-persistedstate": "^4.0.0", |
|||
"xcrud": "^0.4.19" |
|||
}, |
|||
"devDependencies": { |
|||
"@vue/cli-plugin-babel": "4.4.4", |
|||
"@vue/cli-plugin-eslint": "4.4.4", |
|||
"@vue/cli-plugin-unit-jest": "4.4.4", |
|||
"@vue/cli-service": "4.4.4", |
|||
"@vue/test-utils": "1.0.0-beta.29", |
|||
"autoprefixer": "9.5.1", |
|||
"babel-eslint": "10.1.0", |
|||
"babel-jest": "23.6.0", |
|||
"babel-plugin-dynamic-import-node": "2.3.3", |
|||
"babel-polyfill": "^6.26.0", |
|||
"chalk": "2.4.2", |
|||
"connect": "3.6.6", |
|||
"eslint": "6.7.2", |
|||
"eslint-plugin-vue": "6.2.2", |
|||
"html-webpack-plugin": "3.2.0", |
|||
"mockjs": "1.0.1-beta3", |
|||
"runjs": "4.3.2", |
|||
"sass": "1.26.8", |
|||
"sass-loader": "8.0.2", |
|||
"script-ext-html-webpack-plugin": "2.1.3", |
|||
"serve-static": "1.13.2", |
|||
"svg-sprite-loader": "4.1.3", |
|||
"svgo": "1.2.2", |
|||
"vue-template-compiler": "2.6.10" |
|||
}, |
|||
"browserslist": [ |
|||
"> 1%", |
|||
"last 2 versions" |
|||
], |
|||
"engines": { |
|||
"node": ">=8.9", |
|||
"npm": ">= 3.0.0" |
|||
}, |
|||
"license": "MIT" |
|||
} |
@ -0,0 +1 @@ |
|||
cfaeb490877c2297b1485d957c8b99d3 |
After Width: | Height: | Size: 8.9 KiB |
After Width: | Height: | Size: 17 KiB |
@ -0,0 +1,18 @@ |
|||
<!DOCTYPE html> |
|||
<html> |
|||
<head> |
|||
<meta charset="utf-8"> |
|||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
|||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> |
|||
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> |
|||
<title><%= webpackConfig.name %></title> |
|||
</head> |
|||
<body> |
|||
<noscript> |
|||
<strong>We're sorry but <%= webpackConfig.name %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> |
|||
</noscript> |
|||
<script src="./tinymce4.7.5/tinymce.min.js"></script> |
|||
<div id="app"></div> |
|||
<!-- built files will be auto injected --> |
|||
</body> |
|||
</html> |
@ -0,0 +1 @@ |
|||
07c4ff45cfef408144a511604debc315 |
@ -0,0 +1,230 @@ |
|||
tinymce.addI18n('zh_CN',{ |
|||
"Cut": "\u526a\u5207", |
|||
"Heading 5": "\u6807\u98985", |
|||
"Header 2": "\u6807\u98982", |
|||
"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "\u4f60\u7684\u6d4f\u89c8\u5668\u4e0d\u652f\u6301\u5bf9\u526a\u8d34\u677f\u7684\u8bbf\u95ee\uff0c\u8bf7\u4f7f\u7528Ctrl+X\/C\/V\u952e\u8fdb\u884c\u590d\u5236\u7c98\u8d34\u3002", |
|||
"Heading 4": "\u6807\u98984", |
|||
"Div": "Div\u533a\u5757", |
|||
"Heading 2": "\u6807\u98982", |
|||
"Paste": "\u7c98\u8d34", |
|||
"Close": "\u5173\u95ed", |
|||
"Font Family": "\u5b57\u4f53", |
|||
"Pre": "\u9884\u683c\u5f0f\u6587\u672c", |
|||
"Align right": "\u53f3\u5bf9\u9f50", |
|||
"New document": "\u65b0\u6587\u6863", |
|||
"Blockquote": "\u5f15\u7528", |
|||
"Numbered list": "\u7f16\u53f7\u5217\u8868", |
|||
"Heading 1": "\u6807\u98981", |
|||
"Headings": "\u6807\u9898", |
|||
"Increase indent": "\u589e\u52a0\u7f29\u8fdb", |
|||
"Formats": "\u683c\u5f0f", |
|||
"Headers": "\u6807\u9898", |
|||
"Select all": "\u5168\u9009", |
|||
"Header 3": "\u6807\u98983", |
|||
"Blocks": "\u533a\u5757", |
|||
"Undo": "\u64a4\u6d88", |
|||
"Strikethrough": "\u5220\u9664\u7ebf", |
|||
"Bullet list": "\u9879\u76ee\u7b26\u53f7", |
|||
"Header 1": "\u6807\u98981", |
|||
"Superscript": "\u4e0a\u6807", |
|||
"Clear formatting": "\u6e05\u9664\u683c\u5f0f", |
|||
"Font Sizes": "\u5b57\u53f7", |
|||
"Subscript": "\u4e0b\u6807", |
|||
"Header 6": "\u6807\u98986", |
|||
"Redo": "\u91cd\u590d", |
|||
"Paragraph": "\u6bb5\u843d", |
|||
"Ok": "\u786e\u5b9a", |
|||
"Bold": "\u7c97\u4f53", |
|||
"Code": "\u4ee3\u7801", |
|||
"Italic": "\u659c\u4f53", |
|||
"Align center": "\u5c45\u4e2d", |
|||
"Header 5": "\u6807\u98985", |
|||
"Heading 6": "\u6807\u98986", |
|||
"Heading 3": "\u6807\u98983", |
|||
"Decrease indent": "\u51cf\u5c11\u7f29\u8fdb", |
|||
"Header 4": "\u6807\u98984", |
|||
"Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.": "\u5f53\u524d\u4e3a\u7eaf\u6587\u672c\u7c98\u8d34\u6a21\u5f0f\uff0c\u518d\u6b21\u70b9\u51fb\u53ef\u4ee5\u56de\u5230\u666e\u901a\u7c98\u8d34\u6a21\u5f0f\u3002", |
|||
"Underline": "\u4e0b\u5212\u7ebf", |
|||
"Cancel": "\u53d6\u6d88", |
|||
"Justify": "\u4e24\u7aef\u5bf9\u9f50", |
|||
"Inline": "\u6587\u672c", |
|||
"Copy": "\u590d\u5236", |
|||
"Align left": "\u5de6\u5bf9\u9f50", |
|||
"Visual aids": "\u7f51\u683c\u7ebf", |
|||
"Lower Greek": "\u5c0f\u5199\u5e0c\u814a\u5b57\u6bcd", |
|||
"Square": "\u65b9\u5757", |
|||
"Default": "\u9ed8\u8ba4", |
|||
"Lower Alpha": "\u5c0f\u5199\u82f1\u6587\u5b57\u6bcd", |
|||
"Circle": "\u7a7a\u5fc3\u5706", |
|||
"Disc": "\u5b9e\u5fc3\u5706", |
|||
"Upper Alpha": "\u5927\u5199\u82f1\u6587\u5b57\u6bcd", |
|||
"Upper Roman": "\u5927\u5199\u7f57\u9a6c\u5b57\u6bcd", |
|||
"Lower Roman": "\u5c0f\u5199\u7f57\u9a6c\u5b57\u6bcd", |
|||
"Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.": "\u6807\u8bc6\u7b26\u5e94\u8be5\u4ee5\u5b57\u6bcd\u5f00\u5934\uff0c\u540e\u8ddf\u5b57\u6bcd\u3001\u6570\u5b57\u3001\u7834\u6298\u53f7\u3001\u70b9\u3001\u5192\u53f7\u6216\u4e0b\u5212\u7ebf\u3002", |
|||
"Name": "\u540d\u79f0", |
|||
"Anchor": "\u951a\u70b9", |
|||
"Id": "\u6807\u8bc6\u7b26", |
|||
"You have unsaved changes are you sure you want to navigate away?": "\u4f60\u8fd8\u6709\u6587\u6863\u5c1a\u672a\u4fdd\u5b58\uff0c\u786e\u5b9a\u8981\u79bb\u5f00\uff1f", |
|||
"Restore last draft": "\u6062\u590d\u4e0a\u6b21\u7684\u8349\u7a3f", |
|||
"Special character": "\u7279\u6b8a\u7b26\u53f7", |
|||
"Source code": "\u6e90\u4ee3\u7801", |
|||
"Language": "\u8bed\u8a00", |
|||
"Insert\/Edit code sample": "\u63d2\u5165\/\u7f16\u8f91\u4ee3\u7801\u793a\u4f8b", |
|||
"B": "B", |
|||
"R": "R", |
|||
"G": "G", |
|||
"Color": "\u989c\u8272", |
|||
"Right to left": "\u4ece\u53f3\u5230\u5de6", |
|||
"Left to right": "\u4ece\u5de6\u5230\u53f3", |
|||
"Emoticons": "\u8868\u60c5", |
|||
"Robots": "\u673a\u5668\u4eba", |
|||
"Document properties": "\u6587\u6863\u5c5e\u6027", |
|||
"Title": "\u6807\u9898", |
|||
"Keywords": "\u5173\u952e\u8bcd", |
|||
"Encoding": "\u7f16\u7801", |
|||
"Description": "\u63cf\u8ff0", |
|||
"Author": "\u4f5c\u8005", |
|||
"Fullscreen": "\u5168\u5c4f", |
|||
"Horizontal line": "\u6c34\u5e73\u5206\u5272\u7ebf", |
|||
"Horizontal space": "\u6c34\u5e73\u8fb9\u8ddd", |
|||
"Insert\/edit image": "\u63d2\u5165\/\u7f16\u8f91\u56fe\u7247", |
|||
"General": "\u666e\u901a", |
|||
"Advanced": "\u9ad8\u7ea7", |
|||
"Source": "\u5730\u5740", |
|||
"Border": "\u8fb9\u6846", |
|||
"Constrain proportions": "\u4fdd\u6301\u7eb5\u6a2a\u6bd4", |
|||
"Vertical space": "\u5782\u76f4\u8fb9\u8ddd", |
|||
"Image description": "\u56fe\u7247\u63cf\u8ff0", |
|||
"Style": "\u6837\u5f0f", |
|||
"Dimensions": "\u5927\u5c0f", |
|||
"Insert image": "\u63d2\u5165\u56fe\u7247", |
|||
"Image": "\u56fe\u7247", |
|||
"Zoom in": "\u653e\u5927", |
|||
"Contrast": "\u5bf9\u6bd4\u5ea6", |
|||
"Back": "\u540e\u9000", |
|||
"Gamma": "\u4f3d\u9a6c\u503c", |
|||
"Flip horizontally": "\u6c34\u5e73\u7ffb\u8f6c", |
|||
"Resize": "\u8c03\u6574\u5927\u5c0f", |
|||
"Sharpen": "\u9510\u5316", |
|||
"Zoom out": "\u7f29\u5c0f", |
|||
"Image options": "\u56fe\u7247\u9009\u9879", |
|||
"Apply": "\u5e94\u7528", |
|||
"Brightness": "\u4eae\u5ea6", |
|||
"Rotate clockwise": "\u987a\u65f6\u9488\u65cb\u8f6c", |
|||
"Rotate counterclockwise": "\u9006\u65f6\u9488\u65cb\u8f6c", |
|||
"Edit image": "\u7f16\u8f91\u56fe\u7247", |
|||
"Color levels": "\u989c\u8272\u5c42\u6b21", |
|||
"Crop": "\u88c1\u526a", |
|||
"Orientation": "\u65b9\u5411", |
|||
"Flip vertically": "\u5782\u76f4\u7ffb\u8f6c", |
|||
"Invert": "\u53cd\u8f6c", |
|||
"Date\/time": "\u65e5\u671f\/\u65f6\u95f4", |
|||
"Insert date\/time": "\u63d2\u5165\u65e5\u671f\/\u65f6\u95f4", |
|||
"Remove link": "\u5220\u9664\u94fe\u63a5", |
|||
"Url": "\u5730\u5740", |
|||
"Text to display": "\u663e\u793a\u6587\u5b57", |
|||
"Anchors": "\u951a\u70b9", |
|||
"Insert link": "\u63d2\u5165\u94fe\u63a5", |
|||
"Link": "\u94fe\u63a5", |
|||
"New window": "\u5728\u65b0\u7a97\u53e3\u6253\u5f00", |
|||
"None": "\u65e0", |
|||
"The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?": "\u4f60\u6240\u586b\u5199\u7684URL\u5730\u5740\u5c5e\u4e8e\u5916\u90e8\u94fe\u63a5\uff0c\u9700\u8981\u52a0\u4e0ahttp:\/\/:\u524d\u7f00\u5417\uff1f", |
|||
"Paste or type a link": "\u7c98\u8d34\u6216\u8f93\u5165\u94fe\u63a5", |
|||
"Target": "\u6253\u5f00\u65b9\u5f0f", |
|||
"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?": "\u4f60\u6240\u586b\u5199\u7684URL\u5730\u5740\u4e3a\u90ae\u4ef6\u5730\u5740\uff0c\u9700\u8981\u52a0\u4e0amailto:\u524d\u7f00\u5417\uff1f", |
|||
"Insert\/edit link": "\u63d2\u5165\/\u7f16\u8f91\u94fe\u63a5", |
|||
"Insert\/edit video": "\u63d2\u5165\/\u7f16\u8f91\u89c6\u9891", |
|||
"Media": "\u5a92\u4f53", |
|||
"Alternative source": "\u955c\u50cf", |
|||
"Paste your embed code below:": "\u5c06\u5185\u5d4c\u4ee3\u7801\u7c98\u8d34\u5728\u4e0b\u9762:", |
|||
"Insert video": "\u63d2\u5165\u89c6\u9891", |
|||
"Poster": "\u5c01\u9762", |
|||
"Insert\/edit media": "\u63d2\u5165\/\u7f16\u8f91\u5a92\u4f53", |
|||
"Embed": "\u5185\u5d4c", |
|||
"Nonbreaking space": "\u4e0d\u95f4\u65ad\u7a7a\u683c", |
|||
"Page break": "\u5206\u9875\u7b26", |
|||
"Paste as text": "\u7c98\u8d34\u4e3a\u6587\u672c", |
|||
"Preview": "\u9884\u89c8", |
|||
"Print": "\u6253\u5370", |
|||
"Save": "\u4fdd\u5b58", |
|||
"Could not find the specified string.": "\u672a\u627e\u5230\u641c\u7d22\u5185\u5bb9.", |
|||
"Replace": "\u66ff\u6362", |
|||
"Next": "\u4e0b\u4e00\u4e2a", |
|||
"Whole words": "\u5168\u5b57\u5339\u914d", |
|||
"Find and replace": "\u67e5\u627e\u548c\u66ff\u6362", |
|||
"Replace with": "\u66ff\u6362\u4e3a", |
|||
"Find": "\u67e5\u627e", |
|||
"Replace all": "\u5168\u90e8\u66ff\u6362", |
|||
"Match case": "\u533a\u5206\u5927\u5c0f\u5199", |
|||
"Prev": "\u4e0a\u4e00\u4e2a", |
|||
"Spellcheck": "\u62fc\u5199\u68c0\u67e5", |
|||
"Finish": "\u5b8c\u6210", |
|||
"Ignore all": "\u5168\u90e8\u5ffd\u7565", |
|||
"Ignore": "\u5ffd\u7565", |
|||
"Add to Dictionary": "\u6dfb\u52a0\u5230\u5b57\u5178", |
|||
"Insert row before": "\u5728\u4e0a\u65b9\u63d2\u5165", |
|||
"Rows": "\u884c", |
|||
"Height": "\u9ad8", |
|||
"Paste row after": "\u7c98\u8d34\u5230\u4e0b\u65b9", |
|||
"Alignment": "\u5bf9\u9f50\u65b9\u5f0f", |
|||
"Border color": "\u8fb9\u6846\u989c\u8272", |
|||
"Column group": "\u5217\u7ec4", |
|||
"Row": "\u884c", |
|||
"Insert column before": "\u5728\u5de6\u4fa7\u63d2\u5165", |
|||
"Split cell": "\u62c6\u5206\u5355\u5143\u683c", |
|||
"Cell padding": "\u5355\u5143\u683c\u5185\u8fb9\u8ddd", |
|||
"Cell spacing": "\u5355\u5143\u683c\u5916\u95f4\u8ddd", |
|||
"Row type": "\u884c\u7c7b\u578b", |
|||
"Insert table": "\u63d2\u5165\u8868\u683c", |
|||
"Body": "\u8868\u4f53", |
|||
"Caption": "\u6807\u9898", |
|||
"Footer": "\u8868\u5c3e", |
|||
"Delete row": "\u5220\u9664\u884c", |
|||
"Paste row before": "\u7c98\u8d34\u5230\u4e0a\u65b9", |
|||
"Scope": "\u8303\u56f4", |
|||
"Delete table": "\u5220\u9664\u8868\u683c", |
|||
"H Align": "\u6c34\u5e73\u5bf9\u9f50", |
|||
"Top": "\u9876\u90e8\u5bf9\u9f50", |
|||
"Header cell": "\u8868\u5934\u5355\u5143\u683c", |
|||
"Column": "\u5217", |
|||
"Row group": "\u884c\u7ec4", |
|||
"Cell": "\u5355\u5143\u683c", |
|||
"Middle": "\u5782\u76f4\u5c45\u4e2d", |
|||
"Cell type": "\u5355\u5143\u683c\u7c7b\u578b", |
|||
"Copy row": "\u590d\u5236\u884c", |
|||
"Row properties": "\u884c\u5c5e\u6027", |
|||
"Table properties": "\u8868\u683c\u5c5e\u6027", |
|||
"Bottom": "\u5e95\u90e8\u5bf9\u9f50", |
|||
"V Align": "\u5782\u76f4\u5bf9\u9f50", |
|||
"Header": "\u8868\u5934", |
|||
"Right": "\u53f3\u5bf9\u9f50", |
|||
"Insert column after": "\u5728\u53f3\u4fa7\u63d2\u5165", |
|||
"Cols": "\u5217", |
|||
"Insert row after": "\u5728\u4e0b\u65b9\u63d2\u5165", |
|||
"Width": "\u5bbd", |
|||
"Cell properties": "\u5355\u5143\u683c\u5c5e\u6027", |
|||
"Left": "\u5de6\u5bf9\u9f50", |
|||
"Cut row": "\u526a\u5207\u884c", |
|||
"Delete column": "\u5220\u9664\u5217", |
|||
"Center": "\u5c45\u4e2d", |
|||
"Merge cells": "\u5408\u5e76\u5355\u5143\u683c", |
|||
"Insert template": "\u63d2\u5165\u6a21\u677f", |
|||
"Templates": "\u6a21\u677f", |
|||
"Background color": "\u80cc\u666f\u8272", |
|||
"Custom...": "\u81ea\u5b9a\u4e49...", |
|||
"Custom color": "\u81ea\u5b9a\u4e49\u989c\u8272", |
|||
"No color": "\u65e0", |
|||
"Text color": "\u6587\u5b57\u989c\u8272", |
|||
"Table of Contents": "\u5185\u5bb9\u5217\u8868", |
|||
"Show blocks": "\u663e\u793a\u533a\u5757\u8fb9\u6846", |
|||
"Show invisible characters": "\u663e\u793a\u4e0d\u53ef\u89c1\u5b57\u7b26", |
|||
"Words: {0}": "\u5b57\u6570\uff1a{0}", |
|||
"Insert": "\u63d2\u5165", |
|||
"File": "\u6587\u4ef6", |
|||
"Edit": "\u7f16\u8f91", |
|||
"Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help": "\u5728\u7f16\u8f91\u533a\u6309ALT-F9\u6253\u5f00\u83dc\u5355\uff0c\u6309ALT-F10\u6253\u5f00\u5de5\u5177\u680f\uff0c\u6309ALT-0\u67e5\u770b\u5e2e\u52a9", |
|||
"Tools": "\u5de5\u5177", |
|||
"View": "\u89c6\u56fe", |
|||
"Table": "\u8868\u683c", |
|||
"Format": "\u683c\u5f0f" |
|||
}); |
@ -0,0 +1,138 @@ |
|||
/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript */ |
|||
/** |
|||
* prism.js default theme for JavaScript, CSS and HTML |
|||
* Based on dabblet (http://dabblet.com) |
|||
* @author Lea Verou |
|||
*/ |
|||
|
|||
code[class*="language-"], |
|||
pre[class*="language-"] { |
|||
color: black; |
|||
text-shadow: 0 1px white; |
|||
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; |
|||
direction: ltr; |
|||
text-align: left; |
|||
white-space: pre; |
|||
word-spacing: normal; |
|||
word-break: normal; |
|||
word-wrap: normal; |
|||
line-height: 1.5; |
|||
|
|||
-moz-tab-size: 4; |
|||
-o-tab-size: 4; |
|||
tab-size: 4; |
|||
|
|||
-webkit-hyphens: none; |
|||
-moz-hyphens: none; |
|||
-ms-hyphens: none; |
|||
hyphens: none; |
|||
} |
|||
|
|||
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection, |
|||
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection { |
|||
text-shadow: none; |
|||
background: #b3d4fc; |
|||
} |
|||
|
|||
pre[class*="language-"]::selection, pre[class*="language-"] ::selection, |
|||
code[class*="language-"]::selection, code[class*="language-"] ::selection { |
|||
text-shadow: none; |
|||
background: #b3d4fc; |
|||
} |
|||
|
|||
@media print { |
|||
code[class*="language-"], |
|||
pre[class*="language-"] { |
|||
text-shadow: none; |
|||
} |
|||
} |
|||
|
|||
/* Code blocks */ |
|||
pre[class*="language-"] { |
|||
padding: 1em; |
|||
margin: .5em 0; |
|||
overflow: auto; |
|||
} |
|||
|
|||
:not(pre) > code[class*="language-"], |
|||
pre[class*="language-"] { |
|||
background: #f5f2f0; |
|||
} |
|||
|
|||
/* Inline code */ |
|||
:not(pre) > code[class*="language-"] { |
|||
padding: .1em; |
|||
border-radius: .3em; |
|||
} |
|||
|
|||
.token.comment, |
|||
.token.prolog, |
|||
.token.doctype, |
|||
.token.cdata { |
|||
color: slategray; |
|||
} |
|||
|
|||
.token.punctuation { |
|||
color: #999; |
|||
} |
|||
|
|||
.namespace { |
|||
opacity: .7; |
|||
} |
|||
|
|||
.token.property, |
|||
.token.tag, |
|||
.token.boolean, |
|||
.token.number, |
|||
.token.constant, |
|||
.token.symbol, |
|||
.token.deleted { |
|||
color: #905; |
|||
} |
|||
|
|||
.token.selector, |
|||
.token.attr-name, |
|||
.token.string, |
|||
.token.char, |
|||
.token.builtin, |
|||
.token.inserted { |
|||
color: #690; |
|||
} |
|||
|
|||
.token.operator, |
|||
.token.entity, |
|||
.token.url, |
|||
.language-css .token.string, |
|||
.style .token.string { |
|||
color: #a67f59; |
|||
background: hsla(0, 0%, 100%, .5); |
|||
} |
|||
|
|||
.token.atrule, |
|||
.token.attr-value, |
|||
.token.keyword { |
|||
color: #07a; |
|||
} |
|||
|
|||
.token.function { |
|||
color: #DD4A68; |
|||
} |
|||
|
|||
.token.regex, |
|||
.token.important, |
|||
.token.variable { |
|||
color: #e90; |
|||
} |
|||
|
|||
.token.important, |
|||
.token.bold { |
|||
font-weight: bold; |
|||
} |
|||
.token.italic { |
|||
font-style: italic; |
|||
} |
|||
|
|||
.token.entity { |
|||
cursor: help; |
|||
} |
|||
|
After Width: | Height: | Size: 354 B |
After Width: | Height: | Size: 329 B |
After Width: | Height: | Size: 331 B |
After Width: | Height: | Size: 342 B |
After Width: | Height: | Size: 340 B |
After Width: | Height: | Size: 336 B |
After Width: | Height: | Size: 338 B |
After Width: | Height: | Size: 343 B |
After Width: | Height: | Size: 321 B |
After Width: | Height: | Size: 323 B |
After Width: | Height: | Size: 344 B |
After Width: | Height: | Size: 338 B |
After Width: | Height: | Size: 328 B |
After Width: | Height: | Size: 337 B |
After Width: | Height: | Size: 350 B |
After Width: | Height: | Size: 336 B |
@ -0,0 +1,154 @@ |
|||
.mce-visualblocks p { |
|||
padding-top: 10px; |
|||
border: 1px dashed #BBB; |
|||
margin-left: 3px; |
|||
background-image: url(data:image/gif;base64,R0lGODlhCQAJAJEAAAAAAP///7u7u////yH5BAEAAAMALAAAAAAJAAkAAAIQnG+CqCN/mlyvsRUpThG6AgA7); |
|||
background-repeat: no-repeat; |
|||
} |
|||
|
|||
.mce-visualblocks h1 { |
|||
padding-top: 10px; |
|||
border: 1px dashed #BBB; |
|||
margin-left: 3px; |
|||
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGu1JuxHoAfRNRW3TWXyF2YiRUAOw==); |
|||
background-repeat: no-repeat; |
|||
} |
|||
|
|||
.mce-visualblocks h2 { |
|||
padding-top: 10px; |
|||
border: 1px dashed #BBB; |
|||
margin-left: 3px; |
|||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8Hybbx4oOuqgTynJd6bGlWg3DkJzoaUAAAOw==); |
|||
background-repeat: no-repeat; |
|||
} |
|||
|
|||
.mce-visualblocks h3 { |
|||
padding-top: 10px; |
|||
border: 1px dashed #BBB; |
|||
margin-left: 3px; |
|||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIZjI8Hybbx4oOuqgTynJf2Ln2NOHpQpmhAAQA7); |
|||
background-repeat: no-repeat; |
|||
} |
|||
|
|||
.mce-visualblocks h4 { |
|||
padding-top: 10px; |
|||
border: 1px dashed #BBB; |
|||
margin-left: 3px; |
|||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxInR0zqeAdhtJlXwV1oCll2HaWgAAOw==); |
|||
background-repeat: no-repeat; |
|||
} |
|||
|
|||
.mce-visualblocks h5 { |
|||
padding-top: 10px; |
|||
border: 1px dashed #BBB; |
|||
margin-left: 3px; |
|||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjane4iq5GlW05GgIkIZUAAAOw==); |
|||
background-repeat: no-repeat; |
|||
} |
|||
|
|||
.mce-visualblocks h6 { |
|||
padding-top: 10px; |
|||
border: 1px dashed #BBB; |
|||
margin-left: 3px; |
|||
background-image: url(data:image/gif;base64,R0lGODlhDgAKAIABALu7u////yH5BAEAAAEALAAAAAAOAAoAAAIajI8HybbxIoiuwjan04jep1iZ1XRlAo5bVgAAOw==); |
|||
background-repeat: no-repeat; |
|||
} |
|||
|
|||
.mce-visualblocks div:not([data-mce-bogus]) { |
|||
padding-top: 10px; |
|||
border: 1px dashed #BBB; |
|||
margin-left: 3px; |
|||
background-image: url(data:image/gif;base64,R0lGODlhEgAKAIABALu7u////yH5BAEAAAEALAAAAAASAAoAAAIfjI9poI0cgDywrhuxfbrzDEbQM2Ei5aRjmoySW4pAAQA7); |
|||
background-repeat: no-repeat; |
|||
} |
|||
|
|||
.mce-visualblocks section { |
|||
padding-top: 10px; |
|||
border: 1px dashed #BBB; |
|||
margin: 0 0 1em 3px; |
|||
background-image: url(data:image/gif;base64,R0lGODlhKAAKAIABALu7u////yH5BAEAAAEALAAAAAAoAAoAAAI5jI+pywcNY3sBWHdNrplytD2ellDeSVbp+GmWqaDqDMepc8t17Y4vBsK5hDyJMcI6KkuYU+jpjLoKADs=); |
|||
background-repeat: no-repeat; |
|||
} |
|||
|
|||
.mce-visualblocks article { |
|||
padding-top: 10px; |
|||
border: 1px dashed #BBB; |
|||
margin: 0 0 1em 3px; |
|||
background-image: url(data:image/gif;base64,R0lGODlhKgAKAIABALu7u////yH5BAEAAAEALAAAAAAqAAoAAAI6jI+pywkNY3wG0GBvrsd2tXGYSGnfiF7ikpXemTpOiJScasYoDJJrjsG9gkCJ0ag6KhmaIe3pjDYBBQA7); |
|||
background-repeat: no-repeat; |
|||
} |
|||
|
|||
.mce-visualblocks blockquote { |
|||
padding-top: 10px; |
|||
border: 1px dashed #BBB; |
|||
background-image: url(data:image/gif;base64,R0lGODlhPgAKAIABALu7u////yH5BAEAAAEALAAAAAA+AAoAAAJPjI+py+0Knpz0xQDyuUhvfoGgIX5iSKZYgq5uNL5q69asZ8s5rrf0yZmpNkJZzFesBTu8TOlDVAabUyatguVhWduud3EyiUk45xhTTgMBBQA7); |
|||
background-repeat: no-repeat; |
|||
} |
|||
|
|||
.mce-visualblocks address { |
|||
padding-top: 10px; |
|||
border: 1px dashed #BBB; |
|||
margin: 0 0 1em 3px; |
|||
background-image: url(data:image/gif;base64,R0lGODlhLQAKAIABALu7u////yH5BAEAAAEALAAAAAAtAAoAAAI/jI+pywwNozSP1gDyyZcjb3UaRpXkWaXmZW4OqKLhBmLs+K263DkJK7OJeifh7FicKD9A1/IpGdKkyFpNmCkAADs=); |
|||
background-repeat: no-repeat; |
|||
} |
|||
|
|||
.mce-visualblocks pre { |
|||
padding-top: 10px; |
|||
border: 1px dashed #BBB; |
|||
margin-left: 3px; |
|||
background-image: url(data:image/gif;base64,R0lGODlhFQAKAIABALu7uwAAACH5BAEAAAEALAAAAAAVAAoAAAIjjI+ZoN0cgDwSmnpz1NCueYERhnibZVKLNnbOq8IvKpJtVQAAOw==); |
|||
background-repeat: no-repeat; |
|||
} |
|||
|
|||
.mce-visualblocks figure { |
|||
padding-top: 10px; |
|||
border: 1px dashed #BBB; |
|||
margin: 0 0 1em 3px; |
|||
background-image: url(data:image/gif;base64,R0lGODlhJAAKAIAAALu7u////yH5BAEAAAEALAAAAAAkAAoAAAI0jI+py+2fwAHUSFvD3RlvG4HIp4nX5JFSpnZUJ6LlrM52OE7uSWosBHScgkSZj7dDKnWAAgA7); |
|||
background-repeat: no-repeat; |
|||
} |
|||
|
|||
.mce-visualblocks hgroup { |
|||
padding-top: 10px; |
|||
border: 1px dashed #BBB; |
|||
margin: 0 0 1em 3px; |
|||
background-image: url(data:image/gif;base64,R0lGODlhJwAKAIABALu7uwAAACH5BAEAAAEALAAAAAAnAAoAAAI3jI+pywYNI3uB0gpsRtt5fFnfNZaVSYJil4Wo03Hv6Z62uOCgiXH1kZIIJ8NiIxRrAZNMZAtQAAA7); |
|||
background-repeat: no-repeat; |
|||
} |
|||
|
|||
.mce-visualblocks aside { |
|||
padding-top: 10px; |
|||
border: 1px dashed #BBB; |
|||
margin: 0 0 1em 3px; |
|||
background-image: url(data:image/gif;base64,R0lGODlhHgAKAIABAKqqqv///yH5BAEAAAEALAAAAAAeAAoAAAItjI+pG8APjZOTzgtqy7I3f1yehmQcFY4WKZbqByutmW4aHUd6vfcVbgudgpYCADs=); |
|||
background-repeat: no-repeat; |
|||
} |
|||
|
|||
.mce-visualblocks figcaption { |
|||
border: 1px dashed #BBB; |
|||
} |
|||
|
|||
.mce-visualblocks ul { |
|||
padding-top: 10px; |
|||
border: 1px dashed #BBB; |
|||
margin: 0 0 1em 3px; |
|||
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==); |
|||
background-repeat: no-repeat; |
|||
} |
|||
|
|||
.mce-visualblocks ol { |
|||
padding-top: 10px; |
|||
border: 1px dashed #BBB; |
|||
margin: 0 0 1em 3px; |
|||
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==); |
|||
background-repeat: no-repeat; |
|||
} |
|||
|
|||
.mce-visualblocks dl { |
|||
padding-top: 10px; |
|||
border: 1px dashed #BBB; |
|||
margin: 0 0 1em 3px; |
|||
background-image: url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybEOnmOvUoWznTqeuEjNSCqeGRUAOw==); |
|||
background-repeat: no-repeat; |
|||
} |
@ -0,0 +1 @@ |
|||
.word-wrap{word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-ms-hyphens:auto;-moz-hyphens:auto;-webkit-hyphens:auto;hyphens:auto}.mce-content-body .mce-reset{margin:0;padding:0;border:0;outline:0;vertical-align:top;background:transparent;text-decoration:none;color:black;font-family:Arial;font-size:11px;text-shadow:none;float:none;position:static;width:auto;height:auto;white-space:nowrap;cursor:inherit;line-height:normal;font-weight:normal;text-align:left;-webkit-tap-highlight-color:transparent;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;direction:ltr;max-width:none}.mce-object{border:1px dotted #3A3A3A;background:#D5D5D5 url(img/object.gif) no-repeat center}.mce-preview-object{display:inline-block;position:relative;margin:0 2px 0 2px;line-height:0;border:1px solid gray}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-preview-object .mce-shim{position:absolute;top:0;left:0;width:100%;height:100%;background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}figure.align-left{float:left}figure.align-right{float:right}figure.image.align-center{display:table;margin-left:auto;margin-right:auto}figure.image{display:inline-block;border:1px solid gray;margin:0 2px 0 1px;background:#f5f2f0}figure.image img{margin:8px 8px 0 8px}figure.image figcaption{margin:6px 8px 6px 8px;text-align:center}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-pagebreak{cursor:default;display:block;border:0;width:100%;height:5px;border:1px dashed #666;margin-top:15px;page-break-before:always}@media print{.mce-pagebreak{border:0}}.mce-item-anchor{cursor:default;display:inline-block;-webkit-user-select:all;-webkit-user-modify:read-only;-moz-user-select:all;-moz-user-modify:read-only;user-select:all;user-modify:read-only;width:9px !important;height:9px !important;border:1px dotted #3A3A3A;background:#D5D5D5 url(img/anchor.gif) no-repeat center}.mce-nbsp,.mce-shy{background:#AAA}.mce-shy::after{content:'-'}.mce-match-marker{background:#AAA;color:#fff}.mce-match-marker-selected{background:#3399ff;color:#fff}.mce-spellchecker-word{border-bottom:2px solid rgba(208,2,27,0.5);cursor:default}.mce-spellchecker-grammar{border-bottom:2px solid #008000;cursor:default}.mce-item-table,.mce-item-table td,.mce-item-table th,.mce-item-table caption{border:1px dashed #BBB}td[data-mce-selected],th[data-mce-selected]{background-color:#2276d2 !important}.mce-edit-focus{outline:1px dotted #333}.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus{outline:2px solid #2276d2}.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover{outline:2px solid #2276d2}.mce-content-body *[contentEditable=false][data-mce-selected]{outline:2px solid #2276d2}.mce-content-body *[data-mce-selected="inline-boundary"]{background:#bfe6ff}.mce-content-body .mce-item-anchor[data-mce-selected]{background:#D5D5D5 url(img/anchor.gif) no-repeat center}.mce-content-body hr{cursor:default}.ephox-snooker-resizer-bar{background-color:#2276d2;opacity:0}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:.2}.mce-content-body{line-height:1.3} |
@ -0,0 +1 @@ |
|||
body{background-color:#FFFFFF;color:#000000;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px;line-height:1.3;scrollbar-3dlight-color:#F0F0EE;scrollbar-arrow-color:#676662;scrollbar-base-color:#F0F0EE;scrollbar-darkshadow-color:#DDDDDD;scrollbar-face-color:#E0E0DD;scrollbar-highlight-color:#F0F0EE;scrollbar-shadow-color:#F0F0EE;scrollbar-track-color:#F5F5F5}td,th{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px}.word-wrap{word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-ms-hyphens:auto;-moz-hyphens:auto;-webkit-hyphens:auto;hyphens:auto}.mce-content-body .mce-reset{margin:0;padding:0;border:0;outline:0;vertical-align:top;background:transparent;text-decoration:none;color:black;font-family:Arial;font-size:11px;text-shadow:none;float:none;position:static;width:auto;height:auto;white-space:nowrap;cursor:inherit;line-height:normal;font-weight:normal;text-align:left;-webkit-tap-highlight-color:transparent;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;direction:ltr;max-width:none}.mce-object{border:1px dotted #3A3A3A;background:#D5D5D5 url(img/object.gif) no-repeat center}.mce-preview-object{display:inline-block;position:relative;margin:0 2px 0 2px;line-height:0;border:1px solid gray}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-preview-object .mce-shim{position:absolute;top:0;left:0;width:100%;height:100%;background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}figure.align-left{float:left}figure.align-right{float:right}figure.image.align-center{display:table;margin-left:auto;margin-right:auto}figure.image{display:inline-block;border:1px solid gray;margin:0 2px 0 1px;background:#f5f2f0}figure.image img{margin:8px 8px 0 8px}figure.image figcaption{margin:6px 8px 6px 8px;text-align:center}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-pagebreak{cursor:default;display:block;border:0;width:100%;height:5px;border:1px dashed #666;margin-top:15px;page-break-before:always}@media print{.mce-pagebreak{border:0}}.mce-item-anchor{cursor:default;display:inline-block;-webkit-user-select:all;-webkit-user-modify:read-only;-moz-user-select:all;-moz-user-modify:read-only;user-select:all;user-modify:read-only;width:9px !important;height:9px !important;border:1px dotted #3A3A3A;background:#D5D5D5 url(img/anchor.gif) no-repeat center}.mce-nbsp,.mce-shy{background:#AAA}.mce-shy::after{content:'-'}.mce-match-marker{background:#AAA;color:#fff}.mce-match-marker-selected{background:#3399ff;color:#fff}.mce-spellchecker-word{border-bottom:2px solid rgba(208,2,27,0.5);cursor:default}.mce-spellchecker-grammar{border-bottom:2px solid #008000;cursor:default}.mce-item-table,.mce-item-table td,.mce-item-table th,.mce-item-table caption{border:1px dashed #BBB}td[data-mce-selected],th[data-mce-selected]{background-color:#2276d2 !important}.mce-edit-focus{outline:1px dotted #333}.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus{outline:2px solid #2276d2}.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover{outline:2px solid #2276d2}.mce-content-body *[contentEditable=false][data-mce-selected]{outline:2px solid #2276d2}.mce-content-body *[data-mce-selected="inline-boundary"]{background:#bfe6ff}.mce-content-body .mce-item-anchor[data-mce-selected]{background:#D5D5D5 url(img/anchor.gif) no-repeat center}.mce-content-body hr{cursor:default}.ephox-snooker-resizer-bar{background-color:#2276d2;opacity:0}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:.2} a {color: #1478F0;} |
After Width: | Height: | Size: 24 KiB |
After Width: | Height: | Size: 45 KiB |
After Width: | Height: | Size: 53 B |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 152 B |
After Width: | Height: | Size: 43 B |
@ -0,0 +1,17 @@ |
|||
<template> |
|||
<div id="app"> |
|||
<router-view /> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: 'App', |
|||
created() { |
|||
console.log('resss', 11111111111111111111111111) |
|||
}, |
|||
mounted() { |
|||
|
|||
}, |
|||
} |
|||
</script> |
@ -0,0 +1,4 @@ |
|||
import request from '@/utils/request' |
|||
// 上传图片
|
|||
|
|||
export const uploadFile = '/api/portal/file/upload' |
@ -0,0 +1,49 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
//区域获取省
|
|||
// export function getProvince(data) {
|
|||
// return request({
|
|||
// url: '/system/region/getProvince',
|
|||
// method: 'get'
|
|||
// })
|
|||
// }
|
|||
// //根据省sid获取该省的所有市
|
|||
// export function getCity(data) {
|
|||
// return request({
|
|||
// url: '/system/region/getCity',
|
|||
// method: 'get',
|
|||
// params: data
|
|||
// })
|
|||
// }
|
|||
// //根据市sid获取该市的所有县区
|
|||
// export function getCounty(data) {
|
|||
// return request({
|
|||
// url: '/system/region/getCounty',
|
|||
// method: 'get',
|
|||
// params: data
|
|||
// })
|
|||
// }
|
|||
// 获取省/portal/v1/regions/getProvince
|
|||
export function getProvince(data) { |
|||
return request({ |
|||
url: '/portal/v1/regions/getProvince',data, |
|||
method: 'get', |
|||
params:data, |
|||
}) |
|||
} |
|||
// 根据省sid获取该省的所有市
|
|||
export function getCity(data) { |
|||
return request({ |
|||
url: '/portal/v1/regions/getCity', |
|||
params:data, |
|||
method: 'get', |
|||
}) |
|||
} |
|||
// 根据市sid获取该市的所有县区
|
|||
export function getCounty(data) { |
|||
return request({ |
|||
url: '/portal/v1/regions/getCounty', |
|||
method: 'get', |
|||
params:data, |
|||
}) |
|||
} |
@ -0,0 +1,212 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export function typeValues(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/dictcommons/typeValues', |
|||
method: 'get', |
|||
params: data |
|||
}) |
|||
} |
|||
|
|||
// 获取数据字典(根据分组)
|
|||
export function getTypeValueList(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/dictcommons/getTypeValueList', |
|||
method: 'get', |
|||
params: data |
|||
}) |
|||
} |
|||
|
|||
// 根据当前登录人orgSidPath(全路径sid)查询分公司
|
|||
export function getOrgSidByPath(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/sysstafforg/getOrgSidByPath', |
|||
method: 'get', |
|||
params: data |
|||
}) |
|||
} |
|||
|
|||
// 根据分公司sid查询分公司名称
|
|||
export function fetchBySid(sid) { |
|||
return request({ |
|||
url: '/portal/v1/sysorganization/fetchBySid/' + sid, |
|||
method: 'get' |
|||
}) |
|||
} |
|||
|
|||
// 根据当前登录用户sid获取本分公司下的销售部门和销售专员
|
|||
export function selectOrgList(data) { |
|||
return request({ |
|||
url: '/portal/v1/sysorganization/selectOrgList', |
|||
method: 'get', |
|||
params: data |
|||
}) |
|||
} |
|||
|
|||
// 当前用户创建申请时判断该用户是否有该菜单的操作权限
|
|||
export function selectHaveMessage(data) { |
|||
return request({ |
|||
url: '/portal/v1/sysuser/selectHaveMessage ', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
} |
|||
|
|||
// 根据当前登录用户的角色获取菜单分页列表页面右上角按钮的隐藏
|
|||
export function getButtonPermissions(data) { |
|||
return request({ |
|||
url: '/portal/v1/sysfunction/getButtonPermissions', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
} |
|||
|
|||
// 根据当前登录用户的全路径查询相应部门下的所有人
|
|||
export function selAllByOrgSidPath(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/sysstafforg/selAllByOrgSidPath', |
|||
method: 'post', |
|||
params: data |
|||
}) |
|||
} |
|||
|
|||
// 分公司全路径sid获取工种
|
|||
export function getServiceType(data) { |
|||
return request({ |
|||
url: '/as/v1/AsServiceItem/getServiceType', |
|||
method: 'get', |
|||
params: data |
|||
}) |
|||
} |
|||
|
|||
// 分公司全路径sid获取科目
|
|||
export function selSubjectInfo(data) { |
|||
return request({ |
|||
url: '/as/v1/asservicepackage/selSubjectInfo', |
|||
method: 'get', |
|||
params: data |
|||
}) |
|||
} |
|||
|
|||
// 分公司全路径sid获取班组
|
|||
export function getGroupList(data) { |
|||
return request({ |
|||
url: '/as/v1/asservicegroup/getGroupList', |
|||
method: 'post', |
|||
params: data |
|||
}) |
|||
} |
|||
|
|||
// 查询分页列表 -- 客户列表
|
|||
export function customerListPage(params) { |
|||
return request({ |
|||
url: '/yxtcrm/apiadmin/v1/crmcustomer/customerListPage', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
} |
|||
|
|||
// 获取省
|
|||
export function getProvince() { |
|||
return request({ |
|||
url: '/wms/apiadmin/regions/getProvince', |
|||
method: 'get' |
|||
}) |
|||
} |
|||
// 根据省sid获取该省的所有市
|
|||
export function getCity(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/regions/getCity', |
|||
method: 'get', |
|||
params: data |
|||
}) |
|||
} |
|||
// 根据市sid获取该市的所有县区
|
|||
export function getCounty(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/regions/getCounty', |
|||
method: 'get', |
|||
params: data |
|||
}) |
|||
} |
|||
|
|||
// 获取售后服务--基础信息--供应商信息
|
|||
export function choiceSupplierInfo(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/supplierinfo/choiceSupplierInfo', |
|||
method: 'get', |
|||
params: data |
|||
}) |
|||
} |
|||
|
|||
// 查询分页列表 -- 商品列表
|
|||
export function chooseproducts(params) { |
|||
return request({ |
|||
url: '/yxtbase/apiadmin/base/basegoodssku/getGoodsListPage', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
} |
|||
|
|||
// 查询所有仓库
|
|||
export function getWarehouses(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouseinfo/listAll', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
} |
|||
|
|||
|
|||
// 根据仓库查询库位
|
|||
export function getWarehouseareas(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehousearea/selectAll', |
|||
method: 'get', |
|||
params: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
|
|||
} |
|||
|
|||
// 根据仓库查询库位
|
|||
export function getWarehouserack(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouserack/selectAll', |
|||
method: 'get', |
|||
params: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
|
|||
} |
|||
|
|||
// 查询所有库位
|
|||
export function getWarehouseAacks(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouserack/listAll', |
|||
method: 'get', |
|||
params: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
} |
@ -0,0 +1,13 @@ |
|||
import request from '@/utils/request' |
|||
// 请求按钮权限
|
|||
export default { |
|||
|
|||
// 查询分页列表,输入当前路径和userSid,返回
|
|||
buttonPermission: function(params) { |
|||
return request({ |
|||
url: '/demopackage/v1/demo/buttonPermission', |
|||
method: 'post', |
|||
data: params |
|||
}) |
|||
} |
|||
} |
@ -0,0 +1,35 @@ |
|||
import request from '@/utils/request' |
|||
import qs from 'qs' |
|||
|
|||
class User { |
|||
login(data) { // 登录
|
|||
return request({ |
|||
url: '/system/user/login', |
|||
method: 'post', |
|||
data |
|||
}) |
|||
} |
|||
logout(data) { // 退出
|
|||
return request({ |
|||
url: '/portal/v1/sysuser/signOut', |
|||
method: 'post', |
|||
data: qs.stringify(data) |
|||
}) |
|||
} |
|||
updatePassword(data) { // 退出修改密码
|
|||
return request({ |
|||
url: '/portal/v1/sysuser/updatePassword', |
|||
method: 'post', |
|||
data: qs.stringify(data) |
|||
}) |
|||
} |
|||
reGetPwd(data) { |
|||
return request({ |
|||
url: `/system/user/reGetPwd/${data.userName}/${data.userPhone}`, |
|||
method: 'post', |
|||
data: qs.stringify(data) |
|||
}) |
|||
} |
|||
} |
|||
|
|||
export default new User() |
@ -0,0 +1,87 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export default { |
|||
|
|||
// 查询分页列表
|
|||
listPage: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouserack/listPage', |
|||
method: 'post', |
|||
data: params, |
|||
}) |
|||
}, |
|||
|
|||
|
|||
// 修改是否可用状态
|
|||
updateIsEnable: function(sid, isEnable) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouserack/updateIsEnable/' + sid + "/" + isEnable |
|||
}); |
|||
}, |
|||
|
|||
|
|||
// 新增、保存
|
|||
saveGoodsShelves: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouserack/saveOrUpdate', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
}, |
|||
|
|||
// 初始化
|
|||
initGoodsShelves: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouserack/initialization/' + data, |
|||
method: 'get' |
|||
}); |
|||
}, |
|||
|
|||
// 库位-- 删除
|
|||
deleteBySids: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouserack/delBySids', |
|||
method: 'DELETE', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// 查询所有库位列表
|
|||
warehouserackListAll: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouserack/listAll', |
|||
method: 'post', |
|||
data: params, |
|||
}) |
|||
}, |
|||
|
|||
// 根据仓库查询库位
|
|||
getWarehouseareas: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouserack/selectAll', |
|||
method: 'get', |
|||
params: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
|
|||
// 根据库区查询库位
|
|||
getAllTypeByAreaSid: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouserack/getAllTypeByAreaSid', |
|||
method: 'get', |
|||
params: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
|
|||
} |
@ -0,0 +1,55 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export default { |
|||
// 列表查询
|
|||
listPage: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/supplierinfo/listPage', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
// 保存
|
|||
saveOrUpdate: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/supplierinfo/save', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
// 回显
|
|||
fetchDetailsBySid: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/supplierinfo/fetchDetailsBySid/' + data, |
|||
method: 'get' |
|||
}) |
|||
}, |
|||
// 删除
|
|||
delBySids: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/supplierinfo/delBySids', |
|||
method: 'DELETE', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
// 获取供应商类型
|
|||
selSupplierType: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/suppliertype/selSupplierType', |
|||
method: 'post', |
|||
params: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
} |
|||
} |
@ -0,0 +1,31 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export default { |
|||
// 列表查询
|
|||
listPage: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/suppliertype/listPage', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
// 保存
|
|||
saveOrUpdate: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/suppliertype/save', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
// 删除
|
|||
delBySids: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/suppliertype/delBySids', |
|||
method: 'DELETE', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
} |
|||
} |
@ -0,0 +1,70 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export default { |
|||
|
|||
// 查询分页列表
|
|||
listPage: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouseinfo/listPage', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
// 仓库查询
|
|||
getAllWarehouse: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouseinfo/listAll', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
|
|||
// 修改是否可用状态
|
|||
updateIsEnable: function(sid, isEnable) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouseinfo/updateStatus/' + sid + "/" + isEnable |
|||
}); |
|||
}, |
|||
|
|||
|
|||
// 新增、保存
|
|||
saveWarehouse: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouseinfo/saveOrUpdate', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
// 初始化
|
|||
initWarehouse: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouseinfo/initialization/' + data, |
|||
method: 'get' |
|||
}); |
|||
}, |
|||
|
|||
// 仓库-- 删除
|
|||
deleteBySids: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouseinfo/delBySids', |
|||
method: 'DELETE', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
|
|||
} |
@ -0,0 +1,88 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export default { |
|||
|
|||
// 查询分页列表
|
|||
listPage: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehousearea/listPage', |
|||
method: 'post', |
|||
data: params, |
|||
}) |
|||
}, |
|||
|
|||
// 库区查询
|
|||
getAllWarehousearea: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehousearea/listAll', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// 根据仓库sid查询库区
|
|||
getAllWarehouseareaBysid: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin//warehousearea/selectAll', |
|||
method: 'get', |
|||
params: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
|
|||
// 根据区域sid查询库区
|
|||
getAllWarehouseareaByZoneSid: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehousearea/selectAreaAll', |
|||
method: 'get', |
|||
params: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// 修改是否可用状态
|
|||
updateIsEnable: function(sid, isEnable) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehousearea/updateIsEnable/' + sid + "/" + isEnable |
|||
}); |
|||
}, |
|||
|
|||
// 新增、保存
|
|||
saveWarehousearea: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehousearea/saveOrUpdate', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
}, |
|||
|
|||
// 初始化
|
|||
initWarehousearea: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehousearea/initialization/' + data, |
|||
method: 'get' |
|||
}); |
|||
}, |
|||
|
|||
// 库区-- 删除
|
|||
deleteBySids: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehousearea/delBySids', |
|||
method: 'DELETE', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
|
|||
} |
@ -0,0 +1,67 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export default { |
|||
|
|||
|
|||
// 查询分页列表
|
|||
listPage: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouseareatype/listPage', |
|||
method: 'post', |
|||
data: params, |
|||
}) |
|||
}, |
|||
|
|||
// 库去类型查询
|
|||
getAllWarehouseareatype: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouseareatype/listAll', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
|
|||
|
|||
// 修改是否可用状态
|
|||
updateIsEnable: function(sid, isEnable) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouseareatype/updateIsEnable/' + sid + "/" + isEnable |
|||
}); |
|||
}, |
|||
|
|||
|
|||
// 新增、保存
|
|||
saveWarehousearea: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouseareatype/saveOrUpdate', |
|||
method: 'post', |
|||
data: data |
|||
}); |
|||
}, |
|||
|
|||
// 初始化
|
|||
initWarehousearea: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouseareatype/initialization/' + data, |
|||
method: 'get' |
|||
}); |
|||
}, |
|||
|
|||
// 库区类型-- 删除
|
|||
deleteBySids: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouseareatype/delBySids', |
|||
method: 'DELETE', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
|
|||
} |
@ -0,0 +1,84 @@ |
|||
import request from '@/utils/request' |
|||
// 仓库区域 接口
|
|||
export default { |
|||
|
|||
// 查询分页列表
|
|||
listPage: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehousezone/listPage', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// 区域查询
|
|||
getAllWarehousezone: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehousezone/listAll', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
|
|||
// 根据仓库sid查询区域
|
|||
getAllWarehousezoneBysid: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehousezone/selectAll', |
|||
method: 'get', |
|||
params: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
|
|||
// 修改是否可用状态
|
|||
updateIsEnable: function(sid, isEnable) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehousezone/updateIsEnable/' + sid + "/" + isEnable |
|||
}); |
|||
}, |
|||
|
|||
|
|||
// 新增、保存
|
|||
saveWarehousezone: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehousezone/saveOrUpdate', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
// 初始化
|
|||
initWarehousezone: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehousezone/initialization/' + data, |
|||
method: 'get' |
|||
}); |
|||
}, |
|||
|
|||
|
|||
// 区域-- 删除
|
|||
deleteBySids: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehousezone/delBySids', |
|||
method: 'DELETE', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
} |
@ -0,0 +1,74 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export default { |
|||
|
|||
// 查询分页列表
|
|||
listPage: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodsbrand/listPage', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// 品牌查询
|
|||
getAllBrand: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodsbrand/listAll', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
|
|||
// 修改是否可用状态
|
|||
updateIsEnable: function(sid,isEnable) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodsbrand/updateIsEnable/'+sid+"/"+isEnable |
|||
}); |
|||
}, |
|||
|
|||
|
|||
// 新增、保存
|
|||
saveBrands: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodsbrand/saveOrUpdate', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
// 初始化
|
|||
initBrands: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodsbrand/initialization/' + data, |
|||
method: 'get' |
|||
}); |
|||
}, |
|||
|
|||
|
|||
|
|||
// 品牌-- 删除
|
|||
deleteBySids: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodsbrand/delBySids', |
|||
method: 'DELETE', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
|
|||
|
|||
} |
@ -0,0 +1,78 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export default { |
|||
|
|||
// 查询分页列表
|
|||
listPage: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodstype/listPage', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// 类别查询
|
|||
getAllType: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodstype/listAll', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
|
|||
// 修改是否可用状态
|
|||
updateIsEnable: function(sid, isEnable) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodstype/updateIsEnable/' + sid + "/" + isEnable |
|||
}); |
|||
}, |
|||
|
|||
// 修改是否一品一码
|
|||
updateIsGoodsID: function(sid, isGoodsID) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodstype/updateIsGoodsID/' + sid + "/" + isGoodsID |
|||
}); |
|||
}, |
|||
|
|||
// 新增、保存
|
|||
saveTypes: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodstype/saveOrUpdate', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
// 初始化
|
|||
initTypes: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodstype/initialization/' + data, |
|||
method: 'get' |
|||
}); |
|||
}, |
|||
|
|||
|
|||
|
|||
// 类别-- 删除
|
|||
deleteBySids: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodstype/delBySids', |
|||
method: 'DELETE', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
} |
@ -0,0 +1,70 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export default { |
|||
|
|||
// 查询分页列表
|
|||
listPage: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basemanufacturer/listPage', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// 厂家查询
|
|||
getAllFacturer: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basemanufacturer/listAll', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// 修改是否可用状态
|
|||
updateIsEnable: function(sid,isEnable) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basemanufacturer/updateIsEnable/'+sid+"/"+isEnable |
|||
}); |
|||
}, |
|||
|
|||
|
|||
// 新增、保存
|
|||
saveFacturer: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basemanufacturer/saveOrUpdate', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
// 初始化
|
|||
initFacturer: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basemanufacturer/initialization/' + data, |
|||
method: 'get' |
|||
}); |
|||
}, |
|||
|
|||
// 厂家-- 删除
|
|||
deleteBySids: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basemanufacturer/delBySids', |
|||
method: 'DELETE', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
|
|||
} |
@ -0,0 +1,94 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export default { |
|||
|
|||
// 查询分页列表
|
|||
listPage: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodsspu/listPage', |
|||
// url: '/wms/apiadmin/base/basegoodsspu/goodsListPage',
|
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// 修改是否可用状态
|
|||
updateIsEnable: function(sid, isEnable) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodsspu/updateIsEnable/' + sid + "/" + isEnable |
|||
}); |
|||
}, |
|||
|
|||
// 新增、保存
|
|||
saveGoods: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodsspu/saveOrUpdate', |
|||
// url: '/wms/apiadmin/base/basegoodsspu/saveOrUpdateGoods',
|
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
// 初始化
|
|||
initGoods: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodsspu/initialization/' + data, |
|||
// url: '/wms/apiadmin/base/basegoodsspu/goodsDetails/' + data,
|
|||
method: 'get' |
|||
}); |
|||
}, |
|||
|
|||
// 商品规格 修改是否可用状态
|
|||
updateIsEnable2: function(sid, isEnable) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodsspu/updateIsEnablebySku/' + sid + "/" + isEnable |
|||
}); |
|||
}, |
|||
|
|||
|
|||
|
|||
// 商品-- 删除
|
|||
deleteBySids: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodsspu/delBySids', |
|||
// url: '/wms/apiadmin/base/basegoodsspu/delGoodsBySids',
|
|||
method: 'DELETE', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// 下载模板
|
|||
downloadExcel: function() { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodsspu/download', |
|||
method: 'post', |
|||
responseType: 'blob', // 表明返回服务器返回的数据类型
|
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// 查询商品分页列表
|
|||
getGoodsListAllByOrg: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/basegoodssku/listAllByOrg', |
|||
// url: '/wms/apiadmin/base/basegoodsspu/goodsListPage',
|
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
} |
@ -0,0 +1,70 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export default { |
|||
|
|||
// 查询分页列表
|
|||
listPage: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodsunit/listPage', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// 单位查询
|
|||
getAllUnit: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodsunit/listAll', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
|
|||
// 修改是否可用状态
|
|||
updateIsEnable: function(sid,isEnable) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodsunit/updateIsEnable/'+sid+"/"+isEnable |
|||
}); |
|||
}, |
|||
|
|||
|
|||
// 新增、保存
|
|||
saveUnits: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodsunit/saveOrUpdate', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
// 初始化
|
|||
initUnits: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodsunit/initialization/' + data, |
|||
method: 'get' |
|||
}); |
|||
}, |
|||
|
|||
// 单位-- 删除
|
|||
deleteBySids: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/base/basegoodsunit/delBySids', |
|||
method: 'DELETE', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
} |
@ -0,0 +1,122 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export default { |
|||
|
|||
// 查询分页列表
|
|||
listPage: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/WmsAnsBill/listPage', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// // 详情初始化
|
|||
// init: function(data) {
|
|||
// return request({
|
|||
// url: '/wms/apiadmin/WmsAnsBill/details?sid=' + data,
|
|||
// method: 'get'
|
|||
// });
|
|||
// },
|
|||
|
|||
// // 收货初始化
|
|||
// getInitDetails: function(data) {
|
|||
// return request({
|
|||
// url: '/wms/apiadmin/inventory/WmsReceiptBill/getInitDetails?sourceSid=' + data,
|
|||
// method: 'get'
|
|||
// });
|
|||
// },
|
|||
|
|||
|
|||
// // 新增收货单
|
|||
// save: function(data) {
|
|||
// return request({
|
|||
// url: '/wms/apiadmin/inventory/WmsReceiptBill/saveOrUpdate',
|
|||
// method: 'post',
|
|||
// data: data,
|
|||
// headers: {
|
|||
// 'Content-Type': 'application/json'
|
|||
// }
|
|||
// });
|
|||
// },
|
|||
|
|||
// // 确认收货单
|
|||
// submit: function(data) {
|
|||
// return request({
|
|||
// url: '/wms/apiadmin/inventory/WmsReceiptBill/confirm',
|
|||
// method: 'post',
|
|||
// data: data,
|
|||
// headers: {
|
|||
// 'Content-Type': 'application/json'
|
|||
// }
|
|||
// });
|
|||
// },
|
|||
|
|||
|
|||
|
|||
// 入库预约
|
|||
|
|||
// 查询发货人信息
|
|||
fetchDetailsBySid: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/supplierinfo/fetchDetailsByBillSid/' + data, |
|||
method: 'get', |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
// 查询商品明细信息
|
|||
selectByBillSid: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/wmsansbilldetails/selectByBillSid/' + data, |
|||
method: 'get', |
|||
|
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
// 查询操作记录信息
|
|||
operationrecordDetails: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/operationrecord/details', |
|||
method: 'get', |
|||
params: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
// 修改库区
|
|||
updateRack: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/WmsAnsBill/updateRack', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
// 修改备注
|
|||
updateRemarks: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/WmsAnsBill/updateRemarks', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
|
|||
} |
@ -0,0 +1,43 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export default { |
|||
|
|||
// 查询分页列表
|
|||
listPage: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/purchaseinventorybill/listPage', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// 查询商品
|
|||
getGoodsSelectList: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/basegoodssku/getSelectList', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
|
|||
// 保存验货入库
|
|||
saveInspection: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/purchaseinventorybill/inspectionWarehousing', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
|
|||
} |
@ -0,0 +1,154 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export default { |
|||
|
|||
//采购入库
|
|||
// 入库单列表
|
|||
listPage: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/purchaseinventorybill/listPage', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// 根据入库单sid获取明细
|
|||
selectByBillSid: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/purchaseinventorybill/selectByBillSid/' + data, |
|||
method: 'get' |
|||
}); |
|||
}, |
|||
|
|||
// 获取组织下所有的预约单
|
|||
getReservationBill: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/WmsAnsBill/listPageAns', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
|
|||
// 生成入库单
|
|||
createInStorageBill: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/purchaseinventorybill/confirm', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
|
|||
|
|||
// // 查询分页列表
|
|||
// listPage: function(params) {
|
|||
// return request({
|
|||
// url: '/wms/apiadmin/inventory/WmsReceiptBill/listPage',
|
|||
// method: 'post',
|
|||
// data: params,
|
|||
// headers: {
|
|||
// 'Content-Type': 'application/json'
|
|||
// }
|
|||
// })
|
|||
// },
|
|||
|
|||
// // 初始化
|
|||
// init: function(data) {
|
|||
// return request({
|
|||
// url: '/wms/apiadmin/inventory/WmsReceiptBill/getDetailsInit?sid=' + data,
|
|||
// method: 'get'
|
|||
// });
|
|||
// },
|
|||
|
|||
|
|||
// // 新增、保存
|
|||
// save: function(data) {
|
|||
// return request({
|
|||
// url: '/wms/apiadmin/inventory/WmsReceiptBill/saveOrUpdate',
|
|||
// method: 'post',
|
|||
// data: data,
|
|||
// headers: {
|
|||
// 'Content-Type': 'application/json'
|
|||
// }
|
|||
// });
|
|||
// },
|
|||
|
|||
// // 确认
|
|||
// submit: function(data) {
|
|||
// return request({
|
|||
// url: '/wms/apiadmin/inventory/WmsReceiptBill/confirm',
|
|||
// method: 'post',
|
|||
// data: data,
|
|||
// headers: {
|
|||
// 'Content-Type': 'application/json'
|
|||
// }
|
|||
// });
|
|||
// },
|
|||
|
|||
|
|||
// // 保存 上架单
|
|||
// saveUpShelf: function(data) {
|
|||
// return request({
|
|||
// url: '/wms/apiadmin/WmsShelfBill/saveOrUpdate',
|
|||
// method: 'post',
|
|||
// data: data,
|
|||
// headers: {
|
|||
// 'Content-Type': 'application/json'
|
|||
// }
|
|||
// });
|
|||
// },
|
|||
|
|||
|
|||
// // 查询所有商品
|
|||
// getGoodsListPage: function(params) {
|
|||
// return request({
|
|||
// url: '/yxtbase/apiadmin/base/basegoodssku/getGoodsListPage',
|
|||
// method: 'post',
|
|||
// data: params,
|
|||
// headers: {
|
|||
// 'Content-Type': 'application/json'
|
|||
// }
|
|||
// })
|
|||
// },
|
|||
|
|||
|
|||
|
|||
// deleteBySids: function(data) {
|
|||
// return request({
|
|||
// url: '/wms/apiadmin/inventory/WmsReceiptBill/delBySids',
|
|||
// method: 'DELETE',
|
|||
// data: data,
|
|||
// headers: {
|
|||
// 'Content-Type': 'application/json'
|
|||
// }
|
|||
// })
|
|||
// },
|
|||
|
|||
|
|||
|
|||
// // 初始化新增上架单
|
|||
// initUpshelf: function(params) {
|
|||
// return request({
|
|||
// url: '/wms/apiadmin/WmsShelfBill/getInit?sid=' + params.sid + "&orgPath=" + params.orgPath + "&userSid=" +
|
|||
// params.userSid,
|
|||
// method: 'get',
|
|||
// headers: {
|
|||
// 'Content-Type': 'application/json'
|
|||
// }
|
|||
// });
|
|||
|
|||
// },
|
|||
|
|||
|
|||
|
|||
} |
@ -0,0 +1,44 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export default { |
|||
|
|||
// 查询分页列表
|
|||
listPage: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/WmsShelfBill/listPage', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
|
|||
// 初始化
|
|||
init: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/WmsShelfBill/details?sid='+data, |
|||
method: 'get' |
|||
}); |
|||
}, |
|||
|
|||
|
|||
// 新增、保存
|
|||
save: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/WmsShelfBill/saveOrUpdate', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}); |
|||
}, |
|||
|
|||
|
|||
deleteBySids: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/WmsShelfBill/delBySids', |
|||
method: 'DELETE', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
|
|||
} |
@ -0,0 +1,288 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export default { |
|||
|
|||
// 查询分页列表
|
|||
listPage: function(params) { |
|||
return request({ |
|||
// baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
|
|||
url: '/wms/apiadmin/warehouseoutbill/listPage', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// 修改承运商
|
|||
updateCarrier: function(data) { |
|||
return request({ |
|||
// baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
|
|||
url: '/wms/apiadmin/warehouseoutbill/updateCarrier', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
// 修改运单号
|
|||
updateWaybillNumber: function(data) { |
|||
return request({ |
|||
// baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
|
|||
url: '/wms/apiadmin/warehouseoutbill/updateWaybillNumber', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
|
|||
// 订单商品明细
|
|||
orderGoodsDetail: function(data) { |
|||
return request({ |
|||
// baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
|
|||
url: '/wms/apiadmin/warehouseoutbilldetail/selectDetailsByBillSid', |
|||
method: 'get', |
|||
params: data |
|||
}); |
|||
}, |
|||
|
|||
// 库位分配
|
|||
orderRackDistributionDetail: function(data) { |
|||
return request({ |
|||
// baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
|
|||
url: '/wms/apiadmin/warehouseoutlocation/details', |
|||
method: 'get', |
|||
params: data |
|||
}); |
|||
}, |
|||
|
|||
// 收货地址
|
|||
orderReceivingAddressDetail: function(data) { |
|||
return request({ |
|||
// baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
|
|||
url: '/wms/apiadmin/warehouseoutbill/getAddresseeBySid', |
|||
method: 'get', |
|||
params: data |
|||
}); |
|||
}, |
|||
|
|||
// 发票明细
|
|||
orderInvoiveDetail: function(data) { |
|||
return request({ |
|||
// baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
|
|||
url: '/wms/apiadmin/warehouseinvoice/details', |
|||
method: 'get', |
|||
params: data |
|||
}); |
|||
}, |
|||
|
|||
// 保存发票明细
|
|||
saveOrderInvoive: function(data) { |
|||
return request({ |
|||
// baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
|
|||
url: '/wms/apiadmin/warehouseinvoice/saveOrUpdate', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
// 备注/留言
|
|||
orderRemarksDetail: function(data) { |
|||
return request({ |
|||
// baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
|
|||
url: '/wms/apiadmin/warehouseinvoice/details', |
|||
method: 'get', |
|||
params: data |
|||
}); |
|||
}, |
|||
|
|||
// 操作记录
|
|||
orderOperationDetail: function(data) { |
|||
return request({ |
|||
// baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
|
|||
url: '/wms/apiadmin/operationrecord/details', |
|||
method: 'get', |
|||
params: data |
|||
}); |
|||
}, |
|||
|
|||
// 查询商品可用库位分配
|
|||
selAvailableBySkuSid: function(data) { |
|||
return request({ |
|||
// baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
|
|||
url: '/wms/apiadmin/warehouseinventory/selAvailableBySkuSid', |
|||
method: 'get', |
|||
params: data |
|||
}); |
|||
}, |
|||
|
|||
// 保存商品可用库位分配
|
|||
saveSelAvailable: function(data) { |
|||
return request({ |
|||
// baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
|
|||
url: '/wms/apiadmin/warehouseoutlocation/saveOrUpdate', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
|
|||
// 打到零拣 --> 零拣打单
|
|||
toBePickOut: function(data) { |
|||
return request({ |
|||
// baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
|
|||
url: '/wms/apiadmin/warehouseoutbill/toBePickOut', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
// 撤回待分配 -->待分配
|
|||
toBeAllocated: function(data) { |
|||
return request({ |
|||
// baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
|
|||
url: '/wms/apiadmin/warehouseoutbill/toBeAllocated', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
// 确认打单-->待出库
|
|||
toBeOutbound: function(data) { |
|||
return request({ |
|||
// baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
|
|||
url: '/wms/apiadmin/warehouseoutbill/toBeOutbound', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
// 待出库-->确认出库
|
|||
confirmOutbound: function(data) { |
|||
return request({ |
|||
// baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
|
|||
url: '/wms/apiadmin/warehouseoutbill/confirmOutbound', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
// // 查询分页列表
|
|||
// listPage: function(params) {
|
|||
// return request({
|
|||
// url: '/wms/apiadmin/WmsOutBill/listPage',
|
|||
// method: 'post',
|
|||
// data: params,
|
|||
// headers: {
|
|||
// 'Content-Type': 'application/json'
|
|||
// }
|
|||
// })
|
|||
// },
|
|||
|
|||
// // 详情初始化
|
|||
// init: function(data) {
|
|||
// return request({
|
|||
// url: '/wms/apiadmin/WmsOutBill/details',
|
|||
// method: 'get',
|
|||
// data: data
|
|||
// });
|
|||
// },
|
|||
|
|||
// // 初始配货单
|
|||
// initDistribution: function(data) {
|
|||
// return request({
|
|||
// url: '/wms/apiadmin/WmsDistributeBill/getInit',
|
|||
// method: 'get',
|
|||
// data: data
|
|||
// });
|
|||
// },
|
|||
|
|||
|
|||
// // 新增、保存
|
|||
// save: function(data) {
|
|||
// return request({
|
|||
// url: '/wms/apiadmin/WmsOutBill/saveOrUpdateOutBill',
|
|||
// method: 'post',
|
|||
// data: data,
|
|||
// headers: {
|
|||
// 'Content-Type': 'application/json'
|
|||
// }
|
|||
// });
|
|||
// },
|
|||
|
|||
// // 确认
|
|||
// submit: function(data) {
|
|||
// return request({
|
|||
// url: '/wms/apiadmin/WmsOutBill/confirm',
|
|||
// method: 'post',
|
|||
// data: data,
|
|||
// headers: {
|
|||
// 'Content-Type': 'application/json'
|
|||
// }
|
|||
// });
|
|||
// },
|
|||
|
|||
|
|||
|
|||
|
|||
// // 新增、保存 配货单
|
|||
// saveDistribution: function(data) {
|
|||
// return request({
|
|||
// url: '/wms/apiadmin/WmsDistributeBill/saveOrUpdateBill',
|
|||
// method: 'post',
|
|||
// data: data,
|
|||
// headers: {
|
|||
// 'Content-Type': 'application/json'
|
|||
// }
|
|||
// });
|
|||
// },
|
|||
|
|||
|
|||
// deleteBySids: function(data) {
|
|||
// return request({
|
|||
// url: '/wms/apiadmin/WmsShelfBill/delBySids',
|
|||
// method: 'DELETE',
|
|||
// data: data,
|
|||
// headers: {
|
|||
// 'Content-Type': 'application/json'
|
|||
// }
|
|||
// })
|
|||
// },
|
|||
|
|||
// // 查询分页列表
|
|||
// getGoodsListPage: function(params) {
|
|||
// return request({
|
|||
// url: '/wms/apiadmin/WmsOutBill/getInventoryList',
|
|||
// method: 'post',
|
|||
// data: params,
|
|||
// headers: {
|
|||
// 'Content-Type': 'application/json'
|
|||
// }
|
|||
// })
|
|||
// },
|
|||
|
|||
} |
@ -0,0 +1,30 @@ |
|||
import request from '@/utils/request' |
|||
import qs from 'qs' |
|||
// 统一请求路径前缀
|
|||
const base = process.env.VUE_APP_URL |
|||
|
|||
// 文件上传接口
|
|||
export const uploadFile = process.env.VUE_APP_BASE_API + '/wms/file/upload' |
|||
// export const uploadFile = process.env.VUE_APP_BASE_API + '/customer/file/upload'
|
|||
|
|||
|
|||
|
|||
// 上传图片
|
|||
// export function imageUpload(data) {
|
|||
// return request({
|
|||
// url: '/portal/file/upload',
|
|||
// method: 'post',
|
|||
// data,
|
|||
// headers: { 'Content-Type': 'multipart/form-data' }
|
|||
// })
|
|||
// }
|
|||
|
|||
// 移除图片
|
|||
export function deleteFilesOss(data) { |
|||
return request({ |
|||
url: '/base/v1/baseVehicleAppendixs/deleteFilesOss', |
|||
method: 'post', |
|||
data: qs.stringify(data), |
|||
// headers: { 'Content-Type': 'multipart/form-data' }
|
|||
}) |
|||
} |
@ -0,0 +1,34 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
// 获取省/portal/v1/regions/getProvince
|
|||
export function getProvince(data) { |
|||
return request({ |
|||
url: '/portal/v1/regions/getProvince',data, |
|||
method: 'get', |
|||
params:data, |
|||
}) |
|||
} |
|||
// 根据省sid获取该省的所有市
|
|||
export function getCity(data) { |
|||
return request({ |
|||
url: '/portal/v1/regions/getCity', |
|||
params:data, |
|||
method: 'get', |
|||
}) |
|||
} |
|||
// 根据市sid获取该市的所有县区
|
|||
export function getCounty(data) { |
|||
return request({ |
|||
url: '/portal/v1/regions/getCounty', |
|||
method: 'get', |
|||
params:data, |
|||
}) |
|||
} |
|||
// // 区域列表(省市县均可用)
|
|||
// export function selectsList(data) {
|
|||
// return request({
|
|||
// url: '/portal/v1/regions/selectsList', data,
|
|||
// method: 'post',
|
|||
// headers: { 'Content-Type': 'application/json' }
|
|||
// })
|
|||
// }
|
@ -0,0 +1,30 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export default { |
|||
|
|||
// 查询分页列表
|
|||
listPage: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/inventory/wmsinventoryrecord/pageList', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// 导出报表
|
|||
exportExcel: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/inventory/wmsinventoryrecord/exportExcel', |
|||
method: 'post', |
|||
responseType: 'blob', // 表明返回服务器返回的数据类型
|
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
} |
@ -0,0 +1,18 @@ |
|||
import request from '@/utils/request' |
|||
// 历史库存 接口文档
|
|||
export default { |
|||
// 查询分页列表 -- 历史库存
|
|||
listPage: function(data) { |
|||
return request({ |
|||
// baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
|
|||
url: '/wms/apiadmin/warehouseinventoryhistory/listPage', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
|
|||
} |
@ -0,0 +1,49 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export default { |
|||
// 查询分页列表 -- 库存查询
|
|||
listPage: function(data) { |
|||
return request({ |
|||
url: '/apiadmin/inventory/wmsinventory/listPage', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
// 库存查询 -- 删除
|
|||
deleteBySids: function(data) { |
|||
return request({ |
|||
url: '/riskcenter/v1/LoanLawsuitApply/deleteBySids', |
|||
method: 'DELETE', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
// 库存出入库记录
|
|||
getWmsInventoryRecordList: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/inventory/wmsinventoryrecord/getWmsInventoryRecordList', |
|||
method: 'get', |
|||
params: data |
|||
}) |
|||
}, |
|||
// 查询分页列表 -- 出入库查询
|
|||
pageList: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/inventory/wmsinventoryrecord/pageList', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
// 出入库查询 -- 导出
|
|||
exportExcel: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/inventory/wmsinventoryrecord/exportExcel', |
|||
method: 'post', |
|||
responseType: 'blob', // 表明返回服务器返回的数据类型
|
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
} |
|||
} |
@ -0,0 +1,61 @@ |
|||
import request from '@/utils/request' |
|||
// 库存调整 接口文档
|
|||
export default { |
|||
|
|||
// 查询分页列表
|
|||
listPage: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/inventoryadjustment/listPage', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// 添加商品 查询分页列表
|
|||
selInventoryByWareSid: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouseinventory/selInventoryByWareSid', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// 保存调整单
|
|||
saveOrUpdate: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/inventoryadjustment/saveOrUpdate', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
// 初始化调整单
|
|||
init: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/inventoryadjustment/initialization/' + data, |
|||
method: 'get', |
|||
}) |
|||
}, |
|||
|
|||
// 批量删除
|
|||
deleteBySids: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/inventoryadjustment/delBySids', |
|||
method: 'DELETE', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
} |
@ -0,0 +1,31 @@ |
|||
import request from '@/utils/request' |
|||
// 区域预警 接口文档
|
|||
export default { |
|||
|
|||
// 查询分页列表
|
|||
listPage: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouseinventory/areaWarningListPage', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// 保存预警上下限
|
|||
updateLimit: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/warehouseareawarning/saveOrUpdate', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}); |
|||
}, |
|||
|
|||
|
|||
|
|||
} |
@ -0,0 +1,51 @@ |
|||
import request from '@/utils/request' |
|||
|
|||
export default { |
|||
|
|||
// 查询分页列表
|
|||
listPage: function(params) { |
|||
return request({ |
|||
url: '/wms/v1/wmsinventorycheckbill/listPage', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
// 新增、保存
|
|||
save: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/inventory/wmsinventorycheckbill/save', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}); |
|||
}, |
|||
|
|||
// 初始化
|
|||
init: function(data) { |
|||
return request({ |
|||
url: '/wms/apiadmin/inventory/wmsinventorycheckbill/' + data, |
|||
method: 'get' |
|||
}); |
|||
}, |
|||
|
|||
// 查询所有商品
|
|||
getWarehousesGoods: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/inventory/wmsinventory/invenGoodsListPage', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
|
|||
// 盘点
|
|||
inven: function(params) { |
|||
return request({ |
|||
url: '/wms/apiadmin/inventory/wmsinventory/invenGoodsListPage', |
|||
method: 'post', |
|||
data: params, |
|||
headers: { 'Content-Type': 'application/json' } |
|||
}) |
|||
}, |
|||
} |
@ -0,0 +1,43 @@ |
|||
import request from '@/utils/request' |
|||
// 库存总量 接口文档
|
|||
export default { |
|||
// 查询分页列表 -- 库存总量
|
|||
listPage: function(data) { |
|||
return request({ |
|||
// baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
|
|||
url: '/wms/apiadmin/warehouseinventory/listPage', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// 查询库存变化
|
|||
getWarehouseInventoryRecord: function(data) { |
|||
return request({ |
|||
// baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
|
|||
url: '/wms/apiadmin/warehouseinventoryrecord/getWarehouseInventoryRecord', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
// 查询库区库存
|
|||
getRackCountBySid: function(data) { |
|||
return request({ |
|||
// baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
|
|||
url: '/wms/apiadmin/warehouseinventory/getRackCountBySid', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
} |
@ -0,0 +1,18 @@ |
|||
import request from '@/utils/request' |
|||
// 库位库存 接口文档
|
|||
export default { |
|||
// 查询分页列表 -- 库位库存
|
|||
listPage: function(data) { |
|||
return request({ |
|||
// baseURL: "http://127.0.0.1:4523/m1/4061550-0-default",
|
|||
url: '/wms/apiadmin/warehouseinventory/locationListPage', |
|||
method: 'post', |
|||
data: data, |
|||
headers: { |
|||
'Content-Type': 'application/json' |
|||
} |
|||
}) |
|||
}, |
|||
|
|||
|
|||
} |