Commit 892fe8e5 authored by 徐一鸣's avatar 徐一鸣

云熙元详情fixed

parent a08e84ca
......@@ -102,6 +102,7 @@ export default {
apply_type: item.apply_type,
use_uid: item.use_uid,
user_id: item.user_id,
isApprove: 1
},
});
},
......
......@@ -255,16 +255,16 @@
@click="distribution"
>分配</el-button>
<el-button
v-if="(now_user == 2 && apploy_msg.first_level == 1 && apploy_msg.second_level == 0) || (now_user == 1 && apploy_msg.first_level == 0)"
v-if="(now_user == 2 && apploy_msg.first_level == 1 && apploy_msg.second_level == 0) || (now_user == 1 && apploy_msg.first_level == 0) && isApprove"
class="refuse"
@click="refuse"
>拒绝</el-button>
<el-button
v-if="now_user == 2 && apploy_msg.second_level == 0 && apploy_msg.first_level == 1"
v-if="now_user == 2 && apploy_msg.second_level == 0 && apploy_msg.first_level == 1 && isApprove"
class="adjustment"
@click="pass"
>通过</el-button>
<el-button v-if="now_user == 2 && use_uid != ''" class="refuse" @click="deleteItem">删除</el-button>
<el-button v-if="now_user == 2 && use_uid != '' && !isApprove" class="refuse" @click="deleteItem">删除</el-button>
</div>
</BlockRadius>
<AllotInfoConfirm ref="allotConfirm"></AllotInfoConfirm>
......@@ -460,7 +460,10 @@ export default {
watch: {},
computed: {
...mapGetters(["level"]),
...mapState(["userInfo"])
...mapState(["userInfo"]),
isApprove() {
return this.$route.query.isApprove == 1;
}
},
created() {
if (this.userInfo) {
......
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