Commit 12f4810f by 史敦盼

修改

1 parent baee9210
......@@ -4,7 +4,7 @@
* @Autor: pan
* @Date: 2024-03-12 14:55:59
* @LastEditors: pan
* @LastEditTime: 2024-04-02 10:49:45
* @LastEditTime: 2024-04-02 13:59:42
-->
<!-- /**
* 搜索栏公共组件
......@@ -152,7 +152,9 @@ export default {
})
},
onReset() {
this.$refs.formRef.resetFields()
this.$nextTick(() => {
this.$refs.formRef.resetFields()
})
},
// 添加初始值
addInitValue() {
......
......@@ -4,7 +4,7 @@
* @Autor: pan
* @Date: 2024-03-12 15:11:47
* @LastEditors: pan
* @LastEditTime: 2024-04-02 10:13:55
* @LastEditTime: 2024-04-02 12:39:00
-->
<template>
<div class="form-item">
......@@ -14,6 +14,7 @@
v-model="currentVal"
v-bind="bindProps"
v-on="bindEvents"
clearable
:placeholder="itemOptions.placeholder"
></el-input>
......
......@@ -4,7 +4,7 @@
* @Autor: pan
* @Date: 2024-04-01 14:39:48
* @LastEditors: pan
* @LastEditTime: 2024-04-02 11:36:03
* @LastEditTime: 2024-04-02 13:55:25
-->
<template>
<el-dialog
......@@ -260,7 +260,7 @@ export default {
if (Object.keys(this.rowData).length) {
this.formOptions.forEach((v) => {
if (v.prop === 'professionalField') {
v.initValue = this.rowData[v.prop].split(',')
v.initValue = this.rowData[v.prop]?.split(',')
} else {
v.initValue = this.rowData[v.prop]
}
......
......@@ -4,7 +4,7 @@
* @Autor: pan
* @Date: 2024-04-01 14:38:41
* @LastEditors: pan
* @LastEditTime: 2024-04-02 11:36:10
* @LastEditTime: 2024-04-02 13:55:40
-->
<template>
<el-dialog
......@@ -189,7 +189,7 @@ export default {
if (Object.keys(this.rowData).length) {
this.formOptions.forEach((v) => {
if (v.prop === 'professionalField') {
v.initValue = this.rowData[v.prop].split(',')
v.initValue = this.rowData[v.prop]?.split(',')
} else {
v.initValue = this.rowData[v.prop]
}
......
......@@ -4,7 +4,7 @@
* @Autor: pan
* @Date: 2024-04-01 14:05:50
* @LastEditors: pan
* @LastEditTime: 2024-04-02 11:35:11
* @LastEditTime: 2024-04-02 13:54:03
-->
<template>
<div class="searchTable">
......@@ -201,7 +201,7 @@ export default {
{ label: '成果简介', prop: 'remark', width: '200px' },
{
label: '专家状态',
prop: 'state_',
prop: 'state',
options: this.talentStatusOptions,
collectionType: true,
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!