su
su1124
2023-12-25 b453f7393b3f05c0f274a2424a32319ded0f7843
su
9个文件已修改
597 ■■■■■ 已修改文件
src/views/doctor/check/index.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/checkAll/index.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/imaging/index.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/test/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/hosp/project/index.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/picture/music/index.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/picture/other/index.vue 284 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/picture/picture/index.vue 280 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/comp/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/doctor/check/index.vue
@@ -13,7 +13,7 @@
          style="width: 116px"
          placeholder="请输入姓名"
          clearable
          @keyup.enter.native="handleQuery"
          @keyup.enter.native="submitForm"
        ></el-input>
      </el-form-item>
      <el-form-item label="体检号" prop="tjNumber">
@@ -22,6 +22,8 @@
          v-model="queryParams.tjNumber"
          style="width: 240px"
          placeholder="请输入体检号"
          @blur="submitForm"
          @keyup.enter.native="submitForm"
        ></el-input>
      </el-form-item>
      <el-form-item>
src/views/doctor/checkAll/index.vue
@@ -24,6 +24,7 @@
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="handleQuery"
          @blur="handleQuery"
        ></el-input>
      </el-form-item>
      <el-form-item label="体检时间" prop="tjTime">
@@ -1478,9 +1479,14 @@
    },
    // 撤销
    getRevoke(row) {
      this.loading = true;
      const tjNumber = row.tjNumber;
      revoke(tjNumber).then((response) => {
        this.$modal.msgSuccess("撤回成功");
        if(response.code == 200){
          this.loading = false;
          this.getList();
        }
      });
    },
src/views/doctor/imaging/index.vue
@@ -22,6 +22,8 @@
          v-model="queryParams.tjNumber"
          style="width: 240px"
          placeholder="请输入体检号"
          @blur="submitForm"
          @keyup.enter.native="submitForm"
        ></el-input>
      </el-form-item>
      <el-form-item>
src/views/doctor/test/index.vue
@@ -6,7 +6,7 @@
          @keyup.enter.native="handleQuery"></el-input>
      </el-form-item>
      <el-form-item label="体检号" prop="tjNumber">
        <el-input ref="inputName" v-model="queryParams.tjNumber" style="width: 240px" placeholder="请输入体检号"></el-input>
        <el-input ref="inputName" v-model="queryParams.tjNumber" style="width: 240px" placeholder="请输入体检号" @blur="submitForm" @keyup.enter.native="submitForm"></el-input>
      </el-form-item>
      <el-form-item>
        <el-button size="mini" type="primary" @click="submitForm">搜索</el-button>
