-
@@ -105,22 +60,6 @@ export default {
},
},
computed: {
- // 操作步骤表单配置
- jcbColumns() {
- return [{
- label: 'template.lba.lba002.jcbmc',
- prop: 'jcb',
- bodyType: 'input',
- bodyFillType: 'preFill',
- width: 280,
- },{
- label: '',
- prop: 'jcbBh',
- bodyType: 'jcb',
- bodyFillType: 'actFill',
- width: 280
- }]
- },
// 备注表单配置
remarkConig() {
return [
@@ -159,7 +98,7 @@ export default {
methodCode: {
label: 'template.common.methodCode',
type: "input",
- fillType: "preFill",
+ fillType: "actFill",
maxlength: 50
},
versionNum: {
@@ -173,30 +112,21 @@ export default {
},
{
type: "conditionItem",
- label: 'template.lba.lba002.cztj',
+ label: 'template.lba.lba006.fxtj',
config: {
- pre: {
- label: 'template.common.preFill',
- type: "select",
- multiple: true,
- fillType: "preFill",
- options: this.getDictOptions('business_pztj'),
- otherCode: "preOther",
- },
act: {
label: 'template.common.actualFill',
type: "select",
fillType: "actFill",
otherCode: "actOther",
multiple: true,
- compareTo: "pre",
options: this.getDictOptions('business_pztj')
}
}
},
{
type: "cellItem",
- label: 'template.lba.lba002.czsj',
+ label: 'template.lba.lba006.fxsj',
config: {
startDate: {
label: 'template.common.startTime',
@@ -210,102 +140,37 @@ export default {
}
]
},
- // 附件表单配置
- getFjFormConfig() {
+ paralleStepFormConfig(){
return [
{
- type: "attachment",
+ type: 'step',
config: {
- attTitle: {
- label: 'template.lba.lba003.fj',
- type: "attachment",
+ jcb: {
+ label: 'template.lba.lba006.jcb',
+ type: 'jcb',
+ fillType: 'actFill',
+ maxlength: 20
+ },
+ jg: {
+ label: 'template.lba.lba006.jg',
+ type: "select",
fillType: "actFill",
+ otherCode: "jgOther",
+ otherMaxlength: 100,
+ multiple: false,
+ options: this.getDictOptions('business_lba_jg')
},
+ sjwjm: {
+ span:1,
+ label: 'template.lba.lba006.sjwjm',
+ type: 'input',
+ fillType: 'actFill',
+ maxlength: 100
+ }
}
}
]
},
- paralleStepFormConfig(){
- return [
- {
- type: 'step',
- config: {
- jz: {
- label: 'template.lba.lba004.jzmc',
- type: 'input',
- fillType: 'preFill',
- subType: 'sj',
- subKey: 'jzCode',
- subFillType: 'actFill',
- maxlength: 20
- }
- }
- }
- ]
- },
- paralleStepColumns(){
- return [
- {
- label: 'template.lba.lba004.xsbs',
- prop: 'xsbs',
- width: 150,
- showWidth: 120,
- bodyType: 'input',
- bodyFillType: 'preFill'
- },
- {
- label: 'template.lba.lba004.ysypjrz',
- prop: 'ysypjrz',
- width: 250,
- showWidth: 120,
- fillType: 'preFill',
- bodyType: 'inputNumber',
- bodyFillType: 'preFill',
- headerSelectKey: 'ysypjrzUnit',
- headerSelectTo: 'sjypjrzUnit',
- headerOptions: this.getDictOptions('business_tjdw'),
- },
- {
- label: 'template.lba.lba004.sjypjrz',
- prop: 'sjypjrz',
- width: 250,
- showWidth: 120,
- fillType: 'preFill',
- bodyType: 'inputNumber',
- bodyFillType: 'actFill',
- compareTo: 'ysypjrz',
- copyFrom: 'ysypjrz',
- headerSelectKey: 'sjypjrzUnit',
- headerOptions: this.getDictOptions('business_tjdw'),
- },
- {
- label: 'template.lba.lba004.ysjzjrz',
- prop: 'ysjzjrz',
- width: 250,
- showWidth: 120,
- fillType: 'preFill',
- bodyType: 'inputNumber',
- bodyFillType: 'preFill',
- headerSelectKey: 'ysjzjrzUnit',
- headerSelectTo: 'sjjzjrzUnit',
- headerOptions: this.getDictOptions('business_tjdw'),
- },
- {
- label: 'template.lba.lba004.sjjzjrz',
- prop: 'sjjzjrz',
- width: 250,
- showWidth: 120,
- fillType: 'preFill',
- bodyType: 'inputNumber',
- bodyFillType: 'actFill',
- compareTo: 'ysjzjrz',
- copyFrom: 'ysjzjrz',
- headerSelectKey: 'sjjzjrzUnit',
- headerOptions: this.getDictOptions('business_tjdw'),
- }
- ]
- }
-
},
data() {
return {
@@ -313,9 +178,7 @@ export default {
};
},
mounted() {
- if(this.fillType === "preFill"){
- this.handleAddParalle(true);
- }
+ this.handleAddParalle(true);
},
methods: {
//获取已填写的表单数据