| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import headerLink from '../../layout/components/Header/index' |
| | | import helper from "@/utils/mydate"; |
| | | import { createNamespacedHelpers } from "vuex"; |
| | | import departmentAside from "@/views/operate/fivepack/threepack/components/aside"; |
| | |
| | | created() { |
| | | this.getList(); |
| | | }, |
| | | destroyed(){ |
| | | window.eventBus.$off('setFeaturesData') |
| | | }, |
| | | methods: { |
| | | ...mapActions(["getOrgGridList", "deleteOrgGrid"]), |
| | | submitForm(formName) { |
| | |
| | | if (this.linkTitle == '添加外部链接') { |
| | | await addexternalLinks(this.linkForm).then(res => { |
| | | this.dialogUpdate = false |
| | | window.eventBus.$emit('setFeaturesData') // 不带参数 |
| | | this.getList() |
| | | console.log(res) |
| | | }) |
| | |
| | | url:'' |
| | | } |
| | | this.linkTitle = '添加外部链接' |
| | | |
| | | this.dialogUpdate = true; |
| | | }, |
| | | handleEdit(row) { |
| | |
| | | type: "success", |
| | | message: "删除成功!", |
| | | }); |
| | | window.eventBus.$emit('setFeaturesData') // 不带参数 |
| | | this.getList(); |
| | | }); |
| | | }); |