|
@@ -519,7 +519,18 @@
|
|
<span @click="deleteTaskProgress(recentProgressInfo.id)"><i class="el-icon-delete"></i>{{ $t('deleteList ') }}</span></el-dropdown-item>
|
|
<span @click="deleteTaskProgress(recentProgressInfo.id)"><i class="el-icon-delete"></i>{{ $t('deleteList ') }}</span></el-dropdown-item>
|
|
</el-dropdown-menu>
|
|
</el-dropdown-menu>
|
|
</el-dropdown>
|
|
</el-dropdown>
|
|
- <div class="elCard_qu">{{recentProgressInfo.creatorName}}{{ $t('geng-xin-yu') }}{{recentProgressInfo.indate | relativeTime}}</div>
|
|
|
|
|
|
+ <!-- <div class="elCard_qu">{{recentProgressInfo.creatorName}}{{ $t('geng-xin-yu') }}{{recentProgressInfo.indate | relativeTime}}</div> -->
|
|
|
|
+ <div class="elCard_qu">
|
|
|
|
+ <span>
|
|
|
|
+ <span v-if="user.userNameNeedTranslate != '1'">
|
|
|
|
+ {{recentProgressInfo.creatorName}}
|
|
|
|
+ </span>
|
|
|
|
+ <span v-if="user.userNameNeedTranslate == '1'">
|
|
|
|
+ <ww-open-data type='userName' :openid='recentProgressInfo.creatorName'></ww-open-data>
|
|
|
|
+ </span>
|
|
|
|
+ </span>
|
|
|
|
+ {{ $t('geng-xin-yu') }}{{recentProgressInfo.indate | relativeTime}}
|
|
|
|
+ </div>
|
|
<p style="padding-left: 20px;">{{recentProgressInfo.content}}</p>
|
|
<p style="padding-left: 20px;">{{recentProgressInfo.content}}</p>
|
|
<div class="examine"><el-button type="text" @click="innerVisibless = true" style="color: #8F87A3;">{{ $t('viewingHistory') }}</el-button></div>
|
|
<div class="examine"><el-button type="text" @click="innerVisibless = true" style="color: #8F87A3;">{{ $t('viewingHistory') }}</el-button></div>
|
|
</div>
|
|
</div>
|
|
@@ -759,7 +770,7 @@
|
|
<div class="subject">
|
|
<div class="subject">
|
|
<div class="sub-all">{{ $t('alldynamic') }}</div>
|
|
<div class="sub-all">{{ $t('alldynamic') }}</div>
|
|
<div class="sub-details" ref="main">
|
|
<div class="sub-details" ref="main">
|
|
- <ul class="infinite-list" v-infinite-scroll="load" style="overflow:auto" ref="contRoll">
|
|
|
|
|
|
+ <ul class="infinite-list" v-infinite-scroll="load" ref="contRoll">
|
|
<div style="width: 100%" v-if="commentList.length <= 0">
|
|
<div style="width: 100%" v-if="commentList.length <= 0">
|
|
<img src="../../assets/image/xiao.png" alt="">
|
|
<img src="../../assets/image/xiao.png" alt="">
|
|
</div>
|
|
</div>
|
|
@@ -2503,6 +2514,23 @@
|
|
this.http.post('/task-comment/add', {taskId: this.taskId, userId: this.user.id, content: this.textarea2},
|
|
this.http.post('/task-comment/add', {taskId: this.taskId, userId: this.user.id, content: this.textarea2},
|
|
res => {
|
|
res => {
|
|
if(res.code == "ok"){
|
|
if(res.code == "ok"){
|
|
|
|
+ if(res.data.content.indexOf('$userName=') != '-1') {
|
|
|
|
+ let obj = {
|
|
|
|
+ msg1: res.data.content.split('$')[0],
|
|
|
|
+ msg2: res.data.content.split('$')[1].split('=')[1],
|
|
|
|
+ msg3: res.data.content.split('$')[2]
|
|
|
|
+ }
|
|
|
|
+ res.data.content = obj
|
|
|
|
+ } else {
|
|
|
|
+ if(this.user.userNameNeedTranslate == 1) {
|
|
|
|
+ let obj = {
|
|
|
|
+ msg1: res.data.content,
|
|
|
|
+ msg2: '',
|
|
|
|
+ msg3: ''
|
|
|
|
+ }
|
|
|
|
+ res.data.content = obj
|
|
|
|
+ }
|
|
|
|
+ }
|
|
this.commentList.push(res.data)
|
|
this.commentList.push(res.data)
|
|
this.sppk(this.commentList)
|
|
this.sppk(this.commentList)
|
|
this.textarea2 = ""
|
|
this.textarea2 = ""
|