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

云熙元详情fixed

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