Commit 17df71e3 authored by 黄奎's avatar 黄奎

新增票务提成权限

parent 95776926
......@@ -11,7 +11,7 @@
<div class="query-box">
<ul>
<li>
<input type="button" class="normalBtn" @click="CreateAirticketCommission()" value="生成提成报表" :disabled="isDisable" />
<input v-if="IsAuth==1" type="button" class="normalBtn" @click="CreateAirticketCommission()" value="生成提成报表" :disabled="isDisable" />
</li>
</ul>
</div>
......@@ -60,9 +60,11 @@
total: 0,
currentPage: 1,
isDisable:false,
IsAuth:0,//生成票务提成权限
}
},
mounted() {
this.GetAuth();
this.getList();
},
methods: {
......@@ -117,6 +119,15 @@
},
null
);
},
GetAuth() {
this.apipost('AirTicketRules_post_CreateAirticketCommissionAuthService', {}, res => {
if (res.data.resultCode == 1) {
this.IsAuth = res.data.data;
} else {
this.$message.error(res.data.message);
}
}, err => {})
},
//生成票务提成报表
CreateAirticketCommission() {
......
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