tijiao
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
<div :style="[2,5].includes(activeIndex) ?'height:100%':''">
|
||||
<!-- <div class="crumbs">
|
||||
<el-breadcrumb separator="/">
|
||||
<el-breadcrumb-item>
|
||||
@@ -29,7 +29,9 @@
|
||||
<br clear="both" />
|
||||
|
||||
</div>
|
||||
<div class="container" style="padding: 20px 15px">
|
||||
<div class="container" style="padding: 20px 15px 10px;box-sizing: border-box;"
|
||||
:style="[2,5].includes(activeIndex) ?'height:calc(100% - 60px)':''"
|
||||
>
|
||||
|
||||
<articleListA v-if="activeIndex == '1'" :journals="journals[0]"></articleListA>
|
||||
<articleListB v-if="activeIndex == '2'" :journals="journals[1]" @changeEvent="changeEvent"></articleListB>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div style="min-width: 1280px" class="articleListEditorA">
|
||||
<div style="min-width: 1280px;" class="articleListEditorA">
|
||||
<div class="handle-box">
|
||||
<el-badge
|
||||
:value="item.num"
|
||||
@@ -597,7 +597,7 @@
|
||||
empty-text="New messages (0)"
|
||||
>
|
||||
<el-table-column type="index" label="No." width="55" align="center"></el-table-column>
|
||||
<el-table-column width="160" label="Doi" align="center">
|
||||
<!-- <el-table-column width="160" label="Doi" align="center">
|
||||
<template slot-scope="scope">
|
||||
<p style="margin-bottom: 5px">
|
||||
{{ scope.row.doi }}
|
||||
@@ -606,8 +606,24 @@
|
||||
>Detail</el-button
|
||||
>
|
||||
</template>
|
||||
</el-table-column> -->
|
||||
<el-table-column prop="accept_sn" label="SN" width="240px">
|
||||
<template slot-scope="scope">
|
||||
<p>
|
||||
{{ scope.row.accept_sn }}
|
||||
<el-button
|
||||
size="mini"
|
||||
type="success"
|
||||
plain
|
||||
icon="el-icon-tickets"
|
||||
@click="showdetaileditor(scope.row)"
|
||||
style="margin-left: 10px; padding: 4px; float: right"
|
||||
>Detail</el-button
|
||||
>
|
||||
</p>
|
||||
<p v-if="scope.row.doi" style="color: #006699"><span>Doi: </span>{{ scope.row.doi }}</p>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="accept_sn" label="SN" width="180px"></el-table-column>
|
||||
<el-table-column prop="" label="Title">
|
||||
<template slot-scope="scope">
|
||||
<p v-if="scope.row.title == ''">Article{{ scope.row.p_article_id }}</p>
|
||||
@@ -651,7 +667,7 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label=" " align="center" width="140">
|
||||
<el-table-column label=" " align="center" width="100">
|
||||
<template slot-scope="scope">
|
||||
<el-button @click="changeEnter(scope.row)" size="mini" type="primary" plain icon="el-icon-edit">Edit</el-button>
|
||||
</template>
|
||||
@@ -1373,6 +1389,7 @@
|
||||
<p style="line-height: 20px; margin-top: 6px">{{ majorMes.email }}</p>
|
||||
</el-form-item> -->
|
||||
<el-form-item label="Research areas :">
|
||||
|
||||
<common-major-list
|
||||
:disabled="majorMes.disabled"
|
||||
:list="majorValueList"
|
||||
@@ -1567,15 +1584,15 @@ export default {
|
||||
methods: {
|
||||
saveMajor() {
|
||||
this.$api
|
||||
.post('api/Reviewer/updateUserField', {
|
||||
.post('api/Article/updateArticleField', {
|
||||
article_id: this.majorMes.article_id,
|
||||
user_field: this.majorValueList.map((item) => item.selectedValue[item.selectedValue.length - 1]).toString(',')
|
||||
article_field: this.majorValueList.map((item) => item.selectedValue[item.selectedValue.length - 1]).toString(',')
|
||||
})
|
||||
.then((res) => {
|
||||
if (res.status == 1) {
|
||||
this.$message.success('Success');
|
||||
|
||||
this.fetchMajorData(this.majorMes.article_id);
|
||||
this.majorBox = false;
|
||||
// this.fetchMajorData(this.majorMes.article_id);
|
||||
} else {
|
||||
this.$message.error(res.msg);
|
||||
}
|
||||
@@ -1616,14 +1633,14 @@ export default {
|
||||
})
|
||||
.then((res) => {
|
||||
if (this.majorMes.disabled) {
|
||||
this.majorValueList = [...res.article.majors];
|
||||
this.majorValueList = [...res.data].map((item)=>({...item,str:item.major_title}));
|
||||
} else {
|
||||
this.majorValueList = [...res.article.majors].map((item) => ({
|
||||
selectedValue: Array.isArray(item.major)
|
||||
? item.major
|
||||
: typeof item.major === 'string'
|
||||
? item.major.split(',').map(Number)
|
||||
: [item.major]
|
||||
this.majorValueList = [...res.data].map((item) => ({
|
||||
selectedValue: Array.isArray(item.shu)
|
||||
? item.shu
|
||||
: typeof item.shu === 'string'
|
||||
? item.shu.split(',').map(Number)
|
||||
: [item.shu]
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,32 +1,54 @@
|
||||
<template>
|
||||
<div>
|
||||
<div style="height: 100%">
|
||||
<div class="handle-box">
|
||||
<el-select v-model="queryType.journal_id" @change="getDateType" placeholder="Please select journal"
|
||||
style="width: 300px;">
|
||||
<el-select v-model="queryType.journal_id" @change="getDateType" placeholder="Please select journal" style="width: 300px">
|
||||
<el-option :key="0" label="All journals" :value="0"></el-option>
|
||||
<el-option v-for="item in journals" :key="item.journal_id" :label="item.title"
|
||||
:value="item.journal_id"></el-option>
|
||||
<el-option v-for="item in journals" :key="item.journal_id" :label="item.title" :value="item.journal_id"></el-option>
|
||||
</el-select>
|
||||
</div>
|
||||
|
||||
<el-table :data="dataType" border stripe class="table" ref="multipleTable" header-cell-class-name="table-header"
|
||||
empty-text="New messages (0)">
|
||||
<div style="height: calc(100% - 100px)">
|
||||
<el-table
|
||||
:data="dataType"
|
||||
border
|
||||
stripe
|
||||
class="table"
|
||||
ref="multipleTable"
|
||||
header-cell-class-name="table-header"
|
||||
height="100%"
|
||||
empty-text="New messages (0)"
|
||||
>
|
||||
<el-table-column type="index" label="No." width="55" align="center"></el-table-column>
|
||||
<el-table-column width="160" label="Doi" align="center">
|
||||
<el-table-column prop="accept_sn" label="SN" width="240px">
|
||||
<template slot-scope="scope">
|
||||
<p style="margin-bottom: 5px;">
|
||||
<p>
|
||||
{{ scope.row.accept_sn }}
|
||||
<el-button
|
||||
size="mini"
|
||||
type="success"
|
||||
plain
|
||||
icon="el-icon-tickets"
|
||||
@click="showdetaileditor(scope.row)"
|
||||
style="margin-left: 10px; padding: 4px; float: right"
|
||||
>Detail</el-button
|
||||
>
|
||||
</p>
|
||||
<p v-if="scope.row.doi" style="color: #006699"><span>Doi: </span>{{ scope.row.doi }}</p>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- <el-table-column width="160" label="Doi" align="center">
|
||||
<template slot-scope="scope">
|
||||
<p >
|
||||
{{scope.row.doi}}
|
||||
|
||||
</p>
|
||||
<el-button size="mini" type="primary" plain icon="el-icon-tickets"
|
||||
@click="showdetaileditor(scope.row)">Detail</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="accept_sn" label="SN" width="180px"></el-table-column>
|
||||
</el-table-column> -->
|
||||
<!-- <el-table-column prop="accept_sn" label="SN" width="180px"></el-table-column> -->
|
||||
<el-table-column prop="" label="Title">
|
||||
<template slot-scope="scope">
|
||||
<p v-if="scope.row.title==''">
|
||||
Article{{scope.row.p_article_id}}
|
||||
</p>
|
||||
<p v-if="scope.row.title == ''">Article{{ scope.row.p_article_id }}</p>
|
||||
<p else>
|
||||
{{ scope.row.title }}
|
||||
</p>
|
||||
@@ -34,10 +56,10 @@
|
||||
</el-table-column>
|
||||
<el-table-column label=" " align="center" width="200px">
|
||||
<template slot-scope="scope">
|
||||
<el-button @click="changeEnter(scope.row)" size="mini" type="primary" plain
|
||||
icon="el-icon-paperclip">Enter</el-button>
|
||||
<el-button size="mini" @click="typeDelete(scope.row)" type="danger" plain icon="el-icon-delete">
|
||||
Delete</el-button>
|
||||
<el-button @click="changeEnter(scope.row)" size="mini" type="primary" plain icon="el-icon-paperclip"
|
||||
>Enter</el-button
|
||||
>
|
||||
<el-button size="mini" @click="typeDelete(scope.row)" type="danger" plain icon="el-icon-delete"> Delete</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<!-- <el-table-column label="Remarks" align="center">
|
||||
@@ -49,16 +71,22 @@
|
||||
</el-table-column> -->
|
||||
</el-table>
|
||||
<div class="pagination">
|
||||
<el-pagination background layout="total, prev, pager, next" :current-page="queryType.pageIndex"
|
||||
:page-size="queryType.pageSize" :total="TotalType" @current-change="handPage_type"></el-pagination>
|
||||
<el-pagination
|
||||
background
|
||||
layout="total, prev, pager, next"
|
||||
:current-page="queryType.pageIndex"
|
||||
:page-size="queryType.pageSize"
|
||||
:total="TotalType"
|
||||
@current-change="handPage_type"
|
||||
></el-pagination>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- remark标记 -->
|
||||
<el-dialog title="Remarks" :visible.sync="remarkBox" width="550px">
|
||||
<el-form ref="remark" :model="remark" label-width="85px">
|
||||
<el-form-item label="Title :">
|
||||
<p style="line-height: 20px;margin-top: 6px;">{{remark.title}}</p>
|
||||
<p style="line-height: 20px; margin-top: 6px">{{ remark.title }}</p>
|
||||
</el-form-item>
|
||||
<el-form-item label="Content :">
|
||||
<el-input type="textarea" rows="5" v-model="remark.content"></el-input>
|
||||
@@ -69,7 +97,6 @@
|
||||
<el-button type="primary" @click="saveRemark">Save</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -77,13 +104,9 @@
|
||||
import 'quill/dist/quill.core.css';
|
||||
import 'quill/dist/quill.snow.css';
|
||||
import 'quill/dist/quill.bubble.css';
|
||||
import {
|
||||
quillEditor
|
||||
} from 'vue-quill-editor';
|
||||
import { quillEditor } from 'vue-quill-editor';
|
||||
import Clipboard from 'clipboard';
|
||||
import {
|
||||
Loading
|
||||
} from 'element-ui';
|
||||
import { Loading } from 'element-ui';
|
||||
export default {
|
||||
props: ['journals'],
|
||||
data() {
|
||||
@@ -107,7 +130,7 @@
|
||||
remarkBox: false,
|
||||
remark: {
|
||||
content: ''
|
||||
},
|
||||
}
|
||||
};
|
||||
},
|
||||
created() {
|
||||
@@ -127,12 +150,12 @@
|
||||
});
|
||||
this.$api
|
||||
.post('api/Production/getProductionList', this.queryType)
|
||||
.then(res => {
|
||||
.then((res) => {
|
||||
this.dataType = res.data.productions;
|
||||
this.TotalType = res.data.count;
|
||||
loading.close();
|
||||
})
|
||||
.catch(err => {
|
||||
.catch((err) => {
|
||||
console.log(err);
|
||||
loading.close();
|
||||
});
|
||||
@@ -145,7 +168,7 @@
|
||||
},
|
||||
// 稿件信息展示
|
||||
showdetaileditor(row) {
|
||||
let stat_num = 'articleDetailEditor'
|
||||
let stat_num = 'articleDetailEditor';
|
||||
this.$router.push({
|
||||
path: stat_num,
|
||||
query: {
|
||||
@@ -162,8 +185,7 @@
|
||||
},
|
||||
// 修改标记
|
||||
saveRemark() {
|
||||
this.$api.post('api/Article/editArticleRemark', this.remark)
|
||||
.then(res => {
|
||||
this.$api.post('api/Article/editArticleRemark', this.remark).then((res) => {
|
||||
if (res.code == 0) {
|
||||
this.$message.success('success');
|
||||
this.remarkBox = false;
|
||||
@@ -185,13 +207,13 @@
|
||||
.then(() => {
|
||||
this.$api
|
||||
.post('api/Production/delProduction', {
|
||||
'p_article_id': e.p_article_id
|
||||
p_article_id: e.p_article_id
|
||||
})
|
||||
.then(res => {
|
||||
.then((res) => {
|
||||
this.$message.success('Delete successfully!');
|
||||
this.getDateType();
|
||||
})
|
||||
.catch(err => {
|
||||
.catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
})
|
||||
@@ -201,12 +223,8 @@
|
||||
// 跳页录入排版
|
||||
changeEnter(val) {
|
||||
this.$router.push('/articleListEditor_B1?id=' + val.p_article_id);
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
},
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -215,7 +233,6 @@
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
|
||||
.table {
|
||||
width: 100%;
|
||||
font-size: 14px;
|
||||
@@ -225,15 +242,14 @@
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.pane_act>div {}
|
||||
.pane_act > div {
|
||||
}
|
||||
|
||||
.pane_act > div > div > h3 {
|
||||
font-size: 14px;
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.chanFerAll {
|
||||
position: relative;
|
||||
/* height: 500px;
|
||||
@@ -244,7 +260,8 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.chanFerAll .ref_list:nth-child(2n) {}
|
||||
.chanFerAll .ref_list:nth-child(2n) {
|
||||
}
|
||||
|
||||
.chanFerAll .ref_list:nth-child(2n + 1) {
|
||||
background-color: #ecf5ff;
|
||||
@@ -254,13 +271,12 @@
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.ref_list > div:nth-child(1) {
|
||||
margin: 0 0 15px 0;
|
||||
}
|
||||
|
||||
.ref_list>div:nth-child(1) input {}
|
||||
.ref_list > div:nth-child(1) input {
|
||||
}
|
||||
|
||||
.ref_list > div:nth-child(1) button {
|
||||
float: right;
|
||||
@@ -270,7 +286,6 @@
|
||||
margin: 0 0 15px 0;
|
||||
}
|
||||
|
||||
|
||||
.RefProBar {
|
||||
position: absolute;
|
||||
background: rgba(0, 0, 0, 0.7);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
<div style="height: 100%;">
|
||||
<div class="handle-box">
|
||||
<el-select v-model="queryType.issn" @change="getJourChange" placeholder="Please select a journal" style="width: 250px">
|
||||
<el-option v-for="item in journals" :key="item.issn" :label="item.title" :value="item.issn"> </el-option>
|
||||
@@ -26,7 +26,8 @@
|
||||
<i class="el-icon-search" style="margin-right: 5px"></i>Search
|
||||
</el-button>
|
||||
</div>
|
||||
<el-table
|
||||
<div style="height: calc(100% - 100px);">
|
||||
<el-table height="100%"
|
||||
:data="dataTable"
|
||||
border
|
||||
stripe
|
||||
@@ -36,13 +37,20 @@
|
||||
empty-text="New messages (0)"
|
||||
>
|
||||
<el-table-column width="80" label="No." prop="npp" align="center"></el-table-column>
|
||||
<el-table-column width="140" label="Stage" align="center">
|
||||
<el-table-column width="240" label="Stage" align="center">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.stage_year }} Vol.{{ scope.row.stage_vol }} issue.{{ scope.row.stage_no }}
|
||||
<br />
|
||||
<el-button style="margin-top: 10px" size="mini" type="success" plain icon="el-icon-view" @click="lookView(scope.row)">
|
||||
Preview</el-button
|
||||
<el-button
|
||||
|
||||
size="mini"
|
||||
type="success"
|
||||
plain
|
||||
icon="el-icon-view"
|
||||
@click="lookView(scope.row)"
|
||||
style="margin-left: 10px;padding:4px;float: right;"
|
||||
>Preview</el-button
|
||||
>
|
||||
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="Title">
|
||||
@@ -65,9 +73,9 @@
|
||||
<p style="cursor: pointer; color: #006699 !important" @click="goCite(scope.row)">
|
||||
{{ scope.row.cite_num ? scope.row.cite_num.length : 0 }}
|
||||
|
||||
<!-- <span style="margin-left: 4px; cursor: pointer; color: #006699 !important; font-weight: bold">
|
||||
<span style="margin-left: 4px; cursor: pointer; color: #006699 !important; font-weight: bold">
|
||||
<i class="el-icon-edit"></i>
|
||||
</span> -->
|
||||
</span>
|
||||
</p>
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -130,6 +138,8 @@
|
||||
@current-change="handlePageChange"
|
||||
></el-pagination>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 修改信息 -->
|
||||
<el-dialog title="" :visible.sync="EditVisible" width="750px" :close-on-click-modal="false">
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
<!-- <el-table-column prop="email" label="Email" align="center"></el-table-column> -->
|
||||
<!-- <el-table-column prop="company" label="Company" align="center"></el-table-column> -->
|
||||
<!-- <el-table-column prop="major_str" label="Major"></el-table-column> -->
|
||||
<el-table-column label="Research areas" width="300">
|
||||
<el-table-column label="Research areas" width="310">
|
||||
<template slot-scope="scope">
|
||||
<commonMajorTableList
|
||||
:user_id="scope.row.reviewer_id"
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
<!-- <p class="tab_tie_col" v-if="scope.row.majorstr != ''"><span>Major: </span>{{ scope.row.majorstr }}</p> -->
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="Research areas" width="300">
|
||||
<el-table-column label="Research areas" width="310">
|
||||
<template slot-scope="scope">
|
||||
<commonMajorTableList
|
||||
:user_id="scope.row.user_id"
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="crumbs">
|
||||
<el-page-header @back="goBack" content="Add manuscript reviewer">
|
||||
</el-page-header>
|
||||
<!-- <el-breadcrumb separator="/">
|
||||
<!-- <el-page-header @back="goBack" content="Add manuscript reviewer">
|
||||
</el-page-header> -->
|
||||
<el-breadcrumb separator="/">
|
||||
<el-breadcrumb-item> <i class="el-icon-lx-calendar"></i> Add manuscript reviewer</el-breadcrumb-item>
|
||||
</el-breadcrumb> -->
|
||||
</el-breadcrumb>
|
||||
</div>
|
||||
<div
|
||||
class="container" style="padding: 20px;"
|
||||
@@ -103,7 +103,7 @@
|
||||
<!-- <p class="tab_tie_col" v-if="scope.row.majorstr != ''"><span>Major: </span>{{ scope.row.majorstr }}</p> -->
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="Research areas" width="300">
|
||||
<el-table-column label="Research areas" width="310">
|
||||
<template slot-scope="scope">
|
||||
<commonMajorTableList
|
||||
:user_id="scope.row.reviewer_id"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<div class="block commonMajor" style="width: 100%; overflow: hidden">
|
||||
|
||||
<div v-if="!disabled">
|
||||
<el-button type="primary" plain size="mini" @click="handleAdd" style="float: right; margin-bottom: 20px"
|
||||
><i class="el-icon-plus"></i>Add Field
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div>
|
||||
<div
|
||||
@click="disabled ? '' : BoxMajor()"
|
||||
@click="BoxMajor()"
|
||||
v-if="user_id"
|
||||
style="display: flex; align-items: center; justify-content: space-between"
|
||||
:style="{ cursor: disabled ? '' : 'pointer' }"
|
||||
@@ -11,7 +11,7 @@
|
||||
<div v-if="!loading" class="majorDataBox">
|
||||
<p v-for="(v, i) in majorData" style="border-top: 1px solid #b3d8ff">
|
||||
<span style="font-weight: bold">{{ i + 1 }}.</span>
|
||||
{{ v.major_title.replace('Medicine >', '').trim() }}
|
||||
{{ v.major_title.replace('Medicine >', '').trim().split('>').pop().trim() }}
|
||||
</p>
|
||||
</div>
|
||||
<div v-else>
|
||||
@@ -23,7 +23,7 @@
|
||||
<b style="margin-left: 10px; color: #006699" class="el-icon-edit" v-if="!disabled"></b>
|
||||
</div>
|
||||
|
||||
<el-dialog title="Edit Research areas" :visible.sync="majorBox" width="800px">
|
||||
<el-dialog :title="disabled?'Research areas':'Edit Research areas'" :visible.sync="majorBox" width="800px">
|
||||
<el-form ref="remark" :model="majorMes" label-width="120px">
|
||||
<el-form-item label="Reviewer :">
|
||||
<p style="line-height: 20px; margin-top: 6px">
|
||||
@@ -35,12 +35,13 @@
|
||||
<p style="line-height: 20px; margin-top: 6px">{{ majorMes.email }}</p>
|
||||
</el-form-item> -->
|
||||
<el-form-item label="Research areas :">
|
||||
<common-major-list :list="majorValueList" @load="(e) => (this.majorValueList = e)"></common-major-list>
|
||||
|
||||
<common-major-list :disabled="disabled" :list="majorValueList" @load="(e) => (this.majorValueList = e)"></common-major-list>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
<el-button @click="majorBox = false">Cancel</el-button>
|
||||
<el-button type="primary" @click="saveMajor">Save</el-button>
|
||||
<el-button type="primary" @click="saveMajor" v-if="!disabled">Save</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
|
||||
@@ -74,6 +75,10 @@ export default {
|
||||
this.majorMes.realname = this.baseInfo.realname;
|
||||
this.majorMes.user_id = this.baseInfo.user_id;
|
||||
this.majorMes.email = this.baseInfo.email;
|
||||
if (this.disabled) {
|
||||
this.majorValueList = [...this.majorData].map((item)=>{return {...item,str:item.major_title}});
|
||||
console.log('this.majorValueList at line 79:', this.majorValueList)
|
||||
} else {
|
||||
this.majorValueList = [...this.majorData].map((item) => ({
|
||||
selectedValue: Array.isArray(item.shu)
|
||||
? item.shu
|
||||
@@ -81,6 +86,8 @@ export default {
|
||||
? item.shu.split(',').map(Number)
|
||||
: [item.shu]
|
||||
}));
|
||||
}
|
||||
|
||||
},
|
||||
async fetchMajorData(userId) {
|
||||
// if (!this.majorData[userId]) {
|
||||
|
||||
@@ -206,7 +206,7 @@
|
||||
></b>
|
||||
</template>
|
||||
</el-table-column> -->
|
||||
<el-table-column label="Research areas" width="300">
|
||||
<el-table-column label="Research areas" width="310">
|
||||
<template slot-scope="scope">
|
||||
<commonMajorTableList :user_id="scope.row.user_id" :baseInfo="scope.row" :key="scope.row.user_id"></commonMajorTableList>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user