liyongli 1 gadu atpakaļ
vecāks
revīzija
fd76b685d9

+ 0 - 1
src/view/allMedia/AIeditor/components/advertisement.vue

@@ -267,7 +267,6 @@ const refresh = () => {
 
 .item {
   width: 100%;
-  min-height: 45px;
   -webkit-box-sizing: border-box;
   box-sizing: border-box;
   margin-bottom: 20px;

+ 0 - 1
src/view/allMedia/AIeditor/components/brainstorming.vue

@@ -202,7 +202,6 @@ const get = p => {
 
 .item {
   width: 100%;
-  min-height: 45px;
   -webkit-box-sizing: border-box;
   box-sizing: border-box;
   margin-bottom: 20px;

+ 0 - 1
src/view/allMedia/AIeditor/components/email.vue

@@ -201,7 +201,6 @@ const get = p => {
 }
 .item {
   width: 100%;
-  min-height: 45px;
   -webkit-box-sizing: border-box;
   box-sizing: border-box;
   margin-bottom: 20px;

+ 0 - 1
src/view/allMedia/AIeditor/components/fission.vue

@@ -194,7 +194,6 @@ const get = p => {
 
 .item {
   width: 100%;
-  min-height: 45px;
   -webkit-box-sizing: border-box;
   box-sizing: border-box;
   margin-bottom: 20px;

+ 0 - 1
src/view/allMedia/AIeditor/components/little_red_book.vue

@@ -247,7 +247,6 @@ const get = p => {
 }
 .item {
   width: 100%;
-  min-height: 45px;
   -webkit-box-sizing: border-box;
   box-sizing: border-box;
   margin-bottom: 20px;

+ 3 - 4
src/view/allMedia/AIeditor/components/poetry.vue

@@ -26,7 +26,7 @@
       </el-form-item>
       <el-form-item label="选择条数">
         <div style="text-align: right; width: 100%">
-          <el-input-number v-model="form.num" :min="1" />
+          <el-input-number v-model="form.num" :min="1" :max="20" />
         </div>
       </el-form-item>
     </el-form>
@@ -131,7 +131,6 @@ const get = p => {
     noload: true,
   })
     .then(res => {
-      load.value = false;
       if (res.errCode !== 0 && res.data.status === 'RUNNING') {
         let t = setTimeout(() => {
           get(p);
@@ -147,7 +146,8 @@ const get = p => {
           text: v,
         });
       }
-      form.value.list.push(...l);
+      form.value.list =l;
+      load.value = false;
     })
     .catch(() => {
       load.value = false;
@@ -216,7 +216,6 @@ const get = p => {
 }
 .item {
   width: 100%;
-  min-height: 45px;
   -webkit-box-sizing: border-box;
   box-sizing: border-box;
   margin-bottom: 20px;

+ 0 - 1
src/view/allMedia/AIeditor/components/short_video.vue

@@ -278,7 +278,6 @@ const get = p => {
 
 .item {
   width: 100%;
-  min-height: 45px;
   -webkit-box-sizing: border-box;
   box-sizing: border-box;
   margin-bottom: 20px;

+ 4 - 5
src/view/allMedia/AIeditor/components/weekly.vue

@@ -16,13 +16,13 @@
     <el-form>
       <el-form-item label="文章长度">
         <div style="text-align: right; width: 100%">
-          <el-button plain :class="{ act: form.type === '日报' }">
+          <el-button @click="form.type = '日报'" plain :class="{ act: form.type === '日报' }">
             日报
           </el-button>
-          <el-button plain :class="{ act: form.type === '周报' }">
+          <el-button @click="form.type = '周报'" plain :class="{ act: form.type === '周报' }">
             周报
           </el-button>
-          <el-button plain :class="{ act: form.type === '月报' }">
+          <el-button @click="form.type = '月报'" plain :class="{ act: form.type === '月报' }">
             月报
           </el-button>
         </div>
@@ -86,7 +86,7 @@
           <el-tooltip effect="dark" content="左侧导入" placement="top">
             <el-icon
               @click="() => inputText(item.text)"
-              style="
+              style="                
                 left: 50;
                 top: 50%;
                 transform: translate(-50%, -50%);
@@ -246,7 +246,6 @@ const get = p => {
 }
 .item {
   width: 100%;
-  min-height: 45px;
   -webkit-box-sizing: border-box;
   box-sizing: border-box;
   margin-bottom: 20px;

+ 0 - 1
src/view/allMedia/components/analysis_list.vue

@@ -45,7 +45,6 @@
 import { ref, defineExpose, defineProps } from 'vue';
 import { useRouter } from 'vue-router';
 import { searchData, getreporting } from '../../../api/index';
-import { split } from 'lodash';
 let T = undefined;
 let total = -1;
 const selectValue = ref(0);