|
|
@@ -838,7 +838,7 @@ |
|
|
|
file.createUserId != userId |
|
|
|
" |
|
|
|
class="yiyunwenjian_infodesc" |
|
|
|
>{{ file.cnName }}创建</span |
|
|
|
>{{ file.createUserName }}创建</span |
|
|
|
> |
|
|
|
<!--span 本来就注视着呢--> |
|
|
|
<!-- <span |
|
|
@@ -851,7 +851,7 @@ |
|
|
|
file.createUserId != userId |
|
|
|
" |
|
|
|
class="yiyunwenjian_infodesc" |
|
|
|
>{{ file.cnName }}创建</span |
|
|
|
>{{ file.createUserName }}创建</span |
|
|
|
> |
|
|
|
</div> |
|
|
|
<!-- 文件状态显示 --> |
|
|
@@ -1401,7 +1401,7 @@ |
|
|
|
<span class="yiyunwenjian_infodesc"> |
|
|
|
{{ file.folderName }} |
|
|
|
</span> |
|
|
|
<!-- <span class="yiyunwenjian_infodesc">{{ file.cnName }}创建</span> --> |
|
|
|
<span class="yiyunwenjian_infodesc">{{ file.createUserName }}创建</span> |
|
|
|
<div class="top_optionBar"> |
|
|
|
<el-dropdown> |
|
|
|
<span class="el-dropdown-link"> |
|
|
@@ -2591,6 +2591,7 @@ import system from '@/services/system'; |
|
|
|
import * as services from './service'; |
|
|
|
import { firstCharToLowerCase, firstCharToUpperCase, notify } from '@/utils/tool'; |
|
|
|
|
|
|
|
|
|
|
|
const $ = window.jQuery; |
|
|
|
const Velocity = window.Velocity; |
|
|
|
Vue.use(vuetify); |
|
|
@@ -3280,6 +3281,8 @@ export default { |
|
|
|
// UserId: this.userId, |
|
|
|
// FileStatus: file.status |
|
|
|
// } |
|
|
|
// file.loadingProgress = 0; |
|
|
|
|
|
|
|
const [resFlag] = await Promise.all([ |
|
|
|
services.changeFileWorkStatus(file.id, workStatus), |
|
|
|
// services.fileCoordinationChange(params) |
|
|
@@ -3289,7 +3292,7 @@ export default { |
|
|
|
file.workStatus = workStatus; |
|
|
|
this.$forceUpdate(); |
|
|
|
// todo 获取文件最新的hash并更新文件 |
|
|
|
// if(workStatus === 1) { |
|
|
|
// if(workStatus === 1 && file.workStatus === 2) { |
|
|
|
|
|
|
|
// } |
|
|
|
}, |
|
|
@@ -3305,25 +3308,12 @@ export default { |
|
|
|
FileStatus: state |
|
|
|
} |
|
|
|
try { |
|
|
|
|
|
|
|
const res = await services.fileCoordinationChange(params); |
|
|
|
let thisApp = this; |
|
|
|
if(res.Code === 0) { |
|
|
|
thisApp.$notify({ |
|
|
|
title: "恭喜您", |
|
|
|
message: res, |
|
|
|
type: "success", |
|
|
|
offset: 100, |
|
|
|
duration: 2500, |
|
|
|
}); |
|
|
|
notify.success(res.Msg); |
|
|
|
} else { |
|
|
|
thisApp.$notify({ |
|
|
|
title: "温馨提醒", |
|
|
|
message: res.Msg, |
|
|
|
type: "info", |
|
|
|
offset: 100, |
|
|
|
duration: 2500, |
|
|
|
}); |
|
|
|
notify.info(res.Msg); |
|
|
|
return; |
|
|
|
} |
|
|
|
} catch(err) { |
|
|
@@ -4471,7 +4461,6 @@ export default { |
|
|
|
var folderName = this.listUserFolders[this.nowFolderIndex].folderName; |
|
|
|
var projID = file.projID; |
|
|
|
var type = "open"; |
|
|
|
debugger; |
|
|
|
system.openFile( |
|
|
|
archid, |
|
|
|
filename, |
|
|
|