修改知识库

This commit is contained in:
shidongli 2024-07-18 16:27:00 +08:00
parent 65fb9f49a0
commit c375087579
11 changed files with 58 additions and 50 deletions

View File

@ -1450,10 +1450,6 @@ export default {
background: #e8f4ff; background: #e8f4ff;
} }
} }
::v-deep .el-dialog__body {
padding-bottom: 60px !important;
}
::v-deep .el-input-number .el-input__inner { ::v-deep .el-input-number .el-input__inner {
text-align: left; text-align: left;
} }

View File

@ -207,7 +207,7 @@
<!-- 导入弹框 --> <!-- 导入弹框 -->
<el-dialog title="" :visible.sync="innerexport" width="1000px" append-to-body :before-close="exportcancel"> <el-dialog title="" :visible.sync="innerexport" width="1000px" append-to-body :before-close="exportcancel">
<messageexport @submit="submit" ref="childComponent"></messageexport> <messageexport @submit="submit" ref="childComponent"></messageexport>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer" style="margin-top:20px">
<el-button type="primary" @click="submitexport"> </el-button> <el-button type="primary" @click="submitexport"> </el-button>
<el-button @click="innerexport = false"> </el-button> <el-button @click="innerexport = false"> </el-button>
</div> </div>
@ -661,10 +661,6 @@ export default {
height: 100px; height: 100px;
} }
::v-deep .el-dialog__body {
padding-bottom: 60px !important;
}
::v-deep .el-input-number .el-input__inner { ::v-deep .el-input-number .el-input__inner {
text-align: left; text-align: left;
} }

View File

@ -500,8 +500,3 @@ export default {
}, },
}; };
</script> </script>
<style scoped>
::v-deep .el-dialog__body {
padding-bottom: 60px !important;
}
</style>

View File

