Commit cc36a3fb authored by zhanglw's avatar zhanglw

产品审核

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