Commit 36ee0c75 authored by chenwei's avatar chenwei

Merge branch 'feature/099_customer_filter' into 'dev'

积分规则按钮操作

See merge request !11
parents 5b1c0b6c 1c1eb3bf
...@@ -957,6 +957,12 @@ export default { ...@@ -957,6 +957,12 @@ export default {
this.$refs["queryForm"].validate((valid) => { this.$refs["queryForm"].validate((valid) => {
if (valid) { if (valid) {
let params = deepClone(this.queryParams); let params = deepClone(this.queryParams);
console.log(params);
params.showPlatform = this.queryParams.showPlatform?.join();
params.extraOrderV.orderEntry =
this.queryParams.extraOrderV?.orderEntry?.join();
params.extraRegister.registerPlatform =
this.queryParams.extraRegister.registerPlatform?.join();
integralRuleUpdated(params).then((res) => { integralRuleUpdated(params).then((res) => {
this.$message.success(this.$t("更新成功")); this.$message.success(this.$t("更新成功"));
this.$router.go(-1); this.$router.go(-1);
......
...@@ -234,13 +234,14 @@ ...@@ -234,13 +234,14 @@
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
:disabled="scope.row.status == '1'" :disabled="scope.row.status != '2'"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
>{{ $t("编辑") }}</el-button >{{ $t("编辑") }}</el-button
> >
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
:disabled="scope.row.status != '2'"
@click="handleEnabledStatus(scope.row)" @click="handleEnabledStatus(scope.row)"
>{{ $t("启用") }}</el-button >{{ $t("启用") }}</el-button
> >
......
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