Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
import axios from '@/common/axiosV2'
|
||||||
|
|
||||||
|
export function getFileAttId (data) {
|
||||||
|
this.getBusStandFileByAttId(data)
|
||||||
|
.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(onlyOfficeUrl+'/onlyOffice?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}).catch(e => {
|
||||||
|
this.$message.warning('文件不存在,预览失败')
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function getBusStandFileByAttId(data) {
|
||||||
|
return axios({
|
||||||
|
url: 'api/att/attFile/getBusStandFileByAttId',
|
||||||
|
method: 'get',
|
||||||
|
params: data
|
||||||
|
})
|
||||||
|
}
|
||||||
+2
-9
@@ -106,17 +106,10 @@ router.beforeEach(function (to, from, next) {
|
|||||||
}
|
}
|
||||||
// 返回值为登录状态
|
// 返回值为登录状态
|
||||||
/** 判断是不是在手机端操作 */
|
/** 判断是不是在手机端操作 */
|
||||||
debugger
|
|
||||||
if (isMobile()) {
|
if (isMobile()) {
|
||||||
if(toName === 'processCenter'){
|
if(toName === 'processCenter'){
|
||||||
const userAgent = navigator.userAgent;
|
window.location.href="about:blank";
|
||||||
if (userAgent.indexOf("Firefox") != -1 || userAgent.indexOf("Chrome") !=-1) {
|
window.close();
|
||||||
window.location.href = "about:blank"
|
|
||||||
}else {
|
|
||||||
window.opener = null;
|
|
||||||
window.open("about:blank", "_self");
|
|
||||||
window.close();
|
|
||||||
}
|
|
||||||
}else {
|
}else {
|
||||||
if ((token === null || token === '' ) && toName !== 'Login') {
|
if ((token === null || token === '' ) && toName !== 'Login') {
|
||||||
if(toName !== 'phoneIndex'){
|
if(toName !== 'phoneIndex'){
|
||||||
|
|||||||
@@ -18,14 +18,8 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
closeWindow(){
|
closeWindow(){
|
||||||
const userAgent = navigator.userAgent;
|
window.location.href="about:blank";
|
||||||
if (userAgent.indexOf("Firefox") != -1 || userAgent.indexOf("Chrome") !=-1) {
|
window.close();
|
||||||
window.location.href = "about:blank"
|
|
||||||
}else {
|
|
||||||
window.opener = null;
|
|
||||||
window.open("about:blank", "_self");
|
|
||||||
window.close();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2276,7 +2276,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
// window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
// 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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1516,7 +1516,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
// window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
// 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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2711,7 +2711,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
// window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
// 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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -368,10 +368,8 @@
|
|||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
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/onlyOffice/onlinePreview.html?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 => {
|
}).catch(e => {
|
||||||
this.$message.warning('文件不存在,预览失败')
|
this.$message.warning('文件不存在,预览失败')
|
||||||
|
|||||||
@@ -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 { getBusStandFileByAttId,taskDel } from 'api/process'
|
import { getBusStandFileByAttId,taskDel } from 'api/process'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "bzdyStep1",
|
name: "bzdyStep1",
|
||||||
data() {
|
data() {
|
||||||
@@ -372,10 +371,8 @@ export default {
|
|||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
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/onlyOffice/onlinePreview.html?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 => {
|
}).catch(e => {
|
||||||
this.$message.warning('文件不存在,预览失败')
|
this.$message.warning('文件不存在,预览失败')
|
||||||
|
|||||||
@@ -263,10 +263,8 @@
|
|||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
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/onlyOffice/onlinePreview.html?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 => {
|
}).catch(e => {
|
||||||
this.$message.warning('文件不存在,预览失败')
|
this.$message.warning('文件不存在,预览失败')
|
||||||
|
|||||||
@@ -322,10 +322,8 @@
|
|||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
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/onlyOffice/onlinePreview.html?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 => {
|
}).catch(e => {
|
||||||
this.$message.warning('文件不存在,预览失败')
|
this.$message.warning('文件不存在,预览失败')
|
||||||
@@ -343,10 +341,8 @@
|
|||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
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/onlyOffice/onlinePreview.html?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 => {
|
}).catch(e => {
|
||||||
this.$message.warning('文件不存在,预览失败')
|
this.$message.warning('文件不存在,预览失败')
|
||||||
|
|||||||
@@ -298,10 +298,8 @@
|
|||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
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/onlyOffice/onlinePreview.html?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 => {
|
}).catch(e => {
|
||||||
this.$message.warning('文件不存在,预览失败')
|
this.$message.warning('文件不存在,预览失败')
|
||||||
@@ -319,10 +317,8 @@
|
|||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
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/onlyOffice/onlinePreview.html?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 => {
|
}).catch(e => {
|
||||||
this.$message.warning('文件不存在,预览失败')
|
this.$message.warning('文件不存在,预览失败')
|
||||||
|
|||||||
@@ -299,10 +299,8 @@
|
|||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
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/onlyOffice/onlinePreview.html?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 => {
|
}).catch(e => {
|
||||||
this.$message.warning('文件不存在,预览失败')
|
this.$message.warning('文件不存在,预览失败')
|
||||||
|
|||||||
@@ -296,10 +296,8 @@
|
|||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
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/onlyOffice/onlinePreview.html?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 => {
|
}).catch(e => {
|
||||||
this.$message.warning('文件不存在,预览失败')
|
this.$message.warning('文件不存在,预览失败')
|
||||||
|
|||||||
@@ -296,10 +296,7 @@
|
|||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
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/onlyOffice/onlinePreview.html?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 => {
|
}).catch(e => {
|
||||||
this.$message.warning('文件不存在,预览失败')
|
this.$message.warning('文件不存在,预览失败')
|
||||||
|
|||||||
@@ -296,10 +296,7 @@
|
|||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
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/onlyOffice/onlinePreview.html?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 => {
|
}).catch(e => {
|
||||||
this.$message.warning('文件不存在,预览失败')
|
this.$message.warning('文件不存在,预览失败')
|
||||||
|
|||||||
@@ -296,10 +296,7 @@
|
|||||||
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
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/onlyOffice/onlinePreview.html?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 => {
|
}).catch(e => {
|
||||||
this.$message.warning('文件不存在,预览失败')
|
this.$message.warning('文件不存在,预览失败')
|
||||||
|
|||||||
@@ -674,7 +674,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -364,7 +364,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -595,7 +595,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -447,7 +447,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -394,7 +394,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -599,7 +599,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -412,7 +412,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -469,7 +469,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -398,7 +398,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -556,7 +556,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -465,7 +465,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1806,7 +1806,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1677,7 +1677,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -518,7 +518,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -526,7 +526,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -274,7 +274,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -436,7 +436,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
@@ -529,7 +529,6 @@
|
|||||||
prcNum: this.$route.query.prcNum,
|
prcNum: this.$route.query.prcNum,
|
||||||
}, {}, res => {
|
}, {}, res => {
|
||||||
this.histortData = res
|
this.histortData = res
|
||||||
console.log(res);
|
|
||||||
}, e => {
|
}, e => {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -706,7 +705,7 @@
|
|||||||
}
|
}
|
||||||
this.form.textType = data.textType || data.form.textType
|
this.form.textType = data.textType || data.form.textType
|
||||||
this.form.modelList = data.modelList || data.form.modelList
|
this.form.modelList = data.modelList || data.form.modelList
|
||||||
this.form.modelNameList = data.modelNameList || data.form.modelNameList
|
// this.form.modelNameList = data.modelNameList || data.form.modelNameList
|
||||||
this.form.cid = data.cid || data.form.cid
|
this.form.cid = data.cid || data.form.cid
|
||||||
this.form.endTime = data.endTime || data.form.endTime
|
this.form.endTime = data.endTime || data.form.endTime
|
||||||
this.todoId = res.id
|
this.todoId = res.id
|
||||||
|
|||||||
@@ -362,7 +362,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -354,7 +354,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -446,7 +446,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -432,7 +432,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -370,7 +370,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -367,7 +367,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -367,7 +367,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -367,7 +367,7 @@ export default {
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2102,7 +2102,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
|
|||||||
@@ -2101,7 +2101,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
|
|||||||
@@ -2078,7 +2078,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
|
|||||||
@@ -2080,7 +2080,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
|
|||||||
@@ -2079,7 +2079,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
|
|||||||
@@ -2117,7 +2117,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
|
|||||||
@@ -2284,7 +2284,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
|
|||||||
@@ -2185,7 +2185,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
|
|||||||
@@ -2344,7 +2344,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
|
|||||||
@@ -2314,7 +2314,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
|
|||||||
@@ -2314,7 +2314,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
|
|||||||
@@ -2069,7 +2069,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
|
|||||||
@@ -2073,7 +2073,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
|
|||||||
@@ -2069,7 +2069,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
|
|||||||
@@ -263,7 +263,12 @@ export default {
|
|||||||
if (item.passInfo !== 0) {
|
if (item.passInfo !== 0) {
|
||||||
this.passInfo = JSON.parse(JSON.stringify(item)).passInfo
|
this.passInfo = JSON.parse(JSON.stringify(item)).passInfo
|
||||||
let fileData = JSON.parse(JSON.stringify(item)).dockUserList
|
let fileData = JSON.parse(JSON.stringify(item)).dockUserList
|
||||||
this.dataList = fileData[0].standardInfoList
|
for (let i = 0; i<fileData.length; i++) {
|
||||||
|
if (fileData[i].name.slice(0,fileData[i].name.indexOf('(')) === this.$store.getters.userInfo.userName) {
|
||||||
|
this.dataList = fileData[0].standardInfoList
|
||||||
|
this.standardInfoList = this.dataList
|
||||||
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
let fileData = JSON.parse(JSON.stringify(item)).dockUserList
|
let fileData = JSON.parse(JSON.stringify(item)).dockUserList
|
||||||
for (let i = 0; i<fileData.length; i++) {
|
for (let i = 0; i<fileData.length; i++) {
|
||||||
|
|||||||
@@ -273,7 +273,7 @@ export default {
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
if (item.responUserList !== undefined) {
|
if (item.responUserList !== undefined) {
|
||||||
let listJSON = JSON.parse(JSON.stringify(item.responUserList))
|
let listJSON = JSON.parse(JSON.stringify(item.responUserList))
|
||||||
this.dataList = [listJSON][0].standardInfoList
|
this.dataList = [listJSON][0]
|
||||||
} else {
|
} else {
|
||||||
if (item.dockUserList !== undefined) {
|
if (item.dockUserList !== undefined) {
|
||||||
let listJSON = JSON.parse(JSON.stringify(item.dockUserList))
|
let listJSON = JSON.parse(JSON.stringify(item.dockUserList))
|
||||||
|
|||||||
@@ -339,9 +339,7 @@ export default {
|
|||||||
this.backLoading = true
|
this.backLoading = true
|
||||||
if (this.commentText) {
|
if (this.commentText) {
|
||||||
var json = {
|
var json = {
|
||||||
responUserList: {
|
responUserList: this.dataList,
|
||||||
standardInfoList: this.dataList
|
|
||||||
},
|
|
||||||
actionFlag: 1,
|
actionFlag: 1,
|
||||||
commentText: this.commentText
|
commentText: this.commentText
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -208,7 +208,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -248,7 +248,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
@@ -269,7 +269,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -246,7 +246,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -92,10 +92,11 @@
|
|||||||
<template slot="title">选择人员</template>
|
<template slot="title">选择人员</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<el-form-item class="add-form-item" label="入会人员:">
|
<el-form-item class="add-form-item" label="入会人员:">
|
||||||
|
<el-input v-model="ch_pageData.meetingInRoleId" style="display: none;"></el-input>
|
||||||
<el-input
|
<el-input
|
||||||
:disabled="true"
|
placeholder="请选择参会人员"
|
||||||
style="width: 30%"
|
style="width: 50%"
|
||||||
placeholder="请选择入会人员"
|
@click.native="choiceRole"
|
||||||
v-model="ch_pageData.meetingInRole"
|
v-model="ch_pageData.meetingInRole"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -131,6 +132,13 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
|
<phone-role
|
||||||
|
check-more
|
||||||
|
role-title="请选择入会成员"
|
||||||
|
:result-list="nodeList"
|
||||||
|
:is-show-phone.sync="modalshowflag"
|
||||||
|
@checkedRole="checkedRole"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -164,6 +172,7 @@ export default {
|
|||||||
},
|
},
|
||||||
ch_rules: {},
|
ch_rules: {},
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
|
modalshowflag: false,
|
||||||
commentText: '',
|
commentText: '',
|
||||||
|
|
||||||
isBack: false,
|
isBack: false,
|
||||||
@@ -201,7 +210,6 @@ export default {
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.ch_pageData = JSON.parse(JSON.stringify(item)).ch_pageData
|
this.ch_pageData = JSON.parse(JSON.stringify(item)).ch_pageData
|
||||||
this.uploadFileLength = this.ch_pageData.fileTextList.length
|
this.uploadFileLength = this.ch_pageData.fileTextList.length
|
||||||
this.ch_pageData.meetingInRole = this.$store.getters.userInfo.userName
|
|
||||||
this.roleForm = JSON.parse(JSON.stringify(item)).roleList
|
this.roleForm = JSON.parse(JSON.stringify(item)).roleList
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -270,6 +278,28 @@ export default {
|
|||||||
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId;
|
window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
choiceRole () {
|
||||||
|
this.nodeList = []
|
||||||
|
if ( this.ch_pageData.meetingInRoleId.length > 0) {
|
||||||
|
this.nodeList = this.ch_pageData.meetingInRoleId.split(',')
|
||||||
|
}
|
||||||
|
this.modalshowflag = true
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
var idList = ''
|
||||||
|
var nameList = ''
|
||||||
|
data.forEach( item => {
|
||||||
|
if (nameList.length > 0) {
|
||||||
|
nameList += ','
|
||||||
|
idList += ','
|
||||||
|
}
|
||||||
|
idList += item.id
|
||||||
|
nameList += item.name
|
||||||
|
})
|
||||||
|
this.ch_pageData.meetingInRoleId = idList
|
||||||
|
this.ch_pageData.meetingInRole = nameList
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -96,9 +96,11 @@
|
|||||||
<template slot="title">选择人员</template>
|
<template slot="title">选择人员</template>
|
||||||
</ProcessTitle>
|
</ProcessTitle>
|
||||||
<el-form-item class="add-form-item" label="入会人员:">
|
<el-form-item class="add-form-item" label="入会人员:">
|
||||||
|
<el-input v-model="rh_pageData.comityOpRoleId" style="display: none;"></el-input>
|
||||||
<el-input
|
<el-input
|
||||||
:disabled="true"
|
placeholder="请选择入会成员"
|
||||||
style="width: 30%"
|
style="width: 50%"
|
||||||
|
@click.native="choiceRole"
|
||||||
v-model="rh_pageData.comityOpRole"
|
v-model="rh_pageData.comityOpRole"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -134,6 +136,13 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
|
<phone-role
|
||||||
|
check-more
|
||||||
|
role-title="请选择入会成员"
|
||||||
|
:result-list="nodeList"
|
||||||
|
:is-show-phone.sync="modalshowflag"
|
||||||
|
@checkedRole="checkedRole"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -177,6 +186,7 @@ export default {
|
|||||||
commentText: '',
|
commentText: '',
|
||||||
roleShowflag: false,
|
roleShowflag: false,
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
|
modalshowflag: false,
|
||||||
detailData: [],
|
detailData: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
|
|
||||||
@@ -210,7 +220,6 @@ export default {
|
|||||||
getFormFieldList(item) {
|
getFormFieldList(item) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.rh_pageData = JSON.parse(JSON.stringify(item)).rh_pageData
|
this.rh_pageData = JSON.parse(JSON.stringify(item)).rh_pageData
|
||||||
this.rh_pageData.comityOpRole = this.$store.getters.userInfo.userName
|
|
||||||
this.roleForm = JSON.parse(JSON.stringify(item)).roleList
|
this.roleForm = JSON.parse(JSON.stringify(item)).roleList
|
||||||
this.infoSourcesLength = this.rh_pageData.infoSources.length
|
this.infoSourcesLength = this.rh_pageData.infoSources.length
|
||||||
// this.rh_pageData.comityFileNum = this.fileTextList
|
// this.rh_pageData.comityFileNum = this.fileTextList
|
||||||
@@ -283,7 +292,28 @@ export default {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
},
|
||||||
|
choiceRole () {
|
||||||
|
this.nodeList = []
|
||||||
|
if ( this.rh_pageData.comityOpRoleId.length > 0) {
|
||||||
|
this.nodeList = this.rh_pageData.comityOpRoleId.split(',')
|
||||||
|
}
|
||||||
|
this.modalshowflag = true
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
var idList = ''
|
||||||
|
var nameList = ''
|
||||||
|
data.forEach( item => {
|
||||||
|
if (nameList.length > 0) {
|
||||||
|
nameList += ','
|
||||||
|
idList += ','
|
||||||
|
}
|
||||||
|
idList += item.id
|
||||||
|
nameList += item.name
|
||||||
|
})
|
||||||
|
this.rh_pageData.comityOpRoleId = idList
|
||||||
|
this.rh_pageData.comityOpRole = nameList
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -0,0 +1,498 @@
|
|||||||
|
<template>
|
||||||
|
<div class="phoneBzdyStep2 phoneBox">
|
||||||
|
<!-- 标准调研流程-->
|
||||||
|
<ProcessHeaderPhone toggle>
|
||||||
|
<template slot="proName">标准征求意见流程</template>
|
||||||
|
<template slot="proNode">对接人选择责任人</template>
|
||||||
|
</ProcessHeaderPhone>
|
||||||
|
<div class="headerTabs">
|
||||||
|
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||||
|
<div class="headerTabsItem" :class="active === '2' ? 'active' : ''" @click="handleTabs('2')">审批历史</div>
|
||||||
|
</div>
|
||||||
|
<div class="content" v-show="active === '1'">
|
||||||
|
<div style="flex: auto; overflow: auto;">
|
||||||
|
<el-form
|
||||||
|
ref="bzzqyjForm"
|
||||||
|
:model="form"
|
||||||
|
:rules="formRules"
|
||||||
|
class="label-input-form"
|
||||||
|
label-width="210px"
|
||||||
|
>
|
||||||
|
<ProcessTitle>
|
||||||
|
<template slot="title">基础信息</template>
|
||||||
|
</ProcessTitle>
|
||||||
|
<div class="prc-content-border">
|
||||||
|
<el-row :gutter="24">
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item label="标准编号/名称" prop="cid" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
disabled
|
||||||
|
v-model="form.cid"
|
||||||
|
placeholder="请输入标准编号"
|
||||||
|
clearable
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled">
|
||||||
|
<el-date-picker
|
||||||
|
disabled
|
||||||
|
v-model="form.endTime"
|
||||||
|
type="date"
|
||||||
|
placeholder="请选择结束日期">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="标准附件" prop="fjListId" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
v-model="form.fjListId"
|
||||||
|
style="display: none;"
|
||||||
|
></el-input>
|
||||||
|
<div style="display: flex;">
|
||||||
|
<div class="fileClass"
|
||||||
|
style="margin-right: 15px;padding-left: 10px"
|
||||||
|
v-for="(item, index) in form.fjList"
|
||||||
|
:key="index">
|
||||||
|
<span @click="fileLook(item)">{{ item.fileName }}</span>
|
||||||
|
<el-button
|
||||||
|
size="small"
|
||||||
|
@click="filesUpload(item)"
|
||||||
|
icon="el-icon-download"
|
||||||
|
style="height: 32px; margin-left: 5px;"
|
||||||
|
></el-button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="其他附件" prop="model" class="add-form-item form-item-disabled">
|
||||||
|
<div v-if="form.modelList.length > 0">
|
||||||
|
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;">
|
||||||
|
<span @click="fileLook(item)">{{ item.name }}</span>
|
||||||
|
<el-button
|
||||||
|
size="small"
|
||||||
|
@click="filesUpload(item)"
|
||||||
|
icon="el-icon-download"
|
||||||
|
style="height: 32px; margin-left: 5px;"
|
||||||
|
></el-button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div v-else>
|
||||||
|
- -
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="责任人" prop="responUserList" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
v-model="form.responUserList"
|
||||||
|
style="display: none;"
|
||||||
|
clearable
|
||||||
|
></el-input>
|
||||||
|
<el-input v-model="form.responUserListName" placeholder="请选择责任人" @click.native="choiceZRR"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</div>
|
||||||
|
</el-form>
|
||||||
|
</div>
|
||||||
|
<el-collapse accordion>
|
||||||
|
<el-collapse-item title="回执说明">
|
||||||
|
<div style="margin: 10px 0;">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
resize="none"
|
||||||
|
placeholder="请输入意见"
|
||||||
|
v-model="commentText">
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-collapse-item>
|
||||||
|
</el-collapse>
|
||||||
|
</div>
|
||||||
|
<div class="content" v-show="active === '2'">
|
||||||
|
<el-table
|
||||||
|
height="100%"
|
||||||
|
ref="selection"
|
||||||
|
:data="histortData"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
style="width: 100%"
|
||||||
|
border
|
||||||
|
row-key="id"
|
||||||
|
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}">
|
||||||
|
<el-table-column
|
||||||
|
prop="name"
|
||||||
|
label="任务步骤"
|
||||||
|
align="center"
|
||||||
|
sortable="custom"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="assignee"
|
||||||
|
label="任务受理人"
|
||||||
|
align="center"
|
||||||
|
sortable="custom"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="createTime"
|
||||||
|
label="创建时间"
|
||||||
|
sortable="custom"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="endTime"
|
||||||
|
label="完成时间"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="comment"
|
||||||
|
label="流程信息"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.commentText }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="completeFlag"
|
||||||
|
label="状态"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? "已完成" : "未完成" }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
</div>
|
||||||
|
<ProcessFooter
|
||||||
|
show-submit
|
||||||
|
:submitLoading="isSubmit"
|
||||||
|
:saveLoading="saveLoading"
|
||||||
|
@save="handleSave"
|
||||||
|
@submit="handleSubmit"
|
||||||
|
show-transfer
|
||||||
|
@transfer="handleTransfer"
|
||||||
|
>
|
||||||
|
</ProcessFooter>
|
||||||
|
<phone-role
|
||||||
|
role-title="转办处理人"
|
||||||
|
:is-show-phone.sync="drawerModal"
|
||||||
|
@checkedRole="checkedRole"
|
||||||
|
/>
|
||||||
|
<phone-role
|
||||||
|
check-more
|
||||||
|
role-title="选择责任部门对接人"
|
||||||
|
:is-show-phone.sync="modalshowflag"
|
||||||
|
@checkedRole="checkedRole2"
|
||||||
|
:result-list="nodeList"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import ProcessHeaderPhone from "../../components/ProcessHeaderPhone";
|
||||||
|
import ProcessFooter from "../../components/ProcessFooter";
|
||||||
|
import ProcessTitle from "../../components/ProcessTitle";
|
||||||
|
import { inboundLiaisonDetail, processCreateStand, saveTaskForPub, changeAssigneeNew,getBusStandFileByAttId} from "api/process";
|
||||||
|
import axios from "axios";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "bzzqyjStep2",
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
drawerModal: false,
|
||||||
|
histortData: [],
|
||||||
|
commentText: "",
|
||||||
|
taskIds: this.$route.query.taskIds,
|
||||||
|
pId: this.$route.query.prcId,
|
||||||
|
nodeList: [],
|
||||||
|
type: "",
|
||||||
|
modalshowflag: false, // drawer开关
|
||||||
|
drawerTitle: "", //drawer标题
|
||||||
|
textarea: "", // 意见
|
||||||
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
|
active: "1", // 默认显示
|
||||||
|
isSubmit: false,
|
||||||
|
saveLoading: false,
|
||||||
|
form: {
|
||||||
|
cid: "", // 编号
|
||||||
|
endTime: "", // 结束日期
|
||||||
|
cname: "", // 名称
|
||||||
|
fjList: [],
|
||||||
|
fjListId: '',
|
||||||
|
responUserList: "",
|
||||||
|
responUserListName: "",
|
||||||
|
textType: '',
|
||||||
|
modelList: [],
|
||||||
|
modelNameList: '',
|
||||||
|
},
|
||||||
|
formRules: {
|
||||||
|
responUserList: [
|
||||||
|
{ required: true, message: "请选择责任人", trigger: "change" }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
json: {}
|
||||||
|
};
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
ProcessHeaderPhone,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
filesUpload (file) { // 下载
|
||||||
|
const attId = file.attId
|
||||||
|
if (attId) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
|
||||||
|
} else {
|
||||||
|
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) { // 预览
|
||||||
|
const attId = file.attId
|
||||||
|
this.getBusStandFileByAttId(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() {
|
||||||
|
this.drawerModal = true
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
userId:this.$store.getters.userInfo.userId, // 委托人
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
pId: this.$route.query.prcId, // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.drawerModal = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.processNum()
|
||||||
|
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 请求转换流程图
|
||||||
|
processNum (row) {
|
||||||
|
axios.request({
|
||||||
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
|
responseType: 'blob',
|
||||||
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
updataFj (item) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
||||||
|
},
|
||||||
|
getHistoryData() {
|
||||||
|
this.$http.get("lawss/activiti/get_list_by_instance", {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}, {}, res => {
|
||||||
|
this.histortData = res;
|
||||||
|
}, e => {
|
||||||
|
});
|
||||||
|
},
|
||||||
|
checkedRole2(data) {
|
||||||
|
var idList = "";
|
||||||
|
var nameList = "";
|
||||||
|
data.forEach(item => {
|
||||||
|
if (nameList.length > 0) {
|
||||||
|
nameList += ",";
|
||||||
|
idList += ",";
|
||||||
|
}
|
||||||
|
idList += item.id;
|
||||||
|
nameList += item.name;
|
||||||
|
});
|
||||||
|
this.form.responUserList = idList;
|
||||||
|
this.form.responUserListName = nameList;
|
||||||
|
|
||||||
|
},
|
||||||
|
choiceZRR() {
|
||||||
|
this.nodeList = [];
|
||||||
|
if (this.form.responUserList.length > 0) {
|
||||||
|
this.nodeList = this.form.responUserList.split(",");
|
||||||
|
}
|
||||||
|
this.modalshowflag = true;
|
||||||
|
},
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name;
|
||||||
|
},
|
||||||
|
//保存事件
|
||||||
|
handleSave() {
|
||||||
|
this.saveLoading = true;
|
||||||
|
let _formData = new FormData();
|
||||||
|
_formData.append("id", this.bpnId || "");
|
||||||
|
_formData.append("prcType", "3");
|
||||||
|
_formData.append("taskIds", this.taskIds);
|
||||||
|
_formData.append("json", JSON.stringify({
|
||||||
|
form: this.form,
|
||||||
|
commentText: this.commentText
|
||||||
|
}));
|
||||||
|
saveTaskForPub(_formData).then(res => {
|
||||||
|
this.saveLoading = false;
|
||||||
|
this.$message.success("保存成功");
|
||||||
|
this.bpnId = res.result;
|
||||||
|
}).catch(e => {
|
||||||
|
this.saveLoading = false;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
handleSubmit() {
|
||||||
|
this.$refs["bzzqyjForm"].validate((valid) => {
|
||||||
|
if (valid) {
|
||||||
|
this.isSubmit = true;
|
||||||
|
var json = this.json;
|
||||||
|
json.commentText = this.commentText;
|
||||||
|
json.responUserList = this.form.responUserList;
|
||||||
|
json.responUserListName = this.form.responUserListName;
|
||||||
|
json.introduce = false;
|
||||||
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.userId
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success("提交成功");
|
||||||
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
this.isSubmit = false;
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
return this.$message.warning("请完善基础信息");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
let data = JSON.parse(res.mesg)
|
||||||
|
this.form.cid = data.cid
|
||||||
|
this.form.endTime = data.endTime
|
||||||
|
this.form.cname = data.cname
|
||||||
|
this.form.fjList = data.fjList
|
||||||
|
// this.form.fjListId = data.fjListId
|
||||||
|
this.form.textType = data.textType
|
||||||
|
this.form.modelList = data.modelList
|
||||||
|
this.form.modelNameList = data.modelNameList
|
||||||
|
if (data.fjListId === '') {
|
||||||
|
this.form.fjListId = ''
|
||||||
|
} else {
|
||||||
|
this.form.fjListId = data.fjListId || data.form.fjListId
|
||||||
|
}
|
||||||
|
this.json = data
|
||||||
|
}).catch(e => {
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.getHistoryData();
|
||||||
|
this.getData();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
@import '~@/assets/styles/phone';
|
||||||
|
.phoneBzdyStep2 {
|
||||||
|
/deep/ .el-drawer__container {
|
||||||
|
.prc-content-border {
|
||||||
|
border: none;
|
||||||
|
padding: 0 20px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.fileClass {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fileClass:hover {
|
||||||
|
color: #0c91e5;
|
||||||
|
}
|
||||||
|
|
||||||
|
position: relative;
|
||||||
|
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 {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
height: calc(~'100% - 103px');
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
|
.tableTitle {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
height: 30px;
|
||||||
|
line-height: 30px;
|
||||||
|
position: relative;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
|
.tableButton {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -0,0 +1,583 @@
|
|||||||
|
<template>
|
||||||
|
<div class="phoneBzzqyjStep4-1 phoneBox">
|
||||||
|
<!-- 标准调研流程-->
|
||||||
|
<ProcessHeaderPhone toggle>
|
||||||
|
<template slot="proName">标准征求意见流程</template>
|
||||||
|
<template slot="proNode">审批人审批</template>
|
||||||
|
</ProcessHeaderPhone>
|
||||||
|
<div class="headerTabs">
|
||||||
|
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||||
|
<div class="headerTabsItem" :class="active === '2' ? 'active' : ''" @click="handleTabs('2')">审批历史</div>
|
||||||
|
</div>
|
||||||
|
<div class="content" v-show="active === '1'">
|
||||||
|
<div style="flex: auto; overflow: auto;">
|
||||||
|
<el-form
|
||||||
|
ref="bzzqyjForm"
|
||||||
|
:model="form"
|
||||||
|
:rules="formRules"
|
||||||
|
class="label-input-form"
|
||||||
|
label-width="210px"
|
||||||
|
>
|
||||||
|
<ProcessTitle>
|
||||||
|
<template slot="title">基础信息</template>
|
||||||
|
</ProcessTitle>
|
||||||
|
<div class="prc-content-border">
|
||||||
|
<el-row :gutter="24">
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item label="标准编号/名称" prop="cid" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
disabled
|
||||||
|
v-model="form.cid"
|
||||||
|
placeholder="请输入标准编号"
|
||||||
|
clearable
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled">
|
||||||
|
<el-date-picker
|
||||||
|
disabled
|
||||||
|
v-model="form.endTime"
|
||||||
|
type="date"
|
||||||
|
placeholder="请选择结束日期">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="标准附件" prop="fjListId" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
v-model="form.fjListId"
|
||||||
|
style="display: none;"
|
||||||
|
></el-input>
|
||||||
|
<div style="display: flex;">
|
||||||
|
<div class="fileClass"
|
||||||
|
style="margin-right: 15px;padding-left: 10px"
|
||||||
|
v-for="(item, index) in form.fjList"
|
||||||
|
:key="index">
|
||||||
|
<span @click="fileLook(item)">{{ item.fileName }}</span>
|
||||||
|
<el-button
|
||||||
|
size="small"
|
||||||
|
@click="filesUpload(item)"
|
||||||
|
icon="el-icon-download"
|
||||||
|
style="height: 32px; margin-left: 5px;"
|
||||||
|
></el-button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="其他附件" prop="model" class="add-form-item form-item-disabled">
|
||||||
|
<div v-if="form.modelList.length > 0">
|
||||||
|
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;">
|
||||||
|
<span @click="fileLook(item)">{{ item.name }}</span>
|
||||||
|
<el-button
|
||||||
|
size="small"
|
||||||
|
@click="filesUpload(item)"
|
||||||
|
icon="el-icon-download"
|
||||||
|
style="height: 32px; margin-left: 5px;"
|
||||||
|
></el-button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div v-else>
|
||||||
|
- -
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="标准法规工程师分线管理员" prop="bzfgId" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
v-model="form.bzfgId"
|
||||||
|
style="display: none;"
|
||||||
|
clearable
|
||||||
|
></el-input>
|
||||||
|
<el-input v-model="form.bzfgName" placeholder="请选择标准法规工程师分线管理员" @click.native="choiceZRR(form.bzfgId)"></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</div>
|
||||||
|
</el-form>
|
||||||
|
<ProcessTitle>
|
||||||
|
<template slot="title">征求意见列表</template>
|
||||||
|
</ProcessTitle>
|
||||||
|
<el-table
|
||||||
|
ref="multipleTable"
|
||||||
|
:data="data"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
border
|
||||||
|
style="width: 100%; flex: auto;"
|
||||||
|
class="drag-table"
|
||||||
|
:default-sort = "{prop: 'chapterNumber', order: 'ascending'}"
|
||||||
|
:header-cell-style="{background: '#E8E8E8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '48px'}">
|
||||||
|
<el-table-column
|
||||||
|
type="index"
|
||||||
|
label="序号"
|
||||||
|
width="55"
|
||||||
|
align="center">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="chapterNumber"
|
||||||
|
align="center"
|
||||||
|
sortable
|
||||||
|
label="章条编号"
|
||||||
|
width="101px">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="chapterName"
|
||||||
|
align="center"
|
||||||
|
label="章节名称"
|
||||||
|
width="200px">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
align="center"
|
||||||
|
prop="commentText"
|
||||||
|
label="修改意见内容(包括理由或依据)">
|
||||||
|
<el-table-column
|
||||||
|
prop="oldText"
|
||||||
|
align="center"
|
||||||
|
label="修改前">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-button size="mini" type="primary" :disabled="scope.row.chapterNumber.length === 0" @click="itermsConditionsOpen(scope.row.oldText)" class="common-button-primary">查看修改前内容</el-button>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="newText"
|
||||||
|
align="center"
|
||||||
|
label="修改后">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="reason"
|
||||||
|
align="center"
|
||||||
|
label="修改理由">
|
||||||
|
</el-table-column>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="department"
|
||||||
|
align="center"
|
||||||
|
label="提出部门">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="responUserName"
|
||||||
|
align="center"
|
||||||
|
label="提出人">
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
</div>
|
||||||
|
<el-collapse accordion>
|
||||||
|
<el-collapse-item title="审批意见">
|
||||||
|
<div style="margin: 10px 0;">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
resize="none"
|
||||||
|
placeholder="请输入意见"
|
||||||
|
v-model="commentText">
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-collapse-item>
|
||||||
|
</el-collapse>
|
||||||
|
</div>
|
||||||
|
<div class="content" v-show="active === '2'">
|
||||||
|
<el-table
|
||||||
|
height="100%"
|
||||||
|
ref="selection"
|
||||||
|
:data="histortData"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
style="width: 100%"
|
||||||
|
border
|
||||||
|
row-key="id"
|
||||||
|
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}">
|
||||||
|
<el-table-column
|
||||||
|
prop="name"
|
||||||
|
label="任务步骤"
|
||||||
|
align="center"
|
||||||
|
sortable="custom"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="assignee"
|
||||||
|
label="任务受理人"
|
||||||
|
align="center"
|
||||||
|
sortable="custom"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="createTime"
|
||||||
|
label="创建时间"
|
||||||
|
sortable="custom"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="endTime"
|
||||||
|
label="完成时间"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="comment"
|
||||||
|
label="流程信息"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.commentText }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="completeFlag"
|
||||||
|
label="状态"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? '已完成' : '未完成' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
</div>
|
||||||
|
<ProcessFooter
|
||||||
|
show-submit
|
||||||
|
:submitLoading="isSubmit"
|
||||||
|
:saveLoading="saveLoading"
|
||||||
|
show-transfer
|
||||||
|
@transfer="handleTransfer"
|
||||||
|
@submit="handleSubmit"
|
||||||
|
show-back
|
||||||
|
@back="handleSubmitNo"
|
||||||
|
approval
|
||||||
|
submitBTNText="同意"
|
||||||
|
>
|
||||||
|
</ProcessFooter>
|
||||||
|
<phone-role
|
||||||
|
role-title="转办处理人"
|
||||||
|
:is-show-phone.sync="drawerModal"
|
||||||
|
@checkedRole="checkedRole"
|
||||||
|
/>
|
||||||
|
<van-dialog v-model="itermsConditionsFlag" title="查看修改前内容" @confirm="dialogOk">
|
||||||
|
<div v-html="itermsConditionsTitle"></div>
|
||||||
|
</van-dialog>
|
||||||
|
<phone-role
|
||||||
|
role-title="选择责任部门对接人"
|
||||||
|
:is-show-phone.sync="modalshowflag"
|
||||||
|
@checkedRole="checkedRole2"
|
||||||
|
:result-list="nodeList"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { Dialog } from 'vant';
|
||||||
|
import ProcessHeaderPhone from "../../components/ProcessHeaderPhone";
|
||||||
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
|
import {inboundLiaisonDetail, processCreateStand,changeAssigneeNew,getBusStandFileByAttId} from 'api/process'
|
||||||
|
import axios from "axios";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "phoneBzzqyjStep4-1",
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
itermsConditionsFlag: false,
|
||||||
|
itermsConditionsTitle: '',
|
||||||
|
drawerModal: false,
|
||||||
|
histortData: [],
|
||||||
|
data: [],
|
||||||
|
commentText: '',
|
||||||
|
taskIds: this.$route.query.taskIds,
|
||||||
|
pId: this.$route.query.prcId,
|
||||||
|
roleRow: {},
|
||||||
|
nodeList: [],
|
||||||
|
type: '',
|
||||||
|
defaultProps: {
|
||||||
|
children: 'children',
|
||||||
|
label: 'name'
|
||||||
|
},
|
||||||
|
treeData: [], // 人员数据
|
||||||
|
modalshowflag: false, // drawer开关
|
||||||
|
drawerTitle: '', //drawer标题
|
||||||
|
textarea: '', // 意见
|
||||||
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
|
active: '1', // 默认显示
|
||||||
|
isSubmit: false,
|
||||||
|
saveLoading: false,
|
||||||
|
form: {
|
||||||
|
cid: '', // 编号
|
||||||
|
endTime: '', // 结束日期
|
||||||
|
cname: '', // 名称
|
||||||
|
fjList: [],
|
||||||
|
fjListId: '',
|
||||||
|
textType: '',
|
||||||
|
modelList: [],
|
||||||
|
modelNameList: '',
|
||||||
|
bzfgId: '',
|
||||||
|
bzfgName: '',
|
||||||
|
},
|
||||||
|
formRules: {
|
||||||
|
bzfgId: [
|
||||||
|
{required: true, message: '请选择标准法规工程师分线管理员', trigger: 'change'},
|
||||||
|
]
|
||||||
|
},
|
||||||
|
json: {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
[Dialog.Component.name]: Dialog.Component,
|
||||||
|
ProcessHeaderPhone,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
filesUpload (file) { // 下载
|
||||||
|
const attId = file.attId
|
||||||
|
if (attId) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
|
||||||
|
} else {
|
||||||
|
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) { // 预览
|
||||||
|
const attId = file.attId
|
||||||
|
this.getBusStandFileByAttId(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) {
|
||||||
|
this.form.bzfgId = data[0].id
|
||||||
|
this.form.bzfgName = data[0].name
|
||||||
|
},
|
||||||
|
choiceZRR(id) {
|
||||||
|
this.nodeList = []
|
||||||
|
this.nodeList.push(id)
|
||||||
|
this.modalshowflag = true;
|
||||||
|
},
|
||||||
|
dialogOk () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
|
itermsConditionsOpen (row) {
|
||||||
|
this.itermsConditionsFlag = true
|
||||||
|
this.itermsConditionsTitle = row
|
||||||
|
},
|
||||||
|
downloadFile (attId) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
|
||||||
|
},
|
||||||
|
handleTransfer() {
|
||||||
|
this.drawerModal = true
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
userId:this.$store.getters.userInfo.userId, // 委托人
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
pId: this.$route.query.prcId, // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.drawerModal = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.processNum()
|
||||||
|
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 请求转换流程图
|
||||||
|
processNum (row) {
|
||||||
|
axios.request({
|
||||||
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
|
responseType: 'blob',
|
||||||
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
updataFj(item) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
||||||
|
},
|
||||||
|
getHistoryData() {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
}, {}, res => {
|
||||||
|
this.histortData = res
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name
|
||||||
|
},
|
||||||
|
handleSave() {
|
||||||
|
},
|
||||||
|
handleSubmit() {
|
||||||
|
this.$refs['bzzqyjForm'].validate((valid) => {
|
||||||
|
if (valid) {
|
||||||
|
this.isSubmit = true
|
||||||
|
var json = this.json
|
||||||
|
json.commentText = this.commentText
|
||||||
|
json.bzfgId = this.form.bzfgId
|
||||||
|
json.bzfgName = this.form.bzfgName
|
||||||
|
json.spFlag = '0'
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.userId
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请选择标准法规工程师分线管理员')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleSubmitNo() {
|
||||||
|
if (this.commentText) {
|
||||||
|
var json = this.json
|
||||||
|
json.spFlag = '1'
|
||||||
|
json.commentText = this.commentText
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.userId
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请输入反馈意见')
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
let data = JSON.parse(res.mesg)
|
||||||
|
this.form.fjList = data.fjList || data.form.fjList
|
||||||
|
if (data.fjListId === '') {
|
||||||
|
this.form.fjListId = ''
|
||||||
|
} else {
|
||||||
|
this.form.fjListId = data.form.fjListId || data.fjListId
|
||||||
|
}
|
||||||
|
this.form.cid = data.cid || data.form.cid
|
||||||
|
this.form.endTime = data.endTime || data.form.endTime
|
||||||
|
this.form.cname = data.cname || data.form.cname
|
||||||
|
this.form.textType = data.textType || data.form.textType
|
||||||
|
this.form.modelList = data.modelList || data.form.modelList
|
||||||
|
this.form.modelNameList = data.modelNameList || data.form.modelNameList
|
||||||
|
this.form.bzfgId = data.bzfgId || ''
|
||||||
|
this.form.bzfgName = data.bzfgName || ''
|
||||||
|
this.json = data
|
||||||
|
this.data = data.info || data.data
|
||||||
|
}).catch(e => {
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.getHistoryData()
|
||||||
|
this.getData()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
@import '~@/assets/styles/phone';
|
||||||
|
|
||||||
|
.phoneBzzqyjStep4-1 {
|
||||||
|
/deep/ .el-drawer__container {
|
||||||
|
.prc-content-border {
|
||||||
|
border: none;
|
||||||
|
padding: 0 20px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.fileClass {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fileClass:hover {
|
||||||
|
color: #0c91e5;
|
||||||
|
}
|
||||||
|
|
||||||
|
position: relative;
|
||||||
|
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 {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
height: calc(~'100% - 103px');
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
|
.tableTitle {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
height: 30px;
|
||||||
|
line-height: 30px;
|
||||||
|
position: relative;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
|
.tableButton {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -0,0 +1,570 @@
|
|||||||
|
<template>
|
||||||
|
<div class="phoneBzzqyjStep4-2 phoneBox">
|
||||||
|
<!-- 标准调研流程-->
|
||||||
|
<ProcessHeaderPhone toggle>
|
||||||
|
<template slot="proName">标准征求意见流程</template>
|
||||||
|
<template slot="proNode">标准法规工程师分线审核</template>
|
||||||
|
</ProcessHeaderPhone>
|
||||||
|
<div class="headerTabs">
|
||||||
|
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||||
|
<div class="headerTabsItem" :class="active === '2' ? 'active' : ''" @click="handleTabs('2')">审批历史</div>
|
||||||
|
</div>
|
||||||
|
<div class="content" v-show="active === '1'">
|
||||||
|
<div style="flex: auto; overflow: auto;">
|
||||||
|
<el-form
|
||||||
|
ref="bzzqyjForm"
|
||||||
|
:model="form"
|
||||||
|
:rules="formRules"
|
||||||
|
class="label-input-form"
|
||||||
|
label-width="210px"
|
||||||
|
>
|
||||||
|
<ProcessTitle>
|
||||||
|
<template slot="title">基础信息</template>
|
||||||
|
</ProcessTitle>
|
||||||
|
<div class="prc-content-border">
|
||||||
|
<el-row :gutter="24">
|
||||||
|
<el-col :span="24">
|
||||||
|
<el-form-item label="标准编号/名称" prop="cid" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
disabled
|
||||||
|
v-model="form.cid"
|
||||||
|
placeholder="请输入标准编号"
|
||||||
|
clearable
|
||||||
|
></el-input>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="征求意见结束日期" prop="endTime" class="add-form-item form-item-disabled">
|
||||||
|
<el-date-picker
|
||||||
|
disabled
|
||||||
|
v-model="form.endTime"
|
||||||
|
type="date"
|
||||||
|
placeholder="请选择结束日期">
|
||||||
|
</el-date-picker>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="标准附件" prop="fjListId" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
v-model="form.fjListId"
|
||||||
|
style="display: none;"
|
||||||
|
></el-input>
|
||||||
|
<div style="display: flex;">
|
||||||
|
<div class="fileClass"
|
||||||
|
style="margin-right: 15px;padding-left: 10px"
|
||||||
|
v-for="(item, index) in form.fjList"
|
||||||
|
:key="index">
|
||||||
|
<span @click="fileLook(item)">{{ item.fileName }}</span>
|
||||||
|
<el-button
|
||||||
|
size="small"
|
||||||
|
@click="filesUpload(item)"
|
||||||
|
icon="el-icon-download"
|
||||||
|
style="height: 32px; margin-left: 5px;"
|
||||||
|
></el-button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item label="其他附件" prop="model" class="add-form-item form-item-disabled">
|
||||||
|
<div v-if="form.modelList.length > 0">
|
||||||
|
<div v-for="(item, index) in form.modelList" class="fileClass" :key="index" style="margin-right: 5px;">
|
||||||
|
<span @click="fileLook(item)">{{ item.name }}</span>
|
||||||
|
<el-button
|
||||||
|
size="small"
|
||||||
|
@click="filesUpload(item)"
|
||||||
|
icon="el-icon-download"
|
||||||
|
style="height: 32px; margin-left: 5px;"
|
||||||
|
></el-button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div v-else>
|
||||||
|
- -
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</div>
|
||||||
|
</el-form>
|
||||||
|
<ProcessTitle>
|
||||||
|
<template slot="title">征求意见列表</template>
|
||||||
|
</ProcessTitle>
|
||||||
|
<el-table
|
||||||
|
ref="multipleTable"
|
||||||
|
:data="data"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
border
|
||||||
|
style="width: 100%; flex: auto;"
|
||||||
|
class="drag-table"
|
||||||
|
:default-sort = "{prop: 'chapterNumber', order: 'ascending'}"
|
||||||
|
:header-cell-style="{background: '#E8E8E8', color: '#333333', fontSize: '16px',
|
||||||
|
fontWeight: 'bold', height: '48px'}">
|
||||||
|
<el-table-column
|
||||||
|
type="index"
|
||||||
|
label="序号"
|
||||||
|
width="55"
|
||||||
|
align="center">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="chapterNumber"
|
||||||
|
align="center"
|
||||||
|
sortable
|
||||||
|
label="章条编号"
|
||||||
|
width="101px">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="chapterName"
|
||||||
|
align="center"
|
||||||
|
label="章节名称"
|
||||||
|
width="200px">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
align="center"
|
||||||
|
prop="commentText"
|
||||||
|
label="修改意见内容(包括理由或依据)">
|
||||||
|
<el-table-column
|
||||||
|
prop="oldText"
|
||||||
|
align="center"
|
||||||
|
label="修改前">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-button size="mini" type="primary" :disabled="scope.row.chapterNumber.length === 0" @click="itermsConditionsOpen(scope.row.oldText)" class="common-button-primary">查看修改前内容</el-button>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="newText"
|
||||||
|
align="center"
|
||||||
|
label="修改后">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="reason"
|
||||||
|
align="center"
|
||||||
|
label="修改理由">
|
||||||
|
</el-table-column>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="department"
|
||||||
|
align="center"
|
||||||
|
label="提出部门">
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="responUserName"
|
||||||
|
align="center"
|
||||||
|
label="提出人">
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
</div>
|
||||||
|
<el-collapse accordion>
|
||||||
|
<el-collapse-item title="审批意见">
|
||||||
|
<div style="margin: 10px 0;">
|
||||||
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
:rows="3"
|
||||||
|
resize="none"
|
||||||
|
placeholder="请输入意见"
|
||||||
|
v-model="commentText">
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
|
</el-collapse-item>
|
||||||
|
</el-collapse>
|
||||||
|
</div>
|
||||||
|
<div class="content" v-show="active === '2'">
|
||||||
|
<el-table
|
||||||
|
height="100%"
|
||||||
|
ref="selection"
|
||||||
|
:data="histortData"
|
||||||
|
tooltip-effect="dark"
|
||||||
|
style="width: 100%"
|
||||||
|
border
|
||||||
|
row-key="id"
|
||||||
|
:header-cell-style="{background: '#f8f8f9', color: '#515a6e'}">
|
||||||
|
<el-table-column
|
||||||
|
prop="name"
|
||||||
|
label="任务步骤"
|
||||||
|
align="center"
|
||||||
|
sortable="custom"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="assignee"
|
||||||
|
label="任务受理人"
|
||||||
|
align="center"
|
||||||
|
sortable="custom"
|
||||||
|
>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="createTime"
|
||||||
|
label="创建时间"
|
||||||
|
sortable="custom"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.createTime ? $moment(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="endTime"
|
||||||
|
label="完成时间"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="comment"
|
||||||
|
label="流程信息"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.commentText }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
prop="completeFlag"
|
||||||
|
label="状态"
|
||||||
|
align="center">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.endTime ? '已完成' : '未完成' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
</div>
|
||||||
|
<ProcessFooter
|
||||||
|
show-submit
|
||||||
|
:submitLoading="isSubmit"
|
||||||
|
:saveLoading="saveLoading"
|
||||||
|
show-transfer
|
||||||
|
@transfer="handleTransfer"
|
||||||
|
@submit="handleSubmit"
|
||||||
|
show-back
|
||||||
|
@back="handleSubmitNo"
|
||||||
|
approval
|
||||||
|
submitBTNText="同意"
|
||||||
|
>
|
||||||
|
</ProcessFooter>
|
||||||
|
<phone-role
|
||||||
|
role-title="转办处理人"
|
||||||
|
:is-show-phone.sync="drawerModal"
|
||||||
|
@checkedRole="checkedRole"
|
||||||
|
/>
|
||||||
|
<van-dialog v-model="itermsConditionsFlag" title="查看修改前内容" @confirm="dialogOk">
|
||||||
|
<div v-html="itermsConditionsTitle"></div>
|
||||||
|
</van-dialog>
|
||||||
|
<Role-tree
|
||||||
|
check-box
|
||||||
|
is-title="选择责任部门对接人"
|
||||||
|
:is-visible.sync="modalshowflag"
|
||||||
|
@checkedRole="checkedRole2"
|
||||||
|
:nodeList="nodeList"
|
||||||
|
></Role-tree>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { Dialog } from 'vant';
|
||||||
|
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
||||||
|
import ProcessFooter from '../../components/ProcessFooter'
|
||||||
|
import ProcessTitle from '../../components/ProcessTitle'
|
||||||
|
import {inboundLiaisonDetail, processCreateStand,changeAssigneeNew,getBusStandFileByAttId} from 'api/process'
|
||||||
|
import axios from "axios";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: "phoneBzzqyjStep4-2",
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
itermsConditionsFlag: false,
|
||||||
|
itermsConditionsTitle: '',
|
||||||
|
drawerModal: false,
|
||||||
|
histortData: [],
|
||||||
|
data: [],
|
||||||
|
commentText: '',
|
||||||
|
taskIds: this.$route.query.taskIds,
|
||||||
|
pId: this.$route.query.prcId,
|
||||||
|
roleRow: {},
|
||||||
|
nodeList: [],
|
||||||
|
type: '',
|
||||||
|
defaultProps: {
|
||||||
|
children: 'children',
|
||||||
|
label: 'name'
|
||||||
|
},
|
||||||
|
treeData: [], // 人员数据
|
||||||
|
modalshowflag: false, // drawer开关
|
||||||
|
drawerTitle: '', //drawer标题
|
||||||
|
textarea: '', // 意见
|
||||||
|
ListModel: false, // 新增编辑抽屉开关
|
||||||
|
active: '1', // 默认显示
|
||||||
|
isSubmit: false,
|
||||||
|
saveLoading: false,
|
||||||
|
form: {
|
||||||
|
cid: '', // 编号
|
||||||
|
endTime: '', // 结束日期
|
||||||
|
cname: '', // 名称
|
||||||
|
fjList: [],
|
||||||
|
fjListId: '',
|
||||||
|
textType: '',
|
||||||
|
modelList: [],
|
||||||
|
modelNameList: '',
|
||||||
|
bzfgId: '',
|
||||||
|
bzfgName: '',
|
||||||
|
},
|
||||||
|
formRules: {
|
||||||
|
responUserList: [
|
||||||
|
{required: true, message: '请选择责任人', trigger: 'change'},
|
||||||
|
]
|
||||||
|
},
|
||||||
|
json: {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
components: {
|
||||||
|
[Dialog.Component.name]: Dialog.Component,
|
||||||
|
ProcessHeaderPhone,
|
||||||
|
ProcessFooter,
|
||||||
|
ProcessTitle
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
dialogOk () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
|
filesUpload (file) { // 下载
|
||||||
|
const attId = file.attId
|
||||||
|
if (attId) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
|
||||||
|
} else {
|
||||||
|
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) { // 预览
|
||||||
|
const attId = file.attId
|
||||||
|
this.getBusStandFileByAttId(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) {
|
||||||
|
this.form.bzfgId = data[0].id
|
||||||
|
this.form.bzfgName = data[0].name
|
||||||
|
},
|
||||||
|
choiceZRR(id) {
|
||||||
|
this.nodeList = []
|
||||||
|
this.nodeList.push(id)
|
||||||
|
this.modalshowflag = true;
|
||||||
|
},
|
||||||
|
itermsConditionsClose () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
|
itermsConditionsOpen (row) {
|
||||||
|
this.itermsConditionsFlag = true
|
||||||
|
this.itermsConditionsTitle = row
|
||||||
|
},
|
||||||
|
downloadFile (attId) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
|
||||||
|
},
|
||||||
|
handleTransfer() {
|
||||||
|
this.drawerModal = true
|
||||||
|
},
|
||||||
|
checkedRole (data) {
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
userId:this.$store.getters.userInfo.userId, // 委托人
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
pId: this.$route.query.prcId, // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.drawerModal = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.processNum()
|
||||||
|
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 请求转换流程图
|
||||||
|
processNum (row) {
|
||||||
|
axios.request({
|
||||||
|
url: '/api/lawss/activiti/getImg?_t=' + new Date().getTime(),
|
||||||
|
responseType: 'blob',
|
||||||
|
method: 'get',
|
||||||
|
params: {
|
||||||
|
prcNum: this.$route.query.prcNum
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
updataFj(item) {
|
||||||
|
window.location.href = '/api/att/attFile/downloadFile?fileId=' + item.id
|
||||||
|
},
|
||||||
|
getHistoryData() {
|
||||||
|
this.$http.get('lawss/activiti/get_list_by_instance', {
|
||||||
|
prcNum: this.$route.query.prcNum,
|
||||||
|
}, {}, res => {
|
||||||
|
this.histortData = res
|
||||||
|
}, e => {
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleTabs(name) {
|
||||||
|
this.active = name
|
||||||
|
},
|
||||||
|
handleSave() {
|
||||||
|
},
|
||||||
|
handleSubmit() {
|
||||||
|
this.isSubmit = true
|
||||||
|
var json = this.json
|
||||||
|
json.commentText = this.commentText
|
||||||
|
json.bzFlag = '0'
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.userId
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
this.isSubmit = false
|
||||||
|
})
|
||||||
|
},
|
||||||
|
handleSubmitNo() {
|
||||||
|
if (this.commentText) {
|
||||||
|
var json = this.json
|
||||||
|
json.bzFlag = '1'
|
||||||
|
json.commentText = this.commentText
|
||||||
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
|
json: JSON.stringify(json),
|
||||||
|
taskId: this.taskIds,
|
||||||
|
userId: this.$store.getters.userInfo.userId
|
||||||
|
}, {}, res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.$message.success('提交成功')
|
||||||
|
this.$router.push('/processCenter')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.warning('请输入反馈意见')
|
||||||
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
getData() {
|
||||||
|
return new Promise((resolve, reject) => {
|
||||||
|
inboundLiaisonDetail({
|
||||||
|
taskIds: this.taskIds,
|
||||||
|
pId: this.pId
|
||||||
|
}).then(res => {
|
||||||
|
let data = JSON.parse(res.mesg)
|
||||||
|
this.form.fjList = data.fjList || data.form.fjList
|
||||||
|
if (data.fjListId === '') {
|
||||||
|
this.form.fjListId = ''
|
||||||
|
} else {
|
||||||
|
this.form.fjListId = data.form.fjListId || data.fjListId
|
||||||
|
}
|
||||||
|
this.form.cid = data.cid || data.form.cid
|
||||||
|
this.form.endTime = data.endTime || data.form.endTime
|
||||||
|
this.form.cname = data.cname || data.form.cname
|
||||||
|
this.form.textType = data.textType || data.form.textType
|
||||||
|
this.form.modelList = data.modelList || data.form.modelList
|
||||||
|
this.form.modelNameList = data.modelNameList || data.form.modelNameList
|
||||||
|
this.form.bzfgId = data.bzfgId || ''
|
||||||
|
this.json = data
|
||||||
|
this.data = data.info || data.data
|
||||||
|
}).catch(e => {
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.getHistoryData()
|
||||||
|
this.getData()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
@import '~@/assets/styles/phone';
|
||||||
|
|
||||||
|
.phoneBzzqyjStep4-2 {
|
||||||
|
/deep/ .el-drawer__container {
|
||||||
|
.prc-content-border {
|
||||||
|
border: none;
|
||||||
|
padding: 0 20px 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.fileClass {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fileClass:hover {
|
||||||
|
color: #0c91e5;
|
||||||
|
}
|
||||||
|
|
||||||
|
position: relative;
|
||||||
|
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 {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: space-between;
|
||||||
|
height: calc(~'100% - 103px');
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
|
.tableTitle {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
height: 30px;
|
||||||
|
line-height: 30px;
|
||||||
|
position: relative;
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
|
.tableButton {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -273,6 +273,9 @@
|
|||||||
ProcessTitle
|
ProcessTitle
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
dialogOk () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
filesUpload (file) { // 下载
|
filesUpload (file) { // 下载
|
||||||
const attId = file.attId
|
const attId = file.attId
|
||||||
if (attId) {
|
if (attId) {
|
||||||
@@ -309,7 +312,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
@@ -496,7 +499,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/style';
|
@import '~@/assets/styles/phone';
|
||||||
|
|
||||||
.phoneBzdyStep6 {
|
.phoneBzdyStep6 {
|
||||||
/deep/ .el-drawer__container {
|
/deep/ .el-drawer__container {
|
||||||
|
|||||||
@@ -273,6 +273,9 @@
|
|||||||
ProcessTitle
|
ProcessTitle
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
dialogOk () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
filesUpload (file) { // 下载
|
filesUpload (file) { // 下载
|
||||||
const attId = file.attId
|
const attId = file.attId
|
||||||
if (attId) {
|
if (attId) {
|
||||||
@@ -309,7 +312,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
@@ -496,7 +499,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/style';
|
@import '~@/assets/styles/phone';
|
||||||
|
|
||||||
.phoneBzdyStep7 {
|
.phoneBzdyStep7 {
|
||||||
/deep/ .el-drawer__container {
|
/deep/ .el-drawer__container {
|
||||||
|
|||||||
@@ -273,6 +273,9 @@
|
|||||||
ProcessTitle
|
ProcessTitle
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
dialogOk () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
filesUpload (file) { // 下载
|
filesUpload (file) { // 下载
|
||||||
const attId = file.attId
|
const attId = file.attId
|
||||||
if (attId) {
|
if (attId) {
|
||||||
@@ -309,7 +312,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
@@ -496,8 +499,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/style';
|
@import '~@/assets/styles/phone';
|
||||||
|
|
||||||
.phoneBzdyStep8 {
|
.phoneBzdyStep8 {
|
||||||
/deep/ .el-drawer__container {
|
/deep/ .el-drawer__container {
|
||||||
.prc-content-border {
|
.prc-content-border {
|
||||||
|
|||||||
@@ -273,6 +273,9 @@
|
|||||||
ProcessTitle
|
ProcessTitle
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
dialogOk () {
|
||||||
|
this.itermsConditionsFlag = false
|
||||||
|
},
|
||||||
filesUpload (file) { // 下载
|
filesUpload (file) { // 下载
|
||||||
const attId = file.attId
|
const attId = file.attId
|
||||||
if (attId) {
|
if (attId) {
|
||||||
@@ -309,7 +312,7 @@
|
|||||||
}else {
|
}else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
@@ -496,8 +499,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/style';
|
@import '~@/assets/styles/phone';
|
||||||
|
|
||||||
.phoneBzdyStep9 {
|
.phoneBzdyStep9 {
|
||||||
/deep/ .el-drawer__container {
|
/deep/ .el-drawer__container {
|
||||||
.prc-content-border {
|
.prc-content-border {
|
||||||
|
|||||||
@@ -168,7 +168,7 @@
|
|||||||
<el-table
|
<el-table
|
||||||
height="100%"
|
height="100%"
|
||||||
ref="selection"
|
ref="selection"
|
||||||
:data="histortData"
|
:data="detailData"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
border
|
border
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<!-- 加入标准化协会信息备案流程-->
|
<!-- 加入标准化协会信息备案流程-->
|
||||||
<template>
|
<template>
|
||||||
<div class="phoneGrbzhxhStep3 phoneBox">
|
<div class="phoneJrbzhxhStep3 phoneBox">
|
||||||
<ProcessHeaderPhone toggle>
|
<ProcessHeaderPhone toggle>
|
||||||
<template slot="proName">加入标准化协会备案流程</template>
|
<template slot="proName">加入标准化协会备案流程</template>
|
||||||
<template slot="proNode">标准法规工程师审核</template>
|
<template slot="proNode">标准法规工程师审核</template>
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
:model="wbbzform"
|
:model="wbbzform"
|
||||||
:rules="formRules"
|
:rules="formRules"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="150px"
|
||||||
>
|
>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -198,7 +198,7 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<el-collapse accordion>
|
<el-collapse accordion>
|
||||||
<el-collapse-item title="回执说明">
|
<el-collapse-item title="审批意见">
|
||||||
<div style="margin: 10px 0;">
|
<div style="margin: 10px 0;">
|
||||||
<el-input
|
<el-input
|
||||||
type="textarea"
|
type="textarea"
|
||||||
@@ -215,7 +215,7 @@
|
|||||||
<el-table
|
<el-table
|
||||||
height="100%"
|
height="100%"
|
||||||
ref="selection"
|
ref="selection"
|
||||||
:data="histortData"
|
:data="detailData"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
border
|
border
|
||||||
@@ -273,6 +273,7 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
|
show-transfer
|
||||||
show-back
|
show-back
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
@@ -299,19 +300,24 @@
|
|||||||
@checkedRole="checkedTransferRole"
|
@checkedRole="checkedTransferRole"
|
||||||
:nodeList="nodeList"
|
:nodeList="nodeList"
|
||||||
></Role-tree>
|
></Role-tree>
|
||||||
|
<phone-role
|
||||||
|
:role-title="drawerTitle"
|
||||||
|
:result-list="phoneRoleList"
|
||||||
|
:is-show-phone.sync="phoneshowflag"
|
||||||
|
@checkedRole="drawerCheck"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { Dialog } from 'vant';
|
import ProcessHeaderPhone from "../../components/ProcessHeaderPhone";
|
||||||
import ProcessHeaderPhone from '../../components/ProcessHeaderPhone'
|
|
||||||
import ProcessHeader from "../../components/ProcessHeader";
|
import ProcessHeader from "../../components/ProcessHeader";
|
||||||
import ProcessTitle from "process/components/ProcessTitle";
|
import ProcessTitle from "process/components/ProcessTitle";
|
||||||
import ProcessFooter from "process/components/ProcessFooter";
|
import ProcessFooter from "process/components/ProcessFooter";
|
||||||
import { changeAssigneeNew,inboundLiaisonDetail } from "api/process";
|
import { changeAssigneeNew, inboundLiaisonDetail } from "api/process";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneGrbzhxhStep3",
|
name: "phoneJrbzhxhStep3",
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
@@ -320,6 +326,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: "",
|
||||||
//切换tab
|
//切换tab
|
||||||
active: "1",
|
active: "1",
|
||||||
foldFormFlag: true,
|
foldFormFlag: true,
|
||||||
@@ -329,7 +338,7 @@ export default {
|
|||||||
loading: false,
|
loading: false,
|
||||||
modalshowflag: false,
|
modalshowflag: false,
|
||||||
drawerModal: false,
|
drawerModal: false,
|
||||||
drawerTitle: '',
|
drawerTitle: "",
|
||||||
nodeList: [],
|
nodeList: [],
|
||||||
fileList:[],
|
fileList:[],
|
||||||
commentText: '',
|
commentText: '',
|
||||||
@@ -544,21 +553,42 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//流程转办
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer() {
|
||||||
this.drawerModal = true
|
this.phoneshowflag = true;
|
||||||
this.drawerTitle = '转办处理人'
|
this.phoneRoleList = this.roleTransfer;
|
||||||
this.selectPeople = row
|
this.phoneDrawerTitle = "转办处理人";
|
||||||
|
},
|
||||||
|
//确认转办
|
||||||
|
drawerCheck(data) {
|
||||||
|
this.roleTransfer = data;
|
||||||
|
this.phoneRoleList = this.roleTransfer;
|
||||||
|
this.turnLoading = true;
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
|
pId: this.$route.query.prcId // 流程实例
|
||||||
|
}).then(res => {
|
||||||
|
if (res.success) {
|
||||||
|
this.turnLoading = false;
|
||||||
|
this.$message.success("调整成功");
|
||||||
|
this.$router.push("/processCenter");
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
this.modalshowflag = false;
|
||||||
},
|
},
|
||||||
//流程提交
|
//流程提交
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
this.isSubmit = true
|
this.isSubmit = true;
|
||||||
this.wbbzform.signFlag = '1',
|
this.wbbzform.signFlag = "1",
|
||||||
this.wbbzform.passUser = this.$store.getters.userInfo.userId,
|
this.wbbzform.passUser = this.$store.getters.userInfo.userId,
|
||||||
this.wbbzform.commentText = this.commentText;
|
this.wbbzform.commentText = this.commentText;
|
||||||
this.wbbzform.participantsData = this.participantsData
|
this.wbbzform.participantsData = this.participantsData;
|
||||||
this.wbbzform.associationData = this.associationData
|
this.wbbzform.associationData = this.associationData;
|
||||||
var json = JSON.stringify( this.wbbzform)
|
var json = JSON.stringify(this.wbbzform);
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
userId: this.userId,
|
userId: this.userId,
|
||||||
@@ -576,29 +606,33 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
//流程驳回
|
//流程驳回
|
||||||
beforeBack(){
|
beforeBack() {
|
||||||
this.isSubmit = true
|
if (!this.commentText) {
|
||||||
this.wbbzform.signFlag = '0',
|
this.$message.warning("请填写审批意见");
|
||||||
this.wbbzform.passUser = this.$store.getters.userInfo.userId,
|
} else {
|
||||||
this.wbbzform.commentText = this.commentText;
|
this.isSubmit = true;
|
||||||
this.wbbzform.participantsData = this.participantsData
|
this.wbbzform.signFlag = "0",
|
||||||
this.wbbzform.associationData = this.associationData
|
this.wbbzform.passUser = this.$store.getters.userInfo.userId,
|
||||||
var json = JSON.stringify( this.wbbzform)
|
this.wbbzform.commentText = this.commentText;
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.wbbzform.participantsData = this.participantsData;
|
||||||
taskIds: this.taskIds,
|
this.wbbzform.associationData = this.associationData;
|
||||||
userId: this.userId,
|
var json = JSON.stringify(this.wbbzform);
|
||||||
json: json
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
}, {
|
taskIds: this.taskIds,
|
||||||
_this: this
|
userId: this.userId,
|
||||||
}, res => {
|
json: json
|
||||||
if (res.success) {
|
}, {
|
||||||
this.$message.success(res.message);
|
_this: this
|
||||||
this.$router.push("/processCenter");
|
}, res => {
|
||||||
}
|
if (res.success) {
|
||||||
this.isSubmit = false
|
this.$message.success(res.message);
|
||||||
}, e => {
|
this.$router.push("/processCenter");
|
||||||
|
}
|
||||||
|
this.isSubmit = false;
|
||||||
|
}, e => {
|
||||||
|
|
||||||
});
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -615,7 +649,7 @@ export default {
|
|||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/phone';
|
@import '~@/assets/styles/phone';
|
||||||
.phoneGrbzhxhStep3 {
|
.phoneJrbzhxhStep3 {
|
||||||
/deep/.van-dialog__content {
|
/deep/.van-dialog__content {
|
||||||
min-height: 300px;
|
min-height: 300px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<!-- 加入标准化协会信息备案流程-->
|
<!-- 加入标准化协会信息备案流程-->
|
||||||
<template>
|
<template>
|
||||||
<div class="phoneGrbzhxhStep4 phoneBox">
|
<div class="phoneJrbzhxhStep4 phoneBox">
|
||||||
<ProcessHeaderPhone toggle>
|
<ProcessHeaderPhone toggle>
|
||||||
<template slot="proName">加入标准化协会备案流程</template>
|
<template slot="proName">加入标准化协会备案流程</template>
|
||||||
<template slot="proNode">标准法规工程师审核</template>
|
<template slot="proNode">标准法规工程师审核</template>
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
:model="wbbzform"
|
:model="wbbzform"
|
||||||
:rules="formRules"
|
:rules="formRules"
|
||||||
class="label-input-form"
|
class="label-input-form"
|
||||||
label-width="210px"
|
label-width="150px"
|
||||||
>
|
>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">基础信息</template>
|
<template slot="title">基础信息</template>
|
||||||
@@ -198,7 +198,7 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<el-collapse accordion>
|
<el-collapse accordion>
|
||||||
<el-collapse-item title="回执说明">
|
<el-collapse-item title="审批意见">
|
||||||
<div style="margin: 10px 0;">
|
<div style="margin: 10px 0;">
|
||||||
<el-input
|
<el-input
|
||||||
type="textarea"
|
type="textarea"
|
||||||
@@ -215,7 +215,7 @@
|
|||||||
<el-table
|
<el-table
|
||||||
height="100%"
|
height="100%"
|
||||||
ref="selection"
|
ref="selection"
|
||||||
:data="histortData"
|
:data="detailData"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
border
|
border
|
||||||
@@ -273,6 +273,7 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<ProcessFooter
|
<ProcessFooter
|
||||||
|
show-transfer
|
||||||
show-back
|
show-back
|
||||||
show-submit
|
show-submit
|
||||||
:submitLoading="isSubmit"
|
:submitLoading="isSubmit"
|
||||||
@@ -299,6 +300,12 @@
|
|||||||
@checkedRole="checkedTransferRole"
|
@checkedRole="checkedTransferRole"
|
||||||
:nodeList="nodeList"
|
:nodeList="nodeList"
|
||||||
></Role-tree>
|
></Role-tree>
|
||||||
|
<phone-role
|
||||||
|
:role-title="drawerTitle"
|
||||||
|
:result-list="phoneRoleList"
|
||||||
|
:is-show-phone.sync="phoneshowflag"
|
||||||
|
@checkedRole="drawerCheck"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -311,7 +318,7 @@ import ProcessFooter from "process/components/ProcessFooter";
|
|||||||
import { changeAssigneeNew,inboundLiaisonDetail } from "api/process";
|
import { changeAssigneeNew,inboundLiaisonDetail } from "api/process";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "phoneGrbzhxhStep4",
|
name: "phoneJrbzhxhStep4",
|
||||||
components: {
|
components: {
|
||||||
ProcessHeader,
|
ProcessHeader,
|
||||||
ProcessTitle,
|
ProcessTitle,
|
||||||
@@ -320,6 +327,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
//切换tab
|
//切换tab
|
||||||
active: "1",
|
active: "1",
|
||||||
foldFormFlag: true,
|
foldFormFlag: true,
|
||||||
@@ -529,11 +539,32 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//流程转办
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = '转办处理人'
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
|
},
|
||||||
|
//确认转办
|
||||||
|
drawerCheck (data) {
|
||||||
|
this.roleTransfer = data
|
||||||
|
this.phoneRoleList = this.roleTransfer
|
||||||
|
this.turnLoading = true
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
|
pId: this.$route.query.prcId // 流程实例
|
||||||
|
}).then(res =>{
|
||||||
|
if (res.success) {
|
||||||
|
this.turnLoading = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.$router.push("/processCenter")
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
//流程提交
|
//流程提交
|
||||||
handleSubmit() {
|
handleSubmit() {
|
||||||
@@ -600,7 +631,7 @@ export default {
|
|||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
@import '~@/assets/styles/phone';
|
@import '~@/assets/styles/phone';
|
||||||
.phoneGrbzhxhStep4 {
|
.phoneJrbzhxhStep4 {
|
||||||
/deep/.van-dialog__content {
|
/deep/.van-dialog__content {
|
||||||
min-height: 300px;
|
min-height: 300px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|||||||
@@ -10,130 +10,132 @@
|
|||||||
<div class="headerTabsItem" :class="active === '3' ? 'active' : '' " @click="handleTabs('3')">审批历史</div>
|
<div class="headerTabsItem" :class="active === '3' ? 'active' : '' " @click="handleTabs('3')">审批历史</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content" v-show="active === '1'">
|
<div class="content" v-show="active === '1'">
|
||||||
<div>
|
<div style="overflow: auto">
|
||||||
<el-form
|
<ProcessTitle>
|
||||||
ref="qbfsForm"
|
<template slot="title">基础信息</template>
|
||||||
:model="qbfsForm"
|
</ProcessTitle>
|
||||||
:rules="formRules"
|
<el-collapse-transition>
|
||||||
class="label-input-form"
|
|
||||||
label-width="150px"
|
|
||||||
>
|
|
||||||
<ProcessTitle>
|
|
||||||
<template slot="title">基础信息</template>
|
|
||||||
</ProcessTitle>
|
|
||||||
<div class="prc-content-border" v-if="foldFormFlag">
|
<div class="prc-content-border" v-if="foldFormFlag">
|
||||||
<el-row :gutter="24">
|
<el-form
|
||||||
<el-col :span="24">
|
ref="qbfsForm"
|
||||||
<el-form-item label="企标编号" prop="entNumber" class="add-form-item form-item-disabled">
|
:model="qbfsForm"
|
||||||
<el-input
|
:rules="formRules"
|
||||||
readonly
|
class="label-input-form"
|
||||||
v-model="qbfsForm.entNumber"
|
label-width="150px"
|
||||||
placeholder="请输入企标编号"
|
>
|
||||||
clearable
|
<el-row :gutter="24">
|
||||||
></el-input>
|
<el-col :span="24">
|
||||||
</el-form-item>
|
<el-form-item label="企标编号" prop="entNumber" class="add-form-item form-item-disabled">
|
||||||
<el-form-item label="中文名称" prop="cnName" class="add-form-item form-item-disabled">
|
<el-input
|
||||||
<el-input
|
readonly
|
||||||
readonly
|
v-model="qbfsForm.entNumber"
|
||||||
v-model="qbfsForm.cnName"
|
placeholder="请输入企标编号"
|
||||||
placeholder="请输入中文名称"
|
clearable
|
||||||
clearable
|
></el-input>
|
||||||
></el-input>
|
</el-form-item>
|
||||||
</el-form-item>
|
<el-form-item label="中文名称" prop="cnName" class="add-form-item form-item-disabled">
|
||||||
<el-form-item label="英文名称" prop="enName" class="add-form-item form-item-disabled">
|
<el-input
|
||||||
<el-input
|
readonly
|
||||||
readonly
|
v-model="qbfsForm.cnName"
|
||||||
v-model="qbfsForm.enName"
|
placeholder="请输入中文名称"
|
||||||
placeholder="请输入英文名称"
|
clearable
|
||||||
clearable
|
></el-input>
|
||||||
></el-input>
|
</el-form-item>
|
||||||
</el-form-item>
|
<el-form-item label="英文名称" prop="enName" class="add-form-item form-item-disabled">
|
||||||
<el-form-item label="企标类别" prop="entCategory" class="add-form-item form-item-disabled">
|
<el-input
|
||||||
<el-input
|
readonly
|
||||||
readonly
|
v-model="qbfsForm.enName"
|
||||||
v-model="qbfsForm.entCategory"
|
placeholder="请输入英文名称"
|
||||||
placeholder="请输入企标类别"
|
clearable
|
||||||
clearable
|
></el-input>
|
||||||
></el-input>
|
</el-form-item>
|
||||||
</el-form-item>
|
<el-form-item label="企标类别" prop="entCategory" class="add-form-item form-item-disabled">
|
||||||
<el-form-item label="代替企标编号" prop="replaceNumber" class="add-form-item form-item-disabled">
|
<el-input
|
||||||
<el-input
|
readonly
|
||||||
readonly
|
v-model="qbfsForm.entCategory"
|
||||||
v-model="qbfsForm.replaceNumber"
|
placeholder="请输入企标类别"
|
||||||
placeholder="请输入代替企标编号"
|
clearable
|
||||||
clearable
|
></el-input>
|
||||||
></el-input>
|
</el-form-item>
|
||||||
</el-form-item>
|
<el-form-item label="代替企标编号" prop="replaceNumber" class="add-form-item form-item-disabled">
|
||||||
<el-form-item label="下一步状态" prop="nextStatus" class="add-form-item ">
|
<el-input
|
||||||
<el-select v-model="qbfsForm.nextStatus" placeholder="请选择下一步状态">
|
readonly
|
||||||
<el-option
|
v-model="qbfsForm.replaceNumber"
|
||||||
v-for="item in associationOptions"
|
placeholder="请输入代替企标编号"
|
||||||
:key="item.value"
|
clearable
|
||||||
:label="item.label"
|
></el-input>
|
||||||
:value="item.value">
|
</el-form-item>
|
||||||
</el-option>
|
<el-form-item label="下一步状态" prop="nextStatus" class="add-form-item ">
|
||||||
</el-select>
|
<el-select v-model="qbfsForm.nextStatus" placeholder="请选择下一步状态">
|
||||||
</el-form-item>
|
<el-option
|
||||||
<el-form-item label="被代替企标编号" prop="replacedNumber" class="add-form-item form-item-disabled">
|
v-for="item in associationOptions"
|
||||||
<el-input
|
:key="item.value"
|
||||||
readonly
|
:label="item.label"
|
||||||
v-model="qbfsForm.replacedNumber"
|
:value="item.value">
|
||||||
placeholder="请输入被代替企标编号"
|
</el-option>
|
||||||
clearable
|
</el-select>
|
||||||
></el-input>
|
</el-form-item>
|
||||||
</el-form-item>
|
<el-form-item label="被代替企标编号" prop="replacedNumber" class="add-form-item form-item-disabled">
|
||||||
<el-form-item label="发布日期" prop="releaseDate" class="add-form-item form-item-disabled">
|
<el-input
|
||||||
<el-input
|
readonly
|
||||||
readonly
|
v-model="qbfsForm.replacedNumber"
|
||||||
v-model="qbfsForm.releaseDate"
|
placeholder="请输入被代替企标编号"
|
||||||
placeholder="请输入发布日期"
|
clearable
|
||||||
clearable
|
></el-input>
|
||||||
></el-input>
|
</el-form-item>
|
||||||
</el-form-item>
|
<el-form-item label="发布日期" prop="releaseDate" class="add-form-item form-item-disabled">
|
||||||
<el-form-item label="实施日期" prop="implementDate" class="add-form-item form-item-disabled">
|
<el-input
|
||||||
<el-input
|
readonly
|
||||||
readonly
|
v-model="qbfsForm.releaseDate"
|
||||||
v-model="qbfsForm.implementDate"
|
placeholder="请输入发布日期"
|
||||||
placeholder="请输入实施日期"
|
clearable
|
||||||
clearable
|
></el-input>
|
||||||
></el-input>
|
</el-form-item>
|
||||||
</el-form-item>
|
<el-form-item label="实施日期" prop="implementDate" class="add-form-item form-item-disabled">
|
||||||
<el-form-item label="复审日期" prop="reviewDate" class="add-form-item form-item-disabled">
|
<el-input
|
||||||
<el-input
|
readonly
|
||||||
readonly
|
v-model="qbfsForm.implementDate"
|
||||||
v-model="qbfsForm.reviewDate"
|
placeholder="请输入实施日期"
|
||||||
placeholder="请输入复审日期"
|
clearable
|
||||||
clearable
|
></el-input>
|
||||||
></el-input>
|
</el-form-item>
|
||||||
</el-form-item>
|
<el-form-item label="复审日期" prop="reviewDate" class="add-form-item form-item-disabled">
|
||||||
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
|
<el-input
|
||||||
<div class="file-box" v-if="fileList.length > 0">
|
readonly
|
||||||
<p v-for="item in fileList"
|
v-model="qbfsForm.reviewDate"
|
||||||
:key="item.id"> {{ item.oldFileName }}
|
placeholder="请输入复审日期"
|
||||||
<i
|
clearable
|
||||||
title="下载"
|
></el-input>
|
||||||
@click="downloadFile(item.id)"
|
</el-form-item>
|
||||||
class="icon-download"
|
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
|
||||||
v-btn-permission="''"
|
<div class="file-box" v-if="fileList.length > 0">
|
||||||
/>
|
<p v-for="item in fileList"
|
||||||
<i
|
:key="item.id"> {{ item.oldFileName }}
|
||||||
title="下载带水印"
|
<i
|
||||||
@click="downloadFileByWater(item.id, item.name)"
|
title="下载"
|
||||||
class="icon-download2"
|
@click="downloadFile(item.id)"
|
||||||
v-btn-permission="''"
|
class="icon-download"
|
||||||
/>
|
v-btn-permission="''"
|
||||||
</p>
|
/>
|
||||||
</div>
|
<i
|
||||||
<div v-else>
|
title="下载带水印"
|
||||||
暂无数据
|
@click="downloadFileByWater(item.id, item.name)"
|
||||||
</div>
|
class="icon-download2"
|
||||||
</el-form-item>
|
v-btn-permission="''"
|
||||||
<el-form-item class="add-form-item ">
|
/>
|
||||||
</el-form-item>
|
</p>
|
||||||
</el-col>
|
</div>
|
||||||
</el-row>
|
<div v-else>
|
||||||
|
暂无数据
|
||||||
|
</div>
|
||||||
|
</el-form-item>
|
||||||
|
<el-form-item class="add-form-item ">
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
</el-form>
|
</el-collapse-transition>
|
||||||
<el-button style="width: 100%" :icon=" foldFormFlag ? 'el-icon-caret-top': 'el-icon-caret-bottom'" @click="foldForm">{{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}</el-button>
|
<el-button style="width: 100%" :icon=" foldFormFlag ? 'el-icon-caret-top': 'el-icon-caret-bottom'" @click="foldForm">{{ foldFormFlag ? '隐藏基础信息' : '展开基础信息' }}</el-button>
|
||||||
<ProcessTitle>
|
<ProcessTitle>
|
||||||
<template slot="title">审核信息</template>
|
<template slot="title">审核信息</template>
|
||||||
@@ -141,7 +143,7 @@
|
|||||||
<el-table
|
<el-table
|
||||||
:data="dataList"
|
:data="dataList"
|
||||||
border
|
border
|
||||||
height="52%"
|
height="100%"
|
||||||
style="width: 100%;"
|
style="width: 100%;"
|
||||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||||
fontWeight: 'bold', height: '48px'}">
|
fontWeight: 'bold', height: '48px'}">
|
||||||
@@ -180,7 +182,7 @@
|
|||||||
<el-table
|
<el-table
|
||||||
height="100%"
|
height="100%"
|
||||||
ref="selection"
|
ref="selection"
|
||||||
:data="histortData"
|
:data="detailData"
|
||||||
tooltip-effect="dark"
|
tooltip-effect="dark"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
border
|
border
|
||||||
@@ -248,14 +250,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<phone-role
|
||||||
<Role-tree
|
:role-title="drawerTitle"
|
||||||
check-box
|
:result-list="phoneRoleList"
|
||||||
:is-title="drawerTitle"
|
:is-show-phone.sync="phoneshowflag"
|
||||||
:is-visible.sync="drawerModal"
|
@checkedRole="drawerCheck"
|
||||||
@checkedRole="checkedRole"
|
/>
|
||||||
:nodeList="nodeList"
|
|
||||||
></Role-tree>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -277,6 +277,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
active: "1",
|
active: "1",
|
||||||
isTransfer: false,
|
isTransfer: false,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
@@ -419,31 +422,32 @@ export default {
|
|||||||
foldForm() {
|
foldForm() {
|
||||||
this.foldFormFlag = !this.foldFormFlag;
|
this.foldFormFlag = !this.foldFormFlag;
|
||||||
},
|
},
|
||||||
//转办事件
|
//转办按钮
|
||||||
handleTransfer() {
|
handleTransfer(){
|
||||||
this.drawerModal = true;
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = "转办处理人";
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row;
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRole(data) {
|
drawerCheck (data) {
|
||||||
this.assigneeNewLoading = true;
|
this.roleTransfer = data
|
||||||
|
this.phoneRoleList = this.roleTransfer
|
||||||
|
this.turnLoading = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
pId: this.$route.query.prcId // 流程实例
|
pId: this.$route.query.prcId // 流程实例
|
||||||
}).then(res => {
|
}).then(res =>{
|
||||||
this.isTransfer = false;
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false;
|
this.turnLoading = false
|
||||||
this.$message.success("调整成功");
|
this.$message.success('调整成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter")
|
||||||
this.processNum();
|
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message);
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
});
|
})
|
||||||
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum(row) {
|
processNum(row) {
|
||||||
|
|||||||
@@ -183,14 +183,6 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<!-- 福田全公司选人解决方案 -->
|
|
||||||
<Role-tree
|
|
||||||
check-box
|
|
||||||
:is-title="drawerTitle"
|
|
||||||
:is-visible.sync="drawerModal"
|
|
||||||
@checkedRole="checkedRoles"
|
|
||||||
:nodeList="nodeList"
|
|
||||||
></Role-tree>
|
|
||||||
<!-- 选择责任人-->
|
<!-- 选择责任人-->
|
||||||
<Role-tree
|
<Role-tree
|
||||||
:is-title="drawerTitle"
|
:is-title="drawerTitle"
|
||||||
@@ -198,6 +190,12 @@
|
|||||||
@checkedRole="checkedRole"
|
@checkedRole="checkedRole"
|
||||||
:nodeList="nodeList"
|
:nodeList="nodeList"
|
||||||
></Role-tree>
|
></Role-tree>
|
||||||
|
<phone-role
|
||||||
|
:role-title="drawerTitle"
|
||||||
|
:result-list="phoneRoleList"
|
||||||
|
:is-show-phone.sync="phoneshowflag"
|
||||||
|
@checkedRole="drawerCheck"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -219,6 +217,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
active: '1',
|
active: '1',
|
||||||
fileList: [],
|
fileList: [],
|
||||||
commentText: '',
|
commentText: '',
|
||||||
@@ -345,31 +346,32 @@ export default {
|
|||||||
}, e => {
|
}, e => {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//转办事件
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = '转办处理人'
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRoles (data) {
|
drawerCheck (data) {
|
||||||
this.assigneeNewLoading = true
|
this.roleTransfer = data
|
||||||
|
this.phoneRoleList = this.roleTransfer
|
||||||
|
this.turnLoading = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
pId: this.$route.query.prcId // 流程实例
|
pId: this.$route.query.prcId // 流程实例
|
||||||
}).then(res => {
|
}).then(res =>{
|
||||||
this.isTransfer = false
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter")
|
||||||
this.processNum()
|
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum (row) {
|
processNum (row) {
|
||||||
|
|||||||
@@ -319,14 +319,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<phone-role
|
||||||
<Role-tree
|
:role-title="drawerTitle"
|
||||||
check-box
|
:result-list="phoneRoleList"
|
||||||
:is-title="drawerTitle"
|
:is-show-phone.sync="phoneshowflag"
|
||||||
:is-visible.sync="drawerModal"
|
@checkedRole="drawerCheck"
|
||||||
@checkedRole="checkedRole"
|
/>
|
||||||
:nodeList="nodeList"
|
|
||||||
></Role-tree>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -349,6 +347,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
active: "1",
|
active: "1",
|
||||||
isTransfer: false,
|
isTransfer: false,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
@@ -502,31 +503,32 @@ export default {
|
|||||||
foldForm() {
|
foldForm() {
|
||||||
this.foldFormFlag = !this.foldFormFlag;
|
this.foldFormFlag = !this.foldFormFlag;
|
||||||
},
|
},
|
||||||
//转办事件
|
//转办按钮
|
||||||
handleTransfer() {
|
handleTransfer(){
|
||||||
this.drawerModal = true;
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = "转办处理人";
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row;
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRole(data) {
|
drawerCheck (data) {
|
||||||
this.assigneeNewLoading = true;
|
this.roleTransfer = data
|
||||||
|
this.phoneRoleList = this.roleTransfer
|
||||||
|
this.turnLoading = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
pId: this.$route.query.prcId // 流程实例
|
pId: this.$route.query.prcId // 流程实例
|
||||||
}).then(res => {
|
}).then(res =>{
|
||||||
this.isTransfer = false;
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false;
|
this.turnLoading = false
|
||||||
this.$message.success("调整成功");
|
this.$message.success('调整成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter")
|
||||||
this.processNum();
|
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message);
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
});
|
})
|
||||||
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum(row) {
|
processNum(row) {
|
||||||
|
|||||||
@@ -319,14 +319,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<phone-role
|
||||||
<Role-tree
|
:role-title="drawerTitle"
|
||||||
check-box
|
:result-list="phoneRoleList"
|
||||||
:is-title="drawerTitle"
|
:is-show-phone.sync="phoneshowflag"
|
||||||
:is-visible.sync="drawerModal"
|
@checkedRole="drawerCheck"
|
||||||
@checkedRole="checkedRole"
|
/>
|
||||||
:nodeList="nodeList"
|
|
||||||
></Role-tree>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -349,6 +347,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
active: "1",
|
active: "1",
|
||||||
isTransfer: false,
|
isTransfer: false,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
@@ -502,31 +503,32 @@ export default {
|
|||||||
foldForm() {
|
foldForm() {
|
||||||
this.foldFormFlag = !this.foldFormFlag;
|
this.foldFormFlag = !this.foldFormFlag;
|
||||||
},
|
},
|
||||||
//转办事件
|
//转办按钮
|
||||||
handleTransfer() {
|
handleTransfer(){
|
||||||
this.drawerModal = true;
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = "转办处理人";
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row;
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRole(data) {
|
drawerCheck (data) {
|
||||||
this.assigneeNewLoading = true;
|
this.roleTransfer = data
|
||||||
|
this.phoneRoleList = this.roleTransfer
|
||||||
|
this.turnLoading = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
pId: this.$route.query.prcId // 流程实例
|
pId: this.$route.query.prcId // 流程实例
|
||||||
}).then(res => {
|
}).then(res =>{
|
||||||
this.isTransfer = false;
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false;
|
this.turnLoading = false
|
||||||
this.$message.success("调整成功");
|
this.$message.success('调整成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter")
|
||||||
this.processNum();
|
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message);
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
});
|
})
|
||||||
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum(row) {
|
processNum(row) {
|
||||||
|
|||||||
@@ -319,14 +319,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<phone-role
|
||||||
<Role-tree
|
:role-title="drawerTitle"
|
||||||
check-box
|
:result-list="phoneRoleList"
|
||||||
:is-title="drawerTitle"
|
:is-show-phone.sync="phoneshowflag"
|
||||||
:is-visible.sync="drawerModal"
|
@checkedRole="drawerCheck"
|
||||||
@checkedRole="checkedRole"
|
/>
|
||||||
:nodeList="nodeList"
|
|
||||||
></Role-tree>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -349,6 +347,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
active: "1",
|
active: "1",
|
||||||
isTransfer: false,
|
isTransfer: false,
|
||||||
isSubmit: false,
|
isSubmit: false,
|
||||||
@@ -502,31 +503,32 @@ export default {
|
|||||||
foldForm() {
|
foldForm() {
|
||||||
this.foldFormFlag = !this.foldFormFlag;
|
this.foldFormFlag = !this.foldFormFlag;
|
||||||
},
|
},
|
||||||
//转办事件
|
//转办按钮
|
||||||
handleTransfer() {
|
handleTransfer(){
|
||||||
this.drawerModal = true;
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = "转办处理人";
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row;
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRole(data) {
|
drawerCheck (data) {
|
||||||
this.assigneeNewLoading = true;
|
this.roleTransfer = data
|
||||||
|
this.phoneRoleList = this.roleTransfer
|
||||||
|
this.turnLoading = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
pId: this.$route.query.prcId // 流程实例
|
pId: this.$route.query.prcId // 流程实例
|
||||||
}).then(res => {
|
}).then(res =>{
|
||||||
this.isTransfer = false;
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false;
|
this.turnLoading = false
|
||||||
this.$message.success("调整成功");
|
this.$message.success('调整成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter")
|
||||||
this.processNum();
|
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message);
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
});
|
})
|
||||||
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum(row) {
|
processNum(row) {
|
||||||
|
|||||||
@@ -249,14 +249,12 @@
|
|||||||
@checkedRole="checkedRole"
|
@checkedRole="checkedRole"
|
||||||
:nodeList="nodeList"
|
:nodeList="nodeList"
|
||||||
></Role-tree>
|
></Role-tree>
|
||||||
<!-- 福田全公司选人解决方案 -->
|
<phone-role
|
||||||
<Role-tree
|
:role-title="drawerTitle"
|
||||||
check-box
|
:result-list="phoneRoleList"
|
||||||
:is-title="drawerTitle"
|
:is-show-phone.sync="phoneshowflag"
|
||||||
:is-visible.sync="drawerModal"
|
@checkedRole="drawerCheck"
|
||||||
@checkedRole="checkedTransferRole"
|
/>
|
||||||
:nodeList="nodeList"
|
|
||||||
></Role-tree>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -278,6 +276,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data(){
|
data(){
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
active: '1',
|
active: '1',
|
||||||
type: '',
|
type: '',
|
||||||
commentText: '',
|
commentText: '',
|
||||||
@@ -339,31 +340,32 @@ export default {
|
|||||||
handleTabs(name){
|
handleTabs(name){
|
||||||
this.active = name
|
this.active = name
|
||||||
},
|
},
|
||||||
//转办事件
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = '转办处理人'
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRole (data) {
|
drawerCheck (data) {
|
||||||
this.assigneeNewLoading = true
|
this.roleTransfer = data
|
||||||
|
this.phoneRoleList = this.roleTransfer
|
||||||
|
this.turnLoading = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
pId: this.$route.query.prcId // 流程实例
|
pId: this.$route.query.prcId // 流程实例
|
||||||
}).then(res => {
|
}).then(res =>{
|
||||||
this.isTransfer = false
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter")
|
||||||
this.processNum()
|
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum (row) {
|
processNum (row) {
|
||||||
|
|||||||
@@ -242,21 +242,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<Role-tree
|
<phone-role
|
||||||
check-box
|
:role-title="drawerTitle"
|
||||||
:is-title="drawerTitle"
|
:result-list="phoneRoleList"
|
||||||
:is-visible.sync="modalshowflag"
|
:is-show-phone.sync="phoneshowflag"
|
||||||
@checkedRole="checkedRole"
|
@checkedRole="drawerCheck"
|
||||||
:nodeList="nodeList"
|
/>
|
||||||
></Role-tree>
|
|
||||||
<!-- 福田全公司选人解决方案 -->
|
|
||||||
<Role-tree
|
|
||||||
check-box
|
|
||||||
:is-title="drawerTitle"
|
|
||||||
:is-visible.sync="drawerModal"
|
|
||||||
@checkedRole="checkedTransferRole"
|
|
||||||
:nodeList="nodeList"
|
|
||||||
></Role-tree>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -278,6 +269,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data(){
|
data(){
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
active: '1',
|
active: '1',
|
||||||
type: '',
|
type: '',
|
||||||
commentText: '',
|
commentText: '',
|
||||||
@@ -339,31 +333,32 @@ export default {
|
|||||||
handleTabs(name){
|
handleTabs(name){
|
||||||
this.active = name
|
this.active = name
|
||||||
},
|
},
|
||||||
//转办事件
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = '转办处理人'
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRole (data) {
|
drawerCheck (data) {
|
||||||
this.assigneeNewLoading = true
|
this.roleTransfer = data
|
||||||
|
this.phoneRoleList = this.roleTransfer
|
||||||
|
this.turnLoading = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
pId: this.$route.query.prcId // 流程实例
|
pId: this.$route.query.prcId // 流程实例
|
||||||
}).then(res => {
|
}).then(res =>{
|
||||||
this.isTransfer = false
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter")
|
||||||
this.processNum()
|
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum (row) {
|
processNum (row) {
|
||||||
|
|||||||
@@ -242,21 +242,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<Role-tree
|
<phone-role
|
||||||
check-box
|
:role-title="drawerTitle"
|
||||||
:is-title="drawerTitle"
|
:result-list="phoneRoleList"
|
||||||
:is-visible.sync="modalshowflag"
|
:is-show-phone.sync="phoneshowflag"
|
||||||
@checkedRole="checkedRole"
|
@checkedRole="drawerCheck"
|
||||||
:nodeList="nodeList"
|
/>
|
||||||
></Role-tree>
|
|
||||||
<!-- 福田全公司选人解决方案 -->
|
|
||||||
<Role-tree
|
|
||||||
check-box
|
|
||||||
:is-title="drawerTitle"
|
|
||||||
:is-visible.sync="drawerModal"
|
|
||||||
@checkedRole="checkedTransferRole"
|
|
||||||
:nodeList="nodeList"
|
|
||||||
></Role-tree>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -278,6 +269,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data(){
|
data(){
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
active: '1',
|
active: '1',
|
||||||
type: '',
|
type: '',
|
||||||
commentText: '',
|
commentText: '',
|
||||||
@@ -339,31 +333,32 @@ export default {
|
|||||||
handleTabs(name){
|
handleTabs(name){
|
||||||
this.active = name
|
this.active = name
|
||||||
},
|
},
|
||||||
//转办事件
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = '转办处理人'
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRole (data) {
|
drawerCheck (data) {
|
||||||
this.assigneeNewLoading = true
|
this.roleTransfer = data
|
||||||
|
this.phoneRoleList = this.roleTransfer
|
||||||
|
this.turnLoading = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
pId: this.$route.query.prcId // 流程实例
|
pId: this.$route.query.prcId // 流程实例
|
||||||
}).then(res => {
|
}).then(res =>{
|
||||||
this.isTransfer = false
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter")
|
||||||
this.processNum()
|
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum (row) {
|
processNum (row) {
|
||||||
|
|||||||
@@ -242,21 +242,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<Role-tree
|
<phone-role
|
||||||
check-box
|
:role-title="drawerTitle"
|
||||||
:is-title="drawerTitle"
|
:result-list="phoneRoleList"
|
||||||
:is-visible.sync="modalshowflag"
|
:is-show-phone.sync="phoneshowflag"
|
||||||
@checkedRole="checkedRole"
|
@checkedRole="drawerCheck"
|
||||||
:nodeList="nodeList"
|
/>
|
||||||
></Role-tree>
|
|
||||||
<!-- 福田全公司选人解决方案 -->
|
|
||||||
<Role-tree
|
|
||||||
check-box
|
|
||||||
:is-title="drawerTitle"
|
|
||||||
:is-visible.sync="drawerModal"
|
|
||||||
@checkedRole="checkedTransferRole"
|
|
||||||
:nodeList="nodeList"
|
|
||||||
></Role-tree>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -278,6 +269,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data(){
|
data(){
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
active: '1',
|
active: '1',
|
||||||
type: '',
|
type: '',
|
||||||
commentText: '',
|
commentText: '',
|
||||||
@@ -339,31 +333,32 @@ export default {
|
|||||||
handleTabs(name){
|
handleTabs(name){
|
||||||
this.active = name
|
this.active = name
|
||||||
},
|
},
|
||||||
//转办事件
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = '转办处理人'
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
//确认转办
|
//确认转办
|
||||||
checkedRole (data) {
|
drawerCheck (data) {
|
||||||
this.assigneeNewLoading = true
|
this.roleTransfer = data
|
||||||
|
this.phoneRoleList = this.roleTransfer
|
||||||
|
this.turnLoading = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.$route.query.taskIds, // 任务id
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
userId: this.$store.getters.userInfo.userId, // 委托人
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
pId: this.$route.query.prcId // 流程实例
|
pId: this.$route.query.prcId // 流程实例
|
||||||
}).then(res => {
|
}).then(res =>{
|
||||||
this.isTransfer = false
|
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.drawerModal = false
|
this.turnLoading = false
|
||||||
this.$message.success('调整成功')
|
this.$message.success('调整成功')
|
||||||
this.$router.push("/processCenter");
|
this.$router.push("/processCenter")
|
||||||
this.processNum()
|
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
// 请求转换流程图
|
// 请求转换流程图
|
||||||
processNum (row) {
|
processNum (row) {
|
||||||
|
|||||||
@@ -146,6 +146,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
|
<phone-role
|
||||||
|
:role-title="drawerTitle"
|
||||||
|
:result-list="phoneRoleList"
|
||||||
|
:is-show-phone.sync="phoneshowflag"
|
||||||
|
@checkedRole="drawerCheck"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -168,6 +174,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
passInfo: 0,
|
passInfo: 0,
|
||||||
detailData: [],
|
detailData: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
@@ -396,9 +405,30 @@ export default {
|
|||||||
},
|
},
|
||||||
//转办按钮
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = '转办处理人'
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
|
},
|
||||||
|
//确认转办
|
||||||
|
drawerCheck (data) {
|
||||||
|
this.roleTransfer = data
|
||||||
|
this.phoneRoleList = this.roleTransfer
|
||||||
|
this.turnLoading = true
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
|
pId: this.$route.query.prcId // 流程实例
|
||||||
|
}).then(res =>{
|
||||||
|
if (res.success) {
|
||||||
|
this.turnLoading = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.$router.push("/processCenter")
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
// 流程阶段负责人选择
|
// 流程阶段负责人选择
|
||||||
choiceZRR (type, title, id) {
|
choiceZRR (type, title, id) {
|
||||||
@@ -408,42 +438,6 @@ export default {
|
|||||||
this.drawerTitle = title
|
this.drawerTitle = title
|
||||||
this.modalshowflag = true
|
this.modalshowflag = true
|
||||||
},
|
},
|
||||||
drawerCheck (data) {
|
|
||||||
if (this.drawerTitle === '转办处理人') {
|
|
||||||
this.turnLoading = true
|
|
||||||
changeAssigneeNew({
|
|
||||||
taskId: this.taskIds, // 任务id
|
|
||||||
assignee: data[0].id, // 被委托人
|
|
||||||
userId: this.userId, // 委托人
|
|
||||||
pId: this.pId // 流程实例
|
|
||||||
}).then(res =>{
|
|
||||||
if (res.success) {
|
|
||||||
this.turnLoading = false
|
|
||||||
this.$message.success('调整成功')
|
|
||||||
this.$router.push("/processCenter")
|
|
||||||
} else {
|
|
||||||
this.$message.warning(res.message)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.roleRow = data[0]
|
|
||||||
// 选取负责人时的操作
|
|
||||||
if (this.multipleSelection.length === 0) {
|
|
||||||
this.rowDutyPeople.dutyPeopleInfo = this.roleRow.name
|
|
||||||
this.rowDutyPeople.dutyPeopleInfoId = this.roleRow.id
|
|
||||||
}else {
|
|
||||||
this.multipleSelection.forEach(item => {
|
|
||||||
item.dutyPeopleInfo = this.roleRow.name
|
|
||||||
item.dutyPeopleInfoId = this.roleRow.id
|
|
||||||
})
|
|
||||||
this.$refs.multipleTable.clearSelection()
|
|
||||||
}
|
|
||||||
this.lastDataList = this.dataList
|
|
||||||
// 选取流程信息完成
|
|
||||||
// this.roleForm.dutyUserInfoName = this.roleRow.name
|
|
||||||
}
|
|
||||||
this.modalshowflag = false
|
|
||||||
},
|
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
|
|||||||
@@ -146,6 +146,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
|
<phone-role
|
||||||
|
:role-title="drawerTitle"
|
||||||
|
:result-list="phoneRoleList"
|
||||||
|
:is-show-phone.sync="phoneshowflag"
|
||||||
|
@checkedRole="drawerCheck"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -168,6 +174,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
passInfo: 0,
|
passInfo: 0,
|
||||||
detailData: [],
|
detailData: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
@@ -396,9 +405,30 @@ export default {
|
|||||||
},
|
},
|
||||||
//转办按钮
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = '转办处理人'
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
|
},
|
||||||
|
//确认转办
|
||||||
|
drawerCheck (data) {
|
||||||
|
this.roleTransfer = data
|
||||||
|
this.phoneRoleList = this.roleTransfer
|
||||||
|
this.turnLoading = true
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
|
pId: this.$route.query.prcId // 流程实例
|
||||||
|
}).then(res =>{
|
||||||
|
if (res.success) {
|
||||||
|
this.turnLoading = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.$router.push("/processCenter")
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
// 流程阶段负责人选择
|
// 流程阶段负责人选择
|
||||||
choiceZRR (type, title, id) {
|
choiceZRR (type, title, id) {
|
||||||
@@ -408,42 +438,6 @@ export default {
|
|||||||
this.drawerTitle = title
|
this.drawerTitle = title
|
||||||
this.modalshowflag = true
|
this.modalshowflag = true
|
||||||
},
|
},
|
||||||
drawerCheck (data) {
|
|
||||||
if (this.drawerTitle === '转办处理人') {
|
|
||||||
this.turnLoading = true
|
|
||||||
changeAssigneeNew({
|
|
||||||
taskId: this.taskIds, // 任务id
|
|
||||||
assignee: data[0].id, // 被委托人
|
|
||||||
userId: this.userId, // 委托人
|
|
||||||
pId: this.pId // 流程实例
|
|
||||||
}).then(res =>{
|
|
||||||
if (res.success) {
|
|
||||||
this.turnLoading = false
|
|
||||||
this.$message.success('调整成功')
|
|
||||||
this.$router.push("/processCenter")
|
|
||||||
} else {
|
|
||||||
this.$message.warning(res.message)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.roleRow = data[0]
|
|
||||||
// 选取负责人时的操作
|
|
||||||
if (this.multipleSelection.length === 0) {
|
|
||||||
this.rowDutyPeople.dutyPeopleInfo = this.roleRow.name
|
|
||||||
this.rowDutyPeople.dutyPeopleInfoId = this.roleRow.id
|
|
||||||
}else {
|
|
||||||
this.multipleSelection.forEach(item => {
|
|
||||||
item.dutyPeopleInfo = this.roleRow.name
|
|
||||||
item.dutyPeopleInfoId = this.roleRow.id
|
|
||||||
})
|
|
||||||
this.$refs.multipleTable.clearSelection()
|
|
||||||
}
|
|
||||||
this.lastDataList = this.dataList
|
|
||||||
// 选取流程信息完成
|
|
||||||
// this.roleForm.dutyUserInfoName = this.roleRow.name
|
|
||||||
}
|
|
||||||
this.modalshowflag = false
|
|
||||||
},
|
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
|
|||||||
@@ -146,6 +146,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
|
<phone-role
|
||||||
|
:role-title="drawerTitle"
|
||||||
|
:result-list="phoneRoleList"
|
||||||
|
:is-show-phone.sync="phoneshowflag"
|
||||||
|
@checkedRole="drawerCheck"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -168,6 +174,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
passInfo: 0,
|
passInfo: 0,
|
||||||
detailData: [],
|
detailData: [],
|
||||||
loading: false,
|
loading: false,
|
||||||
@@ -396,9 +405,30 @@ export default {
|
|||||||
},
|
},
|
||||||
//转办按钮
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = '转办处理人'
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
|
},
|
||||||
|
//确认转办
|
||||||
|
drawerCheck (data) {
|
||||||
|
this.roleTransfer = data
|
||||||
|
this.phoneRoleList = this.roleTransfer
|
||||||
|
this.turnLoading = true
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
|
pId: this.$route.query.prcId // 流程实例
|
||||||
|
}).then(res =>{
|
||||||
|
if (res.success) {
|
||||||
|
this.turnLoading = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.$router.push("/processCenter")
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
// 流程阶段负责人选择
|
// 流程阶段负责人选择
|
||||||
choiceZRR (type, title, id) {
|
choiceZRR (type, title, id) {
|
||||||
@@ -408,42 +438,6 @@ export default {
|
|||||||
this.drawerTitle = title
|
this.drawerTitle = title
|
||||||
this.modalshowflag = true
|
this.modalshowflag = true
|
||||||
},
|
},
|
||||||
drawerCheck (data) {
|
|
||||||
if (this.drawerTitle === '转办处理人') {
|
|
||||||
this.turnLoading = true
|
|
||||||
changeAssigneeNew({
|
|
||||||
taskId: this.taskIds, // 任务id
|
|
||||||
assignee: data[0].id, // 被委托人
|
|
||||||
userId: this.userId, // 委托人
|
|
||||||
pId: this.pId // 流程实例
|
|
||||||
}).then(res =>{
|
|
||||||
if (res.success) {
|
|
||||||
this.turnLoading = false
|
|
||||||
this.$message.success('调整成功')
|
|
||||||
this.$router.push("/processCenter")
|
|
||||||
} else {
|
|
||||||
this.$message.warning(res.message)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
this.roleRow = data[0]
|
|
||||||
// 选取负责人时的操作
|
|
||||||
if (this.multipleSelection.length === 0) {
|
|
||||||
this.rowDutyPeople.dutyPeopleInfo = this.roleRow.name
|
|
||||||
this.rowDutyPeople.dutyPeopleInfoId = this.roleRow.id
|
|
||||||
}else {
|
|
||||||
this.multipleSelection.forEach(item => {
|
|
||||||
item.dutyPeopleInfo = this.roleRow.name
|
|
||||||
item.dutyPeopleInfoId = this.roleRow.id
|
|
||||||
})
|
|
||||||
this.$refs.multipleTable.clearSelection()
|
|
||||||
}
|
|
||||||
this.lastDataList = this.dataList
|
|
||||||
// 选取流程信息完成
|
|
||||||
// this.roleForm.dutyUserInfoName = this.roleRow.name
|
|
||||||
}
|
|
||||||
this.modalshowflag = false
|
|
||||||
},
|
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
|
|||||||
@@ -55,6 +55,10 @@
|
|||||||
<el-table-column prop="dutyEngineer" width="150" label="责任工程师" align="center"/>
|
<el-table-column prop="dutyEngineer" width="150" label="责任工程师" align="center"/>
|
||||||
<el-table-column label="选择分发责任人" prop="dutyPeopleInfo" align="center">
|
<el-table-column label="选择分发责任人" prop="dutyPeopleInfo" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
<el-input
|
||||||
|
v-model="scope.row.dutyPeopleInfoId"
|
||||||
|
style="display: none"
|
||||||
|
/>
|
||||||
<el-input
|
<el-input
|
||||||
@click.native="clickOpen(scope.row)"
|
@click.native="clickOpen(scope.row)"
|
||||||
v-model="scope.row.dutyPeopleInfo"
|
v-model="scope.row.dutyPeopleInfo"
|
||||||
@@ -212,16 +216,21 @@ export default {
|
|||||||
if (this.multipleSelection.length === 0) {
|
if (this.multipleSelection.length === 0) {
|
||||||
this.$message.warning("请选择至少一条数据进行分发责任人");
|
this.$message.warning("请选择至少一条数据进行分发责任人");
|
||||||
} else {
|
} else {
|
||||||
this.nodeList = []
|
this.phoneRoleList = []
|
||||||
this.nodeList.push(id)
|
if (this.multipleSelection[0].dutyPeopleInfoId.length > 0) {
|
||||||
|
this.phoneRoleList = this.multipleSelection[0].dutyPeopleInfoId.split(',')
|
||||||
|
}
|
||||||
this.modalshowflag = true
|
this.modalshowflag = true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 每行选择负责人点击操作
|
// 每行选择负责人点击操作
|
||||||
clickOpen(val, id) {
|
clickOpen(val, id) {
|
||||||
|
console.log()
|
||||||
this.$refs.multipleTable.clearSelection()
|
this.$refs.multipleTable.clearSelection()
|
||||||
this.rowDutyPeople = val
|
this.rowDutyPeople = val
|
||||||
this.phoneRoleList = this.rowDutyPeople
|
if (this.rowDutyPeople.dutyPeopleId.length > 0) {
|
||||||
|
this.phoneRoleList = this.rowDutyPeople.dutyPeopleId.split(',')
|
||||||
|
}
|
||||||
this.drawerTitle = '选择分发责任人'
|
this.drawerTitle = '选择分发责任人'
|
||||||
this.modalshowflag = true
|
this.modalshowflag = true
|
||||||
},
|
},
|
||||||
@@ -235,8 +244,8 @@ export default {
|
|||||||
|
|
||||||
// 转办按钮
|
// 转办按钮
|
||||||
handleTurnTo() {
|
handleTurnTo() {
|
||||||
|
this.phoneRoleList = []
|
||||||
this.modalshowflag = true
|
this.modalshowflag = true
|
||||||
this.phoneRoleList = this.roleTransfer
|
|
||||||
this.drawerTitle = '转办处理人'
|
this.drawerTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
// 保存按钮
|
// 保存按钮
|
||||||
@@ -306,8 +315,6 @@ export default {
|
|||||||
|
|
||||||
drawerCheck (data) {
|
drawerCheck (data) {
|
||||||
if (this.drawerTitle === '转办处理人') {
|
if (this.drawerTitle === '转办处理人') {
|
||||||
this.roleTransfer = data
|
|
||||||
this.phoneRoleList = this.roleTransfer
|
|
||||||
this.turnLoading = true
|
this.turnLoading = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.taskIds, // 任务id
|
taskId: this.taskIds, // 任务id
|
||||||
@@ -324,9 +331,11 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.roleDutyPeople = data
|
if (data.length > 0) {
|
||||||
this.phoneRoleList = this.roleDutyPeople
|
this.roleDutyPeople = data[0].id
|
||||||
this.roleRow = data[0]
|
this.phoneRoleList = this.roleDutyPeople.split(',')
|
||||||
|
this.roleRow = data[0]
|
||||||
|
}
|
||||||
// 选取负责人时的操作
|
// 选取负责人时的操作
|
||||||
if (this.multipleSelection.length === 0) {
|
if (this.multipleSelection.length === 0) {
|
||||||
this.rowDutyPeople.dutyPeopleInfo = this.roleRow.name
|
this.rowDutyPeople.dutyPeopleInfo = this.roleRow.name
|
||||||
@@ -344,30 +353,6 @@ export default {
|
|||||||
}
|
}
|
||||||
this.modalshowflag = false
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
//查询按钮
|
|
||||||
/*getTableByPage({ standId, productName, responsibleUnit }) {//多条件和模糊查询
|
|
||||||
this.realList = this.dataList.filter(item => {
|
|
||||||
let matchId = true; // 标准号 筛选
|
|
||||||
let matchName = true; // 项目名称 筛选
|
|
||||||
let matchUnit = true; // 部门 筛选
|
|
||||||
|
|
||||||
if (standId) {
|
|
||||||
const keysId = standId
|
|
||||||
.toUpperCase() // 转大写
|
|
||||||
.replace(' ', '') // 删掉空格
|
|
||||||
.split('') // 切割成 单个字
|
|
||||||
matchId = keysId.every(key => item.standId.toUpperCase().includes(key));
|
|
||||||
}
|
|
||||||
if (productName) {
|
|
||||||
matchName = item.productName === productName;
|
|
||||||
}
|
|
||||||
if (responsibleUnit) {
|
|
||||||
matchUnit = item.responsibleUnit === responsibleUnit;
|
|
||||||
}
|
|
||||||
return matchId && matchName && matchUnit;
|
|
||||||
})
|
|
||||||
this.dataList = this.realList
|
|
||||||
},*/
|
|
||||||
// 点击查看
|
// 点击查看
|
||||||
handlePreview (item) {
|
handlePreview (item) {
|
||||||
let routeUrl = this.$router.resolve({
|
let routeUrl = this.$router.resolve({
|
||||||
|
|||||||
@@ -56,6 +56,10 @@
|
|||||||
<el-table-column label="选择责任人" prop="dutyPeople" width="200" align="center">
|
<el-table-column label="选择责任人" prop="dutyPeople" width="200" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div style="display: inline;">
|
<div style="display: inline;">
|
||||||
|
<el-input
|
||||||
|
v-model="scope.row.dutyPeopleInfoId"
|
||||||
|
style="display: none"
|
||||||
|
/>
|
||||||
<el-input
|
<el-input
|
||||||
class="input-button"
|
class="input-button"
|
||||||
style="width: 60%"
|
style="width: 60%"
|
||||||
@@ -186,6 +190,13 @@ export default {
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
if (item.passInfo !== 0) {
|
if (item.passInfo !== 0) {
|
||||||
this.passInfo = JSON.parse(JSON.stringify(item)).passInfo
|
this.passInfo = JSON.parse(JSON.stringify(item)).passInfo
|
||||||
|
let fileData = JSON.parse(JSON.stringify(item)).dockUserList
|
||||||
|
for (let i = 0; i<fileData.length; i++) {
|
||||||
|
if (fileData[i].name.slice(0,fileData[i].name.indexOf('(')) === this.$store.getters.userInfo.userName) {
|
||||||
|
this.dataList = fileData[0].standardInfoList
|
||||||
|
this.standardInfoList = this.dataList
|
||||||
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
let fileData = JSON.parse(JSON.stringify(item)).dockUserList
|
let fileData = JSON.parse(JSON.stringify(item)).dockUserList
|
||||||
for (let i = 0; i<fileData.length; i++) {
|
for (let i = 0; i<fileData.length; i++) {
|
||||||
@@ -201,8 +212,9 @@ export default {
|
|||||||
selectPeople(val) {
|
selectPeople(val) {
|
||||||
this.$refs.multipleTable.clearSelection();
|
this.$refs.multipleTable.clearSelection();
|
||||||
this.newDataList = val
|
this.newDataList = val
|
||||||
this.nodeList = []
|
if (this.newDataList.dutyPeopleId.length > 0) {
|
||||||
this.phoneRoleList = this.roleDutyPeople
|
this.phoneRoleList = this.newDataList.dutyPeopleId.split(',')
|
||||||
|
}
|
||||||
this.showPage = true
|
this.showPage = true
|
||||||
this.roleTitle = '选择人员信息'
|
this.roleTitle = '选择人员信息'
|
||||||
},
|
},
|
||||||
@@ -211,8 +223,11 @@ export default {
|
|||||||
if (this.selectTableMore.length === 0) {
|
if (this.selectTableMore.length === 0) {
|
||||||
this.$message.warning("请选择至少一条数据进行分发责任人");
|
this.$message.warning("请选择至少一条数据进行分发责任人");
|
||||||
} else {
|
} else {
|
||||||
this.nodeList = []
|
this.phoneRoleList = []
|
||||||
this.nodeList.push(id)
|
if (this.multipleSelection[0].dutyPeopleId.length > 0) {
|
||||||
|
this.phoneRoleList = this.multipleSelection[0].dutyPeopleId.split(',')
|
||||||
|
}
|
||||||
|
this.modalshowflag = true
|
||||||
this.modalshowflag = true
|
this.modalshowflag = true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -225,7 +240,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 转办按钮
|
// 转办按钮
|
||||||
handleTurnTo() {
|
handleTurnTo() {
|
||||||
this.phoneRoleList = this.roleTransfer
|
this.phoneRoleList = []
|
||||||
this.showPage = true
|
this.showPage = true
|
||||||
this.roleTitle = '转办处理人'
|
this.roleTitle = '转办处理人'
|
||||||
},
|
},
|
||||||
@@ -351,12 +366,10 @@ export default {
|
|||||||
|
|
||||||
phoneSumit (data) {
|
phoneSumit (data) {
|
||||||
if (this.roleTitle === '转办处理人') {
|
if (this.roleTitle === '转办处理人') {
|
||||||
this.roleTransfer = data
|
|
||||||
this.phoneRoleList = this.roleTransfer
|
|
||||||
this.turnLoading = true
|
this.turnLoading = true
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.taskIds, // 任务id
|
taskId: this.taskIds, // 任务id
|
||||||
assignee: this.phoneRoleList[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
userId: this.userId, // 委托人
|
userId: this.userId, // 委托人
|
||||||
pId: this.pId // 流程实例
|
pId: this.pId // 流程实例
|
||||||
}).then(res =>{
|
}).then(res =>{
|
||||||
@@ -371,17 +384,19 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.roleDutyPeople = data
|
if (data.length > 0) {
|
||||||
this.phoneRoleList = this.roleDutyPeople
|
this.roleDutyPeople = data[0].id
|
||||||
this.roleForm = data[0]
|
this.phoneRoleList = this.roleDutyPeople.split(',')
|
||||||
|
this.roleForm = data[0]
|
||||||
|
}
|
||||||
// 选择责任人时input框内值
|
// 选择责任人时input框内值
|
||||||
if (this.selectTableMore.length ===0) {
|
if (this.selectTableMore.length ===0) {
|
||||||
this.newDataList.dutyPeople = this.roleForm.userName
|
this.newDataList.dutyPeople = this.roleForm.name
|
||||||
this.newDataList.dutyPeopleId = this.roleForm.usId
|
this.newDataList.dutyPeopleId = this.roleForm.id
|
||||||
}else {
|
}else {
|
||||||
this.selectTableMore.forEach(item => {
|
this.selectTableMore.forEach(item => {
|
||||||
item.dutyPeople = this.roleForm.userName
|
item.dutyPeople = this.roleForm.name
|
||||||
item.dutyPeopleId = this.roleForm.usId
|
item.dutyPeopleId = this.roleForm.id
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
this.lastDataList = this.dataList
|
this.lastDataList = this.dataList
|
||||||
|
|||||||
@@ -90,13 +90,6 @@
|
|||||||
>
|
>
|
||||||
</el-upload>
|
</el-upload>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!-- <Role-tree
|
|
||||||
check-box
|
|
||||||
:is-title="drawerTitle"
|
|
||||||
:is-visible.sync="modalshowflag"
|
|
||||||
:nodeList="nodeList"
|
|
||||||
@checkedRole="drawerCheck"
|
|
||||||
/>-->
|
|
||||||
<!-- 写有 check-more 是多人,没有就是单人 -->
|
<!-- 写有 check-more 是多人,没有就是单人 -->
|
||||||
<phone-role
|
<phone-role
|
||||||
:role-title="roleTitle"
|
:role-title="roleTitle"
|
||||||
@@ -247,7 +240,6 @@ export default {
|
|||||||
},
|
},
|
||||||
// 转办选人框
|
// 转办选人框
|
||||||
phoneSumit (data) {
|
phoneSumit (data) {
|
||||||
this.phoneRoleList = data
|
|
||||||
changeAssigneeNew({
|
changeAssigneeNew({
|
||||||
taskId: this.taskIds, // 任务id
|
taskId: this.taskIds, // 任务id
|
||||||
assignee: data[0].id, // 被委托人
|
assignee: data[0].id, // 被委托人
|
||||||
|
|||||||
@@ -262,6 +262,12 @@
|
|||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
|
<phone-role
|
||||||
|
:role-title="drawerTitle"
|
||||||
|
:result-list="phoneRoleList"
|
||||||
|
:is-show-phone.sync="phoneshowflag"
|
||||||
|
@checkedRole="drawerCheck"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -284,6 +290,9 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
phoneshowflag: false,
|
||||||
|
phoneRoleList: [],
|
||||||
|
phoneDrawerTitle: '',
|
||||||
//折叠的标志,true为折叠,false为不折叠
|
//折叠的标志,true为折叠,false为不折叠
|
||||||
foldFormFlag: false,
|
foldFormFlag: false,
|
||||||
lawInfoTableLoading: true,
|
lawInfoTableLoading: true,
|
||||||
@@ -403,11 +412,32 @@ export default {
|
|||||||
this.processStep = window.URL.createObjectURL(res.data)
|
this.processStep = window.URL.createObjectURL(res.data)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//转办事件
|
//转办按钮
|
||||||
handleTransfer(){
|
handleTransfer(){
|
||||||
this.drawerModal = true
|
this.phoneshowflag = true
|
||||||
this.drawerTitle = '转办处理人'
|
this.phoneRoleList = this.roleTransfer
|
||||||
this.selectPeople = row
|
this.phoneDrawerTitle = '转办处理人'
|
||||||
|
},
|
||||||
|
//确认转办
|
||||||
|
drawerCheck (data) {
|
||||||
|
this.roleTransfer = data
|
||||||
|
this.phoneRoleList = this.roleTransfer
|
||||||
|
this.turnLoading = true
|
||||||
|
changeAssigneeNew({
|
||||||
|
taskId: this.$route.query.taskIds, // 任务id
|
||||||
|
assignee: data[0].id, // 被委托人
|
||||||
|
userId: this.$store.getters.userInfo.userId, // 委托人
|
||||||
|
pId: this.$route.query.prcId // 流程实例
|
||||||
|
}).then(res =>{
|
||||||
|
if (res.success) {
|
||||||
|
this.turnLoading = false
|
||||||
|
this.$message.success('调整成功')
|
||||||
|
this.$router.push("/processCenter")
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.modalshowflag = false
|
||||||
},
|
},
|
||||||
// 将文本状态的id与name对应
|
// 将文本状态的id与name对应
|
||||||
setMap(data) {
|
setMap(data) {
|
||||||
|
|||||||
@@ -18,14 +18,8 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
closeWindow(){
|
closeWindow(){
|
||||||
const userAgent = navigator.userAgent;
|
window.location.href="about:blank";
|
||||||
if (userAgent.indexOf("Firefox") != -1 || userAgent.indexOf("Chrome") !=-1) {
|
window.close();
|
||||||
window.location.href = "about:blank"
|
|
||||||
}else {
|
|
||||||
window.opener = null;
|
|
||||||
window.open("about:blank", "_self");
|
|
||||||
window.close();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
const nowTime = new Date().getTime()
|
const nowTime = new Date().getTime()
|
||||||
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
// window.open('http://127.0.0.1:8012/onlinePreview?url='+encodeURIComponent(Base64.encode(editFileInfo.downLoadUrl)));
|
||||||
// window.open('/static/onlyOffice/onlinePreview.html?oldFileName=' + editFileInfo.oldFileName + '&fileType=' + editFileInfo.fileSuffix + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id + nowTime+'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName)
|
// 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))
|
// window.open('/static/pdf/web/viewer.html?file=' + encodeURIComponent('/api/att/attFile/getFileInfo?fileId=' + editFileInfo.id))
|
||||||
}
|
}
|
||||||
|
|||||||
+42
-8
@@ -1220,13 +1220,44 @@ const routes = [
|
|||||||
title: '标准调研流程'
|
title: '标准调研流程'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/phoneBzzqyjStep2',
|
||||||
|
name: 'phoneBzzqyjStep2',
|
||||||
|
component: () => import('@/pages/processCenter/pages/phone/bzzqyj/step2.vue'),
|
||||||
|
meta: {
|
||||||
|
isBoolean: true,
|
||||||
|
requireAuth: true,
|
||||||
|
title: '标准征求意见流程'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/phoneBzzqyjStep4-1',
|
||||||
|
name: 'phoneBzzqyjStep4-1',
|
||||||
|
component: () => import('@/pages/processCenter/pages/phone/bzzqyj/step4-1.vue'),
|
||||||
|
meta: {
|
||||||
|
isBoolean: true,
|
||||||
|
requireAuth: true,
|
||||||
|
title: '标准征求意见流程'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/phoneBzzqyjStep4-2',
|
||||||
|
name: 'phoneBzzqyjStep4-2',
|
||||||
|
component: () => import('@/pages/processCenter/pages/phone/bzzqyj/step4-2.vue'),
|
||||||
|
meta: {
|
||||||
|
isBoolean: true,
|
||||||
|
requireAuth: true,
|
||||||
|
title: '标准征求意见流程'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/phoneBzzqyjStep6',
|
path: '/phoneBzzqyjStep6',
|
||||||
name: 'phoneBzzqyjStep6',
|
name: 'phoneBzzqyjStep6',
|
||||||
component: () => import('@/pages/processCenter/pages/phone/bzzqyj/step6.vue'),
|
component: () => import('@/pages/processCenter/pages/phone/bzzqyj/step6.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
|
isBoolean: true,
|
||||||
requireAuth: true,
|
requireAuth: true,
|
||||||
title: '标准调研流程'
|
title: '标准征求意见流程'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -1234,8 +1265,9 @@ const routes = [
|
|||||||
name: 'phoneBzzqyjStep7',
|
name: 'phoneBzzqyjStep7',
|
||||||
component: () => import('@/pages/processCenter/pages/phone/bzzqyj/step7.vue'),
|
component: () => import('@/pages/processCenter/pages/phone/bzzqyj/step7.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
|
isBoolean: true,
|
||||||
requireAuth: true,
|
requireAuth: true,
|
||||||
title: '标准调研流程'
|
title: '标准征求意见流程'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -1243,8 +1275,9 @@ const routes = [
|
|||||||
name: 'phoneBzzqyjStep8',
|
name: 'phoneBzzqyjStep8',
|
||||||
component: () => import('@/pages/processCenter/pages/phone/bzzqyj/step8.vue'),
|
component: () => import('@/pages/processCenter/pages/phone/bzzqyj/step8.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
|
isBoolean: true,
|
||||||
requireAuth: true,
|
requireAuth: true,
|
||||||
title: '标准调研流程'
|
title: '标准征求意见流程'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -1252,8 +1285,9 @@ const routes = [
|
|||||||
name: 'phoneBzzqyjStep9',
|
name: 'phoneBzzqyjStep9',
|
||||||
component: () => import('@/pages/processCenter/pages/phone/bzzqyj/step9.vue'),
|
component: () => import('@/pages/processCenter/pages/phone/bzzqyj/step9.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
|
isBoolean: true,
|
||||||
requireAuth: true,
|
requireAuth: true,
|
||||||
title: '标准调研流程'
|
title: '标准征求意见流程'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -2256,8 +2290,8 @@ const routes = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/phoneGrbzhxhStep3',
|
path: '/phoneJrbzhxhStep3',
|
||||||
name: 'phoneGrbzhxhStep3',
|
name: 'phoneJrbzhxhStep3',
|
||||||
component: () => import('@/pages/processCenter/pages/phone/jrbzhxh/step3.vue'),
|
component: () => import('@/pages/processCenter/pages/phone/jrbzhxh/step3.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
isBoolean: true,
|
isBoolean: true,
|
||||||
@@ -2266,8 +2300,8 @@ const routes = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/phoneGrbzhxhStep4',
|
path: '/phoneJrbzhxhStep4',
|
||||||
name: 'phoneGrbzhxhStep4',
|
name: 'phoneJrbzhxhStep4',
|
||||||
component: () => import('@/pages/processCenter/pages/phone/jrbzhxh/step4.vue'),
|
component: () => import('@/pages/processCenter/pages/phone/jrbzhxh/step4.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
isBoolean: true,
|
isBoolean: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user