Commit dfb69fde authored by 黄奎's avatar 黄奎

页面修改

parent 3de1c799
......@@ -58,10 +58,12 @@
<q-tab :ripple="false" name="second" label="审批记录" />
</q-tabs>
<div v-if="tabCheck=='first'" style="margin:0 15px;">
 <backinfoForm :seting-obj="setingObj" :showType="showType" @close="closeShenheForm"></backinfoForm>
 <backinfoForm :seting-obj="setingObj" :showType="showType" @close="closeShenheForm" @success="refreshPage">
</backinfoForm>
</div>
<div v-if="tabCheck=='second'">
 <backflowForm :seting-obj="setingObj" :showType="showType" @close="closeShenheForm"></backflowForm>
 <backflowForm :seting-obj="setingObj" :showType="showType" @close="closeShenheForm" @success="refreshPage">
</backflowForm>
</div>
</q-card>
<div class="dialog-out-close" @click="closeShenheForm"
......@@ -103,6 +105,10 @@
console.log("setingObj", this.setingObj)
},
methods: {
refreshPage() {
this.persistent = false;
this.$emit('success');
},
closeShenheForm() {
this.persistent = false;
this.$emit('close');
......
......@@ -181,7 +181,7 @@
退课金额: {{setingObj.BackMoney}}
</span>
</template>
<template v-if="showType==2">
<template v-if="setingObj.SpecialNode==1">
<span>
<q-input filled stack-label :dense="false" v-model="backBillMsg.BackMoney" class="col-12" label="退课金额"
:rules="[val => !!val || '请填退课金额']" />
......
......@@ -112,38 +112,44 @@
cursor: pointer;
margin-right: 50px;
}
.processSet .SetShouSun{
.processSet .SetShouSun {
display: inline-block;
border-radius: 2px;
background-color: #8175FB;
color:#fff;
color: #fff;
position: absolute;
right:10px;
width:60px;
height:27px;
left:0;
top:0;
right: 10px;
width: 60px;
height: 27px;
left: 0;
top: 0;
line-height: 27px;
font-size:13px;
font-size: 13px;
}
.processSet .operationDiv{
.processSet .operationDiv {
position: absolute;
right:0;
top:0;
height:30px;
right: 0;
top: 0;
height: 30px;
line-height: 30px;
padding-right:10px;
padding-right: 10px;
vertical-align: top;
}
.processSet .operationDiv i:first-child{
font-size:13px;
.processSet .operationDiv i:first-child {
font-size: 13px;
}
.processSet .operationDiv i:hover{
color:red;
.processSet .operationDiv i:hover {
color: red;
}
.processSet .justTwoClass{
margin-left:8px;
.processSet .justTwoClass {
margin-left: 8px;
}
</style>
<template>
<div class="page-body">
......@@ -168,9 +174,12 @@
<span class="SetShouSun">设定收损</span>
</template>
<div class="operationDiv">
<i class="iconfont icon-shanchu" style="position:relative;top:-2px;" @click.stop="DeleteNode(index)"></i>
<i style="margin:0 8px;" class="iconfont icon-shangyi2" v-if="index!=0" @click.stop="moveDown(index,0)"></i>
<i class="iconfont icon-xiayi" :class="{'justTwoClass':index==0}" @click.stop="moveDown(index,1)" v-if="index!=flowObj.FlowNodeList.length-1"></i>
<i class="iconfont icon-shanchu" style="position:relative;top:-2px;"
@click.stop="DeleteNode(index)"></i>
<i style="margin:0 8px;" class="iconfont icon-shangyi2" v-if="index!=0"
@click.stop="moveDown(index,0)"></i>
<i class="iconfont icon-xiayi" :class="{'justTwoClass':index==0}" @click.stop="moveDown(index,1)"
v-if="index!=flowObj.FlowNodeList.length-1"></i>
</div>
</div>
<div class="processLine" v-if="index!=flowObj.FlowNodeList.length-1">
......@@ -197,9 +206,12 @@
<span class="SetShouSun">设定收损</span>
</template>
<div class="operationDiv">
<i class="iconfont icon-shanchu" style="position:relative;top:-2px;" @click.stop="DeleteNode(index)"></i>
<i style="margin:0 8px;" class="iconfont icon-shangyi2" v-if="index!=0" @click.stop="moveDown(index,0)"></i>
<i class="iconfont icon-xiayi" :class="{'justTwoClass':index==0}" @click.stop="moveDown(index,1)" v-if="index!=flowObj.FlowNodeList.length-1"></i>
<i class="iconfont icon-shanchu" style="position:relative;top:-2px;"
@click.stop="DeleteNode(index)"></i>
<i style="margin:0 8px;" class="iconfont icon-shangyi2" v-if="index!=0"
@click.stop="moveDown(index,0)"></i>
<i class="iconfont icon-xiayi" :class="{'justTwoClass':index==0}" @click.stop="moveDown(index,1)"
v-if="index!=flowObj.FlowNodeList.length-1"></i>
</div>
</div>
<div class="processLine" v-if="index!=flowObj.FlowNodeList.length-1">
......@@ -278,7 +290,7 @@
},
getBackClassFlow() {
queryBackClassFlow(this.msg).then(res => {
if (res.Code == 1) {
if (res.Code == 1 && res.Data) {
this.flowObj = res.Data;
}
})
......@@ -314,7 +326,7 @@
})
},
//下移下移
moveDown(index,IsUp){
moveDown(index, IsUp) {
var currentItem = this.flowObj.FlowNodeList[index];
if (IsUp == 0) {
if (index > 0) {
......
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