Просмотр исходного кода

体系运行记录盒:审批意见开放修改,去掉原本新增意见的入口

cyy 6 месяцев назад
Родитель
Сommit
826241cd2a

+ 29 - 3
src/business/platform/form/formrender/dynamic-form/components/approval-opinion/index.vue

@@ -97,7 +97,7 @@
           </template>
         </el-table-column>
         <!-- 审批意见 -->
-        <el-table-column :label="options[3].label">
+        <el-table-column v-if="!timeModification" :label="options[3].label">
           <template slot-scope="{ row, $index }">
             <ibps-text-ellipsis
               :text="row[options[3].value] | filterData(options[3], row)"
@@ -122,6 +122,32 @@
             </ibps-text-ellipsis>
           </template>
         </el-table-column>
+        <el-table-column v-else :label="options[3].label">
+          <template slot-scope="{ row, $index }">
+            <el-input v-model="row[options[3].value] " placeholder="请输入内容"></el-input>
+            <!-- <ibps-text-ellipsis
+              :text="row[options[3].value] | filterData(options[3], row)"
+              :height="80"
+              :is-limit-height="limitHeight[$index]"
+            >
+              <small slot="more">
+                <span>...</span>
+                <span
+                  class="el-dropdown-link"
+                  @click="onShowMore($index, false)"
+                  >查看更多</span
+                >
+              </small>
+              <small
+                v-if="!limitHeight[$index]"
+                slot="after"
+                class="el-dropdown-link"
+                @click="onShowMore($index, true)"
+                >收起</small
+              >
+            </ibps-text-ellipsis> -->
+          </template>
+        </el-table-column>
       </el-table>
 
       <!--审批历史记录 纵向-->
@@ -178,13 +204,13 @@
         </el-card>
       </template>
     </template>
-    <ibps-approval-opinion
+    <!-- <ibps-approval-opinion
       v-if="!readonly"
       v-model="data"
       :un-complete-opinion.sync="unComplate"
       :enable-common="commonCtatment"
       :placeholder="placeholder"
-    />
+    /> -->
   </div>
 </template>
 <script>