提交 4f3ff430 编写于 作者: ibizdev's avatar ibizdev

ibizdev提交

上级

要显示的变更太多。

为了保持性能,仅显示文件中的 1000/1000+

*target
.settings
*node_modules
*bin
*.project
*.classpath
*.factorypath
.history
.vscode
.idea
**.iml
*.jar
*.log
devsys
\ No newline at end of file
# 系统概览
MIT License
Copyright (c) 2020 千反田丷
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.
# VUE_R7
#### Description
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
\ No newline at end of file
## 前言
### 1. 简介
该web应用是基于iBiz平台提供的一套PC端前端解决方案Vue_R7【**一套基于Vue全家桶(Vue + Vue-router + Vuex)的前端框架**】生产而成,Vue_R7不仅适用于管理后台或管理系统开发,且广泛适用于B/S架构的项目开发。本文档主要介绍项目如何快速上手,成果物代码结构做一阐述,旨在能够为开发人员提供一定开发指导支持。而今框架开源,希望能有更多志同道合的伙伴参与Vue_R7的迭代 ^_^
### 2. 开发环境要求
- Node.js
- Yarn
- Vue Cli
### 3. 开发技术要求
掌握`Vue``TypeScript``less``html`等技术。
### 4. 技术栈
- 前端MVVM框架:vue.js 2.6.10
- 路由:vue-router 3.1.3
- 状态管理:vue-router 3.1.3
- 国际化:vue-i18n 8.15.3
- 数据交互:axios 0.19.1
- UI框架:element-ui 2.13.0, view-design 4.1.0
- 工具库:qs, path-to-regexp, rxjs
- 图标库:font-awesome 4.7.0
- 引入组件: tinymce 4.8.5
- 代码风格检测:eslint
## 快速上手
### 1. 开发环境
> 在安装使用 `Yarn` 和 `Vue Cli (3.0)` 前,务必确认 [Node.js](https://nodejs.org) 已经升级到 v4.8.0 或以上,强烈建议升级至最新版本。
> 如果你想了解更多 `Yarn` 工具链的功能和命令,建议访问 [Yarn](https://yarnpkg.com) 了解更多。
> 如果你想了解更多 `Vue Cli (3.0)` 工具链的功能和命令,建议访问 [Vue Cli (3.0)](https://cli.vuejs.org/) 了解更多。
- 访问 [Node.js](https://nodejs.org) ,根据文档安装 `Node.js`
- 访问 [Yarn](https://yarnpkg.com) ,根据文档安装 `Yarn`
- 访问 [Vue Cli (3.0)](https://cli.vuejs.org/) ,根据文档安装 `Vue Cli (3.0)`
<blockquote style="border-color: red;"><p>在安装 Vue Cli (3.0) ,请使用 Yarn 模式全局安装。</p></blockquote>
```bash
$ yarn global add @vue/cli
```
以下为 Windows 环境开发正常配置
<br>
<br>
![开发环境信息](./imgs/getting-started/development.png)
### 2. 安装依赖
打开前端项目,进入工作空间下,执行安装依赖命令
```bash
$ yarn install
```
### 3. 启动
在工作空间下,执行启动命令
```bash
$ yarn dev-serve
```
启动后,通过 vue.config.js 开发服务 devServer 下配置的本地启动端口号访问开发项目。<br>
示例:
```bash
$ http://localhost:8111
```
这儿需要注意一点,此时启动的项目访问的数据是我们前端的mock数据,如需与后台直接交互,请看第4点。
### 4. 远程代理
在工作空间下,执行启动命令
```bash
$ yarn serve
```
修改远程代理文件 vue.config.js 代理地址
![远程代理地址](./imgs/getting-started/proxy.png)
### 5. 打包
在工作空间下,执行打包命令
```bash
$ yarn build
```
打包完成,生成最终交付产物。
## 成果物结构
```
|─ ─ app_EHRPcm
​ |─ ─ public public文件夹
​ |─ ─ assets 静态文件夹
|─ ─ favicon.ico 图标
​ |─ ─ src 工程文件夹
|─ ─ assets 静态资源
|─ ─ components 基础组件,主要包含编辑器组件和其他全局使用的组件
|─ ─ engine 引擎文件,主要封装了内置视图的内置逻辑
|─ ─ environments 环境文件
​ |─ ─ interface 接口文件
​ |─ ─ locale 多语言文件
|─ ─ mock 模拟数据
|─ ─ pages 视图文件夹
|─ ─ module 模块名称
​ |─ ─ XXX-view 视图文件夹
|─ ─ XXX-view-base.vue 视图基类
|─ ─ XXX-view.vue 自定义视图文件
|─ ─ XXX-view.less 自定义视图样式文件
​ |─ ─ main.ts 应用主函数入口
​ |─ ─ page-register.ts 全局视图注册
​ |─ ─ router.ts 路由配置文件
|─ ─ service 应用实体数据服务文件夹
|─ ─ XXX 应用实体名称
|─ ─ XXX-service-base.ts 应用实体数据服务文件
|─ ─ XXX-service.ts 自定义应用实体数据服务文件
|─ ─ YYY-logic-base.ts 应用实体数据处理逻辑文件
|─ ─ YYY-logic.ts 自定义应用实体数据处理逻辑文件
|─ ─ store 全局状态管理
|─ ─ styles 样式文件夹
|─ ─ default.less 默认样式
|─ ─ user.less 用户自定义样式
|─ ─ theme 主题文件夹
|─ ─ uiservice 界面服务文件
|─ ─ XXX 应用实体名称
|─ ─ XXX-ui-service-base.ts 应用实体界面服务文件
|─ ─ XXX-ui-service.ts 自定义应用实体界面服务文件
|─ ─ YYY-ui-logic-base.ts 应用实体界面处理逻辑文件
|─ ─ YYY-ui-logic.ts 自定义应用实体界面处理逻辑文件
|─ ─ utils 工具类文件
|─ ─ widgets 部件文件夹
|─ ─ appde 应用实体名称
​ |─ ─ XXX 部件名称
|─ ─ XXX-base.vue 视图基类
|─ ─ XXX.vue 自定义部件文件
|─ ─ XXX.less 部件样式文件
​ |─ ─ XXX.model.ts 部件model文件
​ |─ ─ XXX.service.ts 部件服务文件
|─ ─ app-register.ts 公共组件全局注册
​ |─ ─ App.vue 入口组件
​ |─ ─ user-register.ts 自定义组件全局注册
​|─ ─ package.json 依赖管理文件
​ |─ ─ vue.config.js vue cli 配置
```
## 如何贡献
如果你希望参与贡献,欢迎 [Pull Request](<http://demo.ibizlab.cn/ibiz_r7/vue_r7/issues/new>),或通过自助服务群给我们报告 Bug。
强烈推荐阅读 [《提问的智慧》](https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way)(本指南不提供此项目的实际支持服务!)[《如何向开源社区提问题》](https://github.com/seajs/seajs/issues/545)[《如何有效地报告 Bug》](https://www.chiark.greenend.org.uk/~sgtatham/bugs-cn.html)[《如何向开源项目提交无法解答的问题》](https://zhuanlan.zhihu.com/p/25795393),更好的问题更容易获得帮助。
## 社区互助
1.[iBizLab论坛](https://bbs.ibizlab.cn/)
2.加入钉钉 Vue_R7自助服务群(中文)
<img src="./imgs/getting-started/vue-r7-group.png" height="400" width="400">
\ No newline at end of file
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
}
{
"pluginsFile": "tests/e2e/plugins/index.js"
}
module.exports = {
preset: '@vue/cli-plugin-unit-jest/presets/typescript-and-babel'
}
{
"name": "app",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "node --max_old_space_size=8102 ./node_modules/@vue/cli-service/bin/vue-cli-service serve --mode test",
"dev-serve": "node --max_old_space_size=8102 ./node_modules/@vue/cli-service/bin/vue-cli-service serve --mode development",
"build": "node --max_old_space_size=8102 ./node_modules/@vue/cli-service/bin/vue-cli-service build",
"dev-build": "node --max_old_space_size=8102 ./node_modules/@vue/cli-service/bin/vue-cli-service build --mode development",
"test:unit": "vue-cli-service test:unit",
"test:e2e": "vue-cli-service test:e2e",
"lint": "vue-cli-service lint"
},
"dependencies": {
"@fullcalendar/core": "^4.4.0",
"@fullcalendar/daygrid": "^4.4.0",
"@fullcalendar/interaction": "^4.4.0",
"@fullcalendar/list": "^4.4.0",
"@fullcalendar/timegrid": "^4.4.0",
"@fullcalendar/vue": "^4.4.0",
"axios": "^0.19.1",
"core-js": "^3.4.4",
"echarts": "^4.6.0",
"element-ui": "^2.13.0",
"file-saver": "^2.0.2",
"font-awesome": "^4.7.0",
"interactjs": "^1.9.4",
"moment": "^2.24.0",
"path-to-regexp": "^6.1.0",
"qs": "^6.9.1",
"rxjs": "^6.5.4",
"tinymce": "4.8.5",
"view-design": "^4.1.0",
"vue": "^2.6.10",
"vue-class-component": "^7.0.2",
"vue-grid-layout": "^2.3.7",
"vue-i18n": "^8.15.3",
"vue-property-decorator": "^8.3.0",
"vue-router": "^3.1.3",
"vuex": "^3.1.2",
"xlsx": "^0.15.6"
},
"devDependencies": {
"@types/echarts": "^4.4.3",
"@types/jest": "^24.0.19",
"@types/mockjs": "^1.0.2",
"@types/qs": "^6.9.0",
"@vue/cli-plugin-babel": "^4.1.0",
"@vue/cli-plugin-e2e-cypress": "^4.1.0",
"@vue/cli-plugin-router": "^4.1.0",
"@vue/cli-plugin-typescript": "^4.1.0",
"@vue/cli-plugin-unit-jest": "^4.1.0",
"@vue/cli-plugin-vuex": "^4.1.0",
"@vue/cli-service": "^4.1.0",
"@vue/test-utils": "1.0.0-beta.29",
"axios-mock-adapter": "^1.17.0",
"less": "^3.0.4",
"less-loader": "^5.0.0",
"mockjs": "^1.1.0",
"script-loader": "^0.7.2",
"typescript": "~3.5.3",
"vue-template-compiler": "^2.6.10"
}
}
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>ehr</artifactId>
<groupId>cn.ibizlab.ehr</groupId>
<version>1.0.0.0</version>
</parent>
<artifactId>ehr-ehrpcm</artifactId>
<name>Ehr EHRPcm</name>
<description>Ehr EHRPcm</description>
<dependencies>
</dependencies>
</project>
此差异已折叠。
{
"ormpostejormorgidpickupview": {
"title": "岗位管理数据选择视图",
"caption": "岗位集",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "ORM",
"viewname": "ORMPOSTEJORMORGIDPickupView",
"viewtag": "09de889eff18f3439d11da7604fda3fb"
},
"pcmworkresumegzllgridview": {
"title": "工作履历(要求:带*必填)",
"caption": "工作履历(要求:带*必填)",
"viewtype": "DEGRIDVIEW",
"viewmodule": "PCM",
"viewname": "PCMWORKRESUMEGZLLGridView",
"viewtag": "0a36bba4db0f174309b0dbcd9fbcdb55"
},
"pimpersontxrypickupview": {
"title": "选择退休人员",
"caption": "人员信息",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "PIM",
"viewname": "PIMPERSONTXRYPickupView",
"viewtag": "0b217f6381763746161a9725cee6cafc"
},
"ormorgypzxxsypickupgridview": {
"title": "组织选择表格视图",
"caption": "组织选择表格视图",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "ORM",
"viewname": "ORMORGYPZXXSYPickupGridView",
"viewtag": "128376d374a95b9d98fb658a9d33dc77"
},
"testresultcpjggridview": {
"title": "测评结果摘要信息(要求:带*必填)",
"caption": "测评结果摘要信息(要求:带*必填)",
"viewtype": "DEGRIDVIEW",
"viewmodule": "PCM",
"viewname": "TestResultCPJGGridView",
"viewtag": "3d7985f2b41ff52bea5ebcf3bacc6169"
},
"pcmprofilexzwizardview": {
"title": "校招应聘者信息录入向导",
"caption": "校招应聘者信息录入向导",
"viewtype": "DEWIZARDVIEW",
"viewmodule": "PCM",
"viewname": "PCMPROFILEXZWizardView",
"viewtag": "4229f6c634e435919e19f0af081f94e7"
},
"pcmprofileypzxx_lrgridview": {
"title": "应聘者信息",
"caption": "应聘者信息",
"viewtype": "DEGRIDVIEW",
"viewmodule": "PCM",
"viewname": "PCMPROFILEYPZXX_LRGridView",
"viewtag": "43659d36205f0188071e2809bae87960"
},
"ormpostejormorgidpickupgridview": {
"title": "岗位选择",
"caption": "岗位选择",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "ORM",
"viewname": "ORMPOSTEJORMORGIDPickupGridView",
"viewtag": "44bf9eda90dffdccfacfac9a8c182e91"
},
"pcmschoolofficezxzwgridview": {
"title": "在校职务(要求:带*必填)",
"caption": "在校职务(要求:带*必填)",
"viewtype": "DEGRIDVIEW",
"viewmodule": "PCM",
"viewname": "PCMSCHOOLOFFICEZXZWGridView",
"viewtag": "56c145537274f073f9b98375809e6010"
},
"pcmcertofregeditview": {
"title": "注册证书编辑视图",
"caption": "注册证书",
"viewtype": "DEEDITVIEW",
"viewmodule": "PCM",
"viewname": "PCMCERTOFREGEditView",
"viewtag": "61ab26467e764252135370d1e6451aed"
},
"ormdutyormorgsectorpickupgridview": {
"title": "职务库",
"caption": "职务库",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "ORM",
"viewname": "ORMDUTYOrmOrgSectorPickupGridView",
"viewtag": "743374253b5e705d698020bf94257a4a"
},
"pimqualmajorpickupview": {
"title": "执业资格专业数据选择视图",
"caption": "执业资格专业",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "PIM",
"viewname": "PIMQUALMAJORPickupView",
"viewtag": "79011b4b8919b94eaf3c825f6acc8102"
},
"index": {
"title": "招聘管理",
"caption": "招聘管理",
"viewtype": "APPINDEXVIEW",
"viewmodule": "PCM",
"viewname": "Index",
"viewtag": "7ABD0219-F56E-46AE-AF96-593BE5751BB9"
},
"pcmprofileypzxx_lreditview": {
"title": "应聘者信息",
"caption": "应聘者信息",
"viewtype": "DEEDITVIEW",
"viewmodule": "PCM",
"viewname": "PCMPROFILEYPZXX_LREditView",
"viewtag": "992ecee21f22b4daf3ecaf7ad516c1e3"
},
"pcmcertofregzczsgridview": {
"title": "注册证书(要求:带*必填)",
"caption": "注册证书(要求:带*必填)",
"viewtype": "DEGRIDVIEW",
"viewmodule": "PCM",
"viewname": "PCMCERTOFREGZCZSGridView",
"viewtag": "a6fe2d0f44d114e686eb214a6dd4b209"
},
"ormdutyormorgsectorpickupview": {
"title": "职务库",
"caption": "职务库",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "ORM",
"viewname": "ORMDUTYOrmOrgSectorPickupView",
"viewtag": "ad50beef4cfa8848053a8e607ed0d7a6"
},
"pimpersontxrypickupgridview": {
"title": "退休人员",
"caption": "人员信息",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "PIM",
"viewname": "PIMPERSONTXRYPickupGridView",
"viewtag": "b147b7948f382bb3a0d15382e3663687"
},
"pcmawardswonshjqkgridview": {
"title": "获奖情况(要求:带*必填)",
"caption": "获奖情况(要求:带*必填)",
"viewtype": "DEGRIDVIEW",
"viewmodule": "PCM",
"viewname": "PCMAWARDSWONSHJQKGridView",
"viewtag": "b73b674c74676f40d1c9a1663b14d6ab"
},
"pcmpracticeexperiencesxjygridview": {
"title": "实习信息(要求:带*必填)",
"caption": "实习信息(要求:带*必填)",
"viewtype": "DEGRIDVIEW",
"viewmodule": "PCM",
"viewname": "PCMPRACTICEEXPERIENCESXJYGridView",
"viewtag": "b7850952c7fc5ac38fe2077bbe70485b"
},
"pcmeducationexperiencejybjgridview": {
"title": "教育信息(要求:1.高中以上,2.带*必填,3.大专学位证用毕业证代替)",
"caption": "教育信息(要求:1.高中以上,2.带*必填,3.大专学位证用毕业证代替)",
"viewtype": "DEGRIDVIEW",
"viewmodule": "PCM",
"viewname": "PCMEducationExperienceJYBJGridView",
"viewtag": "c1296113c6baff077df6b1f1b1711266"
},
"ormorgypzsyfpxxpickupview": {
"title": "组织数据选择视图",
"caption": "组织数据选择视图",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "ORM",
"viewname": "ORMORGYPZSYFPXXPickupView",
"viewtag": "d0d1c5e2fea8eb48ebcb507b6126df20"
},
"ormorgsectorydbmpickupgridview": {
"title": "部门选择",
"caption": "部门选择",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "ORM",
"viewname": "ORMORGSECTORYDBMPickupGridView",
"viewtag": "ebd5595f0455c8bbeefdf665db2d754b"
},
"pimqualmajorpickupgridview": {
"title": "执业资格专业选择表格视图",
"caption": "执业资格专业",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "PIM",
"viewname": "PIMQUALMAJORPickupGridView",
"viewtag": "fe2c9423e322f159b6b437009463be03"
},
"tdzwxxtdzwgridview": {
"title": "投递职位摘要信息(要求:带*必填)",
"caption": "投递职位摘要信息(要求:带*必填)",
"viewtype": "DEGRIDVIEW",
"viewmodule": "PCM",
"viewname": "TDZWXXTDZWGridView",
"viewtag": "feefa68dff81c415ed3f7dfa3ffcc084"
},
"ormorgsectorydbmpickupview": {
"title": "部门选择",
"caption": "部门选择",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "ORM",
"viewname": "ORMORGSECTORYDBMPickupView",
"viewtag": "fff47154e7d5fc117b240c1141c142f4"
}
}
.loader {
position: relative;
width: 12.5em;
height: 12.5em;
transform: rotate(165deg);
}
.loader:before, .loader:after {
content: '';
position: absolute;
top: 50%;
left: 50%;
display: block;
width: 2.5em;
height: 2.5em;
border-radius: 1.25em;
transform: translate(-50%, -50%);
}
.loader:before {
animation: before 2s infinite;
}
.loader:after {
animation: after 2s infinite;
}
@keyframes before {
0% {
width: 2.5em;
box-shadow: 5em -2.5em rgba(88, 163, 243, 0.75), -5em 2.5em rgba(153, 202, 255, 0.75);
}
35% {
width: 12.5em;
box-shadow: 0 -2.5em rgba(88, 163, 243, 0.75), 0 2.5em rgba(153, 202, 255, 0.75);
}
70% {
width: 2.5em;
box-shadow: -5em -2.5em rgba(88, 163, 243, 0.75), 5em 2.5em rgba(153, 202, 255, 0.75);
}
100% {
box-shadow: 5em -2.5em rgba(88, 163, 243, 0.75), -5em 2.5em rgba(153, 202, 255, 0.75);
}
}
@keyframes after {
0% {
height: 2.5em;
box-shadow: 2.5em 5em rgba(224, 224, 224, 0.75), -2.5em -5em rgba(198, 200, 210, 0.75);
}
35% {
height: 12.5em;
box-shadow: 2.5em 0 rgba(224, 224, 224, 0.75), -2.5em 0 rgba(198, 200, 210, 0.75);
}
70% {
height: 2.5em;
box-shadow: 2.5em -5em rgba(224, 224, 224, 0.75), -2.5em 5em rgba(198, 200, 210, 0.75);
}
100% {
box-shadow: 2.5em 5em rgba(224, 224, 224, 0.75), -2.5em -5em rgba(198, 200, 210, 0.75);
}
}
/** * Attempt to center the whole thing! */
html, body {
height: 100%;
}
.loader {
position: absolute;
top: calc(50% - 6.25em);
left: calc(50% - 6.25em);
}
tinymce.addI18n('en_GB',{
"Cut": "Cut",
"Heading 5": "Heading 5",
"Header 2": "Header 2",
"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.",
"Heading 4": "Heading 4",
"Div": "Div",
"Heading 2": "Heading 2",
"Paste": "Paste",
"Close": "Close",
"Font Family": "Font Family",
"Pre": "Pre",
"Align right": "Align right",
"New document": "New document",
"Blockquote": "Blockquote",
"Numbered list": "Numbered list",
"Heading 1": "Heading 1",
"Headings": "Headings",
"Increase indent": "Increase indent",
"Formats": "Formats",
"Headers": "Headers",
"Select all": "Select all",
"Header 3": "Header 3",
"Blocks": "Blocks",
"Undo": "Undo",
"Strikethrough": "Strike-through",
"Bullet list": "Bullet list",
"Header 1": "Header 1",
"Superscript": "Superscript",
"Clear formatting": "Clear formatting",
"Font Sizes": "Font Sizes",
"Subscript": "Subscript",
"Header 6": "Header 6",
"Redo": "Redo",
"Paragraph": "Paragraph",
"Ok": "Ok",
"Bold": "Bold",
"Code": "Code",
"Italic": "Italic",
"Align center": "Align centre",
"Header 5": "Header 5",
"Heading 6": "Heading 6",
"Heading 3": "Heading 3",
"Decrease indent": "Decrease indent",
"Header 4": "Header 4",
"Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.": "Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.",
"Underline": "Underline",
"Cancel": "Cancel",
"Justify": "Justify",
"Inline": "Inline",
"Copy": "Copy",
"Align left": "Align left",
"Visual aids": "Visual aids",
"Lower Greek": "Lower Greek",
"Square": "Square",
"Default": "Default",
"Lower Alpha": "Lower Alpha",
"Circle": "Circle",
"Disc": "Disc",
"Upper Alpha": "Upper Alpha",
"Upper Roman": "Upper Roman",
"Lower Roman": "Lower Roman",
"Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.": "ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.",
"Name": "Name",
"Anchor": "Anchor",
"Id": "ID",
"You have unsaved changes are you sure you want to navigate away?": "You have unsaved changes are you sure you want to navigate away?",
"Restore last draft": "Restore last draft",
"Special character": "Special character",
"Source code": "Source code",
"Language": "Language",
"Insert\/Edit code sample": "Insert\/Edit code sample",
"B": "B",
"R": "R",
"G": "G",
"Color": "Colour",
"Right to left": "Right to left",
"Left to right": "Left to right",
"Emoticons": "Emoticons",
"Robots": "Robots",
"Document properties": "Document properties",
"Title": "Title",
"Keywords": "Keywords",
"Encoding": "Encoding",
"Description": "Description",
"Author": "Author",
"Fullscreen": "Full-screen",
"Horizontal line": "Horizontal line",
"Horizontal space": "Horizontal space",
"Insert\/edit image": "Insert\/edit image",
"General": "General",
"Advanced": "Advanced",
"Source": "Source",
"Border": "Border",
"Constrain proportions": "Constrain proportions",
"Vertical space": "Vertical space",
"Image description": "Image description",
"Style": "Style",
"Dimensions": "Dimensions",
"Insert image": "Insert image",
"Image": "Image",
"Zoom in": "Zoom in",
"Contrast": "Contrast",
"Back": "Back",
"Gamma": "Gamma",
"Flip horizontally": "Flip horizontally",
"Resize": "Resize",
"Sharpen": "Sharpen",
"Zoom out": "Zoom out",
"Image options": "Image options",
"Apply": "Apply",
"Brightness": "Brightness",
"Rotate clockwise": "Rotate clockwise",
"Rotate counterclockwise": "Rotate counterclockwise",
"Edit image": "Edit image",
"Color levels": "Colour levels",
"Crop": "Crop",
"Orientation": "Orientation",
"Flip vertically": "Flip vertically",
"Invert": "Invert",
"Date\/time": "Date\/time",
"Insert date\/time": "Insert date\/time",
"Remove link": "Remove link",
"Url": "URL",
"Text to display": "Text to display",
"Anchors": "Anchors",
"Insert link": "Insert link",
"Link": "Link",
"New window": "New window",
"None": "None",
"The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?": "The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?",
"Paste or type a link": "Paste or type a link",
"Target": "Target",
"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?": "The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",
"Insert\/edit link": "Insert\/edit link",
"Insert\/edit video": "Insert\/edit video",
"Media": "Media",
"Alternative source": "Alternative source",
"Paste your embed code below:": "Paste your embed code below:",
"Insert video": "Insert video",
"Poster": "Poster",
"Insert\/edit media": "Insert\/edit media",
"Embed": "Embed",
"Nonbreaking space": "Non-breaking space",
"Page break": "Page break",
"Paste as text": "Paste as text",
"Preview": "Preview",
"Print": "Print",
"Save": "Save",
"Could not find the specified string.": "Could not find the specified string.",
"Replace": "Replace",
"Next": "Next",
"Whole words": "Whole words",
"Find and replace": "Find and replace",
"Replace with": "Replace with",
"Find": "Find",
"Replace all": "Replace all",
"Match case": "Match case",
"Prev": "Prev",
"Spellcheck": "Spell-check",
"Finish": "Finish",
"Ignore all": "Ignore all",
"Ignore": "Ignore",
"Add to Dictionary": "Add to Dictionary",
"Insert row before": "Insert row before",
"Rows": "Rows",
"Height": "Height",
"Paste row after": "Paste row after",
"Alignment": "Alignment",
"Border color": "Border colour",
"Column group": "Column group",
"Row": "Row",
"Insert column before": "Insert column before",
"Split cell": "Split cell",
"Cell padding": "Cell padding",
"Cell spacing": "Cell spacing",
"Row type": "Row type",
"Insert table": "Insert table",
"Body": "Body",
"Caption": "Caption",
"Footer": "Footer",
"Delete row": "Delete row",
"Paste row before": "Paste row before",
"Scope": "Scope",
"Delete table": "Delete table",
"H Align": "H Align",
"Top": "Top",
"Header cell": "Header cell",
"Column": "Column",
"Row group": "Row group",
"Cell": "Cell",
"Middle": "Middle",
"Cell type": "Cell type",
"Copy row": "Copy row",
"Row properties": "Row properties",
"Table properties": "Table properties",
"Bottom": "Bottom",
"V Align": "V Align",
"Header": "Header",
"Right": "Right",
"Insert column after": "Insert column after",
"Cols": "Cols",
"Insert row after": "Insert row after",
"Width": "Width",
"Cell properties": "Cell properties",
"Left": "Left",
"Cut row": "Cut row",
"Delete column": "Delete column",
"Center": "Centre",
"Merge cells": "Merge cells",
"Insert template": "Insert template",
"Templates": "Templates",
"Background color": "Background colour",
"Custom...": "Custom...",
"Custom color": "Custom colour",
"No color": "No colour",
"Text color": "Text colour",
"Table of Contents": "Table of Contents",
"Show blocks": "Show blocks",
"Show invisible characters": "Show invisible characters",
"Words: {0}": "Words: {0}",
"Insert": "Insert",
"File": "File",
"Edit": "Edit",
"Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help": "Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help",
"Tools": "Tools",
"View": "View",
"Table": "Table",
"Format": "Format"
});
\ No newline at end of file
tinymce.addI18n('en_US',{
"Cut": "Cut",
"Heading 5": "Heading 5",
"Header 2": "Header 2",
"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.",
"Heading 4": "Heading 4",
"Div": "Div",
"Heading 2": "Heading 2",
"Paste": "Paste",
"Close": "Close",
"Font Family": "Font Family",
"Pre": "Pre",
"Align right": "Align right",
"New document": "New document",
"Blockquote": "Blockquote",
"Numbered list": "Numbered list",
"Heading 1": "Heading 1",
"Headings": "Headings",
"Increase indent": "Increase indent",
"Formats": "Formats",
"Headers": "Headers",
"Select all": "Select all",
"Header 3": "Header 3",
"Blocks": "Blocks",
"Undo": "Undo",
"Strikethrough": "Strike-through",
"Bullet list": "Bullet list",
"Header 1": "Header 1",
"Superscript": "Superscript",
"Clear formatting": "Clear formatting",
"Font Sizes": "Font Sizes",
"Subscript": "Subscript",
"Header 6": "Header 6",
"Redo": "Redo",
"Paragraph": "Paragraph",
"Ok": "Ok",
"Bold": "Bold",
"Code": "Code",
"Italic": "Italic",
"Align center": "Align centre",
"Header 5": "Header 5",
"Heading 6": "Heading 6",
"Heading 3": "Heading 3",
"Decrease indent": "Decrease indent",
"Header 4": "Header 4",
"Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.": "Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.",
"Underline": "Underline",
"Cancel": "Cancel",
"Justify": "Justify",
"Inline": "Inline",
"Copy": "Copy",
"Align left": "Align left",
"Visual aids": "Visual aids",
"Lower Greek": "Lower Greek",
"Square": "Square",
"Default": "Default",
"Lower Alpha": "Lower Alpha",
"Circle": "Circle",
"Disc": "Disc",
"Upper Alpha": "Upper Alpha",
"Upper Roman": "Upper Roman",
"Lower Roman": "Lower Roman",
"Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.": "ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.",
"Name": "Name",
"Anchor": "Anchor",
"Id": "ID",
"You have unsaved changes are you sure you want to navigate away?": "You have unsaved changes are you sure you want to navigate away?",
"Restore last draft": "Restore last draft",
"Special character": "Special character",
"Source code": "Source code",
"Language": "Language",
"Insert\/Edit code sample": "Insert\/Edit code sample",
"B": "B",
"R": "R",
"G": "G",
"Color": "Colour",
"Right to left": "Right to left",
"Left to right": "Left to right",
"Emoticons": "Emoticons",
"Robots": "Robots",
"Document properties": "Document properties",
"Title": "Title",
"Keywords": "Keywords",
"Encoding": "Encoding",
"Description": "Description",
"Author": "Author",
"Fullscreen": "Full-screen",
"Horizontal line": "Horizontal line",
"Horizontal space": "Horizontal space",
"Insert\/edit image": "Insert\/edit image",
"General": "General",
"Advanced": "Advanced",
"Source": "Source",
"Border": "Border",
"Constrain proportions": "Constrain proportions",
"Vertical space": "Vertical space",
"Image description": "Image description",
"Style": "Style",
"Dimensions": "Dimensions",
"Insert image": "Insert image",
"Image": "Image",
"Zoom in": "Zoom in",
"Contrast": "Contrast",
"Back": "Back",
"Gamma": "Gamma",
"Flip horizontally": "Flip horizontally",
"Resize": "Resize",
"Sharpen": "Sharpen",
"Zoom out": "Zoom out",
"Image options": "Image options",
"Apply": "Apply",
"Brightness": "Brightness",
"Rotate clockwise": "Rotate clockwise",
"Rotate counterclockwise": "Rotate counterclockwise",
"Edit image": "Edit image",
"Color levels": "Colour levels",
"Crop": "Crop",
"Orientation": "Orientation",
"Flip vertically": "Flip vertically",
"Invert": "Invert",
"Date\/time": "Date\/time",
"Insert date\/time": "Insert date\/time",
"Remove link": "Remove link",
"Url": "URL",
"Text to display": "Text to display",
"Anchors": "Anchors",
"Insert link": "Insert link",
"Link": "Link",
"New window": "New window",
"None": "None",
"The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?": "The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?",
"Paste or type a link": "Paste or type a link",
"Target": "Target",
"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?": "The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",
"Insert\/edit link": "Insert\/edit link",
"Insert\/edit video": "Insert\/edit video",
"Media": "Media",
"Alternative source": "Alternative source",
"Paste your embed code below:": "Paste your embed code below:",
"Insert video": "Insert video",
"Poster": "Poster",
"Insert\/edit media": "Insert\/edit media",
"Embed": "Embed",
"Nonbreaking space": "Non-breaking space",
"Page break": "Page break",
"Paste as text": "Paste as text",
"Preview": "Preview",
"Print": "Print",
"Save": "Save",
"Could not find the specified string.": "Could not find the specified string.",
"Replace": "Replace",
"Next": "Next",
"Whole words": "Whole words",
"Find and replace": "Find and replace",
"Replace with": "Replace with",
"Find": "Find",
"Replace all": "Replace all",
"Match case": "Match case",
"Prev": "Prev",
"Spellcheck": "Spell-check",
"Finish": "Finish",
"Ignore all": "Ignore all",
"Ignore": "Ignore",
"Add to Dictionary": "Add to Dictionary",
"Insert row before": "Insert row before",
"Rows": "Rows",
"Height": "Height",
"Paste row after": "Paste row after",
"Alignment": "Alignment",
"Border color": "Border colour",
"Column group": "Column group",
"Row": "Row",
"Insert column before": "Insert column before",
"Split cell": "Split cell",
"Cell padding": "Cell padding",
"Cell spacing": "Cell spacing",
"Row type": "Row type",
"Insert table": "Insert table",
"Body": "Body",
"Caption": "Caption",
"Footer": "Footer",
"Delete row": "Delete row",
"Paste row before": "Paste row before",
"Scope": "Scope",
"Delete table": "Delete table",
"H Align": "H Align",
"Top": "Top",
"Header cell": "Header cell",
"Column": "Column",
"Row group": "Row group",
"Cell": "Cell",
"Middle": "Middle",
"Cell type": "Cell type",
"Copy row": "Copy row",
"Row properties": "Row properties",
"Table properties": "Table properties",
"Bottom": "Bottom",
"V Align": "V Align",
"Header": "Header",
"Right": "Right",
"Insert column after": "Insert column after",
"Cols": "Cols",
"Insert row after": "Insert row after",
"Width": "Width",
"Cell properties": "Cell properties",
"Left": "Left",
"Cut row": "Cut row",
"Delete column": "Delete column",
"Center": "Centre",
"Merge cells": "Merge cells",
"Insert template": "Insert template",
"Templates": "Templates",
"Background color": "Background colour",
"Custom...": "Custom...",
"Custom color": "Custom colour",
"No color": "No colour",
"Text color": "Text colour",
"Table of Contents": "Table of Contents",
"Show blocks": "Show blocks",
"Show invisible characters": "Show invisible characters",
"Words: {0}": "Words: {0}",
"Insert": "Insert",
"File": "File",
"Edit": "Edit",
"Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help": "Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help",
"Tools": "Tools",
"View": "View",
"Table": "Table",
"Format": "Format"
});
\ No newline at end of file
此差异已折叠。
/* PrismJS 1.14.0
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */
/**
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/
code[class*="language-"],
pre[class*="language-"] {
color: black;
background: none;
text-shadow: 0 1px white;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
text-shadow: none;
background: #b3d4fc;
}
pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
code[class*="language-"]::selection, code[class*="language-"] ::selection {
text-shadow: none;
background: #b3d4fc;
}
@media print {
code[class*="language-"],
pre[class*="language-"] {
text-shadow: none;
}
}
/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
overflow: auto;
}
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
background: #f5f2f0;
}
/* Inline code */
:not(pre) > code[class*="language-"] {
padding: .1em;
border-radius: .3em;
white-space: normal;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: slategray;
}
.token.punctuation {
color: #999;
}
.namespace {
opacity: .7;
}
.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
color: #905;
}
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
color: #690;
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
color: #9a6e3a;
background: hsla(0, 0%, 100%, .5);
}
.token.atrule,
.token.attr-value,
.token.keyword {
color: #07a;
}
.token.function,
.token.class-name {
color: #DD4A68;
}
.token.regex,
.token.important,
.token.variable {
color: #e90;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}
.word-wrap{word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-ms-hyphens:auto;-moz-hyphens:auto;-webkit-hyphens:auto;hyphens:auto}.mce-content-body .mce-reset{margin:0;padding:0;border:0;outline:0;vertical-align:top;background:transparent;text-decoration:none;color:black;font-family:Arial;font-size:11px;text-shadow:none;float:none;position:static;width:auto;height:auto;white-space:nowrap;cursor:inherit;line-height:normal;font-weight:normal;text-align:left;-webkit-tap-highlight-color:transparent;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;direction:ltr;max-width:none}.mce-object{border:1px dotted #3A3A3A;background:#D5D5D5 url(img/object.gif) no-repeat center}.mce-preview-object{display:inline-block;position:relative;margin:0 2px 0 2px;line-height:0;border:1px solid gray}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-preview-object .mce-shim{position:absolute;top:0;left:0;width:100%;height:100%;background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}figure.align-left{float:left}figure.align-right{float:right}figure.image.align-center{display:table;margin-left:auto;margin-right:auto}figure.image{display:inline-block;border:1px solid gray;margin:0 2px 0 1px;background:#f5f2f0}figure.image img{margin:8px 8px 0 8px}figure.image figcaption{margin:6px 8px 6px 8px;text-align:center}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-pagebreak{cursor:default;display:block;border:0;width:100%;height:5px;border:1px dashed #666;margin-top:15px;page-break-before:always}@media print{.mce-pagebreak{border:0}}.mce-item-anchor{cursor:default;display:inline-block;-webkit-user-select:all;-webkit-user-modify:read-only;-moz-user-select:all;-moz-user-modify:read-only;user-select:all;user-modify:read-only;width:9px !important;height:9px !important;border:1px dotted #3A3A3A;background:#D5D5D5 url(img/anchor.gif) no-repeat center}.mce-nbsp,.mce-shy{background:#AAA}.mce-shy::after{content:'-'}.mce-match-marker{background:#AAA;color:#fff}.mce-match-marker-selected{background:#3399ff;color:#fff}.mce-spellchecker-word{border-bottom:2px solid rgba(208,2,27,0.5);cursor:default}.mce-spellchecker-grammar{border-bottom:2px solid #008000;cursor:default}.mce-item-table,.mce-item-table td,.mce-item-table th,.mce-item-table caption{border:1px dashed #BBB}td[data-mce-selected],th[data-mce-selected]{background-color:#2276d2 !important}.mce-edit-focus{outline:1px dotted #333}.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus{outline:2px solid #2276d2}.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover{outline:2px solid #2276d2}.mce-content-body *[contentEditable=false][data-mce-selected]{outline:2px solid #2276d2}.mce-content-body.mce-content-readonly *[contentEditable=true]:focus,.mce-content-body.mce-content-readonly *[contentEditable=true]:hover{outline:none}.mce-content-body *[data-mce-selected="inline-boundary"]{background:#bfe6ff}.mce-content-body .mce-item-anchor[data-mce-selected]{background:#D5D5D5 url(img/anchor.gif) no-repeat center}.mce-content-body hr{cursor:default}.mce-content-body table{-webkit-nbsp-mode:normal}.ephox-snooker-resizer-bar{background-color:#2276d2;opacity:0}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:.2}.mce-content-body{line-height:1.3}
\ No newline at end of file
body{background-color:#FFFFFF;color:#000000;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px;line-height:1.3;scrollbar-3dlight-color:#F0F0EE;scrollbar-arrow-color:#676662;scrollbar-base-color:#F0F0EE;scrollbar-darkshadow-color:#DDDDDD;scrollbar-face-color:#E0E0DD;scrollbar-highlight-color:#F0F0EE;scrollbar-shadow-color:#F0F0EE;scrollbar-track-color:#F5F5F5}td,th{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:14px}.word-wrap{word-wrap:break-word;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-ms-hyphens:auto;-moz-hyphens:auto;-webkit-hyphens:auto;hyphens:auto}.mce-content-body .mce-reset{margin:0;padding:0;border:0;outline:0;vertical-align:top;background:transparent;text-decoration:none;color:black;font-family:Arial;font-size:11px;text-shadow:none;float:none;position:static;width:auto;height:auto;white-space:nowrap;cursor:inherit;line-height:normal;font-weight:normal;text-align:left;-webkit-tap-highlight-color:transparent;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;direction:ltr;max-width:none}.mce-object{border:1px dotted #3A3A3A;background:#D5D5D5 url(img/object.gif) no-repeat center}.mce-preview-object{display:inline-block;position:relative;margin:0 2px 0 2px;line-height:0;border:1px solid gray}.mce-preview-object[data-mce-selected="2"] .mce-shim{display:none}.mce-preview-object .mce-shim{position:absolute;top:0;left:0;width:100%;height:100%;background:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}figure.align-left{float:left}figure.align-right{float:right}figure.image.align-center{display:table;margin-left:auto;margin-right:auto}figure.image{display:inline-block;border:1px solid gray;margin:0 2px 0 1px;background:#f5f2f0}figure.image img{margin:8px 8px 0 8px}figure.image figcaption{margin:6px 8px 6px 8px;text-align:center}.mce-toc{border:1px solid gray}.mce-toc h2{margin:4px}.mce-toc li{list-style-type:none}.mce-pagebreak{cursor:default;display:block;border:0;width:100%;height:5px;border:1px dashed #666;margin-top:15px;page-break-before:always}@media print{.mce-pagebreak{border:0}}.mce-item-anchor{cursor:default;display:inline-block;-webkit-user-select:all;-webkit-user-modify:read-only;-moz-user-select:all;-moz-user-modify:read-only;user-select:all;user-modify:read-only;width:9px !important;height:9px !important;border:1px dotted #3A3A3A;background:#D5D5D5 url(img/anchor.gif) no-repeat center}.mce-nbsp,.mce-shy{background:#AAA}.mce-shy::after{content:'-'}.mce-match-marker{background:#AAA;color:#fff}.mce-match-marker-selected{background:#3399ff;color:#fff}.mce-spellchecker-word{border-bottom:2px solid rgba(208,2,27,0.5);cursor:default}.mce-spellchecker-grammar{border-bottom:2px solid #008000;cursor:default}.mce-item-table,.mce-item-table td,.mce-item-table th,.mce-item-table caption{border:1px dashed #BBB}td[data-mce-selected],th[data-mce-selected]{background-color:#2276d2 !important}.mce-edit-focus{outline:1px dotted #333}.mce-content-body *[contentEditable=false] *[contentEditable=true]:focus{outline:2px solid #2276d2}.mce-content-body *[contentEditable=false] *[contentEditable=true]:hover{outline:2px solid #2276d2}.mce-content-body *[contentEditable=false][data-mce-selected]{outline:2px solid #2276d2}.mce-content-body.mce-content-readonly *[contentEditable=true]:focus,.mce-content-body.mce-content-readonly *[contentEditable=true]:hover{outline:none}.mce-content-body *[data-mce-selected="inline-boundary"]{background:#bfe6ff}.mce-content-body .mce-item-anchor[data-mce-selected]{background:#D5D5D5 url(img/anchor.gif) no-repeat center}.mce-content-body hr{cursor:default}.mce-content-body table{-webkit-nbsp-mode:normal}.ephox-snooker-resizer-bar{background-color:#2276d2;opacity:0}.ephox-snooker-resizer-cols{cursor:col-resize}.ephox-snooker-resizer-rows{cursor:row-resize}.ephox-snooker-resizer-bar.ephox-snooker-resizer-bar-dragging{opacity:.2}
\ No newline at end of file
.tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{position:absolute;display:inline-block;background-color:green;opacity:.5}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%}
\ No newline at end of file
window.Environment = {
// 是否为开发模式
devMode: true,
// 配置平台地址
StudioUrl: "http://neko.org.cn:3335/",
// 中心标识
SlnId: "AFFB70EF-A2CF-470A-B1AE-38156EAF4A50",
// 系统标识
SysId: "8A26FD38-06D7-495C-88B1-77238F3AB96D",
// 前端应用标识
AppId: "0df1f39e51db7152428a905a11c28a16"
}
\ No newline at end of file
{
"ormpostejormorgidpickupview": {
"title": "岗位管理数据选择视图",
"caption": "岗位集",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "ORM",
"viewname": "ORMPOSTEJORMORGIDPickupView",
"viewtag": "09de889eff18f3439d11da7604fda3fb",
"memo": "系统自动添加"
},
"pcmworkresumegzllgridview": {
"title": "工作履历(要求:带*必填)",
"caption": "工作履历(要求:带*必填)",
"viewtype": "DEGRIDVIEW",
"viewmodule": "PCM",
"viewname": "PCMWORKRESUMEGZLLGridView",
"viewtag": "0a36bba4db0f174309b0dbcd9fbcdb55",
"memo": "系统自动添加"
},
"pimpersontxrypickupview": {
"title": "选择退休人员",
"caption": "人员信息",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "PIM",
"viewname": "PIMPERSONTXRYPickupView",
"viewtag": "0b217f6381763746161a9725cee6cafc",
"memo": "系统自动添加"
},
"ormorgypzxxsypickupgridview": {
"title": "组织选择表格视图",
"caption": "组织选择表格视图",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "ORM",
"viewname": "ORMORGYPZXXSYPickupGridView",
"viewtag": "128376d374a95b9d98fb658a9d33dc77",
"memo": "系统自动添加"
},
"testresultcpjggridview": {
"title": "测评结果摘要信息(要求:带*必填)",
"caption": "测评结果摘要信息(要求:带*必填)",
"viewtype": "DEGRIDVIEW",
"viewmodule": "PCM",
"viewname": "TestResultCPJGGridView",
"viewtag": "3d7985f2b41ff52bea5ebcf3bacc6169",
"memo": "系统自动添加"
},
"pcmprofilexzwizardview": {
"title": "校招应聘者信息录入向导",
"caption": "校招应聘者信息录入向导",
"viewtype": "DEWIZARDVIEW",
"viewmodule": "PCM",
"viewname": "PCMPROFILEXZWizardView",
"viewtag": "4229f6c634e435919e19f0af081f94e7",
"memo": "系统自动添加"
},
"pcmprofileypzxx_lrgridview": {
"title": "应聘者信息",
"caption": "应聘者信息",
"viewtype": "DEGRIDVIEW",
"viewmodule": "PCM",
"viewname": "PCMPROFILEYPZXX_LRGridView",
"viewtag": "43659d36205f0188071e2809bae87960",
"memo": ""
},
"ormpostejormorgidpickupgridview": {
"title": "岗位选择",
"caption": "岗位选择",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "ORM",
"viewname": "ORMPOSTEJORMORGIDPickupGridView",
"viewtag": "44bf9eda90dffdccfacfac9a8c182e91",
"memo": "系统自动添加"
},
"pcmschoolofficezxzwgridview": {
"title": "在校职务(要求:带*必填)",
"caption": "在校职务(要求:带*必填)",
"viewtype": "DEGRIDVIEW",
"viewmodule": "PCM",
"viewname": "PCMSCHOOLOFFICEZXZWGridView",
"viewtag": "56c145537274f073f9b98375809e6010",
"memo": "系统自动添加"
},
"pcmcertofregeditview": {
"title": "注册证书编辑视图",
"caption": "注册证书",
"viewtype": "DEEDITVIEW",
"viewmodule": "PCM",
"viewname": "PCMCERTOFREGEditView",
"viewtag": "61ab26467e764252135370d1e6451aed",
"memo": "系统自动添加"
},
"ormdutyormorgsectorpickupgridview": {
"title": "职务库",
"caption": "职务库",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "ORM",
"viewname": "ORMDUTYOrmOrgSectorPickupGridView",
"viewtag": "743374253b5e705d698020bf94257a4a",
"memo": "系统自动添加"
},
"pimqualmajorpickupview": {
"title": "执业资格专业数据选择视图",
"caption": "执业资格专业",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "PIM",
"viewname": "PIMQUALMAJORPickupView",
"viewtag": "79011b4b8919b94eaf3c825f6acc8102",
"memo": "系统自动添加"
},
"index": {
"title": "招聘管理",
"caption": "招聘管理",
"viewtype": "APPINDEXVIEW",
"viewmodule": "PCM",
"viewname": "Index",
"viewtag": "7ABD0219-F56E-46AE-AF96-593BE5751BB9",
"memo": ""
},
"pcmprofileypzxx_lreditview": {
"title": "应聘者信息",
"caption": "应聘者信息",
"viewtype": "DEEDITVIEW",
"viewmodule": "PCM",
"viewname": "PCMPROFILEYPZXX_LREditView",
"viewtag": "992ecee21f22b4daf3ecaf7ad516c1e3",
"memo": "系统自动添加"
},
"pcmcertofregzczsgridview": {
"title": "注册证书(要求:带*必填)",
"caption": "注册证书(要求:带*必填)",
"viewtype": "DEGRIDVIEW",
"viewmodule": "PCM",
"viewname": "PCMCERTOFREGZCZSGridView",
"viewtag": "a6fe2d0f44d114e686eb214a6dd4b209",
"memo": "系统自动添加"
},
"ormdutyormorgsectorpickupview": {
"title": "职务库",
"caption": "职务库",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "ORM",
"viewname": "ORMDUTYOrmOrgSectorPickupView",
"viewtag": "ad50beef4cfa8848053a8e607ed0d7a6",
"memo": "系统自动添加"
},
"pimpersontxrypickupgridview": {
"title": "退休人员",
"caption": "人员信息",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "PIM",
"viewname": "PIMPERSONTXRYPickupGridView",
"viewtag": "b147b7948f382bb3a0d15382e3663687",
"memo": "系统自动添加"
},
"pcmawardswonshjqkgridview": {
"title": "获奖情况(要求:带*必填)",
"caption": "获奖情况(要求:带*必填)",
"viewtype": "DEGRIDVIEW",
"viewmodule": "PCM",
"viewname": "PCMAWARDSWONSHJQKGridView",
"viewtag": "b73b674c74676f40d1c9a1663b14d6ab",
"memo": "系统自动添加"
},
"pcmpracticeexperiencesxjygridview": {
"title": "实习信息(要求:带*必填)",
"caption": "实习信息(要求:带*必填)",
"viewtype": "DEGRIDVIEW",
"viewmodule": "PCM",
"viewname": "PCMPRACTICEEXPERIENCESXJYGridView",
"viewtag": "b7850952c7fc5ac38fe2077bbe70485b",
"memo": "系统自动添加"
},
"pcmeducationexperiencejybjgridview": {
"title": "教育信息(要求:1.高中以上,2.带*必填,3.大专学位证用毕业证代替)",
"caption": "教育信息(要求:1.高中以上,2.带*必填,3.大专学位证用毕业证代替)",
"viewtype": "DEGRIDVIEW",
"viewmodule": "PCM",
"viewname": "PCMEducationExperienceJYBJGridView",
"viewtag": "c1296113c6baff077df6b1f1b1711266",
"memo": "系统自动添加"
},
"ormorgypzsyfpxxpickupview": {
"title": "组织数据选择视图",
"caption": "组织数据选择视图",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "ORM",
"viewname": "ORMORGYPZSYFPXXPickupView",
"viewtag": "d0d1c5e2fea8eb48ebcb507b6126df20",
"memo": "系统自动添加"
},
"ormorgsectorydbmpickupgridview": {
"title": "部门选择",
"caption": "部门选择",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "ORM",
"viewname": "ORMORGSECTORYDBMPickupGridView",
"viewtag": "ebd5595f0455c8bbeefdf665db2d754b",
"memo": "系统自动添加"
},
"pimqualmajorpickupgridview": {
"title": "执业资格专业选择表格视图",
"caption": "执业资格专业",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "PIM",
"viewname": "PIMQUALMAJORPickupGridView",
"viewtag": "fe2c9423e322f159b6b437009463be03",
"memo": "系统自动添加"
},
"tdzwxxtdzwgridview": {
"title": "投递职位摘要信息(要求:带*必填)",
"caption": "投递职位摘要信息(要求:带*必填)",
"viewtype": "DEGRIDVIEW",
"viewmodule": "PCM",
"viewname": "TDZWXXTDZWGridView",
"viewtag": "feefa68dff81c415ed3f7dfa3ffcc084",
"memo": "系统自动添加"
},
"ormorgsectorydbmpickupview": {
"title": "部门选择",
"caption": "部门选择",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "ORM",
"viewname": "ORMORGSECTORYDBMPickupView",
"viewtag": "fff47154e7d5fc117b240c1141c142f4",
"memo": "系统自动添加"
}
}
\ No newline at end of file
<template>
<div id='app'>
<debug-actions/>
<router-view v-if="isRouterAlive"/>
</div>
</template>
+<script lang='ts'>
import { Vue, Component, Provide } from 'vue-property-decorator';
import store from '@/store';
import { LoadAppData } from '@/utils';
@Component({
})
export default class App extends Vue {
/**
* 控制视图是否显示
*/
public isRouterAlive:boolean = false;
/**
* 向后代注入加载行为
*/
@Provide()
public reload = this.viewreload;
/**
* vue生命周期
*/
public created(){
this.loadAppData();
}
/**
* 视图重新加载
*/
public viewreload () {
this.isRouterAlive = false;
this.$nextTick(function () {
this.isRouterAlive = true;
})
}
/**
* 视图加载代码表
*/
public async loadAppData(){
const _store:any = store;
if(_store.state && _store.state.codelists && _store.state.codelists.length >0){
this.isRouterAlive = true;
return;
}else{
await LoadAppData.getInstance().load(store);
this.isRouterAlive = true;
}
}
}
</script>
<style lang='less'>
@import './styles/default.less';
</style>
import { ViewTool } from './utils/view-tool/view-tool';
import { UIActionTool } from './utils/uiaction-tool/uiaction-tool';
import { Verify } from './utils/verify/verify';
import { Util } from './utils/util/util';
import { Http } from './utils/http/http';
import { exportExcel } from './utils/export/export';
import { AppPopover } from './utils/app-popover/app-popover';
import { AppModal } from './utils/app-modal/app-modal';
import { AppDrawer } from './utils/app-drawer/app-drawer';
import { uiServiceRegister } from '@/uiservice/ui-service-register';
import { utilServiceRegister } from '@/utilservice/util-service-register';
import { entityServiceRegister } from '@/service/entity-service-register';
import { counterServiceRegister } from '@/counter/counter-service-register';
import InputBox from './components/input-box/input-box.vue'
import AppKeepAlive from './components/app-keep-alive/app-keep-alive.vue'
import TabPageExp from './components/tab-page-exp/tab-page-exp.vue'
import AppLang from './components/app-lang/app-lang.vue'
import AppTheme from './components/app-theme/app-theme.vue'
import AppUser from './components/app-user/app-user.vue'
import AppForm from './components/app-form/app-form.vue'
import APPAutocomplete from './components/app-autocomplete/app-autocomplete.vue'
import AppFormDruipart from './components/app-form-druipart/app-form-druipart.vue'
import DropdownList from './components/dropdown-list/dropdown-list.vue'
import UploadFile from './components/upload-file/upload-file.vue'
import ContextMenuContainer from './components/context-menu-container/context-menu-container.vue'
import AppCheckboxList from './components/app-checkbox-list/app-checkbox-list.vue'
import AppRadioGroup from './components/app-radio-group/app-radio-group.vue'
import AppEmbedPicker from './components/app-embed-picker/app-embed-picker.vue'
import AppTreePicker from './components/app-tree-picker/app-tree-picker.vue'
import AppRichTextEditor from './components/app-rich-text-editor/app-rich-text-editor.vue'
import AppFileUpload from './components/app-file-upload/app-file-upload.vue'
import AppImageUpload from './components/app-image-upload/app-image-upload.vue'
import PropertyLayout from './components/property-layout/property-layout.vue'
import AppRangeEditor from './components/app-range-editor/app-range-editor.vue'
import AppExportExcel from './components/app-export-excel/app-export-excel.vue'
import AppFormGroup from './components/app-form-group/app-form-group.vue'
import AppFormItem from './components/app-form-item/app-form-item.vue'
import AppPicker from './components/app-picker/app-picker.vue'
import AppMpicker from './components/app-mpicker/app-mpicker.vue'
import AppFormGroup2 from './components/app-form-group2/app-form-group2.vue'
import AppFormItem2 from './components/app-form-item2/app-form-item2.vue'
import CodeList from './components/codelist/codelist.vue'
import AppQuickMenus from './components/app-quick-menus/app-quick-menus.vue'
import AppCheckbox from './components/app-checkbox/app-checkbox.vue'
import AppColumnRender from './components/app-column-render/app-column-render.vue'
import AppPickerSelectView from './components/app-picker-select-view/app-picker-select-view.vue'
import AppSiderMenus from './components/app-sider-menus/app-sider-menus.vue'
import AppSpan from './components/app-span/app-span.vue'
import AppAddressSelection from './components/app-address-selection/app-address-selection.vue'
import DropdownListMpicker from './components/dropdown-list-mpicker/dropdown-list-mpicker.vue'
import AppRate from './components/app-rate/app-rate.vue'
import AppSwitch from './components/app-switch/app-switch.vue'
import AppSlider from './components/app-slider/app-slider.vue'
import AppStepper from './components/app-stepper/app-stepper.vue'
import AppPortalDesign from './components/app-portal-design/app-portal-design.vue'
import DatePickerRange from './components/date-picker-range/date-picker-range.vue'
import AppRangeDate from './components/app-range-date/app-range-date.vue'
import AppActionBar from './components/app-actionbar/app-actionbar.vue'
import AppOrgSector from './components/app-orgsector/app-orgsector.vue'
import AppBuild from './components/app-build/app-build.vue'
import AppStudioAction from './components/app-studioaction/app-studioaction.vue'
import AppDebugActions from './components/app-debug-actions/app-debug-actions.vue'
import AppHeaderMenus from './components/app-header-menus/app-header-menus.vue'
import AppColumnLink from './components/app-column-link/app-column-link.vue'
import AppDataUploadView from './components/app-data-upload/app-data-upload.vue'
import DropDownListDynamic from './components/dropdown-list-dynamic/dropdown-list-dynamic.vue'
import AppImagePreview from './components/app-image-preview/app-image-preview.vue'
import AppFormatData from './components/app-format-data/app-format-data.vue'
import AppUploadFileInfo from './components/app-upload-file-info/app-upload-file-info.vue'
import ContextMenu from './components/context-menu/context-menu'
// 全局挂载UI实体服务注册中心
window['uiServiceRegister'] = uiServiceRegister;
// 全局挂载功能服务注册中心
window['utilServiceRegister'] = utilServiceRegister;
// 全局挂载数据服务注册中心
window['entityServiceRegister'] = entityServiceRegister;
// 全局挂载计数器服务注册中心
window['counterServiceRegister'] = counterServiceRegister;
export const AppComponents = {
install(v: any, opt: any) {
v.prototype.$appdrawer = AppDrawer.getInstance();
v.prototype.$appmodal = AppModal.getInstance();
v.prototype.$apppopover = AppPopover.getInstance();
v.prototype.$http = Http.getInstance();
v.prototype.$export = exportExcel.getInstance();
v.prototype.$util = Util;
v.prototype.$verify = Verify;
v.prototype.$viewTool = ViewTool;
v.prototype.$uiActionTool = UIActionTool;
v.component('input-box', InputBox);
v.component('app-keep-alive',AppKeepAlive);
v.component('tab-page-exp',TabPageExp);
v.component('app-lang',AppLang);
v.component('app-theme',AppTheme);
v.component('app-user',AppUser);
v.component('app-form', AppForm);
v.component('app-autocomplete', APPAutocomplete);
v.component('app-form-druipart', AppFormDruipart);
v.component('dropdown-list', DropdownList);
v.component('upload-file', UploadFile);
v.component('context-menu-container', ContextMenuContainer);
v.component('app-checkbox-list',AppCheckboxList);
v.component('app-radio-group',AppRadioGroup);
v.component('app-embed-picker', AppEmbedPicker);
v.component('app-tree-picker', AppTreePicker);
v.component('app-rich-text-editor',AppRichTextEditor);
v.component('app-file-upload',AppFileUpload);
v.component('app-image-upload',AppImageUpload);
v.component('property-layout',PropertyLayout);
v.component('app-range-editor',AppRangeEditor);
v.component('app-export-excel',AppExportExcel);
v.component('app-form-group',AppFormGroup);
v.component('app-form-item',AppFormItem);
v.component('app-picker', AppPicker);
v.component('app-mpicker', AppMpicker);
v.component('app-form-group2', AppFormGroup2);
v.component('app-form-item2', AppFormItem2);
v.component('codelist', CodeList);
v.component('app-quick-menus', AppQuickMenus);
v.component('app-checkbox',AppCheckbox);
v.component('app-column-render',AppColumnRender);
v.component('app-picker-select-view',AppPickerSelectView);
v.component('app-sider-menus',AppSiderMenus);
v.component('app-span', AppSpan);
v.component('app-address-selection', AppAddressSelection);
v.component('dropdown-list-mpicker', DropdownListMpicker);
v.component('app-rate', AppRate);
v.component('app-switch', AppSwitch);
v.component('app-slider', AppSlider);
v.component('app-stepper', AppStepper);
v.component('app-portal-design',AppPortalDesign);
v.component('date-picker-range',DatePickerRange);
v.component('app-range-date', AppRangeDate);
v.component('app-actionbar', AppActionBar);
v.component('app-orgsector', AppOrgSector);
v.component('app-build', AppBuild);
v.component('app-studioaction', AppStudioAction);
v.component('app-debug-actions', AppDebugActions);
v.component('app-header-menus', AppHeaderMenus);
v.component('app-column-link', AppColumnLink);
v.component('app-data-upload', AppDataUploadView);
v.component('dropdown-list-dynamic', DropDownListDynamic);
v.component('app-image-preview', AppImagePreview);
v.component('app-format-data', AppFormatData);
v.component('app-upload-file-info', AppUploadFileInfo);
v.component('context-menu',ContextMenu);
},
};
\ No newline at end of file
此差异已折叠。
import CodeItemService from '@service/code-item/code-item-service';
/**
* 代码表--籍贯(户籍所在地)
*
* @export
* @class NATIVEPLACE
*/
export default class NATIVEPLACE {
/**
* 是否启用缓存
*
* @type boolean
* @memberof NATIVEPLACE
*/
public isEnableCache:boolean = true;
/**
* 过期时间
*
* @type any
* @memberof NATIVEPLACE
*/
public expirationTime:any;
/**
* 缓存超长时长
*
* @type any
* @memberof NATIVEPLACE
*/
public cacheTimeout:any = -1;
/**
* 代码表模型对象
*
* @type any
* @memberof NATIVEPLACE
*/
public codelistModel:any = {
codelistid:"NATIVEPLACE"
};
/**
* 自定义参数集合
*
* @type any
* @memberof NATIVEPLACE
*/
public userParamNames:any ={
codelistid:"E3905F82-CCC9-4894-93D8-4AFBE40BEEF0"
}
/**
* 查询参数集合
*
* @type any
* @memberof NATIVEPLACE
*/
public queryParamNames:any ={
}
/**
* 代码项应用实体服务对象
*
* @type {CodeItemService}
* @memberof NATIVEPLACE
*/
public codeitemService: CodeItemService = new CodeItemService();
/**
* 处理数据
*
* @private
* @param {any[]} items
* @returns {any[]}
* @memberof NATIVEPLACE
*/
private doItems(items: any[]): any[] {
let _items: any[] = [];
items.forEach((item: any) => {
let itemdata:any = {};
Object.assign(itemdata,{id:item.codeitemvalue});
Object.assign(itemdata,{value:item.codeitemvalue});
Object.assign(itemdata,{text:item.codeitemname});
_items.push(itemdata);
});
return _items;
}
/**
* 获取数据项
*
* @param {*} context
* @param {*} data
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof NATIVEPLACE
*/
public getItems(context: any={}, data: any={}, isloading?: boolean): Promise<any> {
return new Promise((resolve, reject) => {
data = this.handleQueryParam(data);
const promise: Promise<any> = this.codeitemService.FetchCurCL(context, data, isloading);
promise.then((response: any) => {
if (response && response.status === 200) {
const data = response.data;
resolve(this.doItems(data));
} else {
resolve([]);
}
}).catch((response: any) => {
console.error(response);
reject(response);
});
});
}
/**
* 处理查询参数
* @param data 传入data
* @memberof NATIVEPLACE
*/
public handleQueryParam(data:any){
let tempData:any = data?JSON.parse(JSON.stringify(data)):{};
if(this.userParamNames && Object.keys(this.userParamNames).length >0){
Object.keys(this.userParamNames).forEach((name: string) => {
if (!name) {
return;
}
let value: string | null = this.userParamNames[name];
if (value && value.startsWith('%') && value.endsWith('%')) {
const key = value.substring(1, value.length - 1);
if (this.codelistModel && this.codelistModel.hasOwnProperty(key)) {
value = (this.codelistModel[key] !== null && this.codelistModel[key] !== undefined) ? this.codelistModel[key] : null;
} else {
value = null;
}
}
Object.assign(tempData, { [name]: value });
});
}
Object.assign(tempData,{page: 0, size: 1000});
if(this.queryParamNames && Object.keys(this.queryParamNames).length > 0){
Object.assign(tempData,this.queryParamNames);
}
return tempData;
}
}
import ORMPOSTService from '@service/ormpost/ormpost-service';
/**
* 代码表--岗位(基础管理)
*
* @export
* @class ORMCL_GW
*/
export default class ORMCL_GW {
/**
* 是否启用缓存
*
* @type boolean
* @memberof ORMCL_GW
*/
public isEnableCache:boolean = true;
/**
* 过期时间
*
* @type any
* @memberof ORMCL_GW
*/
public expirationTime:any;
/**
* 缓存超长时长
*
* @type any
* @memberof ORMCL_GW
*/
public cacheTimeout:any = -1;
/**
* 代码表模型对象
*
* @type any
* @memberof ORMCL_GW
*/
public codelistModel:any = {
codelistid:"ORMCL_GW"
};
/**
* 自定义参数集合
*
* @type any
* @memberof ORMCL_GW
*/
public userParamNames:any ={
}
/**
* 查询参数集合
*
* @type any
* @memberof ORMCL_GW
*/
public queryParamNames:any ={
sort: 'xh,asc'
}
/**
* 岗位集应用实体服务对象
*
* @type {ORMPOSTService}
* @memberof ORMCL_GW
*/
public ormpostService: ORMPOSTService = new ORMPOSTService();
/**
* 处理数据
*
* @private
* @param {any[]} items
* @returns {any[]}
* @memberof ORMCL_GW
*/
private doItems(items: any[]): any[] {
let _items: any[] = [];
items.forEach((item: any) => {
let itemdata:any = {};
Object.assign(itemdata,{id:item.ormpostid});
Object.assign(itemdata,{value:item.ormpostid});
Object.assign(itemdata,{text:item.ormpostname});
_items.push(itemdata);
});
return _items;
}
/**
* 获取数据项
*
* @param {*} context
* @param {*} data
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ORMCL_GW
*/
public getItems(context: any={}, data: any={}, isloading?: boolean): Promise<any> {
return new Promise((resolve, reject) => {
data = this.handleQueryParam(data);
const promise: Promise<any> = this.ormpostService.FetchDefault(context, data, isloading);
promise.then((response: any) => {
if (response && response.status === 200) {
const data = response.data;
resolve(this.doItems(data));
} else {
resolve([]);
}
}).catch((response: any) => {
console.error(response);
reject(response);
});
});
}
/**
* 处理查询参数
* @param data 传入data
* @memberof ORMCL_GW
*/
public handleQueryParam(data:any){
let tempData:any = data?JSON.parse(JSON.stringify(data)):{};
if(this.userParamNames && Object.keys(this.userParamNames).length >0){
Object.keys(this.userParamNames).forEach((name: string) => {
if (!name) {
return;
}
let value: string | null = this.userParamNames[name];
if (value && value.startsWith('%') && value.endsWith('%')) {
const key = value.substring(1, value.length - 1);
if (this.codelistModel && this.codelistModel.hasOwnProperty(key)) {
value = (this.codelistModel[key] !== null && this.codelistModel[key] !== undefined) ? this.codelistModel[key] : null;
} else {
value = null;
}
}
Object.assign(tempData, { [name]: value });
});
}
Object.assign(tempData,{page: 0, size: 1000});
if(this.queryParamNames && Object.keys(this.queryParamNames).length > 0){
Object.assign(tempData,this.queryParamNames);
}
return tempData;
}
}
import CodeItemService from '@service/code-item/code-item-service';
/**
* 代码表--岗位类型
*
* @export
* @class ORMCL_GWTYPE
*/
export default class ORMCL_GWTYPE {
/**
* 是否启用缓存
*
* @type boolean
* @memberof ORMCL_GWTYPE
*/
public isEnableCache:boolean = true;
/**
* 过期时间
*
* @type any
* @memberof ORMCL_GWTYPE
*/
public expirationTime:any;
/**
* 缓存超长时长
*
* @type any
* @memberof ORMCL_GWTYPE
*/
public cacheTimeout:any = -1;
/**
* 代码表模型对象
*
* @type any
* @memberof ORMCL_GWTYPE
*/
public codelistModel:any = {
codelistid:"ORMCL_GWTYPE"
};
/**
* 自定义参数集合
*
* @type any
* @memberof ORMCL_GWTYPE
*/
public userParamNames:any ={
codelistid:"2CCD80BB-B7B5-4B84-83E6-FF9AB96D3490"
}
/**
* 查询参数集合
*
* @type any
* @memberof ORMCL_GWTYPE
*/
public queryParamNames:any ={
}
/**
* 代码项应用实体服务对象
*
* @type {CodeItemService}
* @memberof ORMCL_GWTYPE
*/
public codeitemService: CodeItemService = new CodeItemService();
/**
* 处理数据
*
* @private
* @param {any[]} items
* @returns {any[]}
* @memberof ORMCL_GWTYPE
*/
private doItems(items: any[]): any[] {
let _items: any[] = [];
items.forEach((item: any) => {
let itemdata:any = {};
Object.assign(itemdata,{id:item.codeitemvalue});
Object.assign(itemdata,{value:item.codeitemvalue});
Object.assign(itemdata,{text:item.codeitemname});
_items.push(itemdata);
});
return _items;
}
/**
* 获取数据项
*
* @param {*} context
* @param {*} data
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ORMCL_GWTYPE
*/
public getItems(context: any={}, data: any={}, isloading?: boolean): Promise<any> {
return new Promise((resolve, reject) => {
data = this.handleQueryParam(data);
const promise: Promise<any> = this.codeitemService.FetchCurCL(context, data, isloading);
promise.then((response: any) => {
if (response && response.status === 200) {
const data = response.data;
resolve(this.doItems(data));
} else {
resolve([]);
}
}).catch((response: any) => {
console.error(response);
reject(response);
});
});
}
/**
* 处理查询参数
* @param data 传入data
* @memberof ORMCL_GWTYPE
*/
public handleQueryParam(data:any){
let tempData:any = data?JSON.parse(JSON.stringify(data)):{};
if(this.userParamNames && Object.keys(this.userParamNames).length >0){
Object.keys(this.userParamNames).forEach((name: string) => {
if (!name) {
return;
}
let value: string | null = this.userParamNames[name];
if (value && value.startsWith('%') && value.endsWith('%')) {
const key = value.substring(1, value.length - 1);
if (this.codelistModel && this.codelistModel.hasOwnProperty(key)) {
value = (this.codelistModel[key] !== null && this.codelistModel[key] !== undefined) ? this.codelistModel[key] : null;
} else {
value = null;
}
}
Object.assign(tempData, { [name]: value });
});
}
Object.assign(tempData,{page: 0, size: 1000});
if(this.queryParamNames && Object.keys(this.queryParamNames).length > 0){
Object.assign(tempData,this.queryParamNames);
}
return tempData;
}
}
import ORMORGService from '@service/ormorg/ormorg-service';
/**
* 代码表--二级组织(无权限)
*
* @export
* @class ORMCL_LEVELTWOORG
*/
export default class ORMCL_LEVELTWOORG {
/**
* 是否启用缓存
*
* @type boolean
* @memberof ORMCL_LEVELTWOORG
*/
public isEnableCache:boolean = true;
/**
* 过期时间
*
* @type any
* @memberof ORMCL_LEVELTWOORG
*/
public expirationTime:any;
/**
* 缓存超长时长
*
* @type any
* @memberof ORMCL_LEVELTWOORG
*/
public cacheTimeout:any = -1;
/**
* 代码表模型对象
*
* @type any
* @memberof ORMCL_LEVELTWOORG
*/
public codelistModel:any = {
codelistid:"ORMCL_LEVELTWOORG"
};
/**
* 自定义参数集合
*
* @type any
* @memberof ORMCL_LEVELTWOORG
*/
public userParamNames:any ={
}
/**
* 查询参数集合
*
* @type any
* @memberof ORMCL_LEVELTWOORG
*/
public queryParamNames:any ={
sort: 'px,asc'
}
/**
* 组织管理应用实体服务对象
*
* @type {ORMORGService}
* @memberof ORMCL_LEVELTWOORG
*/
public ormorgService: ORMORGService = new ORMORGService();
/**
* 处理数据
*
* @private
* @param {any[]} items
* @returns {any[]}
* @memberof ORMCL_LEVELTWOORG
*/
private doItems(items: any[]): any[] {
let _items: any[] = [];
items.forEach((item: any) => {
let itemdata:any = {};
Object.assign(itemdata,{id:item.shortname});
Object.assign(itemdata,{value:item.shortname});
Object.assign(itemdata,{text:item.shortname});
_items.push(itemdata);
});
return _items;
}
/**
* 获取数据项
*
* @param {*} context
* @param {*} data
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ORMCL_LEVELTWOORG
*/
public getItems(context: any={}, data: any={}, isloading?: boolean): Promise<any> {
return new Promise((resolve, reject) => {
data = this.handleQueryParam(data);
const promise: Promise<any> = this.ormorgService.FetchAllLevelTwoOrg2(context, data, isloading);
promise.then((response: any) => {
if (response && response.status === 200) {
const data = response.data;
resolve(this.doItems(data));
} else {
resolve([]);
}
}).catch((response: any) => {
console.error(response);
reject(response);
});
});
}
/**
* 处理查询参数
* @param data 传入data
* @memberof ORMCL_LEVELTWOORG
*/
public handleQueryParam(data:any){
let tempData:any = data?JSON.parse(JSON.stringify(data)):{};
if(this.userParamNames && Object.keys(this.userParamNames).length >0){
Object.keys(this.userParamNames).forEach((name: string) => {
if (!name) {
return;
}
let value: string | null = this.userParamNames[name];
if (value && value.startsWith('%') && value.endsWith('%')) {
const key = value.substring(1, value.length - 1);
if (this.codelistModel && this.codelistModel.hasOwnProperty(key)) {
value = (this.codelistModel[key] !== null && this.codelistModel[key] !== undefined) ? this.codelistModel[key] : null;
} else {
value = null;
}
}
Object.assign(tempData, { [name]: value });
});
}
Object.assign(tempData,{page: 0, size: 1000});
if(this.queryParamNames && Object.keys(this.queryParamNames).length > 0){
Object.assign(tempData,this.queryParamNames);
}
return tempData;
}
}
import ORMQYGLService from '@service/ormqygl/ormqygl-service';
/**
* 代码表--补贴标准
*
* @export
* @class ORMCL_QY
*/
export default class ORMCL_QY {
/**
* 是否启用缓存
*
* @type boolean
* @memberof ORMCL_QY
*/
public isEnableCache:boolean = true;
/**
* 过期时间
*
* @type any
* @memberof ORMCL_QY
*/
public expirationTime:any;
/**
* 缓存超长时长
*
* @type any
* @memberof ORMCL_QY
*/
public cacheTimeout:any = -1;
/**
* 代码表模型对象
*
* @type any
* @memberof ORMCL_QY
*/
public codelistModel:any = {
codelistid:"ORMCL_QY"
};
/**
* 自定义参数集合
*
* @type any
* @memberof ORMCL_QY
*/
public userParamNames:any ={
}
/**
* 查询参数集合
*
* @type any
* @memberof ORMCL_QY
*/
public queryParamNames:any ={
sort: 'xh,asc'
}
/**
* 补贴标准应用实体服务对象
*
* @type {ORMQYGLService}
* @memberof ORMCL_QY
*/
public ormqyglService: ORMQYGLService = new ORMQYGLService();
/**
* 处理数据
*
* @private
* @param {any[]} items
* @returns {any[]}
* @memberof ORMCL_QY
*/
private doItems(items: any[]): any[] {
let _items: any[] = [];
items.forEach((item: any) => {
let itemdata:any = {};
Object.assign(itemdata,{id:item.ormqyglid});
Object.assign(itemdata,{value:item.ormqyglid});
Object.assign(itemdata,{text:item.ormqyglname});
_items.push(itemdata);
});
return _items;
}
/**
* 获取数据项
*
* @param {*} context
* @param {*} data
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ORMCL_QY
*/
public getItems(context: any={}, data: any={}, isloading?: boolean): Promise<any> {
return new Promise((resolve, reject) => {
data = this.handleQueryParam(data);
const promise: Promise<any> = this.ormqyglService.FetchDefault(context, data, isloading);
promise.then((response: any) => {
if (response && response.status === 200) {
const data = response.data;
resolve(this.doItems(data));
} else {
resolve([]);
}
}).catch((response: any) => {
console.error(response);
reject(response);
});
});
}
/**
* 处理查询参数
* @param data 传入data
* @memberof ORMCL_QY
*/
public handleQueryParam(data:any){
let tempData:any = data?JSON.parse(JSON.stringify(data)):{};
if(this.userParamNames && Object.keys(this.userParamNames).length >0){
Object.keys(this.userParamNames).forEach((name: string) => {
if (!name) {
return;
}
let value: string | null = this.userParamNames[name];
if (value && value.startsWith('%') && value.endsWith('%')) {
const key = value.substring(1, value.length - 1);
if (this.codelistModel && this.codelistModel.hasOwnProperty(key)) {
value = (this.codelistModel[key] !== null && this.codelistModel[key] !== undefined) ? this.codelistModel[key] : null;
} else {
value = null;
}
}
Object.assign(tempData, { [name]: value });
});
}
Object.assign(tempData,{page: 0, size: 1000});
if(this.queryParamNames && Object.keys(this.queryParamNames).length > 0){
Object.assign(tempData,this.queryParamNames);
}
return tempData;
}
}
import ORMDUTYService from '@service/ormduty/ormduty-service';
/**
* 代码表--职务(基础管理)
*
* @export
* @class ORMCL_ZW
*/
export default class ORMCL_ZW {
/**
* 是否启用缓存
*
* @type boolean
* @memberof ORMCL_ZW
*/
public isEnableCache:boolean = true;
/**
* 过期时间
*
* @type any
* @memberof ORMCL_ZW
*/
public expirationTime:any;
/**
* 缓存超长时长
*
* @type any
* @memberof ORMCL_ZW
*/
public cacheTimeout:any = -1;
/**
* 代码表模型对象
*
* @type any
* @memberof ORMCL_ZW
*/
public codelistModel:any = {
codelistid:"ORMCL_ZW"
};
/**
* 自定义参数集合
*
* @type any
* @memberof ORMCL_ZW
*/
public userParamNames:any ={
}
/**
* 查询参数集合
*
* @type any
* @memberof ORMCL_ZW
*/
public queryParamNames:any ={
sort: 'xh,asc'
}
/**
* 职务管理应用实体服务对象
*
* @type {ORMDUTYService}
* @memberof ORMCL_ZW
*/
public ormdutyService: ORMDUTYService = new ORMDUTYService();
/**
* 处理数据
*
* @private
* @param {any[]} items
* @returns {any[]}
* @memberof ORMCL_ZW
*/
private doItems(items: any[]): any[] {
let _items: any[] = [];
items.forEach((item: any) => {
let itemdata:any = {};
Object.assign(itemdata,{id:item.ormdutyid});
Object.assign(itemdata,{value:item.ormdutyid});
Object.assign(itemdata,{text:item.ormdutyname});
_items.push(itemdata);
});
return _items;
}
/**
* 获取数据项
*
* @param {*} context
* @param {*} data
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ORMCL_ZW
*/
public getItems(context: any={}, data: any={}, isloading?: boolean): Promise<any> {
return new Promise((resolve, reject) => {
data = this.handleQueryParam(data);
const promise: Promise<any> = this.ormdutyService.FetchDefault(context, data, isloading);
promise.then((response: any) => {
if (response && response.status === 200) {
const data = response.data;
resolve(this.doItems(data));
} else {
resolve([]);
}
}).catch((response: any) => {
console.error(response);
reject(response);
});
});
}
/**
* 处理查询参数
* @param data 传入data
* @memberof ORMCL_ZW
*/
public handleQueryParam(data:any){
let tempData:any = data?JSON.parse(JSON.stringify(data)):{};
if(this.userParamNames && Object.keys(this.userParamNames).length >0){
Object.keys(this.userParamNames).forEach((name: string) => {
if (!name) {
return;
}
let value: string | null = this.userParamNames[name];
if (value && value.startsWith('%') && value.endsWith('%')) {
const key = value.substring(1, value.length - 1);
if (this.codelistModel && this.codelistModel.hasOwnProperty(key)) {
value = (this.codelistModel[key] !== null && this.codelistModel[key] !== undefined) ? this.codelistModel[key] : null;
} else {
value = null;
}
}
Object.assign(tempData, { [name]: value });
});
}
Object.assign(tempData,{page: 0, size: 1000});
if(this.queryParamNames && Object.keys(this.queryParamNames).length > 0){
Object.assign(tempData,this.queryParamNames);
}
return tempData;
}
}
import PIMSTAFFTYPEService from '@service/pimstafftype/pimstafftype-service';
/**
* 代码表--申报类型
*
* @export
* @class PCMCL_SBLX
*/
export default class PCMCL_SBLX {
/**
* 是否启用缓存
*
* @type boolean
* @memberof PCMCL_SBLX
*/
public isEnableCache:boolean = true;
/**
* 过期时间
*
* @type any
* @memberof PCMCL_SBLX
*/
public expirationTime:any;
/**
* 缓存超长时长
*
* @type any
* @memberof PCMCL_SBLX
*/
public cacheTimeout:any = -1;
/**
* 代码表模型对象
*
* @type any
* @memberof PCMCL_SBLX
*/
public codelistModel:any = {
codelistid:"PCMCL_SBLX"
};
/**
* 自定义参数集合
*
* @type any
* @memberof PCMCL_SBLX
*/
public userParamNames:any ={
}
/**
* 查询参数集合
*
* @type any
* @memberof PCMCL_SBLX
*/
public queryParamNames:any ={
sort: 'sbm,asc'
}
/**
* 员工类型管理应用实体服务对象
*
* @type {PIMSTAFFTYPEService}
* @memberof PCMCL_SBLX
*/
public pimstafftypeService: PIMSTAFFTYPEService = new PIMSTAFFTYPEService();
/**
* 处理数据
*
* @private
* @param {any[]} items
* @returns {any[]}
* @memberof PCMCL_SBLX
*/
private doItems(items: any[]): any[] {
let _items: any[] = [];
items.forEach((item: any) => {
let itemdata:any = {};
Object.assign(itemdata,{id:item.sbm});
Object.assign(itemdata,{value:item.sbm});
Object.assign(itemdata,{text:item.pimstafftypename});
_items.push(itemdata);
});
return _items;
}
/**
* 获取数据项
*
* @param {*} context
* @param {*} data
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof PCMCL_SBLX
*/
public getItems(context: any={}, data: any={}, isloading?: boolean): Promise<any> {
return new Promise((resolve, reject) => {
data = this.handleQueryParam(data);
const promise: Promise<any> = this.pimstafftypeService.FetchYPZ(context, data, isloading);
promise.then((response: any) => {
if (response && response.status === 200) {
const data = response.data;
resolve(this.doItems(data));
} else {
resolve([]);
}
}).catch((response: any) => {
console.error(response);
reject(response);
});
});
}
/**
* 处理查询参数
* @param data 传入data
* @memberof PCMCL_SBLX
*/
public handleQueryParam(data:any){
let tempData:any = data?JSON.parse(JSON.stringify(data)):{};
if(this.userParamNames && Object.keys(this.userParamNames).length >0){
Object.keys(this.userParamNames).forEach((name: string) => {
if (!name) {
return;
}
let value: string | null = this.userParamNames[name];
if (value && value.startsWith('%') && value.endsWith('%')) {
const key = value.substring(1, value.length - 1);
if (this.codelistModel && this.codelistModel.hasOwnProperty(key)) {
value = (this.codelistModel[key] !== null && this.codelistModel[key] !== undefined) ? this.codelistModel[key] : null;
} else {
value = null;
}
}
Object.assign(tempData, { [name]: value });
});
}
Object.assign(tempData,{page: 0, size: 1000});
if(this.queryParamNames && Object.keys(this.queryParamNames).length > 0){
Object.assign(tempData,this.queryParamNames);
}
return tempData;
}
}
import PCMXKMLService from '@service/pcmxkml/pcmxkml-service';
/**
* 代码表--学科目录
*
* @export
* @class PCMCL_XKML
*/
export default class PCMCL_XKML {
/**
* 是否启用缓存
*
* @type boolean
* @memberof PCMCL_XKML
*/
public isEnableCache:boolean = true;
/**
* 过期时间
*
* @type any
* @memberof PCMCL_XKML
*/
public expirationTime:any;
/**
* 缓存超长时长
*
* @type any
* @memberof PCMCL_XKML
*/
public cacheTimeout:any = -1;
/**
* 代码表模型对象
*
* @type any
* @memberof PCMCL_XKML
*/
public codelistModel:any = {
codelistid:"PCMCL_XKML"
};
/**
* 自定义参数集合
*
* @type any
* @memberof PCMCL_XKML
*/
public userParamNames:any ={
}
/**
* 查询参数集合
*
* @type any
* @memberof PCMCL_XKML
*/
public queryParamNames:any ={
}
/**
* 学科目录应用实体服务对象
*
* @type {PCMXKMLService}
* @memberof PCMCL_XKML
*/
public pcmxkmlService: PCMXKMLService = new PCMXKMLService();
/**
* 处理数据
*
* @private
* @param {any[]} items
* @returns {any[]}
* @memberof PCMCL_XKML
*/
private doItems(items: any[]): any[] {
let _items: any[] = [];
items.forEach((item: any) => {
let itemdata:any = {};
Object.assign(itemdata,{id:item.pcmxkmlid});
Object.assign(itemdata,{value:item.pcmxkmlid});
Object.assign(itemdata,{text:item.pcmxkmlname});
_items.push(itemdata);
});
return _items;
}
/**
* 获取数据项
*
* @param {*} context
* @param {*} data
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof PCMCL_XKML
*/
public getItems(context: any={}, data: any={}, isloading?: boolean): Promise<any> {
return new Promise((resolve, reject) => {
data = this.handleQueryParam(data);
const promise: Promise<any> = this.pcmxkmlService.FetchDefault(context, data, isloading);
promise.then((response: any) => {
if (response && response.status === 200) {
const data = response.data;
resolve(this.doItems(data));
} else {
resolve([]);
}
}).catch((response: any) => {
console.error(response);
reject(response);
});
});
}
/**
* 处理查询参数
* @param data 传入data
* @memberof PCMCL_XKML
*/
public handleQueryParam(data:any){
let tempData:any = data?JSON.parse(JSON.stringify(data)):{};
if(this.userParamNames && Object.keys(this.userParamNames).length >0){
Object.keys(this.userParamNames).forEach((name: string) => {
if (!name) {
return;
}
let value: string | null = this.userParamNames[name];
if (value && value.startsWith('%') && value.endsWith('%')) {
const key = value.substring(1, value.length - 1);
if (this.codelistModel && this.codelistModel.hasOwnProperty(key)) {
value = (this.codelistModel[key] !== null && this.codelistModel[key] !== undefined) ? this.codelistModel[key] : null;
} else {
value = null;
}
}
Object.assign(tempData, { [name]: value });
});
}
Object.assign(tempData,{page: 0, size: 1000});
if(this.queryParamNames && Object.keys(this.queryParamNames).length > 0){
Object.assign(tempData,this.queryParamNames);
}
return tempData;
}
}
import CodeItemService from '@service/code-item/code-item-service';
/**
* 代码表--学历
*
* @export
* @class PIM_XL2
*/
export default class PIM_XL2 {
/**
* 是否启用缓存
*
* @type boolean
* @memberof PIM_XL2
*/
public isEnableCache:boolean = true;
/**
* 过期时间
*
* @type any
* @memberof PIM_XL2
*/
public expirationTime:any;
/**
* 缓存超长时长
*
* @type any
* @memberof PIM_XL2
*/
public cacheTimeout:any = -1;
/**
* 代码表模型对象
*
* @type any
* @memberof PIM_XL2
*/
public codelistModel:any = {
codelistid:"PIM_XL2"
};
/**
* 自定义参数集合
*
* @type any
* @memberof PIM_XL2
*/
public userParamNames:any ={
codelistid:"829D2BC3-6987-45E4-BFC9-18E423248218"
}
/**
* 查询参数集合
*
* @type any
* @memberof PIM_XL2
*/
public queryParamNames:any ={
}
/**
* 代码项应用实体服务对象
*
* @type {CodeItemService}
* @memberof PIM_XL2
*/
public codeitemService: CodeItemService = new CodeItemService();
/**
* 处理数据
*
* @private
* @param {any[]} items
* @returns {any[]}
* @memberof PIM_XL2
*/
private doItems(items: any[]): any[] {
let _items: any[] = [];
items.forEach((item: any) => {
let itemdata:any = {};
Object.assign(itemdata,{id:item.codeitemvalue});
Object.assign(itemdata,{value:item.codeitemvalue});
Object.assign(itemdata,{text:item.codeitemname});
_items.push(itemdata);
});
return _items;
}
/**
* 获取数据项
*
* @param {*} context
* @param {*} data
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof PIM_XL2
*/
public getItems(context: any={}, data: any={}, isloading?: boolean): Promise<any> {
return new Promise((resolve, reject) => {
data = this.handleQueryParam(data);
const promise: Promise<any> = this.codeitemService.FetchCurCL(context, data, isloading);
promise.then((response: any) => {
if (response && response.status === 200) {
const data = response.data;
resolve(this.doItems(data));
} else {
resolve([]);
}
}).catch((response: any) => {
console.error(response);
reject(response);
});
});
}
/**
* 处理查询参数
* @param data 传入data
* @memberof PIM_XL2
*/
public handleQueryParam(data:any){
let tempData:any = data?JSON.parse(JSON.stringify(data)):{};
if(this.userParamNames && Object.keys(this.userParamNames).length >0){
Object.keys(this.userParamNames).forEach((name: string) => {
if (!name) {
return;
}
let value: string | null = this.userParamNames[name];
if (value && value.startsWith('%') && value.endsWith('%')) {
const key = value.substring(1, value.length - 1);
if (this.codelistModel && this.codelistModel.hasOwnProperty(key)) {
value = (this.codelistModel[key] !== null && this.codelistModel[key] !== undefined) ? this.codelistModel[key] : null;
} else {
value = null;
}
}
Object.assign(tempData, { [name]: value });
});
}
Object.assign(tempData,{page: 0, size: 1000});
if(this.queryParamNames && Object.keys(this.queryParamNames).length > 0){
Object.assign(tempData,this.queryParamNames);
}
return tempData;
}
}
import CodeItemService from '@service/code-item/code-item-service';
/**
* 代码表--户口类型
*
* @export
* @class PIMCL_HKLX
*/
export default class PIMCL_HKLX {
/**
* 是否启用缓存
*
* @type boolean
* @memberof PIMCL_HKLX
*/
public isEnableCache:boolean = true;
/**
* 过期时间
*
* @type any
* @memberof PIMCL_HKLX
*/
public expirationTime:any;
/**
* 缓存超长时长
*
* @type any
* @memberof PIMCL_HKLX
*/
public cacheTimeout:any = -1;
/**
* 代码表模型对象
*
* @type any
* @memberof PIMCL_HKLX
*/
public codelistModel:any = {
codelistid:"PIMCL_HKLX"
};
/**
* 自定义参数集合
*
* @type any
* @memberof PIMCL_HKLX
*/
public userParamNames:any ={
codelistid:"3F6DFE3C-1751-4696-AA60-6C63107437DE"
}
/**
* 查询参数集合
*
* @type any
* @memberof PIMCL_HKLX
*/
public queryParamNames:any ={
sort: 'ordervalue,asc'
}
/**
* 代码项应用实体服务对象
*
* @type {CodeItemService}
* @memberof PIMCL_HKLX
*/
public codeitemService: CodeItemService = new CodeItemService();
/**
* 处理数据
*
* @private
* @param {any[]} items
* @returns {any[]}
* @memberof PIMCL_HKLX
*/
private doItems(items: any[]): any[] {
let _items: any[] = [];
items.forEach((item: any) => {
let itemdata:any = {};
Object.assign(itemdata,{id:item.codeitemvalue});
Object.assign(itemdata,{value:item.codeitemvalue});
Object.assign(itemdata,{text:item.codeitemname});
_items.push(itemdata);
});
return _items;
}
/**
* 获取数据项
*
* @param {*} context
* @param {*} data
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof PIMCL_HKLX
*/
public getItems(context: any={}, data: any={}, isloading?: boolean): Promise<any> {
return new Promise((resolve, reject) => {
data = this.handleQueryParam(data);
const promise: Promise<any> = this.codeitemService.FetchCurCL(context, data, isloading);
promise.then((response: any) => {
if (response && response.status === 200) {
const data = response.data;
resolve(this.doItems(data));
} else {
resolve([]);
}
}).catch((response: any) => {
console.error(response);
reject(response);
});
});
}
/**
* 处理查询参数
* @param data 传入data
* @memberof PIMCL_HKLX
*/
public handleQueryParam(data:any){
let tempData:any = data?JSON.parse(JSON.stringify(data)):{};
if(this.userParamNames && Object.keys(this.userParamNames).length >0){
Object.keys(this.userParamNames).forEach((name: string) => {
if (!name) {
return;
}
let value: string | null = this.userParamNames[name];
if (value && value.startsWith('%') && value.endsWith('%')) {
const key = value.substring(1, value.length - 1);
if (this.codelistModel && this.codelistModel.hasOwnProperty(key)) {
value = (this.codelistModel[key] !== null && this.codelistModel[key] !== undefined) ? this.codelistModel[key] : null;
} else {
value = null;
}
}
Object.assign(tempData, { [name]: value });
});
}
Object.assign(tempData,{page: 0, size: 1000});
if(this.queryParamNames && Object.keys(this.queryParamNames).length > 0){
Object.assign(tempData,this.queryParamNames);
}
return tempData;
}
}
import CodeItemService from '@service/code-item/code-item-service';
/**
* 代码表--婚姻状况
*
* @export
* @class PIMCL_HY
*/
export default class PIMCL_HY {
/**
* 是否启用缓存
*
* @type boolean
* @memberof PIMCL_HY
*/
public isEnableCache:boolean = true;
/**
* 过期时间
*
* @type any
* @memberof PIMCL_HY
*/
public expirationTime:any;
/**
* 缓存超长时长
*
* @type any
* @memberof PIMCL_HY
*/
public cacheTimeout:any = -1;
/**
* 代码表模型对象
*
* @type any
* @memberof PIMCL_HY
*/
public codelistModel:any = {
codelistid:"PIMCL_HY"
};
/**
* 自定义参数集合
*
* @type any
* @memberof PIMCL_HY
*/
public userParamNames:any ={
codelistid:"16E118DF-AC33-49DA-BA0C-6E1F84CF805A"
}
/**
* 查询参数集合
*
* @type any
* @memberof PIMCL_HY
*/
public queryParamNames:any ={
sort: 'ordervalue,asc'
}
/**
* 代码项应用实体服务对象
*
* @type {CodeItemService}
* @memberof PIMCL_HY
*/
public codeitemService: CodeItemService = new CodeItemService();
/**
* 处理数据
*
* @private
* @param {any[]} items
* @returns {any[]}
* @memberof PIMCL_HY
*/
private doItems(items: any[]): any[] {
let _items: any[] = [];
items.forEach((item: any) => {
let itemdata:any = {};
Object.assign(itemdata,{id:item.codeitemvalue});
Object.assign(itemdata,{value:item.codeitemvalue});
Object.assign(itemdata,{text:item.codeitemname});
_items.push(itemdata);
});
return _items;
}
/**
* 获取数据项
*
* @param {*} context
* @param {*} data
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof PIMCL_HY
*/
public getItems(context: any={}, data: any={}, isloading?: boolean): Promise<any> {
return new Promise((resolve, reject) => {
data = this.handleQueryParam(data);
const promise: Promise<any> = this.codeitemService.FetchCurCL(context, data, isloading);
promise.then((response: any) => {
if (response && response.status === 200) {
const data = response.data;
resolve(this.doItems(data));
} else {
resolve([]);
}
}).catch((response: any) => {
console.error(response);
reject(response);
});
});
}
/**
* 处理查询参数
* @param data 传入data
* @memberof PIMCL_HY
*/
public handleQueryParam(data:any){
let tempData:any = data?JSON.parse(JSON.stringify(data)):{};
if(this.userParamNames && Object.keys(this.userParamNames).length >0){
Object.keys(this.userParamNames).forEach((name: string) => {
if (!name) {
return;
}
let value: string | null = this.userParamNames[name];
if (value && value.startsWith('%') && value.endsWith('%')) {
const key = value.substring(1, value.length - 1);
if (this.codelistModel && this.codelistModel.hasOwnProperty(key)) {
value = (this.codelistModel[key] !== null && this.codelistModel[key] !== undefined) ? this.codelistModel[key] : null;
} else {
value = null;
}
}
Object.assign(tempData, { [name]: value });
});
}
Object.assign(tempData,{page: 0, size: 1000});
if(this.queryParamNames && Object.keys(this.queryParamNames).length > 0){
Object.assign(tempData,this.queryParamNames);
}
return tempData;
}
}
import CodeItemService from '@service/code-item/code-item-service';
/**
* 代码表--民族
*
* @export
* @class PIMCL_NATION
*/
export default class PIMCL_NATION {
/**
* 是否启用缓存
*
* @type boolean
* @memberof PIMCL_NATION
*/
public isEnableCache:boolean = true;
/**
* 过期时间
*
* @type any
* @memberof PIMCL_NATION
*/
public expirationTime:any;
/**
* 缓存超长时长
*
* @type any
* @memberof PIMCL_NATION
*/
public cacheTimeout:any = -1;
/**
* 代码表模型对象
*
* @type any
* @memberof PIMCL_NATION
*/
public codelistModel:any = {
codelistid:"PIMCL_NATION"
};
/**
* 自定义参数集合
*
* @type any
* @memberof PIMCL_NATION
*/
public userParamNames:any ={
codelistid:"686FF964-9A11-4900-85FB-0DCBF9F59BC6"
}
/**
* 查询参数集合
*
* @type any
* @memberof PIMCL_NATION
*/
public queryParamNames:any ={
sort: 'ordervalue,asc'
}
/**
* 代码项应用实体服务对象
*
* @type {CodeItemService}
* @memberof PIMCL_NATION
*/
public codeitemService: CodeItemService = new CodeItemService();
/**
* 处理数据
*
* @private
* @param {any[]} items
* @returns {any[]}
* @memberof PIMCL_NATION
*/
private doItems(items: any[]): any[] {
let _items: any[] = [];
items.forEach((item: any) => {
let itemdata:any = {};
Object.assign(itemdata,{id:item.codeitemvalue});
Object.assign(itemdata,{value:item.codeitemvalue});
Object.assign(itemdata,{text:item.codeitemname});
_items.push(itemdata);
});
return _items;
}
/**
* 获取数据项
*
* @param {*} context
* @param {*} data
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof PIMCL_NATION
*/
public getItems(context: any={}, data: any={}, isloading?: boolean): Promise<any> {
return new Promise((resolve, reject) => {
data = this.handleQueryParam(data);
const promise: Promise<any> = this.codeitemService.FetchCurCL(context, data, isloading);
promise.then((response: any) => {
if (response && response.status === 200) {
const data = response.data;
resolve(this.doItems(data));
} else {
resolve([]);
}
}).catch((response: any) => {
console.error(response);
reject(response);
});
});
}
/**
* 处理查询参数
* @param data 传入data
* @memberof PIMCL_NATION
*/
public handleQueryParam(data:any){
let tempData:any = data?JSON.parse(JSON.stringify(data)):{};
if(this.userParamNames && Object.keys(this.userParamNames).length >0){
Object.keys(this.userParamNames).forEach((name: string) => {
if (!name) {
return;
}
let value: string | null = this.userParamNames[name];
if (value && value.startsWith('%') && value.endsWith('%')) {
const key = value.substring(1, value.length - 1);
if (this.codelistModel && this.codelistModel.hasOwnProperty(key)) {
value = (this.codelistModel[key] !== null && this.codelistModel[key] !== undefined) ? this.codelistModel[key] : null;
} else {
value = null;
}
}
Object.assign(tempData, { [name]: value });
});
}
Object.assign(tempData,{page: 0, size: 1000});
if(this.queryParamNames && Object.keys(this.queryParamNames).length > 0){
Object.assign(tempData,this.queryParamNames);
}
return tempData;
}
}
/**
* 代码表--职级
*
* @export
* @class PIMCL_RANK
*/
export default class PIMCL_RANK {
/**
* 是否启用缓存
*
* @type boolean
* @memberof PIMCL_RANK
*/
public isEnableCache:boolean = true;
/**
* 过期时间
*
* @type any
* @memberof PIMCL_RANK
*/
public expirationTime:any;
/**
* 缓存超长时长
*
* @type any
* @memberof PIMCL_RANK
*/
public cacheTimeout:any = -1;
/**
* 代码表模型对象
*
* @type any
* @memberof PIMCL_RANK
*/
public codelistModel:any = {
codelistid:"PIMCL_RANK"
};
/**
* 自定义参数集合
*
* @type any
* @memberof PIMCL_RANK
*/
public userParamNames:any ={
}
/**
* 查询参数集合
*
* @type any
* @memberof PIMCL_RANK
*/
public queryParamNames:any ={
}
/**
* 获取数据项
*
* @param {*} data
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof PIMCL_RANK
*/
public getItems(data: any={}, isloading?: boolean): Promise<any> {
return Promise.reject([]);
}
/**
* 处理查询参数
* @param data 传入data
* @memberof PIMCL_RANK
*/
public handleQueryParam(data:any){
let tempData:any = data?JSON.parse(JSON.stringify(data)):{};
if(this.userParamNames && Object.keys(this.userParamNames).length >0){
Object.keys(this.userParamNames).forEach((name: string) => {
if (!name) {
return;
}
let value: string | null = this.userParamNames[name];
if (value && value.startsWith('%') && value.endsWith('%')) {
const key = value.substring(1, value.length - 1);
if (this.codelistModel && this.codelistModel.hasOwnProperty(key)) {
value = (this.codelistModel[key] !== null && this.codelistModel[key] !== undefined) ? this.codelistModel[key] : null;
} else {
value = null;
}
}
Object.assign(tempData, { [name]: value });
});
}
Object.assign(tempData,{page: 0, size: 1000});
if(this.queryParamNames && Object.keys(this.queryParamNames).length > 0){
Object.assign(tempData,this.queryParamNames);
}
return tempData;
}
}
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册