提交 3f33d72e 编写于 作者: ibizdev's avatar ibizdev

ibizdev提交

上级 e2e4adfc
...@@ -22,7 +22,7 @@ export default { ...@@ -22,7 +22,7 @@ export default {
srfsourcekey: "", srfsourcekey: "",
psname: "采购单名称", psname: "采购单名称",
bz: "备注", bz: "备注",
createman: "建立人", ngrid: "NGRID",
psid: "采购单标识", psid: "采购单标识",
}, },
uiactions: { uiactions: {
......
...@@ -21,7 +21,7 @@ export default { ...@@ -21,7 +21,7 @@ export default {
srfsourcekey: '', srfsourcekey: '',
psname: '采购单名称', psname: '采购单名称',
bz: '备注', bz: '备注',
createman: '建立人', ngrid: 'NGRID',
psid: '采购单标识', psid: '采购单标识',
}, },
uiactions: { uiactions: {
......
...@@ -328,7 +328,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -328,7 +328,7 @@ export default class MainBase extends Vue implements ControlInterface {
srfsourcekey: null, srfsourcekey: null,
psname: null, psname: null,
bz: null, bz: null,
createman: null, ngrid: null,
psid: null, psid: null,
ps:null, ps:null,
}; };
...@@ -424,11 +424,11 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -424,11 +424,11 @@ export default class MainBase extends Vue implements ControlInterface {
{ required: false, type: 'string', message: '备注 值不能为空', trigger: 'change' }, { required: false, type: 'string', message: '备注 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '备注 值不能为空', trigger: 'blur' }, { required: false, type: 'string', message: '备注 值不能为空', trigger: 'blur' },
], ],
createman: [ ngrid: [
{ type: 'string', message: '建立人 值必须为字符串类型', trigger: 'change' }, { type: 'string', message: 'NGRID 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '建立人 值必须为字符串类型', trigger: 'blur' }, { type: 'string', message: 'NGRID 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '建立人 值不能为空', trigger: 'change' }, { required: false, type: 'string', message: 'NGRID 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '建立人 值不能为空', trigger: 'blur' }, { required: false, type: 'string', message: 'NGRID 值不能为空', trigger: 'blur' },
], ],
psid: [ psid: [
{ type: 'string', message: '采购单标识 值必须为字符串类型', trigger: 'change' }, { type: 'string', message: '采购单标识 值必须为字符串类型', trigger: 'change' },
...@@ -469,7 +469,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -469,7 +469,7 @@ export default class MainBase extends Vue implements ControlInterface {
, ,
bz: new FormItemModel({ caption: '备注', detailType: 'FORMITEM', name: 'bz', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 }) bz: new FormItemModel({ caption: '备注', detailType: 'FORMITEM', name: 'bz', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
, ,
createman: new FormItemModel({ caption: '建立人', detailType: 'FORMITEM', name: 'createman', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 }) ngrid: new FormItemModel({ caption: 'NGRID', detailType: 'FORMITEM', name: 'ngrid', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
, ,
psid: new FormItemModel({ caption: '采购单标识', detailType: 'FORMITEM', name: 'psid', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 }) psid: new FormItemModel({ caption: '采购单标识', detailType: 'FORMITEM', name: 'psid', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
, ,
...@@ -596,15 +596,15 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -596,15 +596,15 @@ export default class MainBase extends Vue implements ControlInterface {
} }
/** /**
* 监控表单属性 createman * 监控表单属性 ngrid
* *
* @param {*} newVal * @param {*} newVal
* @param {*} oldVal * @param {*} oldVal
* @memberof Main * @memberof Main
*/ */
@Watch('data.createman') @Watch('data.ngrid')
onCreatemanChange(newVal: any, oldVal: any) { onNgridChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'createman', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'ngrid', newVal: newVal, oldVal: oldVal });
} }
/** /**
...@@ -1537,8 +1537,8 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1537,8 +1537,8 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof Main * @memberof Main
*/ */
public createDefault(){ public createDefault(){
if (this.data.hasOwnProperty('createman')) { if (this.data.hasOwnProperty('ngrid')) {
this.data['createman'] = this.context['srfuserid']; this.data['ngrid'] = this.context['srfuserid'];
} }
} }
......
...@@ -60,8 +60,8 @@ export default class MainModel { ...@@ -60,8 +60,8 @@ export default class MainModel {
dataType: 'LONGTEXT_1000', dataType: 'LONGTEXT_1000',
}, },
{ {
name: 'createman', name: 'ngrid',
prop: 'createman', prop: 'ngrid',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{ {
......
...@@ -40,14 +40,14 @@ ...@@ -40,14 +40,14 @@
mvn install mvn install
cd .. cd ..
mvn install mvn install
cd ps-boot cd ps-app/ps-app-web
mvn clean package mvn clean package -Pprod
echo 'echo "$para1"' > apppasswd.sh echo 'echo "$para1"' > apppasswd.sh
chmod -R 777 * chmod -R 777 *
setsid env SSH_ASKPASS='./apppasswd.sh' DISPLAY='none:0' ssh root@172.16.102.61 "mkdir -p /ibiz/nodes/node1/F2F47711-2592-4F2B-9C54-F0722AEA90D5" setsid env SSH_ASKPASS='./apppasswd.sh' DISPLAY='none:0' ssh root@172.16.102.61 "mkdir -p /ibiz/nodes/node1/7B163728-8A01-45A9-862D-13C620F053F6"
setsid env SSH_ASKPASS='./apppasswd.sh' DISPLAY='none:0' scp -r ./target/ps.jar root@172.16.102.61:/ibiz/nodes/node1/F2F47711-2592-4F2B-9C54-F0722AEA90D5 setsid env SSH_ASKPASS='./apppasswd.sh' DISPLAY='none:0' scp -r ./target/ps-app-web.jar root@172.16.102.61:/ibiz/nodes/node1/7B163728-8A01-45A9-862D-13C620F053F6
setsid env SSH_ASKPASS='./apppasswd.sh' DISPLAY='none:0' ssh root@172.16.102.61 "ps -ef | grep '/ibiz/nodes/node1/F2F47711-2592-4F2B-9C54-F0722AEA90D5'| tr -s ' '|cut -d' ' -f2,8,9 | grep -v grep | grep 'jar' | cut -d' ' -f1|xargs --no-run-if-empty kill -9" setsid env SSH_ASKPASS='./apppasswd.sh' DISPLAY='none:0' ssh root@172.16.102.61 "ps -ef | grep '/ibiz/nodes/node1/7B163728-8A01-45A9-862D-13C620F053F6'| tr -s ' '|cut -d' ' -f2,8,9 | grep -v grep | grep 'jar' | cut -d' ' -f1|xargs --no-run-if-empty kill -9"
setsid env SSH_ASKPASS='./apppasswd.sh' DISPLAY='none:0' ssh root@172.16.102.61 "source /etc/profile;source ~/.bash_profile; nohup java -jar -Xms512m -Xmx1024m -XX:PermSize=128M -XX:MaxPermSize=128m /ibiz/nodes/node1/F2F47711-2592-4F2B-9C54-F0722AEA90D5/ps.jar >>/ibiz/nodes/node1/F2F47711-2592-4F2B-9C54-F0722AEA90D5/ps_apips 服务-`date --date='0 days ago' +%Y-%m-%d`.log 2>&1 &" setsid env SSH_ASKPASS='./apppasswd.sh' DISPLAY='none:0' ssh root@172.16.102.61 "source /etc/profile;source ~/.bash_profile; nohup java -jar -Xms512m -Xmx1024m -XX:PermSize=128M -XX:MaxPermSize=128m /ibiz/nodes/node1/7B163728-8A01-45A9-862D-13C620F053F6/ps-app-web.jar >>/ibiz/nodes/node1/7B163728-8A01-45A9-862D-13C620F053F6/ps_appps 应用-`date --date='0 days ago' +%Y-%m-%d`.log 2>&1 &"
</command> </command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
......
server: server:
devmode: true devmode: false
port: 8080 port: 8204
servlet: servlet:
session: session:
cookie: cookie:
...@@ -17,11 +17,11 @@ spring: ...@@ -17,11 +17,11 @@ spring:
security: security:
cas: cas:
server: server:
host: http://passportcs.ibizlab.cn host: https://passport.ibizlab.cn
login: ${security.cas.server.host}/login login: ${security.cas.server.host}/login
logout: ${security.cas.server.host}/logout logout: ${security.cas.server.host}/logout
service: service:
host: http://localhost:${server.port} host: http://172.16.102.61:${server.port}
login: /login/cas login: /login/cas
logout: /logout logout: /logout
...@@ -36,7 +36,7 @@ logging: ...@@ -36,7 +36,7 @@ logging:
app: app:
web: web:
url: http://localhost:${server.port} url: http://172.16.102.61:${server.port}
wfstarturl: /#/%s/null/editview wfstarturl: /#/%s/null/editview
# wfviewurl: /#/dewfdataredirectview # wfviewurl: /#/dewfdataredirectview
wfviewurl: /#/appwfdataredirectview wfviewurl: /#/appwfdataredirectview
......
server: server:
port: 8201 port: 8080
spring: spring:
application: application:
...@@ -8,29 +8,6 @@ spring: ...@@ -8,29 +8,6 @@ spring:
nacos: nacos:
discovery: discovery:
server-addr: 172.16.102.211:8848 server-addr: 172.16.102.211:8848
datasource:
password: 'D17c6@06'
username: a_LAB01_a0e25d193
url: jdbc:mysql://172.16.186.185:3306/a_LAB01_a0e25d193?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true
driver-class-name: com.mysql.jdbc.Driver
filters: stat,wall,log4j2
#配置初始化大小/最小/最大
initial-size: 1
min-idle: 1
max-active: 20
#获取连接等待超时时间
max-wait: 60000
#间隔多久进行一次检测,检测需要关闭的空闲连接
time-between-eviction-runs-millis: 60000
#一个连接在池中最小生存的时间
min-evictable-idle-time-millis: 300000
validation-query: SELECT 1 FROM DUAL
test-while-idle: true
test-on-borrow: false
test-on-return: false
#打开PSCache,并指定每个连接上PSCache的大小。oracle设为true,mysql设为false。分库分表较多推荐设置为false
pool-prepared-statements: false
max-pool-prepared-statement-per-connection-size: 20
feign: feign:
sentinel: sentinel:
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册