提交 43f14736 编写于 作者: ibizdev's avatar ibizdev

tony001 发布系统代码 [TrainSys,Mob]

上级 2c0d7f81
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
// dynamic front template
\ No newline at end of file
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
quote_type = single
[*.md]
trim_trailing_whitespace = false
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
dist
node_modules
public
vite.config.ts
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
module.exports = {
root: true,
env: {
browser: true,
es2021: true,
},
extends: [
'airbnb-base',
'plugin:vue/recommended',
'plugin:prettier/recommended',
],
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 'latest',
sourceType: 'module',
},
plugins: ['vue', '@typescript-eslint', 'unused-imports'],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-undef': [0],
'no-plusplus': ['error', { allowForLoopAfterthoughts: true }], // 禁止使用++,--
'class-methods-use-this': [0], // 强制未使用到 this 的对象方法改为静态
'prefer-destructuring': [0],
'import/no-unresolved': [0],
'unused-imports/no-unused-imports': 'error',
'no-underscore-dangle': [0], // 禁止使用下划线开头的变量名
'consistent-return': [0], // return 后面是否允许省略
'func-names': [0], // 函数表达式必须有名字
'import/extensions': [0], // 引入文件时必须制定后缀
'import/prefer-default-export': [0], // 关闭首选默认导出
'vue/no-setup-props-destructure': [0],
'vue/require-default-prop': [0], // props 非必填参数必须给默认值
'no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
'@typescript-eslint/no-inferrable-types': [0],
'@typescript-eslint/no-explicit-any': ['error'],
},
};
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist/**
dist-ssr/**
*.local
# Editor directories and files
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# rollup 插件包分析文件
stats.html
\ No newline at end of file
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
registry=https://registry.npmjs.org/
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
# 起始格式化间隔
tabWidth: 2
# 使用单引号
singleQuote: true
# jsx 中使用单引号
jsxSingleQuote: true
# 对象中的 key 是否需要引号。as-needed: 只有在必须时才要
quoteProps: as-needed
# 每行结尾是否需要分号
trailingComma: all
# 括号中参数前后补充空格
bracketSpacing: true
# 箭头函数,参数是否添加括号
arrowParens: avoid
# jsx 元素最后末尾的 > ,换行放置
bracketSameLine: false
# 设置换行符
endOfLine: 'lf'
\ No newline at end of file
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
root: true
extends:
[
'stylelint-config-ali',
'stylelint-config-standard',
'stylelint-config-standard-scss',
'stylelint-config-recess-order',
'stylelint-config-prettier',
'stylelint-scss',
]
rules:
annotation-no-unknown: null
color-no-invalid-hex: true
function-name-case: null # 强制样式方法名称小写或大写
no-duplicate-selectors: null
selector-class-pattern: null
scss/dollar-variable-pattern: null
scss/at-function-pattern: null
scss/dollar-variable-empty-line-before: null # 变量声明之间不可以有空白行
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
{
"recommendations": [
"Vue.volar",
"dbaeumer.vscode-eslint",
"stylelint.vscode-stylelint"
]
}
\ No newline at end of file
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.stylelint": true,
},
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
],
"stylelint.validate": [
"css",
"less",
"scss",
"postcss"
],
"stylelint.customSyntax": "postcss-scss"
}
\ No newline at end of file
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
FROM image.ibizlab.cn/library/nginx-dynamic:v5.1
WORKDIR /
COPY dist /dist
COPY environment.config /
\ No newline at end of file
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
appId:BASEURL
mockDcSystemId:MOCKDCSYSTEMID
hub:HUB
\ No newline at end of file
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
server {
listen 80;
server_name localhost;
location /${app.getPKGCodeName()?lower_case}/ {
alias /dist/;
index index.html index.htm;
}
location /api/ {
proxy_pass http://gateway.ibizcloud.cn:20086/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
<#assign httpPort = "80">
<#assign gateway_ip = "172.16.240.140">
<#if sysrun?? && sysrun.getPSDevSlnMSDepApp()??>
<#assign depApp=sysrun.getPSDevSlnMSDepApp()>
<#if depApp.getHttpPort()??>
<#assign httpPort = sysrun.getPSDevSlnMSDepApp().getHttpPort()?c>
</#if>
<#if depApp.getPSDCMSPlatformNode()??>
<#assign appPlatform=depApp.getPSDCMSPlatform()>
<#if appPlatform.getUserParam("gateway_ip","172.16.240.140")??>
<#assign gateway_ip = appPlatform.getUserParam("gateway_ip","172.16.240.140")>
</#if>
</#if>
</#if>
version: "3.2"
services:
${pub.getCodeName()?lower_case}-app-${app.getPKGCodeName()?lower_case}:
image: dstimage
ports:
- "${httpPort}:80"
networks:
- agent_network
environment:
- APP_ID=<#if sys.getDeploySysId()??><#if (sys.getDeploySysId()?length gt 16)>${sys.getName()?lower_case}<#else>${sys.getDeploySysId()?lower_case}</#if><#else>${sys.getName()?lower_case}</#if>__${app.getPKGCodeName()?lower_case}
- APPCODE=${app.getPKGCodeName()?lower_case}
deploy:
resources:
limits:
memory: 800M
reservations:
memory: 400M
mode: replicated
replicas: 1
extra_hosts:
- "gateway.ibizcloud.cn:${gateway_ip}"
networks:
agent_network:
driver: overlay
attachable: true
\ No newline at end of file
# full-dynamic-mob-vue-ftl
......@@ -1925,7 +1925,7 @@
"dynaModelFilePath" : "PSSYSAPPS/Mob/PSSYSAPP.json",
"engineVer" : 239,
"name" : "Mob",
"pFStyle" : "16C4E58C-8732-4665-805E-02921230486E",
"pFStyle" : "full_dynamic_mob_vue",
"pFType" : "Vue_Mobile_R7",
"pKGCodeName" : "Mob",
"serviceCodeName" : "Mob",
......@@ -9734,99 +9734,99 @@
"codeName" : "VMGroup4",
"name" : "视图消息位置测试",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "消息位置-弹出",
"name" : "消息位置-视图下方",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg10"
"id" : "ViewMsg8"
}
}, {
"name" : "消息位置-视图上方",
"name" : "消息位置-视图内容区",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg7"
"id" : "ViewMsg9"
}
}, {
"name" : "消息位置-视图内容区",
"name" : "消息位置-视图上方",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg9"
"id" : "ViewMsg7"
}
}, {
"name" : "消息位置-视图下方",
"name" : "消息位置-弹出",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg8"
"id" : "ViewMsg10"
}
} ]
}, {
"codeName" : "VMGroup8",
"name" : "【静态测试】",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "关闭模式-本次删除-上方-警告",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg13"
}
}, {
"name" : "消息位置-视图下方",
"name" : "关闭模式-无删除-上方-常规",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg8"
"id" : "ViewMsg11"
}
}, {
"name" : "消息类型-错误信息",
"name" : "消息类型-常规信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg6"
"id" : "ViewMsg4"
},
"position" : "POPUP"
}, {
"name" : "消息类型-警告信息",
"name" : "关闭模式-默认删除-上方-错误",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg5"
},
"position" : "POPUP"
"id" : "ViewMsg12"
}
}, {
"name" : "关闭模式-无删除-上方-常规",
"name" : "消息位置-视图内容区",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg11"
"id" : "ViewMsg9"
}
}, {
"name" : "消息类型-常规信息",
"name" : "消息位置-视图下方",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg4"
},
"position" : "POPUP"
"id" : "ViewMsg8"
}
}, {
"name" : "关闭模式-默认删除-上方-错误",
"name" : "关闭模式-本次删除-上方-警告",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg12"
"id" : "ViewMsg13"
}
}, {
"name" : "消息位置-视图内容区",
"name" : "消息类型-警告信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg9"
}
"id" : "ViewMsg5"
},
"position" : "POPUP"
}, {
"name" : "消息类型-错误信息",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg6"
},
"position" : "POPUP"
} ]
}, {
"codeName" : "VMGroup5",
"name" : "视图消息关闭模式",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "关闭模式-删除",
"name" : "关闭模式-默认删除",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg11"
"id" : "ViewMsg12"
}
}, {
"name" : "关闭模式-默认删除",
"name" : "关闭模式-删除",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg12"
"id" : "ViewMsg11"
}
}, {
"name" : "关闭模式-本次删除",
......@@ -9839,16 +9839,16 @@
"codeName" : "VMGroup6",
"name" : "视图消息动态模式测试",
"getPSAppViewMsgGroupDetails" : [ {
"name" : "动态模式-实体数据集",
"name" : "动态模式-静态内容",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg14"
"id" : "ViewMsg15"
}
}, {
"name" : "动态模式-静态内容",
"name" : "动态模式-实体数据集",
"getPSAppViewMsg" : {
"modelref" : true,
"id" : "ViewMsg15"
"id" : "ViewMsg14"
}
} ]
} ],
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册