|
|
@@ -43,13 +43,13 @@
|
|
|
<project-select ref="projectSelectRef" placeholder="请选择项目名称" multiple v-model="params.xmId"></project-select>
|
|
|
</template> -->
|
|
|
|
|
|
- <template slot="xmmcForm">
|
|
|
+ <template slot="xmIdForm">
|
|
|
<project-select placeholder="请选择项目名称" v-model="form.xmId" :params="{ yearAndMonth: params.yearAndMonth }" @change="handleProjectChange"></project-select>
|
|
|
</template>
|
|
|
|
|
|
- <template slot="nameForm">
|
|
|
- <el-select placeholder="请选择 参研人员姓名" v-model="form.technicianId" :disabled="!form.xmId">
|
|
|
- <el-option v-for="item of technicianList" :key="item.id" :value="item.id" :label="item.name"></el-option>
|
|
|
+ <template slot="unicodeForm">
|
|
|
+ <el-select placeholder="请选择 参研人员姓名" v-model="form.unicode" :disabled="!form.xmId">
|
|
|
+ <el-option v-for="item of technicianList" :key="item.unicode" :value="item.unicode" :label="item.name"></el-option>
|
|
|
</el-select>
|
|
|
</template>
|
|
|
|
|
|
@@ -104,7 +104,6 @@ export default window.$crudCommon({
|
|
|
},
|
|
|
methods: {
|
|
|
getSearchParams() {
|
|
|
- console.log(this)
|
|
|
return {
|
|
|
...this.params,
|
|
|
xmId: this.params.xmId ? this.params.xmId.join(',') : undefined
|