专病路径
This commit is contained in:
parent
c375087579
commit
bc5952be22
@ -32,7 +32,6 @@
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd">新增主路径</el-button>
|
||||
<el-button type="warning" plain icon="el-icon-upload2" size="mini" @click="handleUpload">导入</el-button>
|
||||
|
||||
</el-col>
|
||||
<!-- <el-col :span="1.5">
|
||||
@ -140,14 +139,6 @@
|
||||
<el-button @click="cancel">取 消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
<!-- 导入弹框 -->
|
||||
<el-dialog title="" :visible.sync="innerexport" width="1000px" append-to-body :before-close="exportcancel">
|
||||
<specialexport @submit="submit" ref="childComponent"></specialexport>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitexport">确 定</el-button>
|
||||
<el-button @click="innerexport = false">取 消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
@ -159,16 +150,12 @@ import {
|
||||
servicepackageinfo
|
||||
} from '@/api/manage/signRecord.js'
|
||||
import DepartmentList from '../../components/DepartmentList.vue'
|
||||
import specialexport from "@/views/manage/components/specialexport.vue"
|
||||
import { copyBaselnfo } from "@/api/system/exportinfo";
|
||||
|
||||
export default {
|
||||
name: "SpecialDiseaseRoute",
|
||||
components: { DepartmentList,specialexport },
|
||||
components: { DepartmentList },
|
||||
data() {
|
||||
return {
|
||||
exportlist: [],
|
||||
innerexport: false,
|
||||
maxTableHeight: undefined,
|
||||
// 遮罩层
|
||||
loading: true,
|
||||
@ -253,41 +240,6 @@ export default {
|
||||
watch: {
|
||||
},
|
||||
methods: {
|
||||
submit(e) {
|
||||
this.exportlist = e
|
||||
},
|
||||
// 导入确定按钮
|
||||
submitexport() {
|
||||
var obj = {
|
||||
departmentId: this.queryParams.departmentId,
|
||||
departmentName: this.departmentName,
|
||||
type: 'OPERATOR',
|
||||
sourceTemplateIds: this.exportlist,
|
||||
}
|
||||
copyBaselnfo(obj).then(response => {
|
||||
this.$modal.msgSuccess("导入成功");
|
||||
this.innerexport = false
|
||||
this.$refs.DepartmentList.Departmentlist()
|
||||
this.getList();
|
||||
|
||||
});
|
||||
},
|
||||
// 导入按钮
|
||||
handleUpload() {
|
||||
if (this.queryParams.departmentId) {
|
||||
this.innerexport = true
|
||||
if (this.exportlist.length > 0) {
|
||||
this.$refs.childComponent.resetTable();
|
||||
}
|
||||
} else {
|
||||
this.$modal.msgError("请先选择左侧科室");
|
||||
|
||||
}
|
||||
},
|
||||
// 弹框取消
|
||||
exportcancel() {
|
||||
this.innerexport = false
|
||||
},
|
||||
//接收科室列表传值
|
||||
clickdepartment(item) {
|
||||
this.queryParams.hospitalAgencyId = item.hospitalAgencyId
|
||||
|
||||
Loading…
Reference in New Issue
Block a user