修改知识库

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;
}
}
::v-deep .el-dialog__body {
padding-bottom: 60px !important;
}
::v-deep .el-input-number .el-input__inner {
text-align: left;
}

View File

@ -207,7 +207,7 @@
<!-- 导入弹框 -->
<el-dialog title="" :visible.sync="innerexport" width="1000px" append-to-body :before-close="exportcancel">
<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 @click="innerexport = false"> </el-button>
</div>
@ -661,10 +661,6 @@ export default {
height: 100px;
}
::v-deep .el-dialog__body {
padding-bottom: 60px !important;
}
::v-deep .el-input-number .el-input__inner {
text-align: left;
}

View File

@ -500,8 +500,3 @@ export default {
},
};
</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">
<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 @click="innerexport = false"> </el-button>
</div>
@ -1190,10 +1190,6 @@ export default {
}
}
::v-deep .el-dialog__body {
padding-bottom: 60px !important;
}
::v-deep iframe {
width: 100%;
height: 500px;

View File

@ -220,7 +220,7 @@
<!-- 导入弹框 -->
<el-dialog title="" :visible.sync="innerexport" width="1000px" append-to-body :before-close="exportcancel">
<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 @click="innerexport = false"> </el-button>
</div>
@ -777,10 +777,6 @@ export default {
};
</script>
<style lang="scss" scoped>
::v-deep .el-dialog__body {
padding-bottom: 60px !important;
}
::v-deep .el-input-number .el-input__inner {
text-align: left;
}

View File

@ -290,7 +290,7 @@
<!-- 导入弹框 -->
<el-dialog title="" :visible.sync="innerexport" width="1000px" append-to-body :before-close="exportcancel">
<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 @click="innerexport = false"> </el-button>
</div>
@ -1045,9 +1045,6 @@ export default {
};
</script>
<style lang="scss" scoped>
::v-deep .el-dialog__body {
padding-bottom: 60px !important;
}
::v-deep .el-input-group {
width: 208px !important;

View File

@ -207,7 +207,7 @@
:before-close="exportcancel"
>
<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 @click="innerexport = false"> </el-button>
</div>
@ -710,9 +710,6 @@ export default {
text-align: left;
}
::v-deep .el-dialog__body {
padding-bottom: 60px !important;
}
.left {
height: calc(100vh - 119px);

View File

@ -111,7 +111,7 @@
<!-- 导入弹框 -->
<el-dialog title="" :visible.sync="innerexport" width="1000px" append-to-body :before-close="exportcancel">
<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 @click="innerexport = false"> </el-button>
</div>
@ -488,10 +488,6 @@ export default {
};
</script>
<style lang="scss" scoped>
::v-deep .el-dialog__body {
padding-bottom: 60px !important;
}
::v-deep .el-input-number .el-input__inner {
text-align: left;
}

View File

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

View File

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

View File

@ -32,6 +32,8 @@
<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">
<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>
</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>
@ -149,11 +159,16 @@ 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 },
components: { DepartmentList,specialexport },
data() {
return {
exportlist: [],
innerexport: false,
maxTableHeight: undefined,
//
loading: true,
@ -238,6 +253,41 @@ 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
@ -533,8 +583,6 @@ export default {
}
}
}
</style>
<style lang="scss" scoped>
.app-container {
padding: 20px 0 0 20px !important;
}