This commit is contained in:
2025-06-10 09:43:50 +08:00
parent 19c672b3c7
commit 3a60529752
2 changed files with 10 additions and 4 deletions

View File

@@ -132,10 +132,11 @@
</p>
</el-collapse-item>
</el-collapse>
<el-collapse class="auth_colla auth_collna_ew" style="margin-top: -15px">
<el-collapse v-model="researchAreas" class="auth_colla auth_collna_ew" style="margin-top: -15px">
<el-collapse-item title="Research areas" name="1">
<div style="position: relative; height: 30px">
<common-major
v-if="form.state==0"
:articleId="editform.articleId"
@load="initMajor()"
style="position: absolute; top: 10px; right: 10px"
@@ -152,7 +153,7 @@
<span style="color: #006699; font-weight: bold; margin-right: 10px"
>Field {{ i + 1 }}:</span
>{{ v.str
}}<i
}}<i v-if="form.state==0"
class="el-icon-delete-solid"
style="color: #f56c6c !important; margin-left: 10px"
@click="handleDeleteMajor(v)"
@@ -553,6 +554,7 @@ export default {
},
data() {
return {
researchAreas:['1'],
AIcontent:'',
previewData: {},
baseUrl: this.Common.baseUrl,

View File

@@ -20,7 +20,7 @@
></el-cascader>
<!-- Delete button -->
<el-button size="mini" type="danger" style="margin-left: 10px;" @click="handleDelete(index)"><i class="el-icon-delete"></i></el-button>
<el-button v-if="!disabled" size="mini" type="danger" style="margin-left: 10px;" @click="handleDelete(index)"><i class="el-icon-delete"></i></el-button>
</div>
<!-- <el-dialog title="Add Field " :visible.sync="coreVisible1" width="780px" :close-on-click-modal="false">
<el-form :model="coreForm1" :rules="rules1" ref="core_Form1" label-width="140px" >
@@ -53,7 +53,11 @@ export default {
list: {
type: Array,
default: []
}
},
disabled: {
type: Boolean,
default: false
},
},
watch: {
list: {