Commit 73ba8050 authored by Mac's avatar Mac

修改一些

parent a9a427f5
...@@ -271,6 +271,9 @@ ...@@ -271,6 +271,9 @@
import { import {
getEmployeeAddrBook getEmployeeAddrBook
} from '../../api/users/user' } from '../../api/users/user'
import {
UploadSelfFile
} from '../../api/common/common'
export default { export default {
data() { data() {
return { return {
...@@ -341,10 +344,14 @@ ...@@ -341,10 +344,14 @@
let newArr=[]; let newArr=[];
newArr.push(file.file) newArr.push(file.file)
let path="/Upload/Temporary/" let path="/Upload/Temporary/"
this.UploadSelfFileT(path,newArr,x=>{
let url = this.domainManager().ViittoFileUrl + x.data.FilePath UploadSelfFile('Temporary', file.file, x => {
this.appMsg.Image.push(url) if(x.Code==1){
this.fileList.push({url:url}) let url = x.FileUrl
this.appMsg.Image.push(url)
this.fileList.push({url: url})
}
}); });
}, },
handleRemove(file){ //删除 handleRemove(file){ //删除
...@@ -521,7 +528,7 @@ ...@@ -521,7 +528,7 @@
}); });
}, },
updateAapproval(path,cmd,submitCmd,workFlowId,templateId){ 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){ getBigpic(obj){
......
...@@ -146,12 +146,14 @@ ...@@ -146,12 +146,14 @@
let newArr = []; let newArr = [];
newArr.push(file.file) newArr.push(file.file)
UploadSelfFile('Temporary', file.file, x => { UploadSelfFile('Temporary', file.file, x => {
console.log(x) if(x.Code==1){
let url = x.FileUrl let url = x.FileUrl
this.submitFileList.push(url) this.submitFileList.push(url)
this.fileList.push({ this.fileList.push({
url: x.FileUrl url: x.FileUrl
}) })
}
}); });
}, },
handleRemove(file) { //删除 handleRemove(file) { //删除
......
...@@ -265,6 +265,9 @@ ...@@ -265,6 +265,9 @@
import { import {
getEmployeeAddrBook getEmployeeAddrBook
} from '../../api/users/user' } from '../../api/users/user'
import {
UploadSelfFile
} from '../../api/common/common'
export default { export default {
data() { data() {
return { return {
...@@ -335,10 +338,12 @@ ...@@ -335,10 +338,12 @@
let newArr=[]; let newArr=[];
newArr.push(file.file) newArr.push(file.file)
let path="/Upload/Temporary/" let path="/Upload/Temporary/"
this.UploadSelfFileT(path,newArr,x=>{ UploadSelfFile('Temporary', file.file, x => {
let url = this.domainManager().ViittoFileUrl + x.data.FilePath if(x.Code==1){
this.appMsg.Image.push(url) let url = x.FileUrl
this.fileList.push({url: url}) this.appMsg.Image.push(url)
this.fileList.push({url: url})
}
}); });
......
...@@ -267,6 +267,9 @@ ...@@ -267,6 +267,9 @@
setCareOf, setCareOf,
copyTomyaudit copyTomyaudit
} from '../../api/administration/administration'; } from '../../api/administration/administration';
import {
UploadSelfFile
} from '../../api/common/common'
export default { export default {
data() { data() {
return { return {
...@@ -337,10 +340,12 @@ ...@@ -337,10 +340,12 @@
let newArr=[]; let newArr=[];
newArr.push(file.file) newArr.push(file.file)
let path="/Upload/Temporary/" let path="/Upload/Temporary/"
this.UploadSelfFileT(path,newArr,x=>{ UploadSelfFile('Temporary', file.file, x => {
let url = this.domainManager().ViittoFileUrl + x.data.FilePath if(x.Code==1){
this.appMsg.Image.push(url) let url = x.FileUrl
this.fileList.push({url: url}) this.appMsg.Image.push(url)
this.fileList.push({url: url})
}
}); });
......
...@@ -809,7 +809,7 @@ ...@@ -809,7 +809,7 @@
</div> </div>
</div> </div>
<div style="padding-left: 75px;"> <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> <button class="hollowFixedBtn" @click="AuditOrRefund()">返回</button>
</div> </div>
</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