commit
This commit is contained in:
@@ -290,7 +290,7 @@
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="DrawerType === 'see'" class="fileClass">
|
||||
<div v-if="scope.row.joinfile.length > 0" v-for="(item, index) in scope.row.joinfile" :key="index" @click="updateFile(scope.row)" style="margin-right: 5px;">
|
||||
<div v-if="scope.row.joinfile.length > 0" v-for="(item, index) in scope.row.joinfile" :key="index" @click="updateFile(item)" style="margin-right: 5px;">
|
||||
{{ item.name }}
|
||||
</div>
|
||||
<div v-else>
|
||||
@@ -416,7 +416,7 @@
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="DrawerType === 'see'" class="fileClass">
|
||||
<div v-if="scope.row.joinfile.length > 0" v-for="(item, index) in scope.row.joinfile" :key="index" @click="updateFile(scope.row)" style="margin-right: 5px;">
|
||||
<div v-if="scope.row.joinfile.length > 0" v-for="(item, index) in scope.row.joinfile" :key="index" @click="updateFile(item)" style="margin-right: 5px;">
|
||||
{{ item.name }}
|
||||
</div>
|
||||
<div v-else>
|
||||
@@ -523,7 +523,7 @@
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="DrawerType === 'see'" class="fileClass">
|
||||
<div v-if="scope.row.joinfile.length > 0" v-for="(item, index) in scope.row.joinfile" :key="index" @click="updateFile(scope.row)" style="margin-right: 5px;">
|
||||
<div v-if="scope.row.joinfile.length > 0" v-for="(item, index) in scope.row.joinfile" :key="index" @click="updateFile(item)" style="margin-right: 5px;">
|
||||
{{ item.name }}
|
||||
</div>
|
||||
<div v-else>
|
||||
@@ -1029,8 +1029,22 @@
|
||||
this.addDrawer2 = false
|
||||
}, // 关闭添加标准事件
|
||||
updateFile (item) {
|
||||
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
||||
const attId = item.attId
|
||||
if (attId) {
|
||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
|
||||
} else {
|
||||
this.$message.warning('文件不存在,下载失败')
|
||||
}
|
||||
},
|
||||
clickButtonToUpload (file) {
|
||||
const attId = file.attId
|
||||
if (attId) {
|
||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
|
||||
} else {
|
||||
this.$message.warning('文件不存在,下载失败')
|
||||
}
|
||||
},
|
||||
|
||||
checkRole(type, index, row) {
|
||||
if (row) {
|
||||
this.nodeList = []
|
||||
|
||||
@@ -173,7 +173,7 @@
|
||||
align="center"
|
||||
width="150">
|
||||
<template slot-scope="scope">
|
||||
<el-input style="margin: 10px 0;" disabled v-model="scope.row.phone"></el-input>
|
||||
<el-input style="margin: 10px 0;" v-model="scope.row.phone"></el-input>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -182,7 +182,7 @@
|
||||
align="center"
|
||||
width="200">
|
||||
<template slot-scope="scope">
|
||||
<el-input style="margin: 10px 0;" disabled v-model="scope.row.email"></el-input>
|
||||
<el-input style="margin: 10px 0;" v-model="scope.row.email"></el-input>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -262,7 +262,7 @@
|
||||
align="center"
|
||||
width="150">
|
||||
<template slot-scope="scope">
|
||||
<el-input style="margin: 10px 0;" disabled v-model="scope.row.phone"></el-input>
|
||||
<el-input style="margin: 10px 0;" v-model="scope.row.phone"></el-input>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -271,7 +271,7 @@
|
||||
align="center"
|
||||
width="200">
|
||||
<template slot-scope="scope">
|
||||
<el-input style="margin: 10px 0;" disabled v-model="scope.row.email"></el-input>
|
||||
<el-input style="margin: 10px 0;" v-model="scope.row.email"></el-input>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -290,7 +290,7 @@
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="DrawerType === 'see'" class="fileClass">
|
||||
<div v-if="scope.row.joinfile.length > 0" v-for="(item, index) in scope.row.joinfile" :key="index" @click="updateFile(scope.row)" style="margin-right: 5px;">
|
||||
<div v-if="scope.row.joinfile.length > 0" v-for="(item, index) in scope.row.joinfile" :key="index" @click="updateFile(item)" style="margin-right: 5px;">
|
||||
{{ item.name }}
|
||||
</div>
|
||||
<div v-else>
|
||||
@@ -416,7 +416,7 @@
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="DrawerType === 'see'" class="fileClass">
|
||||
<div v-if="scope.row.joinfile.length > 0" v-for="(item, index) in scope.row.joinfile" :key="index" @click="updateFile(scope.row)" style="margin-right: 5px;">
|
||||
<div v-if="scope.row.joinfile.length > 0" v-for="(item, index) in scope.row.joinfile" :key="index" @click="updateFile(item)" style="margin-right: 5px;">
|
||||
{{ item.name }}
|
||||
</div>
|
||||
<div v-else>
|
||||
@@ -523,7 +523,7 @@
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<div v-if="DrawerType === 'see'" class="fileClass">
|
||||
<div v-if="scope.row.joinfile.length > 0" v-for="(item, index) in scope.row.joinfile" :key="index" @click="updateFile(scope.row)" style="margin-right: 5px;">
|
||||
<div v-if="scope.row.joinfile.length > 0" v-for="(item, index) in scope.row.joinfile" :key="index" @click="updateFile(item)" style="margin-right: 5px;">
|
||||
{{ item.name }}
|
||||
</div>
|
||||
<div v-else>
|
||||
@@ -906,7 +906,12 @@
|
||||
this.addDrawer2 = false
|
||||
}, // 关闭添加标准事件
|
||||
updateFile (item) {
|
||||
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
||||
const attId = item.attId
|
||||
if (attId) {
|
||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
|
||||
} else {
|
||||
this.$message.warning('文件不存在,下载失败')
|
||||
}
|
||||
},
|
||||
checkRole(type, index, row) {
|
||||
if (row) {
|
||||
|
||||
Reference in New Issue
Block a user