Commit cc36a3fb authored by zhanglw's avatar zhanglw

产品审核

parent 54815e36
......@@ -153,7 +153,7 @@ export const HttpReq = {
// 客户信息审核
reviewProduct: function(data) {
return request({
url: '/api/bsw/users/reviewCustomer',
url: '/api/bsw/product/reviewProduct',
method: 'put',
data: data
}).then((res) => {
......
......@@ -201,8 +201,8 @@
</div>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="text" @click="cancelView">取消</el-button>
<div slot="footer" class="dialog-footer" style="text-align: center">
<el-button @click="cancelView">关闭</el-button>
<el-button v-if="isReview" type="primary" @click="submitForm(true)">通过</el-button>
<el-button v-if="isReview" type="primary" @click="reviewVisible=true">驳回</el-button>
</div>
......@@ -430,8 +430,8 @@ export default {
submitForm(isPass) {
if (isPass) {
this.formReview.reviewComments = '审核通过'
HttpReq.backstageApi.reviewCustomer({
customerId: this.customerId,
HttpReq.backstageApi.reviewProduct({
productId: this.formData.productId,
reviewComments: this.formReview.reviewComments,
type: 1
}).then((res) => {
......
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