提交 ddb69d1a 编写于 作者: liaoyang's avatar liaoyang

Initial commit

上级 67157ee5
> 1%
last 2 versions
not ie <= 8
# 所有环境默认
# 页面 title 前缀
VUE_APP_TITLE=智慧校园
# 网络请求公用地址
VUE_APP_API=/api/
# 仓库地址
VUE_APP_REPO=https://github.com/d2-projects/d2-admin-start-kit
# 开发环境
# 页面 title 前缀
VUE_APP_TITLE=智慧校园
# 网络请求公用地址
VUE_APP_API=/
\ No newline at end of file
# No Mock 构建
# 指定构建模式
NODE_ENV=production
# 标记当前是 No Mock 构建
VUE_APP_BUILD_MODE=nomock
# travis
# 指定构建模式
NODE_ENV=production
# 标记当前是 CI 自动构建
VUE_APP_BUILD_MODE=TRAVIS
# 忽略目录
build/
tests/
node_modules/
# node 覆盖率文件
coverage/
# 忽略文件
**/*-min.js
**/*.min.js
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
// '@vue/standard'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
},
parserOptions: {
parser: 'babel-eslint'
}
}
---
name: "👾 BUG"
about: 代码错误
---
```
为了统一格式,请将下面一行复制到 `Title` 栏,然后删除这部分
👾 BUG | 你的标题
```
如果需要,在这里描述具体内容
\ No newline at end of file
---
name: "🎮 示例相关"
about: 增加或者完善示例
---
```
为了统一格式,请将下面一行复制到 `Title` 栏,然后删除这部分
🎮 示例相关 | 你的标题
```
如果需要,在这里描述具体内容
\ No newline at end of file
---
name: "🌈 显示优化"
about: 显示方面调整
---
```
为了统一格式,请将下面一行复制到 `Title` 栏,然后删除这部分
🌈 显示优化 | 你的标题
```
如果需要,在这里描述具体内容
\ No newline at end of file
---
name: "📔 文档相关"
about: 更新或者新增文档内容
---
```
为了统一格式,请将下面一行复制到 `Title` 栏,然后删除这部分
📔 文档相关 | 你的标题
```
如果需要,在这里描述具体内容
\ No newline at end of file
---
name: "🔩 功能开发"
about: 开发新的功能
---
```
为了统一格式,请将下面一行复制到 `Title` 栏,然后删除这部分
🔩 功能开发 | 你的标题
```
如果需要,在这里描述具体内容
\ No newline at end of file
---
name: "🖐 其它问题"
about: 其它类型的 issue 请使用该模板
---
```
为了统一格式,请将下面一行复制到 `Title` 栏,然后删除这部分
🖐 其它问题 | 你的标题
```
如果需要,在这里描述具体内容
\ No newline at end of file
---
name: "🤔 提问"
about: 提出使用方面的问题
---
```
为了统一格式,请将下面一行复制到 `Title` 栏,然后删除这部分
🤔 提问 | 你的标题
```
如果需要,在这里描述具体内容
\ No newline at end of file
---
name: " 功能升级"
about: 升级某个功能
---
```
为了统一格式,请将下面一行复制到 `Title` 栏,然后删除这部分
⚙ 功能升级 | 你的标题
```
如果需要,在这里描述具体内容
\ No newline at end of file
.DS_Store
node_modules
/dist
vue.config.js
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*
\ No newline at end of file
module.exports = {
plugins: {
autoprefixer: {}
}
}
language: node_js
node_js: stable
cache:
directories:
- "node_modules"
branches:
only:
- master
script:
- npm run build:travis
before_install:
- ./qshell account $AK $SK
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
after_success:
- ./qshell qupload qiniu-config
- ./qshell cdnrefresh -dirs cdnrefresh-dirs.txt
\ No newline at end of file
MIT License
Copyright (c) 2018 李杨
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
module.exports = {
presets: [
'@vue/app'
]
}
https://start-kit.d2admin.fairyever.com/
\ No newline at end of file
module.exports = {
moduleFileExtensions: [
'js',
'jsx',
'json',
'vue'
],
transform: {
'^.+\\.vue$': 'vue-jest',
'.+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',
'^.+\\.jsx?$': 'babel-jest'
},
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1'
},
snapshotSerializers: [
'jest-serializer-vue'
],
testMatch: [
'**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)'
],
testURL: 'http://localhost/'
}
此差异已折叠。
{
"name": "d2-admin",
"version": "1.7.0",
"scripts": {
"serve": "vue-cli-service serve --open",
"start": "npm run serve",
"dev": "npm run serve",
"build": "vue-cli-service build",
"build:nomock": "vue-cli-service build --mode nomock",
"build:travis": "vue-cli-service build --mode travis",
"lint": "vue-cli-service lint --fix",
"test:unit": "vue-cli-service test:unit"
},
"dependencies": {
"@d2-projects/d2-crud": "^2.1.1",
"axios": "^0.19.0",
"better-scroll": "^1.15.2",
"core-js": "^2.6.5",
"dayjs": "^1.8.12",
"echarts": "^4.2.1",
"element-ui": "^2.9.1",
"flex.css": "^1.1.7",
"fuse.js": "^3.4.4",
"hotkeys-js": "^3.6.2",
"js-cookie": "^2.2.0",
"lodash": "^4.17.11",
"lowdb": "^1.0.0",
"mockjs": "^1.0.1-beta3",
"nprogress": "^0.2.0",
"number-precision": "^1.3.1",
"particles.js": "^2.0.0",
"qs": "^6.7.0",
"screenfull": "^4.2.0",
"ua-parser-js": "^0.7.19",
"v-charts": "^1.19.0",
"vue": "^2.6.10",
"vue-i18n": "^8.10.0",
"vue-router": "^3.0.3",
"vuex": "^3.0.1"
},
"devDependencies": {
"@kazupon/vue-i18n-loader": "^0.3.0",
"@vue/cli-plugin-babel": "^3.6.0",
"@vue/cli-plugin-eslint": "^3.6.0",
"@vue/cli-plugin-unit-jest": "^3.8.0",
"@vue/cli-service": "^3.6.0",
"@vue/eslint-config-standard": "^4.0.0",
"@vue/test-utils": "1.0.0-beta.29",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"eslint": "^5.16.0",
"eslint-plugin-vue": "^5.0.0",
"sass": "^1.18.0",
"sass-loader": "^7.1.0",
"svg-sprite-loader": "^4.1.3",
"uglifyjs-webpack-plugin": "^2.1.2",
"vue-template-compiler": "^2.5.21"
}
}
> 1%
last 2 versions
not ie <= 8
.DS_Store
node_modules
/dist
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*
module.exports = {
plugins: {
autoprefixer: {}
}
}
# filters-dayjs
\ No newline at end of file
module.exports = {
presets: [
'@vue/app'
]
}
此差异已折叠。
{
"name": "@d2-admin/filters-dayjs",
"version": "1.0.3",
"main": "dist/@d2-admin/filters-dayjs.common.js",
"scripts": {
"build": "vue-cli-service build --target lib --name @d2-admin/filters-dayjs --entry src/main.js"
},
"dependencies": {
"core-js": "^2.6.5",
"dayjs": "^1.8.12",
"vue": "^2.6.6"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.0.0",
"@vue/cli-service": "^3.0.0",
"vue-template-compiler": "^2.5.21"
}
}
// 日期时间相关 filter
// https://github.com/iamkun/dayjs/blob/master/docs/zh-cn/API-reference.md
import dayjs from 'dayjs'
// 对象代理
const P = Day => {
return new Proxy(Day, {
get (target, key) {
if (dayjs.isDayjs(target)) {
// 是 Dayjs 对象,正常返回
return target[key]
} else {
// 不是 Dayjs 对象
if (dayjs(target).isValid()) {
// 尝试帮用户解析成 Dayjs 对象
return dayjs(target)[key]
} else {
// 无法解析
return function () {
return '无效日期'
}
}
}
},
set (target, key, value) {
target[key] = value
}
})
}
export default {
// ---------- [ dayjs 解析 ] ----------
// 时间字符串 | Date 对象 | Unix 时间戳 (毫秒)
day: value => dayjs(value),
// Unix 时间戳 (秒)
date_unix: value => dayjs.unix(value),
// ---------- [ 获取 ] ----------
date_year: Day => P(Day).year(),
date_month: Day => P(Day).month(),
date_date: Day => P(Day).date(),
date_day: Day => P(Day).day(),
date_hour: Day => P(Day).hour(),
date_minute: Day => P(Day).minute(),
date_second: Day => P(Day).second(),
date_millisecond: Day => P(Day).millisecond(),
// ---------- [ 设置 ] ----------
// date | day | month | year | hour | minute | second | millisecond
// 对大小写不敏感
date_set: (Day, unit, value) => P(Day).set(unit, value),
// ---------- [ 操作 ] ----------
// 增加
date_add: (Day, value, unit) => P(Day).add(value, unit),
// 减少
date_subtract: (Day, value, unit) => P(Day).subtract(value, unit),
// 开头时间
date_startof: (Day, unit) => P(Day).startOf(unit),
// 末尾时间
date_endof: (Day, unit) => P(Day).endOf(unit),
// ---------- [ 显示 ] ----------
// 格式化
date_format: (Day, setting = 'YYYY-MM-DD HH:mm:ss') => P(Day).format(setting),
// 时间差
date_diff: (Day, Day2 = '', unit = 'millisecond', accurate = false) => P(Day).diff(dayjs(Day2), unit, accurate),
// Unix 时间戳 (毫秒)
date_value_millisecond: Day => P(Day).valueOf(),
// Unix 时间戳 (秒)
date_value_second: Day => P(Day).unix(),
// 月份的天数
date_days_in_month: Day => P(Day).daysInMonth(),
// Date 对象
date_to_date: Day => P(Day).toDate(),
// JSON
date_to_json: Day => P(Day).toJSON(),
// ISO8601 格式
date_to_iso: Day => P(Day).toISOString(),
// 字符
date_to_string: Day => P(Day).toString(),
// ---------- [ 查询 ] ----------
// 是否之前
date_is_before: (Day, Day2, unit = 'millisecond') => P(Day).isBefore(dayjs(Day2), unit),
// 是否之后
date_is_after: (Day, Day2, unit = 'millisecond') => P(Day).isAfter(dayjs(Day2), unit),
// 是否相同
date_is_same: (Day, Day2, unit = 'millisecond') => P(Day).isSame(dayjs(Day2), unit)
}
import filters from './filters'
const vueFiltersDate = {
install: function (Vue, options) {
Object.keys(filters).forEach(name => {
Vue.filter(name, filters[name])
})
}
}
if (typeof window !== 'undefined' && window.Vue) {
window.Vue.use(vueFiltersDate)
}
export default vueFiltersDate
此差异已折叠。
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32" fill="white">
<path opacity=".25" d="M16 0 A16 16 0 0 0 16 32 A16 16 0 0 0 16 0 M16 4 A12 12 0 0 1 16 28 A12 12 0 0 1 16 4"/>
<path d="M16 0 A16 16 0 0 1 32 16 L28 16 A12 12 0 0 0 16 4z">
<animateTransform attributeName="transform" type="rotate" from="0 16 16" to="360 16 16" dur="0.8s" repeatCount="indefinite" />
</path>
</svg>
\ No newline at end of file
<!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 %>icon.ico">
<title><%= VUE_APP_TITLE %></title>
<style>
html, body, #app { height: 100%; margin: 0px; padding: 0px; }
.d2-home { background-color: #303133; height: 100%; display: flex; flex-direction: column; }
.d2-home__main { user-select: none; width: 100%; flex-grow: 1; display: flex; justify-content: center; align-items: center; flex-direction: column; }
.d2-home__footer { width: 100%; flex-grow: 0; text-align: center; padding: 1em 0; }
.d2-home__footer > a { font-size: 12px; color: #ABABAB; text-decoration: none; }
.d2-home__loading { height: 32px; width: 32px; margin-bottom: 20px; }
.d2-home__title { color: #FFF; font-size: 14px; margin-bottom: 10px; }
.d2-home__sub-title { color: #ABABAB; font-size: 12px; }
</style>
<script>
var _hmt = _hmt || [];
var hmid = "1dfa88d0c8571eef2d383070cb3e5ca1";
(function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?" + hmid; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s);})();
</script>
</head>
<body>
<noscript>
<strong>
很抱歉,如果没有 JavaScript 支持,D2Admin 将不能正常工作。请启用浏览器的 JavaScript 然后继续。
</strong>
</noscript>
<div id="app">
<div class="d2-home">
<div class="d2-home__main">
<img
class="d2-home__loading"
src="./image/loading/loading-spin.svg"
alt="loading">
<div class="d2-home__title">
正在加载资源
</div>
<div class="d2-home__sub-title">
初次加载资源可能需要较多时间 请耐心等待
</div>
</div>
<div class="d2-home__footer">
<a
href="https://github.com/d2-projects/d2-admin"
target="_blank">
https://github.com/d2-projects/d2-admin
</a>
</div>
</div>
</div>
</body>
</html>
{
"src_dir" : "/home/travis/build/d2-projects/d2-admin-start-kit/dist",
"bucket" : "d2-admin-start-kit",
"ignore_dir" : false,
"overwrite" : true,
"check_exists" : true,
"check_hash" : true,
"check_size" : true,
"rescan_local" : true,
"skip_file_prefixes" : "test,demo,",
"skip_path_prefixes" : "hello/,temp/",
"skip_fixed_strings" : ".svn,.git",
"skip_suffixes" : ".DS_Store,.exe",
"log_file" : "upload.log",
"log_level" : "info",
"log_rotate" : 1,
"log_stdout" : false
}
\ No newline at end of file
文件已添加
<template>
<div id="app">
<router-view/>
</div>
</template>
<script>
import {GetMenu} from './api/sys/login'
import util from './libs/util'
export default {
name: 'app',
/* mounted () {
const TOKENID = util.cookies.get('TOKENID')
if (TOKENID && TOKENID !== 'undefined') {
GetMenu().then(res=>{
let menu = JSON.parse(res.msgDat)
menu.unshift({
path: '/index',
title: '首页',
icon: 'home'
})
this.$store.commit('d2admin/menu/asideSet', menu)
this.$store.commit('d2admin/search/init', menu)
})
}
} */
}
</script>
<style lang="scss">
@import '~@/assets/style/public-class.scss';
</style>
import request from '@/plugin/axios'
//查询列表
export function getHolidayRegisterList (data) {
return request({
url: '/doorHoliday/getDoorHolidayByPage',
method: 'post',
data
})
}
// 新增修改
export function saveOrUpdateHolidayRegister (data) {
return request({
url: '/doorHoliday/saveOrUpdHoliday',
method: 'post',
data
})
}
// 编辑回显
export function getHolidayRegisterById (data) {
return request({
url: '/doorHoliday/getDoorHolidayById',
method: 'post',
data
})
}
// 删除
export function onDeleteHolidayRegister (data) {
return request({
url: '/doorHoliday/deleteDoorHolidayById',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
//查询列表
export function getInlineCheckList (data) {
return request({
url: '/doorOpenChk/getDoorOpenChk',
method: 'post',
data
})
}
// 编辑回显
export function getInlineCheckById (data) {
return request({
url: '/doorOpenChk/getDoorUpdate',
method: 'post',
data
})
}
// 申请开门
export function saveApplyDoor (data) {
return request({
url: '/doorOpenChk/applyDoor',
method: 'post',
data
})
}
// 审核开门
export function saveChktorDoor (data) {
return request({
url: '/doorOpenChk/chktorDoor',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
//查询列表
export function getOpenDoorList (data) {
return request({
url: '/docaOpen/getDoorDocaOpenByPage',
method: 'post',
data
})
}
// 新增修改
export function saveOrUpdateOpenDoor (data) {
return request({
url: '/docaOpen/saveOrUpdCocaOpen',
method: 'post',
data
})
}
// 编辑回显
export function getOpenDoorById (data) {
return request({
url: '/docaOpen/getDoorDocaOpenById',
method: 'post',
data
})
}
// 删除
export function onDeleteOpenDoor (data) {
return request({
url: '/docaOpen/deleteDoorDocaOpenById',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
//查询列表
export function EquipmentDoorTree (data) {
return request({
url: '/tree/getEquipmentFixNodeTree',
method: 'post',
data
})
}
// 编辑回显
export function getPassword (data) {
return request({
url: '/doorPwd/getDoorPwdUpdate',
method: 'post',
data
})
}
// 修改保存
export function saveOrUpdatePassword (data) {
return request({
url: '/doorPwd/insertUpdateDoorPwd',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
//查询列表
export function getThroughRecordList (data) {
return request({
url: '/doorEvent/getAccessRecords',
method: 'post',
data
})
}
// 新增修改
// export function saveOrUpdateHolidayRegister (data) {
// return request({
// url: '/doorHoliday/saveOrUpdHoliday',
// method: 'post',
// data
// })
// }
// 编辑回显
// export function getHolidayRegisterById (data) {
// return request({
// url: '/doorHoliday/getDoorHolidayById',
// method: 'post',
// data
// })
// }
// 删除
// export function onDeleteHolidayRegister (data) {
// return request({
// url: '/doorHoliday/deleteDoorHolidayById',
// method: 'post',
// data
// })
// }
\ No newline at end of file
import request from '@/plugin/axios'
//查询列表
export function getThroughTimeList (data) {
return request({
url: '/doorTime/getDoorTimeGroup',
method: 'post',
data
})
}
// 新增修改
export function saveOrUpdateThroughTime (data) {
return request({
url: '/doorTime/insertDoorTimeGroup',
method: 'post',
data
})
}
// 编辑回显
export function getThroughTimeById (data) {
return request({
url: '/doorTime/getDoorTimeUpdate',
method: 'post',
data
})
}
// 删除
export function onDeleteThroughTime (data) {
return request({
url: '/doorTime/deleteDoorTimeGroup',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
//查询列表
export function getWorkPatternList (data) {
return request({
url: '/doorMode/getDoorWorkModeByPage',
method: 'post',
data
})
}
// 新增修改
export function saveOrUpdateWorkPattern (data) {
return request({
url: '/doorMode/saveOrUpdWorkMode',
method: 'post',
data
})
}
// 编辑回显
export function getWorkPatternById (data) {
return request({
url: '/doorMode/getDoorWorkModeById',
method: 'post',
data
})
}
// 删除
export function onDeleteWorkPattern (data) {
return request({
url: '/doorMode/deleteDoorWorkModeById',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
//请假登记
export function getHolidayByPage (data) {
return request({
url: '/hr/getHolidayByPage',
method: 'post',
data
})
}
export function saveOrUpdataHoliday (data) {
return request({
url: '/hr/saveOrUpdataHoliday',
method: 'post',
data
})
}
export function getHolidayById (data) {
return request({
url: '/hr/getHolidayById',
method: 'post',
data
})
}
export function delHolidayById (data) {
return request({
url: '/hr/delHolidayById',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
//考勤班次
export function getLerverByPage (data) {
return request({
url: '/hr/getLerverByPage',
method: 'post',
data
})
}
//考勤班次删除
export function delLerverById (data) {
return request({
url: '/hr/delLerverById',
method: 'post',
data
})
}
//考勤班次新增
export function saveOrUpdataLerver (data) {
return request({
url: '/hr/saveOrUpdataLerver',
method: 'post',
data
})
}
//考勤班次编辑
export function getLerverById (data) {
return request({
url: '/hr/getLerverById',
method: 'post',
data
})
}
//加班新增
export function saveOrUpdataOver (data) {
return request({
url: '/hr/saveOrUpdataOver',
method: 'post',
data
})
}
//加班查询
export function getOverByPage (data) {
return request({
url: '/hr/getOverByPage',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
//补卡登记
export function getCardRegistrByPage (data) {
return request({
url: '/hr/getCardRegistrByPage',
method: 'post',
data
})
}
export function saveCardRegistr (data) {
return request({
url: '/hr/saveCardRegistr',
method: 'post',
data
})
}
export function delCardRegistrById (data) {
return request({
url: '/hr/delCardRegistrById',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
//考勤报表
export function getAttendanceRecordByPage (data) {
return request({
url: '/hr/getAttendanceRecordByPage',
method: 'post',
data
})
}
export function getDayReportByPage (data) {
return request({
url: '/hr/getDayReportByPage',
method: 'post',
data
})
}
export function getDayReportMonthByPage (data) {
return request({
url: '/hr/getDayReportMonthByPage',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
//考勤班次
export function getShiftsList (data) {
return request({
url: '/hr/getShiftsByPage',
method: 'post',
data
})
}
//考勤班次删除
export function delShiftsById (data) {
return request({
url: '/hr/delShiftsById',
method: 'post',
data
})
}
//考勤班次新增
export function saveOrUpdataShifts (data) {
return request({
url: '/hr/saveOrUpdataShifts',
method: 'post',
data
})
}
//考勤班次编辑
export function getShiftsById (data) {
return request({
url: '/hr/getShiftsById',
method: 'post',
data
})
}
//判断考勤班次编号是否存在
export function findShiftsByCode (data) {
return request({
url: '/hr/findShiftsByCode',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
//考勤模式
export function getRulesByPage (data) {
return request({
url: '/hr/getRulesByPage',
method: 'post',
data
})
}
export function saveOrUpdataRules (data) {
return request({
url: '/hr/saveOrUpdataRules',
method: 'post',
data
})
}
export function getRulesById (data) {
return request({
url: '/hr/getRulesById',
method: 'post',
data
})
}
export function delRulesById (data) {
return request({
url: '/hr/delRulesById',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
//考勤模式
export function getWorkModeList (data) {
return request({
url: '/eq/getEquipmentWorkModeByPage',
method: 'post',
data
})
}
export function saveWorkMode (data) {
return request({
url: '/eq/saveWorkMode',
method: 'post',
data
})
}
export function getWorkModeListById (data) {
return request({
url: '/eq/getEquipmentWorkModeById',
method: 'post',
data
})
}
export function TreeNode (data) {
return request({
url: '/district/getDistrictTree',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
// 地区编码管理查询列表
export function getAreaCodeList (data) {
return request({
url: '/card/getCardAreaConfigByPage',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
// 成本管理查询列表
export function getCostList (data) {
return request({
url: '/card/getCardCostByPage',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
// 查询卡种列表
export function getKindCardList (data) {
return request({
url: '/card/getCardTypByPage',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
// 查询卡种列表
export function getRechargeList (data) {
return request({
url: '/mchargerecords/getMchargeRecordsByPage',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
// 查询卡功能列表
export function getFuncList (data) {
return request({
url: '/card/getCardPurByPage',
method: 'post',
data
})
}
// 新增修改功能
export function saveOrUpdateFunc (data) {
return request({
url: '/card/saveOrUpdataCardPur',
method: 'post',
data
})
}
export function treeNode (data) {
return request({
url: '/tree/getOriginTrees',
method: 'post',
data
})
}
// 查询所有卡功能
export function getAllFunc (data) {
return request({
url: '/card/getCardPur',
method: 'post',
data
})
}
// 根据id返回数据
export function getFuncById (data) {
return request({
url: '/card/getCardPurById',
method: 'post',
data
})
}
// 删除
export function onDeleteClick (data) {
return request({
url: '/card/delCardPurById',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
// 卡户管理管理查询列表
export function getUserList (data) {
return request({
url: '/card/getCardInfoByPage',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
//企业组接口
export function EnterpriseList(data) {
return request({
url: '/consumenterprise/getEnterprise',
method: 'post',
data
})
}
export function EnterpriseSave(data) {
return request({
url: '/consumenterprise/insertUpdateEnterprise',
method: 'post',
data
})
}
export function EnterpriseDelete(data) {
return request({
url: '/consumenterprise/deleteMerchant',
method: 'post',
data
})
}
export function EquipmentTree(data) {
return request({
url: '/tree/getEquipmentTrees',
method: 'post',
data
})
}
export function OrgTree(data) {
return request({
url: '/consumenterprise/getOrigin',
method: 'post',
data
})
}
import request from '@/plugin/axios'
// 餐别管理
export function getCostList (data) {
return request({
url: '/meal/getMeal',
method: 'post',
data
})
}
export function updateMeal (data) {
return request({
url: '/meal/updateMeal',
method: 'post',
data
})
}
export function getUpdate (data) {
return request({
url: '/meal/getUpdate',
method: 'post',
data
})
}
//个人账户余额查询
export function getBalance (data) {
return request({
url: '/consumDetail/getBalance',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
//区域管理
//渠道方树查询
export function TreeNode (data) {
return request({
url: '/tree/getMerchantTree',
method: 'post',
data
})
}
//查询列表
export function getMerchantList (data) {
return request({
url: '/merchant/getMerchant',
method: 'post',
data
})
}
//新增
export function saveOrUpdataList (data) {
return request({
url: '/merchant/insertUpdateMerchant',
method: 'post',
data
})
}
//编辑回显
export function getList (data) {
return request({
url: '/merchant/getUpdate',
method: 'post',
data
})
}
//删除
export function deleteList (data) {
return request({
url: '/merchant/deleteMerchant',
method: 'post',
data
})
}
import request from '@/plugin/axios'
//消费各种统计
//商户消费统计
export function consumStatisticsPage (data) {
return request({
url: '/consumDetail/getConsumStatistics',
method: 'post',
data
})
}
//个人消费统计
export function personalConsumStatisticsPage (data) {
return request({
url: '/consumDetail/getPersonalConsumStatistics',
method: 'post',
data
})
}
//充值统计
export function getMchargeRecords (data) {
return request({
url: '/mchargerecords/getMchargeRecords',
method: 'post',
data
})
}
//充值记录
export function getRechargeRecord (data) {
return request({
url: '/mchargerecords/getRechargeRecord',
method: 'post',
data
})
}
//消费记录
export function getConsumptionRecord (data) {
return request({
url: '/consumDetail/getConsumptionRecord',
method: 'post',
data
})
}
//商户树
export function TreeNodeMt (data) {
return request({
url: '/tree/getMerchantTree',
method: 'post',
data
})
}
//补贴发放统计
export function getSubsidiesStatistics (data) {
return request({
url: '/subsidies/getSubsidiesStatistics',
method: 'post',
data
})
}
import request from '@/plugin/axios'
//区域管理
//渠道方树查询
export function TreeNode (data) {
return request({
url: '/tree/getUsersTrees',
method: 'post',
data
})
}
//查询列表
export function getSubsidies (data) {
return request({
url: '/subsidies/getSubsidies',
method: 'post',
data
})
}
//新增
export function saveOrUpdataList (data) {
return request({
url: '/subsidies/insertUpdateSubsidies',
method: 'post',
data
})
}
//编辑回显
export function getList (data) {
return request({
url: '/subsidies/getUpdate',
method: 'post',
data
})
}
//删除
export function deleteList (data) {
return request({
url: '/subsidies/deleteSubsidies',
method: 'post',
data
})
}
//补贴机设备查询
export function getEquipment (data) {
return request({
url: '/tree/getEquipmentTrees',
method: 'post',
data
})
}
// 审核
export function SubsidyAuditCheck (data) {
return request({
url: '/subsidies/updateAudit',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
// 列表展示
export function getBlockMessageList (data) {
return request({
url: '/buildingManage/listByPage',
method: 'post',
data
})
}
// 所属校区下拉框
export function getBelongsOptions (data) {
return request({
url: '/dormitoryComm/campus',
method: 'post',
data
})
}
// 新增修改
export function saveOrUpBlockData (data) {
return request({
url: '/buildingManage/addOrUpdate',
method: 'post',
data
})
}
// 编辑回显
export function getBlockMessageById (data) {
return request({
url: '/buildingManage/get',
method: 'post',
data
})
}
// 删除delBlockById
export function delBlockById (data) {
return request({
url: '/buildingManage/delete',
method: 'post',
data
})
}
import request from '@/plugin/axios'
// 房间树
export function RoomTreeNodeAll (data) {
return request({
url: '/dormitoryComm/roomTree',
method: 'post',
data
})
}
// 列表展示
export function getRoomMessageList (data) {
return request({
url: '/roomManage/listByPage',
method: 'post',
data
})
}
// 所属楼栋下拉框
export function getTowerOptions (data) {
return request({
url: '/dormitoryComm/building',
method: 'post',
data
})
}
// 修改保存 saveOrUpdataRoom
export function saveOrUpdataRoom (data) {
return request({
url: '/roomManage/addOrUpdate',
method: 'post',
data
})
}
// 编辑回显 roomById
export function roomById (data) {
return request({
url: '/roomManage/get',
method: 'post',
data
})
}
// 删除deleteRoomMess
export function deleteRoomMess (data) {
return request({
url: '/roomManage/batchOrOneDel',
method: 'post',
data
})
}
import request from '@/plugin/axios'
//查询列表
export function getPageList(data) {
return request({
url:'/electric/getElectricBuyRecordByPage',
method:'post',
data
})
}
import request from '@/plugin/axios'
//查询列表
export function getPageList(data) {
return request({
url:'/electric/getElectricInfoByPage',
method:'post',
data
})
}
//新增和修改
export function saveOrUpdataList(data) {
return request({
url: '/electric/saveOrUpdataElectricInfo',
method: 'post',
data
})
}
//删除
export function deleteList(data) {
return request({
url:'/electric/delElectricInfo',
method:'post',
data
})
}
//编辑回显
export function getList(data) {
return request({
url:'/electric/getElectricInfoUpdata',
method:'post',
data
})
}
//购电回显
export function getrecordList(data) {
return request({
url:'/electric/getElectricInfoUpdata',
method:'post',
data
})
}
//购电
export function saveList(data) {
return request({
url:'/electric/saveElectricBuyRecord',
method: 'post',
data
})
}
import request from '@/plugin/axios'
//区域管理
//渠道方树查询
export function treeNode (data) {
return request({
url: '/district/getDistrictTree',
method: 'post',
data
})
}
//查询列表
export function getPageList (data) {
return request({
url: '/district/getDistrict',
method: 'post',
data
})
}
//新增
export function saveOrUpdataList (data) {
return request({
url: '/district/insertUpdateDistrict',
method: 'post',
data
})
}
//编辑回显
export function getList (data) {
return request({
url: '/district/getUpdate',
method: 'post',
data
})
}
//删除
export function deleteList (data) {
return request({
url: '/district/deleteDistrict',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
//区域管理
/* //渠道方树查询
export function treeNode (data) {
return request({
url: '/district/getDistrictTree',
method: 'post',
data
})
} */
//查询列表
export function getPageList (data) {
return request({
url: '/equipment/getEquipment',
method: 'post',
data
})
}
//新增
export function saveOrUpdataList (data) {
return request({
url: '/equipment/insertUpdateEquipment',
method: 'post',
data
})
}
//编辑回显
export function getList (data) {
return request({
url: '/equipment/getUpdate',
method: 'post',
data
})
}
//删除
export function deleteList (data) {
return request({
url: '/equipment/deleteEquipment',
method: 'post',
data
})
}
//设备联机查询
export function getOnLineList (data) {
return request({
url: '/equipment/getOnLineEquipment',
method: 'post',
data
})
}
//设备报文查询
export function getMessageList (data) {
return request({
url: '/equipment/getEquipmentMessage',
method: 'post',
data
})
}
\ No newline at end of file
import request from '@/plugin/axios'
export function faceTreeNode (data) {
return request({
url: '/tree/getFaceTrees',
method: 'post',
data
})
}
//编辑回显--
export function getFaceReaderById (data) {
return request({
url: '/face/getFaceReaderById',
method: 'post',
data
})
}
//区域树--
export function TreeNodeMt (data) {
return request({
url: '/tree/getEquipmentFixTrees',
method: 'post',
data
})
}
// 创建链接
export function saveOrUpdataConnect (data) {
return request({
url: '/face/getCreateConnection',
method: 'post',
data
})
}
//新增,编辑--
export function saveOrUpdataFaceReader (data) {
return request({
url: '/face/saveOrUpdataFaceReader',
method: 'post',
data
})
}
//批量删除--
export function deleteFaceList (data) {
return request({
url: '/face/delFaceReaderById',
method: 'post',
data
})
}
//查询列表--
export function getFaceReaderList (data) {
return request({
url: '/face/getFaceReaderByPage',
method: 'post',
data
})
}
// 同步tongbuDevice
export function tongbuDevice (data) {
return request({
url: '/face/getReaderSync',
method: 'post',
data
})
}
// 修改配置回显
export function getRowSetting (data) {
return request({
url: '/face/getFaceConfigById',
method: 'post',
data
})
}
// 修改配置保存
export function saveOrUpdataSetting (data) {
return request({
url: '/face/saveUpdataFaceConfig',
method: 'post',
data
})
}
import request from '@/plugin/axios'
export function getFaceManageList (data) {
return request({
url: '/face/getFaceUserByPage',
method: 'post',
data
})
}
export function getPaIdOption (data) {
return request({
url: '/face/getFacePassageAccessByList',
method: 'post',
data
})
}
// 导入图片
export function uploadFaceImg (data) {
return request({
url: '/image/img',
method: 'post',
data
})
}
// 批量导入
export function uploadImagess (data) {
return request({
url: '/image/unZip',
method: 'post',
data
})
}
// 编辑回显
export function getCreateFaceMessage (data) {
return request({
url: '/face/getFaceUserById',
method: 'post',
data
})
}
// 新增保存
export function saveOrUpdataFaceImage (data) {
return request({
url: '/face/saveOrUpdataFaceUser',
method: 'post',
data
})
}
// 删除
export function deleteFaceMess (data) {
return request({
url: '/face/delFaceUserById',
method: 'post',
data
})
}
import request from '@/plugin/axios'
export function getInquiryList (data) {
return request({
url: '/face/getFaceLogByPage',
method: 'post',
data
})
}
export function TreeNodeEqui (data) {
return request({
url: '/tree/getEquipmentFixTrees',
method: 'post',
data
})
}
import request from '@/plugin/axios'
export function getFaceRecordList (data) {
return request({
url: '/face/findFaceRecordByPage',
method: 'post',
data
})
}
export function treeNodeAll (data) {
return request({
url: '/tree/getOriginTrees',
method: 'post',
data
})
}
import request from '@/plugin/axios'
export function getSetInterFace (data) {
return request({
url: '/face/getFaceBeforeById',
method: 'post',
data
})
}
export function SaveSetInterFace (data) {
return request({
url: '/face/saveOrUpdataFaceBefore',
method: 'post',
data
})
}
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册