|
@@ -74,165 +74,164 @@
|
|
|
@size-change="handleSizeChange"
|
|
|
@current-change="handleCurrentChange"
|
|
|
></el-pagination>
|
|
|
- </template>
|
|
|
- <el-dialog
|
|
|
- title="耗材查询"
|
|
|
- v-model="showSuppliesQueryForm"
|
|
|
- width="420px">
|
|
|
- <div style="background: lightblue; color:black; padding: 4px; border-radius: 4px">
|
|
|
- 小提示:每次查询只需填写一项条件。如果填写了多项,程序也只会根据优先级最高的一项来查询。
|
|
|
- <div style="margin-top: 8px">
|
|
|
- 优先级:国家编码 > 注册证号 > 耗材名称
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div style="width: 300px;margin-top: 16px">
|
|
|
- 国家编码:<el-input v-model="currentSupplyRow.nationalCode" placeholder="耗材国家编码 - 精准查询" clearable style="width: 200px"></el-input>
|
|
|
- </div>
|
|
|
- <div style="width: 300px;margin-top: 8px">
|
|
|
- 注册证号:<el-input v-model="currentSupplyRow.approvalNumber" placeholder="耗材注册证号 - 精准查询" clearable style="width: 200px"></el-input>
|
|
|
- </div>
|
|
|
- <div style="width: 300px;margin-top: 8px">
|
|
|
- 耗材名称:<el-input v-model="currentSupplyRow.fuzzyName" placeholder="耗材名称 - 模糊查询" clearable style="width: 200px"></el-input>
|
|
|
- </div>
|
|
|
- <template #footer>
|
|
|
- <el-button type="info" icon="Close" @click="showSuppliesQueryForm = false">取消</el-button>
|
|
|
- <el-button type="primary" icon="Search" @click="getNationalItems">查询</el-button>
|
|
|
- </template>
|
|
|
- </el-dialog>
|
|
|
-
|
|
|
- <el-dialog v-model="showNationalList" top="5vh" width="80%">
|
|
|
- <div class="data-title">HIS数据</div>
|
|
|
- <el-descriptions :column="4" border>
|
|
|
- <el-descriptions-item>
|
|
|
- <template #label> 编码</template>
|
|
|
- {{ data.row.code }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item>
|
|
|
- <template #label> 名称</template>
|
|
|
- {{ data.row.name }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item v-if="queryParam.type !== 3">
|
|
|
- <template #label> 大小包装</template>
|
|
|
- {{ data.row.serial === '01' ? '大包装' : '小包装' }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item v-if="queryParam.type !== 3">
|
|
|
- <template #label> 剂型</template>
|
|
|
- {{ data.row.dosage }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item>
|
|
|
- <template #label> 单位</template>
|
|
|
- {{ data.row.unit }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item v-if="queryParam.type === 3">
|
|
|
- <template #label> 标准编码</template>
|
|
|
- {{ data.row.standardCode }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item v-if="queryParam.type === 3">
|
|
|
- <template #label> 价格</template>
|
|
|
- {{ data.row.price }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item v-if="queryParam.type !== 3">
|
|
|
- <template #label> 规格</template>
|
|
|
- {{ data.row.specification }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item v-if="queryParam.type === 3">
|
|
|
- <template #label> 内涵</template>
|
|
|
- {{ data.row.discription }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item v-if="queryParam.type !== 3">
|
|
|
- <template #label> 批准文号</template>
|
|
|
- {{ data.row.approvalNumber }}
|
|
|
- </el-descriptions-item>
|
|
|
- <el-descriptions-item v-if="queryParam.type !== 3">
|
|
|
- <template #label> 生产厂家</template>
|
|
|
- {{ data.row.factory }}
|
|
|
- </el-descriptions-item>
|
|
|
- </el-descriptions>
|
|
|
- <div class="data-title">国家数据</div>
|
|
|
- <el-input v-show="queryParam.type === 3" v-model="discription" clearable style="width: 300px">
|
|
|
- <template #prepend>内涵过滤</template>
|
|
|
- </el-input>
|
|
|
- <el-input v-show="queryParam.type === 1 || queryParam.type === 4" v-model="factory" clearable style="width: 300px">
|
|
|
- <template #prepend>厂家过滤</template>
|
|
|
- </el-input>
|
|
|
- <el-divider v-show="queryParam.type === 4" direction="vertical"></el-divider>
|
|
|
- <el-input v-show="queryParam.type === 4" v-model="certiNo" clearable style="width: 320px">
|
|
|
- <template #prepend>注册证号过滤</template>
|
|
|
- </el-input>
|
|
|
- <el-input v-model="nationalCode" clearable style="width: 320px">
|
|
|
- <template #prepend>国家代码</template>
|
|
|
- </el-input>
|
|
|
- <el-table :data="cptNationalItems" :height="dialogTableHeight" stripe>
|
|
|
- <el-table-column label="国家代码" prop="nationalCode"></el-table-column>
|
|
|
- <el-table-column label="国家名称" prop="nationalName"></el-table-column>
|
|
|
- <el-table-column v-if="queryParam.type === 1" label="剂型" prop="actualDosage"></el-table-column>
|
|
|
- <el-table-column v-if="queryParam.type === 1" label="规格" prop="specifications"></el-table-column>
|
|
|
- <el-table-column v-if="queryParam.type === 1" label="包装材质" prop="packingMaterial"></el-table-column>
|
|
|
- <el-table-column v-if="queryParam.type === 1" label="生产厂家" prop="factory"></el-table-column>
|
|
|
- <el-table-column v-if="queryParam.type === 1" label="批准文号" prop="approvalNumber"></el-table-column>
|
|
|
- <el-table-column v-if="queryParam.type === 1" label="药品本位码" prop="drugStandardCode"></el-table-column>
|
|
|
- <el-table-column v-if="queryParam.type === 3" label="项目内涵" prop="projectConnotation"></el-table-column>
|
|
|
- <el-table-column v-if="queryParam.type === 3" label="除外内容" prop="exclusions"></el-table-column>
|
|
|
- <el-table-column v-if="queryParam.type === 3" label="计价单位" prop="valuationUnit"></el-table-column>
|
|
|
- <el-table-column v-if="queryParam.type === 3" label="项目说明" prop="projectDescription"></el-table-column>
|
|
|
- <el-table-column v-if="queryParam.type === 4" label="医保通用名" prop="siName"></el-table-column>
|
|
|
- <el-table-column v-if="queryParam.type === 4" label="材质" prop="material"></el-table-column>
|
|
|
- <el-table-column v-if="queryParam.type === 4" label="耗材企业" prop="factory"></el-table-column>
|
|
|
- <el-table-column label="开始时间" prop="startTime"></el-table-column>
|
|
|
- <el-table-column label="结束时间" prop="endTime"></el-table-column>
|
|
|
- <el-table-column label="状态">
|
|
|
- <template #default="scope">
|
|
|
- <div v-html="filterMatchedCount(scope.row.matchedCount)"></div>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="匹配">
|
|
|
- <template #default="scope">
|
|
|
- <el-button circle icon="Pointer" type="success" @click="doMatch(scope.row)"></el-button>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
- <div style="height: 12px"></div>
|
|
|
- </el-dialog>
|
|
|
- <el-drawer v-model="showModifyLocalItem" direction="rtl" title="项目修改">
|
|
|
- <div style="padding: 20px">
|
|
|
- <el-input v-model="data.row.name" clearable size="small">
|
|
|
- <template #prepend>项目名称</template>
|
|
|
+ <el-dialog v-model="showNationalList" width="80%">
|
|
|
+ <div class="data-title">HIS数据</div>
|
|
|
+ <el-descriptions :column="4" border>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 编码</template>
|
|
|
+ {{ data.row.code }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 名称</template>
|
|
|
+ {{ data.row.name }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item v-if="queryParam.type !== 3">
|
|
|
+ <template #label> 大小包装</template>
|
|
|
+ {{ data.row.serial === '01' ? '大包装' : '小包装' }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item v-if="queryParam.type !== 3">
|
|
|
+ <template #label> 剂型</template>
|
|
|
+ {{ data.row.dosage }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item>
|
|
|
+ <template #label> 单位</template>
|
|
|
+ {{ data.row.unit }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item v-if="queryParam.type === 3">
|
|
|
+ <template #label> 标准编码</template>
|
|
|
+ {{ data.row.standardCode }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item v-if="queryParam.type === 3">
|
|
|
+ <template #label> 价格</template>
|
|
|
+ {{ data.row.price }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item v-if="queryParam.type !== 3">
|
|
|
+ <template #label> 规格</template>
|
|
|
+ {{ data.row.specification }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item v-if="queryParam.type === 3">
|
|
|
+ <template #label> 内涵</template>
|
|
|
+ {{ data.row.discription }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item v-if="queryParam.type !== 3">
|
|
|
+ <template #label> 批准文号</template>
|
|
|
+ {{ data.row.approvalNumber }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ <el-descriptions-item v-if="queryParam.type !== 3">
|
|
|
+ <template #label> 生产厂家</template>
|
|
|
+ {{ data.row.factory }}
|
|
|
+ </el-descriptions-item>
|
|
|
+ </el-descriptions>
|
|
|
+ <div class="data-title">国家数据</div>
|
|
|
+ <el-input v-show="queryParam.type === 3" v-model="discription" clearable style="width: 300px">
|
|
|
+ <template #prepend>内涵过滤</template>
|
|
|
</el-input>
|
|
|
- <div v-if="queryParam.type === 4">
|
|
|
- <el-input v-model="data.row.specification" class="mt-12" clearable size="small">
|
|
|
- <template #prepend>项目规格</template>
|
|
|
- </el-input>
|
|
|
- <el-input v-model="data.row.factory" class="mt-12" clearable size="small">
|
|
|
- <template #prepend>生产厂家</template>
|
|
|
- </el-input>
|
|
|
+ <el-input v-show="queryParam.type === 1 || queryParam.type === 4" v-model="factory" clearable style="width: 300px">
|
|
|
+ <template #prepend>厂家过滤</template>
|
|
|
+ </el-input>
|
|
|
+ <el-divider v-show="queryParam.type === 4" direction="vertical"></el-divider>
|
|
|
+ <el-input v-show="queryParam.type === 4" v-model="certiNo" clearable style="width: 320px">
|
|
|
+ <template #prepend>注册证号过滤</template>
|
|
|
+ </el-input>
|
|
|
+ <el-input v-model="nationalCode" clearable style="width: 320px">
|
|
|
+ <template #prepend>国家代码</template>
|
|
|
+ </el-input>
|
|
|
+ <el-table :data="cptNationalItems" :height="dialogTableHeight" stripe>
|
|
|
+ <el-table-column label="国家代码" prop="nationalCode"></el-table-column>
|
|
|
+ <el-table-column label="国家名称" prop="nationalName"></el-table-column>
|
|
|
+ <el-table-column v-if="queryParam.type === 1" label="剂型" prop="actualDosage"></el-table-column>
|
|
|
+ <el-table-column v-if="queryParam.type === 1" label="规格" prop="specifications"></el-table-column>
|
|
|
+ <el-table-column v-if="queryParam.type === 1" label="包装材质" prop="packingMaterial"></el-table-column>
|
|
|
+ <el-table-column v-if="queryParam.type === 1" label="生产厂家" prop="factory"></el-table-column>
|
|
|
+ <el-table-column v-if="queryParam.type === 1" label="批准文号" prop="approvalNumber"></el-table-column>
|
|
|
+ <el-table-column v-if="queryParam.type === 1" label="药品本位码" prop="drugStandardCode"></el-table-column>
|
|
|
+ <el-table-column v-if="queryParam.type === 3" label="项目内涵" prop="projectConnotation"></el-table-column>
|
|
|
+ <el-table-column v-if="queryParam.type === 3" label="除外内容" prop="exclusions"></el-table-column>
|
|
|
+ <el-table-column v-if="queryParam.type === 3" label="计价单位" prop="valuationUnit"></el-table-column>
|
|
|
+ <el-table-column v-if="queryParam.type === 3" label="项目说明" prop="projectDescription"></el-table-column>
|
|
|
+ <el-table-column v-if="queryParam.type === 4" label="医保通用名" prop="siName"></el-table-column>
|
|
|
+ <el-table-column v-if="queryParam.type === 4" label="材质" prop="material"></el-table-column>
|
|
|
+ <el-table-column v-if="queryParam.type === 4" label="耗材企业" prop="factory"></el-table-column>
|
|
|
+ <el-table-column label="开始时间" prop="startTime"></el-table-column>
|
|
|
+ <el-table-column label="结束时间" prop="endTime"></el-table-column>
|
|
|
+ <el-table-column label="状态">
|
|
|
+ <template #default="scope">
|
|
|
+ <div v-html="filterMatchedCount(scope.row.matchedCount)"></div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="匹配">
|
|
|
+ <template #default="scope">
|
|
|
+ <el-button circle icon="Pointer" type="success" @click="doMatch(scope.row)"></el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <div style="height: 12px"></div>
|
|
|
+ </el-dialog>
|
|
|
+ <el-dialog
|
|
|
+ title="耗材查询"
|
|
|
+ v-model="showSuppliesQueryForm"
|
|
|
+ width="420px">
|
|
|
+ <div style="background: lightblue; color:black; padding: 4px; border-radius: 4px">
|
|
|
+ 小提示:每次查询只需填写一项条件。如果填写了多项,程序也只会根据优先级最高的一项来查询。
|
|
|
+ <div style="margin-top: 8px">
|
|
|
+ 优先级:国家编码 > 注册证号 > 耗材名称
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div v-if="queryParam.type === 3">
|
|
|
- <el-input v-model="data.row.price" class="mt-12" clearable size="small">
|
|
|
- <template #prepend>项目金额</template>
|
|
|
- </el-input>
|
|
|
- <el-input v-model="data.row.unit" class="mt-12" clearable size="small">
|
|
|
- <template #prepend>项目单位</template>
|
|
|
- </el-input>
|
|
|
- <el-input v-model="data.row.standardCode" class="mt-12" clearable size="small">
|
|
|
- <template #prepend>标准编码</template>
|
|
|
- </el-input>
|
|
|
- <div class="m-prepend">项目内涵</div>
|
|
|
- <el-input v-model="data.row.discription" class="mt-4" clearable rows="3" size="small" type="textarea"></el-input>
|
|
|
+ <div style="width: 300px;margin-top: 16px">
|
|
|
+ 国家编码:<el-input v-model="currentSupplyRow.nationalCode" placeholder="耗材国家编码 - 精准查询" clearable style="width: 200px"></el-input>
|
|
|
+ </div>
|
|
|
+ <div style="width: 300px;margin-top: 8px">
|
|
|
+ 注册证号:<el-input v-model="currentSupplyRow.approvalNumber" placeholder="耗材注册证号 - 精准查询" clearable style="width: 200px"></el-input>
|
|
|
</div>
|
|
|
- <div class="drawer-footer">
|
|
|
- <el-button icon="Close" size="small" @click="cancelModify">取消</el-button>
|
|
|
- <el-button icon="Check" size="small" type="primary" @click="confirmModify"> 保存</el-button>
|
|
|
+ <div style="width: 300px;margin-top: 8px">
|
|
|
+ 耗材名称:<el-input v-model="currentSupplyRow.fuzzyName" placeholder="耗材名称 - 模糊查询" clearable style="width: 200px"></el-input>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- </el-drawer>
|
|
|
- <el-dialog v-model="showUploadPrm" title="请填写以下参数" width="20%">
|
|
|
- <div style="height: 8px"></div>
|
|
|
- <el-date-picker v-model="uploadPrm.beginDate" format="YYYY-MM-DD" placeholder="开始日期" value-format="YYYY-MM-DD"></el-date-picker>
|
|
|
- <div style="height: 8px"></div>
|
|
|
- <el-date-picker v-model="uploadPrm.endDate" format="YYYY-MM-DD" placeholder="结束日期" value-format="YYYY-MM-DD"></el-date-picker>
|
|
|
- <div style="height: 16px"></div>
|
|
|
- <el-button icon="Check" type="primary" @click="executeUploadMatch">确定上传</el-button>
|
|
|
- </el-dialog>
|
|
|
+ <template #footer>
|
|
|
+ <el-button type="info" icon="Close" @click="showSuppliesQueryForm = false">取消</el-button>
|
|
|
+ <el-button type="primary" icon="Search" @click="getNationalItems">查询</el-button>
|
|
|
+ </template>
|
|
|
+ </el-dialog>
|
|
|
+ <el-drawer v-model="showModifyLocalItem" direction="rtl" title="项目修改">
|
|
|
+ <div style="padding: 20px">
|
|
|
+ <el-input v-model="data.row.name" clearable size="small">
|
|
|
+ <template #prepend>项目名称</template>
|
|
|
+ </el-input>
|
|
|
+ <div v-if="queryParam.type === 4">
|
|
|
+ <el-input v-model="data.row.specification" class="mt-12" clearable size="small">
|
|
|
+ <template #prepend>项目规格</template>
|
|
|
+ </el-input>
|
|
|
+ <el-input v-model="data.row.factory" class="mt-12" clearable size="small">
|
|
|
+ <template #prepend>生产厂家</template>
|
|
|
+ </el-input>
|
|
|
+ </div>
|
|
|
+ <div v-if="queryParam.type === 3">
|
|
|
+ <el-input v-model="data.row.price" class="mt-12" clearable size="small">
|
|
|
+ <template #prepend>项目金额</template>
|
|
|
+ </el-input>
|
|
|
+ <el-input v-model="data.row.unit" class="mt-12" clearable size="small">
|
|
|
+ <template #prepend>项目单位</template>
|
|
|
+ </el-input>
|
|
|
+ <el-input v-model="data.row.standardCode" class="mt-12" clearable size="small">
|
|
|
+ <template #prepend>标准编码</template>
|
|
|
+ </el-input>
|
|
|
+ <div class="m-prepend">项目内涵</div>
|
|
|
+ <el-input v-model="data.row.discription" class="mt-4" clearable rows="3" size="small" type="textarea"></el-input>
|
|
|
+ </div>
|
|
|
+ <div class="drawer-footer">
|
|
|
+ <el-button icon="Close" size="small" @click="cancelModify">取消</el-button>
|
|
|
+ <el-button icon="Check" size="small" type="primary" @click="confirmModify"> 保存</el-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-drawer>
|
|
|
+ <el-dialog v-model="showUploadPrm" title="请填写以下参数" width="20%">
|
|
|
+ <div style="height: 8px"></div>
|
|
|
+ <el-date-picker v-model="uploadPrm.beginDate" format="YYYY-MM-DD" placeholder="开始日期" value-format="YYYY-MM-DD"></el-date-picker>
|
|
|
+ <div style="height: 8px"></div>
|
|
|
+ <el-date-picker v-model="uploadPrm.endDate" format="YYYY-MM-DD" placeholder="结束日期" value-format="YYYY-MM-DD"></el-date-picker>
|
|
|
+ <div style="height: 16px"></div>
|
|
|
+ <el-button icon="Check" type="primary" @click="executeUploadMatch">确定上传</el-button>
|
|
|
+ </el-dialog>
|
|
|
+ </template>
|
|
|
</page-layer>
|
|
|
</template>
|
|
|
|