zrj
2024-06-07 fa0fc3195858a592d2ad1bdad0fa6126602ebf55
src/views/backblask/BackblastArticle.vue
@@ -5,22 +5,22 @@
      @search-change="searchChange" @search-reset="searchReset" @selection-change="selectionChange"
      @current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad">
      <template slot="menuLeft">
        <el-button size="small" icon="el-icon-delete" plain v-if="permission.article_delete" @click="handleDelete">删
        <!-- <el-button size="small" icon="el-icon-delete" plain v-if="permission.article_backblast_delete" @click="handleDelete">删
          除
        </el-button>
        </el-button> -->
      </template>
      <template slot-scope="{type,size,row }" slot="menu">
        <el-button icon="el-icon-user" :size="size" :type="type" @click.stop="openUserPopup(row, 1)">
        <el-button icon="el-icon-user" :size="size" :type="type" @click.stop="openUserPopup(row, 1)" v-if="permission.article_backblast_user">
          浏览人员
        </el-button>
        <el-button v-if="row.publish == '1'" icon="el-icon-close" :size="size" :type="type" @click.stop="updateFb(row)">
        <el-button v-if="row.publish == '1' && permission.article_backblast_addOrDel" icon="el-icon-close" :size="size" :type="type" @click.stop="updateFb(row)">
          撤销
        </el-button>
        <el-button v-if="row.publish == '0'" icon="el-icon-check" :size="size" :type="type" @click.stop="updateFb(row)">
        <el-button v-if="row.publish == '0' && permission.article_backblast_addOrDel" icon="el-icon-check" :size="size" :type="type" @click.stop="updateFb(row)">
          发布
        </el-button>
      </template>
@@ -50,7 +50,7 @@
    add,
    getNotice,
    upcomment
  } from "@/api/article/article"
  } from "@/ssoapi/article/article"
  import website from '@/config/website'
  import deitDiscussion from "./components/deitDiscussion"
@@ -133,7 +133,7 @@
              tags: true,
              type: "tree",
              multiple: true,
              dicUrl:"/api/blade-district/district/getDistrictTree?filterFlag=1",
              dicUrl:"/ssoapi/blade-district/district/getDistrictTree?filterFlag=1",
              dataType:"string",
              rules: [{
                required: true,
@@ -153,7 +153,7 @@
              // align:'center',
              type: "upload",
              listType: "picture-img",
              action: "/api/blade-resource/oss/endpoint/put-file",
              action: "/ssoapi/blade-resource/oss/endpoint/put-file",
              propsHttp: {
                res: "data",
                url: "link",
@@ -170,7 +170,7 @@
            //   viewDisplay: true,
            //   searchSpan: 4,
            //   checkStrictly: true,
            //   dicUrl: "/api/blade-system/dict-biz/dictionary?code=investigateType",
            //   dicUrl: "/ssoapi/blade-system/dict-biz/dictionary?code=investigateType",
            //   props: {
            //     label: "dictValue",
            //     value: "dictKey",
@@ -261,7 +261,7 @@
              hide: true,
              span: 24,
              listType: "picture-img",
              action: "/api/depl/put-depl",
              action: "/ssoapi/depl/put-depl",
              propsHttp: {
                url: "data",
              },
@@ -271,7 +271,7 @@
              prop: "content",
              component: "AvueUeditor",
              options: {
                action: "/api/blade-resource/oss/endpoint/put-file",
                action: "/ssoapi/blade-resource/oss/endpoint/put-file",
                // customConfig: {
                //   lineHeights: ['1', '1.15', '1.6', '2', '2.5', '3']
                // },//wangEditor编辑的配置
@@ -426,10 +426,10 @@
      ...mapGetters(["permission", "userInfo"]),
      permissionList() {
        return {
          addBtn: this.vaildData(this.permission.article_add, true),
          viewBtn: this.vaildData(this.permission.article_view, true),
          delBtn: this.vaildData(this.permission.article_delete, true),
          editBtn: this.vaildData(this.permission.article_edit, true),
          addBtn: this.vaildData(this.permission.article_backblast_add, true),
          viewBtn: this.vaildData(this.permission.article_backblast_view, true),
          delBtn: this.vaildData(this.permission.article_backblast_delete, true),
          editBtn: this.vaildData(this.permission.article_backblast_edit, true),
        }
      },