Commit 2b7ca1cc authored by 李苏's avatar 李苏 💬

调整展示权限,附件过多样式调整

parent 3ae2769d
<template> <template>
<RelDialog :changeAddParams='changeAddParams' :changeEditParams='changeEditParams' @getForm='getForm' width="50%" :type='type' :editApp='editApp' :app='app' :buttonApp='buttonApp'> <RelDialog :changeAddParams='changeAddParams' :changeEditParams='changeEditParams' @getForm='getForm'
<el-form slot="form" ref="form" :model="form" label-width="120px" :rules="rules">
width="50%" :type='type' :editApp='editApp' :app='app' :buttonApp='buttonApp'>
<el-form style="height: 70vh;overflow: auto;overflow-x: hidden;" slot="form" ref="form" :model="form" label-width="120px" :rules="rules">
<el-row :gutter="20" :app="this"> <el-row :gutter="20" :app="this">
<EditColItem :required="item.required||false" :readonly="item.readonly?true:false " <EditColItem :required="item.required||false" :readonly="item.readonly?true:false "
v-for="(item,index) in editColItemList " :value="item.value" :span="item.span" :label="item.label" v-for="(item,index) in editColItemList " :value="item.value" :span="item.span" :label="item.label"
:prop='item.prop' :key="item.prop" :type="item.type" :typeConfig='item.typeConfig' :rule="item.rule" /> :prop='item.prop' :key="item.prop" :type="item.type" :typeConfig='item.typeConfig' :rule="item.rule" />
</el-row> </el-row>
<el-row :gutter="20"> <el-row v-if="type!='view'" :gutter="20">
<el-form-item label="异物图片"> <el-form-item label="异物图片">
<el-upload ref="upload" :headers='{ <el-upload ref="upload" :headers='{
Gtoken Gtoken
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<el-tab-pane label="完工附件" name="4"> <el-tab-pane label="完工附件" name="4">
<!-- 上传div--> <!-- 上传div-->
<div style="border-bottom: 1px solid #eee;padding-bottom: 20px;"> <div v-if="type!='view'" style="border-bottom: 1px solid #eee;padding-bottom: 20px;">
<span style="line-height: 40px;font-size: 12px;font-weight: 700;color: #666;">附件上传</span> <span style="line-height: 40px;font-size: 12px;font-weight: 700;color: #666;">附件上传</span>
<div class="upload padding-10"> <div class="upload padding-10">
<el-upload ref="upload" :headers='{ <el-upload ref="upload" :headers='{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment