|
@@ -489,19 +489,20 @@ export default {
|
|
|
return this.$message.error("请输入公司标签");
|
|
|
}
|
|
|
let params = this.dataHandle(type);
|
|
|
- if (type == "预览") {
|
|
|
- console.log(params);
|
|
|
- sessionStorage.setItem("choicenessPre", JSON.stringify(params));
|
|
|
- let { href } = this.$router.resolve({ name: "预览报告精选" });
|
|
|
- window.open(href, "_blank");
|
|
|
- } else {
|
|
|
- const res = await raiInterface.industrialSubjectPreserveAndPublish(params);
|
|
|
- if (res.Ret === 200) {
|
|
|
- this.$message.success("操作成功!");
|
|
|
- this.init();
|
|
|
- this.$router.back();
|
|
|
- }
|
|
|
- }
|
|
|
+ console.log(params);
|
|
|
+ // if (type == "预览") {
|
|
|
+ // console.log(params);
|
|
|
+ // sessionStorage.setItem("choicenessPre", JSON.stringify(params));
|
|
|
+ // let { href } = this.$router.resolve({ name: "预览报告精选" });
|
|
|
+ // window.open(href, "_blank");
|
|
|
+ // } else {
|
|
|
+ // const res = await raiInterface.industrialSubjectPreserveAndPublish(params);
|
|
|
+ // if (res.Ret === 200) {
|
|
|
+ // this.$message.success("操作成功!");
|
|
|
+ // this.init();
|
|
|
+ // this.$router.back();
|
|
|
+ // }
|
|
|
+ // }
|
|
|
}
|
|
|
});
|
|
|
},
|
|
@@ -571,8 +572,7 @@ export default {
|
|
|
deleteLabelItem(item, index) {
|
|
|
this.industryListItem[this.ificationIndustrial].CompanyLabel.splice(index, 1);
|
|
|
},
|
|
|
- },
|
|
|
- // 拖拽排序更新
|
|
|
+ // 拖拽排序更新
|
|
|
sortChange({oldIndex,newIndex}){
|
|
|
this.industryIndex=this.sortChangeFun(this.industryIndex,oldIndex,newIndex)
|
|
|
},
|
|
@@ -608,6 +608,7 @@ export default {
|
|
|
// 返回false表示不允许停靠
|
|
|
return !!e.relatedContext.element
|
|
|
},
|
|
|
+ },
|
|
|
};
|
|
|
</script>
|
|
|
<style lang="scss">
|