|
@@ -97,7 +97,7 @@
|
|
|
:class="['postInfo-container-item']"
|
|
|
>
|
|
|
<el-select v-model="major.principalId"
|
|
|
- placeholder="待定" style="width: 100%"
|
|
|
+ placeholder="待定" style="width: 100%" filterable
|
|
|
:readonly = "!pgLeader"
|
|
|
:disabled="!pgLeader"
|
|
|
>
|
|
@@ -114,7 +114,7 @@
|
|
|
>
|
|
|
<el-select v-model="major.membersId"
|
|
|
placeholder="待定"
|
|
|
- multiple
|
|
|
+ multiple filterable
|
|
|
:readonly = "!pgLeader"
|
|
|
:disabled="!pgLeader"
|
|
|
style="width: 100%">
|
|
@@ -2430,7 +2430,6 @@
|
|
|
handler(newv) {
|
|
|
if (newv) {
|
|
|
const postList = newv.postList.map(item => item.name)
|
|
|
- console.log(postList)
|
|
|
const marketPosts = ['评估部经理']
|
|
|
postList.forEach(element => {
|
|
|
if (marketPosts.includes(element)) {
|
|
@@ -2853,6 +2852,7 @@
|
|
|
this.$refs.majorForm.validate(valid => {
|
|
|
if (valid) {
|
|
|
if (this.major.id) {
|
|
|
+ this.major.members = JSON.stringify(this.major.membersId);
|
|
|
this.$api.major.edit(this.major).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
this.$notify({
|