|
@@ -841,7 +841,9 @@ export default {
|
|
|
realData[i].conceptId = undefined;
|
|
|
realData[i].status = undefined;
|
|
|
realData[i].libType = this.data.code||this.data.typeId;
|
|
|
-
|
|
|
+ if(this.copy){
|
|
|
+ realData[i].libId = undefined
|
|
|
+ }
|
|
|
// obj.isConcept=realData[i].isConcept
|
|
|
// obj.remark=realData[i].remark
|
|
|
// obj.spell=realData[i].spell
|
|
@@ -879,6 +881,7 @@ export default {
|
|
|
// this.warning('请输入填写单患者界面展示通俗内容');
|
|
|
// return;
|
|
|
// }
|
|
|
+ console.log(this.data.typeId,this.data.code)
|
|
|
let params,sexCode=null;
|
|
|
if (this.showMore == 1) {// 下拉文字转code
|
|
|
this.sex.map((v, i) => {
|
|
@@ -893,7 +896,7 @@ export default {
|
|
|
remark: this.data.remark,
|
|
|
spell: this.data.spell,
|
|
|
status: this.data.status||1,
|
|
|
- libType: this.data.typeId||this.data.code,
|
|
|
+ libType: this.data.code||this.data.typeId,
|
|
|
// typeId:this.data.typeId,
|
|
|
synonymName: this.data.synonymName,
|
|
|
isHasCommon: 1,
|
|
@@ -915,7 +918,7 @@ export default {
|
|
|
remark: this.data.remark,
|
|
|
spell: this.data.spell,
|
|
|
status: this.data.status||1,
|
|
|
- libType: this.data.typeId||this.data.code,
|
|
|
+ libType: this.data.code||this.data.typeId,
|
|
|
// typeId:this.data.typeId||this.data.code,
|
|
|
libId: this.copy ? '' :this.data.libId,
|
|
|
isHasCommon: this.data.isHasCommon||0,
|
|
@@ -958,6 +961,7 @@ export default {
|
|
|
// console.log("输入年龄")
|
|
|
},
|
|
|
selectType(e) {
|
|
|
+ console.log(e)
|
|
|
this.typeList.map((v, i) => {
|
|
|
if (v.name == e) {
|
|
|
this.showMore = v.isHasCommon;
|