|
|
|
@ -182,8 +182,14 @@ |
|
|
|
<div class="van-overlay" v-show="data.showIsPublish"> |
|
|
|
<div class="popcont"> |
|
|
|
<div class="poptip">是否公开该行政检查计划?</div> |
|
|
|
<div class="popup-btn"> |
|
|
|
<a @click="addPlan(0)">否</a><a @click="addPlan(1)">是</a> |
|
|
|
<van-cell center title="公开" style="top: -10px "> |
|
|
|
<van-radio-group v-model="submitData.isPublish" shape="square" direction="horizontal"> |
|
|
|
<van-radio name="0">否</van-radio> |
|
|
|
<van-radio name="1">是</van-radio> |
|
|
|
</van-radio-group> |
|
|
|
</van-cell> |
|
|
|
<div class="popup-btn" style="top: -50px "> |
|
|
|
<a @click="cancelPlan()">取消</a><a @click="addPlan()">确定</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -278,7 +284,7 @@ |
|
|
|
//执法区域 |
|
|
|
enforcementArea: "", |
|
|
|
//是否发布年度执法计划 |
|
|
|
isPublish: 0, |
|
|
|
isPublish: '0', |
|
|
|
//后台保存图片列表 |
|
|
|
fileList: [], |
|
|
|
/**局级部门 */ |
|
|
|
@ -299,7 +305,6 @@ |
|
|
|
data.showIsPublish = true; |
|
|
|
} |
|
|
|
const addPlan = (val) =>{ |
|
|
|
submitData.isPublish = val; |
|
|
|
addEnforcementInspectionProgram(submitData, success => { |
|
|
|
//跳转企业二维码地址 |
|
|
|
if (success.success) { |
|
|
|
@ -337,6 +342,10 @@ |
|
|
|
// }); |
|
|
|
} |
|
|
|
|
|
|
|
const cancelPlan = (val) =>{ |
|
|
|
data.showIsPublish = false; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const currentDate =() => { |
|
|
|
const now = new Date(); |
|
|
|
@ -727,7 +736,7 @@ const beforeRead = (file) => { |
|
|
|
transform: translate(-50%, -50%); |
|
|
|
padding: 5% 3% 0; |
|
|
|
width: 70%; |
|
|
|
height: 4rem; |
|
|
|
height: 5rem; |
|
|
|
background: linear-gradient(to bottom, #d6e7f9, #fff); |
|
|
|
border-radius: 0.35rem; |
|
|
|
} |
|
|
|
|