|
|
|
@ -4,74 +4,29 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-dialog |
|
|
|
|
|
|
|
|
|
:visible="visible" |
|
|
|
|
class="m-auto" |
|
|
|
|
append-to-body |
|
|
|
|
class="apple" |
|
|
|
|
:close-on-click-modal="true" |
|
|
|
|
:show-close="false" |
|
|
|
|
style="border-radius: 50px;" |
|
|
|
|
custom-class=" data-dia23 w-2/4 "> |
|
|
|
|
<div slot="title" class="dia-header"> |
|
|
|
|
<div class="data-title" v-if="flow === 1 || flow === 2">提示</div> |
|
|
|
|
<div class="data-title" v-else-if="flow === 4">提交</div> |
|
|
|
|
<div class="data-title" v-else>提交成功</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="popBody" v-if="flow === 1"> |
|
|
|
|
<h2 class="text-red-500 text-2xl">本业务需要授权</h2> |
|
|
|
|
</div> |
|
|
|
|
<div class="popBody" v-else-if="flow === 4"> |
|
|
|
|
<h2 class="text-red-500 text-2xl">提交后将不可更改,您确定要提交吗?</h2> |
|
|
|
|
</div> |
|
|
|
|
<div class="popBody" v-else-if="flow === 2"> |
|
|
|
|
<el-form ref="form2" :model="disForm" label-width="80px" class="text-3xl"> |
|
|
|
|
<el-form-item label="授权柜员"> |
|
|
|
|
<el-input disabled v-model="disForm.name"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="授权柜员"> |
|
|
|
|
<el-input type="password" disabled v-model="disForm.pass"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
|
</div> |
|
|
|
|
<div class="popBody w-full" v-else> |
|
|
|
|
<el-row :gutter="20"> |
|
|
|
|
<el-form label-width="100px"> |
|
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
|
<el-form-item v-for="(val, key) in leftObj" :key="key" :label="key + ':'"> |
|
|
|
|
<div>{{ val }}</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
|
<el-form-item v-for="(val, key) in rightObj" :key="key" :label="key + ':'"> |
|
|
|
|
<div>{{ val }}</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-form> |
|
|
|
|
</el-row> |
|
|
|
|
</div> |
|
|
|
|
<div class="popBtns" v-if="flow === 1 || flow === 2 || flow === 4"> |
|
|
|
|
<el-button class="close btn hover:bg-blue-100 " @click="cancelIt">取 消</el-button> |
|
|
|
|
<el-button class="sure btn hover:bg-blue-700 " type="primary" @click="sureIt">确 定</el-button> |
|
|
|
|
</div> |
|
|
|
|
<div class="myPopBtns" v-else> |
|
|
|
|
<el-button class="sure btn hover:bg-blue-700 " type="primary" @click="sureIt">确 定</el-button> |
|
|
|
|
</div> |
|
|
|
|
</el-dialog> |
|
|
|
|
<!-- <div class="bg-gray-50 test"> |
|
|
|
|
<div width="900px" class="data-dia22 max-h-screen 2xl:-mt-20;" ref="dataDia" v-drag> |
|
|
|
|
<div class="dia-header"> |
|
|
|
|
<div class="data-title" v-if="flow === 1 || flow === 2">授权</div> |
|
|
|
|
custom-class="2xl:w-3/5 xl:w-4/5 lg:w-full bg-transparent" |
|
|
|
|
|
|
|
|
|
> |
|
|
|
|
<div class=" data-dia23 mx-auto rounded-3xl w-1/2" :class="{ ['w-full']: flow === 3 }"> |
|
|
|
|
<!-- 2xl:w-3/5 xl:w-4/5 lg:w-full --> |
|
|
|
|
<div slot="title" class="dia-header rounded-3xl"> |
|
|
|
|
<div class="data-title" v-if="flow === 1 || flow === 2">提示</div> |
|
|
|
|
<div class="data-title" v-else-if="flow === 4">提交</div> |
|
|
|
|
<div class="data-title" v-else>提交成功</div> |
|
|
|
|
<img class="close" src="@/assets/svg/close.svg" alt="" @click="cancelIt" /> |
|
|
|
|
</div> |
|
|
|
|
<div class="popBody" v-if="flow === 1"> |
|
|
|
|
<h2 class="text-red-500 text-2xl">本业务需要授权</h2> |
|
|
|
|
</div> |
|
|
|
|
<div class="popBody" v-else-if="flow === 4"> |
|
|
|
|
<h2 class="text-red-500 text-2xl">提交后将不可更改,您确认提交吗?</h2> |
|
|
|
|
<h2 class="text-red-500 text-2xl">提交后将不可更改,您确定要提交吗?</h2> |
|
|
|
|
</div> |
|
|
|
|
<div class="popBody" v-else-if="flow === 2"> |
|
|
|
|
<el-form ref="form2" :model="disForm" label-width="80px"> |
|
|
|
|
<el-form ref="form2" :model="disForm" label-width="150px" > |
|
|
|
|
<el-form-item label="授权柜员"> |
|
|
|
|
<el-input disabled v-model="disForm.name"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
@ -83,12 +38,12 @@ |
|
|
|
|
<div class="popBody w-full" v-else> |
|
|
|
|
<el-row :gutter="20"> |
|
|
|
|
<el-form label-width="100px"> |
|
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item v-for="(val, key) in leftObj" :key="key" :label="key + ':'"> |
|
|
|
|
<div>{{ val }}</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
|
<el-col :span="12"> |
|
|
|
|
<el-form-item v-for="(val, key) in rightObj" :key="key" :label="key + ':'"> |
|
|
|
|
<div>{{ val }}</div> |
|
|
|
|
</el-form-item> |
|
|
|
@ -103,10 +58,75 @@ |
|
|
|
|
<div class="myPopBtns" v-else> |
|
|
|
|
<el-button class="sure btn hover:bg-blue-700 " type="primary" @click="sureIt">确 定</el-button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <div width="900px" class="data-dia23 max-h-screen 2xl:-mt-20;" ref="dataDia" v-drag> |
|
|
|
|
<div class="dia-header"> |
|
|
|
|
<div class="data-title" v-if="flow === 1 || flow === 2">授权</div> |
|
|
|
|
<div class="data-title" v-else>提交成功</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="popBody w-full" v-if="flow === 1"> |
|
|
|
|
<h2 class="text-red-500 text-2xl">本业务需要授权</h2> |
|
|
|
|
</div> |
|
|
|
|
<div class="popBody" v-else-if="flow === 4"> |
|
|
|
|
<h2 class="text-red-500 text-2xl">提交后将不可更改,您确认提交吗?</h2> |
|
|
|
|
</div> |
|
|
|
|
<div class="popBody" v-else-if="flow === 2"> |
|
|
|
|
<el-form ref="form2" :model="disForm" label-width="80px"> |
|
|
|
|
<el-form-item label="授权柜员"> |
|
|
|
|
<el-input disabled v-model="disForm.name"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="授权柜员"> |
|
|
|
|
<el-input type="password" disabled v-model="disForm.pass"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
|
</div> |
|
|
|
|
<div class="popBody w-full" v-else> |
|
|
|
|
<el-row :gutter="20"> |
|
|
|
|
<el-form label-width="100px"> |
|
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
|
<el-form-item v-for="(val, key) in leftObj" :key="key" :label="key + ':'"> |
|
|
|
|
<div>{{ val }}</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
<el-col :span="10" :offset="1"> |
|
|
|
|
<el-form-item v-for="(val, key) in rightObj" :key="key" :label="key + ':'"> |
|
|
|
|
<div>{{ val }}</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-col> |
|
|
|
|
</el-form> |
|
|
|
|
</el-row> |
|
|
|
|
</div> |
|
|
|
|
<div class="popBtns" v-if="flow === 1 || flow === 2 || flow === 4"> |
|
|
|
|
<el-button class="close btn hover:bg-blue-100 " @click="cancelIt">取 消</el-button> |
|
|
|
|
<el-button class="sure btn hover:bg-blue-700 " type="primary" @click="sureIt">确 定</el-button> |
|
|
|
|
</div> |
|
|
|
|
<div class="myPopBtns" v-else> |
|
|
|
|
<el-button class="sure btn hover:bg-blue-700 " type="primary" @click="sureIt">确 定</el-button> |
|
|
|
|
</div> |
|
|
|
|
</div> --> |
|
|
|
|
|
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="masking"></div> |
|
|
|
|
</div> --> |
|
|
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
@ -423,6 +443,30 @@ export default { |
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
/deep/.el-dialog { |
|
|
|
|
-webkit-box-shadow:0; |
|
|
|
|
box-shadow: 0 0 0 0!important; |
|
|
|
|
border: 0!important; |
|
|
|
|
} |
|
|
|
|
/deep/.el-form-item { |
|
|
|
|
label { |
|
|
|
|
font-family: PingFangSC-Regular; |
|
|
|
|
font-size: 18px; |
|
|
|
|
color: #000000; |
|
|
|
|
letter-spacing: 0.21px; |
|
|
|
|
font-weight: 400; |
|
|
|
|
} |
|
|
|
|
.el-form-item__content{ |
|
|
|
|
font-family: PingFangSC-Semibold; |
|
|
|
|
font-size: 20px; |
|
|
|
|
color: #000000; |
|
|
|
|
letter-spacing: 0.24px; |
|
|
|
|
font-weight: 600; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.test { |
|
|
|
|
position: absolute; |
|
|
|
|
top: 0; |
|
|
|
@ -442,45 +486,40 @@ export default { |
|
|
|
|
background-color: rgba(51,51,51,.9); |
|
|
|
|
} |
|
|
|
|
.data-dia23{ |
|
|
|
|
position: absolute; |
|
|
|
|
// position: absolute; |
|
|
|
|
background-color: white; |
|
|
|
|
z-index: 9999; |
|
|
|
|
.popBody { |
|
|
|
|
// width: 100%; |
|
|
|
|
min-height: 30vh; |
|
|
|
|
padding-top: 50px; |
|
|
|
|
padding-bottom: 20px; |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
.el-form { |
|
|
|
|
min-width: 70%; |
|
|
|
|
/deep/ .el-form { |
|
|
|
|
height: 100%; |
|
|
|
|
font-size: 30px; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.el-dialog__header{ |
|
|
|
|
padding: 0; |
|
|
|
|
border-bottom: 0; |
|
|
|
|
border-radius: 16px; |
|
|
|
|
.dia-header{ |
|
|
|
|
position: relative; |
|
|
|
|
.data-title{ |
|
|
|
|
width: 300px; |
|
|
|
|
margin: 0 auto; |
|
|
|
|
line-height: 72px; |
|
|
|
|
text-align: center; |
|
|
|
|
color: #fff; |
|
|
|
|
font-size: 24px; |
|
|
|
|
background: url(../../assets/img/dia-title.png) 0 0/cover no-repeat; |
|
|
|
|
} |
|
|
|
|
.close{ |
|
|
|
|
position: absolute; |
|
|
|
|
top: 15px; |
|
|
|
|
right: 15px; |
|
|
|
|
cursor: pointer; |
|
|
|
|
} |
|
|
|
|
.dia-header{ |
|
|
|
|
height: 100%; |
|
|
|
|
// position: relative; |
|
|
|
|
.data-title{ |
|
|
|
|
|
|
|
|
|
width: 300px; |
|
|
|
|
margin: 0 auto; |
|
|
|
|
line-height: 72px; |
|
|
|
|
text-align: center; |
|
|
|
|
color: #fff; |
|
|
|
|
font-size: 24px; |
|
|
|
|
background: url(../../assets/img/dia-title.png) 0 0/cover no-repeat; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/deep/ .el-row { |
|
|
|
|
width: 100%; |
|
|
|
|
padding: 0 50px; |
|
|
|
|
} |
|
|
|
|
// /deep/.popbody { |
|
|
|
|
// width: 100vw!important; |
|
|
|
@ -491,10 +530,9 @@ export default { |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: center; |
|
|
|
|
align-items: center; |
|
|
|
|
margin-top: 200px; |
|
|
|
|
padding-bottom: 20px; |
|
|
|
|
& > .btn { |
|
|
|
|
width: 180px; |
|
|
|
|
border-radius: 10px; |
|
|
|
|
font-size: 18px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -503,13 +541,19 @@ export default { |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: center; |
|
|
|
|
align-items: center; |
|
|
|
|
padding-bottom: 20px; |
|
|
|
|
& > .btn { |
|
|
|
|
width: 180px; |
|
|
|
|
border-radius: 10px; |
|
|
|
|
font-size: 18px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// /deep/.el-dialog__header, /deep/.el-dialog__body { |
|
|
|
|
// padding: 0; |
|
|
|
|
// border-radius: 16px; |
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
// /deep/.el-dialog { |
|
|
|
|
// position: absolute; |
|
|
|
|
// left: 50%; |
|
|
|
|