|
@@ -16,6 +16,9 @@
|
|
|
:faqilist="faqilist"
|
|
|
:totalfaqi="totalfaqi"
|
|
|
@handleCurrentChangefaqi="handleCurrentChangefaqi"
|
|
|
+ @jiaoyisuccess="jiaoyisuccess"
|
|
|
+ @shibai="shibai"
|
|
|
+ @success="success"
|
|
|
></enterprisedg-detail>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -60,10 +63,9 @@ export default {
|
|
|
},
|
|
|
computed: {},
|
|
|
methods: {
|
|
|
- ...transaction({ transactionList: 'query', transactiondtetle: 'delete' }),
|
|
|
+ ...transaction({ transactionList: 'query', transactiondtetle: 'delete', shenheupdate: 'update' }),
|
|
|
...login({ logout: 'logout', transactiondtetle: 'delete' }),
|
|
|
// 查询
|
|
|
-
|
|
|
async faqijiaoyi({ skip = 0, limit = 3, ...info } = {}) {
|
|
|
let status = 0;
|
|
|
skip = this.skip;
|
|
@@ -107,6 +109,25 @@ export default {
|
|
|
this.$set(this, `total3`, res.total);
|
|
|
}
|
|
|
},
|
|
|
+ //审核
|
|
|
+ async jiaoyisuccess({ item }) {
|
|
|
+ item.status = '1';
|
|
|
+ let res = await this.shenheupdate(item);
|
|
|
+ this.jiaoyi1();
|
|
|
+ this.$checkRes(res, '同意成功', '审核失败');
|
|
|
+ },
|
|
|
+ async shibai({ item }) {
|
|
|
+ item.status = '3';
|
|
|
+ let res = await this.shenheupdate(item);
|
|
|
+ this.$checkRes(res, '审核成功', '审核失败');
|
|
|
+ this.jiaoyi3();
|
|
|
+ },
|
|
|
+ async success({ item }) {
|
|
|
+ item.status = '2';
|
|
|
+ let res = await this.shenheupdate(item);
|
|
|
+ this.$checkRes(res, '审核成功', '审核失败');
|
|
|
+ this.jiaoyi2();
|
|
|
+ },
|
|
|
//分页
|
|
|
async handleCurrentChangefaqi({ skip, limit, currentPage }) {
|
|
|
this.$set(this, `skip`, skip);
|