Commit 1dce88c0 by cwq0219

Merge branch 'v1.0.1' of http://192.168.3.233:8090/saas/scrm-micro-marketing into v1.0.1

2 parents 511f105b 2f86bbb6
......@@ -567,14 +567,11 @@ export default {
type: 'error',
message: res.message
})
this.handleCancel()
} else if (res.code == 0) {
this.$message({
type: 'success',
message: '操作成功!'
})
// this.handleCancel()
this.$router.push('/customerTransform/index')
} else {
this.$message({
type: 'error',
......@@ -582,6 +579,7 @@ export default {
})
}
this.addLoading = false
this.$router.push('/customerTransform/index')
})
}
})
......
......@@ -446,13 +446,18 @@ export default {
}
this.addLoading = true
this.$apis.customerTransform.insert(params).then(res => {
if (res.code == 0) {
if (res.code == '-1') {
this.$message({
type: 'error',
message: res.message
})
// this.$router.push('/customerTransform/index')
} else if (res.code == 0) {
this.$message({
type: 'success',
message: '操作成功!'
})
// this.handleCancel()
this.$router.push('/customerTransform/index')
// this.$router.push('/customerTransform/index')
} else {
this.$message({
type: 'error',
......@@ -460,6 +465,7 @@ export default {
})
}
this.addLoading = false
this.$router.push('/customerTransform/index')
})
})
}
......
......@@ -3,12 +3,12 @@
<!-- //提示面板组件 -->
<tip-panel panelWidth="616px" panelMinHeight="60px" :panelContent="panelContent" v-if="isFirstShow" @closePanel="closePanel"></tip-panel>
<div class="live-room container">
<el-form :inline="true" style="width:100%" :model="searchForm" label-width="100px" label-position="right">
<el-form :inline="true" style="width:100%" :model="searchForm" label-width="70px" label-position="right">
<el-row>
<el-form-item size="small">
<!-- <el-form-item size="small"> -->
<!-- <el-button :size="size" type="primary" icon="el-icon-plus" @click="handleCreate">创建服务</el-button> -->
<GLButton type="primary" @click="handleCreate" size="small" icon="el-icon-plus" fn="创建服务" mode="el-button">创建服务</GLButton>
</el-form-item>
<GLButton type="primary" @click="handleCreate" style="margin-right:30px" size="small" icon="el-icon-plus" fn="创建服务" mode="el-button">创建服务</GLButton>
<!-- </el-form-item> -->
<el-form-item size="small" label="服务名称">
<el-input :size="size" v-model="searchForm.couponName" placeholder="请输入服务名称" clearable></el-input>
</el-form-item>
......@@ -31,9 +31,9 @@
<!-- <el-button type="text" @click="handleLossOption(scope.scope)">失效</el-button>
<el-button type="text" @click="handleLook(scope.scope)">查看</el-button>
<el-button type="text" @click="handleDelete(scope.scope)">删除</el-button> -->
<GLButton type="text" @click="handleLossOption(scope.scope)" fn="失效">失效</GLButton>
<GLButton type="text" @click="handleLook(scope.scope)" fn="查看" >查看</GLButton>
<GLButton type="text" @click="handleLook(scope.scope)" fn="查看服务" >查看</GLButton>
<GLButton type="text" @click="handleDelete(scope.scope)" fn="删除">删除</GLButton>
</template>
<template v-else-if="scope.scope.status == 3">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!