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

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

上级 3cc2f9ae
......@@ -76,6 +76,68 @@
}
]
},
{
"srfkey": "CodeList96",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "HTML",
"label": "HTML",
"text": "HTML",
"class":"",
"data":"",
"codename":"Html",
"value": "HTML",
"disabled": false
}
, {
"id": "SL",
"label": "SilverLight",
"text": "SilverLight",
"class":"",
"data":"",
"codename":"Sl",
"value": "SL",
"disabled": false
}
, {
"id": "WinRT",
"label": "WinRT",
"text": "WinRT",
"class":"",
"data":"",
"codename":"Winrt",
"value": "WinRT",
"disabled": false
}
, {
"id": "Android",
"label": "Android",
"text": "Android",
"class":"",
"data":"",
"codename":"Android",
"value": "Android",
"disabled": false
}
, {
"id": "IOS",
"label": "IOS",
"text": "IOS",
"class":"",
"data":"",
"codename":"Ios",
"value": "IOS",
"disabled": false
}
]
},
{
"srfkey": "CodeList12",
"emptytext": "未定义",
......@@ -225,6 +287,46 @@
}
]
},
{
"srfkey": "CodeList45",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "1",
"label": "工作日",
"text": "工作日",
"class":"",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
, {
"id": "2",
"label": "非工作日",
"text": "非工作日",
"class":"",
"data":"",
"codename":"Item_2",
"value": "2",
"disabled": false
}
, {
"id": "3",
"label": "自定义工作日",
"text": "自定义工作日",
"class":"",
"data":"",
"codename":"Item_3",
"value": "3",
"disabled": false
}
]
},
{
"srfkey": "ORDERTYPE",
"emptytext": "未定义",
......
......@@ -13,6 +13,14 @@ export default {
"4": "类型3",
"empty": ""
},
CodeList96: {
"HTML": "HTML",
"SL": "SilverLight",
"WinRT": "WinRT",
"Android": "Android",
"IOS": "IOS",
"empty": ""
},
CodeList12: {
"REPORTFOLDER_1": "经营性报表",
"REPORTFOLDER_2": "财务报表",
......@@ -36,6 +44,12 @@ export default {
"40": "未通过",
"empty": ""
},
CodeList45: {
"1": "工作日",
"2": "非工作日",
"3": "自定义工作日",
"empty": ""
},
ORDERTYPE: {
"empty": "",
},
......
......@@ -13,6 +13,14 @@ export default {
"4": "类型3",
"empty": "",
},
CodeList96: {
"HTML": "HTML",
"SL": "SilverLight",
"WinRT": "WinRT",
"Android": "Android",
"IOS": "IOS",
"empty": "",
},
CodeList12: {
"REPORTFOLDER_1": "经营性报表",
"REPORTFOLDER_2": "财务报表",
......@@ -36,6 +44,12 @@ export default {
"40": "未通过",
"empty": "",
},
CodeList45: {
"1": "工作日",
"2": "非工作日",
"3": "自定义工作日",
"empty": "",
},
ORDERTYPE: {
"empty": "",
},
......
......@@ -373,6 +373,11 @@ export default {
formitem8: "开关(=0)",
formitem9: "选项框",
formitem10: "单选项列表(nil)",
formitem11: "选项框列表(nil)",
formitem12: "地址框(nil)",
formitem13: "时间选择(notnil)",
formitem14: "数据选择(选项框取消)",
formitem15: "",
ibizcustomerid: "客户标识",
ibizorderid: "订单标识",
},
......
......@@ -372,6 +372,11 @@ export default {
formitem8: "开关(=0)",
formitem9: "选项框",
formitem10: "单选项列表(nil)",
formitem11: "选项框列表(nil)",
formitem12: "地址框(nil)",
formitem13: "时间选择(notnil)",
formitem14: "数据选择(选项框取消)",
formitem15: "",
ibizcustomerid: "客户标识",
ibizorderid: "订单标识",
},
......
......@@ -84,6 +84,68 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey: "CodeList96",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "HTML",
label: "HTML",
text: "HTML",
"class":"",
"data":"",
"codename":"Html",
value: "HTML",
disabled: false,
},
{
id: "SL",
label: "SilverLight",
text: "SilverLight",
"class":"",
"data":"",
"codename":"Sl",
value: "SL",
disabled: false,
},
{
id: "WinRT",
label: "WinRT",
text: "WinRT",
"class":"",
"data":"",
"codename":"Winrt",
value: "WinRT",
disabled: false,
},
{
id: "Android",
label: "Android",
text: "Android",
"class":"",
"data":"",
"codename":"Android",
value: "Android",
disabled: false,
},
{
id: "IOS",
label: "IOS",
text: "IOS",
"class":"",
"data":"",
"codename":"Ios",
value: "IOS",
disabled: false,
},
]
},
{
srfkey: "CodeList12",
emptytext: "未定义",
......@@ -233,6 +295,46 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey: "CodeList45",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "1",
label: "工作日",
text: "工作日",
"class":"",
"data":"",
"codename":"Item_1",
value: "1",
disabled: false,
},
{
id: "2",
label: "非工作日",
text: "非工作日",
"class":"",
"data":"",
"codename":"Item_2",
value: "2",
disabled: false,
},
{
id: "3",
label: "自定义工作日",
text: "自定义工作日",
"class":"",
"data":"",
"codename":"Item_3",
value: "3",
disabled: false,
},
]
},
{
"srfkey": "ORDERTYPE",
"emptytext": "未定义",
......
......@@ -242,6 +242,48 @@
style="">
</app-radio-group>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem11.visible" :style="{}" :lg="{ span: 24, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item name='formitem11' :itemRules="this.rules().formitem11" class='' :caption="$t('entities.ibizorder.uipart_0011_form.details.formitem11')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem11.error" :isEmptyCaption="false" labelPos="LEFT">
<app-checkbox-list
v-model="data.formitem11"
:data="data"
:context="context"
:viewparams="viewparams"
:disabled="detailsModel.formitem11.disabled"
:localContext ='{ }'
:localParam ='{ }'
tag='CodeList96'
codelistType='STATIC'
mode=""
name="formitem11"
style="">
</app-checkbox-list>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem12.visible" :style="{}" :lg="{ span: 24, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item name='formitem12' :itemRules="this.rules().formitem12" class='' :caption="$t('entities.ibizorder.uipart_0011_form.details.formitem12')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem12.error" :isEmptyCaption="false" labelPos="LEFT">
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem13.visible" :style="{}" :lg="{ span: 24, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item name='formitem13' :itemRules="this.rules().formitem13" class='' :caption="$t('entities.ibizorder.uipart_0011_form.details.formitem13')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem13.error" :isEmptyCaption="false" labelPos="LEFT">
<date-picker type="datetime" :transfer="true" format="yyyy-MM-dd HH:mm:ss" placeholder="请选择时间..." :value="data.formitem13" :disabled="detailsModel.formitem13.disabled" style="min-width: 150px; width:160px;" @on-change="(val1, val2) => { this.data.formitem13 = val1 }"></date-picker>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem14.visible" :style="{}" :lg="{ span: 24, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item name='formitem14' :itemRules="this.rules().formitem14" class='' :caption="$t('entities.ibizorder.uipart_0011_form.details.formitem14')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.formitem14.error" :isEmptyCaption="false" labelPos="LEFT">
</app-form-item>
</i-col>
......@@ -655,6 +697,11 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
formitem8: null,
formitem9: null,
formitem10: null,
formitem11: null,
formitem12: null,
formitem13: null,
formitem14: null,
formitem15: null,
ibizcustomerid: null,
ibizorderid: null,
ibizorder:null,
......@@ -780,6 +827,22 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
{ required: this.detailsModel.formitem10.required, type: 'string', message: '单选项列表(nil) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem10.required, type: 'string', message: '单选项列表(nil) 值不能为空', trigger: 'blur' },
],
formitem11: [
{ required: this.detailsModel.formitem11.required, type: 'string', message: '选项框列表(nil) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem11.required, type: 'string', message: '选项框列表(nil) 值不能为空', trigger: 'blur' },
],
formitem12: [
{ required: this.detailsModel.formitem12.required, type: 'string', message: '地址框(nil) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem12.required, type: 'string', message: '地址框(nil) 值不能为空', trigger: 'blur' },
],
formitem13: [
{ required: this.detailsModel.formitem13.required, type: 'string', message: '时间选择(notnil) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem13.required, type: 'string', message: '时间选择(notnil) 值不能为空', trigger: 'blur' },
],
formitem14: [
{ required: this.detailsModel.formitem14.required, type: 'string', message: '数据选择(选项框取消) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem14.required, type: 'string', message: '数据选择(选项框取消) 值不能为空', trigger: 'blur' },
],
}
}
......@@ -936,6 +999,16 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
formitem9: new FormItemModel({ caption: '选项框', detailType: 'FORMITEM', name: 'formitem9', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem10: new FormItemModel({ caption: '单选项列表(nil)', detailType: 'FORMITEM', name: 'formitem10', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem11: new FormItemModel({ caption: '选项框列表(nil)', detailType: 'FORMITEM', name: 'formitem11', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem12: new FormItemModel({ caption: '地址框(nil)', detailType: 'FORMITEM', name: 'formitem12', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem13: new FormItemModel({ caption: '时间选择(notnil)', detailType: 'FORMITEM', name: 'formitem13', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem14: new FormItemModel({ caption: '数据选择(选项框取消)', detailType: 'FORMITEM', name: 'formitem14', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
formitem15: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'formitem15', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
ibizcustomerid: new FormItemModel({ caption: '客户标识', detailType: 'FORMITEM', name: 'ibizcustomerid', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
......@@ -1255,6 +1328,66 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
this.formDataChange({ name: 'formitem10', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem11 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UIPART_0011Base
*/
@Watch('data.formitem11')
onFormitem11Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem11', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem12 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UIPART_0011Base
*/
@Watch('data.formitem12')
onFormitem12Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem12', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem13 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UIPART_0011Base
*/
@Watch('data.formitem13')
onFormitem13Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem13', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem14 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UIPART_0011Base
*/
@Watch('data.formitem14')
onFormitem14Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem14', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 formitem15 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UIPART_0011Base
*/
@Watch('data.formitem15')
onFormitem15Change(newVal: any, oldVal: any) {
this.formDataChange({ name: 'formitem15', newVal: newVal, oldVal: oldVal });
}
/**
* 监控表单属性 ibizcustomerid 值
*
......@@ -1458,6 +1591,43 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
this.detailsModel.formitem10.setVisible(ret);
}
if (Object.is(name, '') || Object.is(name, 'formitem11')) {
let ret = false;
const _formitem11 = this.data.formitem11;
if (this.$verify.testCond(_formitem11, 'ISNULL', '')) {
ret = true;
}
this.detailsModel.formitem11.setVisible(ret);
}
if (Object.is(name, '') || Object.is(name, 'formitem12')) {
let ret = false;
const _formitem12 = this.data.formitem12;
if (this.$verify.testCond(_formitem12, 'ISNULL', '')) {
ret = true;
}
this.detailsModel.formitem12.setVisible(ret);
}
if (Object.is(name, '') || Object.is(name, 'formitem13')) {
let ret = false;
const _formitem13 = this.data.formitem13;
if (this.$verify.testCond(_formitem13, 'ISNOTNULL', '')) {
ret = true;
}
this.detailsModel.formitem13.setVisible(ret);
}
if (Object.is(name, '') || Object.is(name, 'formitem9')) {
let ret = false;
const _formitem9 = this.data.formitem9;
if (this.$verify.testCond(_formitem9, 'EQ', '1')) {
ret = true;
}
this.detailsModel.formitem14.setVisible(ret);
}
}
......@@ -2568,6 +2738,9 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
if (this.data.hasOwnProperty('formitem9')) {
this.data['formitem9'] = '1';
}
if (this.data.hasOwnProperty('formitem13')) {
this.data['formitem13'] = this.$util.dateFormat(new Date());
}
}
/**
......
......@@ -134,6 +134,25 @@ export default class UIPART_0011Model {
name: 'formitem10',
dataType:'FORMITEM',
},
{
name: 'formitem11',
dataType:'FORMITEM',
},
{
name: 'formitem12',
dataType:'FORMITEM',
},
{
name: 'formitem13',
dataType:'FORMITEM',
},
{
name: 'formitem14',
dataType:'FORMITEM',
},
{
name: 'formitem15',
},
{
name: 'ibizcustomerid',
prop: 'ibizcustomerid',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册