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

kuaikuai 发布系统代码 [后台服务,演示应用]

上级 75533892
......@@ -280,7 +280,9 @@ export default {
latitude: "地图定位latitude",
formitem14: "树分组选",
formitem16: "树选择",
formitem17: "地址选择",
formitem1: "颜色选择",
formitem18: "更新时间",
ibizsample0001id: "IBIZSAMPLE0001标识",
},
uiactions: {
......
......@@ -279,7 +279,9 @@ export default {
latitude: "地图定位latitude",
formitem14: "树分组选",
formitem16: "树选择",
formitem17: "地址选择",
formitem1: "颜色选择",
formitem18: "更新时间",
ibizsample0001id: "IBIZSAMPLE0001标识",
},
uiactions: {
......
......@@ -256,9 +256,9 @@ dataType="LONGTEXT" :precision="0"
name="formitem14"
:value='data.formitem14'
valueitem=""
:multiple="true"
filter="FILTER"
:fillmap='FILLMAP'
:disabled="detailsModel.formitem14.disabled"
:data="data"
:context="context"
......@@ -274,6 +274,12 @@ dataType="LONGTEXT" :precision="0"
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem17.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem17' :itemRules="this.rules().formitem17" class='' :caption="$t('entities.ibizsample0001.main5_form.details.formitem17')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem17.error" :isEmptyCaption="false" labelPos="LEFT">
<app-address-selection :value="data.formitem17" placeholder="地址选择" :disabled="detailsModel.formitem17.disabled" style=""></app-address-selection>
</app-form-item>
</i-col>
</row>
......@@ -720,7 +726,9 @@ export default class Main5Base extends Vue implements ControlInterface {
latitude: null,
formitem14: null,
formitem16: null,
formitem17: null,
formitem1: null,
formitem18: null,
ibizsample0001id: null,
ibizsample0001:null,
};
......@@ -853,6 +861,10 @@ export default class Main5Base extends Vue implements ControlInterface {
{ required: this.detailsModel.formitem16.required, type: 'string', message: '树选择 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem16.required, type: 'string', message: '树选择 值不能为空', trigger: 'blur' },
],
formitem17: [
{ required: this.detailsModel.formitem17.required, type: 'string', message: '地址选择 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem17.required, type: 'string', message: '地址选择 值不能为空', trigger: 'blur' },
],
formitem1: [
{ required: this.detailsModel.formitem1.required, type: 'number', message: '颜色选择 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem1.required, type: 'number', message: '颜色选择 值不能为空', trigger: 'blur' },
......@@ -1037,8 +1049,12 @@ export default class Main5Base extends Vue implements ControlInterface {
formitem14: new FormItemModel({ caption: '树分组选', detailType: 'FORMITEM', name: 'formitem14', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem16: new FormItemModel({ caption: '树选择', detailType: 'FORMITEM', name: 'formitem16', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem17: new FormItemModel({ caption: '地址选择', detailType: 'FORMITEM', name: 'formitem17', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem1: new FormItemModel({ caption: '颜色选择', detailType: 'FORMITEM', name: 'formitem1', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem18: new FormItemModel({ caption: '更新时间', detailType: 'FORMITEM', name: 'formitem18', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
ibizsample0001id: new FormItemModel({ caption: 'IBIZSAMPLE0001标识', detailType: 'FORMITEM', name: 'ibizsample0001id', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
......@@ -1392,6 +1408,18 @@ export default class Main5Base extends Vue implements ControlInterface {
this.formDataChange({ name: 'formitem16', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem17 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main5Base
*/
@Watch('data.formitem17')
onFormitem17Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem17', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem1 值
*
......@@ -1404,6 +1432,18 @@ export default class Main5Base extends Vue implements ControlInterface {
this.formDataChange({ name: 'formitem1', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem18 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof Main5Base
*/
@Watch('data.formitem18')
onFormitem18Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem18', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 ibizsample0001id 值
*
......@@ -1507,6 +1547,8 @@ export default class Main5Base extends Vue implements ControlInterface {
......
......@@ -157,11 +157,21 @@ export default class Main5Model {
prop: 'field14',
dataType: 'SSCODELIST',
},
{
name: 'formitem17',
prop: 'field03',
dataType: 'LONGTEXT',
},
{
name: 'formitem1',
prop: 'field12',
dataType: 'TRUEFALSE',
},
{
name: 'formitem18',
prop: 'updatedate',
dataType: 'DATETIME',
},
{
name: 'ibizsample0001id',
prop: 'ibizsample0001id',
......
......@@ -37,11 +37,6 @@
git clone -b master $para2 demosys/
export NODE_OPTIONS=--max-old-space-size=4096
cd demosys/
mvn clean package -Pweb
cd demo-app/demo-app-web
mvn -Pweb docker:build
mvn -Pweb docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/demo-app-web.yaml iBizDemo --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
......
......@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /demo-app-web.jar
EXPOSE 51001
EXPOSE 8080
ADD demo-app-web.jar /demo-app-web.jar
......@@ -3,24 +3,9 @@ services:
demo-app-web:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/demo-app-web:latest
ports:
- "51001:51001"
- "8080:8080"
networks:
- agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
- SERVER_PORT=51001
- SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
- SPRING_REDIS_HOST=172.16.240.110
- SPRING_REDIS_PORT=6379
- SPRING_REDIS_DATABASE=0
- SPRING_DATASOURCE_USERNAME=a_LAB01_df847bdfd
- SPRING_DATASOURCE_PASSWORD=3d6@460A
- SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_df847bdfd?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_df847bdfd
- NACOS=172.16.240.110:8848
- SEATA_REGISTRY_NACOS_SERVER-ADDR=172.16.240.110:8848
- SEATA_ENABLED=true
deploy:
resources:
limits:
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册