|
@@ -27,6 +27,7 @@
|
|
import enterprisedgDetail from '@/components/enterprise/enterpisedg.vue';
|
|
import enterprisedgDetail from '@/components/enterprise/enterpisedg.vue';
|
|
import { createNamespacedHelpers, mapGetters, mapState } from 'vuex';
|
|
import { createNamespacedHelpers, mapGetters, mapState } from 'vuex';
|
|
const { mapActions: transaction } = createNamespacedHelpers('transaction');
|
|
const { mapActions: transaction } = createNamespacedHelpers('transaction');
|
|
|
|
+const { mapActions: expertsaudit } = createNamespacedHelpers('expertsaudit');
|
|
const { mapActions: login } = createNamespacedHelpers('login');
|
|
const { mapActions: login } = createNamespacedHelpers('login');
|
|
export default {
|
|
export default {
|
|
name: 'adviserList',
|
|
name: 'adviserList',
|
|
@@ -66,6 +67,7 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
...transaction({ transactionList: 'query', transactiondtetle: 'delete', shenheupdate: 'update' }),
|
|
...transaction({ transactionList: 'query', transactiondtetle: 'delete', shenheupdate: 'update' }),
|
|
|
|
+ ...expertsaudit({ expertsauditList: 'query', expertsauditdtetle: 'delete', expertsauditupdate: 'update' }),
|
|
...login({ logout: 'logout', transactiondtetlse: 'delete' }),
|
|
...login({ logout: 'logout', transactiondtetlse: 'delete' }),
|
|
// 查询
|
|
// 查询
|
|
async faqijiaoyi({ skip = 0, limit = 3, ...info } = {}) {
|
|
async faqijiaoyi({ skip = 0, limit = 3, ...info } = {}) {
|
|
@@ -79,7 +81,11 @@ export default {
|
|
this.$set(this, `totalfaqi`, res.total);
|
|
this.$set(this, `totalfaqi`, res.total);
|
|
}
|
|
}
|
|
} else if (this.role == '6') {
|
|
} else if (this.role == '6') {
|
|
- console.log('专家事项管理');
|
|
|
|
|
|
+ const res = await this.expertsauditList({ skip, limit, market_userid, status, ...info });
|
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
|
+ this.$set(this, `faqilist`, res.data);
|
|
|
|
+ this.$set(this, `totalfaqi`, res.total);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
async jiaoyi1({ skip = 0, limit = 3, ...info } = {}) {
|
|
async jiaoyi1({ skip = 0, limit = 3, ...info } = {}) {
|
|
@@ -93,7 +99,11 @@ export default {
|
|
this.$set(this, `total1`, res.total);
|
|
this.$set(this, `total1`, res.total);
|
|
}
|
|
}
|
|
} else if (this.role == '6') {
|
|
} else if (this.role == '6') {
|
|
- console.log('专家事项管理');
|
|
|
|
|
|
+ const res = await this.expertsauditList({ skip, limit, market_userid, status, ...info });
|
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
|
+ this.$set(this, `faqilist`, res.data);
|
|
|
|
+ this.$set(this, `totalfaqi`, res.total);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
async jiaoyi2({ skip = 0, limit = 3, ...info } = {}) {
|
|
async jiaoyi2({ skip = 0, limit = 3, ...info } = {}) {
|
|
@@ -107,7 +117,11 @@ export default {
|
|
this.$set(this, `total2`, res.total);
|
|
this.$set(this, `total2`, res.total);
|
|
}
|
|
}
|
|
} else if (this.role == '6') {
|
|
} else if (this.role == '6') {
|
|
- console.log('专家事项管理');
|
|
|
|
|
|
+ const res = await this.expertsauditList({ skip, limit, market_userid, status, ...info });
|
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
|
+ this.$set(this, `faqilist`, res.data);
|
|
|
|
+ this.$set(this, `totalfaqi`, res.total);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
async jiaoyi3({ skip = 0, limit = 3, ...info } = {}) {
|
|
async jiaoyi3({ skip = 0, limit = 3, ...info } = {}) {
|
|
@@ -119,7 +133,11 @@ export default {
|
|
this.$set(this, `total3`, res.total);
|
|
this.$set(this, `total3`, res.total);
|
|
}
|
|
}
|
|
} else if (this.role == '6') {
|
|
} else if (this.role == '6') {
|
|
- console.log('专家事项管理');
|
|
|
|
|
|
+ const res = await this.expertsauditList({ skip, limit, market_userid, status, ...info });
|
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
|
+ this.$set(this, `faqilist`, res.data);
|
|
|
|
+ this.$set(this, `totalfaqi`, res.total);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
|