Commit 60cb809c authored by xioln's avatar xioln

项目创建

parents
Pipeline #907 failed with stages
.DS_Store
node_modules
/dist
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
This diff is collapsed.
608 5g web
\ No newline at end of file
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
module.exports = {
presets: ['@vue/cli-plugin-babel/preset', ['@babel/preset-env', { modules: false }]],
plugins: [
[
'component',
{
libraryName: 'element-ui',
styleLibraryName: 'theme-chalk'
}
]
// // 打包环境去掉console.log
// new UglifyJsPlugin({
// uglifyOptions: {
// compress: {
// warnings: false,
// drop_console: true, // 注释console
// drop_debugger: true, // 注释debugger
// pure_funcs: ['console.log'] // 移除console.log
// }
// }
// })
]
}
This diff is collapsed.
{
"name": "dex-mobile",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
"axios": "^0.21.1",
"core-js": "^3.6.5",
"crypto-js": "^4.0.0",
"element-ui": "^2.15.6",
"js-cookie": "^2.2.1",
"moment": "^2.29.1",
"pdfh5": "^1.4.2",
"pdfjs-dist": "^2.5.207",
"uglifyjs-webpack-plugin": "^2.2.0",
"vant": "^2.12.10",
"vue": "^2.6.11",
"vue-giant-tree": "^0.1.4",
"vue-router": "^3.0.7",
"vue-touch": "^2.0.0-beta.4",
"vuex": "^3.4.0",
"vuex-persist": "^3.1.3"
},
"devDependencies": {
"@babel/preset-env": "^7.16.11",
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-plugin-router": "~4.5.0",
"@vue/cli-plugin-vuex": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"@vue/eslint-config-standard": "^5.1.2",
"babel-eslint": "^8.1.0",
"babel-plugin-component": "^1.1.1",
"encryptlong": "^3.1.4",
"eslint": "^6.7.2",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.0",
"eslint-plugin-vue": "^6.2.2",
"jsencrypt": "^3.3.2",
"node-sass": "^4.14.1",
"postcss-px-to-viewport": "^1.1.1",
"sass-loader": "^8.0.2",
"vue-template-compiler": "^2.6.11"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"@vue/standard"
],
"parserOptions": {
"parser": "babel-eslint"
},
"rules": {
"space-before-function-paren": 0
}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}
\ No newline at end of file
// postcss.config.js文件
module.exports = {
plugins: {
'postcss-px-to-viewport': {
unitToConvert: 'px', // 需要转换的单位,默认为"px"
viewportWidth: 375, // 视窗的宽度,对应的是我们设计稿的宽度
viewportHeight: 1334, // 视窗的高度,根据375设备的宽度来指定,一般指定667,也可以不配置
unitPrecision: 13, // 指定`px`转换为视窗单位值的小数位数(很多时候无法整除)
propList: ['*'], // 能转化为vw的属性列表
viewportUnit: 'vw', // 指定需要转换成的视窗单位,建议使用vw
fontViewportUnit: 'vw', // 字体使用的视口单位
selectorBlackList: ['.ignore-', '.hairlines'], // 指定不转换为视窗单位的类,可以自定义,可以无限添加,建议定义一至两个通用的类名
minPixelValue: 1, // 小于或等于`1px`不转换为视窗单位,你也可以设置为你想要的值
mediaQuery: false, // 允许在媒体查询中转换`px`
replace: true, // 是否直接更换属性值,而不添加备用属性
exclude: [
/RightBar/,
/gotop.vue/
], // 忽略某些文件夹下的文件或特定文件,例如 'node_modules' 下的文件
landscape: false, // 是否添加根据 landscapeWidth 生成的媒体查询条件 @media (orientation: landscape)
landscapeUnit: 'vw', // 横屏时使用的单位
landscapeWidth: 1134 // 横屏时使用的视口宽度
}
}
}
// 测试环境
// const VUE_APP_BASE_API = 'http://192.168.1.248:9100' // eslint-disable-line
// 开发环境
const VUE_APP_BASE_API = '' // eslint-disable-line
// 供应商PC端地址&通飞PC端地址
// 生产
// const SUPPLIER_BASE_IP = 'http://10.19.5.12:9300/#/home' // eslint-disable-line
// const GACE_BASE_IP = 'http://10.19.5.12/#/home' // eslint-disable-line
// dev测试
// const SUPPLIER_BASE_IP = 'http://114.115.155.252:9300/#/home' // eslint-disable-line
// const GACE_BASE_IP = 'http://114.115.155.252/#/home' // eslint-disable-line
// 112测试
const SUPPLIER_BASE_IP = 'http://10.19.5.112:9300/#/home' // eslint-disable-line
const GACE_BASE_IP = 'http://10.19.5.112/#/home' // eslint-disable-line
// 本地
// const SUPPLIER_BASE_IP = 'localhost/#/home' // eslint-disable-line
// const GACE_BASE_IP = 'http://192.168.31.30:9303/#/home' // eslint-disable-line
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- <meta name="viewport" content="width=device-width,initial-scale=1.0"> -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>
<%= htmlWebpackPlugin.options.title %>
</title>
</head>
<body>
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<script src="apiUrl.js"></script>
<script src="newVisualizing/visualizing/BIM3DInterface.js"></script>
<script src="newVisualizing/visualizing/BIM3DViewer.js"></script>
<script src="newVisualizing/visualizing/lic.js"></script>
<!-- built files will be auto injected -->
</body>
</html>
This diff is collapsed.
This diff is collapsed.
html,body {
width:100%;
height: 100%;
padding:0;
margin:0;
}
/* body {
background:linear-gradient(0deg,rgba(249,250,251,1),rgba(167,179,203,1)) no-repeat;
} */
#webgl_out {
left: 0px;
top: 0px;
width: 100%;
height: 100%;
position: absolute;
opacity: 0;
z-index: 98;
display: none;
}
#cubeDom {
opacity: 0.25;
}
.webgl_sign {
width: 260px;
height: 200px;
background:#fff;
border:1px solid rgba(224,231,236,1);
border-radius:4px;
position: fixed;
top: 20%;
left: 10%;
user-select: none;
display: none;
z-index: 99;
}
.webgl_sign_title {
width: 100%;
height: 37px;
padding: 0 10px;
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
border-bottom: 1px solid rgba(224,231,236,1);
font-size:14px;
font-family:FZLanTingHei-L-GBK;
font-weight:400;
color:rgba(56,56,56,1);
cursor:move;
}
#cubeDom:hover {
opacity: 1.0;
}
.webgl_signClose {
position: relative;
width: 12px;
height: 12px;
cursor: pointer;
}
.webgl_signClose >:first-child {
width: 13px;
height:2px;
position: absolute;
top:5px;
left: 0px;
background:#ccc;
transform: rotateZ(45deg)
}
.webgl_signClose >:last-child {
width: 13px;
height:2px;
position: absolute;
top:5px;
left: 0px;
background:#ccc;
transform: rotateZ(-45deg)
}
.webgl_content {
width: 100%;
padding: 10px 18px 0;
box-sizing: border-box;
}
.webgl_row {
margin-top:10px;
width: 100%;
height: 24px;
display: flex;
justify-content: space-between;
font-size:13px;
font-family:FZLanTingHei-L-GBK;
font-weight:400;
color:rgba(56,56,56,1);
}
.webgl_label {
line-height: 24px;
}
.webgl_func {
width: 160px;
height: 24px;
background:rgba(224,231,236,1);
border-radius:2px;
padding: 0 10px;
display: flex;
align-items: center;
box-sizing: border-box;
}
.webgl_switch {
width: 40px;
height: 18px;
background: #1890ff;
position: relative;
display: flex;
cursor: pointer;
}
.webgl_slider {
width: 18px;
height: 16px;
position: absolute;
top:1px;
right: 1px;
background:#fff;
}
.webgl_status {
width: 20px;
height: 18px;
color:#fff;
text-align: center;
line-height: 18px;
}
.webgl_count {
width: 110px;
height:2px;
background:rgba(179,179,179,1);
border-radius:1px;
position: relative;
}
.webgl_drag {
width:6px;
height:10px;
background:rgba(0,151,137,1);
position: absolute;
top:-4px;
left:24.5px;
cursor: pointer;
}
.webgl_blockCount {
font-size:12px;
font-family:FZLanTingHei-L-GBK;
font-weight:400;
color:rgba(56,56,56,1);
margin-left: 10px;
}
#webgl_input,#webgl_inputWord,#webgl_inputBackground,#webgl_inputSetBackground,#webgl_inputSetLightBackground,#webgl_inputSetBackground1,#webgl_inputSetLightBackgroundFace {
display: none;
}
#webgl_color {
background: #ED1C24;
}
#webgl_colorWord{
background: #ED1C24;
}
#webgl_setBackground{
background: #123456;
}
#webgl_setBackground1{
background: #eee;
}
#webgl_setLightBackground{
background: #ffc000;
}
#webgl_setLightBackgroundFace{
background: #009789;
}
.webgl_span {
display: inline-flex;
width: 140px;
height: 24px;
/* line-height: 24px; */
font-size:12px;
font-family:FZLanTingHei-L-GBK;
font-weight:400;
color:rgba(56,56,56,1);
/* padding-top:3px; */
box-sizing: border-box;
align-items: center;
}
.webgl_color {
display: inline-block;
width:80px;
height:18px;
background:#fff;
border-radius:2px;
margin-right: 10px;
border:1px solid #000000;
box-sizing: border-box;
}
.webgl_footer {
width: 100%;
padding: 0 18px;
box-sizing: border-box;
display: flex;
justify-content: flex-end;
padding-top: 30px;
}
.webgl_cancel, .webgl_ok {
width: 60px;
height: 28px;
text-align: center;
line-height: 28px;
border:1px solid rgba(224,231,236,1);
border-radius:4px;
font-size:14px;
font-family:FZLanTingHei-L-GBK;
font-weight:400;
color:rgba(26,26,26,1);
cursor: pointer;
}
.webgl_ok {
border:none;
background:rgba(0,151,137,1);
color:#fff;
margin-left: 10px;
}
/* 文字标注模块 */
.webgl_word {
width: 260px;
height: 430px;
position: fixed;
top: 20%;
left: 10%;
background:rgba(255,255,255,1);
border:1px solid rgba(224,231,236,1);
border-radius:4px;
user-select: none;
display: none;
z-index: 99;
}
.webgl_edit {
width: 100%;
height:80px;
display: flex;
justify-content: space-between;
padding-top: 10px;
box-sizing: border-box;
color:rgba(56,56,56,1);
font-family:FZLanTingHei-L-GBK;
}
.webgl_area {
font-size: 13px;
}
.webgl_tt {
width: 160px;
height: 80px;
padding: 5px;
box-sizing: border-box;
border:1px solid rgba(224,231,236,1);
border-radius:2px;
font-size:12px;
font-family:FZLanTingHei-L-GBK;
overflow: hidden;
}
/* 设置 */
.webgl_set {
width: 320px;
height: 375px;
/* height: 330px; */
background:#fff;
border:1px solid rgba(224,231,236,1);
border-radius:4px;
position: fixed;
top: 20%;
left: 10%;
user-select: none;
display: none;
z-index: 99;
}
\ No newline at end of file
/** 授权信息 */
// eslint-disable-next-line no-unused-vars
var licenseContent =
`<?xml version="1.0" encoding="UTF-8"?>
<license>
<productname>CG-Web3DViewer</productname>
<productcode>CG-Web3DViewer</productcode>
<productversion>1.0</productversion>
<clientname>西安阳易信息技术有限公司</clientname>
<clientcomputercode>00000000000000000000000000000000</clientcomputercode>
<startdate>2021/04/19</startdate>
<enddate>2099/12/31</enddate>
<maxusercount>1</maxusercount>
<checkcode>41185CDF6996587A7E2F974C038DA19C4394BD0C25D5768607A34BCE9E014C116B37A28EECF4118876FE108184214AD573CA3047669532720E763F78474B0485FECF7AAF0DE25E64DF5C331B09E2FCA835E2B25640D21687546E4E00112C4370B5A0918CD6BFB1EEF80045B769280A9DA81AC64B6A43973393FB7C14970E4DBAE0950773968176D8FDBE988BADE77B5DF466A109239C161A02284646184736515EAB325595946E0CC67C1A12785A874BB99FF052E3A19BCE44BD2B05C1786521E24A97C192E49E34456F6564EF466423A06CD4699D1574AE46E9BC15C202303AA7C91468F0751B257FD2CD9083B02ECF7E78D9CF000C40408ECEA6456A01D10A5C4395CE303EDCCDFCD5072DAFB66DACABB587C213155610AAB9B55568A0DD83C275D7E5EC455203A3000067F2489C3F9193314B0C9B84D33EC7BE10EDD916B5E55EE1E47E96AFB84CFA2FEC90F33F0532879318DBB35A8E9B1D95E2C5694EFB03C97CA04CF220A997781B40EC6104F395763D2E2200E140EF455D05923749601895F2AD3CCE504060CA0C8475B91417374D5499227A60B961D6E8CE47134CB3DA383932BCAF55EC6017E6CADC26A3ADDFBA104844BA857C6BE80433AC02528969E43F72B6F93B9FBD4F5D766E475735748E4299FDDD841B1EBA9ADA57384AF899B59BAA96A1432596C3E4E124BB37DA489EBBE554BBF89021A8092796D22AB789A3ECEE28F8DB5BB1252C4CEB306D019BBA0D572076F6AC6D569244FF179DA1D5040EF30BAF6CC917AA7926E11C1A3BF32B4004238CE0CCFE687B5E6B6133F8445B3BC2A44F5FEF231CFE5D5BCDD947FFD87D23965488FC617FD7D40D6576D2708C36DCB1BA806D0192A4AC8CC2383AA2D2ABDD87C50CD20233F41F0D5FF5FC0A0513943EACCD6FE63A9722A8D4A32154D427C0C3638F9F7350026DD6A62FFAAC0D1FFFCE6FB4E2915A13AF6EC2284A0242ECE694D8833E24924A8BA71C18BA52867E867F38266F1C1D58DAFD02FB99158B16184B12EA44F790DFFE9E0F8ADCB6159D9DE007C086DB89B9E9395BB375E1AA0BD38202584941539750609D547CD1D8B863139DBBA17F07B969F0D30EFC9FFD2F0D0F83AE013C7BE4D483B09CCD3B5C65FABC8F11B5D611E0FDCD6BE8A38390A88E509BA64B346F2A06A9ED3E1995D067FE17279BFA67C3F0DC3AE036F44A7F80360C9A6DBB851C2DBAD2FDF72952E27B0A3EC7FC46AB912017CDF4DEFDDE1CA2A3CEC6F1BF35C49DEC02C7833DC488C64D2B5EAC9751694938A9BDE3C9</checkcode>
</license>`
<template>
<div id="app">
<!-- <router-view class="main"></router-view> -->
<keep-alive>
<router-view v-if="$route.meta.keepAlive" class="main"></router-view>
</keep-alive>
<router-view v-if="!$route.meta.keepAlive" class="main"></router-view>
<tabbar v-if="$route.path!=='/login'"/>
</div>
</template>
<script>
import configure from '@/mixins/configure.js'
import Tabbar from '@/views/tabbar/index.vue'
export default {
name: 'app',
components: { Tabbar },
mixins: [configure],
// 数据源 给组件分发数据用
data () {
return {
title: '登录',
transitionName: 'fade'
}
},
mounted () {
this.title = this.$route.name
},
// 基于路由变化的动态 设置路由切换动画
watch: {
$route (to, from) {
// 仅登录时导航不显示返回按钮 其他都显示
this.title = to.name
// 网页标题更改
document.title = this.title
// const toDepth = to.path.split('/').length
// const fromDepth = from.path.split('/').length
// if (toDepth !== fromDepth) {
// this.transitionName = toDepth < fromDepth ? 'slide-right' : 'slide-left'
// } else {
// // 如果是层级为1一级界面
// this.transitionName = 'fade'
// }
}
},
methods: {}
}
</script>
<style lang="scss">
html,
body {
height: 100%;
}
@font-face {
font-family: "PingFang";
// src: url("/font/PingFang SC Regular.ttf");
src: url("/font/Alibaba-PuHuiTi-Regular.ttf");
}
#app {
// font-family: Avenir, Helvetica, Arial, sans-serif;
font-family: PingFang;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
// text-align: center;
color: #333333;
width: 100%;
height: 100%;
.main {
height: 100%;
background: #fff;
}
.router {
position: absolute;
width: 100%;
height: 100%;
background-color: #f5f5f5;
transition: all 500ms ease;
box-shadow: px2rem(-2px) 0 px2rem(30px) rgba(0, 0, 0, 0.1);
}
.slide-left-enter,
.slide-right-leave-active {
transform: translate(100%, 0);
z-index: 1000;
}
/*解决页面层级显示在滑动上层问题*/
.slide-left-leave-active,
.slide-left-leave-to {
z-index: 0;
}
.fade-enter-active,
.fade-leave-active {
transition: opacity 0.5s;
}
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
opacity: 0;
}
.sub-title {
font-size: 14px;
font-weight: bold;
}
.van-tabs__line {
background: linear-gradient(207deg, #68b7f6 0%, #5baaf2 100%);
}
}
</style>
import { get, put } from '@/utils/http'
// 获取个人页面配置
export function getConfigure () {
return get('/api/users/workspace/workspace')
}
// 保存个人页面配置
export function saveConfigure (params) {
return put('/api/users/workspace/workspace', { workspace: params })
}
import { get, post, del, put } from '../utils/http'
export function existPart (number) {
return get('api/parts?number=' + number)
}
// 获取树结构
export function getChildren (id, view, level) {
return get(`/api/parts/views/bom?id=${id}&view=${view}&level=${level}`)
}
export function getPartById (id) {
return get('api/parts/' + id)
}
// 获取历史流程
export function processes (id, subTypeName) {
return get(`/api/workflow/processes/${id}/${subTypeName}`)
}
export function iterations (partId) {
return get(`api/parts/versions/${partId}/iterations`)
}
// 检入
export function checkin (partId) {
return post(`api/parts/versions/${partId}/checkin`)
}
// 检出
export function checkoutByPartId (partId) {
return post(`api/parts/versions/${partId}/checkout`)
}
// 撤销检出
export function uncheckoutByPartId (partId) {
return post(`api/parts/versions/${partId}/undocheckout`)
}
export function adddoc (partId) {
return get(`api/parts/adddoc/${partId}`)
}
export function add (partId, docId) {
return post('api/parts/adddoc?partId=' + partId + '&docId=' + docId)
}
export function remove (partId, docId) {
return del('api/parts/adddoc?partId=' + partId + '&docId=' + docId)
}
// 创建勘误单接口
export function errorapply (number) {
return post('api/errorapply/' + number)
}
// 勘误单验证 (根据代号查他的属性)
export function adderver (number) {
return get('api/parts?number=' + number)
}
// 父部件不为电子部件时查看父部件下是否存在电子部件
export function foundmap (number) {
return get('api/parts/confirm/' + number)
}
// 通过id(传过来)获取信息 通过id获取信息
export function arrget (number) {
return get('api/errorapply/' + number)
}
// 查看父部件下是否有关联图样
export function changemap (parentid) {
return get('api/parts/confirmty/' + parentid)
}
// 查看父子组件link关系是否存在
export function ablink (parentId, childId) {
return get('api/parts/partLink/' + parentId + '/' + childId)
}
// 创建接口刊物
export function addkanw (number) {
return post('api/errorapply/add', number)
}
// 寻找基线
export function jiline (number) {
return get('api/errorapply/getBaseLine/' + number)
}
// 获取刊物项
export function getlist (number) {
return get('api/errorapply/extErrorChange/' + number)
}
// 通过id查勘误单的勘误项
export function getParetNo (number) {
return get('api/errorapply/' + number)
}
// 通过id删除勘误单的勘误项
export function deletelist (number) {
return del('api/errorapply/' + number)
}
// 编辑修改勘误项信息
export function changelist (number) {
return put('api/errorapply', number)
}
// 根据图样编号获取文档对象的 返回list 有值代表存在 取第一个
export function ifmap (number) {
return get('api/documents/number/' + number)
}
export function ifhave (number, num) {
return get('api/parts/relation/' + number + '/' + num)
}
// 子项代号查当前版本
export function childrenid (partId) {
return get(`api/parts/versions/${partId}/iterations`)
}
// 添加除过申请外其他
export function addlist (number) {
return post('api/errorapply/addOther', number)
}
export function searchDs (params) {
return get('Windchill/extRest/ebom/searchDS', params)
}
export function searchFDS (params) {
return get('Windchill/extRest/ebom/searchFDS', params)
}
export function createEbomApprovalPackage (params) {
return post('Windchill/extRest/ebom/createEBOMApprovalPackage', params)
}
export function createFDSApprovalPackage (params) {
return post('Windchill/extRest/ebom/createFDSApprovalPackage', params)
}
export function getBom (id, view, level) {
return get(`/api/ext/parts/viewBom/system?partId=${id}&view=${view}&level=${level}`)
}
export function importBOMStructure (params) {
return get('Windchill/extRest/ebom/importBOMStructure', params)
}
export function importSSCILink (params) {
return get('Windchill/extRest/ebom/importSSCILink', params)
}
export function navigationMasterView (params) {
return get('Windchill/extRest/designCenter/navigationMasterView', params)
}
export function navigationMasterView2 (params) {
return get('Windchill/extRest/designCenter/navigationMasterView2', params)
}
export function navigationMasterView3 (params) {
return get('Windchill/extRest/designCenter/navigationMasterView3', params)
}
export function navigationSoftHardView (params) {
return get('Windchill/extRest/designCenter/navigationSoftHardView', params)
}
export function navigationSSCIView (params) {
return get('Windchill/extRest/designCenter/navigationSSCIView', params)
}
export function navigationATBView (params) {
return get('Windchill/extRest/designCenter/navigationATBView', params)
}
export function navigationSystemView (params) {
return get('Windchill/extRest/designCenter/navigationSystemView', params)
}
export function isFunctionEnabled () {
return get('Windchill/extRest/access/isFunctionEnabled')
}
export function SupplierMultipleUIPage () {
return get('Windchill/extRest/supplier/SupplierMultipleUIPage')
}
export function searchObject (params) {
return post('Windchill/extRest/supplier/searchObject', params)
}
export function SelectedObject (params) {
return post('Windchill/extRest/supplier/SelectedObject', params)
}
export function createMultipleSupplierPackage (params) {
return post('Windchill/extRest/supplier/createMultipleSupplierPackage', params)
}
export function isCADSubmiter (params) {
return post('Windchill/extRest/ebom/isCADSubmiter', params)
}
export function allowAddFDSToModule (params) {
return post('Windchill/extRest/ebom/allowAddFDSToModule', params)
}
export function getDataReleasePageUi (params) {
return post('Windchill/extRest/supplier/getDataReleasePageUi', params)
}
export function searchBaselineByKeyword (params) {
return post('Windchill/extRest/baseline/searchBaselineByKeyword', params)
}
// 获取件号
export function searchWTPartByKeyword (params) {
return post('Windchill/extRest/designCenter/searchWTPartByKeyword', params)
}
import { get, post } from '../utils/http'
export function retriveDocClassification (params) {
return get('Windchill/extRest/doccenter/retriveDocClassification', params)
}
export function getDocsByClassification (params) {
return post('Windchill/extRest/doccenter/getDocsByClassification', params)
}
export function getModels () {
return get('Windchill/extRest/doccenter/getModels')
}
export function getDispatchUnits () {
return get('Windchill/extRest/doccenter/getDispatchUnits')
}
export function countByKeyWords (params) {
return post('Windchill/extRest/doccenter/countByKeyWords', params)
}
export function searchByKeyWords (params) {
return post('Windchill/extRest/doccenter/searchByKeyWords', params)
}
import { get, post } from '../utils/http'
// import store from '../store'
export function getUserReceiveItem(params) {
return get('Windchill/extRest/workitem/getUserReceiveItem', params)
}
export function getUserCreateProcess(params) {
return get('Windchill/extRest/workitem/getUserCreateProcess', params)
}
export function isICDObject(params) {
return get('Windchill/extRest/icd/isICDObject', params)
}
// 获取工作流
export function getByWorkItemIdBatchId(id) {
return get(`Windchill/extRest/bpmworkflow/items/${id}`)
}
// #####
// 获取待办已办任务列表数量
export function getStatistics(params) {
return post('/workflow/task/statistics', params)
}
// 获取我发起任务列表数量
export function getInstStatistics(params) {
return post('/workflow/inst/statistics', params)
}
This diff is collapsed.
import { post, get } from '../utils/http'
// 608登陆接口
export function captchaLogin (params) {
return post('/ExtAccount/captcha/login', params)
}
// 获取验证码
export function extAccountCaptcha () {
return get('/ExtAccount/captcha')
}
import { get, post } from '../../utils/http'
import store from '../../store'
/**
* @Description: 获取用户
* @author lyk
* @date 2019/10/12
*/
export function getUser() {
return get('/api/users')
}
/**
* @Description: 根据名称和用户组查询用户
* @author lyk
* @date 2019/10/12
*/
export function getUserByName(fullName, group) {
return get(`/api/users?name=${fullName}&group=${group}`)
}
/**
* @Description: 根据角色查询用户
* @author lyk
* @date 2019/10/12
*/
export function getUserByRole(params) {
return get('/api/users/roles?values=' + params)
}
export function isAdministrator() {
return get(`${store.state.user.urlBaseApi}/extRest/access/isAdministrator`)
}
export function isDisplayTopImport() {
return get(`${store.state.user.urlBaseApi}/extRest/common/isDisplayTopImport`)
}
export function current() {
return get(`/api/users/current`)
}
export function extUserPwd(parmas) {
return post(`${store.state.user.urlBaseApi}/extRest/extUserPwd/change`, parmas)
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment