|
@@ -40,9 +40,10 @@
|
|
|
<el-form-item>
|
|
|
<el-button size="mini" @click="uploadClick">导入</el-button>
|
|
|
<input type="file" name="uploadfile " id="upFile" @change="uploadFile($event)" accept=".csv, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">
|
|
|
- <router-link to="/admin/LT-YXSYKWH-TJYXSY" style="margin:0 10px">
|
|
|
+ <!-- <router-link to="/admin/LT-YXSYKWH-TJYXSY" style="margin:0 10px">
|
|
|
<el-button size="mini" type="warning">添加医学标准术语</el-button>
|
|
|
- </router-link>
|
|
|
+ </router-link> -->
|
|
|
+ <el-button size="mini" type="warning" @click="addMedicalName" style="margin:0 10px">添加医学标准术语</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</crumbs>
|
|
@@ -138,8 +139,13 @@
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
- this.getDataList();
|
|
|
+ // this.getDataList();
|
|
|
this.getTypeList();
|
|
|
+ const that = this;
|
|
|
+ //返回时避免参数未赋值就获取列表
|
|
|
+ setTimeout(function(){
|
|
|
+ that.getDataList();
|
|
|
+ });
|
|
|
},
|
|
|
watch:{
|
|
|
'filter':{
|
|
@@ -168,7 +174,7 @@
|
|
|
this.$router.push({
|
|
|
name:'AddMedicalName',
|
|
|
// params: {info:row}
|
|
|
- params: {id:row.conceptId,copy:copy}
|
|
|
+ params: Object.assign(pam,{id:row.conceptId,copy:copy})
|
|
|
})
|
|
|
},
|
|
|
filterDatas(){
|