src/views/hosp/project/index.vue
@@ -472,7 +472,10 @@
      },
      // 表单参数
      form: {
       needReport :"Y"
       needReport :"Y",
       proName:"",
       proPrice:"",
       sfxmId:"",
      },
      // 表单校验
      rules: {
@@ -572,9 +575,9 @@
    handleAdd(row) {
      // this.reset();
      this.loading = true;
      this.form.proPrice = 0.00
      this.form.proName = ""
      this.form.proId = null
      // this.form.proPrice = 0.00
      // this.form.proName = ""
      // this.form.proId = null
      ProjectTree().then((response) => {
        if (response.code == 200) {
          this.loading = false;
src/views/picture/music/index.vue
@@ -10,10 +10,12 @@
    >
      <el-form-item label="体检号" prop="tjNum">
        <el-input
          ref="inputName"
          v-model="queryParams.tjNum"
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="handleQuery"
          @blur="handleQuery"
          style="width: 160px"
        />
      </el-form-item>
@@ -649,6 +651,11 @@
  created() {
    this.getList();
  },
  mounted() {
    this.$nextTick(() => {
      this.$refs.inputName.focus();
    });
  },
  methods: {
    handleRowClick(selection) {
      this.row = selection.customer;
src/views/picture/other/index.vue
@@ -1,13 +1,32 @@
<template>
    <div class="app-container">
        <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
    <el-form
      :model="queryParams"
      ref="queryForm"
      size="small"
      :inline="true"
      v-show="showSearch"
      label-width="68px"
    >
            <el-form-item label="体检号" prop="tjNum">
                <el-input v-model="queryParams.tjNum" placeholder="请输入体检号" clearable @keyup.enter.native="handleQuery"
                    style="width: 160px;" />
        <el-input
          ref="inputName"
          v-model="queryParams.tjNum"
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="handleQuery"
          @blur="handleQuery"
          style="width: 160px"
        />
            </el-form-item>
            <el-form-item label="客户名称" prop="name">
                <el-input v-model="queryParams.name" placeholder="请输入客户名称" clearable @keyup.enter.native="handleQuery"
                    style="width: 100px;" />
        <el-input
          v-model="queryParams.name"
          placeholder="请输入客户名称"
          clearable
          @keyup.enter.native="handleQuery"
          style="width: 100px"
        />
            </el-form-item>
            <!-- <el-form-item label="项目" prop="proId">
                            <el-input
@@ -43,8 +62,16 @@
                            />
                        </el-form-item> -->
            <el-form-item>
                <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
                <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
        <el-button
          type="primary"
          icon="el-icon-search"
          size="mini"
          @click="handleQuery"
          >搜索</el-button
        >
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
          >重置</el-button
        >
            </el-form-item>
        </el-form>
@@ -98,30 +125,73 @@
            <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
        </el-row> -->
        <div style="width: 100%; margin-left: 10px;display: flex;">
            <div style="width: 39%; margin-right: 30px;">
                <el-table id="table" v-loading="loading" ref="tb" :data="pictureList"
                    @selection-change="handleSelectionChange" border height="630px">
    <div style="width: 100%; margin-left: 10px; display: flex">
      <div style="width: 39%; margin-right: 30px">
        <el-table
          id="table"
          v-loading="loading"
          ref="tb"
          :data="pictureList"
          @selection-change="handleSelectionChange"
          border
          height="630px"
        >
                    <el-table-column type="selection" width="40" align="center" />
                    <el-table-column label="体检号" align="center" prop="customer.tjNumber" width="160px" />
                    <el-table-column label="客户名称" align="center" prop="customer.cusName" width="90px" />
          <el-table-column
            label="体检号"
            align="center"
            prop="customer.tjNumber"
            width="160px"
          />
          <el-table-column
            label="客户名称"
            align="center"
            prop="customer.cusName"
            width="90px"
          />
                    <!-- <el-table-column label="身份证" align="center" prop="customer.cusIdcard" width="170px" /> -->
                    <el-table-column label="性别" align="center" prop="customer.cusSex" width="60px">
          <el-table-column
            label="性别"
            align="center"
            prop="customer.cusSex"
            width="60px"
          >
                        <template slot-scope="scope">
                            {{ scope.row.customer.cusSex === 0 ? "男" : "女" }}
                            <!-- <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.cusSex " /> -->
                        </template>
                    </el-table-column>
                    <!-- <el-table-column label="生日" align="center" prop="customer.cusBrithday" width="110px" /> -->
                    <el-table-column label="手机号" align="center" prop="customer.cusPhone" width="120px" />
                    <el-table-column label="婚姻" align="center" prop="cusMarryStatus" width="90px">
          <el-table-column
            label="手机号"
            align="center"
            prop="customer.cusPhone"
            width="120px"
          />
          <el-table-column
            label="婚姻"
            align="center"
            prop="cusMarryStatus"
            width="90px"
          >
                        <template slot-scope="scope">
                            <dict-tag :options="dict.type.dict_user_marry" :value="scope.row.customer.cusMarryStatus" />
              <dict-tag
                :options="dict.type.dict_user_marry"
                :value="scope.row.customer.cusMarryStatus"
              />
                        </template>
                    </el-table-column>
                    <el-table-column label="民族" align="center" prop="cusNational" width="90px">
          <el-table-column
            label="民族"
            align="center"
            prop="cusNational"
            width="90px"
          >
                        <template slot-scope="scope">
                            <dict-tag :options="dict.type.dict_user_national" :value="scope.row.customer.cusNational" />
              <dict-tag
                :options="dict.type.dict_user_national"
                :value="scope.row.customer.cusNational"
              />
                        </template>
                    </el-table-column>
                    <!-- <el-table-column label="心电图" align="center" prop="xdt" /> -->
@@ -150,18 +220,32 @@
            </el-table-column> -->
                </el-table>
            </div>
            <div style="width: 44%;height: 610px;">
                <el-table v-loading="loading" ref="mu" :data="tableList" @selection-change="handleChange" border>
      <div style="width: 44%; height: 610px">
        <el-table
          v-loading="loading"
          ref="mu"
          :data="tableList"
          @selection-change="handleChange"
          border
        >
                    <el-table-column type="selection" width="40" align="center" />
                    <el-table-column label="收费项目" align="center" prop="proName" />
                    <el-table-column label="项目名称" align="center" prop="proName" />
                    <el-table-column label="项目结果" align="center" prop="measuredValue" />
          <el-table-column
            label="项目结果"
            align="center"
            prop="measuredValue"
          />
                    <!-- <el-table-column label="结论" align="center" prop="fixedValue" /> -->
                </el-table>
                <div style=" height:390px;margin-top: 10px;">
                    <el-image v-loading="loading" style='height: 390px;width: 100%;' :src="imgsrc + tjNumber + '.png'"
                        :preview-src-list="[imgsrc + tjNumber + '.png']"></el-image>
        <div style="height: 390px; margin-top: 10px">
          <el-image
            v-loading="loading"
            style="height: 390px; width: 100%"
            :src="imgsrc + tjNumber + '.png'"
            :preview-src-list="[imgsrc + tjNumber + '.png']"
          ></el-image>
                </div>
                <!-- <div style=" height:390px;margin-top: 10px;">
                    <div class="left"> -->
@@ -178,16 +262,32 @@
                    </div>
                </div> -->
                <div style="margin-top: 20px;">
                    <el-form :model="form" ref="queryForm" size="small" :inline="true" label-width="68px">
        <div style="margin-top: 20px">
          <el-form
            :model="form"
            ref="queryForm"
            size="small"
            :inline="true"
            label-width="68px"
          >
                        <el-form-item label="项目结果" prop="measuredValue">
                            <el-input v-model="form.measuredValue" clearable />
                        </el-form-item>
                        <el-form-item label="结果结论" prop="fixedValue">
                            <el-input v-model="form.fixedValue" clearable @focus="submiepilog" />
              <el-input
                v-model="form.fixedValue"
                clearable
                @focus="submiepilog"
              />
                        </el-form-item>
                        <el-form-item>
                            <el-button type="primary" icon="el-icon-search" size="mini" @click="submito">提交</el-button>
              <el-button
                type="primary"
                icon="el-icon-search"
                size="mini"
                @click="submito"
                >提交</el-button
              >
                        </el-form-item>
                    </el-form>
                </div>
@@ -203,15 +303,18 @@
            </div>
        </div>
        <div style="margin-right: 70%;">
            <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
                :limit.sync="queryParams.pageSize" @pagination="getList" />
    <div style="margin-right: 70%">
      <pagination
        v-show="total > 0"
        :total="total"
        :page.sync="queryParams.pageNum"
        :limit.sync="queryParams.pageSize"
        @pagination="getList"
      />
        </div>
        <!-- 添加或修改体检心电图管理对话框-->
        <Public ref="aaa"   @add="handleChanges" />
    </div>
</template>
@@ -222,18 +325,22 @@
    getPicture,
    delPicture,
    addPicture,
    updateCheck
  updateCheck,
} from "@/api/picture/check";
export default {
    dicts: [
        "sys_user_sex", "sampling_type", "sys_dict_specimen", "dict_user_marry", "dict_user_national"
    "sys_user_sex",
    "sampling_type",
    "sys_dict_specimen",
    "dict_user_marry",
    "dict_user_national",
    ],
    name: "Picture",
    components: { Public },
    data() {
        return {
            topStyle: { transform: '' },
      topStyle: { transform: "" },
            r_img: {},
            topShow: false,
            rShow: false,
@@ -255,8 +362,8 @@
            size: 10,
            pageSize: [10, 20, 30, 40, 50],
            tableData: [],
            activeName: 'first',
            textarea2: '',
      activeName: "first",
      textarea2: "",
            // 体检心电图管理表格数据
            pictureList: [],
            tableList: [],
@@ -286,49 +393,53 @@
            },
            dataobj:{},
            // 表单校验
            rules: {
            }
      rules: {},
        };
    },
    created() {
        this.getList();
    },
  mounted() {
    this.$nextTick(() => {
      this.$refs.inputName.focus();
    });
  },
    methods: {
        // 鼠标进入原图空间函数
        enterHandler() {
            // 层罩及放大空间的显示
            this.topShow = true
            this.rShow = true
      this.topShow = true;
      this.rShow = true;
        },
        // 鼠标移动函数
        moveHandler(event) {
            // 鼠标的坐标位置
            let x = event.offsetX
            let y = event.offsetY
      let x = event.offsetX;
      let y = event.offsetY;
            // 层罩的左上角坐标位置,并对其进行限制:无法超出原图区域左上角
            let topX = (x - 100) < 0 ? 0 : (x - 100)
            let topY = (y - 100) < 0 ? 0 : (y - 100)
      let topX = x - 100 < 0 ? 0 : x - 100;
      let topY = y - 100 < 0 ? 0 : y - 100;
            // 对层罩位置再一次限制,保证层罩只能在原图区域空间内
            if (topX > 200) {
                topX = 200
        topX = 200;
            }
            if (topY > 200) {
                topY = 200
        topY = 200;
            }
            // 通过 transform 进行移动控制
            this.topStyle.transform = `translate(${topX}px,${topY}px)`
            this.r_img.transform = `translate(-${2 * topX}px,-${2 * topY}px)`
      this.topStyle.transform = `translate(${topX}px,${topY}px)`;
      this.r_img.transform = `translate(-${2 * topX}px,-${2 * topY}px)`;
        },
        // 鼠标移出函数
        outHandler() {
            // 控制层罩与放大空间的隐藏
            this.topShow = false
            this.rShow = false
      this.topShow = false;
      this.rShow = false;
        },
        /** 查询体检心电图管理列表 */
        getList() {
            this.loading = true;
            getList(this.queryParams).then(response => {
      getList(this.queryParams).then((response) => {
                if (response.data.list) {
                    this.pictureList = response.data.list;
                } else {
@@ -336,10 +447,9 @@
                }
                if (this.pictureList.length != 0) {
                    this.$nextTick(() => {
                        this.$refs.tb.toggleRowSelection(this.pictureList[0], true);
                    })
          });
                } else {
                    this.$refs.tb.clearSelection();
                }
@@ -373,23 +483,23 @@
        },
        // 多选框选中数据
        handleSelectionChange(selection) {
            this.imgsrc = selection[0].picturePath
            this.tjNumber = selection[0].customer.tjNumber
            this.ids = selection.map(item => item.id)
      this.imgsrc = selection[0].picturePath;
      this.tjNumber = selection[0].customer.tjNumber;
      this.ids = selection.map((item) => item.id);
            if (selection.length > 1) {
                let del_row = selection.shift();
                this.$refs.tb.toggleRowSelection(del_row, false); //设置这一行取消选中
            }
            selection.forEach(element => {
                this.tableList = element.list
      selection.forEach((element) => {
        this.tableList = element.list;
                if (this.tableList.length != 0) {
                    this.tableList.forEach(item => {
                        this.form.measuredValue = item.measuredValue
                        this.form.fixedValue = item.fixedValue
                    })
          this.tableList.forEach((item) => {
            this.form.measuredValue = item.measuredValue;
            this.form.fixedValue = item.fixedValue;
          });
                    this.$nextTick(() => {
                        this.$refs.mu.toggleRowSelection(this.tableList[0], true);
                    })
          });
                } else {
                    this.$refs.mu.clearSelection();
                }
@@ -397,24 +507,23 @@
            // this.tableList.forEach(item => {
            //     this.imgsrc = item.checkPicture
            // })
            this.single = selection.length !== 1
            this.multiple = !selection.length
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
        },
       
        handleChanges(value) {
            this.form.fixedValue =value
      this.form.fixedValue = value;
        },
        handleChange(selection) {
            selection.forEach(element => {
                this.dataobj = element
      selection.forEach((element) => {
        this.dataobj = element;
            });
        },
        submiepilog() {
            this.$refs.aaa.open = true;
            let proId = "1633660948860522538"
      let proId = "1633660948860522538";
            this.$refs.aaa.getList(proId, this.dataobj);
        },
@@ -422,35 +531,29 @@
        submito() {
            if (this.dataobj) {
                if (this.form.fixedValue) {
                    this.dataobj.fixedValue = this.form.fixedValue
          this.dataobj.fixedValue = this.form.fixedValue;
                }
                if (this.form.measuredValue) {
                    this.dataobj.measuredValue = this.form.measuredValue
          this.dataobj.measuredValue = this.form.measuredValue;
                }
                updateCheck(this.dataobj).then(res => {
        updateCheck(this.dataobj).then((res) => {
                    this.$modal.msgSuccess("提交成功");
                    this.getList()
                    this.form.fixedValue = ""
                    this.form.measuredValue = ""
                })
          this.getList();
          this.form.fixedValue = "";
          this.form.measuredValue = "";
        });
            } else {
                this.$modal.msgSuccess("选择修改项目");
            }
        },
        //删除按钮
        handleDelete() {
        },
    handleDelete() {},
        // 导出
        handleExport() {
        }
    }
}
    ;
    handleExport() {},
  },
};
</script>
@@ -463,7 +566,6 @@
    width: 80px;
    border-bottom: none;
}
.rightImg {
    display: inline-block;
src/views/picture/picture/index.vue
@@ -1,72 +1,168 @@
<template>
    <div class="app-container">
        <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
    <el-form
      :model="queryParams"
      ref="queryForm"
      size="small"
      :inline="true"
      v-show="showSearch"
      label-width="68px"
    >
            <el-form-item label="体检号" prop="tjNum">
                <el-input v-model="queryParams.tjNum" placeholder="请输入体检号" clearable @keyup.enter.native="handleQuery"
                    style="width: 170px;" />
        <el-input
          ref="inputName"
          v-model="queryParams.tjNum"
          placeholder="请输入体检号"
          clearable
          @keyup.enter.native="handleQuery"
          @blur="handleQuery"
          style="width: 170px"
        />
            </el-form-item>
            <el-form-item label="姓名" prop="name">
                <el-input v-model="queryParams.name" placeholder="请输入姓名" clearable @keyup.enter.native="handleQuery"
                    style="width: 110px;" />
        <el-input
          v-model="queryParams.name"
          placeholder="请输入姓名"
          clearable
          @keyup.enter.native="handleQuery"
          style="width: 110px"
        />
            </el-form-item>
            <el-form-item>
                <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
                <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
        <el-button
          type="primary"
          icon="el-icon-search"
          size="mini"
          @click="handleQuery"
          >搜索</el-button
        >
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
          >重置</el-button
        >
            </el-form-item>
        </el-form>
        <div style="width: 100%; margin-left: 10px;display: flex;">
            <div style="width: 36%; margin-right: 30px;">
                <el-table id="table" v-loading="loading" ref="tb" :data="pictureList"
                    @selection-change="handleSelectionChange" border height="630px">
    <div style="width: 100%; margin-left: 10px; display: flex">
      <div style="width: 36%; margin-right: 30px">
        <el-table
          id="table"
          v-loading="loading"
          ref="tb"
          :data="pictureList"
          @selection-change="handleSelectionChange"
          border
          height="630px"
        >
                    <el-table-column type="selection" width="40" align="center" />
                    <el-table-column label="体检号" align="center" prop="customer.tjNumber" width="160px" />
                    <el-table-column label="姓名" align="center" prop="customer.cusName" width="90px" />
          <el-table-column
            label="体检号"
            align="center"
            prop="customer.tjNumber"
            width="160px"
          />
          <el-table-column
            label="姓名"
            align="center"
            prop="customer.cusName"
            width="90px"
          />
                    <!-- <el-table-column label="身份证" align="center" prop="customer.cusIdcard" width="170px" /> -->
                    <el-table-column label="性别" align="center" prop="customer.cusSex" width="60px">
          <el-table-column
            label="性别"
            align="center"
            prop="customer.cusSex"
            width="60px"
          >
                        <template slot-scope="scope">
                            {{ scope.row.customer.cusSex === 0 ? "男" : "女" }}
                            <!-- <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.cusSex " /> -->
                        </template>
                    </el-table-column>
                    <!-- <el-table-column label="生日" align="center" prop="customer.cusBrithday" width="110px" /> -->
                    <el-table-column label="手机号" align="center" prop="customer.cusPhone" width="110px" />
                    <el-table-column label="婚姻" align="center" prop="cusMarryStatus" width="70px">
          <el-table-column
            label="手机号"
            align="center"
            prop="customer.cusPhone"
            width="110px"
          />
          <el-table-column
            label="婚姻"
            align="center"
            prop="cusMarryStatus"
            width="70px"
          >
                        <template slot-scope="scope">
                            <dict-tag :options="dict.type.dict_user_marry" :value="scope.row.customer.cusMarryStatus" />
              <dict-tag
                :options="dict.type.dict_user_marry"
                :value="scope.row.customer.cusMarryStatus"
              />
                        </template>
                    </el-table-column>
                    <el-table-column label="民族" align="center" prop="cusNational" width="70px">
          <el-table-column
            label="民族"
            align="center"
            prop="cusNational"
            width="70px"
          >
                        <template slot-scope="scope">
                            <dict-tag :options="dict.type.dict_user_national" :value="scope.row.customer.cusNational" />
              <dict-tag
                :options="dict.type.dict_user_national"
                :value="scope.row.customer.cusNational"
              />
                        </template>
                    </el-table-column>
                </el-table>
            </div>
            <div style="width: 44%;height: 610px;">
                <el-table v-loading="loading" ref="mu" :data="tableList" @selection-change="handleChange" border>
      <div style="width: 44%; height: 610px">
        <el-table
          v-loading="loading"
          ref="mu"
          :data="tableList"
          @selection-change="handleChange"
          border
        >
                    <el-table-column type="selection" width="40" align="center" />
                    <el-table-column label="收费项目" align="center" prop="proName" />
                    <el-table-column label="项目名称" align="center" prop="proName" />
                    <el-table-column label="项目结果" align="center" prop="proResult" />
                    <!-- <el-table-column label="结论" align="center" prop="conclusion" /> -->
                </el-table>
                <div style=" height:390px;margin-top: 10px;">
                    <el-image v-loading="loading" style='height: 390px;width: 100%;' :src="imgsrc + tjNumber + '.png'"
                        :preview-src-list="[imgsrc + tjNumber + '.png']"></el-image>
        <div style="height: 390px; margin-top: 10px">
          <el-image
            v-loading="loading"
            style="height: 390px; width: 100%"
            :src="imgsrc + tjNumber + '.png'"
            :preview-src-list="[imgsrc + tjNumber + '.png']"
          ></el-image>
                </div>
                <div style="margin-top: 20px;">
                    <el-form :model="form" ref="queryForm" size="small" :inline="true" label-width="68px">
        <div style="margin-top: 20px">
          <el-form
            :model="form"
            ref="queryForm"
            size="small"
            :inline="true"
            label-width="68px"
          >
                        <el-form-item label="项目结果" prop="proResult">
                            <el-input v-model="form.proResult" clearable />
                        </el-form-item>
                        <el-form-item label="结果结论" prop="conclusion">
                            <el-input v-model="form.conclusion" clearable @focus="submiepilog" />
              <el-input
                v-model="form.conclusion"
                clearable
                @focus="submiepilog"
              />
                        </el-form-item>
                        <el-form-item>
                            <el-button type="primary" icon="el-icon-search" size="mini" @click="submito">提交</el-button>
              <el-button
                type="primary"
                icon="el-icon-search"
                size="mini"
                @click="submito"
                >提交</el-button
              >
                        </el-form-item>
                    </el-form>
                </div>
@@ -82,9 +178,14 @@
            </div>
        </div>
        <div style="margin-right: 70%;">
            <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum"
                :limit.sync="queryParams.pageSize" @pagination="getList" />
    <div style="margin-right: 70%">
      <pagination
        v-show="total > 0"
        :total="total"
        :page.sync="queryParams.pageNum"
        :limit.sync="queryParams.pageSize"
        @pagination="getList"
      />
        </div>
        <Public ref="aaa"  @add="handleChanges" />
@@ -92,21 +193,22 @@
</template>
<script>
import {
    getListPicture,
    updatePicture
} from "@/api/picture/picture";
import { getListPicture, updatePicture } from "@/api/picture/picture";
import Public from "@/components/public";
export default {
    dicts: [
        "sys_user_sex", "sampling_type", "sys_dict_specimen", "dict_user_marry", "dict_user_national"
    "sys_user_sex",
    "sampling_type",
    "sys_dict_specimen",
    "dict_user_marry",
    "dict_user_national",
    ],
    name: "Picture",
    components:{Public},
    data() {
        return {
            topStyle: { transform: '' },
      topStyle: { transform: "" },
            r_img: {},
            topShow: false,
            rShow: false,
@@ -124,8 +226,8 @@
            showSearch: true,
            // 总条数
            total: 0,
            activeName: 'first',
            proResult: '',
      activeName: "first",
      proResult: "",
            conclusion: "",
            imgsrc: "",
            tjNumber: "",
@@ -154,52 +256,55 @@
            form: {
                proResult: "",
                conclusion: "",
            },
            // 表单校验
            rules: {
            }
      rules: {},
        };
    },
    created() {
        this.getList();
    },
  mounted() {
    this.$nextTick(() => {
      this.$refs.inputName.focus();
    });
  },
    methods: {
        // 鼠标进入原图空间函数
        enterHandler() {
            // 层罩及放大空间的显示
            this.topShow = true
            this.rShow = true
      this.topShow = true;
      this.rShow = true;
        },
        // 鼠标移动函数
        moveHandler(event) {
            // 鼠标的坐标位置
            let x = event.offsetX
            let y = event.offsetY
      let x = event.offsetX;
      let y = event.offsetY;
            // 层罩的左上角坐标位置,并对其进行限制:无法超出原图区域左上角
            let topX = (x - 100) < 0 ? 0 : (x - 100)
            let topY = (y - 100) < 0 ? 0 : (y - 100)
      let topX = x - 100 < 0 ? 0 : x - 100;
      let topY = y - 100 < 0 ? 0 : y - 100;
            // 对层罩位置再一次限制,保证层罩只能在原图区域空间内
            if (topX > 200) {
                topX = 200
        topX = 200;
            }
            if (topY > 200) {
                topY = 200
        topY = 200;
            }
            // 通过 transform 进行移动控制
            this.topStyle.transform = `translate(${topX}px,${topY}px)`
            this.r_img.transform = `translate(-${2 * topX}px,-${2 * topY}px)`
      this.topStyle.transform = `translate(${topX}px,${topY}px)`;
      this.r_img.transform = `translate(-${2 * topX}px,-${2 * topY}px)`;
        },
        // 鼠标移出函数
        outHandler() {
            // 控制层罩与放大空间的隐藏
            this.topShow = false
            this.rShow = false
      this.topShow = false;
      this.rShow = false;
        },
        /** 查询体检心电图管理列表 */
        getList() {
            this.loading = true;
            getListPicture(this.queryParams).then(response => {
      getListPicture(this.queryParams).then((response) => {
                if (response.data.list) {
                    this.pictureList = response.data.list;
                } else {
@@ -209,7 +314,7 @@
                if (this.pictureList.length != 0) {
                    this.$nextTick(() => {
                        this.$refs.tb.toggleRowSelection(this.pictureList[0], true);
                    })
          });
                } else {
                    this.$refs.tb.clearSelection();
                }
@@ -242,19 +347,19 @@
        },
        // 多选框选中数据
        handleSelectionChange(selection) {
            this.imgsrc = selection[0].picturePath
            this.tjNumber = selection[0].customer.tjNumber
            this.ids = selection.map(item => item.id)
            selection.forEach(element => {
                this.tableList = element.list
      this.imgsrc = selection[0].picturePath;
      this.tjNumber = selection[0].customer.tjNumber;
      this.ids = selection.map((item) => item.id);
      selection.forEach((element) => {
        this.tableList = element.list;
                if (this.tableList.length != 0) {
                    this.tableList.forEach(item => {
                        this.form.proResult = item.proResult
                        this.form.conclusion= item.conclusion
                    })
          this.tableList.forEach((item) => {
            this.form.proResult = item.proResult;
            this.form.conclusion = item.conclusion;
          });
                    this.$nextTick(() => {
                        this.$refs.mu.toggleRowSelection(this.tableList[0], true);
                    })
          });
                } else {
                    this.$refs.mu.clearSelection();
                }
@@ -266,60 +371,52 @@
                let del_row = selection.shift();
                this.$refs.tb.toggleRowSelection(del_row, false); //设置这一行取消选中
            }
            this.single = selection.length !== 1
            this.multiple = !selection.length
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
        },
        handleChange(selection) {
            selection.forEach(element => {
                this.dataobj = element
      selection.forEach((element) => {
        this.dataobj = element;
            });
        },
        handleChanges(value) {
            this.form.conclusion =value
      this.form.conclusion = value;
        },
    
        submiepilog() {
            this.$refs.aaa.open = true;
            let proId = "1633660948860522585"
      let proId = "1633660948860522585";
            this.$refs.aaa.getList(proId);
        },
        // 确定按钮
        submito() {
            if (this.dataobj) {
                if (this.form.proResult) {
                    this.dataobj.proResult = this.form.proResult
          this.dataobj.proResult = this.form.proResult;
                }
                if (this.form.conclusion) {
                    this.dataobj.conclusion = this.form.conclusion
          this.dataobj.conclusion = this.form.conclusion;
                }
                updatePicture(this.dataobj).then(res => {
        updatePicture(this.dataobj).then((res) => {
                    this.$modal.msgSuccess("提交成功");
                    this.getList()
                    this.form.proResult = ""
                    this.form.conclusion = ""
                })
          this.getList();
          this.form.proResult = "";
          this.form.conclusion = "";
        });
            } else {
                this.$modal.msgSuccess("选择修改项目");
            }
        },
        //删除按钮
        handleDelete() {
        },
    handleDelete() {},
        // 导出
        handleExport() {
        }
    }
}
    ;
    handleExport() {},
  },
};
</script>
@@ -332,7 +429,6 @@
    width: 80px;
    border-bottom: none;
}
.rightImg {
    display: inline-block;
src/views/system/comp/index.vue
@@ -896,6 +896,7 @@
    },
    // 套餐单项获取
    handleChangeOne(selection) {
      console.log(selection);
      this.pacList = selection
      this.OnenewpacName = []
      this.queryParams.price = 0