|
@@ -67,6 +67,7 @@
|
|
|
*/
|
|
|
import api from '@api/icss.js';
|
|
|
import InfoParagraph from './MedicineInfoPg';
|
|
|
+ import config from '@api/config.js';
|
|
|
|
|
|
export default {
|
|
|
name: 'AddMedicinePrompt',
|
|
@@ -143,7 +144,7 @@
|
|
|
this.form.selectedTermType = data.conceptType;
|
|
|
this.form.source = data.source;
|
|
|
this.form.conceptId = data.conceptId;
|
|
|
- this.form.prags[0].content = data.content;
|
|
|
+ this.form.prags[0].content = data.content.replace('{imageUrlPrefix}',config.imgHost);
|
|
|
this.form.prags[0].isReason = data.isReason;
|
|
|
this.form.prags[0].position=this.mapStringToNum(data.position);
|
|
|
this.form.prags[0].title = data.title;
|
|
@@ -205,6 +206,7 @@
|
|
|
position:typeof item.position=='string'?item.position:item.position.join(","),
|
|
|
source:this.form.source,
|
|
|
conceptId:this.form.conceptId,
|
|
|
+ content:item.content.replace(config.imgHost,'{imageUrlPrefix}'),
|
|
|
isTip:1,
|
|
|
});
|
|
|
this.showSaveDialog(param,'是否保存该静态知识?');
|