|
@@ -254,11 +254,11 @@ export default window.$crudCommon({
|
|
|
return { id, xmId, assetId, zcbm: zcbm_form, userUnicode, userName, yearAndMonth: this.params.yearAndMonth };
|
|
return { id, xmId, assetId, zcbm: zcbm_form, userUnicode, userName, yearAndMonth: this.params.yearAndMonth };
|
|
|
},
|
|
},
|
|
|
handleProjectChange(data) {
|
|
handleProjectChange(data) {
|
|
|
- this.getCyPersonListFunc(data.xmmc);
|
|
|
|
|
|
|
+ this.getCyPersonListFunc(data.id);
|
|
|
},
|
|
},
|
|
|
// 获取项目参研人员列表
|
|
// 获取项目参研人员列表
|
|
|
- getCyPersonListFunc(xmmc) {
|
|
|
|
|
- getCyPersonList(1, 99999, { xmmc, yearAndMonth: this.params.yearAndMonth }).then(({ data }) => {
|
|
|
|
|
|
|
+ getCyPersonListFunc(xmId) {
|
|
|
|
|
+ getCyPersonList(1, 99999, { xmId, yearAndMonth: this.params.yearAndMonth }).then(({ data }) => {
|
|
|
if (data.code == 200) {
|
|
if (data.code == 200) {
|
|
|
let list = data.data.records && data.data.records.length ? data.data.records[0].technicianList : [];
|
|
let list = data.data.records && data.data.records.length ? data.data.records[0].technicianList : [];
|
|
|
this.cyPersonList = list.map(item => {
|
|
this.cyPersonList = list.map(item => {
|