Commit 0ae2a68d by huxi

litdck 调整代码格式

parent 6cad3bd1
......@@ -905,4 +905,4 @@ export default {
'trnmod.swiadd.purpos': null,
'lidgrp.con.namelc': null,
'liaall.liaccv.relcshpct': null,
}
}
......@@ -156,14 +156,14 @@
</div>
</template>
<script>
import event from "../event";
import Docpre from "~/views/Public/Docpre";
import event from '../event';
import Docpre from '~/views/Public/Docpre';
export default {
components: {
"c-docpre": Docpre,
'c-docpre': Docpre,
},
inject: ["root"],
props: ["model", "codes"],
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {
......@@ -171,16 +171,16 @@ export default {
};
},
watch: {
"model.brdgrp.blk.docdisflg": {
'model.brdgrp.blk.docdisflg': {
immediate: true,
handler(val, oldval) {
if (this.model.brdgrp.blk.docdisflg != "X") {
if (this.model.brdgrp.blk.docdisflg != 'X') {
this.typ1 = true;
this.model.brdgrp.blk.docdis = "";
this.changeFormItemRequired("brdgrp.blk.docdis", false);
this.model.brdgrp.blk.docdis = '';
this.changeFormItemRequired('brdgrp.blk.docdis', false);
} else {
this.typ1 = false;
this.changeFormItemRequired("brdgrp.blk.docdis", true);
this.changeFormItemRequired('brdgrp.blk.docdis', true);
}
},
},
......
......@@ -349,11 +349,11 @@
</template>
<script>
import event from "../event";
import event from '../event';
export default {
inject: ["root"],
props: ["model", "codes"],
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {
......@@ -363,18 +363,18 @@ export default {
},
methods: {
nonrevflg1Change() {
if (this.model.liaall.limmod.limpts.nonrevflg1 == "1") {
this.model.liaall.limmod.limpts.pfcod1 = "";
if (this.model.liaall.limmod.limpts.nonrevflg1 == '1') {
this.model.liaall.limmod.limpts.pfcod1 = '';
}
},
nonrevflg2Change() {
if (this.model.liaall.limmod.limpts.nonrevflg2 == "1") {
this.model.liaall.limmod.limpts.pfcod2 = "";
if (this.model.liaall.limmod.limpts.nonrevflg2 == '1') {
this.model.liaall.limmod.limpts.pfcod2 = '';
}
},
show(){
let len1 = this.model.liaall.limmod.tygrd["rows"].length||[];
let len2 = this.model.liaall.limmod.dggrd["rows"].length||[];
let len1 = this.model.liaall.limmod.tygrd['rows'].length||[];
let len2 = this.model.liaall.limmod.dggrd['rows'].length||[];
if(len1>0&&len2>0){
this.same = true;
......
......@@ -561,11 +561,11 @@
</div>
</template>
<script>
import event from "../event";
import event from '../event';
export default {
inject: ["root"],
props: ["model", "codes"],
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {
......@@ -575,30 +575,30 @@ export default {
};
},
watch: {
"model.outlen.szflg": {
'model.outlen.szflg': {
immediate: true,
handler(val, oldval) {
if (this.model.outlen.szflg == "1") {
if (this.model.outlen.szflg == '1') {
this.flag1 = false;
} else {
this.flag1 = true;
}
},
},
"model.brdgrp.rec.matdat": {
'model.brdgrp.rec.matdat': {
immediate: true,
handler(val, oldval) {
if (this.model.brdgrp.rec.matdat != "") {
if (this.model.brdgrp.rec.matdat != '') {
this.flag2 = true;
} else {
this.flag2 = false;
}
},
},
"model.brdgrp.rec.docflg": {
'model.brdgrp.rec.docflg': {
immediate: true,
handler(val, oldval) {
if (this.model.brdgrp.rec.docflg == "P") {
if (this.model.brdgrp.rec.docflg == 'P') {
this.flag3 = true;
this.flag2 = true;
} else {
......@@ -607,10 +607,10 @@ export default {
}
},
},
"model.brdgrp.blk.matper": {
'model.brdgrp.blk.matper': {
immediate: true,
handler(val, oldval) {
if (this.model.brdgrp.blk.matper != "") {
if (this.model.brdgrp.blk.matper != '') {
this.flag3 = true;
} else {
this.flag3 = false;
......@@ -621,10 +621,10 @@ export default {
methods: {},
created: function () {},
dscinsflgChang() {
if (this.model.brdgrp.rec.dscinsflg === "X") {
this.model.brdgrp.rec.docsta = "H";
if (this.model.brdgrp.rec.dscinsflg === 'X') {
this.model.brdgrp.rec.docsta = 'H';
} else {
this.model.brdgrp.rec.docsta = "G";
this.model.brdgrp.rec.docsta = 'G';
}
},
};
......
......@@ -14,23 +14,23 @@
</div>
</template>
<script>
import event from "../event";
import Litdckp from "./Litdckp";
import Docpre from "./Docpre";
import Srmp from "./Srmp";
import event from '../event';
import Litdckp from './Litdckp';
import Docpre from './Docpre';
import Srmp from './Srmp';
export default {
components:{
"m-litdckp": Litdckp,
"m-docpre": Docpre,
"m-srmp": Srmp,
'm-litdckp': Litdckp,
'm-docpre': Docpre,
'm-srmp': Srmp,
},
inject: ["root"],
props: ["model", "codes"],
inject: ['root'],
props: ['model', 'codes'],
mixins: [event],
data() {
return {
activeNames: ["litdckp"],
activeNames: ['litdckp'],
};
},
methods: {},
......
......@@ -38,12 +38,12 @@
</div>
</template>
<script>
import event from "../event"
import commonProcess from "~/mixin/commonProcess";
import event from '../event'
import commonProcess from '~/mixin/commonProcess';
export default {
inject: ['root'],
props:["model","codes"],
props:['model','codes'],
mixins: [commonProcess,event],
data(){
return {
......@@ -51,7 +51,7 @@ export default {
}
},
watch:{
"model.brdgrp.srm.djutyp":{
'model.brdgrp.srm.djutyp':{
immediate:true,
handler(val,oldval){
if(this.model.brdgrp.srm.djutyp == 'D'){
......
......@@ -108,48 +108,48 @@
</div>
</template>
<script>
import CodeTable from "~/config/CodeTable";
import CodeTable from '~/config/CodeTable';
import formRules from '../model/check';
import operationFunc from "~/mixin/operationFunc";
import Ovwp from "./Ovwp";
import Litdck from "../model";
import event from "../event";
import operationFunc from '~/mixin/operationFunc';
import Ovwp from './Ovwp';
import Litdck from '../model';
import event from '../event';
import Litdckp from "./Litdckp";
import Docpre from "./Docpre";
// import Engp from "./Engp"
// import Setpan from "./Setpan"
// import Coninfp from "./Coninfp"
// import Docpan from "./Docpan"
// import Doctre from "./Doctre"
// import Limitbody from "./Limitbody";
import Srmp from "./Srmp";
import Litdckp from './Litdckp';
import Docpre from './Docpre';
// import Engp from './Engp'
// import Setpan from './Setpan'
// import Coninfp from './Coninfp'
// import Docpan from './Docpan'
// import Doctre from './Doctre'
// import Limitbody from './Limitbody';
import Srmp from './Srmp';
import Engp from "~/components/business/engp/views";
import Ccvpan from "~/components/business/ccvpan/views";
import Coninfp from "~/components/business/coninfp/views";
import Docpan from "~/components/business/docpan/views";
import Doctre from "~/components/business/doctre/views";
import Setmod from "~/components/business/setmod/views";
import Glentry from "~/components/business/glentry/views";
// import Limitbody from "./Limitbody";
import Limitbody from "~/components/business/limitbody/views";
import Engp from '~/components/business/engp/views';
import Ccvpan from '~/components/business/ccvpan/views';
import Coninfp from '~/components/business/coninfp/views';
import Docpan from '~/components/business/docpan/views';
import Doctre from '~/components/business/doctre/views';
import Setmod from '~/components/business/setmod/views';
import Glentry from '~/components/business/glentry/views';
// import Limitbody from './Limitbody';
import Limitbody from '~/components/business/limitbody/views';
export default {
name: "Litdck",
name: 'Litdck',
components: {
"m-ovwp": Ovwp,
"m-litdckp": Litdckp,
"m-docpre": Docpre,
"m-engp": Engp,
"m-ccvpan": Ccvpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-limitbody": Limitbody,
"m-setmod": Setmod,
"m-glentry": Glentry,
"m-srmp": Srmp,
'm-ovwp': Ovwp,
'm-litdckp': Litdckp,
'm-docpre': Docpre,
'm-engp': Engp,
'm-ccvpan': Ccvpan,
'm-coninfp': Coninfp,
'm-docpan': Docpan,
'm-doctre': Doctre,
'm-limitbody': Limitbody,
'm-setmod': Setmod,
'm-glentry': Glentry,
'm-srmp': Srmp,
},
provide() {
return {
......@@ -159,12 +159,12 @@ export default {
mixins: [operationFunc, event], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "ovwp",
trnName: "litdck",
tabVal: 'ovwp',
trnName: 'litdck',
model: new Litdck().data,
rules: formRules,
codes: { ...CodeTable },
activeNames: ["engp"],
activeNames: ['engp'],
promptData: {
title: 'Select a Party',
columns: [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment