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

xignzi006 发布系统代码

上级 e39e11be
......@@ -846,6 +846,63 @@
}
]
},
{
"srfkey": "Lead__PurchaseTimeFrame",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "0",
"label": "Immediate",
"text": "Immediate",
"data":"",
"codename":"Item_0",
"value": "0",
"disabled": false
}
, {
"id": "2",
"label": "Next Quarter",
"text": "Next Quarter",
"data":"",
"codename":"Item_2",
"value": "2",
"disabled": false
}
, {
"id": "1",
"label": "This Quarter",
"text": "This Quarter",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
, {
"id": "3",
"label": "This Year",
"text": "This Year",
"data":"",
"codename":"Item_3",
"value": "3",
"disabled": false
}
, {
"id": "4",
"label": "Unknown",
"text": "Unknown",
"data":"",
"codename":"Item_4",
"value": "4",
"disabled": false
}
]
},
{
"srfkey": "Account__AccountRatingCode",
"emptytext": "未定义",
......
......@@ -521,7 +521,7 @@
},
"opportunitygridview": {
"title": "商机表格视图",
"caption": "商机",
"caption": "商机信息",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sales",
"viewname": "OpportunityGridView",
......
......@@ -109,6 +109,14 @@ export default {
'1': "Normal",
empty: "",
},
Lead__PurchaseTimeFrame: {
'0': "Immediate",
'2': "Next Quarter",
'1': "This Quarter",
'3': "This Year",
'4': "Unknown",
empty: "",
},
Account__AccountRatingCode: {
'1': "Default Value",
empty: "",
......
......@@ -109,6 +109,14 @@ export default {
'1': "Normal",
empty: "",
},
Lead__PurchaseTimeFrame: {
'0': "Immediate",
'2': "Next Quarter",
'1': "This Quarter",
'3': "This Year",
'4': "Unknown",
empty: "",
},
Account__AccountRatingCode: {
'1': "Default Value",
empty: "",
......
......@@ -216,9 +216,12 @@ export default {
srfdeid: "",
srfsourcekey: "",
subject: "主题",
budgetamount: "预算金额",
purchasetimeframe: "购买时间范围",
leadsourcecode: "潜在顾客来源",
fullname: "姓名",
companyname: "公司名称",
jobtitle: "职务",
telephone1: "商务电话",
mobilephone: "移动电话",
emailaddress1: "电子邮件",
leadid: "潜在顾客",
......
......@@ -215,9 +215,12 @@ export default {
srfdeid: '',
srfsourcekey: '',
subject: '主题',
budgetamount: '预算金额',
purchasetimeframe: '购买时间范围',
leadsourcecode: '潜在顾客来源',
fullname: '姓名',
companyname: '公司名称',
jobtitle: '职务',
telephone1: '商务电话',
mobilephone: '移动电话',
emailaddress1: '电子邮件',
leadid: '潜在顾客',
......
......@@ -119,7 +119,7 @@ export default {
title: '商机数据看板视图',
},
gridview: {
caption: "商机",
caption: "商机信息",
title: '商机表格视图',
},
info_abstract: {
......
......@@ -118,7 +118,7 @@ export default {
title: '商机数据看板视图',
},
gridview: {
caption: '商机',
caption: '商机信息',
title: '商机表格视图',
},
info_abstract: {
......
......@@ -854,6 +854,63 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey: 'Lead__PurchaseTimeFrame',
emptytext: '未定义',
"codelisttype":"static",
items: [
{
id: '0',
label: "Immediate",
text: "Immediate",
"data":"",
"codename":"Item_0",
value: '0',
disabled: false,
},
{
id: '2',
label: "Next Quarter",
text: "Next Quarter",
"data":"",
"codename":"Item_2",
value: '2',
disabled: false,
},
{
id: '1',
label: "This Quarter",
text: "This Quarter",
"data":"",
"codename":"Item_1",
value: '1',
disabled: false,
},
{
id: '3',
label: "This Year",
text: "This Year",
"data":"",
"codename":"Item_3",
value: '3',
disabled: false,
},
{
id: '4',
label: "Unknown",
text: "Unknown",
"data":"",
"codename":"Item_4",
value: '4',
disabled: false,
},
]
},
{
srfkey: 'Account__AccountRatingCode',
emptytext: '未定义',
......
......@@ -425,7 +425,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
},
"opportunitygridview": {
"title": "商机表格视图",
"caption": "商机",
"caption": "商机信息",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Sales",
"viewname": "OpportunityGridView",
......
......@@ -565,7 +565,7 @@ export default class LeadGridViewBase extends GridViewBase {
const view: any = {
viewname: 'lead-quick-create',
height: 0,
width: 0,
width: 450,
title: this.$t('entities.lead.views.quickcreate.title'),
placement: 'DRAWER_RIGHT',
};
......
<template>
<studio-view-style2 viewName="opportunitygridview" viewTitle="商机表格视图" class='degridview opportunity-grid-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<i-input slot="quickSearch" v-show="!isExpandSearchForm" v-model="query" search @on-search="onSearch($event)"/>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click"/> </template>
......
......@@ -158,7 +158,7 @@ export default class LeadUIServiceBase extends UIService {
const view: any = {
viewname: 'lead-quick-create',
height: 0,
width: 0,
width: 450,
title: actionContext.$t('entities.lead.views.quickcreate.title'),
placement: 'DRAWER_RIGHT',
};
......
......@@ -12,31 +12,73 @@
</app-form-item>
</i-col>
<i-col v-show="detailsModel.fullname.visible" :style="{}" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<i-col v-show="detailsModel.budgetamount.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='budgetamount' :itemRules="this.rules.budgetamount" class='' :caption="$t('entities.lead.quickcreate_form.details.budgetamount')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.budgetamount.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.budgetamount" @enter="onEnter($event)" unit="" :disabled="detailsModel.budgetamount.disabled" type='number' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.purchasetimeframe.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='purchasetimeframe' :itemRules="this.rules.purchasetimeframe" class='' :caption="$t('entities.lead.quickcreate_form.details.purchasetimeframe')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.purchasetimeframe.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list
v-model="data.purchasetimeframe"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.purchasetimeframe.disabled"
tag='Lead__PurchaseTimeFrame'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.leadsourcecode.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='leadsourcecode' :itemRules="this.rules.leadsourcecode" class='' :caption="$t('entities.lead.quickcreate_form.details.leadsourcecode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.leadsourcecode.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list
v-model="data.leadsourcecode"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.leadsourcecode.disabled"
tag='Lead__LeadSourceCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.fullname.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='fullname' :itemRules="this.rules.fullname" class='' :caption="$t('entities.lead.quickcreate_form.details.fullname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.fullname.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.fullname" @enter="onEnter($event)" unit="" :disabled="detailsModel.fullname.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.jobtitle.visible" :style="{}" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item name='jobtitle' :itemRules="this.rules.jobtitle" class='' :caption="$t('entities.lead.quickcreate_form.details.jobtitle')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.jobtitle.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.jobtitle" @enter="onEnter($event)" unit="" :disabled="detailsModel.jobtitle.disabled" type='text' style=""></input-box>
<i-col v-show="detailsModel.companyname.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='companyname' :itemRules="this.rules.companyname" class='' :caption="$t('entities.lead.quickcreate_form.details.companyname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.companyname.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.companyname" @enter="onEnter($event)" unit="" :disabled="detailsModel.companyname.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.telephone1.visible" :style="{}" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item name='telephone1' :itemRules="this.rules.telephone1" class='' :caption="$t('entities.lead.quickcreate_form.details.telephone1')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.telephone1.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.telephone1" @enter="onEnter($event)" unit="" :disabled="detailsModel.telephone1.disabled" type='text' style=""></input-box>
<i-col v-show="detailsModel.jobtitle.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='jobtitle' :itemRules="this.rules.jobtitle" class='' :caption="$t('entities.lead.quickcreate_form.details.jobtitle')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.jobtitle.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.jobtitle" @enter="onEnter($event)" unit="" :disabled="detailsModel.jobtitle.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.mobilephone.visible" :style="{}" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<i-col v-show="detailsModel.mobilephone.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='mobilephone' :itemRules="this.rules.mobilephone" class='' :caption="$t('entities.lead.quickcreate_form.details.mobilephone')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.mobilephone.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.mobilephone" @enter="onEnter($event)" unit="" :disabled="detailsModel.mobilephone.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.emailaddress1.visible" :style="{}" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<i-col v-show="detailsModel.emailaddress1.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='emailaddress1' :itemRules="this.rules.emailaddress1" class='' :caption="$t('entities.lead.quickcreate_form.details.emailaddress1')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.emailaddress1.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.emailaddress1" @enter="onEnter($event)" unit="" :disabled="detailsModel.emailaddress1.disabled" type='text' style=""></input-box>
</app-form-item>
......@@ -354,9 +396,12 @@ export default class QuickCreateBase extends Vue implements ControlInterface {
srfdeid: null,
srfsourcekey: null,
subject: null,
budgetamount: null,
purchasetimeframe: null,
leadsourcecode: null,
fullname: null,
companyname: null,
jobtitle: null,
telephone1: null,
mobilephone: null,
emailaddress1: null,
leadid: null,
......@@ -456,24 +501,42 @@ export default class QuickCreateBase extends Vue implements ControlInterface {
{ required: true, type: 'string', message: '主题 值不能为空', trigger: 'change' },
{ required: true, type: 'string', message: '主题 值不能为空', trigger: 'blur' },
],
budgetamount: [
{ type: 'number', message: '预算金额 值必须为数值类型', trigger: 'change' },
{ type: 'number', message: '预算金额 值必须为数值类型', trigger: 'blur' },
{ required: false, type: 'number', message: '预算金额 值不能为空', trigger: 'change' },
{ required: false, type: 'number', message: '预算金额 值不能为空', trigger: 'blur' },
],
purchasetimeframe: [
{ type: 'string', message: '购买时间范围 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '购买时间范围 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '购买时间范围 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '购买时间范围 值不能为空', trigger: 'blur' },
],
leadsourcecode: [
{ type: 'string', message: '潜在顾客来源 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '潜在顾客来源 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '潜在顾客来源 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '潜在顾客来源 值不能为空', trigger: 'blur' },
],
fullname: [
{ type: 'string', message: '姓名 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '姓名 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '姓名 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '姓名 值不能为空', trigger: 'blur' },
],
companyname: [
{ type: 'string', message: '公司名称 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '公司名称 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '公司名称 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '公司名称 值不能为空', trigger: 'blur' },
],
jobtitle: [
{ type: 'string', message: '职务 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '职务 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '职务 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '职务 值不能为空', trigger: 'blur' },
],
telephone1: [
{ type: 'string', message: '商务电话 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '商务电话 值必须为字符串类型', trigger: 'blur' },
{ required: false, type: 'string', message: '商务电话 值不能为空', trigger: 'change' },
{ required: false, type: 'string', message: '商务电话 值不能为空', trigger: 'blur' },
],
mobilephone: [
{ type: 'string', message: '移动电话 值必须为字符串类型', trigger: 'change' },
{ type: 'string', message: '移动电话 值必须为字符串类型', trigger: 'blur' },
......@@ -522,12 +585,18 @@ export default class QuickCreateBase extends Vue implements ControlInterface {
srfsourcekey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srfsourcekey', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
subject: new FormItemModel({ caption: '主题', detailType: 'FORMITEM', name: 'subject', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
budgetamount: new FormItemModel({ caption: '预算金额', detailType: 'FORMITEM', name: 'budgetamount', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
purchasetimeframe: new FormItemModel({ caption: '购买时间范围', detailType: 'FORMITEM', name: 'purchasetimeframe', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
leadsourcecode: new FormItemModel({ caption: '潜在顾客来源', detailType: 'FORMITEM', name: 'leadsourcecode', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
fullname: new FormItemModel({ caption: '姓名', detailType: 'FORMITEM', name: 'fullname', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
jobtitle: new FormItemModel({ caption: '职务', detailType: 'FORMITEM', name: 'jobtitle', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
companyname: new FormItemModel({ caption: '公司名称', detailType: 'FORMITEM', name: 'companyname', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
telephone1: new FormItemModel({ caption: '商务电话', detailType: 'FORMITEM', name: 'telephone1', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
jobtitle: new FormItemModel({ caption: '职务', detailType: 'FORMITEM', name: 'jobtitle', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
mobilephone: new FormItemModel({ caption: '移动电话', detailType: 'FORMITEM', name: 'mobilephone', visible: true, isShowCaption: true, form: this, disabled: false, enableCond: 3 })
,
......@@ -645,6 +714,42 @@ export default class QuickCreateBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'subject', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 budgetamount 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof QuickCreate
*/
@Watch('data.budgetamount')
onBudgetamountChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'budgetamount', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 purchasetimeframe 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof QuickCreate
*/
@Watch('data.purchasetimeframe')
onPurchasetimeframeChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'purchasetimeframe', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 leadsourcecode 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof QuickCreate
*/
@Watch('data.leadsourcecode')
onLeadsourcecodeChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'leadsourcecode', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 fullname 值
*
......@@ -658,27 +763,27 @@ export default class QuickCreateBase extends Vue implements ControlInterface {
}
/**
* 监控表单属性 jobtitle 值
* 监控表单属性 companyname 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof QuickCreate
*/
@Watch('data.jobtitle')
onJobtitleChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'jobtitle', newVal: newVal, oldVal: oldVal });
@Watch('data.companyname')
onCompanynameChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'companyname', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 telephone1
* 监控表单属性 jobtitle
*
* @param {*} newVal
* @param {*} oldVal
* @memberof QuickCreate
*/
@Watch('data.telephone1')
onTelephone1Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'telephone1', newVal: newVal, oldVal: oldVal });
@Watch('data.jobtitle')
onJobtitleChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'jobtitle', newVal: newVal, oldVal: oldVal });
}
/**
......@@ -769,6 +874,9 @@ export default class QuickCreateBase extends Vue implements ControlInterface {
}
......
......@@ -60,19 +60,34 @@ export default class QuickCreateModel {
prop: 'subject',
dataType: 'TEXT',
},
{
name: 'budgetamount',
prop: 'budgetamount',
dataType: 'BIGDECIMAL',
},
{
name: 'purchasetimeframe',
prop: 'purchasetimeframe',
dataType: 'SSCODELIST',
},
{
name: 'leadsourcecode',
prop: 'leadsourcecode',
dataType: 'SSCODELIST',
},
{
name: 'fullname',
prop: 'fullname',
dataType: 'TEXT',
},
{
name: 'jobtitle',
prop: 'jobtitle',
name: 'companyname',
prop: 'companyname',
dataType: 'TEXT',
},
{
name: 'telephone1',
prop: 'telephone1',
name: 'jobtitle',
prop: 'jobtitle',
dataType: 'TEXT',
},
{
......
......@@ -32,7 +32,9 @@
</i-col>
<i-col v-show="detailsModel.description.visible" :style="{}" :lg="{ span: 24, offset: 0 }" :xl="{ span: 24, offset: 0 }">
<app-form-item name='description' :itemRules="this.rules.description" class='' :caption="$t('entities.product.quickcreate_form.details.description')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.description.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.description" @enter="onEnter($event)" unit="" :disabled="detailsModel.description.disabled" type='text' style=""></input-box>
<div class="ivu-input-wrapper ivu-input-wrapper-default ivu-input-type">
<textarea class="ivu-input" :rows="10" v-model="data.description" :disabled="detailsModel.description.disabled" style="height:200px;"></textarea>
</div>
</app-form-item>
</i-col>
......
......@@ -78,7 +78,7 @@ export default class QuickCreateModel {
{
name: 'description',
prop: 'description',
dataType: 'TEXT',
dataType: 'LONGTEXT_1000',
},
{
name: 'productid',
......
......@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-app-businesscentral.jar
EXPOSE 10320
EXPOSE 8080
ADD businesscentral-app-businesscentral.jar /businesscentral-app-businesscentral.jar
......@@ -3,23 +3,9 @@ services:
businesscentral-app-businesscentral:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-app-businesscentral:latest
ports:
- "10320:10320"
- "8080:8080"
networks:
- agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
- SERVER_PORT=10320
- SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
- SPRING_REDIS_HOST=127.0.0.1
- SPRING_REDIS_PORT=6379
- SPRING_REDIS_DATABASE=0
- SPRING_DATASOURCE_USERNAME=a_LAB01_e85d8801c
- SPRING_DATASOURCE_PASSWORD=b1@@@772
- SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_e85d8801c?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_e85d8801c
- CAS=https://passport.ibizlab.cn
- NACOS=172.16.240.110:8848
deploy:
resources:
limits:
......
......@@ -6429,7 +6429,7 @@
<!--输出实体[LEAD]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-lead-78-74">
<changeSet author="a_LAB01_e85d8801c" id="tab-lead-81-74">
<createTable tableName="LEAD">
<column name="ADDRESS1_FAX" remarks="" type="VARCHAR(50)">
</column>
......@@ -8255,7 +8255,7 @@
<!--输出实体[PRODUCT]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-product-30-90">
<changeSet author="a_LAB01_e85d8801c" id="tab-product-31-90">
<createTable tableName="PRODUCT">
<column name="VENDORID" remarks="" type="VARCHAR(100)">
</column>
......@@ -10397,7 +10397,7 @@
<!--输出实体[OPPORTUNITY]数据结构 -->
<changeSet author="a_LAB01_e85d8801c" id="tab-opportunity-52-120">
<changeSet author="a_LAB01_e85d8801c" id="tab-opportunity-54-120">
<createTable tableName="OPPORTUNITY">
<column name="DECISIONMAKER" remarks="" type="INT">
</column>
......@@ -11302,28 +11302,28 @@
</changeSet>
<!--输出实体[METRIC]外键关系 -->
<!--输出实体[LEAD]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-78-308">
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-81-308">
<addForeignKeyConstraint baseColumnNames="PARENTACCOUNTID" baseTableName="LEAD" constraintName="DER1N_LEAD__ACCOUNT__PARENTACC" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ACCOUNTID" referencedTableName="ACCOUNT" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-78-309">
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-81-309">
<addForeignKeyConstraint baseColumnNames="RELATEDOBJECTID" baseTableName="LEAD" constraintName="DER1N_LEAD__CAMPAIGNRESPONSE__" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ACTIVITYID" referencedTableName="CAMPAIGNRESPONSE" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-78-310">
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-81-310">
<addForeignKeyConstraint baseColumnNames="CAMPAIGNID" baseTableName="LEAD" constraintName="DER1N_LEAD__CAMPAIGN__CAMPAIGN" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="CAMPAIGNID" referencedTableName="CAMPAIGN" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-78-311">
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-81-311">
<addForeignKeyConstraint baseColumnNames="PARENTCONTACTID" baseTableName="LEAD" constraintName="DER1N_LEAD__CONTACT__PARENTCON" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="CONTACTID" referencedTableName="CONTACT" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-78-312">
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-81-312">
<addForeignKeyConstraint baseColumnNames="ORIGINATINGCASEID" baseTableName="LEAD" constraintName="DER1N_LEAD__INCIDENT__ORIGINAT" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="INCIDENTID" referencedTableName="INCIDENT" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-78-313">
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-81-313">
<addForeignKeyConstraint baseColumnNames="QUALIFYINGOPPORTUNITYID" baseTableName="LEAD" constraintName="DER1N_LEAD__OPPORTUNITY__QUALI" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="OPPORTUNITYID" referencedTableName="OPPORTUNITY" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-78-314">
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-81-314">
<addForeignKeyConstraint baseColumnNames="SLAID" baseTableName="LEAD" constraintName="DER1N_LEAD__SLA__SLAID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SLAID" referencedTableName="SLA" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-78-315">
<changeSet author="a_LAB01_e85d8801c" id="fk-lead-81-315">
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="LEAD" constraintName="DER1N_LEAD__TRANSACTIONCURRENC" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet>
<!--输出实体[TERRITORY]外键关系 -->
......@@ -11420,22 +11420,22 @@
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="COMPETITOR" constraintName="DER1N_COMPETITOR__TRANSACTIONC" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet>
<!--输出实体[PRODUCT]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-product-30-346">
<changeSet author="a_LAB01_e85d8801c" id="fk-product-31-346">
<addForeignKeyConstraint baseColumnNames="PRICELEVELID" baseTableName="PRODUCT" constraintName="DER1N_PRODUCT__PRICELEVEL__PRI" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="PRICELEVELID" referencedTableName="PRICELEVEL" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-product-30-347">
<changeSet author="a_LAB01_e85d8801c" id="fk-product-31-347">
<addForeignKeyConstraint baseColumnNames="PARENTPRODUCTID" baseTableName="PRODUCT" constraintName="DER1N_PRODUCT__PRODUCT__PARENT" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="PRODUCTID" referencedTableName="PRODUCT" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-product-30-348">
<changeSet author="a_LAB01_e85d8801c" id="fk-product-31-348">
<addForeignKeyConstraint baseColumnNames="SUBJECTID" baseTableName="PRODUCT" constraintName="DER1N_PRODUCT__SUBJECT__SUBJEC" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SUBJECTID" referencedTableName="SUBJECT" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-product-30-349">
<changeSet author="a_LAB01_e85d8801c" id="fk-product-31-349">
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="PRODUCT" constraintName="DER1N_PRODUCT__TRANSACTIONCURR" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-product-30-350">
<changeSet author="a_LAB01_e85d8801c" id="fk-product-31-350">
<addForeignKeyConstraint baseColumnNames="DEFAULTUOMSCHEDULEID" baseTableName="PRODUCT" constraintName="DER1N_PRODUCT__UOMSCHEDULE__DE" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="UOMSCHEDULEID" referencedTableName="UOMSCHEDULE" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-product-30-351">
<changeSet author="a_LAB01_e85d8801c" id="fk-product-31-351">
<addForeignKeyConstraint baseColumnNames="DEFAULTUOMID" baseTableName="PRODUCT" constraintName="DER1N_PRODUCT__UOM__DEFAULTUOM" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="UOMID" referencedTableName="UOM" validate="true"/>
</changeSet>
<!--输出实体[CHARACTERISTIC]外键关系 -->
......@@ -11615,25 +11615,25 @@
<!--输出实体[RELATIONSHIPS]外键关系 -->
<!--输出实体[CONNECTIONROLE]外键关系 -->
<!--输出实体[OPPORTUNITY]外键关系 -->
<changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-52-405">
<changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-54-405">
<addForeignKeyConstraint baseColumnNames="PARENTACCOUNTID" baseTableName="OPPORTUNITY" constraintName="DER1N_OPPORTUNITY__ACCOUNT__PA" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ACCOUNTID" referencedTableName="ACCOUNT" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-52-406">
<changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-54-406">
<addForeignKeyConstraint baseColumnNames="CAMPAIGNID" baseTableName="OPPORTUNITY" constraintName="DER1N_OPPORTUNITY__CAMPAIGN__C" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="CAMPAIGNID" referencedTableName="CAMPAIGN" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-52-407">
<changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-54-407">
<addForeignKeyConstraint baseColumnNames="PARENTCONTACTID" baseTableName="OPPORTUNITY" constraintName="DER1N_OPPORTUNITY__CONTACT__PA" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="CONTACTID" referencedTableName="CONTACT" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-52-408">
<changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-54-408">
<addForeignKeyConstraint baseColumnNames="ORIGINATINGLEADID" baseTableName="OPPORTUNITY" constraintName="DER1N_OPPORTUNITY__LEAD__ORIGI" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="LEADID" referencedTableName="LEAD" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-52-409">
<changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-54-409">
<addForeignKeyConstraint baseColumnNames="PRICELEVELID" baseTableName="OPPORTUNITY" constraintName="DER1N_OPPORTUNITY__PRICELEVEL_" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="PRICELEVELID" referencedTableName="PRICELEVEL" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-52-410">
<changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-54-410">
<addForeignKeyConstraint baseColumnNames="SLAID" baseTableName="OPPORTUNITY" constraintName="DER1N_OPPORTUNITY__SLA__SLAID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="SLAID" referencedTableName="SLA" validate="true"/>
</changeSet>
<changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-52-411">
<changeSet author="a_LAB01_e85d8801c" id="fk-opportunity-54-411">
<addForeignKeyConstraint baseColumnNames="TRANSACTIONCURRENCYID" baseTableName="OPPORTUNITY" constraintName="DER1N_OPPORTUNITY__TRANSACTION" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TRANSACTIONCURRENCYID" referencedTableName="TRANSACTIONCURRENCY" validate="true"/>
</changeSet>
<!--输出实体[OPPORTUNITYCOMPETITOR]外键关系 -->
......
......@@ -37,11 +37,6 @@
git clone -b master $para2 ibizbusinesscentral/
export NODE_OPTIONS=--max-old-space-size=4096
cd ibizbusinesscentral/
mvn clean package -Pbusinesscentral
cd businesscentral-app/businesscentral-app-businesscentral
mvn -Pbusinesscentral docker:build
mvn -Pbusinesscentral docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/businesscentral-app-businesscentral.yaml iBizEE --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册