Commit 54815e36 authored by zhanglw's avatar zhanglw

产品查看

parent 8b70f765
......@@ -150,6 +150,16 @@ export const HttpReq = {
method: 'get'
})
},
// 客户信息审核
reviewProduct: function(data) {
return request({
url: '/api/bsw/users/reviewCustomer',
method: 'put',
data: data
}).then((res) => {
return res
})
},
xxx: null
}
}
......
......@@ -255,6 +255,7 @@ export default {
cancelView() {
this.cancelReview()
this.hideView()
this.stampImgSrc = ''
},
cancelReview() {
if (this.$refs.formReviewRef) {
......@@ -373,6 +374,7 @@ export default {
font-size: 14px;
text-decoration: underline; //下划线
text-underline-offset: 5px; //下划线和文字间距
text-decoration-color: rgba(100, 100, 100, 0.4);
}
>>>.el-input__inner {
border: 1px solid rgba(100, 100, 100, 0.1);
......
......@@ -469,10 +469,8 @@ export default {
},
loadData(productId) {
this.showView()
if (this.editor) {
return
}
this.$nextTick(() => {
if (!this.editor) {
const _this = this
const editor = new E(this.$refs.editor)
editor.config.zIndex = 5
......@@ -490,6 +488,7 @@ export default {
}
editor.create()
this.editor = editor
}
// 初始化数据
HttpReq.backstageApi.queryProductDetail({ productId }).then((res) => {
if (res.code === 200) {
......@@ -503,7 +502,7 @@ export default {
if (this.formData.productFeature) {
this.productFeature = this.formData.productFeature.split(';')
}
editor.txt.html(this.formData.productDescribe)
this.editor.txt.html(this.formData.productDescribe)
} else {
this.$message({
message: res.msg,
......
......@@ -119,17 +119,6 @@ export default {
console.log('启用', this.multipleSelection)
}
},
changeEnabled(data, val) {
this.$confirm('此操作将 "' + this.dict.label.user_status[val] + '" ' + data.username + ', 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
}).catch(() => {
data.enabled = !data.enabled
})
},
toAdd() {
this.$refs.addPage.loadData()
},
......
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