This commit is contained in:
min.jiang 2024-08-24 03:53:34 +08:00
parent 6d200bad88
commit c1774f6002
4 changed files with 12 additions and 5 deletions

View File

@ -2,7 +2,7 @@
<div v-if="loading || empty" class="empty-content-container" :class="{autoFit : 'auto-fit'}">
<img v-if="loading" src="@/assets/images/loading.gif" class="loading-big" alt="">
<img v-if="empty && !loading" src="@/assets/images/no_content.jpg" class="empty-img" alt="">
<span v-if="empty && !loading" class="empty-text">No content yet</span>
<span v-if="empty && !loading" class="empty-text">{{ $t('No content yet') }}</span>
</div>
</template>

View File

@ -216,5 +216,6 @@ export default {
Message: 'Message',
'Upload attachment': 'Upload attachment',
'Didn\'t get the email? Check junk folder or': 'Didn\'t get the email? Check junk folder or ',
'send again': 'send again'
'send again': 'send again',
'No content yet': 'No content yet'
}

View File

@ -209,5 +209,6 @@ export default {
Message: '消息',
'Upload attachment': '上传附件',
'Didn\'t get the email? Check junk folder or': '没收到邮件?检查垃圾文件夹或',
'send again': '重新发送'
'send again': '重新发送',
'No content yet': '暂无内容'
}

View File

@ -240,8 +240,13 @@ export default {
}
},
updateIssue() {
// console.log('updateIssue', this.updatingIssue)
WorksapceApi.updateIssueForProduct(this.updatingIssue)
console.log('updateIssue', this.updatingIssue)
const fdata = new FormData()
fdata.append('issue_id', this.updatingIssue.issue_id)
fdata.append('issue_title', this.updatingIssue.issue_title)
fdata.append('issue_description', this.updatingIssue.issue_description)
fdata.append('issue_attachment', this.updatingIssue.issue_attachment)
WorksapceApi.updateIssueForProduct(fdata)
.then(() => {
// this.$refs.issueBtn.blur()
// this.$refs.issueAddBtn.click()