提交
This commit is contained in:
@@ -1076,7 +1076,7 @@
|
||||
</p>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="" label="" width="130">
|
||||
<el-table-column prop="" label="" width="160">
|
||||
<template slot-scope="scope">
|
||||
<div style="">
|
||||
<span
|
||||
@@ -1105,9 +1105,18 @@
|
||||
box-sizing: border-box;
|
||||
"
|
||||
>
|
||||
Paid already
|
||||
Paid already
|
||||
</span>
|
||||
</div>
|
||||
<div v-if="scope.row.is_buy == 1" style="font-size: 12px">
|
||||
<span style="color:#888" v-if="!scope.row.pay_mount&&!scope.row.pay_time">unknown</span>
|
||||
<span v-else>
|
||||
<span style="color:#888">{{scope.row.pay_time?scope.row.pay_time:"unknown"}}</span>
|
||||
<br/>
|
||||
<span :style="`color:${scope.row.pay_mount?'#db890e':'#888'}`">{{scope.row.pay_mount?'NZD '+Number(scope.row.pay_mount/100):"unknown"}}</span>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
|
||||
@@ -652,12 +652,12 @@
|
||||
<div class="bor_style_onli">
|
||||
<h4>{{ tabsList[4].name }}</h4>
|
||||
<div>
|
||||
<p style="color: #606266; font-size: 14px; line-height: 21px; margin-bottom: 15px">HTML Full Text Layout</p>
|
||||
<p style="color: #606266; font-size: 14px; line-height: 21px; margin-bottom: 15px">HTML typesetting and AI proofreading</p>
|
||||
</div>
|
||||
<div style="text-align: center">
|
||||
<el-button type="primary" @click="htmlContet()" style="width: 300px">
|
||||
<i class="el-icon-document-copy"></i>
|
||||
Html Proofread
|
||||
Proofread
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1000,9 +1000,9 @@ export default {
|
||||
// rongCont: 'Modify the article body.'
|
||||
// },
|
||||
{
|
||||
name: 'Html',
|
||||
name: 'Proofread',
|
||||
refName: 'setSixRef',
|
||||
rongCont: 'HTML layout.'
|
||||
rongCont: ''
|
||||
},
|
||||
{
|
||||
name: 'Create Build',
|
||||
|
||||
@@ -74,21 +74,22 @@
|
||||
Batch Add content
|
||||
</li>
|
||||
</ul>
|
||||
</div> -->
|
||||
</div> --> <li
|
||||
v-if="isEditComment&&!isPreview&&activeName=='proofreading'"
|
||||
style="border-radius: 4px;cursor: pointer;
|
||||
height: 26px;margin-left:30px;line-height: 26px;padding: 2px 10px;background-color: #006699 !important; color: #fff; border: 1px solid #006699;position: absolute;left: 0"
|
||||
|
||||
@click="handleClickAI()"
|
||||
>
|
||||
|
||||
|
||||
Manuscirpt AI Proofreading
|
||||
</li>
|
||||
</div>
|
||||
|
||||
<div style="padding: 0 0px; float: right">
|
||||
<ul class="operateBox">
|
||||
<!-- <li
|
||||
v-if="isEditComment"
|
||||
style="background-color: #fff !important; color: #f56c6c; border: 1px solid #f56c6c"
|
||||
@mousedown="cacheSelection"
|
||||
@click="handleSelection"
|
||||
>
|
||||
<i class="el-icon-document-add" style="margin-top: 2px; float: left"></i>
|
||||
|
||||
Comment
|
||||
</li> -->
|
||||
<ul class="operateBox" >
|
||||
|
||||
<div style="border-right: 1px solid #d8d8d8; padding: 0 20px">
|
||||
<ul class="HTitleBox" style="border: none">
|
||||
<li @click="addContent" style="font-size: 14px; padding: 0; background-color: #fff !important; color: #333">
|
||||
@@ -150,7 +151,7 @@
|
||||
|
||||
<span
|
||||
@click="handleClickProofreadingList([item.am_id])"
|
||||
v-if="
|
||||
v-if="!isPreview&&
|
||||
isEditComment &&
|
||||
item.proof_read_num &&
|
||||
item.proof_read_num > 0 &&
|
||||
@@ -174,7 +175,7 @@
|
||||
>
|
||||
<span
|
||||
@click="handleClickProofreadingList([item.am_id])"
|
||||
v-if="isEditComment && item.proof_read_num == -1 && item.is_proofread == 1 && item.type == 0 && item.content != ''"
|
||||
v-if="!isPreview&&isEditComment && item.proof_read_num == -1 && item.is_proofread == 1 && item.type == 0 && item.content != ''"
|
||||
style="
|
||||
z-index: 2;
|
||||
background-color: #fff;
|
||||
@@ -191,7 +192,7 @@
|
||||
></span>
|
||||
<span
|
||||
@click="handleClickProofreadingList([item.am_id])"
|
||||
v-if="isEditComment && item.proof_read_num == 0 && item.is_proofread == 1 && item.type == 0 && item.content != ''"
|
||||
v-if="!isPreview&&isEditComment && item.proof_read_num == 0 && item.is_proofread == 1 && item.type == 0 && item.content != ''"
|
||||
style="
|
||||
z-index: 2;
|
||||
background-color: #fff;
|
||||
@@ -208,7 +209,7 @@
|
||||
></span>
|
||||
<span
|
||||
@click="handleClickProofreadingList([item.am_id])"
|
||||
v-if="isEditComment && item.is_proofread == 2 && item.type == 0 && item.content != ''"
|
||||
v-if="!isPreview&&isEditComment && item.is_proofread == 2 && item.type == 0 && item.content != ''"
|
||||
style="
|
||||
z-index: 2;
|
||||
background-color: #fff;
|
||||
@@ -1517,6 +1518,22 @@ export default {
|
||||
this.editors = {};
|
||||
},
|
||||
methods: {
|
||||
handleClickAI(){
|
||||
this.$api.post('api/Proofread/proofReadByArticle', {
|
||||
article_id:this.$route.query.id
|
||||
}).then(async (res) => {
|
||||
if (res.status == 1 ) {
|
||||
|
||||
this.$message.success(res.msg);
|
||||
}else{
|
||||
this.$message.error(res.msg);
|
||||
}
|
||||
|
||||
|
||||
}).catch((err) => {
|
||||
this.$message.error(err.message);
|
||||
})
|
||||
},
|
||||
showcurrentItemIndex() {
|
||||
var index = this.markers.findIndex((e) => e.am_id == this.currentSelectProofreadingId);
|
||||
if (index != -1) {
|
||||
|
||||
Reference in New Issue
Block a user