Kaynağa Gözat

国能-补充需求

chenlei 6 ay önce
ebeveyn
işleme
742f9c227a

+ 1 - 1
src/routes/modules/semanticsRoutes.js

@@ -90,7 +90,7 @@ export default [{
     },
     {
       path: "aISummeryPage",
-      name: "AI纪要",
+      name: "智能分析",
       component: () => import('@/views/semantics_manage/summery/index.vue'),
       meta:{
         name_en:"AI Summery"

+ 1 - 1
src/views/Home.vue

@@ -42,7 +42,7 @@
                         ? $setting.theme_color
                         : '#666'
                     }`"
-                    @click="(e) => e.preventDefault()"
+                    @click="handleClickSubMenuItem(item, $event)"
                   >
                     <img
                       :src="getMenuIcon(item)"

+ 12 - 16
src/views/classify_manage/chapterSettingV2.vue

@@ -69,7 +69,7 @@
                     :placeholder="$t('ReportManage.CategoryList.related_variety_inputhint')"></el-input>
                 </el-form-item>
                 <!-- 关联品种 -->
-                <el-form-item prop="variety" :label="$t('ReportManage.CategoryList.related_variety')" v-if="reportVarietyList.length">
+                <!-- <el-form-item prop="variety" :label="$t('ReportManage.CategoryList.related_variety')" v-if="reportVarietyList.length">
                     <template slot="label">
                         <el-tooltip class="item" effect="dark" :content="$t('ReportManage.CategoryList.related_variety_hint')">
                             <div>
@@ -86,7 +86,7 @@
                         :props="{value:'PermissionId',label:'PermissionName',children:'Child',multiple: true,emitPath:false}" 
                         style="width:317px;"
                     ></el-cascader>
-                </el-form-item>
+                </el-form-item> -->
             </el-form>
         </div>
         <div solt="footer" style="padding: 20px 0;text-align: center;">
@@ -121,18 +121,17 @@ export default {
             addForm:{
                 ReportChapterTypeName:"",
                 // ResearchType:"",.
-                ChartPermissionIdList:''
             },
             researchType:'',// day-晨报;week-周报
             parentClassifyName: '',
 
-            reportVarietyList:[],//中文品种列表
+            // reportVarietyList:[],//中文品种列表
         }
     },
     mounted(){
         this.parentClassifyName = this.$route.query.classifyName || ''
         this.getList()
-        this.getReportVarietyList()
+        // this.getReportVarietyList()
     },
     methods: {
         getList(type){
@@ -147,7 +146,6 @@ export default {
             this.dialogTitle=this.$t('ReportManage.CategoryList.add_section')
             this.addDialogShow=true
             this.addForm.ReportChapterTypeName=''
-            this.addForm.ChartPermissionIdList=''
             this.addForm.ReportChapterTypeId=0
             console.log(this.addForm);
         },
@@ -158,7 +156,6 @@ export default {
                 ...this.addForm,
                 ReportChapterTypeName:row.ReportChapterTypeName,
                 ReportChapterTypeId:row.ReportChapterTypeId,
-                ChartPermissionIdList:row.ChartPermissionIdList||''
             }
             this.dialogTitle=this.$t('ReportManage.CategoryList.edit_section')
             this.addDialogShow=true
@@ -172,7 +169,6 @@ export default {
             let params={
                 ...this.addForm,
                 ClassifyId: Number(this.$route.query.id),
-                ChartPermissionIdList:this.addForm.ChartPermissionIdList||[]
             }
             // 请求方法
             let requestMethod;
@@ -211,14 +207,14 @@ export default {
         
 
         // 获取品种数据
-        getReportVarietyList(){
-            reportV2Interface.getClassifyPermissionList({
-                ClassifyId: Number(this.$route.query.id),
-            }).then(res=>{
-                this.reportVarietyList=res.Data||[]
-                this.filterNodes(this.reportVarietyList)
-            })
-        },
+        // getReportVarietyList(){
+        //     reportV2Interface.getClassifyPermissionList({
+        //         ClassifyId: Number(this.$route.query.id),
+        //     }).then(res=>{
+        //         this.reportVarietyList=res.Data||[]
+        //         this.filterNodes(this.reportVarietyList)
+        //     })
+        // },
 
         //启用\禁用设置
         handleEnableSet(item){

+ 12 - 14
src/views/classify_manage/classifylistV2.vue

@@ -120,7 +120,7 @@
                         </el-cascader>
                     </el-form-item>
                     <!-- 关联品种 -->
-                    <el-form-item prop="variety" :label="$t('ReportManage.CategoryList.related_variety')" v-if="canSetPermission">
+                    <!-- <el-form-item prop="variety" :label="$t('ReportManage.CategoryList.related_variety')" v-if="canSetPermission">
                         <template slot="label">
                             <el-tooltip class="item" effect="dark" :content="$t('ReportManage.CategoryList.related_variety_hint')">
                                 <div>
@@ -137,7 +137,7 @@
                             :props="{value:'PermissionId',label:'PermissionName',children:'Child',multiple: true,emitPath:false}" 
                             style="min-width:400px;"
                         ></el-cascader>
-                    </el-form-item>
+                    </el-form-item> -->
                 </el-form>
                 <div v-html="tips" style="color:#999;"></div>
             </div>
@@ -253,13 +253,12 @@ export default {
             isTransferReport: false,
             transferForm: {},
 
-            tips: `注:若上级分类已关联报告,则新建的第一个子分类默认继承上级分类(父分类)关联的品种、报告、审批流,且关联品种支持编辑。  `
-
+            tips: `注:若上级分类已关联报告,则新建的第一个子分类默认继承上级分类(父分类)关联的品种、报告、审批流。`
         }
     },
     mounted(){
         this.getList()
-        this.getReportVarietyList()
+        // this.getReportVarietyList()
     },
     methods: {
         /* 报告转移 */
@@ -294,7 +293,7 @@ export default {
                 let item = this.$refs.classifyRef.getCheckedNodes(true)
                 console.log(item)
                 if(item&&item.length) {
-                    this.classifyForm.variety = item[0].data.ChartPermissionIdList
+                    // this.classifyForm.variety = item[0].data.ChartPermissionIdList
                 }
             }
         },
@@ -330,7 +329,6 @@ export default {
                 classify_id:item.Id,
                 classify_name:item.ClassifyName,
                 parent_id: item.ParentId,
-                variety:item.ChartPermissionIdList||'',//关联的品种
                 isLastLevel: !item.Child
             }
         },
@@ -340,7 +338,7 @@ export default {
             let params = {
                 ClassifyName: classify_name,
                 ParentId: parent_id,
-                ChartPermissionIdList:this.classifyForm.variety||[]
+                // ChartPermissionIdList:this.classifyForm.variety||[]
             }
 
             const { Ret,Msg } = classify_id 
@@ -364,12 +362,12 @@ export default {
         },
 
         // 获取品种数据
-        getReportVarietyList(){
-            reportVarietyInterence.filterVarietyOpts().then(res=>{
-                console.log(res);
-                this.reportVarietyList=res.Data||[]
-            })
-        },
+        // getReportVarietyList(){
+        //     reportVarietyInterence.filterVarietyOpts().then(res=>{
+        //         console.log(res);
+        //         this.reportVarietyList=res.Data||[]
+        //     })
+        // },
 
         //启用\禁用设置
         handleEnableSet(item){

+ 15 - 15
src/views/report_manage/reportV2/components/chapterEditWrapper.vue

@@ -169,7 +169,7 @@
                     <el-dropdown-item 
                       :command="{type:'adTag',item}" 
                       v-if="permissionBtn.checkPermissionBtn(permissionBtn.reportManageBtn.reportMange_chapter_editTag)"><!-- 添加标签 -->{{$t('ReportManage.ReportList.add_labels_section')}}</el-dropdown-item>
-                    <el-dropdown-item :command="{type:'upAudio',item}"><!-- 上传录音 -->{{$t('ReportManage.ReportList.up_recording_lable')}}</el-dropdown-item>
+                    <!-- <el-dropdown-item :command="{type:'upAudio',item}">上传录音{{$t('ReportManage.ReportList.up_recording_lable')}}</el-dropdown-item> -->
                   </el-dropdown-menu>
                 </el-dropdown>
               </div>
@@ -207,7 +207,7 @@
                 placeholder="请输入章节名称"
               />
           </el-form-item>
-          <el-form-item prop="varietys">
+          <!-- <el-form-item prop="varietys">
               <template slot="label">
                   <el-tooltip class="item" effect="dark">
                       <div slot="content" v-html="varietyTip"></div>
@@ -234,7 +234,7 @@
                   style="width:350px;"
                   clearable
               ></el-cascader>
-          </el-form-item>
+          </el-form-item> -->
           <el-form-item prop="editors" :label="$t('ReportManage.ReportList.label_chap_editor')">
             <el-cascader
               v-model="chapterInfo.editors"
@@ -301,7 +301,7 @@
 
 
     <!-- 上传音频弹窗 -->
-    <m-dialog
+    <!-- <m-dialog
       :show.sync="isOpenUploadAudio"
       :title="$t('ReportManage.smart_audio_upload_btn')"
       width="450px"
@@ -338,7 +338,7 @@
                 <el-button type="primary" @click="handleSaveAudio" :loading="uploadAudioLoading">{{uploadAudioLoading ? $t('ReportManage.smart_btn.uploading') :$t('Dialog.confirm_btn')}}</el-button>
             </div>
         </div>
-    </m-dialog>
+    </m-dialog> -->
 
     <!-- 版图设置弹窗 -->
     <smartTerritorSet 
@@ -394,11 +394,11 @@ export default {
 
       /* 章节弹窗 */
       isOpenChapterDia: false,
-      reportVarietyOpts: [],
+      // reportVarietyOpts: [],
       userOpts: [],
       chapterInfo: {
         id: 0,
-        varietys:[],
+        // varietys:[],
         editors:[],
         chapterName:'',
         tags: '',
@@ -528,7 +528,7 @@ export default {
       if(item.ReportChapterId) {
         this.chapterInfo = {
           id: item.ReportChapterId,
-          varietys:item.PermissionIdList,
+          // varietys:item.PermissionIdList,
           editors:item.GrandAdminIdList,
           chapterName:item.Title,
           tags: ''
@@ -536,7 +536,7 @@ export default {
       }else {
         this.chapterInfo = {
           id: 0,
-          varietys:this.reportVarietyOpts.map(_ =>_.PermissionId)||[],
+          // varietys:this.reportVarietyOpts.map(_ =>_.PermissionId)||[],
           editors:[],
           chapterName:'',
           tags: ''
@@ -552,7 +552,7 @@ export default {
 
       let params = {
         Title: this.chapterInfo.chapterName,
-        PermissionIdList: this.chapterInfo.varietys,
+        // PermissionIdList: this.chapterInfo.varietys,
         AdminIdList: this.chapterInfo.editors
       }
 
@@ -611,7 +611,7 @@ export default {
     openAddChapterTag(item) {
       this.chapterInfo = {
         id: item.ReportChapterId,
-        varietys:[],
+        // varietys:[],
         editors:[],
         chapterName: item.Title,
         tags: item.Trend
@@ -690,9 +690,9 @@ export default {
         case 'adTag': 
           this.openAddChapterTag(item)
           break
-        case 'upAudio': 
-          this.openUploadAudio(item)
-          break
+        // case 'upAudio': 
+        //   this.openUploadAudio(item)
+        //   break
         case 'wxShare':
           this.handleGetWechatImg(item)
           break
@@ -740,7 +740,7 @@ export default {
         this.$emit('checkClassifyNameArr',classify)
       }
 
-      this.reportVarietyOpts = res.Data.PermissionList||[];
+      // this.reportVarietyOpts = res.Data.PermissionList||[];
       this.userOpts = res.Data.GrandAdminList||[];
 
     },

+ 10 - 10
src/views/report_manage/reportV2/components/reportBaseInfoDia.vue

@@ -52,11 +52,11 @@
           />
         </el-form-item>
 
-        <el-form-item prop="relationVariety" :label="$t('ReportManage.ReportList.label_relation_variety')" v-if="formData.relationVariety.length">
+        <!-- <el-form-item prop="relationVariety" :label="$t('ReportManage.ReportList.label_relation_variety')" v-if="formData.relationVariety.length">
           <div class="permission-wrap">
             <el-tag v-for="item in formData.relationVariety" :key="item.ChartPermissionId">{{item.PermissionName}}</el-tag>
           </div>
-        </el-form-item>
+        </el-form-item> -->
 
         <el-form-item prop="title" :label="$t('ReportManage.ReportList.label_report_tit')">
           <el-input
@@ -252,7 +252,7 @@ export default {
             isPublcPublish: this.reportInfo.IsPublicPublish
           }
 
-          this.getRelationPermission()
+          // this.getRelationPermission()
       }
     },
   },
@@ -408,7 +408,7 @@ export default {
 
     //分类变化 获取关联品种 
     handleChangeClassify(val) {
-      this.getRelationPermission()
+      // this.getRelationPermission()
       this.handleUpdateBaseInfo()
     },
 
@@ -502,14 +502,14 @@ export default {
     },
 
     //获取关联品种
-    async getRelationPermission() {
-      if(!this.formData.classify.length) return
+    // async getRelationPermission() {
+    //   if(!this.formData.classify.length) return
 
-      const res = await classifyPermissionInterface.classifyPermissionList({ClassifyId:this.formData.classify[this.formData.classify.length-1]})
+    //   const res = await classifyPermissionInterface.classifyPermissionList({ClassifyId:this.formData.classify[this.formData.classify.length-1]})
 
-        if(res.Ret!==200) return
-        this.formData.relationVariety = res.Data || []
-    },
+    //     if(res.Ret!==200) return
+    //     this.formData.relationVariety = res.Data || []
+    // },
 
     // 获取选择的分类名称
     getSelectClassifyName() {

+ 2 - 2
src/views/report_manage/reportV2/list.vue

@@ -626,8 +626,8 @@ export default {
         {label:"下载长图",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_exportImg'),States:[2,6],text:'ReportManage.smart_btn.download_long_image'},
         {label:"推送消息",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_sendMsg'),States:[2,6],text:'ReportManage.smart_push_notification_btn'},
         {label:"已推送消息",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_sendMsg'),States:[2,6],text:'ReportManage.smart_notification_pushed'},
-        {label:"音频上传",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_audioUpload'),States:true,text:'ReportManage.smart_audio_upload_btn'},
-        {label:"音频下载A",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_audioDownload'),States:true,text:'ReportManage.smart_audio_download_btn'},
+        // {label:"音频上传",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_audioUpload'),States:true,text:'ReportManage.smart_audio_upload_btn'},
+        // {label:"音频下载A",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_audioDownload'),States:true,text:'ReportManage.smart_audio_download_btn'},
         // {label:"音频下载",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_audioDownload'),States:true,text:'ReportManage.smart_audio_download_btn'},
       ],
 

+ 3 - 3
src/views/report_manage/reportlist.vue

@@ -744,9 +744,9 @@ export default {
         {label:"下载长图",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_exportImg'),States:[2,6],text:'ReportManage.smart_btn.download_long_image'},
         {label:"推送消息",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_sendMsg'),States:[2,6],text:'ReportManage.smart_push_notification_btn'},
         {label:"已推送消息",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_sendMsg'),States:[2,6],text:'ReportManage.smart_notification_pushed'},
-        {label:"音频上传",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_audioUpload'),States:true,text:'ReportManage.smart_audio_upload_btn'},
-        {label:"音频下载A",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_audioDownload'),States:true,text:'ReportManage.smart_audio_download_btn'},
-        {label:"音频下载",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_audioDownload'),States:true,text:'ReportManage.smart_audio_download_btn'},
+        // {label:"音频上传",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_audioUpload'),States:true,text:'ReportManage.smart_audio_upload_btn'},
+        // {label:"音频下载A",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_audioDownload'),States:true,text:'ReportManage.smart_audio_download_btn'},
+        // {label:"音频下载",permission:this.permissionBtn.isShowBtn('reportManageBtn','reportManage_audioDownload'),States:true,text:'ReportManage.smart_audio_download_btn'},
       ],
       waterMarkStr:"",
       publishReportCode:''

+ 19 - 19
src/views/sandbox_manage/index_new_version.vue

@@ -132,7 +132,7 @@
           <el-form-item :label="$t('SandboxManage.SandList.catalog_name')" prop="SandboxClassifyName">
             <el-input v-model.trim="classifyForm.SandboxClassifyName" style="width: 317px;" :placeholder="$t('SandboxManage.SandList.catalog_name_placeholder')"></el-input>
           </el-form-item>
-          <el-form-item :label="$t('SandboxManage.SandList.associated_variety')" prop="ChartPermissionId" v-if="hasVariety">
+          <!-- <el-form-item :label="$t('SandboxManage.SandList.associated_variety')" prop="ChartPermissionId" v-if="hasVariety">
             <el-cascader 
               @change="chartPermissionIdChange"
 							:options="classifyArr"
@@ -143,7 +143,7 @@
               ref="chartPermissionCascader"
               :disabled="(classifyForm.SandboxClassifyId && classifyForm.Level!=1) || (!classifyForm.SandboxClassifyId && classifyForm.Level!=0)"
 						/>
-          </el-form-item>
+          </el-form-item> -->
         </el-form>
         <div style="text-align: center;padding:40px 0 ;">
           <el-button @click="classifyAddSubmit" type="primary" style="width: 120px;" size="large">{{$t('Dialog.confirm_save_btn')}}</el-button>
@@ -205,7 +205,7 @@ import {reportVarietyInterence} from '@/api/modules/reportVariety'
       classifyFormRules(){
         return {
           SandboxClassifyName:{required: true, message:this.$t('SandboxManage.SandList.catalog_name_placeholder')||'请输入目录名称', trigger: 'blur'},
-          ChartPermissionId:{required: true, message:this.$t('SandboxManage.SandList.catalog_variety_placeholder')||'请选择对应品种', trigger: 'change'}
+          // ChartPermissionId:{required: true, message:this.$t('SandboxManage.SandList.catalog_variety_placeholder')||'请选择对应品种', trigger: 'change'}
         }
       }
     },
@@ -302,8 +302,8 @@ import {reportVarietyInterence} from '@/api/modules/reportVariety'
         classifyForm:{
           SandboxClassifyId:0,
           SandboxClassifyName:'',
-          ChartPermissionId:'',
-          ChartPermissionName:'',
+          // ChartPermissionId:'',
+          // ChartPermissionName:'',
           ParentId:0,
           Level:0
         },
@@ -313,7 +313,7 @@ import {reportVarietyInterence} from '@/api/modules/reportVariety'
           value: 'PermissionId',
           emitPath:false
 			  },
-        classifyArr:[],
+        // classifyArr:[],
         // 另存为弹窗
         saveOtherShow:false,
         saveOtherForm:{
@@ -365,9 +365,9 @@ import {reportVarietyInterence} from '@/api/modules/reportVariety'
         //   if(res.Ret !== 200)  return
         //     this.classifyArr = res.Data.List||[ ]
         // })
-        reportVarietyInterence.filterVarietyOpts().then(res=>{
-          this.classifyArr=res.Data||[]
-        })
+        // reportVarietyInterence.filterVarietyOpts().then(res=>{
+        //   this.classifyArr=res.Data||[]
+        // })
       },
       // 获取沙盘图分类
       getSandboxClassify(parentNode,locationNode) {
@@ -611,8 +611,8 @@ import {reportVarietyInterence} from '@/api/modules/reportVariety'
         this.classifyAddTitle=this.$t('SandboxManage.SandList.categories_add_btn')
         this.classifyForm.Level = node.Level
         this.classifyForm.ParentId = node.SandboxClassifyId
-        this.classifyForm.ChartPermissionId = node.ChartPermissionId
-        this.classifyForm.ChartPermissionName = node.ChartPermissionName
+        // this.classifyForm.ChartPermissionId = node.ChartPermissionId
+        // this.classifyForm.ChartPermissionName = node.ChartPermissionName
         this.classifyAddShow=true
       },
       getParentNodeName(node){
@@ -631,8 +631,8 @@ import {reportVarietyInterence} from '@/api/modules/reportVariety'
         this.classifyForm.SandboxClassifyId = node.SandboxClassifyId
         this.classifyForm.Level = node.Level
         this.classifyForm.SandboxClassifyName = node.SandboxClassifyName
-        this.classifyForm.ChartPermissionId = node.ChartPermissionId
-        this.classifyForm.ChartPermissionName = node.ChartPermissionName
+        // this.classifyForm.ChartPermissionId = node.ChartPermissionId
+        // this.classifyForm.ChartPermissionName = node.ChartPermissionName
         this.classifyAddTitle=this.$t('SandboxManage.SandList.categories_edit_btn')
         this.classifyAddShow=true
       },
@@ -704,8 +704,8 @@ import {reportVarietyInterence} from '@/api/modules/reportVariety'
               let params={
                 SandboxClassifyId:this.classifyForm.SandboxClassifyId,
                 SandboxClassifyName:this.classifyForm.SandboxClassifyName,
-                ChartPermissionId:this.classifyForm.ChartPermissionId || 0,
-                ChartPermissionName:this.classifyForm.ChartPermissionName,
+                // ChartPermissionId:this.classifyForm.ChartPermissionId || 0,
+                // ChartPermissionName:this.classifyForm.ChartPermissionName,
               }
               sandInterface.editSandboxClassify(params).then(res=>{
                 if(res.Ret == 200){
@@ -728,8 +728,8 @@ import {reportVarietyInterence} from '@/api/modules/reportVariety'
                 SandboxClassifyName:this.classifyForm.SandboxClassifyName,
                 ParentId:this.classifyForm.ParentId,
                 Level:this.classifyForm.Level,
-                ChartPermissionId:this.classifyForm.ChartPermissionId || 0,
-                ChartPermissionName:this.classifyForm.ChartPermissionName,
+                // ChartPermissionId:this.classifyForm.ChartPermissionId || 0,
+                // ChartPermissionName:this.classifyForm.ChartPermissionName,
               }
               sandInterface.addSandboxClassify(params).then(res=>{
                 if(res.Ret == 200){
@@ -753,8 +753,8 @@ import {reportVarietyInterence} from '@/api/modules/reportVariety'
         this.classifyForm={
           SandboxClassifyId:0,
           SandboxClassifyName:'',
-          ChartPermissionId:'',
-          ChartPermissionName:'',
+          // ChartPermissionId:'',
+          // ChartPermissionName:'',
           ParentId:0,
           Level:0
         }

+ 2 - 2
src/views/smartReport/reportList.vue

@@ -550,8 +550,8 @@ export default {
                 {label:"撤销",permission:this.permissionBtn.isShowBtn('smartReportManageBtn','reportManage_cancelPublish'),States:[4,5,6],text:'ReportManage.smart_btn.withdraw'},
                 {label:"下载Pdf",permission:this.permissionBtn.isShowBtn('smartReportManageBtn','reportManage_exportPdf'),States:[2,6],text:'ReportManage.smart_btn.download_pdf'},
                 {label:"下载长图",permission:this.permissionBtn.isShowBtn('smartReportManageBtn','reportManage_exportImg'),States:[2,6],text:'ReportManage.smart_btn.download_long_image'},
-                {label:"音频上传",permission:this.permissionBtn.isShowBtn('smartReportManageBtn','reportManage_audioUpload'),States:true,text:'ReportManage.smart_audio_upload_btn'},
-                {label:"音频下载",permission:this.permissionBtn.isShowBtn('smartReportManageBtn','reportManage_audioDownload'),States:true,text:'ReportManage.smart_audio_download_btn'},
+                // {label:"音频上传",permission:this.permissionBtn.isShowBtn('smartReportManageBtn','reportManage_audioUpload'),States:true,text:'ReportManage.smart_audio_upload_btn'},
+                // {label:"音频下载",permission:this.permissionBtn.isShowBtn('smartReportManageBtn','reportManage_audioDownload'),States:true,text:'ReportManage.smart_audio_download_btn'},
             ],
         }
     },

+ 16 - 134
src/views/system_manage/dataRefreshSetting.vue

@@ -7,17 +7,17 @@
                     {{ item.label }}
                 </div>
             </div>
-            <div class="refresh-rule-setting" v-if="settingTab=='status'">
+            <!-- <div class="refresh-rule-setting" v-if="settingTab=='status'">
                 <el-button type="danger" plain @click="setEdbsRefreshStatus('暂停')" :disabled="!hasStatusSelection">{{$t('SystemManage.DataRefresh.disabled')}}</el-button>
                 <el-button type="primary" plain @click="setEdbsRefreshStatus('启用')" :disabled="!hasStatusSelection">{{$t('SystemManage.DataRefresh.enabled')}}</el-button>
                 <el-button type="primary" @click="openDefaultRefreshStatusDia">{{$t('SystemManage.DataRefresh.default_refresh_rule')}}</el-button>
-            </div>
+            </div> -->
         </div>
         <!-- 刷新时间 -->
         <template v-if="settingTab=='time'">
             <div class="top-box">
                 <div class="select-box">
-                    <span>{{$t('SystemManage.DataRefresh.select_source')}}</span>
+                    <!-- <span>{{$t('SystemManage.DataRefresh.select_source')}}</span>
                     <el-select :placeholder="$t('SystemManage.DataRefresh.select_source_pld')" v-model="Source" @change="handleSourceChange">
                         <el-option v-for="item in SourceList" :key="item.Source" 
                         :label="item.SourceName" :value="item.Source"/>
@@ -25,7 +25,7 @@
                     <el-select :placeholder="$t('SystemManage.DataRefresh.select_source_pld')" v-model="SubSource" v-if="SubSourceList.length" @change="handleSubSourceChange">
                         <el-option v-for="item in SubSourceList" :key="item.Source" 
                         :label="$i18nt.locale==='zh'?item.SubSourceName:item.SubSourceNameEn||item.SubSourceName" :value="item.SubSource"/>
-                    </el-select>
+                    </el-select> -->
                     <el-button type="primary" @click="showDialog(true)"
                         v-permission="permissionBtn.sysDepartPermission.refresh_default"
                     >{{$t('SystemManage.DataRefresh.default_time')}}</el-button>
@@ -39,11 +39,11 @@
             <div class="table-box" v-if="hasSelectOption">
                 <div class="table-select" v-loading="selectOptionLoading">
                     <div class="select-list">
-                        <el-select :placeholder="$t('SystemManage.DataRefresh.terminal_code_select')" :no-match-text="$t('SystemManage.DataRefresh.complete_data_source')" clearable
+                        <!-- <el-select :placeholder="$t('SystemManage.DataRefresh.terminal_code_select')" :no-match-text="$t('SystemManage.DataRefresh.complete_data_source')" clearable
                             v-model="selectOption.terminalCode" @change="selectOptionChange('terminalCode')">
                             <el-option v-for="i in terminalCodeList" :key="i.TerminalCode"
                                 :label="i.Name" :value="i.TerminalCode"/>
-                        </el-select>
+                        </el-select> -->
                         <el-cascader :placeholder="$t('SystemManage.DataRefresh.eta_class_select')" :no-match-text="$t('SystemManage.DataRefresh.complete_data_source')" clearable
                             v-model="selectOption.classify" @change="selectOptionChange('classify')"
                             :options="edbClassifyList" 
@@ -56,7 +56,7 @@
                                 children:'Children',
                                 multiple:true
                             }" />
-                        <el-cascader
+                        <!-- <el-cascader
                             :placeholder="$t('SystemManage.DataRefresh.table_creator')" :no-match-text="$t('SystemManage.DataRefresh.complete_data_source')" style="height: 40px;"
                             v-model="selectOption.user" @change="selectOptionChange('user')"
                             :options="userList"
@@ -71,16 +71,16 @@
                             :show-all-levels="false"
                             clearable
                             filterable 
-                        />
+                        /> -->
                         <el-select :placeholder="table_frequency" v-model="selectOption.frequency" @change="selectOptionChange('frequency')" multiple collapse-tags clearable>
                             <el-option v-for="i in frequencyList" :key="i.value"
                                 :label="i.label" :value="i.value"
                             />
                         </el-select>
-                        <el-select :placeholder="$t('SystemManage.DataRefresh.table_status')" v-model="selectOption.state" @change="selectOptionChange('state')" clearable>
+                        <!-- <el-select :placeholder="$t('SystemManage.DataRefresh.table_status')" v-model="selectOption.state" @change="selectOptionChange('state')" clearable>
                             <el-option :label="$t('SystemManage.DataRefresh.enable_op')" value="启用"/>
                             <el-option :label="$t('SystemManage.DataRefresh.pause_op')" value="暂停"/>
-                        </el-select>
+                        </el-select> -->
                     </div>
                     <div class="select-other">
                         <el-checkbox :indeterminate="isIndeterminate" v-model="isCheckAll" @change="listCheckAllChange">{{$t('SystemManage.DataRefresh.all_list')}}</el-checkbox>
@@ -88,11 +88,11 @@
                             v-permission="permissionBtn.sysDepartPermission.refresh_time"
                             :disabled="!tableData.length"
                         >{{$t('SystemManage.DataRefresh.set_time')}}</el-button>
-                        <el-button type="primary" @click="isSetStateDialogShow=true"
+                        <!-- <el-button type="primary" @click="isSetStateDialogShow=true"
                             v-permission="permissionBtn.sysDepartPermission.refresh_state"
                             v-if="Source!=2"
                             :disabled="!tableData.length"
-                        >{{$t('SystemManage.DataRefresh.set_status')}}</el-button>
+                        >{{$t('SystemManage.DataRefresh.set_status')}}</el-button> -->
                     </div>
                 </div>
                 <el-table :data="tableData" border
@@ -134,125 +134,7 @@
             </div>
         </template>
         <!-- 刷新状态 - 全拆开吧 -->
-        <template v-if="settingTab=='status'">
-            <div class="refresh-status-container">
-                <div class="refresh-status-search">
-                    <div class="refresh-status-search-left">
-                        <div class="select-source-box">
-                            <span>{{$t('SystemManage.DataRefresh.select_source')}}</span>
-                            <el-select :placeholder="$t('SystemManage.DataRefresh.select_source_pld')" v-model="searchParams.Source">
-                                <el-option v-for="item in statusSourceList" :key="item.Source" 
-                                :label="item.SourceName" :value="item.Source"/>
-                            </el-select>
-                        </div>
-                        <el-select :placeholder="$t('SystemManage.DataRefresh.table_status')" v-model="searchParams.Status" @change="searchList"
-                        class="select-item-small" clearable>
-                            <el-option :label="$t('SystemManage.DataRefresh.enable')" value="启用"/>
-                            <el-option :label="$t('SystemManage.DataRefresh.disable')" value="暂停"/>
-                            <el-option v-if="searchParams.Source===34" :label="$t('SystemManage.DataRefresh.supplier_disabled')" value="供应商停用"/>
-                        </el-select>
-                        <!-- 频度 -->
-                        <el-select :placeholder="$t('SystemManage.DataRefresh.table_frequency')" class="select-item-small"
-                            v-model="FrequencyArr" multiple collapse-tags clearable>
-                            <el-option v-for="i in frequencyList" :key="i.value"
-                                :label="i.label" :value="i.value"
-                            />
-                        </el-select>
-                        <!-- 指标库分类 -->
-                        <el-cascader :placeholder="$t('SystemManage.DataRefresh.edb_classify')" 
-                        :no-match-text="$t('SystemManage.DataRefresh.complete_data_source')" clearable
-                        v-model="ClassifyIdArr" class="select-item-small" 
-                        :options="statusEdbClassifyList" :show-all-levels="false" collapse-tags
-                        :props="{
-                            emitPath:true,
-                            value:'ClassifyId',
-                            label:'ClassifyName',
-                            children:'Children',
-                            multiple:true
-                        }" />
-                        <!-- 创建人 -->
-                        <el-cascader
-                            :placeholder="$t('SystemManage.DataRefresh.table_creator')" 
-                            :no-match-text="$t('SystemManage.DataRefresh.complete_data_source')" style="height: 40px;"
-                            v-model="SysUserIdArr" class="select-item-small" 
-                            :options="userList" collapse-tags :show-all-levels="false" clearable filterable
-                            :props="{
-                                value: 'ItemId',
-                                label: 'ItemName',
-                                children: 'Children',
-                                emitPath: false,
-                                multiple:true,
-                            }"
-                        />
-                        <div class="selection-box">
-                            <el-checkbox :indeterminate="statusDataSelectionItem.isIndeterminate" v-model="statusDataSelectionItem.isCheckAll" 
-                            @change="statusListCheckAllChange">{{$t('SystemManage.DataRefresh.all_list')}}</el-checkbox>
-                            <span>{{$t('SystemManage.DataRefresh.selected')}}: {{ hasStatusSelection }}</span>
-                        </div>
-
-                    </div>
-
-                    <el-input :placeholder="$t('SystemManage.DataRefresh.indicator_name')" prefix-icon="el-icon-search" clearable
-                        v-model="searchParams.Keyword" @input="searchList" style="width: 360px;margin-left: 15px;"></el-input>
-                </div>
-                <el-table :data="statusTableData" border
-                    ref="statusTableRef"
-                    @selection-change="statusSelectionChange"
-                    @select="statusSelectHandle" 
-                    @select-all="statusSelectAllHandle"
-                    @sort-change="handleStatusTableSortChange"
-                    >
-                    <!-- 多选 -->
-                    <el-table-column
-                        align="center"
-                        type="selection"
-                        width="55">
-                    </el-table-column>
-                    <el-table-column align="center" prop="EdbCode" :label="$t('SystemManage.DataRefresh.table_Id')" show-overflow-tooltip>
-                        <template slot-scope="scope">
-                          {{scope.row.EdbCode}}
-                        </template>
-                    </el-table-column>
-                    <el-table-column align="center" prop="EdbName" :label="$t('SystemManage.DataRefresh.table_name')" show-overflow-tooltip>
-                        <template slot-scope="scope">
-                          {{scope.row.EdbName}}
-                        </template>
-                    </el-table-column>
-                    <el-table-column align="center" prop="RelationTime" :label="$t('SystemManage.DataRefresh.table_recent_reference_time')"
-                    sortable="custom">
-                        <template slot-scope="scope">
-                          {{scope.row.RelationTime}}
-                        </template>
-                    </el-table-column>
-                    <el-table-column align="center" prop="RelationNum" :label="$t('SystemManage.DataRefresh.table_reference_count')"
-                    sortable="custom">
-                        <template slot-scope="scope">
-                          <span :class="scope.row.RelationNum>0?'table-text-button':''" @click="openReferenceCountDia(scope.row)">{{scope.row.RelationNum}}</span>
-                        </template>
-                    </el-table-column>
-                    <el-table-column align="center" prop="IsStop" :label="$t('SystemManage.DataRefresh.table_refresh_status')">
-                        <template slot-scope="scope">
-                            {{scope.row.IsSupplierStop==1?$t('SystemManage.DataRefresh.supplier_disabled'):scope.row.IsStop?  $t('SystemManage.DataRefresh.disabled'):$t('SystemManage.DataRefresh.enabled') }}
-                        </template>
-                    </el-table-column>
-                    <el-table-column align="center" prop="Operation" :label="$t('Table.column_operations')">
-                        <template slot-scope="scope">
-                            <template v-if="scope.row.IsSupplierStop!=1">
-                                <span class="table-text-button" v-if="scope.row.IsStop" @click="enableToggle(scope.row)">{{$t('SystemManage.DataRefresh.enable')}}</span>
-                                <!-- v-permission="permissionBtn.outlinkConfigPermission.outlinkListConfig_del" -->
-                                <span class="table-text-button" style="color: #C54322;" @click="enableToggle(scope.row)" v-else>{{$t('SystemManage.DataRefresh.disable')}}</span>
-                            </template>
-                        </template>
-                    </el-table-column>
-                </el-table>
-                <el-pagination 
-                    :current-page="searchParams.CurrentIndex"
-                    :page-size="searchParams.PageSize"
-                    :total="statusDataTotal"
-                    @current-change="handleStatusListPageNoChange"
-                />
-            </div>
-        </template>
+         <!-- 刷新规则不要了 -->
         <!-- 默认刷新时间,设置刷新时间 -->
         <el-dialog custom-class="refresh-setting-dialog"
             :title="dlgTextLangShow((isDefault?'默认':'设置')+'刷新时间')"
@@ -367,16 +249,16 @@ export default {
                 { key: "IndexName", label:/* '指标全称' */ this.$t('SystemManage.DataRefresh.table_name'), minWidth: 150 },
                 { key: "EndDate", label:/* '最新日期' */ this.$t('SystemManage.DataRefresh.table_date'), sortable: "custom" },
                 { key: "EndValue", label:/* '最新值' */ this.$t('SystemManage.DataRefresh.table_value')},
-                { key: "SysUserRealName", label:/* '创建人' */ this.$t('SystemManage.DataRefresh.table_creator') },
+                // { key: "SysUserRealName", label:/* '创建人' */ this.$t('SystemManage.DataRefresh.table_creator') },
                 { key: "Frequency", label:/* '频度' */ this.$t('SystemManage.DataRefresh.table_frequency') },
                 { key: "RefreshTime", label:/* '刷新时间' */ this.$t('SystemManage.DataRefresh.table_time'), minWidth: 150 },
-                { key: "IsStop", label:/* '刷新状态' */ this.$t('SystemManage.DataRefresh.table_status')},
+                // { key: "IsStop", label:/* '刷新状态' */ this.$t('SystemManage.DataRefresh.table_status')},
             ];
         },
         tabList(){
             return [
                 { value: "time", label:/* '刷新时间设置' */ this.$t('SystemManage.DataRefresh.time_setting_tab')},
-                { value: "status", label:/* '刷新状态设置' */ this.$t('SystemManage.DataRefresh.status_setting_tab')}
+                // { value: "status", label:/* '刷新状态设置' */ this.$t('SystemManage.DataRefresh.status_setting_tab')}
             ];  
         },
         hasStatusSelection(){

+ 9 - 8
src/views/system_manage/etaBaseConfig.vue

@@ -126,7 +126,7 @@
                                     />
                                     <ConfigAnnotation picHintText="" picName="LogoCN" @showImage="previewImage" :buttonText="$t('SystemManage.BaseConfig.view_example_text')"/>
                                 </el-form-item>
-                                <el-form-item :label="`${$t('SystemManage.BaseConfig.english_version')}(${$t('SystemManage.BaseConfig.recommended_ratio')})`" prop="LogoEN">
+                                <!-- <el-form-item :label="`${$t('SystemManage.BaseConfig.english_version')}(${$t('SystemManage.BaseConfig.recommended_ratio')})`" prop="LogoEN">
                                     <ImgUpload 
                                         id="logo-image"
                                         :imgUrl="formData.LogoEN"
@@ -136,7 +136,7 @@
                                         @remove="deleteFormImg('LogoEN')"
                                     />
                                     <ConfigAnnotation picHintText="" picName="LogoEN" @showImage="previewImage" :buttonText="$t('SystemManage.BaseConfig.view_example_text')"/>
-                                </el-form-item>
+                                </el-form-item> -->
                             </div>
                             <div class="line-form-item" v-permission="permissionBtn.baseConfigPermission.etaBaseConfig_login_systemLogo_mobile">
                                 <el-form-item :label="$t('SystemManage.BaseConfig.mobile')" prop="LogoMobile" style="width: 50%;">
@@ -232,7 +232,7 @@
 
                         <div v-if="isShowXunFei">
                             <!-- 科大讯飞 -->
-                            <div style="width:100%;">
+                            <!-- <div style="width:100%;">
                                 <span style="color:#606266;">{{$t('SystemManage.BaseConfig.iFLYTEK_service')}}</span> 
                                 <el-switch v-model="Iflytek"></el-switch>
                             </div>
@@ -249,7 +249,7 @@
                                 <el-form-item label="vcn(voice_name)" prop="XfVcn">
                                     <el-input type="text" v-model="formData.XfVcn" :placeholder="$t('SystemManage.BaseConfig.please_enter')+'voice_name'" />
                                 </el-form-item>
-                            </template>
+                            </template> -->
                         </div>
                         <!-- 研报审批 -->
                         <div v-if="isShowApprove">
@@ -345,7 +345,7 @@
                         <el-form-item :label="$t('SystemManage.BaseConfig.report_share_title_en')" prop="H5ShareEnName" v-if="isShowReportEnShare">
                             <el-input type="text" v-model="formData.H5ShareEnName" :placeholder="$t('SystemManage.BaseConfig.report_share_title_en_placeholder')" />
                         </el-form-item>
-                        <el-form-item :label="$t('SystemManage.BaseConfig.connect_wx')" prop="WxAppId">
+                        <!-- <el-form-item :label="$t('SystemManage.BaseConfig.connect_wx')" prop="WxAppId">
                             <el-input type="text" v-model.trim="formData.WxAppId" :placeholder="$t('SystemManage.BaseConfig.please_enter')+'AppID'" />
                         </el-form-item>
                         <el-form-item prop="WxAppSecret">
@@ -362,9 +362,9 @@
                                 @upload="(file)=>handleUploadImage(file,'H5ReportShareImg')"
                                 @remove="deleteFormImg('H5ReportShareImg')"
                                 />
-                            <!-- <ConfigAnnotation picName="OfficialAccountsLogoPic" @showImage="previewImage"
+                        </el-form-item> -->
+                                                    <!-- <ConfigAnnotation picName="OfficialAccountsLogoPic" @showImage="previewImage"
                                 picHintText=""/> -->
-                        </el-form-item>
                     </div>
                 </div>
 
@@ -705,7 +705,7 @@ export default {
             reportFromType: [
                 // { type:'smartReport',label: /* '智能研报' */ this.$t('SystemManage.BaseConfig.report_type1') },
                 { type:'report',label: /* '研报列表' */this.$t('SystemManage.BaseConfig.report_type2') },
-                { type:'enReport',label: /* '英文研报' */this.$t('SystemManage.BaseConfig.report_type3') },
+                // { type:'enReport',label: /* '英文研报' */this.$t('SystemManage.BaseConfig.report_type3') },
             ],
             pptSheetTip: /* `设置共享表格、时间序列表格、混合表格插入PPT的表格字号` */this.$t('SystemManage.BaseConfig.ppt_sheet_tip'),
             ReportSheetTip: /* `设置共享表格、时间序列表格、混合表格插入研报的表格字号` */this.$t('SystemManage.BaseConfig.report_sheet_tip'),
@@ -1078,6 +1078,7 @@ export default {
                         line-height: 40px;
                     }
                     .line-form-item{
+                        width: 50%;
                         display: flex;
                         gap: 40px;
                     }

+ 0 - 7
src/views/system_manage/outlinkList.vue

@@ -38,13 +38,6 @@ import {outlinkConfigInterence} from "@/api/modules/etaBaseConfigApi.js"
           if(res.Ret == 200){
             this.outlinkData = res.Data.List || []
             this.authCode=res.Data.UserCode
-            // console.log(this.outlinkData);
-            //ETA1.0.8 在数组开头增加一项培训视频链接
-            this.outlinkData.unshift({
-                Id:9999,
-                Title:'培训视频课堂',
-                Url:`${process.env.VUE_APP_ETA_VIDEO}?bus_code=${this.$setting.bus_code}`
-            })
           }
         })
       },