Merge branch 'xie-accept'

This commit is contained in:
wangjinlei
2023-07-13 16:28:36 +08:00

View File

@@ -60,57 +60,15 @@
</el-button>
<br clear="both">
</div>
<!-- <div v-for="(item,index) in this.chanFerForm" v-if="showB_step ==2" class="ref_list">
<div>
<span
style="float:left;margin: 3px 10px 0 0;width: 80px;text-align: right;font-size: 14px;">DOI
:</span>
<p style="float:left;font-size: 14px;color: #555;">{{item.refer_doi}}</p>
<br clear="both">
</div>
<div v-if="item.cs==1&&item.edit_mark!=0" style="margin-bottom: 0;">
<span
style="float:left;margin: 0 12px 0 0;width: 80px;text-align: right;font-size: 14px;">Standard
:</span>
<p v-if="item.author==''"
style="float:left;width:74.5%;font-size: 14px;color: #555;line-height: 20px;">
{{item.refer_frag}}
</p>
<p v-if="item.author!=''"
style="float:left;width:74.5%;font-size: 14px;color: #555;line-height: 20px;">
{{item.author}} {{item.title}} {{item.joura}}{{item.dateno}}. Available at:
{{item.doilink}}
</p>
<br clear="both">
</div>
<div v-if="item.cs==0||item.edit_mark==0" :class="item.cs==0?'BG_yell':''"
style="margin-bottom: 0;">
<span
style="float:left;margin: 0 12px 0 0;width: 80px;text-align: right;font-size: 14px;">Standard
:</span>
<el-input type="textarea" v-model="item.refer_frag" autosize
style="width: 60%;display: inline-block;"></el-input>
<div style="display: inline-block;width: 50px;vertical-align: top;">
<el-button @click="ChanFerEditFrag(item,index)" type="primary"
icon="el-icon-check" size="mini" style="margin: 0 5px 0 15px;">
</el-button>
<el-button @click="ChanFerMashUp(item)" type="warning" size="mini"
style="margin: 10px 5px 0 15px;" v-if="index!=0">Up</el-button>
</div>
</div>
<b>{{index+1}}</b>
<i class="el-icon-edit-outline" @click="referMark(index)"
v-if="item.edit_mark==1&&item.cs!=0&&item.author==''"></i>
<i class="el-icon-top" @click="ChanFerMashUp(item)"
v-if="index!=0&&item.edit_mark==1&&item.cs!=0"
style="right: 40px;font-size: 10px;">up</i>
</div> -->
<!-- 新的 -->
<el-table :data="chanFerForm" ref="multipleTable"
empty-text="New messages (0)" :show-header="false" :stripe="false" :highlight-current-row="false">
<el-table-column type="index" label="No." width="55" align="center"></el-table-column>
<el-table v-if="showB_step ==2" :data="chanFerForm" ref="multipleTable"
empty-text="New messages (0)" :show-header="false" :stripe="false" :highlight-current-row="false" >
<el-table-column type="index" label="No." width="55" align="center">
<template slot-scope="scope">
<i v-if="scope.row.is_change == 1" class="itemChanged"></i>
<span>{{scope.$index + 1}}</span>
</template>
</el-table-column>
<el-table-column label="state" width="55" align="center">
<template slot-scope="scope">
<span class="status ok" v-if="scope.row.refer_doi != '' && scope.row.author != ''" >
@@ -842,6 +800,9 @@ export default {
</script>
<style scoped>
/* .itemIndex{position: relative;} */
.itemChanged{position: absolute; display: inline-block; background: #006699; color: #fff; padding: 7px; border-radius: 0 0 7px 7px; left: 0; top: 0;}
.status{ display: block; width: 40px; height: 40px; border-radius: 40px; font-size: 22px; line-height: 40px; color: #fff; text-align: center;}
.status.ok{background: #a7e389;}
.status.warn{background: #ffd192;}
@@ -1082,7 +1043,7 @@ export default {
.chanSelLef {
float: left;
width: 30%;
width: 24%;
margin: 0 50px 0 0;
}
@@ -1135,7 +1096,7 @@ export default {
.chanFerAll {
float: left;
position: relative;
width: 61.5%;
width: 70.5%;
}
.chanFerAll .chanFerBtn {