提交
This commit is contained in:
@@ -1076,7 +1076,7 @@
|
|||||||
</p>
|
</p>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="" label="" width="130">
|
<el-table-column prop="" label="" width="160">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div style="">
|
<div style="">
|
||||||
<span
|
<span
|
||||||
@@ -1105,9 +1105,18 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
Paid already
|
Paid already
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</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>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
|||||||
@@ -652,12 +652,12 @@
|
|||||||
<div class="bor_style_onli">
|
<div class="bor_style_onli">
|
||||||
<h4>{{ tabsList[4].name }}</h4>
|
<h4>{{ tabsList[4].name }}</h4>
|
||||||
<div>
|
<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>
|
||||||
<div style="text-align: center">
|
<div style="text-align: center">
|
||||||
<el-button type="primary" @click="htmlContet()" style="width: 300px">
|
<el-button type="primary" @click="htmlContet()" style="width: 300px">
|
||||||
<i class="el-icon-document-copy"></i>
|
<i class="el-icon-document-copy"></i>
|
||||||
Html Proofread
|
Proofread
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -1000,9 +1000,9 @@ export default {
|
|||||||
// rongCont: 'Modify the article body.'
|
// rongCont: 'Modify the article body.'
|
||||||
// },
|
// },
|
||||||
{
|
{
|
||||||
name: 'Html',
|
name: 'Proofread',
|
||||||
refName: 'setSixRef',
|
refName: 'setSixRef',
|
||||||
rongCont: 'HTML layout.'
|
rongCont: ''
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Create Build',
|
name: 'Create Build',
|
||||||
|
|||||||
@@ -74,21 +74,22 @@
|
|||||||
Batch Add content
|
Batch Add content
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</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>
|
||||||
|
|
||||||
<div style="padding: 0 0px; float: right">
|
<div style="padding: 0 0px; float: right">
|
||||||
<ul class="operateBox">
|
<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> -->
|
|
||||||
<div style="border-right: 1px solid #d8d8d8; padding: 0 20px">
|
<div style="border-right: 1px solid #d8d8d8; padding: 0 20px">
|
||||||
<ul class="HTitleBox" style="border: none">
|
<ul class="HTitleBox" style="border: none">
|
||||||
<li @click="addContent" style="font-size: 14px; padding: 0; background-color: #fff !important; color: #333">
|
<li @click="addContent" style="font-size: 14px; padding: 0; background-color: #fff !important; color: #333">
|
||||||
@@ -150,7 +151,7 @@
|
|||||||
|
|
||||||
<span
|
<span
|
||||||
@click="handleClickProofreadingList([item.am_id])"
|
@click="handleClickProofreadingList([item.am_id])"
|
||||||
v-if="
|
v-if="!isPreview&&
|
||||||
isEditComment &&
|
isEditComment &&
|
||||||
item.proof_read_num &&
|
item.proof_read_num &&
|
||||||
item.proof_read_num > 0 &&
|
item.proof_read_num > 0 &&
|
||||||
@@ -174,7 +175,7 @@
|
|||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
@click="handleClickProofreadingList([item.am_id])"
|
@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="
|
style="
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
@@ -191,7 +192,7 @@
|
|||||||
></span>
|
></span>
|
||||||
<span
|
<span
|
||||||
@click="handleClickProofreadingList([item.am_id])"
|
@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="
|
style="
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
@@ -208,7 +209,7 @@
|
|||||||
></span>
|
></span>
|
||||||
<span
|
<span
|
||||||
@click="handleClickProofreadingList([item.am_id])"
|
@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="
|
style="
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
@@ -1517,6 +1518,22 @@ export default {
|
|||||||
this.editors = {};
|
this.editors = {};
|
||||||
},
|
},
|
||||||
methods: {
|
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() {
|
showcurrentItemIndex() {
|
||||||
var index = this.markers.findIndex((e) => e.am_id == this.currentSelectProofreadingId);
|
var index = this.markers.findIndex((e) => e.am_id == this.currentSelectProofreadingId);
|
||||||
if (index != -1) {
|
if (index != -1) {
|
||||||
|
|||||||
Reference in New Issue
Block a user