Przeglądaj źródła

药品映射编辑添加

cc12458 1 rok temu
rodzic
commit
33f9b3ac80

+ 2 - 2
src/views/business/DrugMapList.vue

@@ -27,7 +27,7 @@
         <el-button
         <el-button
           type="primary"
           type="primary"
           size="mini"
           size="mini"
-          @click="$router.push({path:'/index/drugmap?pid='+$route.query.id})"
+          @click="$router.push({path:'/index/drugmap?pid='+$route.query.id+'&isMapping='+isMap})"
         >新增</el-button>
         >新增</el-button>
         <el-button type="warning" size="mini" @click="$router.back()">返回</el-button>
         <el-button type="warning" size="mini" @click="$router.back()">返回</el-button>
       </div>
       </div>
@@ -83,7 +83,7 @@
                   <div
                   <div
                     class="flex-center"
                     class="flex-center"
                     @click="$router.push({path:'/index/drugmap?id='+scope.row
                     @click="$router.push({path:'/index/drugmap?id='+scope.row
-                                    .matDrugId+'&pid='+$route.query.id})"
+                                    .matDrugId+'&pid='+$route.query.id+'&isMapping='+isMap})"
                   >编辑</div>
                   >编辑</div>
                   <!-- <div class="flex-center bg-yellow">删除
                   <!-- <div class="flex-center bg-yellow">删除
                   </div>-->
                   </div>-->

+ 1 - 0
src/views/business/DrugMaping.vue

@@ -214,6 +214,7 @@ export default {
       let params = [
       let params = [
         {
         {
           // orgId: this.getuserinfo.organizationid,
           // orgId: this.getuserinfo.organizationid,
+          isMapping: +this.$route.query.isMapping,
           orgId: this.$route.query.pid,
           orgId: this.$route.query.pid,
           matDrugId: this.myChoose[0].drugId,
           matDrugId: this.myChoose[0].drugId,
           jgDrugId,
           jgDrugId,