|
@@ -119,7 +119,6 @@
|
|
|
}}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="人员类别" align="center" prop="id" />
|
|
|
<el-table-column label="单位" align="center" prop="unitName" />
|
|
|
<el-table-column label="姓名" align="center" prop="peopleName" />
|
|
|
<el-table-column label="工作岗位" align="center" prop="job" />
|
|
@@ -129,8 +128,11 @@
|
|
|
align="center"
|
|
|
class-name="small-padding fixed-width"
|
|
|
>
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-button
|
|
|
+ <template>
|
|
|
+ <!-- <template slot-scope="scope">-->
|
|
|
+ <el-button @click="tianJia"> 添加体检信息 </el-button>
|
|
|
+ <el-button @click="chaKan"> 查看 </el-button>
|
|
|
+ <!-- <el-button
|
|
|
size="btu"
|
|
|
type="text"
|
|
|
@click="handleUpdate(scope.row)"
|
|
@@ -143,7 +145,7 @@
|
|
|
@click="handleDelete(scope.row)"
|
|
|
v-hasPermi="['medicalhealth:examine:remove']"
|
|
|
>删除</el-button
|
|
|
- >
|
|
|
+ > -->
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -198,6 +200,44 @@
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
+
|
|
|
+ <!-- 添加体检信息 -->
|
|
|
+ <el-dialog
|
|
|
+ title="添加体检信息"
|
|
|
+ :visible.sync="opene"
|
|
|
+ width="700px"
|
|
|
+ append-to-body
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ >
|
|
|
+ 年份
|
|
|
+ <input type="text" />
|
|
|
+ <div class="jiben">体检信息</div>
|
|
|
+ <quill-editor
|
|
|
+ class="quill-editor"
|
|
|
+ ref="myTextEditor"
|
|
|
+ v-model="form.contents"
|
|
|
+ style="height: 150px; width: 920px; margin-left: 0px"
|
|
|
+ ></quill-editor>
|
|
|
+ </el-dialog>
|
|
|
+
|
|
|
+ <!-- 查看体检信息 -->
|
|
|
+ <el-dialog
|
|
|
+ title="查看体检信息"
|
|
|
+ :visible.sync="openes"
|
|
|
+ width="700px"
|
|
|
+ append-to-body
|
|
|
+ :close-on-click-modal="false"
|
|
|
+ >
|
|
|
+ 年份
|
|
|
+ <input type="text" />
|
|
|
+ <div class="jiben">体检信息</div>
|
|
|
+ <quill-editor
|
|
|
+ class="quill-editor"
|
|
|
+ ref="myTextEditor"
|
|
|
+ v-model="form.contents"
|
|
|
+ style="height: 150px; width: 920px; margin-left: 0px"
|
|
|
+ ></quill-editor>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -215,10 +255,18 @@ import {
|
|
|
// 导入树形结构
|
|
|
import Treeselect from "@riophae/vue-treeselect";
|
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
+
|
|
|
+// 富文本
|
|
|
+import "quill/dist/quill.core.css";
|
|
|
+import "quill/dist/quill.snow.css";
|
|
|
+import "quill/dist/quill.bubble.css";
|
|
|
+import { quillEditor } from "vue-quill-editor";
|
|
|
+
|
|
|
export default {
|
|
|
name: "Examine",
|
|
|
components: {
|
|
|
Treeselect,
|
|
|
+ quillEditor,
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
@@ -242,6 +290,10 @@ export default {
|
|
|
title: "",
|
|
|
// 是否显示弹出层
|
|
|
open: false,
|
|
|
+ // 是否显示添加体检弹出层
|
|
|
+ opene: false,
|
|
|
+ // 是否显示查看体检弹出层
|
|
|
+ openes: false,
|
|
|
// 查询参数
|
|
|
queryParams: {
|
|
|
pageNum: 1,
|
|
@@ -265,6 +317,14 @@ export default {
|
|
|
this.getList();
|
|
|
},
|
|
|
methods: {
|
|
|
+ // 点击添加人员体检信息
|
|
|
+ tianJia() {
|
|
|
+ this.opene = true;
|
|
|
+ },
|
|
|
+ // 点击查看人员体检信息
|
|
|
+ chaKan() {
|
|
|
+ this.openes = true;
|
|
|
+ },
|
|
|
// 点击人员触发
|
|
|
xingMing(name) {
|
|
|
this.form.peopleName = name;
|
|
@@ -445,7 +505,7 @@ export default {
|
|
|
::v-deep .vue-treeselect__single-value {
|
|
|
color: #fff !important;
|
|
|
}
|
|
|
-::v-deep .el-input__inner{
|
|
|
+::v-deep .el-input__inner {
|
|
|
height: 36px !important;
|
|
|
}
|
|
|
</style>
|