@ -406,7 +406,7 @@
<!-- 导入弹框 --> <!-- 导入弹框 -->
<el-dialog title="" :visible.sync="innerexport" width="1000px" append-to-body :before-close="exportcancel"> <el-dialog title="" :visible.sync="innerexport" width="1000px" append-to-body :before-close="exportcancel">
<propagandaexport @submit="submit" ref="childComponent"></propagandaexport> <propagandaexport @submit="submit" ref="childComponent"></propagandaexport>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer" style="margin-top:20px">
<el-button type="primary" @click="submitexport"> </el-button> <el-button type="primary" @click="submitexport"> </el-button>
<el-button @click="innerexport = false"> </el-button> <el-button @click="innerexport = false"> </el-button>
</div> </div>
@ -1190,10 +1190,6 @@ export default {
} }
} }
::v-deep .el-dialog__body {
padding-bottom: 60px !important;
}
::v-deep iframe { ::v-deep iframe {
width: 100%; width: 100%;
height: 500px; height: 500px;

View File

@ -220,7 +220,7 @@
<!-- 导入弹框 --> <!-- 导入弹框 -->
<el-dialog title="" :visible.sync="innerexport" width="1000px" append-to-body :before-close="exportcancel"> <el-dialog title="" :visible.sync="innerexport" width="1000px" append-to-body :before-close="exportcancel">
<scriptexport @submit="submit" ref="childComponent"></scriptexport> <scriptexport @submit="submit" ref="childComponent"></scriptexport>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer" style="margin-top:20px">
<el-button type="primary" @click="submitexport"> </el-button> <el-button type="primary" @click="submitexport"> </el-button>
<el-button @click="innerexport = false"> </el-button> <el-button @click="innerexport = false"> </el-button>
</div> </div>
@ -777,10 +777,6 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
::v-deep .el-dialog__body {
padding-bottom: 60px !important;
}
::v-deep .el-input-number .el-input__inner { ::v-deep .el-input-number .el-input__inner {
text-align: left; text-align: left;
} }

View File

@ -290,7 +290,7 @@
<!-- 导入弹框 --> <!-- 导入弹框 -->
<el-dialog title="" :visible.sync="innerexport" width="1000px" append-to-body :before-close="exportcancel"> <el-dialog title="" :visible.sync="innerexport" width="1000px" append-to-body :before-close="exportcancel">
<servicepackageexport @submit="submit" ref="childComponent"></servicepackageexport> <servicepackageexport @submit="submit" ref="childComponent"></servicepackageexport>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer" style="margin-top:20px">
<el-button type="primary" @click="submitexport"> </el-button> <el-button type="primary" @click="submitexport"> </el-button>
<el-button @click="innerexport = false"> </el-button> <el-button @click="innerexport = false"> </el-button>
</div> </div>
@ -1045,9 +1045,6 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
::v-deep .el-dialog__body {
padding-bottom: 60px !important;
}
::v-deep .el-input-group { ::v-deep .el-input-group {
width: 208px !important; width: 208px !important;

View File

@ -207,7 +207,7 @@
:before-close="exportcancel" :before-close="exportcancel"
> >
<templateexport @submit="submit" ref="childComponent"></templateexport> <templateexport @submit="submit" ref="childComponent"></templateexport>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer" style="margin-top:20px">
<el-button type="primary" @click="submitexport"> </el-button> <el-button type="primary" @click="submitexport"> </el-button>
<el-button @click="innerexport = false"> </el-button> <el-button @click="innerexport = false"> </el-button>
</div> </div>
@ -710,9 +710,6 @@ export default {
text-align: left; text-align: left;
} }
::v-deep .el-dialog__body {
padding-bottom: 60px !important;
}
.left { .left {
height: calc(100vh - 119px); height: calc(100vh - 119px);

View File

@ -111,7 +111,7 @@
<!-- 导入弹框 --> <!-- 导入弹框 -->
<el-dialog title="" :visible.sync="innerexport" width="1000px" append-to-body :before-close="exportcancel"> <el-dialog title="" :visible.sync="innerexport" width="1000px" append-to-body :before-close="exportcancel">
<addexport @submit="submit" ref="childComponent"></addexport> <addexport @submit="submit" ref="childComponent"></addexport>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer" style="margin-top:20px">
<el-button type="primary" @click="submitexport"> </el-button> <el-button type="primary" @click="submitexport"> </el-button>
<el-button @click="innerexport = false"> </el-button> <el-button @click="innerexport = false"> </el-button>
</div> </div>
@ -488,10 +488,6 @@ export default {
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
::v-deep .el-dialog__body {
padding-bottom: 60px !important;
}
::v-deep .el-input-number .el-input__inner { ::v-deep .el-input-number .el-input__inner {
text-align: left; text-align: left;
} }

View File

@ -602,9 +602,4 @@ export default {
}, },
} }
}; };
</script> </script>
<style scoped>
::v-deep .el-dialog__body {
padding-bottom: 60px !important;
}
</style>

View File

@ -539,10 +539,6 @@ export default {
</style> </style>
<style lang="scss" scoped> <style lang="scss" scoped>
::v-deep .el-dialog__body {
padding-bottom: 60px !important;
}
.app-container { .app-container {
padding: 20px 0 0 20px !important; padding: 20px 0 0 20px !important;
} }

View File

@ -32,6 +32,8 @@
<el-row :gutter="10" class="mb8"> <el-row :gutter="10" class="mb8">
<el-col :span="1.5"> <el-col :span="1.5">
<el-button type="primary" plain icon="el-icon-plus" size="mini" @click="handleAdd">新增主路径</el-button> <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>
<!-- <el-col :span="1.5"> <!-- <el-col :span="1.5">
<el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate" <el-button type="success" plain icon="el-icon-edit" size="mini" :disabled="single" @click="handleUpdate"
@ -138,6 +140,14 @@
<el-button @click="cancel"> </el-button> <el-button @click="cancel"> </el-button>
</div> </div>
</el-dialog> </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> </div>
</template> </template>
<script> <script>
@ -149,11 +159,16 @@ import {
servicepackageinfo servicepackageinfo
} from '@/api/manage/signRecord.js' } from '@/api/manage/signRecord.js'
import DepartmentList from '../../components/DepartmentList.vue' import DepartmentList from '../../components/DepartmentList.vue'
import specialexport from "@/views/manage/components/specialexport.vue"
import { copyBaselnfo } from "@/api/system/exportinfo";
export default { export default {
name: "SpecialDiseaseRoute", name: "SpecialDiseaseRoute",
components: { DepartmentList }, components: { DepartmentList,specialexport },
data() { data() {
return { return {
exportlist: [],
innerexport: false,
maxTableHeight: undefined, maxTableHeight: undefined,
// //
loading: true, loading: true,
@ -238,6 +253,41 @@ export default {
watch: { watch: {
}, },
methods: { 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) { clickdepartment(item) {
this.queryParams.hospitalAgencyId = item.hospitalAgencyId this.queryParams.hospitalAgencyId = item.hospitalAgencyId
@ -533,8 +583,6 @@ export default {
} }
} }
} }
</style>
<style lang="scss" scoped>
.app-container { .app-container {
padding: 20px 0 0 20px !important; padding: 20px 0 0 20px !important;
} }