update code
|
@ -0,0 +1,22 @@
|
|||
# 告诉EditorConfig插件,这是根文件,不用继续往上查找
|
||||
root = true
|
||||
|
||||
# 匹配全部文件
|
||||
[*]
|
||||
# 设置字符集
|
||||
charset = utf-8
|
||||
# 缩进风格,可选space、tab
|
||||
indent_style = space
|
||||
# 缩进的空格数
|
||||
indent_size = 2
|
||||
# 结尾换行符,可选lf、cr、crlf
|
||||
end_of_line = lf
|
||||
# 在文件结尾插入新行
|
||||
insert_final_newline = true
|
||||
# 删除一行中的前后空格
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
# 匹配md结尾的文件
|
||||
[*.md]
|
||||
insert_final_newline = false
|
||||
trim_trailing_whitespace = false
|
|
@ -0,0 +1,11 @@
|
|||
# 页面标题
|
||||
VUE_APP_TITLE = 产发工程数字管理平台
|
||||
|
||||
# 开发环境配置
|
||||
ENV = 'development'
|
||||
|
||||
# 产发工程数字管理平台/开发环境
|
||||
VUE_APP_BASE_API = '/mklapi'
|
||||
|
||||
# 路由懒加载
|
||||
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
|
@ -0,0 +1,8 @@
|
|||
# 页面标题
|
||||
VUE_APP_TITLE = 产发工程数字管理平台
|
||||
|
||||
# 生产环境配置
|
||||
ENV = 'production'
|
||||
|
||||
# 产发工程数字管理平台/生产环境
|
||||
VUE_APP_BASE_API = '/mklapi'
|
|
@ -0,0 +1,10 @@
|
|||
# 页面标题
|
||||
VUE_APP_TITLE = 产发工程数字管理平台
|
||||
|
||||
NODE_ENV = production
|
||||
|
||||
# 测试环境配置
|
||||
ENV = 'staging'
|
||||
|
||||
# 产发工程数字管理平台/测试环境
|
||||
VUE_APP_BASE_API = '/stage-api'
|
|
@ -0,0 +1,10 @@
|
|||
# 忽略build目录下类型为js的文件的语法检查
|
||||
build/*.js
|
||||
# 忽略src/assets目录下文件的语法检查
|
||||
src/assets
|
||||
# 忽略public目录下文件的语法检查
|
||||
public
|
||||
# 忽略当前目录下为js的文件的语法检查
|
||||
*.js
|
||||
# 忽略当前目录下为vue的文件的语法检查
|
||||
*.vue
|
|
@ -0,0 +1,199 @@
|
|||
// ESlint 检查配置
|
||||
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
|
||||
}],
|
||||
'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,23 @@
|
|||
.DS_Store
|
||||
node_modules/
|
||||
dist/
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
**/*.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
|
31
README.MD
|
@ -1 +1,30 @@
|
|||
111
|
||||
## 开发
|
||||
|
||||
```bash
|
||||
# 克隆项目
|
||||
git clone https://gitee.com/y_project/RuoYi-Vue
|
||||
|
||||
# 进入项目目录
|
||||
cd ruoyi-ui
|
||||
|
||||
# 安装依赖
|
||||
npm install
|
||||
|
||||
# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
|
||||
npm install --registry=https://registry.npmmirror.com
|
||||
|
||||
# 启动服务
|
||||
npm run dev
|
||||
```
|
||||
|
||||
浏览器访问 http://localhost:80
|
||||
|
||||
## 发布
|
||||
|
||||
```bash
|
||||
# 构建测试环境
|
||||
npm run build:stage
|
||||
|
||||
# 构建生产环境
|
||||
npm run build:prod
|
||||
```
|
|
@ -0,0 +1,13 @@
|
|||
module.exports = {
|
||||
presets: [
|
||||
// https://github.com/vuejs/vue-cli/tree/master/packages/@vue/babel-preset-app
|
||||
'@vue/cli-plugin-babel/preset'
|
||||
],
|
||||
'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.
|
||||
'plugins': ['dynamic-import-node']
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
@echo off
|
||||
echo.
|
||||
echo [信息] 打包Web工程,生成dist文件。
|
||||
echo.
|
||||
|
||||
%~d0
|
||||
cd %~dp0
|
||||
|
||||
cd ..
|
||||
npm run build:prod
|
||||
|
||||
pause
|
|
@ -0,0 +1,12 @@
|
|||
@echo off
|
||||
echo.
|
||||
echo [信息] 安装Web工程,生成node_modules文件。
|
||||
echo.
|
||||
|
||||
%~d0
|
||||
cd %~dp0
|
||||
|
||||
cd ..
|
||||
npm install --registry=https://registry.npmmirror.com
|
||||
|
||||
pause
|
|
@ -0,0 +1,12 @@
|
|||
@echo off
|
||||
echo.
|
||||
echo [信息] 使用 Vue CLI 命令运行 Web 工程。
|
||||
echo.
|
||||
|
||||
%~d0
|
||||
cd %~dp0
|
||||
|
||||
cd ..
|
||||
npm run dev
|
||||
|
||||
pause
|
|
@ -0,0 +1 @@
|
|||
node_modules
|
|
@ -0,0 +1,39 @@
|
|||
# bpmnlint-plugin-local
|
||||
|
||||
A bpmlint plug-in based on the [bpmnlint plug-in example](https://github.com/bpmn-io/bpmnlint-plugin-example).
|
||||
|
||||
|
||||
## About
|
||||
|
||||
This plugin contributes [rules](#add-rules) and [configuration](#add-configuration) under the `local` prefix to bpmnlint.
|
||||
|
||||
|
||||
## Add Rules
|
||||
|
||||
The [`./rules`](./rules) folder contains rules that are made available via
|
||||
this plug-in. Configure them with the `local` prefix in your `.bpmnlintrc`:
|
||||
|
||||
```json
|
||||
{
|
||||
"rules": {
|
||||
"local/no-manual-task": "warn"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Checkout [`./test.js`](./test.js) to learn how to test your rules.
|
||||
|
||||
|
||||
## Add Configuration
|
||||
|
||||
As part of the [`./index.js`](./index.js) the plug-in exposes configurations
|
||||
to extend from using `extends` in the bpmnlint configuration:
|
||||
|
||||
```json
|
||||
{
|
||||
"extends": [
|
||||
"bpmnlint:recommended",
|
||||
"plugin:local/recommended"
|
||||
]
|
||||
}
|
||||
```
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" targetNamespace="http://bpmn.io/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="5.0.4">
|
||||
<process id="Process_1" isExecutable="false">
|
||||
<userTask id="Task_14wqr7n" />
|
||||
</process>
|
||||
<bpmndi:BPMNDiagram id="BpmnDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_1">
|
||||
<bpmndi:BPMNShape id="UserTask_0xvet6g_di" bpmnElement="Task_14wqr7n">
|
||||
<omgdc:Bounds x="160" y="80" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</definitions>
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" targetNamespace="http://bpmn.io/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="5.0.4">
|
||||
<process id="Process_1" isExecutable="false">
|
||||
<manualTask id="Task_14wqr7n" />
|
||||
</process>
|
||||
<bpmndi:BPMNDiagram id="BpmnDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_1">
|
||||
<bpmndi:BPMNShape id="ManualTask_0jr4uio_di" bpmnElement="Task_14wqr7n">
|
||||
<omgdc:Bounds x="160" y="80" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</definitions>
|
|
@ -0,0 +1,16 @@
|
|||
# No Manual Task (no-manual-task)
|
||||
|
||||
Checks that the diagram does not contain manual tasks that have no execution semantics.
|
||||
|
||||
Example of __incorrect__ usage of this rule:
|
||||
|
||||

|
||||
|
||||
Cf. [`no-manual-task-incorrect.bpmn`](./examples/no-manual-task-incorrect.bpmn).
|
||||
|
||||
|
||||
Example of __correct__ usage of this rule:
|
||||
|
||||

|
||||
|
||||
Cf. [`no-manual-task-correct.bpmn`](./examples/no-manual-task-correct.bpmn).
|
|
@ -0,0 +1,15 @@
|
|||
module.exports = {
|
||||
configs: {
|
||||
recommended: {
|
||||
rules: {
|
||||
'target-namespace': 'error'
|
||||
}
|
||||
},
|
||||
all: {
|
||||
rules: {
|
||||
'target-namespace': 'warn',
|
||||
'no-manual-task': 'warn'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"name": "bpmnlint-plugin-local",
|
||||
"version": "0.0.0",
|
||||
"description": "The bpmnlint local plug-in",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"all": "npm test",
|
||||
"test": "mocha test.js"
|
||||
},
|
||||
"keywords": [
|
||||
"bpmnlint",
|
||||
"plugin"
|
||||
],
|
||||
"devDependencies": {
|
||||
"bpmnlint": "^7.2.1",
|
||||
"chai": "^4.2.0",
|
||||
"mocha": "^9.1.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"bpmnlint-utils": "^1.0.2"
|
||||
},
|
||||
"files": [
|
||||
"rules",
|
||||
"index.js"
|
||||
]
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
const {
|
||||
is
|
||||
} = require('bpmnlint-utils');
|
||||
|
||||
|
||||
/**
|
||||
* Rule that reports manual tasks being used.
|
||||
*/
|
||||
module.exports = function() {
|
||||
|
||||
function check(node, reporter) {
|
||||
if (is(node, 'bpmn:ManualTask')) {
|
||||
reporter.report(node.id, 'Element has disallowed type bpmn:ManualTask');
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
check: check
|
||||
};
|
||||
};
|
|
@ -0,0 +1,20 @@
|
|||
const {
|
||||
is
|
||||
} = require('bpmnlint-utils');
|
||||
|
||||
|
||||
/**
|
||||
* Rule that reports missing targetNamespace on bpmn:Definitions.
|
||||
*/
|
||||
module.exports = function() {
|
||||
|
||||
function check(node, reporter) {
|
||||
if (is(node, 'bpmn:Definitions') && !node.targetNamespace) {
|
||||
reporter.report(node.id, 'Element is missing targetNamespace');
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
check: check
|
||||
};
|
||||
};
|
|
@ -0,0 +1,55 @@
|
|||
const { expect } = require('chai');
|
||||
|
||||
const { createModdle } = require('bpmnlint/lib/testers/helper');
|
||||
|
||||
const RuleTester = require('bpmnlint/lib/testers/rule-tester');
|
||||
|
||||
const manualTaskRule = require('./rules/no-manual-task');
|
||||
const targetNamespaceRule = require('./rules/target-namespace');
|
||||
|
||||
|
||||
RuleTester.verify('no-manual-task', manualTaskRule, {
|
||||
valid: [
|
||||
{
|
||||
moddleElement: createModdle(
|
||||
'<startEvent xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" id="startEvent" />',
|
||||
'bpmn:StartEvent'
|
||||
)
|
||||
}
|
||||
],
|
||||
invalid: [
|
||||
{
|
||||
moddleElement: createModdle(
|
||||
'<manualTask xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" id="manualTask" />',
|
||||
'bpmn:ManualTask'
|
||||
),
|
||||
report: {
|
||||
id: 'manualTask',
|
||||
message: 'Element has disallowed type bpmn:ManualTask'
|
||||
}
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
|
||||
RuleTester.verify('target-namespace', targetNamespaceRule, {
|
||||
valid: [
|
||||
{
|
||||
moddleElement: createModdle(
|
||||
'<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" id="definitions" targetNamespace="http://foo" />',
|
||||
)
|
||||
}
|
||||
],
|
||||
invalid: [
|
||||
{
|
||||
moddleElement: createModdle(
|
||||
'<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" id="definitions" />',
|
||||
),
|
||||
report: {
|
||||
id: 'definitions',
|
||||
message: 'Element is missing targetNamespace'
|
||||
}
|
||||
}
|
||||
]
|
||||
});
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
const { run } = require('runjs')
|
||||
const chalk = require('chalk')
|
||||
const config = require('../vue.config.js')
|
||||
const rawArgv = process.argv.slice(2)
|
||||
const args = rawArgv.join(' ')
|
||||
|
||||
if (process.env.npm_config_preview || rawArgv.includes('--preview')) {
|
||||
const report = rawArgv.includes('--report')
|
||||
|
||||
run(`vue-cli-service build ${args}`)
|
||||
|
||||
const port = 9526
|
||||
const publicPath = config.publicPath
|
||||
|
||||
var connect = require('connect')
|
||||
var serveStatic = require('serve-static')
|
||||
const app = connect()
|
||||
|
||||
app.use(
|
||||
publicPath,
|
||||
serveStatic('./dist', {
|
||||
index: ['index.html', '/']
|
||||
})
|
||||
)
|
||||
|
||||
app.listen(port, function () {
|
||||
console.log(chalk.green(`> Preview at http://localhost:${port}${publicPath}`))
|
||||
if (report) {
|
||||
console.log(chalk.green(`> Report at http://localhost:${port}${publicPath}report.html`))
|
||||
}
|
||||
|
||||
})
|
||||
} else {
|
||||
run(`vue-cli-service build ${args}`)
|
||||
}
|
|
@ -0,0 +1,103 @@
|
|||
{
|
||||
"name": "ruoyi",
|
||||
"version": "3.8.6",
|
||||
"description": "产发工程数字管理平台",
|
||||
"author": "若依",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"dev": "vue-cli-service serve",
|
||||
"dev20": "SET NODE_OPTIONS=--openssl-legacy-provider & vue-cli-service serve",
|
||||
"build:prod": "vue-cli-service build",
|
||||
"build:stage": "vue-cli-service build --mode staging",
|
||||
"preview": "node build/index.js --preview",
|
||||
"lint": "eslint --ext .js,.vue src"
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"src/**/*.{js,vue}": [
|
||||
"eslint --fix",
|
||||
"git add"
|
||||
]
|
||||
},
|
||||
"keywords": [
|
||||
"vue",
|
||||
"admin",
|
||||
"dashboard",
|
||||
"element-ui",
|
||||
"boilerplate",
|
||||
"admin-template",
|
||||
"management-system"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://gitee.com/y_project/RuoYi-Vue.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"@riophae/vue-treeselect": "0.4.0",
|
||||
"axios": "0.24.0",
|
||||
"bpmn-js": "^11.1.0",
|
||||
"bpmn-js-bpmnlint": "^0.21.0",
|
||||
"bpmnlint": "^6.4.0",
|
||||
"bpmnlint-loader": "^0.1.4",
|
||||
"clipboard": "2.0.8",
|
||||
"core-js": "^3.38.0",
|
||||
"dayjs": "^1.11.9",
|
||||
"diagram-js": "^11.4.1",
|
||||
"echarts": "5.4.0",
|
||||
"element-ui": "^2.15.13",
|
||||
"file-saver": "2.0.5",
|
||||
"fuse.js": "6.4.3",
|
||||
"highlight.js": "9.18.5",
|
||||
"js-beautify": "1.13.0",
|
||||
"js-cookie": "3.0.1",
|
||||
"jsencrypt": "3.0.0-rc.1",
|
||||
"nprogress": "0.2.0",
|
||||
"quill": "1.3.7",
|
||||
"ruoyi": "file:",
|
||||
"screenfull": "5.0.2",
|
||||
"sortablejs": "1.10.2",
|
||||
"vkbeautify": "^0.99.3",
|
||||
"vue": "2.6.12",
|
||||
"vue-count-to": "1.0.13",
|
||||
"vue-cropper": "0.5.5",
|
||||
"vue-meta": "2.4.0",
|
||||
"vue-router": "3.4.9",
|
||||
"vuedraggable": "2.24.3",
|
||||
"vuex": "3.6.0",
|
||||
"xcrud": "^0.4.19"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/parser": "^7.20.5",
|
||||
"@vue/cli-plugin-babel": "4.4.6",
|
||||
"@vue/cli-plugin-eslint": "4.4.6",
|
||||
"@vue/cli-service": "4.4.6",
|
||||
"babel-eslint": "10.1.0",
|
||||
"babel-plugin-dynamic-import-node": "2.3.3",
|
||||
"chalk": "4.1.0",
|
||||
"compression-webpack-plugin": "5.0.2",
|
||||
"connect": "3.6.6",
|
||||
"eslint": "7.15.0",
|
||||
"eslint-plugin-vue": "7.2.0",
|
||||
"javascript-obfuscator": "^4.1.1",
|
||||
"lint-staged": "10.5.3",
|
||||
"runjs": "4.4.2",
|
||||
"sass": "1.32.13",
|
||||
"sass-loader": "10.1.1",
|
||||
"script-ext-html-webpack-plugin": "2.1.5",
|
||||
"svg-sprite-loader": "5.1.1",
|
||||
"vue-template-compiler": "2.6.12",
|
||||
"webpack-obfuscator": "2.6"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8.9",
|
||||
"npm": ">= 3.0.0"
|
||||
},
|
||||
"browserslist": [
|
||||
"> 1%",
|
||||
"last 2 versions"
|
||||
]
|
||||
}
|
After Width: | Height: | Size: 4.9 KiB |
|
@ -0,0 +1 @@
|
|||
<svg class="icon" style="vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="732"><path d="M78.697006 291.684329L464.648823 120.095559a101.13599 101.13599 0 0 1 82.151644 0l385.951817 171.58877a50.567995 50.567995 0 0 1-0.044696 92.387077L546.75577 555.660176a101.13599 101.13599 0 0 1-82.151643 0L78.65231 384.071406A50.567995 50.567995 0 0 1 78.697006 291.684329z" fill="#0594E6" p-id="733"></path><path d="M354.392471 319.348336l133.641683-59.445966a30.214377 30.214377 0 0 1 24.582918 0l133.641683 59.445966a15.107188 15.107188 0 0 1 0.044697 27.577564l-133.641684 59.445967a30.214377 30.214377 0 0 1-24.627614-0.044697l-133.641683-59.445966a15.107188 15.107188 0 0 1 0-27.532868z" fill="#FFFFFF" p-id="734"></path><path d="M884.93991 472.808856l47.786756 21.238558a50.567995 50.567995 0 0 1 0 92.41301L546.766445 758.075557a101.13599 101.13599 0 0 1-82.172992 0L78.633232 586.460424a50.567995 50.567995 0 0 1 0-92.41301L126.419987 472.808856 464.593453 623.122221a101.13599 101.13599 0 0 0 72.185813 3.792599l9.987179-3.792599L884.93991 472.808856z" fill="#0594E6" p-id="735"></path><path d="M884.93991 675.144045l47.786756 21.238558a50.567995 50.567995 0 0 1 0 92.413011L546.766445 960.347536a101.13599 101.13599 0 0 1-82.172992 0L78.633232 788.858824a50.567995 50.567995 0 0 1 0-92.413011L126.419987 675.080835 464.593453 825.52062a101.13599 101.13599 0 0 0 72.185813 3.7926l9.987179-3.7926L884.93991 675.144045z" fill="#FA8F31" p-id="736"></path></svg>
|
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.1 MiB |
After Width: | Height: | Size: 1.8 MiB |
After Width: | Height: | Size: 8.3 KiB |
|
@ -0,0 +1 @@
|
|||
<svg class="icon" style="vertical-align: middle;fill: currentColor;overflow: hidden;" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="732"><path d="M78.697006 291.684329L464.648823 120.095559a101.13599 101.13599 0 0 1 82.151644 0l385.951817 171.58877a50.567995 50.567995 0 0 1-0.044696 92.387077L546.75577 555.660176a101.13599 101.13599 0 0 1-82.151643 0L78.65231 384.071406A50.567995 50.567995 0 0 1 78.697006 291.684329z" fill="#0594E6" p-id="733"></path><path d="M354.392471 319.348336l133.641683-59.445966a30.214377 30.214377 0 0 1 24.582918 0l133.641683 59.445966a15.107188 15.107188 0 0 1 0.044697 27.577564l-133.641684 59.445967a30.214377 30.214377 0 0 1-24.627614-0.044697l-133.641683-59.445966a15.107188 15.107188 0 0 1 0-27.532868z" fill="#FFFFFF" p-id="734"></path><path d="M884.93991 472.808856l47.786756 21.238558a50.567995 50.567995 0 0 1 0 92.41301L546.766445 758.075557a101.13599 101.13599 0 0 1-82.172992 0L78.633232 586.460424a50.567995 50.567995 0 0 1 0-92.41301L126.419987 472.808856 464.593453 623.122221a101.13599 101.13599 0 0 0 72.185813 3.792599l9.987179-3.792599L884.93991 472.808856z" fill="#0594E6" p-id="735"></path><path d="M884.93991 675.144045l47.786756 21.238558a50.567995 50.567995 0 0 1 0 92.413011L546.766445 960.347536a101.13599 101.13599 0 0 1-82.172992 0L78.633232 788.858824a50.567995 50.567995 0 0 1 0-92.413011L126.419987 675.080835 464.593453 825.52062a101.13599 101.13599 0 0 0 72.185813 3.7926l9.987179-3.7926L884.93991 675.144045z" fill="#FA8F31" p-id="736"></path></svg>
|
After Width: | Height: | Size: 1.5 KiB |
|
@ -0,0 +1,242 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="renderer" content="webkit">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<script src="./easyplayer/EasyWasmPlayer.js"></script>
|
||||
<script type="text/javascript"
|
||||
src="https://api.map.baidu.com/api?v=1.0&&type=webgl&ak=6zAD8CIavtzWnkGg0a7roush5maGMIPn"></script>
|
||||
<title>
|
||||
<%= webpackConfig.name %>
|
||||
</title>
|
||||
<!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
|
||||
<style>
|
||||
html,
|
||||
body,
|
||||
#app {
|
||||
height: 100%;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.chromeframe {
|
||||
margin: 0.2em 0;
|
||||
background: #ccc;
|
||||
color: #000;
|
||||
padding: 0.2em 0;
|
||||
}
|
||||
|
||||
#loader-wrapper {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 999999;
|
||||
}
|
||||
|
||||
#loader {
|
||||
display: block;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
margin: -75px 0 0 -75px;
|
||||
border-radius: 50%;
|
||||
border: 3px solid transparent;
|
||||
border-top-color: #FFF;
|
||||
-webkit-animation: spin 2s linear infinite;
|
||||
-ms-animation: spin 2s linear infinite;
|
||||
-moz-animation: spin 2s linear infinite;
|
||||
-o-animation: spin 2s linear infinite;
|
||||
animation: spin 2s linear infinite;
|
||||
z-index: 1001;
|
||||
}
|
||||
|
||||
#loader:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
left: 5px;
|
||||
right: 5px;
|
||||
bottom: 5px;
|
||||
border-radius: 50%;
|
||||
border: 3px solid transparent;
|
||||
border-top-color: #FFF;
|
||||
-webkit-animation: spin 3s linear infinite;
|
||||
-moz-animation: spin 3s linear infinite;
|
||||
-o-animation: spin 3s linear infinite;
|
||||
-ms-animation: spin 3s linear infinite;
|
||||
animation: spin 3s linear infinite;
|
||||
}
|
||||
|
||||
#loader:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
left: 15px;
|
||||
right: 15px;
|
||||
bottom: 15px;
|
||||
border-radius: 50%;
|
||||
border: 3px solid transparent;
|
||||
border-top-color: #FFF;
|
||||
-moz-animation: spin 1.5s linear infinite;
|
||||
-o-animation: spin 1.5s linear infinite;
|
||||
-ms-animation: spin 1.5s linear infinite;
|
||||
-webkit-animation: spin 1.5s linear infinite;
|
||||
animation: spin 1.5s linear infinite;
|
||||
}
|
||||
|
||||
.div-txt-2 {
|
||||
overflow: hidden;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.div-txt-3 {
|
||||
overflow: hidden;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
@-webkit-keyframes spin {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
-ms-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
-ms-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
-ms-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
-ms-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#loader-wrapper .loader-section {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 51%;
|
||||
height: 100%;
|
||||
background: #3C68C6;
|
||||
z-index: 1000;
|
||||
-webkit-transform: translateX(0);
|
||||
-ms-transform: translateX(0);
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
#loader-wrapper .loader-section.section-left {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
#loader-wrapper .loader-section.section-right {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
|
||||
.loaded #loader-wrapper .loader-section.section-left {
|
||||
-webkit-transform: translateX(-100%);
|
||||
-ms-transform: translateX(-100%);
|
||||
transform: translateX(-100%);
|
||||
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
||||
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
||||
}
|
||||
|
||||
.loaded #loader-wrapper .loader-section.section-right {
|
||||
-webkit-transform: translateX(100%);
|
||||
-ms-transform: translateX(100%);
|
||||
transform: translateX(100%);
|
||||
-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
||||
transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
||||
}
|
||||
|
||||
.loaded #loader {
|
||||
opacity: 0;
|
||||
-webkit-transition: all 0.3s ease-out;
|
||||
transition: all 0.3s ease-out;
|
||||
}
|
||||
|
||||
.loaded #loader-wrapper {
|
||||
visibility: hidden;
|
||||
-webkit-transform: translateY(-100%);
|
||||
-ms-transform: translateY(-100%);
|
||||
transform: translateY(-100%);
|
||||
-webkit-transition: all 0.3s 1s ease-out;
|
||||
transition: all 0.3s 1s ease-out;
|
||||
}
|
||||
|
||||
.no-js #loader-wrapper {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.no-js h1 {
|
||||
color: #222222;
|
||||
}
|
||||
|
||||
#loader-wrapper .load_title {
|
||||
font-family: 'Open Sans';
|
||||
color: #FFF;
|
||||
font-size: 19px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
z-index: 9999999999999;
|
||||
position: absolute;
|
||||
top: 60%;
|
||||
opacity: 1;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
#loader-wrapper .load_title span {
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
font-size: 13px;
|
||||
color: #FFF;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
/* COLOR PICKER */
|
||||
.djs-popup.color-picker .entry {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.djs-popup.color-picker .djs-popup-group {
|
||||
display: grid;
|
||||
grid: auto-flow / 1fr 1fr 1fr;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app">
|
||||
<div id="loader-wrapper">
|
||||
<div id="loader"></div>
|
||||
<div class="loader-section section-left"></div>
|
||||
<div class="loader-section section-right"></div>
|
||||
<div class="load_title">正在加载系统资源,请耐心等待</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
After Width: | Height: | Size: 5.5 KiB |
|
@ -0,0 +1,37 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<title>form-generator-preview</title>
|
||||
<link href="https://lib.baomitu.com/element-ui/2.13.2/theme-chalk/index.css" rel="stylesheet">
|
||||
<script src="https://lib.baomitu.com/vue/2.6.11/vue.min.js"></script>
|
||||
<script src="https://lib.baomitu.com/vue-router/3.1.3/vue-router.min.js"></script>
|
||||
<script src="https://lib.baomitu.com/element-ui/2.13.2/index.js"></script>
|
||||
<style>
|
||||
body{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
overflow-x: hidden;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
text-rendering: optimizeLegibility;
|
||||
height: calc(100vh - 33px);
|
||||
padding: 12px;
|
||||
box-sizing: border-box;
|
||||
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
|
||||
}
|
||||
input, textarea{
|
||||
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<strong>抱歉,javascript被禁用,请开启后重试。</strong>
|
||||
</noscript>
|
||||
<div id="previewApp"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,2 @@
|
|||
User-agent: *
|
||||
Disallow: /
|
|
@ -0,0 +1,81 @@
|
|||
<template>
|
||||
<div id="app">
|
||||
<router-view />
|
||||
<theme-picker />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import ThemePicker from "@/components/ThemePicker";
|
||||
|
||||
export default {
|
||||
name: "App",
|
||||
components: { ThemePicker },
|
||||
metaInfo() {
|
||||
return {
|
||||
title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
|
||||
titleTemplate: title => {
|
||||
return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style scoped>
|
||||
#app .theme-picker {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
<style lang="scss">
|
||||
.el-tabs--card > .el-tabs__header .el-tabs__item.is-active{
|
||||
background-color: #1890ff !important;
|
||||
color:#EEEEEE !important;
|
||||
}
|
||||
.app-container:first-child {
|
||||
background-image: url("assets/images/app-bgvip.png?v=20230923");
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
.el-submenu__title{
|
||||
position: relative;
|
||||
.todo_num_tips{
|
||||
top:20px;
|
||||
position: absolute;
|
||||
right: 36px;
|
||||
background-color: #f56c6c;
|
||||
border-radius: 10px;
|
||||
color: #fff;
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
height: 18px;
|
||||
line-height: 18px;
|
||||
padding: 0 6px;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
border: 1px solid #fff;
|
||||
cursor: pointer;
|
||||
top: 16px;
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.nest-menu{
|
||||
position: relative;
|
||||
.todo_num_tips{
|
||||
position: absolute;
|
||||
right: 18px;
|
||||
background-color: #f56c6c;
|
||||
border-radius: 10px;
|
||||
color: #fff;
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
height: 18px;
|
||||
line-height: 18px;
|
||||
padding: 0 6px;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
border: 1px solid #fff;
|
||||
cursor: pointer;
|
||||
top: 16px;
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
</style>
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询工委会列表列表
|
||||
export function listCommittee(query) {
|
||||
return request({
|
||||
url: '/base/committee/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询工委会列表详细
|
||||
export function getCommittee(id) {
|
||||
return request({
|
||||
url: '/base/committee/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增工委会列表
|
||||
export function addCommittee(data) {
|
||||
return request({
|
||||
url: '/base/committee',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改工委会列表
|
||||
export function updateCommittee(data) {
|
||||
return request({
|
||||
url: '/base/committee',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除工委会列表
|
||||
export function delCommittee(id) {
|
||||
return request({
|
||||
url: '/base/committee/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询期刊列表列表
|
||||
export function listMag(query) {
|
||||
return request({
|
||||
url: '/base/mag/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询期刊列表详细
|
||||
export function getMag(id) {
|
||||
return request({
|
||||
url: '/base/mag/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增期刊列表
|
||||
export function addMag(data) {
|
||||
return request({
|
||||
url: '/base/mag',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改期刊列表
|
||||
export function updateMag(data) {
|
||||
return request({
|
||||
url: '/base/mag',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除期刊列表
|
||||
export function delMag(id) {
|
||||
return request({
|
||||
url: '/base/mag/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询期刊详情列表
|
||||
export function listMagDetail(query) {
|
||||
return request({
|
||||
url: '/base/magDetail/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询期刊详情详细
|
||||
export function getMagDetail(id) {
|
||||
return request({
|
||||
url: '/base/magDetail/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增期刊详情
|
||||
export function addMagDetail(data) {
|
||||
return request({
|
||||
url: '/base/magDetail',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改期刊详情
|
||||
export function updateMagDetail(data) {
|
||||
return request({
|
||||
url: '/base/magDetail',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除期刊详情
|
||||
export function delMagDetail(id) {
|
||||
return request({
|
||||
url: '/base/magDetail/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询期刊列表
|
||||
export function listPeriodical(query) {
|
||||
return request({
|
||||
url: '/base/periodical/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询期刊详细
|
||||
export function getPeriodical(id) {
|
||||
return request({
|
||||
url: '/base/periodical/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增期刊
|
||||
export function addPeriodical(data) {
|
||||
return request({
|
||||
url: '/base/periodical',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改期刊
|
||||
export function updatePeriodical(data) {
|
||||
return request({
|
||||
url: '/base/periodical',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除期刊
|
||||
export function delPeriodical(id) {
|
||||
return request({
|
||||
url: '/base/periodical/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询报警信息列表
|
||||
export function listPitAlarm(query) {
|
||||
return request({
|
||||
url: '/device/pitAlarm/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询报警信息详细
|
||||
export function getPitAlarm(id) {
|
||||
return request({
|
||||
url: '/device/pitAlarm/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增报警信息
|
||||
export function addPitAlarm(data) {
|
||||
return request({
|
||||
url: '/device/pitAlarm',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改报警信息
|
||||
export function updatePitAlarm(data) {
|
||||
return request({
|
||||
url: '/device/pitAlarm',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除报警信息
|
||||
export function delPitAlarm(id) {
|
||||
return request({
|
||||
url: '/device/pitAlarm/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,58 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询项目基坑监测配置列表
|
||||
export function listPitConfig(query) {
|
||||
return request({
|
||||
url: '/device/pitConfig/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询项目基坑监测配置详细
|
||||
export function getPitConfig(id) {
|
||||
return request({
|
||||
url: '/device/pitConfig/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增项目基坑监测配置
|
||||
|
||||
export function addPitConfig(data) {
|
||||
return request({
|
||||
url: '/device/pitConfig',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改项目基坑监测配置
|
||||
|
||||
export function updatePitConfig(data) {
|
||||
return request({
|
||||
url: '/device/pitConfig',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除项目基坑监测配置
|
||||
|
||||
export function delPitConfig(id) {
|
||||
return request({
|
||||
url: '/device/pitConfig/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function findByProjIdDeptId(prjId,deptId){
|
||||
|
||||
let where={
|
||||
projectId:prjId,
|
||||
subDeptId:deptId
|
||||
}
|
||||
return listPitConfig(where);
|
||||
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询测点数据列表
|
||||
export function listPitData(query) {
|
||||
return request({
|
||||
url: '/device/pitData/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询测点数据详细
|
||||
export function getPitData(id) {
|
||||
return request({
|
||||
url: '/device/pitData/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增测点数据
|
||||
export function addPitData(data) {
|
||||
return request({
|
||||
url: '/device/pitData',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改测点数据
|
||||
export function updatePitData(data) {
|
||||
return request({
|
||||
url: '/device/pitData',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除测点数据
|
||||
export function delPitData(id) {
|
||||
return request({
|
||||
url: '/device/pitData/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询设备管理列表
|
||||
export function listPitDevice(query) {
|
||||
return request({
|
||||
url: '/device/pitDevice/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询设备管理详细
|
||||
export function getPitDevice(id) {
|
||||
return request({
|
||||
url: '/device/pitDevice/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增设备管理
|
||||
export function addPitDevice(data) {
|
||||
return request({
|
||||
url: '/device/pitDevice',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改设备管理
|
||||
export function updatePitDevice(data) {
|
||||
return request({
|
||||
url: '/device/pitDevice',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除设备管理
|
||||
export function delPitDevice(id) {
|
||||
return request({
|
||||
url: '/device/pitDevice/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询设测点关系列表
|
||||
export function listPitDeviceSurveyPoint(query) {
|
||||
return request({
|
||||
url: '/device/pitDeviceSurveyPoint/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询设测点关系详细
|
||||
export function getPitDeviceSurveyPoint(id) {
|
||||
return request({
|
||||
url: '/device/pitDeviceSurveyPoint/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增设测点关系
|
||||
export function addPitDeviceSurveyPoint(data) {
|
||||
return request({
|
||||
url: '/device/pitDeviceSurveyPoint',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改设测点关系
|
||||
export function updatePitDeviceSurveyPoint(data) {
|
||||
return request({
|
||||
url: '/device/pitDeviceSurveyPoint',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除设测点关系
|
||||
export function delPitDeviceSurveyPoint(id) {
|
||||
return request({
|
||||
url: '/device/pitDeviceSurveyPoint/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询监测项管理列表
|
||||
export function listPitElement(query) {
|
||||
return request({
|
||||
url: '/device/pitElement/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询监测项管理详细
|
||||
export function getPitElement(id) {
|
||||
return request({
|
||||
url: '/device/pitElement/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增监测项管理
|
||||
export function addPitElement(data) {
|
||||
return request({
|
||||
url: '/device/pitElement',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改监测项管理
|
||||
export function updatePitElement(data) {
|
||||
return request({
|
||||
url: '/device/pitElement',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除监测项管理
|
||||
export function delPitElement(id) {
|
||||
return request({
|
||||
url: '/device/pitElement/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询测项明细列表
|
||||
export function listPitElementItem(query) {
|
||||
return request({
|
||||
url: '/device/pitElementItem/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询测项明细详细
|
||||
export function getPitElementItem(id) {
|
||||
return request({
|
||||
url: '/device/pitElementItem/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增测项明细
|
||||
export function addPitElementItem(data) {
|
||||
return request({
|
||||
url: '/device/pitElementItem',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改测项明细
|
||||
export function updatePitElementItem(data) {
|
||||
return request({
|
||||
url: '/device/pitElementItem',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除测项明细
|
||||
export function delPitElementItem(id) {
|
||||
return request({
|
||||
url: '/device/pitElementItem/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询测点管理列表
|
||||
export function listPitSurveyPoint(query) {
|
||||
return request({
|
||||
url: '/device/pitSurveyPoint/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询测点管理详细
|
||||
export function getPitSurveyPoint(id) {
|
||||
return request({
|
||||
url: '/device/pitSurveyPoint/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增测点管理
|
||||
export function addPitSurveyPoint(data) {
|
||||
return request({
|
||||
url: '/device/pitSurveyPoint',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改测点管理
|
||||
export function updatePitSurveyPoint(data) {
|
||||
return request({
|
||||
url: '/device/pitSurveyPoint',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除测点管理
|
||||
export function delPitSurveyPoint(id) {
|
||||
return request({
|
||||
url: '/device/pitSurveyPoint/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询报警阈值列表
|
||||
export function listPitThreshold(query) {
|
||||
return request({
|
||||
url: '/device/pitThreshold/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询报警阈值详细
|
||||
export function getPitThreshold(id) {
|
||||
return request({
|
||||
url: '/device/pitThreshold/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增报警阈值
|
||||
export function addPitThreshold(data) {
|
||||
return request({
|
||||
url: '/device/pitThreshold',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改报警阈值
|
||||
export function updatePitThreshold(data) {
|
||||
return request({
|
||||
url: '/device/pitThreshold',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除报警阈值
|
||||
export function delPitThreshold(id) {
|
||||
return request({
|
||||
url: '/device/pitThreshold/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询塔机碰撞信息列表
|
||||
export function listTowerDataCollide(query) {
|
||||
return request({
|
||||
url: '/device/towerDataCollide/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询塔机碰撞信息详细
|
||||
export function getTowerDataCollide(id) {
|
||||
return request({
|
||||
url: '/device/towerDataCollide/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增塔机碰撞信息
|
||||
export function addTowerDataCollide(data) {
|
||||
return request({
|
||||
url: '/device/towerDataCollide',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改塔机碰撞信息
|
||||
export function updateTowerDataCollide(data) {
|
||||
return request({
|
||||
url: '/device/towerDataCollide',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除塔机碰撞信息
|
||||
export function delTowerDataCollide(id) {
|
||||
return request({
|
||||
url: '/device/towerDataCollide/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询塔机限位信息列表
|
||||
export function listTowerDataLimit(query) {
|
||||
return request({
|
||||
url: '/device/towerDataLimit/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询塔机限位信息详细
|
||||
export function getTowerDataLimit(id) {
|
||||
return request({
|
||||
url: '/device/towerDataLimit/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增塔机限位信息
|
||||
export function addTowerDataLimit(data) {
|
||||
return request({
|
||||
url: '/device/towerDataLimit',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改塔机限位信息
|
||||
export function updateTowerDataLimit(data) {
|
||||
return request({
|
||||
url: '/device/towerDataLimit',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除塔机限位信息
|
||||
export function delTowerDataLimit(id) {
|
||||
return request({
|
||||
url: '/device/towerDataLimit/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询塔机定位信息列表
|
||||
export function listTowerDataLocal(query) {
|
||||
return request({
|
||||
url: '/device/towerDataLocal/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询塔机定位信息详细
|
||||
export function getTowerDataLocal(id) {
|
||||
return request({
|
||||
url: '/device/towerDataLocal/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增塔机定位信息
|
||||
export function addTowerDataLocal(data) {
|
||||
return request({
|
||||
url: '/device/towerDataLocal',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改塔机定位信息
|
||||
export function updateTowerDataLocal(data) {
|
||||
return request({
|
||||
url: '/device/towerDataLocal',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除塔机定位信息
|
||||
export function delTowerDataLocal(id) {
|
||||
return request({
|
||||
url: '/device/towerDataLocal/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询塔机工作循环列表
|
||||
export function listTowerDataRound(query) {
|
||||
return request({
|
||||
url: '/device/towerDataRound/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询塔机工作循环详细
|
||||
export function getTowerDataRound(id) {
|
||||
return request({
|
||||
url: '/device/towerDataRound/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增塔机工作循环
|
||||
export function addTowerDataRound(data) {
|
||||
return request({
|
||||
url: '/device/towerDataRound',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改塔机工作循环
|
||||
export function updateTowerDataRound(data) {
|
||||
return request({
|
||||
url: '/device/towerDataRound',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除塔机工作循环
|
||||
export function delTowerDataRound(id) {
|
||||
return request({
|
||||
url: '/device/towerDataRound/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询塔机实时数据列表
|
||||
export function listTowerDataRun(query) {
|
||||
return request({
|
||||
url: '/device/towerDataRun/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询塔机实时数据详细
|
||||
export function getTowerDataRun(id) {
|
||||
return request({
|
||||
url: '/device/towerDataRun/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增塔机实时数据
|
||||
export function addTowerDataRun(data) {
|
||||
return request({
|
||||
url: '/device/towerDataRun',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改塔机实时数据
|
||||
export function updateTowerDataRun(data) {
|
||||
return request({
|
||||
url: '/device/towerDataRun',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除塔机实时数据
|
||||
export function delTowerDataRun(id) {
|
||||
return request({
|
||||
url: '/device/towerDataRun/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询塔机预警管理列表
|
||||
export function listTowerDataWarning(query) {
|
||||
return request({
|
||||
url: '/device/towerDataWarning/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询塔机预警管理详细
|
||||
export function getTowerDataWarning(id) {
|
||||
return request({
|
||||
url: '/device/towerDataWarning/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增塔机预警管理
|
||||
export function addTowerDataWarning(data) {
|
||||
return request({
|
||||
url: '/device/towerDataWarning',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改塔机预警管理
|
||||
export function updateTowerDataWarning(data) {
|
||||
return request({
|
||||
url: '/device/towerDataWarning',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除塔机预警管理
|
||||
export function delTowerDataWarning(id) {
|
||||
return request({
|
||||
url: '/device/towerDataWarning/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询塔基检测配置列表
|
||||
export function listTowerProjectConfig(query) {
|
||||
return request({
|
||||
url: '/device/towerProjectConfig/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询塔基检测配置详细
|
||||
export function getTowerProjectConfig(id) {
|
||||
return request({
|
||||
url: '/device/towerProjectConfig/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增塔基检测配置
|
||||
export function addTowerProjectConfig(data) {
|
||||
return request({
|
||||
url: '/device/towerProjectConfig',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改塔基检测配置
|
||||
export function updateTowerProjectConfig(data) {
|
||||
return request({
|
||||
url: '/device/towerProjectConfig',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除塔基检测配置
|
||||
export function delTowerProjectConfig(id) {
|
||||
return request({
|
||||
url: '/device/towerProjectConfig/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,79 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询劳资投诉列表
|
||||
export function listFlowLabourInfo(query) {
|
||||
return request({
|
||||
url: '/flow/flowLabourInfo/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询劳资投诉详细
|
||||
export function getFlowLabourInfo(id) {
|
||||
return request({
|
||||
url: '/flow/flowLabourInfo/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增劳资投诉
|
||||
export function addFlowLabourInfo(data) {
|
||||
return request({
|
||||
url: '/flow/flowLabourInfo',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改劳资投诉
|
||||
export function updateFlowLabourInfo(data) {
|
||||
return request({
|
||||
url: '/flow/flowLabourInfo',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除劳资投诉
|
||||
export function delFlowLabourInfo(id) {
|
||||
return request({
|
||||
url: '/flow/flowLabourInfo/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
//分组统计
|
||||
export function findGroupCountByApprove(query) {
|
||||
return request({
|
||||
url: '/flow/flowLabourInfo/findGroupCountByApprove',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询我的劳资投诉列表
|
||||
export function findMyFlowLabours(cardId) {
|
||||
return request({
|
||||
url: '/flow/flowLabourInfo/findMyFlowLabours/' + cardId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 查询劳资投诉进度列表
|
||||
export function findMyFlowLabourNodes(flowId) {
|
||||
return request({
|
||||
url: '/flow/flowLabourAuditNode/findMyFlowLabourNodes/' + flowId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
//审批劳资预警
|
||||
export function flowLabourAuditNode(data) {
|
||||
return request({
|
||||
url: '/flow/flowLabourAuditNode',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询业务流程列表
|
||||
export function allList(query) {
|
||||
return request({
|
||||
url: '/flowable/businessKey/allList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 统计业务流程列表
|
||||
export function queryCount(query) {
|
||||
return request({
|
||||
url: '/flowable/businessKey/queryCount',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 根据业务流程查询操作日志
|
||||
export function findCommentByProcInsId(query) {
|
||||
return request({
|
||||
url: '/flowable/businessKey/findCommentByProcInsId',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 根据业务流程查询表单数据
|
||||
export function findFormDatasByProcInsId(query) {
|
||||
return request({
|
||||
url: '/flowable/businessKey/findFormDatasByProcInsId',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 根据条件查询我的代办任务
|
||||
export function myAwaitFlowTaskList(query) {
|
||||
return request({
|
||||
url: '/flowable/businessKey/myAwaitFlowTaskList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 根据条件查询我的已办任务
|
||||
export function myFinishedFlowTaskList(query) {
|
||||
return request({
|
||||
url: '/flowable/businessKey/myFinishedFlowTaskList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,167 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询流程定义列表
|
||||
export function listDefinition(query) {
|
||||
return request({
|
||||
url: '/flowable/definition/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询流程定义我的角色相关列表
|
||||
export function myDefinitionList(query) {
|
||||
return request({
|
||||
url: '/flowable/definition/myList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 部署流程实例
|
||||
export function definitionStart(procDefId, data) {
|
||||
return request({
|
||||
url: '/flowable/definition/start/' + procDefId,
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取流程变量
|
||||
export function getProcessVariables(taskId) {
|
||||
return request({
|
||||
url: '/flowable/task/processVariables/' + taskId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 激活/挂起流程
|
||||
export function updateState(params) {
|
||||
return request({
|
||||
url: '/flowable/definition/updateState',
|
||||
method: 'put',
|
||||
params: params
|
||||
})
|
||||
}
|
||||
|
||||
// 指定流程办理人员列表
|
||||
export function userList(query) {
|
||||
return request({
|
||||
url: '/flowable/definition/userList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 指定流程办理组列表
|
||||
export function roleList(query) {
|
||||
return request({
|
||||
url: '/flowable/definition/roleList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 指定流程表达式
|
||||
export function expList(query) {
|
||||
return request({
|
||||
url: '/flowable/definition/expList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 读取xml文件
|
||||
export function readXml(deployId) {
|
||||
return request({
|
||||
url: '/flowable/definition/readXml/' + deployId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 读取image文件
|
||||
export function readImage(deployId) {
|
||||
return request({
|
||||
url: '/flowable/definition/readImage/' + deployId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取流程执行节点
|
||||
export function getFlowViewer(procInsId, executionId) {
|
||||
return request({
|
||||
url: '/flowable/task/flowViewer/' + procInsId + '/' + executionId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 流程节点数据
|
||||
export function flowXmlAndNode(query) {
|
||||
return request({
|
||||
url: '/flowable/task/flowXmlAndNode',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 读取xml文件
|
||||
export function saveXml(data) {
|
||||
return request({
|
||||
url: '/flowable/definition/save',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 新增流程定义
|
||||
export function addDeployment(data) {
|
||||
return request({
|
||||
url: '/system/deployment',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改流程定义
|
||||
export function updateDeployment(data) {
|
||||
return request({
|
||||
url: '/system/deployment',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除流程定义
|
||||
export function delDeployment(deployId) {
|
||||
return request({
|
||||
url: '/flowable/definition/' + deployId,
|
||||
method: 'delete',
|
||||
})
|
||||
}
|
||||
|
||||
// 导出流程定义
|
||||
export function exportDeployment(query) {
|
||||
return request({
|
||||
url: '/system/deployment/export',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 流程角色设置
|
||||
export function updateProcKeyByRoleId(data) {
|
||||
return request({
|
||||
url: '/flowable/definition/updateProcKeyByRoleId',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 流程排序设置
|
||||
export function updateProcKeyRoleSort(data) {
|
||||
return request({
|
||||
url: '/flowable/definition/updateProcKeyRoleSort',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
|
@ -0,0 +1,80 @@
|
|||
import request from '@/utils/request'
|
||||
import da from "element-ui/src/locale/lang/da";
|
||||
|
||||
// 查询已办任务列表
|
||||
export function finishedList(query) {
|
||||
return request({
|
||||
url: '/flowable/task/finishedList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 任务流转记录
|
||||
export function flowRecord(query) {
|
||||
return request({
|
||||
url: '/flowable/task/flowRecord',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 撤回任务
|
||||
export function revokeProcess(data) {
|
||||
return request({
|
||||
url: '/flowable/task/revokeProcess',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 部署流程实例
|
||||
export function deployStart(deployId) {
|
||||
return request({
|
||||
url: '/flowable/process/startFlow/' + deployId,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
// 查询流程定义详细
|
||||
export function getDeployment(id) {
|
||||
return request({
|
||||
url: '/system/deployment/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增流程定义
|
||||
export function addDeployment(data) {
|
||||
return request({
|
||||
url: '/system/deployment',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改流程定义
|
||||
export function updateDeployment(data) {
|
||||
return request({
|
||||
url: '/system/deployment',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除流程定义
|
||||
export function delDeployment(id) {
|
||||
return request({
|
||||
url: '/flowable/instance/delete/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出流程定义
|
||||
export function exportDeployment(query) {
|
||||
return request({
|
||||
url: '/system/deployment/export',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
|
@ -0,0 +1,68 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询流程表单列表
|
||||
export function listForm(query) {
|
||||
return request({
|
||||
url: '/flowable/form/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
export function listAllForm(query) {
|
||||
return request({
|
||||
url: '/flowable/form/formList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询流程表单详细
|
||||
export function getForm(formId) {
|
||||
return request({
|
||||
url: '/flowable/form/' + formId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增流程表单
|
||||
export function addForm(data) {
|
||||
return request({
|
||||
url: '/flowable/form',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改流程表单
|
||||
export function updateForm(data) {
|
||||
return request({
|
||||
url: '/flowable/form',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 挂载表单
|
||||
export function addDeployForm(data) {
|
||||
return request({
|
||||
url: '/flowable/form/addDeployForm',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除流程表单
|
||||
export function delForm(formId) {
|
||||
return request({
|
||||
url: '/flowable/form/' + formId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出流程表单
|
||||
export function exportForm(query) {
|
||||
return request({
|
||||
url: '/flowable/form/export',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
|
@ -0,0 +1,106 @@
|
|||
import request from '@/utils/request'
|
||||
import da from "element-ui/src/locale/lang/da";
|
||||
|
||||
// 我的发起的流程
|
||||
export function myProcessList(query) {
|
||||
return request({
|
||||
url: '/flowable/task/myProcess',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function flowFormData(query) {
|
||||
return request({
|
||||
url: '/flowable/task/flowFormData',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 完成任务
|
||||
export function complete(data) {
|
||||
return request({
|
||||
url: '/flowable/task/complete',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 取消申请
|
||||
export function stopProcess(data) {
|
||||
return request({
|
||||
url: '/flowable/task/stopProcess',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 驳回任务
|
||||
export function rejectTask(data) {
|
||||
return request({
|
||||
url: '/flowable/task/reject',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 可退回任务列表
|
||||
export function returnList(data) {
|
||||
return request({
|
||||
url: '/flowable/task/returnList',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 部署流程实例
|
||||
export function deployStart(deployId) {
|
||||
return request({
|
||||
url: '/flowable/process/startFlow/' + deployId,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
// 查询流程定义详细
|
||||
export function getDeployment(id) {
|
||||
return request({
|
||||
url: '/system/deployment/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增流程定义
|
||||
export function addDeployment(data) {
|
||||
return request({
|
||||
url: '/system/deployment',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改流程定义
|
||||
export function updateDeployment(data) {
|
||||
return request({
|
||||
url: '/system/deployment',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除流程定义
|
||||
export function delDeployment(id) {
|
||||
return request({
|
||||
url: '/system/deployment/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出流程定义
|
||||
export function exportDeployment(query) {
|
||||
return request({
|
||||
url: '/system/deployment/export',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
|
@ -0,0 +1,134 @@
|
|||
import request from '@/utils/request'
|
||||
import da from "element-ui/src/locale/lang/da";
|
||||
|
||||
// 查询待办任务列表
|
||||
export function todoList(query) {
|
||||
return request({
|
||||
url: '/flowable/task/todoList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 完成任务
|
||||
export function complete(data) {
|
||||
return request({
|
||||
url: '/flowable/task/complete',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 委派任务
|
||||
export function delegate(data) {
|
||||
return request({
|
||||
url: '/flowable/task/delegate',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 退回任务
|
||||
export function returnTask(data) {
|
||||
return request({
|
||||
url: '/flowable/task/return',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 驳回任务
|
||||
export function rejectTask(data) {
|
||||
return request({
|
||||
url: '/flowable/task/reject',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 可退回任务列表
|
||||
export function returnList(data) {
|
||||
return request({
|
||||
url: '/flowable/task/returnList',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 下一节点
|
||||
export function getNextFlowNode(data) {
|
||||
return request({
|
||||
url: '/flowable/task/nextFlowNode',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 下一节点
|
||||
export function getNextFlowNodeByStart(data) {
|
||||
return request({
|
||||
url: '/flowable/task/nextFlowNodeByStart',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 部署流程实例
|
||||
export function deployStart(deployId) {
|
||||
return request({
|
||||
url: '/flowable/process/startFlow/' + deployId,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
// 查询流程定义详细
|
||||
export function getDeployment(id) {
|
||||
return request({
|
||||
url: '/system/deployment/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增流程定义
|
||||
export function addDeployment(data) {
|
||||
return request({
|
||||
url: '/system/deployment',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改流程定义
|
||||
export function updateDeployment(data) {
|
||||
return request({
|
||||
url: '/system/deployment',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除流程定义
|
||||
export function delDeployment(id) {
|
||||
return request({
|
||||
url: '/system/deployment/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 导出流程定义
|
||||
export function exportDeployment(query) {
|
||||
return request({
|
||||
url: '/system/deployment/export',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 流程节点表单
|
||||
export function flowTaskForm(query) {
|
||||
return request({
|
||||
url: '/flowable/task/flowTaskForm',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
import publics from './publics.js'
|
||||
import projectAsscess from './project/surProjectAssess.js'
|
||||
|
||||
export default {
|
||||
publics,
|
||||
projectAsscess
|
||||
}
|
|
@ -0,0 +1,59 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 登录方法
|
||||
export function login(username, password, code, uuid) {
|
||||
const data = {
|
||||
username,
|
||||
password,
|
||||
code,
|
||||
uuid
|
||||
}
|
||||
return request({
|
||||
url: '/login',
|
||||
headers: {
|
||||
isToken: false
|
||||
},
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 注册方法
|
||||
export function register(data) {
|
||||
return request({
|
||||
url: '/register',
|
||||
headers: {
|
||||
isToken: false
|
||||
},
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 获取用户详细信息
|
||||
export function getInfo() {
|
||||
return request({
|
||||
url: '/getInfo',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 退出方法
|
||||
export function logout() {
|
||||
return request({
|
||||
url: '/logout',
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
// 获取验证码
|
||||
export function getCodeImg() {
|
||||
return request({
|
||||
url: '/captchaImage',
|
||||
headers: {
|
||||
isToken: false
|
||||
},
|
||||
method: 'get',
|
||||
timeout: 20000
|
||||
})
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 获取路由
|
||||
export const getRouters = () => {
|
||||
return request({
|
||||
url: '/getRouters',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,57 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询缓存详细
|
||||
export function getCache() {
|
||||
return request({
|
||||
url: '/monitor/cache',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 查询缓存名称列表
|
||||
export function listCacheName() {
|
||||
return request({
|
||||
url: '/monitor/cache/getNames',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 查询缓存键名列表
|
||||
export function listCacheKey(cacheName) {
|
||||
return request({
|
||||
url: '/monitor/cache/getKeys/' + cacheName,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 查询缓存内容
|
||||
export function getCacheValue(cacheName, cacheKey) {
|
||||
return request({
|
||||
url: '/monitor/cache/getValue/' + cacheName + '/' + cacheKey,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 清理指定名称缓存
|
||||
export function clearCacheName(cacheName) {
|
||||
return request({
|
||||
url: '/monitor/cache/clearCacheName/' + cacheName,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 清理指定键名缓存
|
||||
export function clearCacheKey(cacheKey) {
|
||||
return request({
|
||||
url: '/monitor/cache/clearCacheKey/' + cacheKey,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 清理全部缓存
|
||||
export function clearCacheAll() {
|
||||
return request({
|
||||
url: '/monitor/cache/clearCacheAll',
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,71 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询定时任务调度列表
|
||||
export function listJob(query) {
|
||||
return request({
|
||||
url: '/monitor/job/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询定时任务调度详细
|
||||
export function getJob(jobId) {
|
||||
return request({
|
||||
url: '/monitor/job/' + jobId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增定时任务调度
|
||||
export function addJob(data) {
|
||||
return request({
|
||||
url: '/monitor/job',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改定时任务调度
|
||||
export function updateJob(data) {
|
||||
return request({
|
||||
url: '/monitor/job',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除定时任务调度
|
||||
export function delJob(jobId) {
|
||||
return request({
|
||||
url: '/monitor/job/' + jobId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 任务状态修改
|
||||
export function changeJobStatus(jobId, status) {
|
||||
const data = {
|
||||
jobId,
|
||||
status
|
||||
}
|
||||
return request({
|
||||
url: '/monitor/job/changeStatus',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 定时任务立即执行一次
|
||||
export function runJob(jobId, jobGroup) {
|
||||
const data = {
|
||||
jobId,
|
||||
jobGroup
|
||||
}
|
||||
return request({
|
||||
url: '/monitor/job/run',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询调度日志列表
|
||||
export function listJobLog(query) {
|
||||
return request({
|
||||
url: '/monitor/jobLog/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 删除调度日志
|
||||
export function delJobLog(jobLogId) {
|
||||
return request({
|
||||
url: '/monitor/jobLog/' + jobLogId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 清空调度日志
|
||||
export function cleanJobLog() {
|
||||
return request({
|
||||
url: '/monitor/jobLog/clean',
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,34 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询登录日志列表
|
||||
export function list(query) {
|
||||
return request({
|
||||
url: '/monitor/logininfor/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 删除登录日志
|
||||
export function delLogininfor(infoId) {
|
||||
return request({
|
||||
url: '/monitor/logininfor/' + infoId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 解锁用户登录状态
|
||||
export function unlockLogininfor(userName) {
|
||||
return request({
|
||||
url: '/monitor/logininfor/unlock/' + userName,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 清空登录日志
|
||||
export function cleanLogininfor() {
|
||||
return request({
|
||||
url: '/monitor/logininfor/clean',
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,18 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询在线用户列表
|
||||
export function list(query) {
|
||||
return request({
|
||||
url: '/monitor/online/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 强退用户
|
||||
export function forceLogout(tokenId) {
|
||||
return request({
|
||||
url: '/monitor/online/' + tokenId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询操作日志列表
|
||||
export function list(query) {
|
||||
return request({
|
||||
url: '/monitor/operlog/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 删除操作日志
|
||||
export function delOperlog(operId) {
|
||||
return request({
|
||||
url: '/monitor/operlog/' + operId,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 清空操作日志
|
||||
export function cleanOperlog() {
|
||||
return request({
|
||||
url: '/monitor/operlog/clean',
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 获取服务信息
|
||||
export function getServer() {
|
||||
return request({
|
||||
url: '/monitor/server',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询设备配置列表
|
||||
export function listAiBoxProjectConfig(query) {
|
||||
return request({
|
||||
url: '/project/aiBoxProjectConfig/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询设备配置详细
|
||||
export function getAiBoxProjectConfig(id) {
|
||||
return request({
|
||||
url: '/project/aiBoxProjectConfig/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增设备配置
|
||||
export function addAiBoxProjectConfig(data) {
|
||||
return request({
|
||||
url: '/project/aiBoxProjectConfig',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改设备配置
|
||||
export function updateAiBoxProjectConfig(data) {
|
||||
return request({
|
||||
url: '/project/aiBoxProjectConfig',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除设备配置
|
||||
export function delAiBoxProjectConfig(id) {
|
||||
return request({
|
||||
url: '/project/aiBoxProjectConfig/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询设备数据列表
|
||||
export function listAiBoxProjectData(query) {
|
||||
return request({
|
||||
url: '/project/aiBoxProjectData/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询设备数据详细
|
||||
export function getAiBoxProjectData(id) {
|
||||
return request({
|
||||
url: '/project/aiBoxProjectData/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增设备数据
|
||||
export function addAiBoxProjectData(data) {
|
||||
return request({
|
||||
url: '/project/aiBoxProjectData',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改设备数据
|
||||
export function updateAiBoxProjectData(data) {
|
||||
return request({
|
||||
url: '/project/aiBoxProjectData',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除设备数据
|
||||
export function delAiBoxProjectData(id) {
|
||||
return request({
|
||||
url: '/project/aiBoxProjectData/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询劳务实名制管理列表
|
||||
export function listAttendance(query) {
|
||||
return request({
|
||||
url: '/project/attendance/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 查询劳务实名制管理详细
|
||||
export function getAttendance(id) {
|
||||
return request({
|
||||
url: '/project/attendance/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增劳务实名制管理
|
||||
export function addAttendance(data) {
|
||||
return request({
|
||||
url: '/project/attendance',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改劳务实名制管理
|
||||
export function updateAttendance(data) {
|
||||
return request({
|
||||
url: '/project/attendance',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除劳务实名制管理
|
||||
export function delAttendance(id) {
|
||||
return request({
|
||||
url: '/project/attendance/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,51 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询项目考勤配置列表
|
||||
export function listAttendanceConfig(query) {
|
||||
return request({
|
||||
url: '/project/attendanceConfig/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询项目考勤配置详细
|
||||
export function getAttendanceConfig(id) {
|
||||
return request({
|
||||
url: '/project/attendanceConfig/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增项目考勤配置
|
||||
export function addAttendanceConfig(data) {
|
||||
return request({
|
||||
url: '/project/attendanceConfig',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改项目考勤配置
|
||||
export function updateAttendanceConfig(data) {
|
||||
return request({
|
||||
url: '/project/attendanceConfig',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除项目考勤配置
|
||||
export function delAttendanceConfig(id) {
|
||||
return request({
|
||||
url: '/project/attendanceConfig/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
export function makeAppId(projectId,subDeptId){
|
||||
return request({
|
||||
url: `/project/attendanceConfig/makeAppId?projectId=${projectId}&subDeptId=${subDeptId}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,77 @@
|
|||
import request from '@/utils/request'
|
||||
import { deepClone } from '@/utils/index'
|
||||
import dayjs from 'dayjs'
|
||||
// 查询考勤人员基本属性列表
|
||||
export function listAttendanceWorker(query) {
|
||||
return request({
|
||||
url: '/project/attendanceWorker/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询考勤人员基本属性列表
|
||||
export function queryAttendanceWorker(query) {
|
||||
return request({
|
||||
url: '/project/attendanceWorker/query',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
// 查询考勤人员基本属性列表
|
||||
export function listJgwAttendanceWorker(query) {
|
||||
return request({
|
||||
url: '/project/attendanceWorker/listjgw',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
// 查询考勤人员基本属性详细
|
||||
export function getAttendanceWorker(id) {
|
||||
return request({
|
||||
url: '/project/attendanceWorker/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增考勤人员基本属性
|
||||
export function addAttendanceWorker(data) {
|
||||
return request({
|
||||
url: '/project/attendanceWorker',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改考勤人员基本属性
|
||||
export function updateAttendanceWorker(data) {
|
||||
return request({
|
||||
url: '/project/attendanceWorker',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除考勤人员基本属性
|
||||
export function delAttendanceWorker(id) {
|
||||
return request({
|
||||
url: '/project/attendanceWorker/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
export function queryAttendanceData(data){
|
||||
data=deepClone(data);
|
||||
if(data.createBy){
|
||||
data.createBy=dayjs(data.createBy).format("YYYY-MM-DD");
|
||||
}
|
||||
return request({
|
||||
url: `/project/attendanceWorker/queryAttendanceData?pageNum=${data.pageNum}&pageSize=${data.pageSize}`,
|
||||
method: 'post',
|
||||
data:{
|
||||
...data,
|
||||
index:((data.pageNum||1)-1)*data.pageSize,
|
||||
size:data.pageSize
|
||||
}
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询项目建设节点列表
|
||||
export function listBuild_node(query) {
|
||||
return request({
|
||||
url: '/project/build_node/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询项目建设节点详细
|
||||
export function getBuild_node(id) {
|
||||
return request({
|
||||
url: '/project/build_node/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增项目建设节点
|
||||
export function addBuild_node(data) {
|
||||
return request({
|
||||
url: '/project/build_node',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改项目建设节点
|
||||
export function updateBuild_node(data) {
|
||||
return request({
|
||||
url: '/project/build_node',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除项目建设节点
|
||||
export function delBuild_node(id) {
|
||||
return request({
|
||||
url: '/project/build_node/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,53 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询项目建设节点数据列表
|
||||
export function listBuild_node_data(query) {
|
||||
return request({
|
||||
url: '/project/build_node_data/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询项目建设节点数据详细
|
||||
export function getBuild_node_data(id) {
|
||||
return request({
|
||||
url: '/project/build_node_data/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增项目建设节点数据
|
||||
export function addBuild_node_data(data) {
|
||||
return request({
|
||||
url: '/project/build_node_data',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改项目建设节点数据
|
||||
export function updateBuild_node_data(data) {
|
||||
return request({
|
||||
url: '/project/build_node_data',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除项目建设节点数据
|
||||
export function delBuild_node_data(id) {
|
||||
return request({
|
||||
url: '/project/build_node_data/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 删除项目建设节点数据
|
||||
export function listByProject(projectId) {
|
||||
return request({
|
||||
url: '/project/build_node_data/listByProject?projectId=' + projectId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询材料取样复试列表
|
||||
export function listCheckDetection(query) {
|
||||
return request({
|
||||
url: '/project/checkDetection/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询材料取样复试详细
|
||||
export function getCheckDetection(id) {
|
||||
return request({
|
||||
url: '/project/checkDetection/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增材料取样复试
|
||||
export function addCheckDetection(data) {
|
||||
return request({
|
||||
url: '/project/checkDetection',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改材料取样复试
|
||||
export function updateCheckDetection(data) {
|
||||
return request({
|
||||
url: '/project/checkDetection',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
// 取样复试登记结果
|
||||
export function updateCheckDetectionResult(data) {
|
||||
return request({
|
||||
url: '/project/checkDetection/editResult',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除材料取样复试
|
||||
export function delCheckDetection(id) {
|
||||
return request({
|
||||
url: '/project/checkDetection/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
//材料取样复试统计
|
||||
export function findGroupCountByApprove(query) {
|
||||
return request({
|
||||
url: '/project/checkDetection/findGroupCountByApprove',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
|
@ -0,0 +1,76 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询项目成本产值列表
|
||||
export function listCostOutput(query) {
|
||||
return request({
|
||||
url: '/project/costOutput/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询项目成本产值详细
|
||||
export function getCostOutput(id) {
|
||||
return request({
|
||||
url: '/project/costOutput/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增项目成本产值
|
||||
export function addCostOutput(data) {
|
||||
return request({
|
||||
url: '/project/costOutput',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改项目成本产值
|
||||
export function updateCostOutput(data) {
|
||||
return request({
|
||||
url: '/project/costOutput',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除项目成本产值
|
||||
export function delCostOutput(id) {
|
||||
return request({
|
||||
url: '/project/costOutput/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function listByProjectId(projectId){
|
||||
return request({
|
||||
url: '/project/costOutput/listByProjectId?projectId=' + projectId,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function addYearInvestment(data){
|
||||
return request({
|
||||
url: '/project/costOutput/addYearInvestment',
|
||||
method: 'post',
|
||||
data:data
|
||||
})
|
||||
}
|
||||
|
||||
export function addMonthInvestment(data){
|
||||
return request({
|
||||
url: '/project/costOutput/addMonthInvestment',
|
||||
method: 'post',
|
||||
data:data
|
||||
})
|
||||
}
|
||||
|
||||
export function batchUpdate(datas){
|
||||
return request({
|
||||
url: '/project/costOutput/batchUpdate',
|
||||
method: 'post',
|
||||
data:datas
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询广联达班组信息列表
|
||||
export function listGldAttendanceGroup(query) {
|
||||
return request({
|
||||
url: '/project/gldAttendanceGroup/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询广联达班组信息详细
|
||||
export function getGldAttendanceGroup(id) {
|
||||
return request({
|
||||
url: '/project/gldAttendanceGroup/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增广联达班组信息
|
||||
export function addGldAttendanceGroup(data) {
|
||||
return request({
|
||||
url: '/project/gldAttendanceGroup',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改广联达班组信息
|
||||
export function updateGldAttendanceGroup(data) {
|
||||
return request({
|
||||
url: '/project/gldAttendanceGroup',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除广联达班组信息
|
||||
export function delGldAttendanceGroup(id) {
|
||||
return request({
|
||||
url: '/project/gldAttendanceGroup/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,53 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询材料封样列表
|
||||
export function listMaterialSeal(query) {
|
||||
return request({
|
||||
url: '/project/materialSeal/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 统计材料封样
|
||||
export function findGroupCountByApprove(query) {
|
||||
return request({
|
||||
url: '/project/materialSeal/findGroupCountByApprove',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询材料封样详细
|
||||
export function getMaterialSeal(id) {
|
||||
return request({
|
||||
url: '/project/materialSeal/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增材料封样
|
||||
export function addMaterialSeal(data) {
|
||||
return request({
|
||||
url: '/project/materialSeal',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改材料封样
|
||||
export function updateMaterialSeal(data) {
|
||||
return request({
|
||||
url: '/project/materialSeal',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除材料封样
|
||||
export function delMaterialSeal(id) {
|
||||
return request({
|
||||
url: '/project/materialSeal/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询项目审核信息列表
|
||||
export function listProjectAuditinfo(query) {
|
||||
return request({
|
||||
url: '/project/projectAuditinfo/findList',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 统计项目审核信息
|
||||
export function findAuditCount(query) {
|
||||
return request({
|
||||
url: '/project/projectAuditinfo/findAuditCount',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询项目验收列表
|
||||
export function listProjectChecking(query) {
|
||||
return request({
|
||||
url: '/project/projectChecking/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 统计项目验收
|
||||
export function findGroupCountByApprove(query) {
|
||||
return request({
|
||||
url: '/project/projectChecking/findGroupCountByApprove',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询项目验收详细
|
||||
export function getProjectChecking(id) {
|
||||
return request({
|
||||
url: '/project/projectChecking/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增项目验收
|
||||
export function addProjectChecking(data) {
|
||||
return request({
|
||||
url: '/project/projectChecking',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改项目验收
|
||||
export function updateProjectChecking(data) {
|
||||
return request({
|
||||
url: '/project/projectChecking',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改项目验收
|
||||
export function updateProjectCheckingNoLog(data) {
|
||||
return request({
|
||||
url: '/project/projectChecking/editNoLog',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除项目验收
|
||||
export function delProjectChecking(id) {
|
||||
return request({
|
||||
url: '/project/projectChecking/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,56 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询工委会管理列表
|
||||
export function listProjectCommittee(query) {
|
||||
return request({
|
||||
url: '/project/projectCommittee/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询工委会管理详细
|
||||
export function getProjectCommittee(id) {
|
||||
return request({
|
||||
url: '/project/projectCommittee/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增工委会管理
|
||||
export function addProjectCommittee(data) {
|
||||
return request({
|
||||
url: '/project/projectCommittee',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改工委会管理
|
||||
export function updateProjectCommittee(data) {
|
||||
return request({
|
||||
url: '/project/projectCommittee',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 删除工委会管理
|
||||
export function delProjectCommittee(id) {
|
||||
return request({
|
||||
url: '/project/projectCommittee/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 删除工委会管理
|
||||
export function addProjectCommitteeList(list) {
|
||||
return request({
|
||||
url: '/project/projectCommittee/addList',
|
||||
method: 'post',
|
||||
data:list
|
||||
})
|
||||
}
|
|
@ -0,0 +1,52 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询在岗人员列表
|
||||
export function listProjectDeptWroks(query) {
|
||||
return request({
|
||||
url: '/project/projectDeptWroks/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function deptWroksViewData(query) {
|
||||
return request({
|
||||
url: '/project/projectDeptWroks/viewData',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询在岗人员详细
|
||||
export function getProjectDeptWroks(id) {
|
||||
return request({
|
||||
url: '/project/projectDeptWroks/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增在岗人员
|
||||
export function addProjectDeptWroks(data) {
|
||||
return request({
|
||||
url: '/project/projectDeptWroks',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改在岗人员
|
||||
export function updateProjectDeptWroks(data) {
|
||||
return request({
|
||||
url: '/project/projectDeptWroks',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除在岗人员
|
||||
export function delProjectDeptWroks(id) {
|
||||
return request({
|
||||
url: '/project/projectDeptWroks/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,61 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询设计管理列表
|
||||
export function listProjectDesign(query) {
|
||||
return request({
|
||||
url: '/project/projectDesign/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询设计管理详细
|
||||
export function getProjectDesign(id) {
|
||||
return request({
|
||||
url: '/project/projectDesign/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增设计管理
|
||||
export function addProjectDesign(data) {
|
||||
return request({
|
||||
url: '/project/projectDesign',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改设计管理
|
||||
export function updateProjectDesign(data) {
|
||||
return request({
|
||||
url: '/project/projectDesign',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除设计管理
|
||||
export function delProjectDesign(id) {
|
||||
return request({
|
||||
url: '/project/projectDesign/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
export function listByProject(query){
|
||||
return request({
|
||||
url: '/project/projectDesign/listByProject',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function updateList(data){
|
||||
return request({
|
||||
url: '/project/projectDesign/updateList',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询工程功能检验列表
|
||||
export function listProjectFunVerify(query) {
|
||||
return request({
|
||||
url: '/project/projectFunVerify/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 统计工程功能检验
|
||||
export function findGroupCountByApprove(query) {
|
||||
return request({
|
||||
url: '/project/projectFunVerify/findGroupCountByApprove',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询工程功能检验详细
|
||||
export function getProjectFunVerify(id) {
|
||||
return request({
|
||||
url: '/project/projectFunVerify/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增工程功能检验
|
||||
export function addProjectFunVerify(data) {
|
||||
return request({
|
||||
url: '/project/projectFunVerify',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改工程功能检验
|
||||
export function updateProjectFunVerify(data) {
|
||||
return request({
|
||||
url: '/project/projectFunVerify',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改工程功能检验
|
||||
export function updateProjectFunVerifyNoLog(data) {
|
||||
return request({
|
||||
url: '/project/projectFunVerify/editNoLog',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除工程功能检验
|
||||
export function delProjectFunVerify(id) {
|
||||
return request({
|
||||
url: '/project/projectFunVerify/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,53 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询实测实量列表
|
||||
export function listProjectMeasure(query) {
|
||||
return request({
|
||||
url: '/project/projectMeasure/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 统计实测实量
|
||||
export function findGroupCountByApprove(query) {
|
||||
return request({
|
||||
url: '/project/projectMeasure/findGroupCountByApprove',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询实测实量详细
|
||||
export function getProjectMeasure(id) {
|
||||
return request({
|
||||
url: '/project/projectMeasure/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增实测实量
|
||||
export function addProjectMeasure(data) {
|
||||
return request({
|
||||
url: '/project/projectMeasure',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改实测实量
|
||||
export function updateProjectMeasure(data) {
|
||||
return request({
|
||||
url: '/project/projectMeasure',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除实测实量
|
||||
export function delProjectMeasure(id) {
|
||||
return request({
|
||||
url: '/project/projectMeasure/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,52 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询项目跟进计划列表
|
||||
export function listProjectPlan(query) {
|
||||
return request({
|
||||
url: '/project/projectPlan/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询项目跟进计划详细
|
||||
export function getProjectPlan(id) {
|
||||
return request({
|
||||
url: '/project/projectPlan/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增项目跟进计划
|
||||
export function addProjectPlan(data) {
|
||||
return request({
|
||||
url: '/project/projectPlan',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改项目跟进计划
|
||||
export function updateProjectPlan(data) {
|
||||
return request({
|
||||
url: '/project/projectPlan',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除项目跟进计划
|
||||
export function delProjectPlan(id) {
|
||||
return request({
|
||||
url: '/project/projectPlan/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function listAll(type) {
|
||||
return request({
|
||||
url: '/project/projectPlan/listAll/' + type,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询标准化管理列表
|
||||
export function listProjectStandard(query) {
|
||||
return request({
|
||||
url: '/project/projectStandard/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询标准化管理详细
|
||||
export function getProjectStandard(id) {
|
||||
return request({
|
||||
url: '/project/projectStandard/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增标准化管理
|
||||
export function addProjectStandard(data) {
|
||||
return request({
|
||||
url: '/project/projectStandard',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改标准化管理
|
||||
export function updateProjectStandard(data) {
|
||||
return request({
|
||||
url: '/project/projectStandard',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除标准化管理
|
||||
export function delProjectStandard(id) {
|
||||
return request({
|
||||
url: '/project/projectStandard/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,62 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询项目管理列表
|
||||
export function listSurProject(query) {
|
||||
return request({
|
||||
url: '/project/surProject/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询项目管理详细
|
||||
export function getSurProject(Id) {
|
||||
return request({
|
||||
url: '/project/surProject/' + Id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增项目管理
|
||||
export function addSurProject(data) {
|
||||
return request({
|
||||
url: '/project/surProject',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改项目管理
|
||||
export function updateSurProject(data) {
|
||||
return request({
|
||||
url: '/project/surProject',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除项目管理
|
||||
export function delSurProject(Id) {
|
||||
return request({
|
||||
url: '/project/surProject/' + Id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
// 修改项目形象进度显示
|
||||
export function updateSurProjectProgressVisible(data) {
|
||||
return request({
|
||||
url: '/project/surProject/editProgressVisible',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改项目排序
|
||||
export function updateSurProjectSort(data) {
|
||||
return request({
|
||||
url: '/project/surProject/editProjectSort',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
|
@ -0,0 +1,62 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询项目季度考核列表
|
||||
function listAssess(query) {
|
||||
return request({
|
||||
url: '/project/assess/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询项目季度考核详细
|
||||
function getAssess(id) {
|
||||
return request({
|
||||
url: '/project/assess/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增项目季度考核
|
||||
function addAssess(data) {
|
||||
return request({
|
||||
url: '/project/assess',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改项目季度考核
|
||||
function updateAssess(data) {
|
||||
return request({
|
||||
url: '/project/assess',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除项目季度考核
|
||||
function delAssess(id) {
|
||||
return request({
|
||||
url: '/project/assess/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 查询项目季度考核列表
|
||||
function addYear(data) {
|
||||
return request({
|
||||
url: '/project/assess/addYear',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
export {
|
||||
listAssess,getAssess,addAssess,updateAssess,delAssess,addYear
|
||||
}
|
||||
export default {
|
||||
listAssess,getAssess,addAssess,updateAssess,delAssess,addYear
|
||||
}
|
|
@ -0,0 +1,55 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询项目出勤列表
|
||||
export function listSurProjectAttendance(query) {
|
||||
return request({
|
||||
url: '/project/surProjectAttendance/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询项目出勤详细
|
||||
export function getSurProjectAttendance(id) {
|
||||
return request({
|
||||
url: '/project/surProjectAttendance/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增项目出勤
|
||||
export function addSurProjectAttendance(data) {
|
||||
return request({
|
||||
url: '/project/surProjectAttendance',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改项目出勤
|
||||
export function updateSurProjectAttendance(data) {
|
||||
return request({
|
||||
url: '/project/surProjectAttendance',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除项目出勤
|
||||
export function delSurProjectAttendance(id) {
|
||||
return request({
|
||||
url: '/project/surProjectAttendance/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 查询当前出勤记录
|
||||
export function selectByDate(data) {
|
||||
return request({
|
||||
url: '/project/surProjectAttendance/selectByDate',
|
||||
method: 'post',
|
||||
data:data
|
||||
})
|
||||
}
|
|
@ -0,0 +1,53 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询项目保险列表
|
||||
export function listSurProjectInsurance(query) {
|
||||
return request({
|
||||
url: '/project/surProjectInsurance/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询项目保险列表
|
||||
export function listSurProjectInsurancev2(query) {
|
||||
return request({
|
||||
url: '/project/surProjectInsurance/listv2',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询项目保险详细
|
||||
export function getSurProjectInsurance(id) {
|
||||
return request({
|
||||
url: '/project/surProjectInsurance/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增项目保险
|
||||
export function addSurProjectInsurance(data) {
|
||||
return request({
|
||||
url: '/project/surProjectInsurance',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改项目保险
|
||||
export function updateSurProjectInsurance(data) {
|
||||
return request({
|
||||
url: '/project/surProjectInsurance',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除项目保险
|
||||
export function delSurProjectInsurance(id) {
|
||||
return request({
|
||||
url: '/project/surProjectInsurance/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询项目投资列表
|
||||
export function listsurProjectInvest(query) {
|
||||
return request({
|
||||
url: '/project/surProjectInvest/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询项目投资详细
|
||||
export function getsurProjectInvest(Id) {
|
||||
return request({
|
||||
url: '/project/surProjectInvest/' + Id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增项目投资
|
||||
export function addsurProjectInvest(data) {
|
||||
return request({
|
||||
url: '/project/surProjectInvest',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改项目投资
|
||||
export function updatesurProjectInvest(data) {
|
||||
return request({
|
||||
url: '/project/surProjectInvest',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除项目投资
|
||||
export function delsurProjectInvest(Id) {
|
||||
return request({
|
||||
url: '/project/surProjectInvest/' + Id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|