|
|
@@ -694,11 +694,11 @@
|
|
|
<div slot="header"
|
|
|
class="clearfix">
|
|
|
<span style="padding:3px 20px">所代理制造商名称(先保存基本信息后再添加)</span>
|
|
|
-<!-- <el-button style="float: right; padding: 3px 10px"-->
|
|
|
-<!-- type="text"-->
|
|
|
-<!-- @click="manufacturerdialog"-->
|
|
|
-<!-- :disabled="parseInt(certId) === 0"-->
|
|
|
-<!-- >添加</el-button>-->
|
|
|
+ <el-button style="float: right; padding: 3px 10px"
|
|
|
+ type="text"
|
|
|
+ @click="manufacturerdialog"
|
|
|
+ :disabled="checkStatus.includes(formData.Status)"
|
|
|
+ >添加</el-button>
|
|
|
</div>
|
|
|
<manufacturer-list ref="manufacturerList"
|
|
|
:data.sync="manufacturerList"
|
|
|
@@ -711,9 +711,9 @@
|
|
|
style="margin-top: 35px;">
|
|
|
<div slot="header"
|
|
|
class="clearfix">
|
|
|
- <span style="padding:3px 20px">现场考察报告</span>
|
|
|
-<!-- <el-button :disabled="parseInt(certId) === 0" type="primary" style="margin-left: 10px;" plain size="mini" title="上传" @click="openDialog()" >上传-->
|
|
|
-<!-- </el-button>-->
|
|
|
+ <span style="padding:3px 20px">现场考察报告-</span>
|
|
|
+ <el-button :disabled="checkStatus.includes(formData.Status)" type="primary" style="margin-left: 10px;" plain size="mini" title="上传" @click="openDialog()" >上传
|
|
|
+ </el-button>
|
|
|
</div>
|
|
|
<el-table :data="scenefileurllist" border size="mini" empty-text="暂无数据" style="margin-top: 30px;">
|
|
|
<el-table-column prop="FileUrlList" label="报告" show-overflow-tooltip>
|
|
|
@@ -732,6 +732,12 @@
|
|
|
</viewer>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
+ <el-table-column label="操作" width="150" align="center" fixed>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button type="primary" plain size="mini" title="删除" style="margin-left:3px" :disabled="checkStatus.includes(formData.Status)"
|
|
|
+ v-if="scenefile.FileName != ''" @click="deletedata(scenefile.FileName.split('$')[scope.$index], scenefile.FileUrl.split('$')[scope.$index])">删除</el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
|
</el-card>
|
|
|
<!--打印内容结束-->
|
|
|
@@ -929,6 +935,7 @@ export default {
|
|
|
isInvestigate: false,
|
|
|
address: [],
|
|
|
linkaddress: [],
|
|
|
+ checkStatus: ['1', '2', '3', '4', '5', '6', '7', '8', '10', '11'],
|
|
|
showorhidflag: 'hid',
|
|
|
selectoptions: [{
|
|
|
value: '1',
|