Commit 73ba8050 authored by Mac's avatar Mac

修改一些

parent a9a427f5
......@@ -271,6 +271,9 @@
import {
getEmployeeAddrBook
} from '../../api/users/user'
import {
UploadSelfFile
} from '../../api/common/common'
export default {
data() {
return {
......@@ -341,10 +344,14 @@
let newArr=[];
newArr.push(file.file)
let path="/Upload/Temporary/"
this.UploadSelfFileT(path,newArr,x=>{
let url = this.domainManager().ViittoFileUrl + x.data.FilePath
this.appMsg.Image.push(url)
this.fileList.push({url:url})
UploadSelfFile('Temporary', file.file, x => {
if(x.Code==1){
let url = x.FileUrl
this.appMsg.Image.push(url)
this.fileList.push({url: url})
}
});
},
handleRemove(file){ //删除
......@@ -521,7 +528,7 @@
});
},
updateAapproval(path,cmd,submitCmd,workFlowId,templateId){
this.$router.push({ name: path, query:{cmd:cmd,submitCmd:submitCmd,workFlowId:workFlowId,templateId:templateId}})
this.$router.push({ path: path, query:{cmd:cmd,submitCmd:submitCmd,workFlowId:workFlowId,templateId:templateId}})
},
getBigpic(obj){
......
......@@ -146,12 +146,14 @@
let newArr = [];
newArr.push(file.file)
UploadSelfFile('Temporary', file.file, x => {
console.log(x)
let url = x.FileUrl
this.submitFileList.push(url)
this.fileList.push({
url: x.FileUrl
})
if(x.Code==1){
let url = x.FileUrl
this.submitFileList.push(url)
this.fileList.push({
url: x.FileUrl
})
}
});
},
handleRemove(file) { //删除
......
......@@ -265,6 +265,9 @@
import {
getEmployeeAddrBook
} from '../../api/users/user'
import {
UploadSelfFile
} from '../../api/common/common'
export default {
data() {
return {
......@@ -335,10 +338,12 @@
let newArr=[];
newArr.push(file.file)
let path="/Upload/Temporary/"
this.UploadSelfFileT(path,newArr,x=>{
let url = this.domainManager().ViittoFileUrl + x.data.FilePath
this.appMsg.Image.push(url)
this.fileList.push({url: url})
UploadSelfFile('Temporary', file.file, x => {
if(x.Code==1){
let url = x.FileUrl
this.appMsg.Image.push(url)
this.fileList.push({url: url})
}
});
......
......@@ -267,6 +267,9 @@
setCareOf,
copyTomyaudit
} from '../../api/administration/administration';
import {
UploadSelfFile
} from '../../api/common/common'
export default {
data() {
return {
......@@ -337,10 +340,12 @@
let newArr=[];
newArr.push(file.file)
let path="/Upload/Temporary/"
this.UploadSelfFileT(path,newArr,x=>{
let url = this.domainManager().ViittoFileUrl + x.data.FilePath
this.appMsg.Image.push(url)
this.fileList.push({url: url})
UploadSelfFile('Temporary', file.file, x => {
if(x.Code==1){
let url = x.FileUrl
this.appMsg.Image.push(url)
this.fileList.push({url: url})
}
});
......
......@@ -809,7 +809,7 @@
</div>
</div>
<div style="padding-left: 75px;">
<button class="hollowFixedBtn" v-if="(bossID===1 || bossID===5||bossID===1903) && (GetDetail.Status===2 || GetDetail.Status===5 || GetDetail.Status===1)" @click="bohui()">驳回</button>
<!-- <button class="hollowFixedBtn" v-if="(bossID===1 || bossID===5||bossID===1903) && (GetDetail.Status===2 || GetDetail.Status===5 || GetDetail.Status===1)" @click="bohui()">驳回</button>-->
<button class="hollowFixedBtn" @click="AuditOrRefund()">返回</button>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment