Browse Source

合并ppt

shanbinzhang 2 days ago
parent
commit
35ecac452e

+ 1 - 1
config/index.js

@@ -37,7 +37,7 @@ module.exports = {
     assetsPublicPath: '/',
     proxyTable:{
 		'/adminapi': {
-      target: "http://gneta.hzinsights.com",
+      target: "http://gneta.hzinsights.com/ybeta",
       // target: "http://192.168.77.27:8606",
 			// secure:false,  // 如果是https接口,需要配置这个参数
 			changeOrigin:true, // 如果接口跨域,需要进行这个参数配置

+ 8 - 2
src/views/ppt_manage/newVersion/components/catalog/mergePPTDialog.vue

@@ -74,7 +74,8 @@
                 :props="{
                   value: 'Id',
                   label: 'ClassifyName',
-                  children: 'Child'
+                  children: 'Child',
+                  emitPath:false
                 }"
                 :placeholder="$t('ReportManage.ReportList.please_select_category')"
                 size="medium"
@@ -325,7 +326,7 @@ export default {
         TemplateType, 
       } = this.pptInfo
 
-      const res = await pptInterface.addppt({
+      const res = await pptInterface.addpptV2({
           FirstPage:{
             Title,
             ImgUrl,
@@ -487,6 +488,11 @@ export default {
     .input-item{
       width: 90%;
       margin-top:20px;
+      h3 {
+        display: flex;
+        justify-content: space-between;
+        align-items: center;
+      }
       &:first-child{
         margin-top: 0;
       }