commit
This commit is contained in:
@@ -1,6 +1,31 @@
|
|||||||
.phoneBox {
|
.phoneBox {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
.headerTabs {
|
||||||
|
height: 52px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
position: absolute;
|
||||||
|
top: 51px;
|
||||||
|
right: 10px;
|
||||||
|
.headerTabsItem {
|
||||||
|
border: 1px solid #c1c1c1;
|
||||||
|
padding: 0 5px;
|
||||||
|
height: 30px;
|
||||||
|
line-height: 30px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
.active {
|
||||||
|
border: 1px solid #E6A23C;
|
||||||
|
color: #fff;
|
||||||
|
background: #E6A23C;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.content {
|
||||||
|
border-top: 1px solid #DCDFE6;
|
||||||
|
margin-top: 51px;
|
||||||
|
height: calc(~'100% - 154px');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@media screen and (max-width: 1366px) {
|
@media screen and (max-width: 1366px) {
|
||||||
.el-message {
|
.el-message {
|
||||||
|
|||||||
@@ -258,7 +258,6 @@ import ProcessFooter from '../../components/ProcessFooter'
|
|||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import { saveTaskFirst } from 'api/process'
|
import { saveTaskFirst } from 'api/process'
|
||||||
import { taskDel } from 'api/process'
|
import { taskDel } from 'api/process'
|
||||||
// import { onlyOfficeUrl } from '@/sysConfig'
|
|
||||||
export default {
|
export default {
|
||||||
name: "bzdyStep1",
|
name: "bzdyStep1",
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
:model="form"
|
:model="form"
|
||||||
:rules="formRules"
|
:rules="formRules"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="100px"
|
||||||
>
|
>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -45,12 +45,12 @@
|
|||||||
<div v-if="form.modelList.length > 0">
|
<div v-if="form.modelList.length > 0">
|
||||||
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;">
|
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;">
|
||||||
<span @click="clickButtonToUpload(item)">{{ item.name }}</span>
|
<span @click="clickButtonToUpload(item)">{{ item.name }}</span>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="updateFile(item)"
|
<!-- @click="updateFile(item)"-->
|
||||||
icon="el-icon-download"
|
<!-- icon="el-icon-download"-->
|
||||||
style="height: 32px; margin-left: 5px;"
|
<!-- style="height: 32px; margin-left: 5px;"-->
|
||||||
></el-button>
|
<!-- ></el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -61,12 +61,12 @@
|
|||||||
<div v-if="form.fjList.length > 0">
|
<div v-if="form.fjList.length > 0">
|
||||||
<div v-for="(item, index) in form.fjList" class="fileClass" :key="index" style="margin-right: 5px;">
|
<div v-for="(item, index) in form.fjList" class="fileClass" :key="index" style="margin-right: 5px;">
|
||||||
<span @click="clickButtonToUpload(item)">{{ item.name }}</span>
|
<span @click="clickButtonToUpload(item)">{{ item.name }}</span>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="updateFile(item)"
|
<!-- @click="updateFile(item)"-->
|
||||||
icon="el-icon-download"
|
<!-- icon="el-icon-download"-->
|
||||||
style="height: 32px; margin-left: 5px;"
|
<!-- style="height: 32px; margin-left: 5px;"-->
|
||||||
></el-button>
|
<!-- ></el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
style="display: none;"
|
style="display: none;"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
<el-input v-model="form.responUserListName" placeholder="请选择责任人" @click.native="choiceZRR"></el-input>
|
<el-input v-model="form.responUserListName" readonly placeholder="请选择责任人" @click.native="choiceZRR"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
@@ -136,7 +136,7 @@
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {inboundLiaisonDetail,processCreateStand,saveTaskForPub,changeAssigneeNew,getBusStandFileByAttId} from 'api/process'
|
import {inboundLiaisonDetail,processCreateStand,saveTaskForPub,changeAssigneeNew} from 'api/process'
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -180,41 +180,9 @@
|
|||||||
ProcessTitle
|
ProcessTitle
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getBusStandFileByAttId(attId) {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
getBusStandFileByAttId({
|
|
||||||
attId
|
|
||||||
}).then(res => {
|
|
||||||
if (res.ok) {
|
|
||||||
resolve(res.data)
|
|
||||||
} else {
|
|
||||||
reject()
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
reject(e)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
clickButtonToUpload(file) {
|
clickButtonToUpload(file) {
|
||||||
const attId = file.attId
|
const attId = file.attId
|
||||||
this.getBusStandFileByAttId(attId)
|
this.$preview(attId)
|
||||||
.then(res => {
|
|
||||||
if(res){
|
|
||||||
const editFileInfo = res
|
|
||||||
if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
|
|
||||||
window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
|
|
||||||
}else if(editFileInfo.fileSuffix === 'pdf' || editFileInfo.fileSuffix === 'PDF'){
|
|
||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}else {
|
|
||||||
const nowTime = new Date().getTime()
|
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
|
||||||
window.open(onlyOfficeUrl+'/onlyOffice?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
|
||||||
}
|
|
||||||
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
this.$message.warning('文件不存在,预览失败')
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
handleTransfer() {
|
handleTransfer() {
|
||||||
this.drawerModal = true
|
this.drawerModal = true
|
||||||
@@ -265,14 +233,16 @@
|
|||||||
checkedRole2 (data) {
|
checkedRole2 (data) {
|
||||||
var idList = ''
|
var idList = ''
|
||||||
var nameList = ''
|
var nameList = ''
|
||||||
data.forEach( item => {
|
if (data.length) {
|
||||||
if (nameList.length > 0) {
|
data.forEach( item => {
|
||||||
nameList += ','
|
if (nameList.length > 0) {
|
||||||
idList += ','
|
nameList += ','
|
||||||
}
|
idList += ','
|
||||||
idList += item.id
|
}
|
||||||
nameList += item.name
|
idList += item.id
|
||||||
})
|
nameList += item.name
|
||||||
|
})
|
||||||
|
}
|
||||||
this.form.responUserList = idList
|
this.form.responUserList = idList
|
||||||
this.form.responUserListName = nameList
|
this.form.responUserListName = nameList
|
||||||
},
|
},
|
||||||
@@ -370,31 +340,10 @@
|
|||||||
}
|
}
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
.headerTabs {
|
|
||||||
height: 52px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 10px;
|
|
||||||
.headerTabsItem {
|
|
||||||
border: 1px solid #c1c1c1;
|
|
||||||
padding: 0 5px;
|
|
||||||
height: 30px;
|
|
||||||
line-height: 30px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
.active {
|
|
||||||
border: 1px solid #E6A23C;
|
|
||||||
color: #fff;
|
|
||||||
background: #E6A23C;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.content {
|
.content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: calc(~'100% - 103px');
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
.tableTitle {
|
.tableTitle {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
:model="form"
|
:model="form"
|
||||||
:rules="formRules"
|
:rules="formRules"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="100px"
|
||||||
>
|
>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -45,12 +45,12 @@
|
|||||||
<div v-if="form.modelList.length > 0">
|
<div v-if="form.modelList.length > 0">
|
||||||
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;">
|
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;">
|
||||||
<span @click="clickButtonToUpload(item)">{{ item.name }}</span>
|
<span @click="clickButtonToUpload(item)">{{ item.name }}</span>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="updateFile(item)"
|
<!-- @click="updateFile(item)"-->
|
||||||
icon="el-icon-download"
|
<!-- icon="el-icon-download"-->
|
||||||
style="height: 32px; margin-left: 5px;"
|
<!-- style="height: 32px; margin-left: 5px;"-->
|
||||||
></el-button>
|
<!-- ></el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -61,26 +61,18 @@
|
|||||||
<div v-if="form.fjList.length > 0">
|
<div v-if="form.fjList.length > 0">
|
||||||
<div v-for="(item, index) in form.fjList" class="fileClass" :key="index" style="margin-right: 5px;">
|
<div v-for="(item, index) in form.fjList" class="fileClass" :key="index" style="margin-right: 5px;">
|
||||||
<span @click="clickButtonToUpload(item)">{{ item.name }}</span>
|
<span @click="clickButtonToUpload(item)">{{ item.name }}</span>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="updateFile(item)"
|
<!-- @click="updateFile(item)"-->
|
||||||
icon="el-icon-download"
|
<!-- icon="el-icon-download"-->
|
||||||
style="height: 32px; margin-left: 5px;"
|
<!-- style="height: 32px; margin-left: 5px;"-->
|
||||||
></el-button>
|
<!-- ></el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- <el-form-item label="调研结果" prop="fileName" class="add-form-item form-item-disabled">-->
|
|
||||||
<!-- <div v-if="form.file" class="fileClass" @click="updateFile(form.file)">-->
|
|
||||||
<!-- {{ form.fileName }}-->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- <div v-else>-->
|
|
||||||
<!-- - - -->
|
|
||||||
<!-- </div>-->
|
|
||||||
<!-- </el-form-item>-->
|
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
@@ -99,12 +91,12 @@
|
|||||||
<div @click="clickButtonToUpload2(form.fileId)">
|
<div @click="clickButtonToUpload2(form.fileId)">
|
||||||
{{ form.fileName }}
|
{{ form.fileName }}
|
||||||
</div>
|
</div>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="updateFile(form.fileId)"
|
<!-- @click="updateFile(form.fileId)"-->
|
||||||
icon="el-icon-download"
|
<!-- icon="el-icon-download"-->
|
||||||
style="height: 32px; margin-left: 5px;"
|
<!-- style="height: 32px; margin-left: 5px;"-->
|
||||||
></el-button>
|
<!-- ></el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -176,7 +168,7 @@
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {inboundLiaisonDetail,processCreateStand,saveTaskForPub,changeAssigneeNew,getBusStandFileByAttId} from 'api/process'
|
import {inboundLiaisonDetail,processCreateStand,saveTaskForPub,changeAssigneeNew} from 'api/process'
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -220,62 +212,13 @@
|
|||||||
ProcessTitle
|
ProcessTitle
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getBusStandFileByAttId(attId) {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
getBusStandFileByAttId({
|
|
||||||
attId
|
|
||||||
}).then(res => {
|
|
||||||
if (res.ok) {
|
|
||||||
resolve(res.data)
|
|
||||||
} else {
|
|
||||||
reject()
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
reject(e)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
clickButtonToUpload2(file) {
|
clickButtonToUpload2(file) {
|
||||||
const attId = file
|
const attId = file
|
||||||
this.getBusStandFileByAttId(attId)
|
this.$preview(attId)
|
||||||
.then(res => {
|
|
||||||
if(res){
|
|
||||||
const editFileInfo = res
|
|
||||||
if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
|
|
||||||
window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
|
|
||||||
}else if(editFileInfo.fileSuffix === 'pdf' || editFileInfo.fileSuffix === 'PDF'){
|
|
||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}else {
|
|
||||||
const nowTime = new Date().getTime()
|
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
|
||||||
window.open(onlyOfficeUrl+'/onlyOffice?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
|
||||||
}
|
|
||||||
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
this.$message.warning('文件不存在,预览失败')
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
clickButtonToUpload(file) {
|
clickButtonToUpload(file) {
|
||||||
const attId = file.attId
|
const attId = file.attId
|
||||||
this.getBusStandFileByAttId(attId)
|
this.$preview(attId)
|
||||||
.then(res => {
|
|
||||||
if(res){
|
|
||||||
const editFileInfo = res
|
|
||||||
if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
|
|
||||||
window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
|
|
||||||
}else if(editFileInfo.fileSuffix === 'pdf' || editFileInfo.fileSuffix === 'PDF'){
|
|
||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}else {
|
|
||||||
const nowTime = new Date().getTime()
|
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
|
||||||
window.open(onlyOfficeUrl+'/onlyOffice?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
|
||||||
}
|
|
||||||
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
this.$message.warning('文件不存在,预览失败')
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
handleTransfer() {
|
handleTransfer() {
|
||||||
this.drawerModal = true
|
this.drawerModal = true
|
||||||
@@ -410,31 +353,10 @@
|
|||||||
.fileClass:hover{
|
.fileClass:hover{
|
||||||
color: #0c91e5;
|
color: #0c91e5;
|
||||||
}
|
}
|
||||||
.headerTabs {
|
|
||||||
height: 52px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 10px;
|
|
||||||
.headerTabsItem {
|
|
||||||
border: 1px solid #c1c1c1;
|
|
||||||
padding: 0 5px;
|
|
||||||
height: 30px;
|
|
||||||
line-height: 30px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
.active {
|
|
||||||
border: 1px solid #E6A23C;
|
|
||||||
color: #fff;
|
|
||||||
background: #E6A23C;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.content {
|
.content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: calc(~'100% - 103px');
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
.tableTitle {
|
.tableTitle {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
:model="form"
|
:model="form"
|
||||||
:rules="formRules"
|
:rules="formRules"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="100px"
|
||||||
>
|
>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -44,24 +44,17 @@
|
|||||||
<el-form-item label="汇总调研结果" prop="hzfileId" class="add-form-item form-item-disabled">
|
<el-form-item label="汇总调研结果" prop="hzfileId" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.hzfileName" class="fileClass">
|
<div v-if="form.hzfileName" class="fileClass">
|
||||||
<span @click="clickButtonToUpload2(form.hzfileId)">{{ form.hzfileName }}</span>
|
<span @click="clickButtonToUpload2(form.hzfileId)">{{ form.hzfileName }}</span>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="updateFile(form.hzfileId)"
|
<!-- @click="updateFile(form.hzfileId)"-->
|
||||||
icon="el-icon-download"
|
<!-- icon="el-icon-download"-->
|
||||||
style="height: 32px; margin-left: 5px;"
|
<!-- style="height: 32px; margin-left: 5px;"-->
|
||||||
></el-button>
|
<!-- ></el-button>-->
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- <el-form-item label="会签意见" prop="texthq" class="add-form-item form-item-disabled">-->
|
|
||||||
<!-- <el-input-->
|
|
||||||
<!-- v-model="form.texthq"-->
|
|
||||||
<!-- placeholder="请输入审核意见"-->
|
|
||||||
<!-- clearable-->
|
|
||||||
<!-- ></el-input>-->
|
|
||||||
<!-- </el-form-item>-->
|
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
@@ -100,12 +93,12 @@
|
|||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div class="fileClass">
|
<div class="fileClass">
|
||||||
<span @click="clickButtonToUpload2(scope.row.fileId)">{{scope.row.fileName}}</span>
|
<span @click="clickButtonToUpload2(scope.row.fileId)">{{scope.row.fileName}}</span>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="updateFile(scope.row.fileId)"
|
<!-- @click="updateFile(scope.row.fileId)"-->
|
||||||
icon="el-icon-download"
|
<!-- icon="el-icon-download"-->
|
||||||
style="height: 32px; margin-left: 5px;"
|
<!-- style="height: 32px; margin-left: 5px;"-->
|
||||||
></el-button>
|
<!-- ></el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -178,7 +171,7 @@
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {inboundLiaisonDetail,changeAssigneeNew,getBusStandFileByAttId} from 'api/process'
|
import {inboundLiaisonDetail,changeAssigneeNew} from 'api/process'
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -218,41 +211,9 @@
|
|||||||
ProcessTitle
|
ProcessTitle
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getBusStandFileByAttId(attId) {
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
getBusStandFileByAttId({
|
|
||||||
attId
|
|
||||||
}).then(res => {
|
|
||||||
if (res.ok) {
|
|
||||||
resolve(res.data)
|
|
||||||
} else {
|
|
||||||
reject()
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
reject(e)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
clickButtonToUpload2(file) {
|
clickButtonToUpload2(file) {
|
||||||
const attId = file
|
const attId = file
|
||||||
this.getBusStandFileByAttId(attId)
|
this.$preview(attId)
|
||||||
.then(res => {
|
|
||||||
if(res){
|
|
||||||
const editFileInfo = res
|
|
||||||
if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
|
|
||||||
window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
|
|
||||||
}else if(editFileInfo.fileSuffix === 'pdf' || editFileInfo.fileSuffix === 'PDF'){
|
|
||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}else {
|
|
||||||
const nowTime = new Date().getTime()
|
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
|
||||||
window.open(onlyOfficeUrl+'/onlyOffice?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
|
||||||
}
|
|
||||||
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
this.$message.warning('文件不存在,预览失败')
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
handleTransfer() {
|
handleTransfer() {
|
||||||
this.drawerModal = true
|
this.drawerModal = true
|
||||||
@@ -425,31 +386,10 @@
|
|||||||
.fileClass:hover{
|
.fileClass:hover{
|
||||||
color: #0c91e5;
|
color: #0c91e5;
|
||||||
}
|
}
|
||||||
.headerTabs {
|
|
||||||
height: 52px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 10px;
|
|
||||||
.headerTabsItem {
|
|
||||||
border: 1px solid #c1c1c1;
|
|
||||||
padding: 0 5px;
|
|
||||||
height: 30px;
|
|
||||||
line-height: 30px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
.active {
|
|
||||||
border: 1px solid #E6A23C;
|
|
||||||
color: #fff;
|
|
||||||
background: #E6A23C;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.content {
|
.content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: calc(~'100% - 103px');
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
.tableTitle {
|
.tableTitle {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
:model="form"
|
:model="form"
|
||||||
:rules="formRules"
|
:rules="formRules"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="100px"
|
||||||
>
|
>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -41,20 +41,13 @@
|
|||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="汇总调研结果" prop="hzfileId" class="add-form-item form-item-disabled">
|
<el-form-item label="汇总调研结果" prop="hzfileId" class="add-form-item form-item-disabled">
|
||||||
<div v-if="form.hzfileName" @click="updateFile(form.hzfileId)" class="fileClass">
|
<div v-if="form.hzfileName" class="fileClass" @click="updateFile(form.hzfileId)">
|
||||||
{{ form.hzfileName }}
|
{{ form.hzfileName }}
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- <el-form-item label="审核意见" prop="textsh" class="add-form-item form-item-disabled">-->
|
|
||||||
<!-- <el-input-->
|
|
||||||
<!-- v-model="form.textsh"-->
|
|
||||||
<!-- placeholder="请输入审核意见"-->
|
|
||||||
<!-- clearable-->
|
|
||||||
<!-- ></el-input>-->
|
|
||||||
<!-- </el-form-item>-->
|
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
@@ -91,7 +84,7 @@
|
|||||||
label="文件"
|
label="文件"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div @click="updateFile(scope.row.fileId)" class="fileClass">
|
<div class="fileClass" @click="updateFile(scope.row.fileId)">
|
||||||
{{scope.row.fileName}}
|
{{scope.row.fileName}}
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -223,7 +216,8 @@
|
|||||||
}, e => {})
|
}, e => {})
|
||||||
},
|
},
|
||||||
updateFile (fileId) {
|
updateFile (fileId) {
|
||||||
window.location.href = '/api/att/attFile/downloadFile?fileId=' + fileId
|
this.$preview(fileId)
|
||||||
|
// window.location.href = '/api/att/attFile/downloadFile?fileId=' + fileId
|
||||||
},
|
},
|
||||||
// 导入按钮 上传之前的钩子
|
// 导入按钮 上传之前的钩子
|
||||||
beginImportFile (file) {
|
beginImportFile (file) {
|
||||||
@@ -342,33 +336,12 @@
|
|||||||
/deep/.prc-content-border .el-form-item__content {
|
/deep/.prc-content-border .el-form-item__content {
|
||||||
width: 270px;
|
width: 270px;
|
||||||
}
|
}
|
||||||
.headerTabs {
|
|
||||||
height: 52px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: absolute;
|
|
||||||
top: 52px;
|
|
||||||
right: 10px;
|
|
||||||
.headerTabsItem {
|
|
||||||
border: 1px solid #c1c1c1;
|
|
||||||
padding: 0 5px;
|
|
||||||
height: 30px;
|
|
||||||
line-height: 30px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
.active {
|
|
||||||
border: 1px solid #E6A23C;
|
|
||||||
color: #fff;
|
|
||||||
background: #E6A23C;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.content {
|
.content {
|
||||||
border-top: 1px solid #DCDFE6;
|
border-top: 1px solid #DCDFE6;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-top: 52px;
|
margin-top: 52px;
|
||||||
height: calc(~'100% - 155px');
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
.tableTitle {
|
.tableTitle {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
:model="form"
|
:model="form"
|
||||||
:rules="formRules"
|
:rules="formRules"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="100px"
|
||||||
>
|
>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -223,7 +223,7 @@
|
|||||||
}, e => {})
|
}, e => {})
|
||||||
},
|
},
|
||||||
updateFile (fileId) {
|
updateFile (fileId) {
|
||||||
window.location.href = '/api/att/attFile/downloadFile?fileId=' + fileId
|
this.$preview(fileId)
|
||||||
},
|
},
|
||||||
// 导入按钮 上传之前的钩子
|
// 导入按钮 上传之前的钩子
|
||||||
beginImportFile (file) {
|
beginImportFile (file) {
|
||||||
@@ -342,33 +342,12 @@
|
|||||||
/deep/.prc-content-border .el-form-item__content {
|
/deep/.prc-content-border .el-form-item__content {
|
||||||
width: 270px;
|
width: 270px;
|
||||||
}
|
}
|
||||||
.headerTabs {
|
|
||||||
height: 52px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: absolute;
|
|
||||||
top: 52px;
|
|
||||||
right: 10px;
|
|
||||||
.headerTabsItem {
|
|
||||||
border: 1px solid #c1c1c1;
|
|
||||||
padding: 0 5px;
|
|
||||||
height: 30px;
|
|
||||||
line-height: 30px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
.active {
|
|
||||||
border: 1px solid #E6A23C;
|
|
||||||
color: #fff;
|
|
||||||
background: #E6A23C;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.content {
|
.content {
|
||||||
border-top: 1px solid #DCDFE6;
|
border-top: 1px solid #DCDFE6;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-top: 52px;
|
margin-top: 52px;
|
||||||
height: calc(~'100% - 155px');
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
.tableTitle {
|
.tableTitle {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
:model="form"
|
:model="form"
|
||||||
:rules="formRules"
|
:rules="formRules"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="100px"
|
||||||
>
|
>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -48,13 +48,6 @@
|
|||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- <el-form-item label="审核意见" prop="textsh" class="add-form-item form-item-disabled">-->
|
|
||||||
<!-- <el-input-->
|
|
||||||
<!-- v-model="form.textsh"-->
|
|
||||||
<!-- placeholder="请输入审核意见"-->
|
|
||||||
<!-- clearable-->
|
|
||||||
<!-- ></el-input>-->
|
|
||||||
<!-- </el-form-item>-->
|
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
@@ -223,7 +216,7 @@
|
|||||||
}, e => {})
|
}, e => {})
|
||||||
},
|
},
|
||||||
updateFile (fileId) {
|
updateFile (fileId) {
|
||||||
window.location.href = '/api/att/attFile/downloadFile?fileId=' + fileId
|
this.$preview(fileId)
|
||||||
},
|
},
|
||||||
// 导入按钮 上传之前的钩子
|
// 导入按钮 上传之前的钩子
|
||||||
beginImportFile (file) {
|
beginImportFile (file) {
|
||||||
@@ -342,33 +335,12 @@
|
|||||||
/deep/.prc-content-border .el-form-item__content {
|
/deep/.prc-content-border .el-form-item__content {
|
||||||
width: 270px;
|
width: 270px;
|
||||||
}
|
}
|
||||||
.headerTabs {
|
|
||||||
height: 52px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: absolute;
|
|
||||||
top: 52px;
|
|
||||||
right: 10px;
|
|
||||||
.headerTabsItem {
|
|
||||||
border: 1px solid #c1c1c1;
|
|
||||||
padding: 0 5px;
|
|
||||||
height: 30px;
|
|
||||||
line-height: 30px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
.active {
|
|
||||||
border: 1px solid #E6A23C;
|
|
||||||
color: #fff;
|
|
||||||
background: #E6A23C;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.content {
|
.content {
|
||||||
border-top: 1px solid #DCDFE6;
|
border-top: 1px solid #DCDFE6;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-top: 52px;
|
margin-top: 52px;
|
||||||
height: calc(~'100% - 155px');
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
.tableTitle {
|
.tableTitle {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
ref="bzzqyjForm"
|
ref="bzzqyjForm"
|
||||||
:model="form"
|
:model="form"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="100px"
|
||||||
>
|
>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
ref="bzzqyjForm"
|
ref="bzzqyjForm"
|
||||||
:model="form"
|
:model="form"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="100px"
|
||||||
>
|
>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
ref="bzzqyjForm"
|
ref="bzzqyjForm"
|
||||||
:model="form"
|
:model="form"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="100px"
|
||||||
>
|
>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
:model="form"
|
:model="form"
|
||||||
:rules="formRules"
|
:rules="formRules"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="100px"
|
||||||
>
|
>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -51,12 +51,12 @@
|
|||||||
v-for="(item, index) in form.fjList"
|
v-for="(item, index) in form.fjList"
|
||||||
:key="index">
|
:key="index">
|
||||||
<span @click="fileLook(item)">{{ item.fileName }}</span>
|
<span @click="fileLook(item)">{{ item.fileName }}</span>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="filesUpload(item)"
|
<!-- @click="filesUpload(item)"-->
|
||||||
icon="el-icon-download"
|
<!-- icon="el-icon-download"-->
|
||||||
style="height: 32px; margin-left: 5px;"
|
<!-- style="height: 32px; margin-left: 5px;"-->
|
||||||
></el-button>
|
<!-- ></el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -64,12 +64,12 @@
|
|||||||
<div v-if="form.modelList.length > 0">
|
<div v-if="form.modelList.length > 0">
|
||||||
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;">
|
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;">
|
||||||
<span @click="fileLook(item)">{{ item.name }}</span>
|
<span @click="fileLook(item)">{{ item.name }}</span>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="filesUpload(item)"
|
<!-- @click="filesUpload(item)"-->
|
||||||
icon="el-icon-download"
|
<!-- icon="el-icon-download"-->
|
||||||
style="height: 32px; margin-left: 5px;"
|
<!-- style="height: 32px; margin-left: 5px;"-->
|
||||||
></el-button>
|
<!-- ></el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -82,7 +82,7 @@
|
|||||||
style="display: none;"
|
style="display: none;"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
<el-input v-model="form.responUserListName" placeholder="请选择责任人" @click.native="choiceZRR"></el-input>
|
<el-input v-model="form.responUserListName" readonly placeholder="请选择责任人" @click.native="choiceZRR"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
@@ -191,7 +191,7 @@
|
|||||||
import ProcessHeaderPhone from "../../components/ProcessHeaderPhone";
|
import ProcessHeaderPhone from "../../components/ProcessHeaderPhone";
|
||||||
import ProcessFooter from "../../components/ProcessFooter";
|
import ProcessFooter from "../../components/ProcessFooter";
|
||||||
import ProcessTitle from "../../components/ProcessTitle";
|
import ProcessTitle from "../../components/ProcessTitle";
|
||||||
import { inboundLiaisonDetail, processCreateStand, saveTaskForPub, changeAssigneeNew,getBusStandFileByAttId} from "api/process";
|
import { inboundLiaisonDetail, processCreateStand, saveTaskForPub, changeAssigneeNew} from "api/process";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -246,41 +246,9 @@
|
|||||||
this.$message.warning('文件不存在,下载失败')
|
this.$message.warning('文件不存在,下载失败')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getBusStandFileByAttId(attId) { // 预览
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
getBusStandFileByAttId({
|
|
||||||
attId
|
|
||||||
}).then(res => {
|
|
||||||
if (res.ok) {
|
|
||||||
resolve(res.data)
|
|
||||||
} else {
|
|
||||||
reject()
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
reject(e)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
fileLook(file) { // 预览
|
fileLook(file) { // 预览
|
||||||
const attId = file.attId
|
const attId = file.attId
|
||||||
this.getBusStandFileByAttId(attId)
|
this.$preview(attId)
|
||||||
.then(res => {
|
|
||||||
if(res){
|
|
||||||
const editFileInfo = res
|
|
||||||
if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
|
|
||||||
window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
|
|
||||||
}else if(editFileInfo.fileSuffix === 'pdf' || editFileInfo.fileSuffix === 'PDF'){
|
|
||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}else {
|
|
||||||
const nowTime = new Date().getTime()
|
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
|
||||||
window.open(onlyOfficeUrl+'/onlyOffice?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
|
||||||
}
|
|
||||||
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
this.$message.warning('文件不存在,预览失败')
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
handleTransfer() {
|
handleTransfer() {
|
||||||
this.drawerModal = true
|
this.drawerModal = true
|
||||||
@@ -329,14 +297,16 @@
|
|||||||
checkedRole2(data) {
|
checkedRole2(data) {
|
||||||
var idList = "";
|
var idList = "";
|
||||||
var nameList = "";
|
var nameList = "";
|
||||||
data.forEach(item => {
|
if (data.length) {
|
||||||
if (nameList.length > 0) {
|
data.forEach(item => {
|
||||||
nameList += ",";
|
if (nameList.length > 0) {
|
||||||
idList += ",";
|
nameList += ",";
|
||||||
}
|
idList += ",";
|
||||||
idList += item.id;
|
}
|
||||||
nameList += item.name;
|
idList += item.id;
|
||||||
});
|
nameList += item.name;
|
||||||
|
});
|
||||||
|
}
|
||||||
this.form.responUserList = idList;
|
this.form.responUserList = idList;
|
||||||
this.form.responUserListName = nameList;
|
this.form.responUserListName = nameList;
|
||||||
|
|
||||||
@@ -437,48 +407,19 @@
|
|||||||
padding: 0 20px 0;
|
padding: 0 20px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileClass {
|
.fileClass {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileClass:hover {
|
.fileClass:hover {
|
||||||
color: #0c91e5;
|
color: #0c91e5;
|
||||||
}
|
}
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
.headerTabs {
|
|
||||||
height: 52px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 10px;
|
|
||||||
|
|
||||||
.headerTabsItem {
|
|
||||||
border: 1px solid #c1c1c1;
|
|
||||||
padding: 0 5px;
|
|
||||||
height: 30px;
|
|
||||||
line-height: 30px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.active {
|
|
||||||
border: 1px solid #E6A23C;
|
|
||||||
color: #fff;
|
|
||||||
background: #E6A23C;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: calc(~'100% - 103px');
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
.tableTitle {
|
.tableTitle {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
:model="form"
|
:model="form"
|
||||||
:rules="formRules"
|
:rules="formRules"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="100px"
|
||||||
>
|
>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -51,12 +51,12 @@
|
|||||||
v-for="(item, index) in form.fjList"
|
v-for="(item, index) in form.fjList"
|
||||||
:key="index">
|
:key="index">
|
||||||
<span @click="fileLook(item)">{{ item.fileName }}</span>
|
<span @click="fileLook(item)">{{ item.fileName }}</span>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="filesUpload(item)"
|
<!-- @click="filesUpload(item)"-->
|
||||||
icon="el-icon-download"
|
<!-- icon="el-icon-download"-->
|
||||||
style="height: 32px; margin-left: 5px;"
|
<!-- style="height: 32px; margin-left: 5px;"-->
|
||||||
></el-button>
|
<!-- ></el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -64,12 +64,12 @@
|
|||||||
<div v-if="form.modelList.length > 0">
|
<div v-if="form.modelList.length > 0">
|
||||||
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;">
|
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;">
|
||||||
<span @click="fileLook(item)">{{ item.name }}</span>
|
<span @click="fileLook(item)">{{ item.name }}</span>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="filesUpload(item)"
|
<!-- @click="filesUpload(item)"-->
|
||||||
icon="el-icon-download"
|
<!-- icon="el-icon-download"-->
|
||||||
style="height: 32px; margin-left: 5px;"
|
<!-- style="height: 32px; margin-left: 5px;"-->
|
||||||
></el-button>
|
<!-- ></el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -82,7 +82,7 @@
|
|||||||
style="display: none;"
|
style="display: none;"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
<el-input v-model="form.bzfgName" placeholder="请选择标准法规工程师分线管理员" @click.native="choiceZRR(form.bzfgId)"></el-input>
|
<el-input v-model="form.bzfgName" placeholder="请选择标准法规工程师分线管理员" readonly @click.native="choiceZRR(form.bzfgId)"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
@@ -263,7 +263,7 @@
|
|||||||
import ProcessHeaderPhone from "../../components/ProcessHeaderPhone";
|
import ProcessHeaderPhone from "../../components/ProcessHeaderPhone";
|
||||||
import ProcessFooter from '../../components/ProcessFooter'
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
import ProcessTitle from '../../components/ProcessTitle'
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
import {inboundLiaisonDetail, processCreateStand,changeAssigneeNew,getBusStandFileByAttId} from 'api/process'
|
import {inboundLiaisonDetail, processCreateStand,changeAssigneeNew} from 'api/process'
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -328,41 +328,9 @@
|
|||||||
this.$message.warning('文件不存在,下载失败')
|
this.$message.warning('文件不存在,下载失败')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getBusStandFileByAttId(attId) { // 预览
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
getBusStandFileByAttId({
|
|
||||||
attId
|
|
||||||
}).then(res => {
|
|
||||||
if (res.ok) {
|
|
||||||
resolve(res.data)
|
|
||||||
} else {
|
|
||||||
reject()
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
reject(e)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
fileLook(file) { // 预览
|
fileLook(file) { // 预览
|
||||||
const attId = file.attId
|
const attId = file.attId
|
||||||
this.getBusStandFileByAttId(attId)
|
this.$preview(attId)
|
||||||
.then(res => {
|
|
||||||
if(res){
|
|
||||||
const editFileInfo = res
|
|
||||||
if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
|
|
||||||
window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
|
|
||||||
}else if(editFileInfo.fileSuffix === 'pdf' || editFileInfo.fileSuffix === 'PDF'){
|
|
||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}else {
|
|
||||||
const nowTime = new Date().getTime()
|
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
|
||||||
window.open(onlyOfficeUrl+'/onlyOffice?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
|
||||||
}
|
|
||||||
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
this.$message.warning('文件不存在,预览失败')
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
checkedRole2(data) {
|
checkedRole2(data) {
|
||||||
this.form.bzfgId = data[0].id
|
this.form.bzfgId = data[0].id
|
||||||
@@ -522,46 +490,18 @@
|
|||||||
padding: 0 20px 0;
|
padding: 0 20px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileClass {
|
.fileClass {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileClass:hover {
|
.fileClass:hover {
|
||||||
color: #0c91e5;
|
color: #0c91e5;
|
||||||
}
|
}
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
.headerTabs {
|
|
||||||
height: 52px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 10px;
|
|
||||||
|
|
||||||
.headerTabsItem {
|
|
||||||
border: 1px solid #c1c1c1;
|
|
||||||
padding: 0 5px;
|
|
||||||
height: 30px;
|
|
||||||
line-height: 30px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.active {
|
|
||||||
border: 1px solid #E6A23C;
|
|
||||||
color: #fff;
|
|
||||||
background: #E6A23C;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: calc(~'100% - 103px');
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
.tableTitle {
|
.tableTitle {
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
:model="form"
|
:model="form"
|
||||||
:rules="formRules"
|
:rules="formRules"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="100px"
|
||||||
>
|
>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -51,12 +51,12 @@
|
|||||||
v-for="(item, index) in form.fjList"
|
v-for="(item, index) in form.fjList"
|
||||||
:key="index">
|
:key="index">
|
||||||
<span @click="fileLook(item)">{{ item.fileName }}</span>
|
<span @click="fileLook(item)">{{ item.fileName }}</span>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="filesUpload(item)"
|
<!-- @click="filesUpload(item)"-->
|
||||||
icon="el-icon-download"
|
<!-- icon="el-icon-download"-->
|
||||||
style="height: 32px; margin-left: 5px;"
|
<!-- style="height: 32px; margin-left: 5px;"-->
|
||||||
></el-button>
|
<!-- ></el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -64,12 +64,12 @@
|
|||||||
<div v-if="form.modelList.length > 0">
|
<div v-if="form.modelList.length > 0">
|
||||||
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;">
|
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;">
|
||||||
<span @click="fileLook(item)">{{ item.name }}</span>
|
<span @click="fileLook(item)">{{ item.name }}</span>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="filesUpload(item)"
|
<!-- @click="filesUpload(item)"-->
|
||||||
icon="el-icon-download"
|
<!-- icon="el-icon-download"-->
|
||||||
style="height: 32px; margin-left: 5px;"
|
<!-- style="height: 32px; margin-left: 5px;"-->
|
||||||
></el-button>
|
<!-- ></el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -324,41 +324,9 @@
|
|||||||
this.$message.warning('文件不存在,下载失败')
|
this.$message.warning('文件不存在,下载失败')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getBusStandFileByAttId(attId) { // 预览
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
getBusStandFileByAttId({
|
|
||||||
attId
|
|
||||||
}).then(res => {
|
|
||||||
if (res.ok) {
|
|
||||||
resolve(res.data)
|
|
||||||
} else {
|
|
||||||
reject()
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
reject(e)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
fileLook(file) { // 预览
|
fileLook(file) { // 预览
|
||||||
const attId = file.attId
|
const attId = file.attId
|
||||||
this.getBusStandFileByAttId(attId)
|
this.$preview(attId)
|
||||||
.then(res => {
|
|
||||||
if(res){
|
|
||||||
const editFileInfo = res
|
|
||||||
if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
|
|
||||||
window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
|
|
||||||
}else if(editFileInfo.fileSuffix === 'pdf' || editFileInfo.fileSuffix === 'PDF'){
|
|
||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}else {
|
|
||||||
const nowTime = new Date().getTime()
|
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
|
||||||
window.open(onlyOfficeUrl+'/onlyOffice?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
|
||||||
}
|
|
||||||
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
this.$message.warning('文件不存在,预览失败')
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
checkedRole2(data) {
|
checkedRole2(data) {
|
||||||
this.form.bzfgId = data[0].id
|
this.form.bzfgId = data[0].id
|
||||||
@@ -509,46 +477,18 @@
|
|||||||
padding: 0 20px 0;
|
padding: 0 20px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileClass {
|
.fileClass {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileClass:hover {
|
.fileClass:hover {
|
||||||
color: #0c91e5;
|
color: #0c91e5;
|
||||||
}
|
}
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
.headerTabs {
|
|
||||||
height: 52px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 10px;
|
|
||||||
|
|
||||||
.headerTabsItem {
|
|
||||||
border: 1px solid #c1c1c1;
|
|
||||||
padding: 0 5px;
|
|
||||||
height: 30px;
|
|
||||||
line-height: 30px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.active {
|
|
||||||
border: 1px solid #E6A23C;
|
|
||||||
color: #fff;
|
|
||||||
background: #E6A23C;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: calc(~'100% - 103px');
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
.tableTitle {
|
.tableTitle {
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
:model="form"
|
:model="form"
|
||||||
:rules="formRules"
|
:rules="formRules"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="100px"
|
||||||
>
|
>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -51,12 +51,12 @@
|
|||||||
v-for="(item, index) in form.fjList"
|
v-for="(item, index) in form.fjList"
|
||||||
:key="index">
|
:key="index">
|
||||||
<span @click="fileLook(item)">{{ item.fileName }}</span>
|
<span @click="fileLook(item)">{{ item.fileName }}</span>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="filesUpload(item)"
|
<!-- @click="filesUpload(item)"-->
|
||||||
icon="el-icon-download"
|
<!-- icon="el-icon-download"-->
|
||||||
style="height: 32px; margin-left: 5px;"
|
<!-- style="height: 32px; margin-left: 5px;"-->
|
||||||
></el-button>
|
<!-- ></el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -64,12 +64,12 @@
|
|||||||
<div v-if="form.modelList.length > 0">
|
<div v-if="form.modelList.length > 0">
|
||||||
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;">
|
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;">
|
||||||
<span @click="fileLook(item)">{{ item.name }}</span>
|
<span @click="fileLook(item)">{{ item.name }}</span>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="filesUpload(item)"
|
<!-- @click="filesUpload(item)"-->
|
||||||
icon="el-icon-download"
|
<!-- icon="el-icon-download"-->
|
||||||
style="height: 32px; margin-left: 5px;"
|
<!-- style="height: 32px; margin-left: 5px;"-->
|
||||||
></el-button>
|
<!-- ></el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -214,7 +214,7 @@
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from "../../components/ProcessFooter";
|
import ProcessFooter from "../../components/ProcessFooter";
|
||||||
import ProcessTitle from "../../components/ProcessTitle";
|
import ProcessTitle from "../../components/ProcessTitle";
|
||||||
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew,getBusStandFileByAttId } from "api/process";
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew } from "api/process";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -284,41 +284,9 @@
|
|||||||
this.$message.warning('文件不存在,下载失败')
|
this.$message.warning('文件不存在,下载失败')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getBusStandFileByAttId(attId) { // 预览
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
getBusStandFileByAttId({
|
|
||||||
attId
|
|
||||||
}).then(res => {
|
|
||||||
if (res.ok) {
|
|
||||||
resolve(res.data)
|
|
||||||
} else {
|
|
||||||
reject()
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
reject(e)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
fileLook(file) { // 预览
|
fileLook(file) { // 预览
|
||||||
const attId = file.attId
|
const attId = file.attId
|
||||||
this.getBusStandFileByAttId(attId)
|
this.$preview(attId)
|
||||||
.then(res => {
|
|
||||||
if(res){
|
|
||||||
const editFileInfo = res
|
|
||||||
if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
|
|
||||||
window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
|
|
||||||
}else if(editFileInfo.fileSuffix === 'pdf' || editFileInfo.fileSuffix === 'PDF'){
|
|
||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}else {
|
|
||||||
const nowTime = new Date().getTime()
|
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
|
||||||
window.open(onlyOfficeUrl+'/onlyOffice?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
|
||||||
}
|
|
||||||
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
this.$message.warning('文件不存在,预览失败')
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
itermsConditionsClose () {
|
itermsConditionsClose () {
|
||||||
this.itermsConditionsFlag = false
|
this.itermsConditionsFlag = false
|
||||||
@@ -500,7 +468,6 @@
|
|||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/phone';
|
@import '~@/assets/styles/phone';
|
||||||
|
|
||||||
.phoneBzdyStep6 {
|
.phoneBzdyStep6 {
|
||||||
/deep/ .el-drawer__container {
|
/deep/ .el-drawer__container {
|
||||||
.prc-content-border {
|
.prc-content-border {
|
||||||
@@ -508,48 +475,19 @@
|
|||||||
padding: 0 20px 0;
|
padding: 0 20px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileClass {
|
.fileClass {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileClass:hover {
|
.fileClass:hover {
|
||||||
color: #0c91e5;
|
color: #0c91e5;
|
||||||
}
|
}
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
.headerTabs {
|
|
||||||
height: 52px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 10px;
|
|
||||||
|
|
||||||
.headerTabsItem {
|
|
||||||
border: 1px solid #c1c1c1;
|
|
||||||
padding: 0 5px;
|
|
||||||
height: 30px;
|
|
||||||
line-height: 30px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.active {
|
|
||||||
border: 1px solid #E6A23C;
|
|
||||||
color: #fff;
|
|
||||||
background: #E6A23C;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: calc(~'100% - 103px');
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
.tableTitle {
|
.tableTitle {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
:model="form"
|
:model="form"
|
||||||
:rules="formRules"
|
:rules="formRules"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="100px"
|
||||||
>
|
>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -51,12 +51,12 @@
|
|||||||
v-for="(item, index) in form.fjList"
|
v-for="(item, index) in form.fjList"
|
||||||
:key="index">
|
:key="index">
|
||||||
<span @click="fileLook(item)">{{ item.fileName }}</span>
|
<span @click="fileLook(item)">{{ item.fileName }}</span>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="filesUpload(item)"
|
<!-- @click="filesUpload(item)"-->
|
||||||
icon="el-icon-download"
|
<!-- icon="el-icon-download"-->
|
||||||
style="height: 32px; margin-left: 5px;"
|
<!-- style="height: 32px; margin-left: 5px;"-->
|
||||||
></el-button>
|
<!-- ></el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -64,12 +64,12 @@
|
|||||||
<div v-if="form.modelList.length > 0">
|
<div v-if="form.modelList.length > 0">
|
||||||
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;">
|
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;">
|
||||||
<span @click="fileLook(item)">{{ item.name }}</span>
|
<span @click="fileLook(item)">{{ item.name }}</span>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="filesUpload(item)"
|
<!-- @click="filesUpload(item)"-->
|
||||||
icon="el-icon-download"
|
<!-- icon="el-icon-download"-->
|
||||||
style="height: 32px; margin-left: 5px;"
|
<!-- style="height: 32px; margin-left: 5px;"-->
|
||||||
></el-button>
|
<!-- ></el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -284,41 +284,9 @@
|
|||||||
this.$message.warning('文件不存在,下载失败')
|
this.$message.warning('文件不存在,下载失败')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getBusStandFileByAttId(attId) { // 预览
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
getBusStandFileByAttId({
|
|
||||||
attId
|
|
||||||
}).then(res => {
|
|
||||||
if (res.ok) {
|
|
||||||
resolve(res.data)
|
|
||||||
} else {
|
|
||||||
reject()
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
reject(e)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
fileLook(file) { // 预览
|
fileLook(file) { // 预览
|
||||||
const attId = file.attId
|
const attId = file.attId
|
||||||
this.getBusStandFileByAttId(attId)
|
this.$preview(attId)
|
||||||
.then(res => {
|
|
||||||
if(res){
|
|
||||||
const editFileInfo = res
|
|
||||||
if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
|
|
||||||
window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
|
|
||||||
}else if(editFileInfo.fileSuffix === 'pdf' || editFileInfo.fileSuffix === 'PDF'){
|
|
||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}else {
|
|
||||||
const nowTime = new Date().getTime()
|
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
|
||||||
window.open(onlyOfficeUrl+'/onlyOffice?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
|
||||||
}
|
|
||||||
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
this.$message.warning('文件不存在,预览失败')
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
itermsConditionsClose () {
|
itermsConditionsClose () {
|
||||||
this.itermsConditionsFlag = false
|
this.itermsConditionsFlag = false
|
||||||
@@ -508,48 +476,19 @@
|
|||||||
padding: 0 20px 0;
|
padding: 0 20px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileClass {
|
.fileClass {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileClass:hover {
|
.fileClass:hover {
|
||||||
color: #0c91e5;
|
color: #0c91e5;
|
||||||
}
|
}
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
.headerTabs {
|
|
||||||
height: 52px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 10px;
|
|
||||||
|
|
||||||
.headerTabsItem {
|
|
||||||
border: 1px solid #c1c1c1;
|
|
||||||
padding: 0 5px;
|
|
||||||
height: 30px;
|
|
||||||
line-height: 30px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.active {
|
|
||||||
border: 1px solid #E6A23C;
|
|
||||||
color: #fff;
|
|
||||||
background: #E6A23C;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: calc(~'100% - 103px');
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
.tableTitle {
|
.tableTitle {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
:model="form"
|
:model="form"
|
||||||
:rules="formRules"
|
:rules="formRules"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="100px"
|
||||||
>
|
>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -51,12 +51,12 @@
|
|||||||
v-for="(item, index) in form.fjList"
|
v-for="(item, index) in form.fjList"
|
||||||
:key="index">
|
:key="index">
|
||||||
<span @click="fileLook(item)">{{ item.fileName }}</span>
|
<span @click="fileLook(item)">{{ item.fileName }}</span>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="filesUpload(item)"
|
<!-- @click="filesUpload(item)"-->
|
||||||
icon="el-icon-download"
|
<!-- icon="el-icon-download"-->
|
||||||
style="height: 32px; margin-left: 5px;"
|
<!-- style="height: 32px; margin-left: 5px;"-->
|
||||||
></el-button>
|
<!-- ></el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -64,12 +64,12 @@
|
|||||||
<div v-if="form.modelList.length > 0">
|
<div v-if="form.modelList.length > 0">
|
||||||
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;">
|
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;">
|
||||||
<span @click="fileLook(item)">{{ item.name }}</span>
|
<span @click="fileLook(item)">{{ item.name }}</span>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="filesUpload(item)"
|
<!-- @click="filesUpload(item)"-->
|
||||||
icon="el-icon-download"
|
<!-- icon="el-icon-download"-->
|
||||||
style="height: 32px; margin-left: 5px;"
|
<!-- style="height: 32px; margin-left: 5px;"-->
|
||||||
></el-button>
|
<!-- ></el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -214,7 +214,7 @@
|
|||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
import ProcessFooter from "../../components/ProcessFooter";
|
import ProcessFooter from "../../components/ProcessFooter";
|
||||||
import ProcessTitle from "../../components/ProcessTitle";
|
import ProcessTitle from "../../components/ProcessTitle";
|
||||||
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew,getBusStandFileByAttId } from "api/process";
|
import { inboundLiaisonDetail, processCreateStand, changeAssigneeNew } from "api/process";
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -284,41 +284,9 @@
|
|||||||
this.$message.warning('文件不存在,下载失败')
|
this.$message.warning('文件不存在,下载失败')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
getBusStandFileByAttId(attId) { // 预览
|
|
||||||
return new Promise((resolve, reject) => {
|
|
||||||
getBusStandFileByAttId({
|
|
||||||
attId
|
|
||||||
}).then(res => {
|
|
||||||
if (res.ok) {
|
|
||||||
resolve(res.data)
|
|
||||||
} else {
|
|
||||||
reject()
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
reject(e)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
},
|
|
||||||
fileLook(file) { // 预览
|
fileLook(file) { // 预览
|
||||||
const attId = file.attId
|
const attId = file.attId
|
||||||
this.getBusStandFileByAttId(attId)
|
this.$preview(attId)
|
||||||
.then(res => {
|
|
||||||
if(res){
|
|
||||||
const editFileInfo = res
|
|
||||||
if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
|
|
||||||
window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
|
|
||||||
}else if(editFileInfo.fileSuffix === 'pdf' || editFileInfo.fileSuffix === 'PDF'){
|
|
||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}else {
|
|
||||||
const nowTime = new Date().getTime()
|
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
|
||||||
window.open(onlyOfficeUrl+'/onlyOffice?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
|
||||||
}
|
|
||||||
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
this.$message.warning('文件不存在,预览失败')
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
itermsConditionsClose () {
|
itermsConditionsClose () {
|
||||||
this.itermsConditionsFlag = false
|
this.itermsConditionsFlag = false
|
||||||
@@ -507,46 +475,18 @@
|
|||||||
padding: 0 20px 0;
|
padding: 0 20px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileClass {
|
.fileClass {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileClass:hover {
|
.fileClass:hover {
|
||||||
color: #0c91e5;
|
color: #0c91e5;
|
||||||
}
|
}
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
.headerTabs {
|
|
||||||
height: 52px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 10px;
|
|
||||||
|
|
||||||
.headerTabsItem {
|
|
||||||
border: 1px solid #c1c1c1;
|
|
||||||
padding: 0 5px;
|
|
||||||
height: 30px;
|
|
||||||
line-height: 30px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.active {
|
|
||||||
border: 1px solid #E6A23C;
|
|
||||||
color: #fff;
|
|
||||||
background: #E6A23C;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: calc(~'100% - 103px');
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
.tableTitle {
|
.tableTitle {
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
:model="form"
|
:model="form"
|
||||||
:rules="formRules"
|
:rules="formRules"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="100px"
|
||||||
>
|
>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -51,12 +51,12 @@
|
|||||||
v-for="(item, index) in form.fjList"
|
v-for="(item, index) in form.fjList"
|
||||||
:key="index">
|
:key="index">
|
||||||
<span @click="fileLook(item)">{{ item.fileName }}</span>
|
<span @click="fileLook(item)">{{ item.fileName }}</span>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="filesUpload(item)"
|
<!-- @click="filesUpload(item)"-->
|
||||||
icon="el-icon-download"
|
<!-- icon="el-icon-download"-->
|
||||||
style="height: 32px; margin-left: 5px;"
|
<!-- style="height: 32px; margin-left: 5px;"-->
|
||||||
></el-button>
|
<!-- ></el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -64,12 +64,12 @@
|
|||||||
<div v-if="form.modelList.length > 0">
|
<div v-if="form.modelList.length > 0">
|
||||||
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;">
|
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;">
|
||||||
<span @click="fileLook(item)">{{ item.name }}</span>
|
<span @click="fileLook(item)">{{ item.name }}</span>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="small"
|
<!-- size="small"-->
|
||||||
@click="filesUpload(item)"
|
<!-- @click="filesUpload(item)"-->
|
||||||
icon="el-icon-download"
|
<!-- icon="el-icon-download"-->
|
||||||
style="height: 32px; margin-left: 5px;"
|
<!-- style="height: 32px; margin-left: 5px;"-->
|
||||||
></el-button>
|
<!-- ></el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
@@ -301,24 +301,7 @@
|
|||||||
},
|
},
|
||||||
fileLook(file) { // 预览
|
fileLook(file) { // 预览
|
||||||
const attId = file.attId
|
const attId = file.attId
|
||||||
this.getBusStandFileByAttId(attId)
|
this.$preview(attId)
|
||||||
.then(res => {
|
|
||||||
if(res){
|
|
||||||
const editFileInfo = res
|
|
||||||
if(editFileInfo.fileSuffix === 'pdg' || editFileInfo.fileSuffix === 'PDG'){
|
|
||||||
window.open('book://ssreader/e0?url='+editFileInfo.downLoadUrl)
|
|
||||||
}else if(editFileInfo.fileSuffix === 'pdf' || editFileInfo.fileSuffix === 'PDF'){
|
|
||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}else {
|
|
||||||
const nowTime = new Date().getTime()
|
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
|
||||||
window.open(onlyOfficeUrl+'/onlyOffice?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
|
||||||
}
|
|
||||||
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
|
||||||
}
|
|
||||||
}).catch(e => {
|
|
||||||
this.$message.warning('文件不存在,预览失败')
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
itermsConditionsClose () {
|
itermsConditionsClose () {
|
||||||
this.itermsConditionsFlag = false
|
this.itermsConditionsFlag = false
|
||||||
@@ -507,48 +490,19 @@
|
|||||||
padding: 0 20px 0;
|
padding: 0 20px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileClass {
|
.fileClass {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.fileClass:hover {
|
.fileClass:hover {
|
||||||
color: #0c91e5;
|
color: #0c91e5;
|
||||||
}
|
}
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
||||||
.headerTabs {
|
|
||||||
height: 52px;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 10px;
|
|
||||||
|
|
||||||
.headerTabsItem {
|
|
||||||
border: 1px solid #c1c1c1;
|
|
||||||
padding: 0 5px;
|
|
||||||
height: 30px;
|
|
||||||
line-height: 30px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.active {
|
|
||||||
border: 1px solid #E6A23C;
|
|
||||||
color: #fff;
|
|
||||||
background: #E6A23C;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: calc(~'100% - 103px');
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
.tableTitle {
|
.tableTitle {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
|
|||||||
@@ -492,7 +492,7 @@ export default {
|
|||||||
case '2':
|
case '2':
|
||||||
if (row.taskInfo === '责任对接人选择责任人') {
|
if (row.taskInfo === '责任对接人选择责任人') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'bzdyStep2',
|
name: 'phoneBzdyStep2',
|
||||||
query: {
|
query: {
|
||||||
taskIds: row.taskIds,
|
taskIds: row.taskIds,
|
||||||
prcId: row.prcId,
|
prcId: row.prcId,
|
||||||
|
|||||||
Reference in New Issue
Block a user