吃肉的饺子 2022-07-31 16:59:39 +08:00
commit 9571be3940
2 changed files with 6 additions and 2 deletions

View File

@ -26,8 +26,12 @@
findings:'', // findings:'', //
results:'', // results:'', //
flag:true, flag:true,
id:0, //id
} }
}, },
onLoad(op) {
if(op.id) this.id = op.id;
},
methods: { methods: {
// //
submitEv(id,type){ submitEv(id,type){
@ -39,7 +43,7 @@
result:this.results, result:this.results,
invalid:type invalid:type
} }
this.$requst.post('/api/opinion/worker-handle',params).then(res => { this.$requst.post('opinion/worker-handle',params).then(res => {
if(res.code==0){ if(res.code==0){
this.$toolAll.tools.showToast('提交成功'); this.$toolAll.tools.showToast('提交成功');
// //

View File

@ -85,7 +85,7 @@
</view> </view>
</view> </view>
<view class="disjcac pad-sx50" v-if="ifManager==0"> <view class="disjcac pad-sx50" v-if="ifManager==0">
<view class="disjcac enter-btn" style="margin: 0;" @tap="handleEv"></view> <view class="disjcac enter-btn" style="margin: 0;" @tap="handleEv(detail.id)"></view>
</view> </view>
<view class="disjcac pad-sx50" v-if="ifManager==1"> <view class="disjcac pad-sx50" v-if="ifManager==1">
<view class="disjcac enter-btn" style="margin: 0;background-color: #f71200;border-color: #f71200;" @tap="reexamineEv"></view> <view class="disjcac enter-btn" style="margin: 0;background-color: #f71200;border-color: #f71200;" @tap="reexamineEv"></view>