Commit eddd39d8 by zhao_shaonan

侦查受限添加提请审批

parent 7d9c6a2c
......@@ -355,9 +355,11 @@ img {
.popUl .el-radio{line-height: 30px;}
.popUl .el-radio__label{padding-left:0px;}
/*导引*/
div#driver-popover-item .driver-popover-footer button{padding:6px 12px;background-color:#fff; }
div#driver-popover-item .driver-popover-footer button{padding:6px 12px !important;background-color:#fff !important; }
.driver-popover-description{
line-height: 28px !important;
margin: 4px 0;
margin: 4px 0 !important;
}
div#driver-popover-item{min-width: 300px;}
div#driver-popover-item{min-width: 300px !important;}
div#driver-page-overlay {
background: #2f2f2f !important;}
......@@ -22,5 +22,13 @@ export default [
description: '用户信息\n',
position: 'bottom'
}
},
{
element: '#spbtn',
popover: {
title: '数据审批栏',
description: '点击按钮可进行数据审批操作\n',
position: 'top'
}
}
]
......@@ -636,7 +636,7 @@
</el-form>
</div>
<div class="bottomBtn"
<div class="bottomBtn" id="spbtn"
style="display:flex;justify-content:center;padding:20px 0"
v-if="spType!=undefined">
<el-button type="primary"
......
......@@ -306,7 +306,17 @@
</el-pagination>
</div>
</div>
<div class="shadow" v-if="ifShowDongTu">
<div class="dongTu">
<div class="littleTips">
<img style="height: 16px;width: 16px;margin-top: 15px;margin-left: 20px;"
src="../../assets/img/sjcj/dataCheck.png">
<div style="margin-top: 8px;margin-left: 9px;font-size: 15px;position: absolute;left: 40px;">数据质量检查</div>
</div>
<img class="centerImage"
src="../../assets/img/sjcj/tiQingShenPi.gif">
</div>
</div>
</div>
</template>
......@@ -333,6 +343,7 @@
},
data(){
return{
ifShowDongTu:false,
formData:{
asjbh:'',
spType:'03',
......@@ -376,28 +387,33 @@
},
toTqsp(){
let self=this;
self.ifShowDongTu = true;
self.formData.asjbh=self.$route.query.asjbh;
self.doQueryRequest(JSON.stringify(self.formData)).then(response => {
if (response.data.success === true) {
self.$alert('提请审批通过', '提示', {
confirmButtonText: '确定',
callback: action => {
/*self.$router.go(-1);//返回上一层*/
window.opener = null;
window.open("about:blank", "_top").close()
}
});
} else {
self.$alert('提请审批失败', '提示', {
confirmButtonText: '确定',
callback: action => {
/*self.$router.go(-1);//返回上一层*/
window.opener = null;
window.open("about:blank", "_top").close()
}
});
}
});
setTimeout(function(){
self.doQueryRequest(JSON.stringify(self.formData)).then(response => {
if (response.data.success === true) {
self.ifShowDongTu = false;
self.$alert('提请审批通过', '提示', {
confirmButtonText: '确定',
callback: action => {
/*self.$router.go(-1);//返回上一层*/
window.opener = null;
window.open("about:blank", "_top").close()
}
});
} else {
self.$alert('提请审批失败', '提示', {
confirmButtonText: '确定',
callback: action => {
/*self.$router.go(-1);//返回上一层*/
window.opener = null;
window.open("about:blank", "_top").close()
}
});
}
});
},3000)
},
handleSizeChange(val) {
console.log(`每页 ${val} 条`);
......@@ -445,4 +461,30 @@
<style scoped lang="scss">
@import "../../assets/styles/zczjsx.scss";
.shadow{width:100%;height:100vh;background: rgba(0,0,0,0.6);position: fixed;top:0px;left:0px;z-index:10;}
.dongTu {
width: 420px;
height: 210px;
background: #ffffff;
box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.1);
opacity: 1;
border-radius: 8px;
position: fixed;
display: flex;
top: 50%;
left: 50%;
margin-top:-105px;
margin-left:-210px;
z-index: 100;
.littleTips {
width: 110px;
display: flex;
}
.centerImage {
width: 200px;
height: 200px;
position: relative;
top: 19px;
}
}
</style>
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