Commit dfb69fde authored by 黄奎's avatar 黄奎

页面修改

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