|
@@ -38,6 +38,7 @@
|
|
|
<script>
|
|
<script>
|
|
|
import {getVote,setStatusHideByIp,setStatusShowByIp} from "@/api/sing_active/activehelprecord";
|
|
import {getVote,setStatusHideByIp,setStatusShowByIp} from "@/api/sing_active/activehelprecord";
|
|
|
import {mapGetters} from "vuex";
|
|
import {mapGetters} from "vuex";
|
|
|
|
|
+ import {editCount} from "../../api/sing_active/activeproductrecord";
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
name: "product-help-vote",
|
|
name: "product-help-vote",
|
|
@@ -108,6 +109,13 @@
|
|
|
...mapGetters(["permission"]),
|
|
...mapGetters(["permission"]),
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ editVote(row){
|
|
|
|
|
+ editCount(row.id).then(res => {
|
|
|
|
|
+ if (res.data.success) {
|
|
|
|
|
+ window.onload;
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
helpRecordHideByIp(){
|
|
helpRecordHideByIp(){
|
|
|
const arr = [];
|
|
const arr = [];
|
|
|
this.selectionList.forEach((ele) => {
|
|
this.selectionList.forEach((ele) => {
|
|
@@ -117,7 +125,7 @@
|
|
|
this.$message.warning("请选择至少一条数据");
|
|
this.$message.warning("请选择至少一条数据");
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
- this.$confirm("确定将选择数据隐藏?", {
|
|
|
|
|
|
|
+ this.$confirm("确定将选择数据废弃?", {
|
|
|
confirmButtonText: "确定",
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
cancelButtonText: "取消",
|
|
|
type: "warning"
|
|
type: "warning"
|
|
@@ -146,7 +154,7 @@
|
|
|
this.$message.warning("请选择至少一条数据");
|
|
this.$message.warning("请选择至少一条数据");
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
- this.$confirm("确定将选择数据显示?", {
|
|
|
|
|
|
|
+ this.$confirm("确定将选择数据恢复?", {
|
|
|
confirmButtonText: "确定",
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
cancelButtonText: "取消",
|
|
|
type: "warning"
|
|
type: "warning"
|
|
@@ -178,6 +186,7 @@
|
|
|
this.loading = false;
|
|
this.loading = false;
|
|
|
this.data = data;
|
|
this.data = data;
|
|
|
});
|
|
});
|
|
|
|
|
+ editCount(this.productId)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|