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

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

上级 ee47375c
...@@ -362,14 +362,14 @@ export default { ...@@ -362,14 +362,14 @@ export default {
ordertype: "订单类型", ordertype: "订单类型",
orderstate: "订单状态", orderstate: "订单状态",
opinion: "审批意见", opinion: "审批意见",
formitem: "文本框(nil)", formitem: "文本框(notnil)",
formitem1: "数值框(<>100)", formitem1: "数值框(<>100)",
formitem2: "密码框(=123)", formitem2: "密码框(=123)",
formitem3: "多行输入框(包含显示)", formitem3: "多行输入框(包含显示)",
formitem4: "进步器(<100)", formitem4: "进步器(<100)",
formitem5: "评分器(=3)", formitem5: "评分器(=3)",
formitem6: "滑动输入条(>=60)", formitem6: "滑动输入条(>=60)",
formitem7: "下拉列表框(notnil)", formitem7: "下拉列表框(nil)",
formitem8: "开关(=0)", formitem8: "开关(=0)",
formitem9: "选项框", formitem9: "选项框",
formitem10: "单选项列表", formitem10: "单选项列表",
......
...@@ -361,14 +361,14 @@ export default { ...@@ -361,14 +361,14 @@ export default {
ordertype: "订单类型", ordertype: "订单类型",
orderstate: "订单状态", orderstate: "订单状态",
opinion: "审批意见", opinion: "审批意见",
formitem: "文本框(nil)", formitem: "文本框(notnil)",
formitem1: "数值框(<>100)", formitem1: "数值框(<>100)",
formitem2: "密码框(=123)", formitem2: "密码框(=123)",
formitem3: "多行输入框(包含显示)", formitem3: "多行输入框(包含显示)",
formitem4: "进步器(<100)", formitem4: "进步器(<100)",
formitem5: "评分器(=3)", formitem5: "评分器(=3)",
formitem6: "滑动输入条(>=60)", formitem6: "滑动输入条(>=60)",
formitem7: "下拉列表框(notnil)", formitem7: "下拉列表框(nil)",
formitem8: "开关(=0)", formitem8: "开关(=0)",
formitem9: "选项框", formitem9: "选项框",
formitem10: "单选项列表", formitem10: "单选项列表",
......
...@@ -737,8 +737,8 @@ export default class UIPART_0011Base extends Vue implements ControlInterface { ...@@ -737,8 +737,8 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
{ required: this.detailsModel.opinion.required, type: 'string', message: '审批意见 值不能为空', trigger: 'blur' }, { required: this.detailsModel.opinion.required, type: 'string', message: '审批意见 值不能为空', trigger: 'blur' },
], ],
formitem: [ formitem: [
{ required: this.detailsModel.formitem.required, type: 'string', message: '文本框(nil) 值不能为空', trigger: 'change' }, { required: this.detailsModel.formitem.required, type: 'string', message: '文本框(notnil) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem.required, type: 'string', message: '文本框(nil) 值不能为空', trigger: 'blur' }, { required: this.detailsModel.formitem.required, type: 'string', message: '文本框(notnil) 值不能为空', trigger: 'blur' },
], ],
formitem1: [ formitem1: [
{ required: this.detailsModel.formitem1.required, type: 'string', message: '数值框(<>100) 值不能为空', trigger: 'change' }, { required: this.detailsModel.formitem1.required, type: 'string', message: '数值框(<>100) 值不能为空', trigger: 'change' },
...@@ -765,8 +765,8 @@ export default class UIPART_0011Base extends Vue implements ControlInterface { ...@@ -765,8 +765,8 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
{ required: this.detailsModel.formitem6.required, type: 'string', message: '滑动输入条(>=60) 值不能为空', trigger: 'blur' }, { required: this.detailsModel.formitem6.required, type: 'string', message: '滑动输入条(>=60) 值不能为空', trigger: 'blur' },
], ],
formitem7: [ formitem7: [
{ required: this.detailsModel.formitem7.required, type: 'string', message: '下拉列表框(notnil) 值不能为空', trigger: 'change' }, { required: this.detailsModel.formitem7.required, type: 'string', message: '下拉列表框(nil) 值不能为空', trigger: 'change' },
{ required: this.detailsModel.formitem7.required, type: 'string', message: '下拉列表框(notnil) 值不能为空', trigger: 'blur' }, { required: this.detailsModel.formitem7.required, type: 'string', message: '下拉列表框(nil) 值不能为空', trigger: 'blur' },
], ],
formitem8: [ formitem8: [
{ required: this.detailsModel.formitem8.required, type: 'string', message: '开关(=0) 值不能为空', trigger: 'change' }, { required: this.detailsModel.formitem8.required, type: 'string', message: '开关(=0) 值不能为空', trigger: 'change' },
...@@ -915,7 +915,7 @@ export default class UIPART_0011Base extends Vue implements ControlInterface { ...@@ -915,7 +915,7 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
, ,
opinion: new FormItemModel({ caption: '审批意见', detailType: 'FORMITEM', name: 'opinion', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 0 }) opinion: new FormItemModel({ caption: '审批意见', detailType: 'FORMITEM', name: 'opinion', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 0 })
, ,
formitem: new FormItemModel({ caption: '文本框(nil)', detailType: 'FORMITEM', name: 'formitem', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem: new FormItemModel({ caption: '文本框(notnil)', detailType: 'FORMITEM', name: 'formitem', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
formitem1: new FormItemModel({ caption: '数值框(<>100)', detailType: 'FORMITEM', name: 'formitem1', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem1: new FormItemModel({ caption: '数值框(<>100)', detailType: 'FORMITEM', name: 'formitem1', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -929,7 +929,7 @@ export default class UIPART_0011Base extends Vue implements ControlInterface { ...@@ -929,7 +929,7 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
, ,
formitem6: new FormItemModel({ caption: '滑动输入条(>=60)', detailType: 'FORMITEM', name: 'formitem6', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem6: new FormItemModel({ caption: '滑动输入条(>=60)', detailType: 'FORMITEM', name: 'formitem6', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
formitem7: new FormItemModel({ caption: '下拉列表框(notnil)', detailType: 'FORMITEM', name: 'formitem7', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem7: new FormItemModel({ caption: '下拉列表框(nil)', detailType: 'FORMITEM', name: 'formitem7', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
formitem8: new FormItemModel({ caption: '开关(=0)', detailType: 'FORMITEM', name: 'formitem8', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) formitem8: new FormItemModel({ caption: '开关(=0)', detailType: 'FORMITEM', name: 'formitem8', visible: false, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
...@@ -1425,7 +1425,7 @@ export default class UIPART_0011Base extends Vue implements ControlInterface { ...@@ -1425,7 +1425,7 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
if (Object.is(name, '') || Object.is(name, 'formitem7')) { if (Object.is(name, '') || Object.is(name, 'formitem7')) {
let ret = false; let ret = false;
const _formitem7 = this.data.formitem7; const _formitem7 = this.data.formitem7;
if (this.$verify.testCond(_formitem7, 'ISNOTNULL', '')) { if (this.$verify.testCond(_formitem7, 'ISNULL', '')) {
ret = true; ret = true;
} }
this.detailsModel.formitem7.setVisible(ret); this.detailsModel.formitem7.setVisible(ret);
...@@ -2533,6 +2533,9 @@ export default class UIPART_0011Base extends Vue implements ControlInterface { ...@@ -2533,6 +2533,9 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
if (this.data.hasOwnProperty('ordertime')) { if (this.data.hasOwnProperty('ordertime')) {
this.data['ordertime'] = this.$util.dateFormat(new Date()); this.data['ordertime'] = this.$util.dateFormat(new Date());
} }
if (this.data.hasOwnProperty('formitem')) {
this.data['formitem'] = '值不为空';
}
if (this.data.hasOwnProperty('formitem1')) { if (this.data.hasOwnProperty('formitem1')) {
this.data['formitem1'] = '111'; this.data['formitem1'] = '111';
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册