WXL
2023-12-11 dc3d15dfe0c4a4a85bc5b4df7959b84a02beb064
随访题库完成
已修改29个文件
3646 ■■■■ 文件已修改
src/api/smartorpor/pat_archive.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/smartorpor/svr_prjtaskline.js 57 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/comp/smartor3/dwo/dw_list_pat_archive.vue 110 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/comp/smartor3/dwo/dw_list_pat_archivecontact.vue 93 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/comp/smartor3/dwo/dw_list_pat_archivetag.vue 99 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/comp/smartor3/dwo/dw_list_pat_med_apointment.vue 183 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/comp/smartor3/dwo/dw_list_pat_med_bloodsugar.vue 99 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/comp/smartor3/dwo/dw_list_pat_med_drug.vue 105 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/comp/smartor3/dwo/dw_list_pat_med_hypertension.vue 105 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/comp/smartor3/dwo/dw_list_pat_med_inhosp.vue 183 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/comp/smartor3/dwo/dw_list_pat_med_inspection.vue 117 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/comp/smartor3/dwo/dw_list_pat_med_inspection_item.vue 99 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/comp/smartor3/dwo/dw_list_pat_med_operation.vue 123 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/comp/smartor3/dwo/dw_list_pat_med_outhosp.vue 105 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/comp/smartor3/dwo/dw_list_pat_med_physical.vue 135 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/comp/smartor3/dwo/dw_list_pat_med_registration.vue 123 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/comp/smartor3/dwo/dw_list_pat_med_weight.vue 93 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/comp/smartor3/dwo/dw_maint_pat_archive.vue 54 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/comp/smartor3/dwo/dw_query_pat_archive.vue 46 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/smartor/dataobject/dw_patarchive_base.vue 226 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/smartor/dataobject/dw_patarchive_list.vue 55 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/follow/index.vue 30 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/patient/behospitalized.vue 35 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/patient/index.vue 46 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/patient/outpatient.vue 31 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/patient/physical.vue 30 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/patient/patient/profile/index.vue 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/verbaltrick/index.vue 183 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/repositoryai/verbaltrick/particulars/index.vue 1064 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/api/smartorpor/pat_archive.js
@@ -3,7 +3,7 @@
          patid// 自增ID 
   name// 姓名 
   sex// 性别   1:男  2:女
   iccardno// 证件号码
   idno// 证件号码
   birthdate// 生日 
   age// 年龄 
   source// 来源 
@@ -11,7 +11,7 @@
   archiveby// 建档人 
   telcode// 手机号码 
   relativetelcode// 亲属号码 
   iccardtype// 证件类型
   idtype// 证件类型
   orgid// 机构ID 
   openid// 微信openid 
   del_flag// 删除标记 
src/api/smartorpor/svr_prjtaskline.js
@@ -1,6 +1,61 @@
    /*患者服务子任务明细表API接口
          id// 自增ID     schemeid// 方案ID     schemeplanid// 计划ID     patientid// 患者ID     state// 状态    baselinetime// 基线时间     plantime// 计划执行时间     actualtime// 实际完成时间     overtime// 逾期时间     patientsource// 患者来源    taskconfigid// 配置ID     relationid// 关联编号 科室项目问卷宣教     relationname// 关联名称     content// 介绍提醒内容     tipscontent// 提示内容     tasktype// 任务类型     finshtime// 关闭时间     finshtype// 关闭类型    finshdesc// 关闭说明     termvaliditytime// 有效期     schemestatus// 是否生成方案    visitid// 就诊ID     visittype// 就诊类型     tasksource// 任务来源    relationtype// 关联项目类型    isartificial// 是否人工处理    overduetipstime// 将逾期时间     isabnormal// 是否异常跟进任务    artificialtag// 已经人工处理标志    relationcode// 关联代码 问卷、宣教、回访、复诊提醒、体检提醒     schemecode// 方案代码     lastplantime// 最后一次计划执行时间     istest// 是否为测试任务    firstplantime// 第一次计划执行时间     repeatsecond// 重发次数    isrepeat// 是否存在重发标记     ismanual// 手动执行标记     losstime// 失访时间     relationlistid//     orgid// 机构ID     del_flag// 删除标记     create_by// 创建人     create_time// 创建时间     update_by// 更新人     update_time// 更新时间     isupload// 上传标记     upload_time// 上传时间     pid//子任务ID    guid//GUID    pguid//子任务guid    patname// 姓名     patsex// 性别   1:男  2:女    paticcardno// 证件号码     patbirthdate// 生日     patage// 年龄     pattelcode// 手机号码
          id// 自增ID
   schemeid// 方案ID
   schemeplanid// 计划ID
   patientid// 患者ID
   state// 状态
   baselinetime// 基线时间
   plantime// 计划执行时间
   actualtime// 实际完成时间
   overtime// 逾期时间
   patientsource// 患者来源
   taskconfigid// 配置ID
   relationid// 关联编号 科室项目问卷宣教
   relationname// 关联名称
   content// 介绍提醒内容
   tipscontent// 提示内容
   tasktype// 任务类型
   finshtime// 关闭时间
   finshtype// 关闭类型
   finshdesc// 关闭说明
   termvaliditytime// 有效期
   schemestatus// 是否生成方案
   visitid// 就诊ID
   visittype// 就诊类型
   tasksource// 任务来源
   relationtype// 关联项目类型
   isartificial// 是否人工处理
   overduetipstime// 将逾期时间
   isabnormal// 是否异常跟进任务
   artificialtag// 已经人工处理标志
   relationcode// 关联代码 问卷、宣教、回访、复诊提醒、体检提醒
   schemecode// 方案代码
   lastplantime// 最后一次计划执行时间
   istest// 是否为测试任务
   firstplantime// 第一次计划执行时间
   repeatsecond// 重发次数
   isrepeat// 是否存在重发标记
   ismanual// 手动执行标记
   losstime// 失访时间
   relationlistid//
   orgid// 机构ID
   del_flag// 删除标记
   create_by// 创建人
   create_time// 创建时间
   update_by// 更新人
   update_time// 更新时间
   isupload// 上传标记
   upload_time// 上传时间
   pid//子任务ID
   guid//GUID
   pguid//子任务guid
   patname// 姓名
   patsex// 性别   1:男  2:女
   patidno// 证件号码
   patbirthdate// 生日
   patage// 年龄
   pattelcode// 手机号码
    */
    import request from '@/utils/request'
src/comp/smartor3/dwo/dw_list_pat_archive.vue
@@ -2,33 +2,76 @@
      <div>
            <el-row v-if="false" :gutter="10" class="mb8">
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-plus" v-hasPermi="['smartor:patinhosp:add']" type="primary" @click="handleAdd">新增</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-plus"
          v-hasPermi="['smartor:patinhosp:add']"
          type="primary"
          @click="handleAdd"
          >新增</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-edit" :disabled="single" v-hasPermi="['smartor:patinhosp:edit']" type="success" @click="handleUpdate">修改</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-edit"
          :disabled="single"
          v-hasPermi="['smartor:patinhosp:edit']"
          type="success"
          @click="handleUpdate"
          >修改</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-delete" :disabled="multiple" v-hasPermi="['smartor:patinhosp:remove']" type="danger" @click="handleDelete">删除</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-delete"
          :disabled="multiple"
          v-hasPermi="['smartor:patinhosp:remove']"
          type="danger"
          @click="handleDelete"
          >删除</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-download" v-hasPermi="['smartor:patinhosp:export']" type="warning" @click="handleExport">导出</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-download"
          v-hasPermi="['smartor:patinhosp:export']"
          type="warning"
          @click="handleExport"
          >导出</el-button
        >
                  </el-col>
                  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"/>
            </el-row>
            <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange" @row-click="rowChanged">
    <el-table
      v-loading="loading"
      :data="dataList"
      @selection-change="handleSelectionChange"
      @row-click="rowChanged"
    >
                  <el-table-column width="50" type="selection" align="center"/>
                  <el-table-column prop="patid" label="  自增ID " align="center"/>
                  <el-table-column prop="name" label="  姓名 " align="center"/>
                  <el-table-column prop="sex" label="  性别   1:男  2:女" align="center"/>
                  <el-table-column prop="iccardno" label="  证件号码 " align="center"/>
      <el-table-column prop="idno" label="  证件号码 " align="center" />
                  <el-table-column prop="birthdate" label="  生日 " align="center"/>
                  <el-table-column prop="age" label="  年龄 " align="center"/>
                  <el-table-column prop="source" label="  来源 " align="center"/>
                  <el-table-column prop="archivetime" label="  建档时间 " align="center"/>
                  <el-table-column prop="archiveby" label="  建档人 " align="center"/>
                  <el-table-column prop="telcode" label="  手机号码 " align="center"/>
                  <el-table-column prop="relativetelcode" label="  亲属号码 " align="center"/>
                  <el-table-column prop="iccardtype" label="  证件类型 " align="center"/>
      <el-table-column
        prop="relativetelcode"
        label="  亲属号码 "
        align="center"
      />
      <el-table-column prop="idtype" label="  证件类型 " align="center" />
                  <el-table-column prop="orgid" label="  机构ID " align="center"/>
                  <el-table-column prop="openid" label="  微信openid " align="center"/>
                  <el-table-column prop="del_flag" label="  删除标记 " align="center"/>
@@ -41,14 +84,26 @@
                  <el-table-column prop="pid" label=" 父ID" align="center"/>
                  <el-table-column prop="guid" label=" GUID" align="center"/>
            </el-table>
            <pagination :total="total" :limit.sync="queryParams.pageSize" @pagination="getList" :page.sync="queryParams.pageNum" v-show="total &gt; 0"/>
    <pagination
      :total="total"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
      :page.sync="queryParams.pageNum"
      v-show="total &gt; 0"
    />
      </div>
</template>
    <script>
    import { listpat_archive, getpat_archive, delpat_archive, addpat_archive, updatepat_archive } from "@/api/smartor3/pat_archive";
import {
  listpat_archive,
  getpat_archive,
  delpat_archive,
  addpat_archive,
  updatepat_archive,
} from "@/api/smartor3/pat_archive";
    export default {
        name: "dw_list_pat_archive",
        dicts: ['sys_user_sex', 'sys_patientfrom'],
  dicts: ["sys_user_sex", "sys_patientfrom"],
        data() {
            return {
            parent:null,
@@ -75,18 +130,17 @@
                pageNum: 1,
                pageSize: 10,
                name: null,
                iccardno: null,
        idno: null,
                source: null,
                telcode: null,
                orgid: null,
                isupload: null,
                uploadTime: null
        uploadTime: null,
            },
         // 表单参数
            form: {},
        // 表单校验
             rules: {
             }
      rules: {},
            };
        },
        created() {
@@ -96,33 +150,31 @@
        methods: {
            getList() {
                this.loading = true;
                listpat_archive(this.queryParams).then(response => {
      listpat_archive(this.queryParams).then((response) => {
                  this.dataList = response.rows;
                  this.total = response.total;
                  this.loading = false;
                });
              },
             handleSelectionChange(selection) {
                this.ids = selection.map(item => item.patid)
                this.single = selection.length !== 1
                this.multiple = !selection.length
      this.ids = selection.map((item) => item.patid);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
                //alert("selections:"+this.ids[0])
                //this.$parent.selectionChanged(this.ids[0])
            }, 
            handleAdd()
            {
                this.$parent.HandleCmdDefault("bill.new",this.ids[0])
    handleAdd() {
      this.$parent.HandleCmdDefault("bill.new", this.ids[0]);
            },
            handleUpdate()
            {
                this.$parent.HandleCmdDefault("bill.open",this.ids[0])
    handleUpdate() {
      this.$parent.HandleCmdDefault("bill.open", this.ids[0]);
            },
            rowChanged(row){
              //alert(row.patid)
              //console.log(row)
              this.$parent.selectionRowChanged(row.patid)
      this.$parent.selectionRowChanged(row.patid);
              //this.$parent.patid = row.patid
            }
        }
    }
    },
  },
};
    </script>
src/comp/smartor3/dwo/dw_list_pat_archivecontact.vue
@@ -2,20 +2,59 @@
      <div>
            <el-row :gutter="10" class="mb8">
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-plus" v-hasPermi="['smartor:patinhosp:add']" type="primary" @click="handleAdd">新增</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-plus"
          v-hasPermi="['smartor:patinhosp:add']"
          type="primary"
          @click="handleAdd"
          >新增</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-edit" :disabled="single" v-hasPermi="['smartor:patinhosp:edit']" type="success" @click="handleUpdate">修改</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-edit"
          :disabled="single"
          v-hasPermi="['smartor:patinhosp:edit']"
          type="success"
          @click="handleUpdate"
          >修改</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-delete" :disabled="multiple" v-hasPermi="['smartor:patinhosp:remove']" type="danger" @click="handleDelete">删除</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-delete"
          :disabled="multiple"
          v-hasPermi="['smartor:patinhosp:remove']"
          type="danger"
          @click="handleDelete"
          >删除</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-download" v-hasPermi="['smartor:patinhosp:export']" type="warning" @click="handleExport">导出</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-download"
          v-hasPermi="['smartor:patinhosp:export']"
          type="warning"
          @click="handleExport"
          >导出</el-button
        >
                  </el-col>
                  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"/>
            </el-row>
            <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange" @row-click="rowChanged">
    <el-table
      v-loading="loading"
      :data="dataList"
      @selection-change="handleSelectionChange"
      @row-click="rowChanged"
    >
                  <el-table-column width="50" type="selection" align="center"/>
                  <el-table-column prop="id" label="  自增ID " align="center"/>
                  <el-table-column prop="patid" label="  联系方式ID " align="center"/>
@@ -38,10 +77,16 @@
      </div>
</template>
    <script>
    import { listpat_archivecontact, getpat_archivecontact, delpat_archivecontact, addpat_archivecontact, updatepat_archivecontact } from "@/api/smartor3/pat_archivecontact";
import {
  listpat_archivecontact,
  getpat_archivecontact,
  delpat_archivecontact,
  addpat_archivecontact,
  updatepat_archivecontact,
} from "@/api/smartor3/pat_archivecontact";
    export default {
        name: "dw_list_pat_archivecontact",
        dicts: ['sys_user_sex', 'sys_patientfrom'],
  dicts: ["sys_user_sex", "sys_patientfrom"],
        data() {
            return {
            parent:null,
@@ -68,54 +113,50 @@
                pageNum: 1,
                pageSize: 10,
                name: null,
                iccardno: null,
        idno: null,
                source: null,
                telcode: null,
                orgid: null,
                isupload: null,
                uploadTime: null
        uploadTime: null,
            },
         // 表单参数
            form: {},
        // 表单校验
             rules: {
             }
      rules: {},
            };
        },
        created() {
           //this.getList();
        },
        methods: {
            getList() {
                this.loading = true;
                listpat_archivecontact(this.queryParams).then(response => {
      listpat_archivecontact(this.queryParams).then((response) => {
                  this.dataList = response.rows;
                  this.total = response.total;
                  this.loading = false;
                });
              },
             handleSelectionChange(selection) {
                this.ids = selection.map(item => item.patid)
                this.single = selection.length !== 1
                this.multiple = !selection.length
      this.ids = selection.map((item) => item.patid);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
                //alert("selections:"+this.ids[0])
                //this.$parent.selectionChanged(this.ids[0])
            }, 
            handleAdd()
            {
                this.$parent.HandleCmdDefault("bill.new",this.ids[0])
    handleAdd() {
      this.$parent.HandleCmdDefault("bill.new", this.ids[0]);
            },
            handleUpdate()
            {
                this.$parent.HandleCmdDefault("bill.open",this.ids[0])
    handleUpdate() {
      this.$parent.HandleCmdDefault("bill.open", this.ids[0]);
            },
            rowChanged(row){
              //alert(row.patid)
              //console.log(row)
              //this.$parent.selectionChanged(row.id)
              this.$parent.id = row.id
            }
        }
    }
      this.$parent.id = row.id;
    },
  },
};
    </script>
src/comp/smartor3/dwo/dw_list_pat_archivetag.vue
@@ -2,23 +2,66 @@
      <div>
            <el-row :gutter="10" class="mb8">
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-plus" v-hasPermi="['smartor:patinhosp:add']" type="primary" @click="handleAdd">新增</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-plus"
          v-hasPermi="['smartor:patinhosp:add']"
          type="primary"
          @click="handleAdd"
          >新增</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-edit" :disabled="single" v-hasPermi="['smartor:patinhosp:edit']" type="success" @click="handleUpdate">修改</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-edit"
          :disabled="single"
          v-hasPermi="['smartor:patinhosp:edit']"
          type="success"
          @click="handleUpdate"
          >修改</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-delete" :disabled="multiple" v-hasPermi="['smartor:patinhosp:remove']" type="danger" @click="handleDelete">删除</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-delete"
          :disabled="multiple"
          v-hasPermi="['smartor:patinhosp:remove']"
          type="danger"
          @click="handleDelete"
          >删除</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-download" v-hasPermi="['smartor:patinhosp:export']" type="warning" @click="handleExport">导出</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-download"
          v-hasPermi="['smartor:patinhosp:export']"
          type="warning"
          @click="handleExport"
          >导出</el-button
        >
                  </el-col>
                  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"/>
            </el-row>
            <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange" @row-click="rowChanged">
    <el-table
      v-loading="loading"
      :data="dataList"
      @selection-change="handleSelectionChange"
      @row-click="rowChanged"
    >
                  <el-table-column width="50" type="selection" align="center"/>
                  <el-table-column prop="id" label="  自增ID " align="center"/>
                  <el-table-column prop="tagcategoryid" label="  标签分类ID " align="center"/>
      <el-table-column
        prop="tagcategoryid"
        label="  标签分类ID "
        align="center"
      />
                  <el-table-column prop="tagid" label="  标签ID " align="center"/>
                  <el-table-column prop="orgid" label="  机构ID " align="center"/>
                  <el-table-column prop="del_flag" label="  删除标记 " align="center"/>
@@ -35,10 +78,16 @@
      </div>
</template>
    <script>
    import { listpat_archivetag, getpat_archivetag, delpat_archivetag, addpat_archivetag, updatepat_archivetag } from "@/api/smartor3/pat_archivetag";
import {
  listpat_archivetag,
  getpat_archivetag,
  delpat_archivetag,
  addpat_archivetag,
  updatepat_archivetag,
} from "@/api/smartor3/pat_archivetag";
    export default {
        name: "dw_list_pat_archivetag",
        dicts: ['sys_user_sex', 'sys_patientfrom'],
  dicts: ["sys_user_sex", "sys_patientfrom"],
        data() {
            return {
            parent:null,
@@ -65,54 +114,50 @@
                pageNum: 1,
                pageSize: 10,
                name: null,
                iccardno: null,
        idno: null,
                source: null,
                telcode: null,
                orgid: null,
                isupload: null,
                uploadTime: null
        uploadTime: null,
            },
         // 表单参数
            form: {},
        // 表单校验
             rules: {
             }
      rules: {},
            };
        },
        created() {
           //this.getList();
        },
        methods: {
            getList() {
                this.loading = true;
                listpat_archivetag(this.queryParams).then(response => {
      listpat_archivetag(this.queryParams).then((response) => {
                  this.dataList = response.rows;
                  this.total = response.total;
                  this.loading = false;
                });
              },
             handleSelectionChange(selection) {
                this.ids = selection.map(item => item.patid)
                this.single = selection.length !== 1
                this.multiple = !selection.length
      this.ids = selection.map((item) => item.patid);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
                //alert("selections:"+this.ids[0])
                //this.$parent.selectionChanged(this.ids[0])
            }, 
            handleAdd()
            {
                this.$parent.HandleCmdDefault("bill.new",this.ids[0])
    handleAdd() {
      this.$parent.HandleCmdDefault("bill.new", this.ids[0]);
            },
            handleUpdate()
            {
                this.$parent.HandleCmdDefault("bill.open",this.ids[0])
    handleUpdate() {
      this.$parent.HandleCmdDefault("bill.open", this.ids[0]);
            },
            rowChanged(row){
              //alert(row.patid)
              //console.log(row)
              //this.$parent.selectionChanged(row.id)
              this.$parent.id = row.id
            }
        }
    }
      this.$parent.id = row.id;
    },
  },
};
    </script>
src/comp/smartor3/dwo/dw_list_pat_med_apointment.vue
@@ -2,20 +2,59 @@
      <div>
            <el-row :gutter="10" class="mb8">
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-plus" v-hasPermi="['smartor:patinhosp:add']" type="primary" @click="handleAdd">新增</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-plus"
          v-hasPermi="['smartor:patinhosp:add']"
          type="primary"
          @click="handleAdd"
          >新增</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-edit" :disabled="single" v-hasPermi="['smartor:patinhosp:edit']" type="success" @click="handleUpdate">修改</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-edit"
          :disabled="single"
          v-hasPermi="['smartor:patinhosp:edit']"
          type="success"
          @click="handleUpdate"
          >修改</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-delete" :disabled="multiple" v-hasPermi="['smartor:patinhosp:remove']" type="danger" @click="handleDelete">删除</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-delete"
          :disabled="multiple"
          v-hasPermi="['smartor:patinhosp:remove']"
          type="danger"
          @click="handleDelete"
          >删除</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-download" v-hasPermi="['smartor:patinhosp:export']" type="warning" @click="handleExport">导出</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-download"
          v-hasPermi="['smartor:patinhosp:export']"
          type="warning"
          @click="handleExport"
          >导出</el-button
        >
                  </el-col>
                  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"/>
            </el-row>
            <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange" @row-click="rowChanged">
    <el-table
      v-loading="loading"
      :data="dataList"
      @selection-change="handleSelectionChange"
      @row-click="rowChanged"
    >
                  <el-table-column width="50" type="selection" align="center"/>
                  <el-table-column prop="id" label="  自增ID " align="center"/>
                  <el-table-column prop="visittime" label=" 复诊时间" align="center"/>
@@ -24,9 +63,21 @@
                  <el-table-column prop="visitdesc" label=" 复诊结果" align="center"/>
                  <el-table-column prop="hospitalname" label="  医院名称 " align="center"/>
                  <el-table-column prop="hospitalcode" label="  医院编号 " align="center"/>
                  <el-table-column prop="hospitaldistrictcode" label="  院区编号 " align="center"/>
                  <el-table-column prop="hospitaldistrictname" label="  院区名称 " align="center"/>
                  <el-table-column prop="icd10code" label="  入院诊断ICD值 " align="center"/>
      <el-table-column
        prop="hospitaldistrictcode"
        label="  院区编号 "
        align="center"
      />
      <el-table-column
        prop="hospitaldistrictname"
        label="  院区名称 "
        align="center"
      />
      <el-table-column
        prop="icd10code"
        label="  入院诊断ICD值 "
        align="center"
      />
                  <el-table-column prop="diagname" label="  入院诊断名称 " align="center"/>
                  <el-table-column prop="starttime" label="  入院时间 " align="center"/>
                  <el-table-column prop="endtime" label="  出院时间 " align="center"/>
@@ -43,31 +94,85 @@
                  <el-table-column prop="isupload" label="  上传标记 " align="center"/>
                  <el-table-column prop="upload_time" label="  上传时间 " align="center"/>
                  <el-table-column prop="patid" label="  档案ID " align="center"/>
                  <el-table-column prop="leavediagname" label="  出院诊断 " align="center"/>
                  <el-table-column prop="leaveicd10code" label="  出院诊断ICD值 " align="center"/>
      <el-table-column
        prop="leavediagname"
        label="  出院诊断 "
        align="center"
      />
      <el-table-column
        prop="leaveicd10code"
        label="  出院诊断ICD值 "
        align="center"
      />
                  <el-table-column prop="drcode" label="  医生工号 " align="center"/>
                  <el-table-column prop="drname" label="  医生名称 " align="center"/>
                  <el-table-column prop="schemestatus" label="  是否生成方案状态" align="center"/>
                  <el-table-column prop="generalschemestatus" label="  是否生成通用方案状态" align="center"/>
                  <el-table-column prop="leaveldeptcode" label="  出院科室代码 " align="center"/>
                  <el-table-column prop="leaveldeptname" label="  出院科室代码 " align="center"/>
                  <el-table-column prop="hospitaldistrictid" label="  病区ID " align="center"/>
                  <el-table-column prop="leavehospitaldistrictcode" label="  出院病区编号 " align="center"/>
                  <el-table-column prop="leavehospitaldistrictname" label="  出院病区名称 " align="center"/>
                  <el-table-column prop="leavehospitaldistrictid" label="  出院病区ID " align="center"/>
      <el-table-column
        prop="schemestatus"
        label="  是否生成方案状态"
        align="center"
      />
      <el-table-column
        prop="generalschemestatus"
        label="  是否生成通用方案状态"
        align="center"
      />
      <el-table-column
        prop="leaveldeptcode"
        label="  出院科室代码 "
        align="center"
      />
      <el-table-column
        prop="leaveldeptname"
        label="  出院科室代码 "
        align="center"
      />
      <el-table-column
        prop="hospitaldistrictid"
        label="  病区ID "
        align="center"
      />
      <el-table-column
        prop="leavehospitaldistrictcode"
        label="  出院病区编号 "
        align="center"
      />
      <el-table-column
        prop="leavehospitaldistrictname"
        label="  出院病区名称 "
        align="center"
      />
      <el-table-column
        prop="leavehospitaldistrictid"
        label="  出院病区ID "
        align="center"
      />
                  <el-table-column prop="deptid" label="  入院科室ID " align="center"/>
                  <el-table-column prop="leaveldeptid" label="  出院科室ID " align="center"/>
                  <el-table-column prop="schemetime" label="  方案状态操作时间 " align="center"/>
      <el-table-column
        prop="leaveldeptid"
        label="  出院科室ID "
        align="center"
      />
      <el-table-column
        prop="schemetime"
        label="  方案状态操作时间 "
        align="center"
      />
                  <el-table-column prop="pid" label=" 父ID" align="center"/>
                  <el-table-column prop="guid" label=" GUID" align="center"/>
            </el-table>
      </div>
</template>
    <script>
    import { listpat_med_apointment, getpat_med_apointment, delpat_med_apointment, addpat_med_apointment, updatepat_med_apointment } from "@/api/smartor3/pat_med_apointment";
import {
  listpat_med_apointment,
  getpat_med_apointment,
  delpat_med_apointment,
  addpat_med_apointment,
  updatepat_med_apointment,
} from "@/api/smartor3/pat_med_apointment";
    export default {
        name: "dw_list_pat_med_apointment",
        dicts: ['sys_user_sex', 'sys_patientfrom'],
  dicts: ["sys_user_sex", "sys_patientfrom"],
        data() {
            return {
            parent:null,
@@ -94,54 +199,50 @@
                pageNum: 1,
                pageSize: 10,
                name: null,
                iccardno: null,
        idno: null,
                source: null,
                telcode: null,
                orgid: null,
                isupload: null,
                uploadTime: null
        uploadTime: null,
            },
         // 表单参数
            form: {},
        // 表单校验
             rules: {
             }
      rules: {},
            };
        },
        created() {
           //this.getList();
        },
        methods: {
            getList() {
                this.loading = true;
                listpat_med_apointment(this.queryParams).then(response => {
      listpat_med_apointment(this.queryParams).then((response) => {
                  this.dataList = response.rows;
                  this.total = response.total;
                  this.loading = false;
                });
              },
             handleSelectionChange(selection) {
                this.ids = selection.map(item => item.patid)
                this.single = selection.length !== 1
                this.multiple = !selection.length
      this.ids = selection.map((item) => item.patid);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
                //alert("selections:"+this.ids[0])
                //this.$parent.selectionChanged(this.ids[0])
            }, 
            handleAdd()
            {
                this.$parent.HandleCmdDefault("bill.new",this.ids[0])
    handleAdd() {
      this.$parent.HandleCmdDefault("bill.new", this.ids[0]);
            },
            handleUpdate()
            {
                this.$parent.HandleCmdDefault("bill.open",this.ids[0])
    handleUpdate() {
      this.$parent.HandleCmdDefault("bill.open", this.ids[0]);
            },
            rowChanged(row){
              //alert(row.patid)
              //console.log(row)
              //this.$parent.selectionChanged(row.id)
              this.$parent.id = row.id
            }
        }
    }
      this.$parent.id = row.id;
    },
  },
};
    </script>
src/comp/smartor3/dwo/dw_list_pat_med_bloodsugar.vue
@@ -2,20 +2,59 @@
      <div>
            <el-row :gutter="10" class="mb8">
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-plus" v-hasPermi="['smartor:patinhosp:add']" type="primary" @click="handleAdd">新增</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-plus"
          v-hasPermi="['smartor:patinhosp:add']"
          type="primary"
          @click="handleAdd"
          >新增</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-edit" :disabled="single" v-hasPermi="['smartor:patinhosp:edit']" type="success" @click="handleUpdate">修改</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-edit"
          :disabled="single"
          v-hasPermi="['smartor:patinhosp:edit']"
          type="success"
          @click="handleUpdate"
          >修改</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-delete" :disabled="multiple" v-hasPermi="['smartor:patinhosp:remove']" type="danger" @click="handleDelete">删除</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-delete"
          :disabled="multiple"
          v-hasPermi="['smartor:patinhosp:remove']"
          type="danger"
          @click="handleDelete"
          >删除</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-download" v-hasPermi="['smartor:patinhosp:export']" type="warning" @click="handleExport">导出</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-download"
          v-hasPermi="['smartor:patinhosp:export']"
          type="warning"
          @click="handleExport"
          >导出</el-button
        >
                  </el-col>
                  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"/>
            </el-row>
            <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange" @row-click="rowChanged">
    <el-table
      v-loading="loading"
      :data="dataList"
      @selection-change="handleSelectionChange"
      @row-click="rowChanged"
    >
                  <el-table-column width="50" type="selection" align="center"/>
                  <el-table-column prop="bloodsugarid" label="  自增ID " align="center"/>
                  <el-table-column prop="serialnum" label="  流水号 " align="center"/>
@@ -32,7 +71,11 @@
                  <el-table-column prop="typename" label="  数据类型 " align="center"/>
                  <el-table-column prop="sugarlevel" label="  血糖值 " align="center"/>
                  <el-table-column prop="sourcename" label="  数据来源 " align="center"/>
                  <el-table-column prop="sugarlevelempty" label="  空腹血糖 " align="center"/>
      <el-table-column
        prop="sugarlevelempty"
        label="  空腹血糖 "
        align="center"
      />
                  <el-table-column prop="visittype" label="  就诊类型" align="center"/>
                  <el-table-column prop="visitid" label="  就诊ID" align="center"/>
                  <el-table-column prop="pid" label=" 父ID" align="center"/>
@@ -41,10 +84,16 @@
      </div>
</template>
    <script>
    import { listpat_med_bloodsugar, getpat_med_bloodsugar, delpat_med_bloodsugar, addpat_med_bloodsugar, updatepat_med_bloodsugar } from "@/api/smartor3/pat_med_bloodsugar";
import {
  listpat_med_bloodsugar,
  getpat_med_bloodsugar,
  delpat_med_bloodsugar,
  addpat_med_bloodsugar,
  updatepat_med_bloodsugar,
} from "@/api/smartor3/pat_med_bloodsugar";
    export default {
        name: "dw_list_pat_med_bloodsugar",
        dicts: ['sys_user_sex', 'sys_patientfrom'],
  dicts: ["sys_user_sex", "sys_patientfrom"],
        data() {
            return {
            parent:null,
@@ -71,54 +120,50 @@
                pageNum: 1,
                pageSize: 10,
                name: null,
                iccardno: null,
        idno: null,
                source: null,
                telcode: null,
                orgid: null,
                isupload: null,
                uploadTime: null
        uploadTime: null,
            },
         // 表单参数
            form: {},
        // 表单校验
             rules: {
             }
      rules: {},
            };
        },
        created() {
           //this.getList();
        },
        methods: {
            getList() {
                this.loading = true;
                listpat_med_bloodsugar(this.queryParams).then(response => {
      listpat_med_bloodsugar(this.queryParams).then((response) => {
                  this.dataList = response.rows;
                  this.total = response.total;
                  this.loading = false;
                });
              },
             handleSelectionChange(selection) {
                this.ids = selection.map(item => item.patid)
                this.single = selection.length !== 1
                this.multiple = !selection.length
      this.ids = selection.map((item) => item.patid);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
                //alert("selections:"+this.ids[0])
                //this.$parent.selectionChanged(this.ids[0])
            }, 
            handleAdd()
            {
                this.$parent.HandleCmdDefault("bill.new",this.ids[0])
    handleAdd() {
      this.$parent.HandleCmdDefault("bill.new", this.ids[0]);
            },
            handleUpdate()
            {
                this.$parent.HandleCmdDefault("bill.open",this.ids[0])
    handleUpdate() {
      this.$parent.HandleCmdDefault("bill.open", this.ids[0]);
            },
            rowChanged(row){
              //alert(row.patid)
              //console.log(row)
              //this.$parent.selectionChanged(row.bloodsugarid)
              this.$parent.bloodsugarid = row.bloodsugarid
            }
        }
    }
      this.$parent.bloodsugarid = row.bloodsugarid;
    },
  },
};
    </script>
src/comp/smartor3/dwo/dw_list_pat_med_drug.vue
@@ -2,20 +2,59 @@
      <div>
            <el-row :gutter="10" class="mb8">
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-plus" v-hasPermi="['smartor:patinhosp:add']" type="primary" @click="handleAdd">新增</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-plus"
          v-hasPermi="['smartor:patinhosp:add']"
          type="primary"
          @click="handleAdd"
          >新增</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-edit" :disabled="single" v-hasPermi="['smartor:patinhosp:edit']" type="success" @click="handleUpdate">修改</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-edit"
          :disabled="single"
          v-hasPermi="['smartor:patinhosp:edit']"
          type="success"
          @click="handleUpdate"
          >修改</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-delete" :disabled="multiple" v-hasPermi="['smartor:patinhosp:remove']" type="danger" @click="handleDelete">删除</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-delete"
          :disabled="multiple"
          v-hasPermi="['smartor:patinhosp:remove']"
          type="danger"
          @click="handleDelete"
          >删除</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-download" v-hasPermi="['smartor:patinhosp:export']" type="warning" @click="handleExport">导出</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-download"
          v-hasPermi="['smartor:patinhosp:export']"
          type="warning"
          @click="handleExport"
          >导出</el-button
        >
                  </el-col>
                  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"/>
            </el-row>
            <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange" @row-click="rowChanged">
    <el-table
      v-loading="loading"
      :data="dataList"
      @selection-change="handleSelectionChange"
      @row-click="rowChanged"
    >
                  <el-table-column width="50" type="selection" align="center"/>
                  <el-table-column prop="id" label="  自增ID " align="center"/>
                  <el-table-column prop="serialnum" label="  流水号 " align="center"/>
@@ -38,18 +77,32 @@
                  <el-table-column prop="drugid" label="  药品ID " align="center"/>
                  <el-table-column prop="visittype" label="  就诊类型 " align="center"/>
                  <el-table-column prop="visitid" label="  就诊ID " align="center"/>
                  <el-table-column prop="schemestatus" label="  是否生成方案状态" align="center"/>
                  <el-table-column prop="schemetime" label="  方案状态操作时间 " align="center"/>
      <el-table-column
        prop="schemestatus"
        label="  是否生成方案状态"
        align="center"
      />
      <el-table-column
        prop="schemetime"
        label="  方案状态操作时间 "
        align="center"
      />
                  <el-table-column prop="pid" label=" 父ID" align="center"/>
                  <el-table-column prop="guid" label=" GUID" align="center"/>
            </el-table>
      </div>
</template>
    <script>
    import { listpat_med_drug, getpat_med_drug, delpat_med_drug, addpat_med_drug, updatepat_med_drug } from "@/api/smartor3/pat_med_drug";
import {
  listpat_med_drug,
  getpat_med_drug,
  delpat_med_drug,
  addpat_med_drug,
  updatepat_med_drug,
} from "@/api/smartor3/pat_med_drug";
    export default {
        name: "dw_list_pat_med_drug",
        dicts: ['sys_user_sex', 'sys_patientfrom'],
  dicts: ["sys_user_sex", "sys_patientfrom"],
        data() {
            return {
            parent:null,
@@ -76,54 +129,50 @@
                pageNum: 1,
                pageSize: 10,
                name: null,
                iccardno: null,
        idno: null,
                source: null,
                telcode: null,
                orgid: null,
                isupload: null,
                uploadTime: null
        uploadTime: null,
            },
         // 表单参数
            form: {},
        // 表单校验
             rules: {
             }
      rules: {},
            };
        },
        created() {
           //this.getList();
        },
        methods: {
            getList() {
                this.loading = true;
                listpat_med_drug(this.queryParams).then(response => {
      listpat_med_drug(this.queryParams).then((response) => {
                  this.dataList = response.rows;
                  this.total = response.total;
                  this.loading = false;
                });
              },
             handleSelectionChange(selection) {
                this.ids = selection.map(item => item.patid)
                this.single = selection.length !== 1
                this.multiple = !selection.length
      this.ids = selection.map((item) => item.patid);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
                //alert("selections:"+this.ids[0])
                //this.$parent.selectionChanged(this.ids[0])
            }, 
            handleAdd()
            {
                this.$parent.HandleCmdDefault("bill.new",this.ids[0])
    handleAdd() {
      this.$parent.HandleCmdDefault("bill.new", this.ids[0]);
            },
            handleUpdate()
            {
                this.$parent.HandleCmdDefault("bill.open",this.ids[0])
    handleUpdate() {
      this.$parent.HandleCmdDefault("bill.open", this.ids[0]);
            },
            rowChanged(row){
              //alert(row.patid)
              //console.log(row)
              //this.$parent.selectionChanged(row.id)
              this.$parent.id = row.id
            }
        }
    }
      this.$parent.id = row.id;
    },
  },
};
    </script>
src/comp/smartor3/dwo/dw_list_pat_med_hypertension.vue
@@ -2,27 +2,74 @@
      <div>
            <el-row :gutter="10" class="mb8">
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-plus" v-hasPermi="['smartor:patinhosp:add']" type="primary" @click="handleAdd">新增</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-plus"
          v-hasPermi="['smartor:patinhosp:add']"
          type="primary"
          @click="handleAdd"
          >新增</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-edit" :disabled="single" v-hasPermi="['smartor:patinhosp:edit']" type="success" @click="handleUpdate">修改</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-edit"
          :disabled="single"
          v-hasPermi="['smartor:patinhosp:edit']"
          type="success"
          @click="handleUpdate"
          >修改</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-delete" :disabled="multiple" v-hasPermi="['smartor:patinhosp:remove']" type="danger" @click="handleDelete">删除</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-delete"
          :disabled="multiple"
          v-hasPermi="['smartor:patinhosp:remove']"
          type="danger"
          @click="handleDelete"
          >删除</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-download" v-hasPermi="['smartor:patinhosp:export']" type="warning" @click="handleExport">导出</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-download"
          v-hasPermi="['smartor:patinhosp:export']"
          type="warning"
          @click="handleExport"
          >导出</el-button
        >
                  </el-col>
                  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"/>
            </el-row>
            <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange" @row-click="rowChanged">
    <el-table
      v-loading="loading"
      :data="dataList"
      @selection-change="handleSelectionChange"
      @row-click="rowChanged"
    >
                  <el-table-column width="50" type="selection" align="center"/>
                  <el-table-column prop="id" label="  自增ID " align="center"/>
                  <el-table-column prop="serialnum" label="  流水号 " align="center"/>
                  <el-table-column prop="recordtime" label="  记录时间 " align="center"/>
                  <el-table-column prop="typename" label="  数据类型 " align="center"/>
                  <el-table-column prop="systolicpressure" label="  收缩压 " align="center"/>
                  <el-table-column prop="diastolicpressure" label="  舒张压 " align="center"/>
      <el-table-column
        prop="systolicpressure"
        label="  收缩压 "
        align="center"
      />
      <el-table-column
        prop="diastolicpressure"
        label="  舒张压 "
        align="center"
      />
                  <el-table-column prop="sourcename" label="  数据来源 " align="center"/>
                  <el-table-column prop="orgid" label="  机构ID " align="center"/>
                  <el-table-column prop="del_flag" label="  删除标记 " align="center"/>
@@ -42,10 +89,16 @@
      </div>
</template>
    <script>
    import { listpat_med_hypertension, getpat_med_hypertension, delpat_med_hypertension, addpat_med_hypertension, updatepat_med_hypertension } from "@/api/smartor3/pat_med_hypertension";
import {
  listpat_med_hypertension,
  getpat_med_hypertension,
  delpat_med_hypertension,
  addpat_med_hypertension,
  updatepat_med_hypertension,
} from "@/api/smartor3/pat_med_hypertension";
    export default {
        name: "dw_list_pat_med_hypertension",
        dicts: ['sys_user_sex', 'sys_patientfrom'],
  dicts: ["sys_user_sex", "sys_patientfrom"],
        data() {
            return {
            parent:null,
@@ -72,54 +125,50 @@
                pageNum: 1,
                pageSize: 10,
                name: null,
                iccardno: null,
        idno: null,
                source: null,
                telcode: null,
                orgid: null,
                isupload: null,
                uploadTime: null
        uploadTime: null,
            },
         // 表单参数
            form: {},
        // 表单校验
             rules: {
             }
      rules: {},
            };
        },
        created() {
           //this.getList();
        },
        methods: {
            getList() {
                this.loading = true;
                listpat_med_hypertension(this.queryParams).then(response => {
      listpat_med_hypertension(this.queryParams).then((response) => {
                  this.dataList = response.rows;
                  this.total = response.total;
                  this.loading = false;
                });
              },
             handleSelectionChange(selection) {
                this.ids = selection.map(item => item.patid)
                this.single = selection.length !== 1
                this.multiple = !selection.length
      this.ids = selection.map((item) => item.patid);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
                //alert("selections:"+this.ids[0])
                //this.$parent.selectionChanged(this.ids[0])
            }, 
            handleAdd()
            {
                this.$parent.HandleCmdDefault("bill.new",this.ids[0])
    handleAdd() {
      this.$parent.HandleCmdDefault("bill.new", this.ids[0]);
            },
            handleUpdate()
            {
                this.$parent.HandleCmdDefault("bill.open",this.ids[0])
    handleUpdate() {
      this.$parent.HandleCmdDefault("bill.open", this.ids[0]);
            },
            rowChanged(row){
              //alert(row.patid)
              //console.log(row)
              //this.$parent.selectionChanged(row.id)
              this.$parent.id = row.id
            }
        }
    }
      this.$parent.id = row.id;
    },
  },
};
    </script>
src/comp/smartor3/dwo/dw_list_pat_med_inhosp.vue
@@ -2,28 +2,79 @@
      <div>
            <el-row :gutter="10" class="mb8">
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-plus" v-hasPermi="['smartor:patinhosp:add']" type="primary" @click="handleAdd">新增</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-plus"
          v-hasPermi="['smartor:patinhosp:add']"
          type="primary"
          @click="handleAdd"
          >新增</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-edit" :disabled="single" v-hasPermi="['smartor:patinhosp:edit']" type="success" @click="handleUpdate">修改</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-edit"
          :disabled="single"
          v-hasPermi="['smartor:patinhosp:edit']"
          type="success"
          @click="handleUpdate"
          >修改</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-delete" :disabled="multiple" v-hasPermi="['smartor:patinhosp:remove']" type="danger" @click="handleDelete">删除</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-delete"
          :disabled="multiple"
          v-hasPermi="['smartor:patinhosp:remove']"
          type="danger"
          @click="handleDelete"
          >删除</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-download" v-hasPermi="['smartor:patinhosp:export']" type="warning" @click="handleExport">导出</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-download"
          v-hasPermi="['smartor:patinhosp:export']"
          type="warning"
          @click="handleExport"
          >导出</el-button
        >
                  </el-col>
                  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"/>
            </el-row>
            <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange" @row-click="rowChanged">
    <el-table
      v-loading="loading"
      :data="dataList"
      @selection-change="handleSelectionChange"
      @row-click="rowChanged"
    >
                  <el-table-column width="50" type="selection" align="center"/>
                  <el-table-column prop="inhospid" label="  自增ID " align="center"/>
                  <el-table-column prop="serialnum" label="  流水号 " align="center"/>
                  <el-table-column prop="hospitalname" label="  医院名称 " align="center"/>
                  <el-table-column prop="hospitalcode" label="  医院编号 " align="center"/>
                  <el-table-column prop="hospitaldistrictcode" label="  院区编号 " align="center"/>
                  <el-table-column prop="hospitaldistrictname" label="  院区名称 " align="center"/>
                  <el-table-column prop="icd10code" label="  入院诊断ICD值 " align="center"/>
      <el-table-column
        prop="hospitaldistrictcode"
        label="  院区编号 "
        align="center"
      />
      <el-table-column
        prop="hospitaldistrictname"
        label="  院区名称 "
        align="center"
      />
      <el-table-column
        prop="icd10code"
        label="  入院诊断ICD值 "
        align="center"
      />
                  <el-table-column prop="diagname" label="  入院诊断名称 " align="center"/>
                  <el-table-column prop="starttime" label="  入院时间 " align="center"/>
                  <el-table-column prop="endtime" label="  出院时间 " align="center"/>
@@ -40,31 +91,85 @@
                  <el-table-column prop="isupload" label="  上传标记 " align="center"/>
                  <el-table-column prop="upload_time" label="  上传时间 " align="center"/>
                  <el-table-column prop="patid" label="  档案ID " align="center"/>
                  <el-table-column prop="leavediagname" label="  出院诊断 " align="center"/>
                  <el-table-column prop="leaveicd10code" label="  出院诊断ICD值 " align="center"/>
      <el-table-column
        prop="leavediagname"
        label="  出院诊断 "
        align="center"
      />
      <el-table-column
        prop="leaveicd10code"
        label="  出院诊断ICD值 "
        align="center"
      />
                  <el-table-column prop="drcode" label="  医生工号 " align="center"/>
                  <el-table-column prop="drname" label="  医生名称 " align="center"/>
                  <el-table-column prop="schemestatus" label="  是否生成方案状态" align="center"/>
                  <el-table-column prop="generalschemestatus" label="  是否生成通用方案状态" align="center"/>
                  <el-table-column prop="leaveldeptcode" label="  出院科室代码 " align="center"/>
                  <el-table-column prop="leaveldeptname" label="  出院科室代码 " align="center"/>
                  <el-table-column prop="hospitaldistrictid" label="  病区ID " align="center"/>
                  <el-table-column prop="leavehospitaldistrictcode" label="  出院病区编号 " align="center"/>
                  <el-table-column prop="leavehospitaldistrictname" label="  出院病区名称 " align="center"/>
                  <el-table-column prop="leavehospitaldistrictid" label="  出院病区ID " align="center"/>
      <el-table-column
        prop="schemestatus"
        label="  是否生成方案状态"
        align="center"
      />
      <el-table-column
        prop="generalschemestatus"
        label="  是否生成通用方案状态"
        align="center"
      />
      <el-table-column
        prop="leaveldeptcode"
        label="  出院科室代码 "
        align="center"
      />
      <el-table-column
        prop="leaveldeptname"
        label="  出院科室代码 "
        align="center"
      />
      <el-table-column
        prop="hospitaldistrictid"
        label="  病区ID "
        align="center"
      />
      <el-table-column
        prop="leavehospitaldistrictcode"
        label="  出院病区编号 "
        align="center"
      />
      <el-table-column
        prop="leavehospitaldistrictname"
        label="  出院病区名称 "
        align="center"
      />
      <el-table-column
        prop="leavehospitaldistrictid"
        label="  出院病区ID "
        align="center"
      />
                  <el-table-column prop="deptid" label="  入院科室ID " align="center"/>
                  <el-table-column prop="leaveldeptid" label="  出院科室ID " align="center"/>
                  <el-table-column prop="schemetime" label="  方案状态操作时间 " align="center"/>
      <el-table-column
        prop="leaveldeptid"
        label="  出院科室ID "
        align="center"
      />
      <el-table-column
        prop="schemetime"
        label="  方案状态操作时间 "
        align="center"
      />
                  <el-table-column prop="pid" label=" 父ID" align="center"/>
                  <el-table-column prop="guid" label=" GUID" align="center"/>
            </el-table>
      </div>
</template>
    <script>
    import { listpat_med_inhosp, getpat_med_inhosp, delpat_med_inhosp, addpat_med_inhosp, updatepat_med_inhosp } from "@/api/smartor3/pat_med_inhosp";
import {
  listpat_med_inhosp,
  getpat_med_inhosp,
  delpat_med_inhosp,
  addpat_med_inhosp,
  updatepat_med_inhosp,
} from "@/api/smartor3/pat_med_inhosp";
    export default {
        name: "dw_list_pat_med_inhosp",
        dicts: ['sys_user_sex', 'sys_patientfrom'],
  dicts: ["sys_user_sex", "sys_patientfrom"],
        data() {
            return {
            parent:null,
@@ -91,54 +196,50 @@
                pageNum: 1,
                pageSize: 10,
                name: null,
                iccardno: null,
        idno: null,
                source: null,
                telcode: null,
                orgid: null,
                isupload: null,
                uploadTime: null
        uploadTime: null,
            },
         // 表单参数
            form: {},
        // 表单校验
             rules: {
             }
      rules: {},
            };
        },
        created() {
           //this.getList();
        },
        methods: {
            getList() {
                this.loading = true;
                listpat_med_inhosp(this.queryParams).then(response => {
      listpat_med_inhosp(this.queryParams).then((response) => {
                  this.dataList = response.rows;
                  this.total = response.total;
                  this.loading = false;
                });
              },
             handleSelectionChange(selection) {
                this.ids = selection.map(item => item.patid)
                this.single = selection.length !== 1
                this.multiple = !selection.length
      this.ids = selection.map((item) => item.patid);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
                //alert("selections:"+this.ids[0])
                //this.$parent.selectionChanged(this.ids[0])
            }, 
            handleAdd()
            {
                this.$parent.HandleCmdDefault("bill.new",this.ids[0])
    handleAdd() {
      this.$parent.HandleCmdDefault("bill.new", this.ids[0]);
            },
            handleUpdate()
            {
                this.$parent.HandleCmdDefault("bill.open",this.ids[0])
    handleUpdate() {
      this.$parent.HandleCmdDefault("bill.open", this.ids[0]);
            },
            rowChanged(row){
              //alert(row.patid)
              //console.log(row)
              //this.$parent.selectionChanged(row.inhospid)
              this.$parent.inhospid = row.inhospid
            }
        }
    }
      this.$parent.inhospid = row.inhospid;
    },
  },
};
    </script>
src/comp/smartor3/dwo/dw_list_pat_med_inspection.vue
@@ -2,20 +2,59 @@
      <div>
            <el-row :gutter="10" class="mb8">
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-plus" v-hasPermi="['smartor:patinhosp:add']" type="primary" @click="handleAdd">新增</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-plus"
          v-hasPermi="['smartor:patinhosp:add']"
          type="primary"
          @click="handleAdd"
          >新增</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-edit" :disabled="single" v-hasPermi="['smartor:patinhosp:edit']" type="success" @click="handleUpdate">修改</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-edit"
          :disabled="single"
          v-hasPermi="['smartor:patinhosp:edit']"
          type="success"
          @click="handleUpdate"
          >修改</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-delete" :disabled="multiple" v-hasPermi="['smartor:patinhosp:remove']" type="danger" @click="handleDelete">删除</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-delete"
          :disabled="multiple"
          v-hasPermi="['smartor:patinhosp:remove']"
          type="danger"
          @click="handleDelete"
          >删除</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-download" v-hasPermi="['smartor:patinhosp:export']" type="warning" @click="handleExport">导出</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-download"
          v-hasPermi="['smartor:patinhosp:export']"
          type="warning"
          @click="handleExport"
          >导出</el-button
        >
                  </el-col>
                  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"/>
            </el-row>
            <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange" @row-click="rowChanged">
    <el-table
      v-loading="loading"
      :data="dataList"
      @selection-change="handleSelectionChange"
      @row-click="rowChanged"
    >
                  <el-table-column width="50" type="selection" align="center"/>
                  <el-table-column prop="id" label="  自增ID " align="center"/>
                  <el-table-column prop="serialnum" label="  流水号 " align="center"/>
@@ -35,13 +74,29 @@
                  <el-table-column prop="isupload" label="  上传标记 " align="center"/>
                  <el-table-column prop="upload_time" label="  上传时间 " align="center"/>
                  <el-table-column prop="projectid" label="  项目ID " align="center"/>
                  <el-table-column prop="applicationtime" label="  申请时间 " align="center"/>
      <el-table-column
        prop="applicationtime"
        label="  申请时间 "
        align="center"
      />
                  <el-table-column prop="visittype" label="  就诊类型 " align="center"/>
                  <el-table-column prop="visitid" label="  就诊ID " align="center"/>
                  <el-table-column prop="schemestatus" label="  是否生成方案状态" align="center"/>
      <el-table-column
        prop="schemestatus"
        label="  是否生成方案状态"
        align="center"
      />
                  <el-table-column prop="isabnormal" label="  是否异常" align="center"/>
                  <el-table-column prop="reportconclusion" label="  报告结论 " align="center"/>
                  <el-table-column prop="schemetime" label="  方案状态操作时间 " align="center"/>
      <el-table-column
        prop="reportconclusion"
        label="  报告结论 "
        align="center"
      />
      <el-table-column
        prop="schemetime"
        label="  方案状态操作时间 "
        align="center"
      />
                  <el-table-column prop="deptcode" label="  开单科室代码 " align="center"/>
                  <el-table-column prop="deptname" label="  开单科室名称 " align="center"/>
                  <el-table-column prop="deptid" label="  开单科室ID " align="center"/>
@@ -51,10 +106,16 @@
      </div>
</template>
    <script>
    import { listpat_med_inspection, getpat_med_inspection, delpat_med_inspection, addpat_med_inspection, updatepat_med_inspection } from "@/api/smartor3/pat_med_inspection";
import {
  listpat_med_inspection,
  getpat_med_inspection,
  delpat_med_inspection,
  addpat_med_inspection,
  updatepat_med_inspection,
} from "@/api/smartor3/pat_med_inspection";
    export default {
        name: "dw_list_pat_med_inspection",
        dicts: ['sys_user_sex', 'sys_patientfrom'],
  dicts: ["sys_user_sex", "sys_patientfrom"],
        data() {
            return {
            parent:null,
@@ -81,54 +142,50 @@
                pageNum: 1,
                pageSize: 10,
                name: null,
                iccardno: null,
        idno: null,
                source: null,
                telcode: null,
                orgid: null,
                isupload: null,
                uploadTime: null
        uploadTime: null,
            },
         // 表单参数
            form: {},
        // 表单校验
             rules: {
             }
      rules: {},
            };
        },
        created() {
           //this.getList();
        },
        methods: {
            getList() {
                this.loading = true;
                listpat_med_inspection(this.queryParams).then(response => {
      listpat_med_inspection(this.queryParams).then((response) => {
                  this.dataList = response.rows;
                  this.total = response.total;
                  this.loading = false;
                });
              },
             handleSelectionChange(selection) {
                this.ids = selection.map(item => item.patid)
                this.single = selection.length !== 1
                this.multiple = !selection.length
      this.ids = selection.map((item) => item.patid);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
                //alert("selections:"+this.ids[0])
                //this.$parent.selectionChanged(this.ids[0])
            }, 
            handleAdd()
            {
                this.$parent.HandleCmdDefault("bill.new",this.ids[0])
    handleAdd() {
      this.$parent.HandleCmdDefault("bill.new", this.ids[0]);
            },
            handleUpdate()
            {
                this.$parent.HandleCmdDefault("bill.open",this.ids[0])
    handleUpdate() {
      this.$parent.HandleCmdDefault("bill.open", this.ids[0]);
            },
            rowChanged(row){
              //alert(row.patid)
              //console.log(row)
              //this.$parent.selectionChanged(row.id)
              this.$parent.id = row.id
            }
        }
    }
      this.$parent.id = row.id;
    },
  },
};
    </script>
src/comp/smartor3/dwo/dw_list_pat_med_inspection_item.vue
@@ -2,23 +2,66 @@
      <div>
            <el-row :gutter="10" class="mb8">
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-plus" v-hasPermi="['smartor:patinhosp:add']" type="primary" @click="handleAdd">新增</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-plus"
          v-hasPermi="['smartor:patinhosp:add']"
          type="primary"
          @click="handleAdd"
          >新增</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-edit" :disabled="single" v-hasPermi="['smartor:patinhosp:edit']" type="success" @click="handleUpdate">修改</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-edit"
          :disabled="single"
          v-hasPermi="['smartor:patinhosp:edit']"
          type="success"
          @click="handleUpdate"
          >修改</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-delete" :disabled="multiple" v-hasPermi="['smartor:patinhosp:remove']" type="danger" @click="handleDelete">删除</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-delete"
          :disabled="multiple"
          v-hasPermi="['smartor:patinhosp:remove']"
          type="danger"
          @click="handleDelete"
          >删除</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-download" v-hasPermi="['smartor:patinhosp:export']" type="warning" @click="handleExport">导出</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-download"
          v-hasPermi="['smartor:patinhosp:export']"
          type="warning"
          @click="handleExport"
          >导出</el-button
        >
                  </el-col>
                  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"/>
            </el-row>
            <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange" @row-click="rowChanged">
    <el-table
      v-loading="loading"
      :data="dataList"
      @selection-change="handleSelectionChange"
      @row-click="rowChanged"
    >
                  <el-table-column width="50" type="selection" align="center"/>
                  <el-table-column prop="id" label="  自增ID " align="center"/>
                  <el-table-column prop="inspectionid" label="  对应记录表 " align="center"/>
      <el-table-column
        prop="inspectionid"
        label="  对应记录表 "
        align="center"
      />
                  <el-table-column prop="relationid" label="  相应ID " align="center"/>
                  <el-table-column prop="relationcode" label="  相应编号 " align="center"/>
                  <el-table-column prop="relationname" label="  相应名称 " align="center"/>
@@ -40,10 +83,16 @@
      </div>
</template>
    <script>
    import { listpat_med_inspection_item, getpat_med_inspection_item, delpat_med_inspection_item, addpat_med_inspection_item, updatepat_med_inspection_item } from "@/api/smartor3/pat_med_inspection_item";
import {
  listpat_med_inspection_item,
  getpat_med_inspection_item,
  delpat_med_inspection_item,
  addpat_med_inspection_item,
  updatepat_med_inspection_item,
} from "@/api/smartor3/pat_med_inspection_item";
    export default {
        name: "dw_list_pat_med_inspection_item",
        dicts: ['sys_user_sex', 'sys_patientfrom'],
  dicts: ["sys_user_sex", "sys_patientfrom"],
        data() {
            return {
            parent:null,
@@ -70,54 +119,50 @@
                pageNum: 1,
                pageSize: 10,
                name: null,
                iccardno: null,
        idno: null,
                source: null,
                telcode: null,
                orgid: null,
                isupload: null,
                uploadTime: null
        uploadTime: null,
            },
         // 表单参数
            form: {},
        // 表单校验
             rules: {
             }
      rules: {},
            };
        },
        created() {
           //this.getList();
        },
        methods: {
            getList() {
                this.loading = true;
                listpat_med_inspection_item(this.queryParams).then(response => {
      listpat_med_inspection_item(this.queryParams).then((response) => {
                  this.dataList = response.rows;
                  this.total = response.total;
                  this.loading = false;
                });
              },
             handleSelectionChange(selection) {
                this.ids = selection.map(item => item.patid)
                this.single = selection.length !== 1
                this.multiple = !selection.length
      this.ids = selection.map((item) => item.patid);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
                //alert("selections:"+this.ids[0])
                //this.$parent.selectionChanged(this.ids[0])
            }, 
            handleAdd()
            {
                this.$parent.HandleCmdDefault("bill.new",this.ids[0])
    handleAdd() {
      this.$parent.HandleCmdDefault("bill.new", this.ids[0]);
            },
            handleUpdate()
            {
                this.$parent.HandleCmdDefault("bill.open",this.ids[0])
    handleUpdate() {
      this.$parent.HandleCmdDefault("bill.open", this.ids[0]);
            },
            rowChanged(row){
              //alert(row.patid)
              //console.log(row)
              //this.$parent.selectionChanged(row.id)
              this.$parent.id = row.id
            }
        }
    }
      this.$parent.id = row.id;
    },
  },
};
    </script>
src/comp/smartor3/dwo/dw_list_pat_med_operation.vue
@@ -2,33 +2,92 @@
      <div>
            <el-row :gutter="10" class="mb8">
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-plus" v-hasPermi="['smartor:patinhosp:add']" type="primary" @click="handleAdd">新增</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-plus"
          v-hasPermi="['smartor:patinhosp:add']"
          type="primary"
          @click="handleAdd"
          >新增</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-edit" :disabled="single" v-hasPermi="['smartor:patinhosp:edit']" type="success" @click="handleUpdate">修改</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-edit"
          :disabled="single"
          v-hasPermi="['smartor:patinhosp:edit']"
          type="success"
          @click="handleUpdate"
          >修改</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-delete" :disabled="multiple" v-hasPermi="['smartor:patinhosp:remove']" type="danger" @click="handleDelete">删除</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-delete"
          :disabled="multiple"
          v-hasPermi="['smartor:patinhosp:remove']"
          type="danger"
          @click="handleDelete"
          >删除</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-download" v-hasPermi="['smartor:patinhosp:export']" type="warning" @click="handleExport">导出</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-download"
          v-hasPermi="['smartor:patinhosp:export']"
          type="warning"
          @click="handleExport"
          >导出</el-button
        >
                  </el-col>
                  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"/>
            </el-row>
            <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange" @row-click="rowChanged">
    <el-table
      v-loading="loading"
      :data="dataList"
      @selection-change="handleSelectionChange"
      @row-click="rowChanged"
    >
                  <el-table-column width="50" type="selection" align="center"/>
                  <el-table-column prop="id" label="  自增ID " align="center"/>
                  <el-table-column prop="serialnum" label="  就诊流水号 " align="center"/>
                  <el-table-column prop="patid" label="  档案ID " align="center"/>
                  <el-table-column prop="operationname" label="  手术名称 " align="center"/>
                  <el-table-column prop="operationcode" label="  手术代码 " align="center"/>
      <el-table-column
        prop="operationname"
        label="  手术名称 "
        align="center"
      />
      <el-table-column
        prop="operationcode"
        label="  手术代码 "
        align="center"
      />
                  <el-table-column prop="operationid" label="  手术ID " align="center"/>
                  <el-table-column prop="operationtime" label="  手术时间 " align="center"/>
      <el-table-column
        prop="operationtime"
        label="  手术时间 "
        align="center"
      />
                  <el-table-column prop="visitid" label="  就诊ID " align="center"/>
                  <el-table-column prop="visittype" label="  就诊类型" align="center"/>
                  <el-table-column prop="status" label="  手术状态" align="center"/>
                  <el-table-column prop="schemetime" label="  方案状态操作时间 " align="center"/>
                  <el-table-column prop="schemestatus" label="  是否生成计划" align="center"/>
      <el-table-column
        prop="schemetime"
        label="  方案状态操作时间 "
        align="center"
      />
      <el-table-column
        prop="schemestatus"
        label="  是否生成计划"
        align="center"
      />
                  <el-table-column prop="orgid" label="  机构ID " align="center"/>
                  <el-table-column prop="del_flag" label="  删除标记 " align="center"/>
                  <el-table-column prop="update_by" label="  更新人 " align="center"/>
@@ -43,10 +102,16 @@
      </div>
</template>
    <script>
    import { listpat_med_operation, getpat_med_operation, delpat_med_operation, addpat_med_operation, updatepat_med_operation } from "@/api/smartor3/pat_med_operation";
import {
  listpat_med_operation,
  getpat_med_operation,
  delpat_med_operation,
  addpat_med_operation,
  updatepat_med_operation,
} from "@/api/smartor3/pat_med_operation";
    export default {
        name: "dw_list_pat_med_operation",
        dicts: ['sys_user_sex', 'sys_patientfrom'],
  dicts: ["sys_user_sex", "sys_patientfrom"],
        data() {
            return {
            parent:null,
@@ -73,54 +138,50 @@
                pageNum: 1,
                pageSize: 10,
                name: null,
                iccardno: null,
        idno: null,
                source: null,
                telcode: null,
                orgid: null,
                isupload: null,
                uploadTime: null
        uploadTime: null,
            },
         // 表单参数
            form: {},
        // 表单校验
             rules: {
             }
      rules: {},
            };
        },
        created() {
           //this.getList();
        },
        methods: {
            getList() {
                this.loading = true;
                listpat_med_operation(this.queryParams).then(response => {
      listpat_med_operation(this.queryParams).then((response) => {
                  this.dataList = response.rows;
                  this.total = response.total;
                  this.loading = false;
                });
              },
             handleSelectionChange(selection) {
                this.ids = selection.map(item => item.patid)
                this.single = selection.length !== 1
                this.multiple = !selection.length
      this.ids = selection.map((item) => item.patid);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
                //alert("selections:"+this.ids[0])
                //this.$parent.selectionChanged(this.ids[0])
            }, 
            handleAdd()
            {
                this.$parent.HandleCmdDefault("bill.new",this.ids[0])
    handleAdd() {
      this.$parent.HandleCmdDefault("bill.new", this.ids[0]);
            },
            handleUpdate()
            {
                this.$parent.HandleCmdDefault("bill.open",this.ids[0])
    handleUpdate() {
      this.$parent.HandleCmdDefault("bill.open", this.ids[0]);
            },
            rowChanged(row){
              //alert(row.patid)
              //console.log(row)
              //this.$parent.selectionChanged(row.id)
              this.$parent.id = row.id
            }
        }
    }
      this.$parent.id = row.id;
    },
  },
};
    </script>
src/comp/smartor3/dwo/dw_list_pat_med_outhosp.vue
@@ -2,20 +2,59 @@
      <div>
            <el-row :gutter="10" class="mb8">
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-plus" v-hasPermi="['smartor:patinhosp:add']" type="primary" @click="handleAdd">新增</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-plus"
          v-hasPermi="['smartor:patinhosp:add']"
          type="primary"
          @click="handleAdd"
          >新增</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-edit" :disabled="single" v-hasPermi="['smartor:patinhosp:edit']" type="success" @click="handleUpdate">修改</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-edit"
          :disabled="single"
          v-hasPermi="['smartor:patinhosp:edit']"
          type="success"
          @click="handleUpdate"
          >修改</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-delete" :disabled="multiple" v-hasPermi="['smartor:patinhosp:remove']" type="danger" @click="handleDelete">删除</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-delete"
          :disabled="multiple"
          v-hasPermi="['smartor:patinhosp:remove']"
          type="danger"
          @click="handleDelete"
          >删除</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-download" v-hasPermi="['smartor:patinhosp:export']" type="warning" @click="handleExport">导出</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-download"
          v-hasPermi="['smartor:patinhosp:export']"
          type="warning"
          @click="handleExport"
          >导出</el-button
        >
                  </el-col>
                  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"/>
            </el-row>
            <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange" @row-click="rowChanged">
    <el-table
      v-loading="loading"
      :data="dataList"
      @selection-change="handleSelectionChange"
      @row-click="rowChanged"
    >
                  <el-table-column width="50" type="selection" align="center"/>
                  <el-table-column prop="id" label="  自增ID " align="center"/>
                  <el-table-column prop="serialnum" label="  流水号 " align="center"/>
@@ -37,9 +76,17 @@
                  <el-table-column prop="create_time" label="  创建时间 " align="center"/>
                  <el-table-column prop="isupload" label="  上传标记 " align="center"/>
                  <el-table-column prop="upload_time" label="  上传时间 " align="center"/>
                  <el-table-column prop="schemestatus" label="  是否生成方案状态" align="center"/>
      <el-table-column
        prop="schemestatus"
        label="  是否生成方案状态"
        align="center"
      />
                  <el-table-column prop="deptid" label="  科室ID " align="center"/>
                  <el-table-column prop="schemetime" label="  方案状态操作时间 " align="center"/>
      <el-table-column
        prop="schemetime"
        label="  方案状态操作时间 "
        align="center"
      />
                  <el-table-column prop="hpi" label="  现病史 " align="center"/>
                  <el-table-column prop="mainsuit" label="  主述 " align="center"/>
                  <el-table-column prop="pid" label=" 父ID" align="center"/>
@@ -48,10 +95,16 @@
      </div>
</template>
    <script>
    import { listpat_med_outhosp, getpat_med_outhosp, delpat_med_outhosp, addpat_med_outhosp, updatepat_med_outhosp } from "@/api/smartor3/pat_med_outhosp";
import {
  listpat_med_outhosp,
  getpat_med_outhosp,
  delpat_med_outhosp,
  addpat_med_outhosp,
  updatepat_med_outhosp,
} from "@/api/smartor3/pat_med_outhosp";
    export default {
        name: "dw_list_pat_med_outhosp",
        dicts: ['sys_user_sex', 'sys_patientfrom'],
  dicts: ["sys_user_sex", "sys_patientfrom"],
        data() {
            return {
            parent:null,
@@ -78,54 +131,50 @@
                pageNum: 1,
                pageSize: 10,
                name: null,
                iccardno: null,
        idno: null,
                source: null,
                telcode: null,
                orgid: null,
                isupload: null,
                uploadTime: null
        uploadTime: null,
            },
         // 表单参数
            form: {},
        // 表单校验
             rules: {
             }
      rules: {},
            };
        },
        created() {
           //this.getList();
        },
        methods: {
            getList() {
                this.loading = true;
                listpat_med_outhosp(this.queryParams).then(response => {
      listpat_med_outhosp(this.queryParams).then((response) => {
                  this.dataList = response.rows;
                  this.total = response.total;
                  this.loading = false;
                });
              },
             handleSelectionChange(selection) {
                this.ids = selection.map(item => item.patid)
                this.single = selection.length !== 1
                this.multiple = !selection.length
      this.ids = selection.map((item) => item.patid);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
                //alert("selections:"+this.ids[0])
                //this.$parent.selectionChanged(this.ids[0])
            }, 
            handleAdd()
            {
                this.$parent.HandleCmdDefault("bill.new",this.ids[0])
    handleAdd() {
      this.$parent.HandleCmdDefault("bill.new", this.ids[0]);
            },
            handleUpdate()
            {
                this.$parent.HandleCmdDefault("bill.open",this.ids[0])
    handleUpdate() {
      this.$parent.HandleCmdDefault("bill.open", this.ids[0]);
            },
            rowChanged(row){
              //alert(row.patid)
              //console.log(row)
              //this.$parent.selectionChanged(row.id)
              this.$parent.id = row.id
            }
        }
    }
      this.$parent.id = row.id;
    },
  },
};
    </script>
src/comp/smartor3/dwo/dw_list_pat_med_physical.vue
@@ -2,28 +2,75 @@
      <div>
            <el-row :gutter="10" class="mb8">
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-plus" v-hasPermi="['smartor:patinhosp:add']" type="primary" @click="handleAdd">新增</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-plus"
          v-hasPermi="['smartor:patinhosp:add']"
          type="primary"
          @click="handleAdd"
          >新增</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-edit" :disabled="single" v-hasPermi="['smartor:patinhosp:edit']" type="success" @click="handleUpdate">修改</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-edit"
          :disabled="single"
          v-hasPermi="['smartor:patinhosp:edit']"
          type="success"
          @click="handleUpdate"
          >修改</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-delete" :disabled="multiple" v-hasPermi="['smartor:patinhosp:remove']" type="danger" @click="handleDelete">删除</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-delete"
          :disabled="multiple"
          v-hasPermi="['smartor:patinhosp:remove']"
          type="danger"
          @click="handleDelete"
          >删除</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-download" v-hasPermi="['smartor:patinhosp:export']" type="warning" @click="handleExport">导出</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-download"
          v-hasPermi="['smartor:patinhosp:export']"
          type="warning"
          @click="handleExport"
          >导出</el-button
        >
                  </el-col>
                  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"/>
            </el-row>
            <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange" @row-click="rowChanged">
    <el-table
      v-loading="loading"
      :data="dataList"
      @selection-change="handleSelectionChange"
      @row-click="rowChanged"
    >
                  <el-table-column width="50" type="selection" align="center"/>
                  <el-table-column prop="id" label="  自增ID " align="center"/>
                  <el-table-column prop="serialnum" label="  流水号 " align="center"/>
                  <el-table-column prop="patid" label="  档案ID " align="center"/>
                  <el-table-column prop="drcode" label="  总结医生工号 " align="center"/>
                  <el-table-column prop="drname" label="  总结医生名称 " align="center"/>
                  <el-table-column prop="hospitalcode" label="  体检单位/医院编号 " align="center"/>
                  <el-table-column prop="hospitalname" label="  体检单位/医院 " align="center"/>
      <el-table-column
        prop="hospitalcode"
        label="  体检单位/医院编号 "
        align="center"
      />
      <el-table-column
        prop="hospitalname"
        label="  体检单位/医院 "
        align="center"
      />
                  <el-table-column prop="physicaldate" label="  体检时间 " align="center"/>
                  <el-table-column prop="orgid" label="  机构ID " align="center"/>
                  <el-table-column prop="del_flag" label="  删除标记 " align="center"/>
@@ -35,24 +82,50 @@
                  <el-table-column prop="upload_time" label="  上传时间 " align="center"/>
                  <el-table-column prop="deptcode" label="  科室代码 " align="center"/>
                  <el-table-column prop="deptname" label="  科室名称 " align="center"/>
                  <el-table-column prop="projectname" label="  体检项目名称 " align="center"/>
                  <el-table-column prop="projectcode" label="  体检项目编码 " align="center"/>
      <el-table-column
        prop="projectname"
        label="  体检项目名称 "
        align="center"
      />
      <el-table-column
        prop="projectcode"
        label="  体检项目编码 "
        align="center"
      />
                  <el-table-column prop="state" label="  状态" align="center"/>
                  <el-table-column prop="schemestatus" label="  是否生成方案状态" align="center"/>
                  <el-table-column prop="generalschemestatus" label="  是否生成通用方案状态" align="center"/>
      <el-table-column
        prop="schemestatus"
        label="  是否生成方案状态"
        align="center"
      />
      <el-table-column
        prop="generalschemestatus"
        label="  是否生成通用方案状态"
        align="center"
      />
                  <el-table-column prop="deptid" label="  科室ID " align="center"/>
                  <el-table-column prop="projectid" label="  体检套餐ID " align="center"/>
                  <el-table-column prop="schemetime" label="  方案状态操作时间 " align="center"/>
      <el-table-column
        prop="schemetime"
        label="  方案状态操作时间 "
        align="center"
      />
                  <el-table-column prop="pid" label=" 父ID" align="center"/>
                  <el-table-column prop="guid" label=" GUID" align="center"/>
            </el-table>
      </div>
</template>
    <script>
    import { listpat_med_physical, getpat_med_physical, delpat_med_physical, addpat_med_physical, updatepat_med_physical } from "@/api/smartor3/pat_med_physical";
import {
  listpat_med_physical,
  getpat_med_physical,
  delpat_med_physical,
  addpat_med_physical,
  updatepat_med_physical,
} from "@/api/smartor3/pat_med_physical";
    export default {
        name: "dw_list_pat_med_physical",
        dicts: ['sys_user_sex', 'sys_patientfrom'],
  dicts: ["sys_user_sex", "sys_patientfrom"],
        data() {
            return {
            parent:null,
@@ -79,54 +152,50 @@
                pageNum: 1,
                pageSize: 10,
                name: null,
                iccardno: null,
        idno: null,
                source: null,
                telcode: null,
                orgid: null,
                isupload: null,
                uploadTime: null
        uploadTime: null,
            },
         // 表单参数
            form: {},
        // 表单校验
             rules: {
             }
      rules: {},
            };
        },
        created() {
           //this.getList();
        },
        methods: {
            getList() {
                this.loading = true;
                listpat_med_physical(this.queryParams).then(response => {
      listpat_med_physical(this.queryParams).then((response) => {
                  this.dataList = response.rows;
                  this.total = response.total;
                  this.loading = false;
                });
              },
             handleSelectionChange(selection) {
                this.ids = selection.map(item => item.patid)
                this.single = selection.length !== 1
                this.multiple = !selection.length
      this.ids = selection.map((item) => item.patid);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
                //alert("selections:"+this.ids[0])
                //this.$parent.selectionChanged(this.ids[0])
            }, 
            handleAdd()
            {
                this.$parent.HandleCmdDefault("bill.new",this.ids[0])
    handleAdd() {
      this.$parent.HandleCmdDefault("bill.new", this.ids[0]);
            },
            handleUpdate()
            {
                this.$parent.HandleCmdDefault("bill.open",this.ids[0])
    handleUpdate() {
      this.$parent.HandleCmdDefault("bill.open", this.ids[0]);
            },
            rowChanged(row){
              //alert(row.patid)
              //console.log(row)
              //this.$parent.selectionChanged(row.id)
              this.$parent.id = row.id
            }
        }
    }
      this.$parent.id = row.id;
    },
  },
};
    </script>
src/comp/smartor3/dwo/dw_list_pat_med_registration.vue
@@ -2,20 +2,59 @@
      <div>
            <el-row :gutter="10" class="mb8">
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-plus" v-hasPermi="['smartor:patinhosp:add']" type="primary" @click="handleAdd">新增</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-plus"
          v-hasPermi="['smartor:patinhosp:add']"
          type="primary"
          @click="handleAdd"
          >新增</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-edit" :disabled="single" v-hasPermi="['smartor:patinhosp:edit']" type="success" @click="handleUpdate">修改</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-edit"
          :disabled="single"
          v-hasPermi="['smartor:patinhosp:edit']"
          type="success"
          @click="handleUpdate"
          >修改</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-delete" :disabled="multiple" v-hasPermi="['smartor:patinhosp:remove']" type="danger" @click="handleDelete">删除</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-delete"
          :disabled="multiple"
          v-hasPermi="['smartor:patinhosp:remove']"
          type="danger"
          @click="handleDelete"
          >删除</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-download" v-hasPermi="['smartor:patinhosp:export']" type="warning" @click="handleExport">导出</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-download"
          v-hasPermi="['smartor:patinhosp:export']"
          type="warning"
          @click="handleExport"
          >导出</el-button
        >
                  </el-col>
                  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"/>
            </el-row>
            <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange" @row-click="rowChanged">
    <el-table
      v-loading="loading"
      :data="dataList"
      @selection-change="handleSelectionChange"
      @row-click="rowChanged"
    >
                  <el-table-column width="50" type="selection" align="center"/>
                  <el-table-column prop="registid" label="  自增ID " align="center"/>
                  <el-table-column prop="serialnum" label="  流水表 " align="center"/>
@@ -26,11 +65,31 @@
                  <el-table-column prop="deptname" label="  科室名称 " align="center"/>
                  <el-table-column prop="deptid" label="  科室ID " align="center"/>
                  <el-table-column prop="state" label="  预约状态" align="center"/>
                  <el-table-column prop="appointmenttime" label="  预约时间 " align="center"/>
                  <el-table-column prop="appointmenttimetype" label="  预约班别" align="center"/>
                  <el-table-column prop="appointmentcode" label="  预约号源 " align="center"/>
                  <el-table-column prop="appointmentbegintime" label="  预约时段开始时间 " align="center"/>
                  <el-table-column prop="appointmentendtime" label="  预约时段结束时间 " align="center"/>
      <el-table-column
        prop="appointmenttime"
        label="  预约时间 "
        align="center"
      />
      <el-table-column
        prop="appointmenttimetype"
        label="  预约班别"
        align="center"
      />
      <el-table-column
        prop="appointmentcode"
        label="  预约号源 "
        align="center"
      />
      <el-table-column
        prop="appointmentbegintime"
        label="  预约时段开始时间 "
        align="center"
      />
      <el-table-column
        prop="appointmentendtime"
        label="  预约时段结束时间 "
        align="center"
      />
                  <el-table-column prop="orgid" label="  机构ID " align="center"/>
                  <el-table-column prop="del_flag" label="  删除标记 " align="center"/>
                  <el-table-column prop="update_by" label="  更新人 " align="center"/>
@@ -45,10 +104,16 @@
      </div>
</template>
    <script>
    import { listpat_med_registration, getpat_med_registration, delpat_med_registration, addpat_med_registration, updatepat_med_registration } from "@/api/smartor3/pat_med_registration";
import {
  listpat_med_registration,
  getpat_med_registration,
  delpat_med_registration,
  addpat_med_registration,
  updatepat_med_registration,
} from "@/api/smartor3/pat_med_registration";
    export default {
        name: "dw_list_pat_med_registration",
        dicts: ['sys_user_sex', 'sys_patientfrom'],
  dicts: ["sys_user_sex", "sys_patientfrom"],
        data() {
            return {
            parent:null,
@@ -75,54 +140,50 @@
                pageNum: 1,
                pageSize: 10,
                name: null,
                iccardno: null,
        idno: null,
                source: null,
                telcode: null,
                orgid: null,
                isupload: null,
                uploadTime: null
        uploadTime: null,
            },
         // 表单参数
            form: {},
        // 表单校验
             rules: {
             }
      rules: {},
            };
        },
        created() {
           //this.getList();
        },
        methods: {
            getList() {
                this.loading = true;
                listpat_med_registration(this.queryParams).then(response => {
      listpat_med_registration(this.queryParams).then((response) => {
                  this.dataList = response.rows;
                  this.total = response.total;
                  this.loading = false;
                });
              },
             handleSelectionChange(selection) {
                this.ids = selection.map(item => item.patid)
                this.single = selection.length !== 1
                this.multiple = !selection.length
      this.ids = selection.map((item) => item.patid);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
                //alert("selections:"+this.ids[0])
                //this.$parent.selectionChanged(this.ids[0])
            }, 
            handleAdd()
            {
                this.$parent.HandleCmdDefault("bill.new",this.ids[0])
    handleAdd() {
      this.$parent.HandleCmdDefault("bill.new", this.ids[0]);
            },
            handleUpdate()
            {
                this.$parent.HandleCmdDefault("bill.open",this.ids[0])
    handleUpdate() {
      this.$parent.HandleCmdDefault("bill.open", this.ids[0]);
            },
            rowChanged(row){
              //alert(row.patid)
              //console.log(row)
              //this.$parent.selectionChanged(row.registid)
              this.$parent.registid = row.registid
            }
        }
    }
      this.$parent.registid = row.registid;
    },
  },
};
    </script>
src/comp/smartor3/dwo/dw_list_pat_med_weight.vue
@@ -2,20 +2,59 @@
      <div>
            <el-row :gutter="10" class="mb8">
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-plus" v-hasPermi="['smartor:patinhosp:add']" type="primary" @click="handleAdd">新增</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-plus"
          v-hasPermi="['smartor:patinhosp:add']"
          type="primary"
          @click="handleAdd"
          >新增</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-edit" :disabled="single" v-hasPermi="['smartor:patinhosp:edit']" type="success" @click="handleUpdate">修改</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-edit"
          :disabled="single"
          v-hasPermi="['smartor:patinhosp:edit']"
          type="success"
          @click="handleUpdate"
          >修改</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-delete" :disabled="multiple" v-hasPermi="['smartor:patinhosp:remove']" type="danger" @click="handleDelete">删除</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-delete"
          :disabled="multiple"
          v-hasPermi="['smartor:patinhosp:remove']"
          type="danger"
          @click="handleDelete"
          >删除</el-button
        >
                  </el-col>
                  <el-col :span="1.5">
                        <el-button size="mini" plain="true" icon="el-icon-download" v-hasPermi="['smartor:patinhosp:export']" type="warning" @click="handleExport">导出</el-button>
        <el-button
          size="mini"
          plain="true"
          icon="el-icon-download"
          v-hasPermi="['smartor:patinhosp:export']"
          type="warning"
          @click="handleExport"
          >导出</el-button
        >
                  </el-col>
                  <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"/>
            </el-row>
            <el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange" @row-click="rowChanged">
    <el-table
      v-loading="loading"
      :data="dataList"
      @selection-change="handleSelectionChange"
      @row-click="rowChanged"
    >
                  <el-table-column width="50" type="selection" align="center"/>
                  <el-table-column prop="id" label="  自增ID " align="center"/>
                  <el-table-column prop="serialnum" label="  流水号 " align="center"/>
@@ -40,10 +79,16 @@
      </div>
</template>
    <script>
    import { listpat_med_weight, getpat_med_weight, delpat_med_weight, addpat_med_weight, updatepat_med_weight } from "@/api/smartor3/pat_med_weight";
import {
  listpat_med_weight,
  getpat_med_weight,
  delpat_med_weight,
  addpat_med_weight,
  updatepat_med_weight,
} from "@/api/smartor3/pat_med_weight";
    export default {
        name: "dw_list_pat_med_weight",
        dicts: ['sys_user_sex', 'sys_patientfrom'],
  dicts: ["sys_user_sex", "sys_patientfrom"],
        data() {
            return {
            parent:null,
@@ -70,54 +115,50 @@
                pageNum: 1,
                pageSize: 10,
                name: null,
                iccardno: null,
        idno: null,
                source: null,
                telcode: null,
                orgid: null,
                isupload: null,
                uploadTime: null
        uploadTime: null,
            },
         // 表单参数
            form: {},
        // 表单校验
             rules: {
             }
      rules: {},
            };
        },
        created() {
           //this.getList();
        },
        methods: {
            getList() {
                this.loading = true;
                listpat_med_weight(this.queryParams).then(response => {
      listpat_med_weight(this.queryParams).then((response) => {
                  this.dataList = response.rows;
                  this.total = response.total;
                  this.loading = false;
                });
              },
             handleSelectionChange(selection) {
                this.ids = selection.map(item => item.patid)
                this.single = selection.length !== 1
                this.multiple = !selection.length
      this.ids = selection.map((item) => item.patid);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
                //alert("selections:"+this.ids[0])
                //this.$parent.selectionChanged(this.ids[0])
            }, 
            handleAdd()
            {
                this.$parent.HandleCmdDefault("bill.new",this.ids[0])
    handleAdd() {
      this.$parent.HandleCmdDefault("bill.new", this.ids[0]);
            },
            handleUpdate()
            {
                this.$parent.HandleCmdDefault("bill.open",this.ids[0])
    handleUpdate() {
      this.$parent.HandleCmdDefault("bill.open", this.ids[0]);
            },
            rowChanged(row){
              //alert(row.patid)
              //console.log(row)
              //this.$parent.selectionChanged(row.id)
              this.$parent.id = row.id
            }
        }
    }
      this.$parent.id = row.id;
    },
  },
};
    </script>
src/comp/smartor3/dwo/dw_maint_pat_archive.vue
@@ -1,6 +1,11 @@
<template>
      <div>
            <el-dialog append-to-body="true" width="500px" :title="title" :visible.sync="open">
    <el-dialog
      append-to-body="true"
      width="500px"
      :title="title"
      :visible.sync="open"
    >
                  <el-form :rules="rules" ref="form" :model="form" label-width="80px">
                        <el-form-item prop="patid" label=" 自增ID ">
                              <el-input placeholder="请输入 自增ID " v-model="form.patid"/>
@@ -11,8 +16,8 @@
                        <el-form-item prop="sex" label=" 性别   1:男  2:女">
                              <el-input placeholder="请输入 性别   1:男  2:女" v-model="form.sex"/>
                        </el-form-item>
                        <el-form-item prop="iccardno" label=" 证件号码 ">
                              <el-input placeholder="请输入 证件号码 " v-model="form.iccardno"/>
        <el-form-item prop="idno" label=" 证件号码 ">
          <el-input placeholder="请输入 证件号码 " v-model="form.idno" />
                        </el-form-item>
                        <el-form-item prop="birthdate" label=" 生日 ">
                              <el-input placeholder="请输入 生日 " v-model="form.birthdate"/>
@@ -33,10 +38,13 @@
                              <el-input placeholder="请输入 手机号码 " v-model="form.telcode"/>
                        </el-form-item>
                        <el-form-item prop="relativetelcode" label=" 亲属号码 ">
                              <el-input placeholder="请输入 亲属号码 " v-model="form.relativetelcode"/>
          <el-input
            placeholder="请输入 亲属号码 "
            v-model="form.relativetelcode"
          />
                        </el-form-item>
                        <el-form-item prop="iccardtype" label=" 证件类型 ">
                              <el-input placeholder="请输入 证件类型 " v-model="form.iccardtype"/>
        <el-form-item prop="idtype" label=" 证件类型 ">
          <el-input placeholder="请输入 证件类型 " v-model="form.idtype" />
                        </el-form-item>
                        <el-form-item prop="orgid" label=" 机构ID ">
                              <el-input placeholder="请输入 机构ID " v-model="form.orgid"/>
@@ -80,10 +88,16 @@
      </div>
</template>
    <script>
    import { listpat_archive, getpat_archive, delpat_archive, addpat_archive, updatepat_archive } from "@/api/smartor3/pat_archive";
import {
  listpat_archive,
  getpat_archive,
  delpat_archive,
  addpat_archive,
  updatepat_archive,
} from "@/api/smartor3/pat_archive";
    export default {
        name: "dw_maint_pat_archive",
        dicts: ['sys_user_sex', 'sys_patientfrom'],
  dicts: ["sys_user_sex", "sys_patientfrom"],
        data() {
            return {
            parent:null,
@@ -94,31 +108,25 @@
         // 表单参数
            form: {},
        // 表单校验
             rules: {
             }
      rules: {},
            };
        },
        created() {
        },
  created() {},
        methods: {
            showdlg(show,val)
            {
                if(val !="")
                {
    showdlg(show, val) {
      if (val != "") {
                      const id = val;
                      getpat_archive(id).then(response => {
        getpat_archive(id).then((response) => {
                        this.form = response.data;
                        this.open = val;
                        this.title = "患者档案";
                      });
                }
                else
                {
      } else {
                    this.form={};
                    this.open = show;
                    this.title = "新建患者档案";
                }
            }
        }
    }
    },
  },
};
    </script>
src/comp/smartor3/dwo/dw_query_pat_archive.vue
@@ -2,14 +2,20 @@
      <field name="patid" label=" 自增ID "/>
      <field name="name" label=" 姓名 "/>
      <field name="sex" label=" 性别   1:男  2:女"/>
      <field name="iccardno" label=" 证件号码 "/>
      <field name="idno" label=" 证件号码 "/>
      <field name="birthdate" label=" 生日 "/>
</dw>
    <script>
    import { listpat_archive, getpat_archive, delpat_archive, addpat_archive, updatepat_archive } from "@/api/smartor3/pat_archive";
import {
  listpat_archive,
  getpat_archive,
  delpat_archive,
  addpat_archive,
  updatepat_archive,
} from "@/api/smartor3/pat_archive";
    export default {
        name: "dw_query_pat_archive",
        dicts: ['sys_user_sex', 'sys_patientfrom'],
  dicts: ["sys_user_sex", "sys_patientfrom"],
        data() {
            return {
            parent:null,
@@ -36,54 +42,50 @@
                pageNum: 1,
                pageSize: 10,
                name: null,
                iccardno: null,
        idno: null,
                source: null,
                telcode: null,
                orgid: null,
                isupload: null,
                uploadTime: null
        uploadTime: null,
            },
         // 表单参数
            form: {},
        // 表单校验
             rules: {
             }
      rules: {},
            };
        },
        created() {
           //this.getList();
        },
        methods: {
            getList() {
                this.loading = true;
                listpat_archive(this.queryParams).then(response => {
      listpat_archive(this.queryParams).then((response) => {
                  this.dataList = response.rows;
                  this.total = response.total;
                  this.loading = false;
                });
              },
             handleSelectionChange(selection) {
                this.ids = selection.map(item => item.patid)
                this.single = selection.length !== 1
                this.multiple = !selection.length
      this.ids = selection.map((item) => item.patid);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
                //alert("selections:"+this.ids[0])
                //this.$parent.selectionChanged(this.ids[0])
            }, 
            handleAdd()
            {
                this.$parent.HandleCmdDefault("bill.new",this.ids[0])
    handleAdd() {
      this.$parent.HandleCmdDefault("bill.new", this.ids[0]);
            },
            handleUpdate()
            {
                this.$parent.HandleCmdDefault("bill.open",this.ids[0])
    handleUpdate() {
      this.$parent.HandleCmdDefault("bill.open", this.ids[0]);
            },
            rowChanged(row){
              //alert(row.patid)
              //console.log(row)
              //this.$parent.selectionChanged(row.patid)
              this.$parent.patid = row.patid
            }
        }
    }
      this.$parent.patid = row.patid;
    },
  },
};
    </script>
src/smartor/dataobject/dw_patarchive_base.vue
@@ -3,77 +3,146 @@
<!--el-dialog :title="title" :visible.sync="open" :showclose="true" :close-on-click-modal="false" :inline="true" width="1000px"  append-to-body-->
      <el-form ref="form" :model="form" :rules="rules" label-width="120px">
        <el-row>
          <el-col :span="12"><el-form-item label=" 姓名 " prop="name">
              <el-input v-model="form.name" placeholder="请输入 姓名 " />
            </el-form-item></el-col>
          <el-col :span="12"><el-form-item label=" 性别 " prop="sex">
        <el-col :span="12"
          ><el-form-item label=" 姓名 " prop="name">
            <el-input
              v-model="form.name"
              placeholder="请输入 姓名 "
            /> </el-form-item
        ></el-col>
        <el-col :span="12"
          ><el-form-item label=" 性别 " prop="sex">
              <el-select v-model="form.sex" placeholder="请选择 性别 ">
                <el-option v-for="dict in dict.type.sys_user_sex" :key="dict.value" :label="dict.label"
                  :value="parseInt(dict.value)"></el-option>
              </el-select>
            </el-form-item></el-col>
              <el-option
                v-for="dict in dict.type.sys_user_sex"
                :key="dict.value"
                :label="dict.label"
                :value="parseInt(dict.value)"
              ></el-option>
            </el-select> </el-form-item
        ></el-col>
        </el-row> 
        <el-row>
          <el-col :span="12"><el-form-item label=" 证件号码 " prop="iccardno">
              <el-input v-model="form.iccardno" placeholder="请输入 证件号码 " />
            </el-form-item></el-col>
          <el-col :span="12"><el-form-item label=" 生日 " prop="birthdate">
              <el-date-picker clearable v-model="form.birthdate" type="date" value-format="yyyy-MM-dd"
                placeholder="请选择 生日 ">
              </el-date-picker>
            </el-form-item></el-col>
        <el-col :span="12"
          ><el-form-item label=" 证件号码 " prop="idno">
            <el-input
              v-model="form.idno"
              placeholder="请输入 证件号码 "
            /> </el-form-item
        ></el-col>
        <el-col :span="12"
          ><el-form-item label=" 生日 " prop="birthdate">
            <el-date-picker
              clearable
              v-model="form.birthdate"
              type="date"
              value-format="yyyy-MM-dd"
              placeholder="请选择 生日 "
            >
            </el-date-picker> </el-form-item
        ></el-col>
        </el-row>
        <el-row>
          <el-col :span="12"><el-form-item label=" 年龄 " prop="age">
              <el-input v-model="form.age" placeholder="请输入 年龄 " />
            </el-form-item></el-col>
          <el-col :span="12"><el-form-item label=" 来源 " prop="source">
        <el-col :span="12"
          ><el-form-item label=" 年龄 " prop="age">
            <el-input
              v-model="form.age"
              placeholder="请输入 年龄 "
            /> </el-form-item
        ></el-col>
        <el-col :span="12"
          ><el-form-item label=" 来源 " prop="source">
              <el-select v-model="form.source" placeholder="请选择 来源 ">
                <el-option v-for="dict in dict.type.sys_patientfrom" :key="dict.value" :label="dict.label"
                  :value="parseInt(dict.value)"></el-option>
              </el-select>
            </el-form-item></el-col>
              <el-option
                v-for="dict in dict.type.sys_patientfrom"
                :key="dict.value"
                :label="dict.label"
                :value="parseInt(dict.value)"
              ></el-option>
            </el-select> </el-form-item
        ></el-col>
        </el-row>
        <el-row>
          <el-col :span="12"><el-form-item label=" 建档时间 " prop="archivetime">
              <el-date-picker clearable v-model="form.archivetime" type="date" value-format="yyyy-MM-dd"
                placeholder="请选择 建档时间 ">
              </el-date-picker>
            </el-form-item></el-col>
          <el-col :span="12"><el-form-item label=" 建档人 " prop="archiveby">
              <el-input v-model="form.archiveby" placeholder="请输入 建档人 " />
            </el-form-item></el-col>
        <el-col :span="12"
          ><el-form-item label=" 建档时间 " prop="archivetime">
            <el-date-picker
              clearable
              v-model="form.archivetime"
              type="date"
              value-format="yyyy-MM-dd"
              placeholder="请选择 建档时间 "
            >
            </el-date-picker> </el-form-item
        ></el-col>
        <el-col :span="12"
          ><el-form-item label=" 建档人 " prop="archiveby">
            <el-input
              v-model="form.archiveby"
              placeholder="请输入 建档人 "
            /> </el-form-item
        ></el-col>
        </el-row>
        <el-row>
          <el-col :span="12"> <el-form-item label=" 手机号码 " prop="telcode">
              <el-input v-model="form.telcode" placeholder="请输入 手机号码 " />
            </el-form-item></el-col>
          <el-col :span="12"><el-form-item label=" 亲属号码 " prop="relativetelcode">
              <el-input v-model="form.relativetelcode" placeholder="请输入 亲属号码 " />
            </el-form-item></el-col>
        <el-col :span="12">
          <el-form-item label=" 手机号码 " prop="telcode">
            <el-input
              v-model="form.telcode"
              placeholder="请输入 手机号码 "
            /> </el-form-item
        ></el-col>
        <el-col :span="12"
          ><el-form-item label=" 亲属号码 " prop="relativetelcode">
            <el-input
              v-model="form.relativetelcode"
              placeholder="请输入 亲属号码 "
            /> </el-form-item
        ></el-col>
        </el-row>
        <el-row>
          <el-col :span="12"><el-form-item label=" 机构ID " prop="orgid">
        <el-col :span="12"
          ><el-form-item label=" 机构ID " prop="orgid">
              <el-select v-model="form.orgid" placeholder="请选择 机构ID ">
                <el-option v-for="dict in dict.type.sys_patientfrom" :key="dict.value" :label="dict.label"
                  :value="dict.value"> <el-form-item label=" 微信openid " prop="openid">
                    <el-input v-model="form.openid" placeholder="请输入 微信openid " />
                  </el-form-item></el-option>
              </el-select>
            </el-form-item></el-col>
          <el-col :span="12"><el-form-item label=" 删除标记 " prop="delFlag">
              <el-input v-model="form.delFlag" placeholder="请输入 删除标记 " />
            </el-form-item></el-col>
              <el-option
                v-for="dict in dict.type.sys_patientfrom"
                :key="dict.value"
                :label="dict.label"
                :value="dict.value"
              >
                <el-form-item label=" 微信openid " prop="openid">
                  <el-input
                    v-model="form.openid"
                    placeholder="请输入 微信openid "
                  /> </el-form-item
              ></el-option>
            </el-select> </el-form-item
        ></el-col>
        <el-col :span="12"
          ><el-form-item label=" 删除标记 " prop="delFlag">
            <el-input
              v-model="form.delFlag"
              placeholder="请输入 删除标记 "
            /> </el-form-item
        ></el-col>
        </el-row>
        <el-row>
          <el-col :span="12"><el-form-item label=" 上传标记 " prop="isupload">
              <el-input v-model="form.isupload" placeholder="请输入 上传标记 " />
            </el-form-item></el-col>
          <el-col :span="12"><el-form-item label=" 上传时间 " prop="uploadTime">
              <el-date-picker clearable v-model="form.uploadTime" type="date" value-format="yyyy-MM-dd"
                placeholder="请选择 上传时间 ">
              </el-date-picker>
            </el-form-item></el-col>
        <el-col :span="12"
          ><el-form-item label=" 上传标记 " prop="isupload">
            <el-input
              v-model="form.isupload"
              placeholder="请输入 上传标记 "
            /> </el-form-item
        ></el-col>
        <el-col :span="12"
          ><el-form-item label=" 上传时间 " prop="uploadTime">
            <el-date-picker
              clearable
              v-model="form.uploadTime"
              type="date"
              value-format="yyyy-MM-dd"
              placeholder="请选择 上传时间 "
            >
            </el-date-picker> </el-form-item
        ></el-col>
        </el-row>
      </el-form>
      <div slot="footer" class="dialog-footer">
@@ -84,10 +153,16 @@
    </div>
</template>
<script>
import { listPatarchive, getPatarchive, delPatarchive, addPatarchive, updatePatarchive } from "@/api/smartor/patarchive";
import {
  listPatarchive,
  getPatarchive,
  delPatarchive,
  addPatarchive,
  updatePatarchive,
} from "@/api/smartor/patarchive";
export default {
    name: "PatarchiveForm",
    dicts: ['sys_user_sex', 'sys_patientfrom'],
  dicts: ["sys_user_sex", "sys_patientfrom"],
    data() {
        return {
        // 遮罩层
@@ -114,12 +189,12 @@
        // 表单校验
        rules: {
            delFlag: [
            { required: true, message: " 删除标记 不能为空", trigger: "blur" }
          { required: true, message: " 删除标记 不能为空", trigger: "blur" },
            ],
            isupload: [
            { required: true, message: " 上传标记 不能为空", trigger: "blur" }
          { required: true, message: " 上传标记 不能为空", trigger: "blur" },
            ],
        }
      },
        };
    },
    created() {
@@ -132,7 +207,7 @@
          patid: null,
          name: null,
          sex: null,
          iccardno: null,
        idno: null,
          birthdate: null,
          age: null,
          source: null,
@@ -140,7 +215,7 @@
          archiveby: null,
          telcode: null,
          relativetelcode: null,
          iccardtype: null,
        idtype: null,
          orgid: null,
          openid: null,
          delFlag: null,
@@ -149,13 +224,12 @@
          createBy: null,
          createTime: null,
          isupload: null,
          uploadTime: null
        uploadTime: null,
        };
        this.resetForm("form");
      },
      Retrieve(patid)
      {
        getPatarchive(patid).then(response => {
    Retrieve(patid) {
      getPatarchive(patid).then((response) => {
          this.form = response.data;
          //this.open = true;
          //this.title = "修改患者档案";
@@ -170,8 +244,8 @@
      /** 修改按钮操作 */
      handleUpdate(row) {
        this.reset();
        const patid = row.patid || this.ids
        getPatarchive(patid).then(response => {
      const patid = row.patid || this.ids;
      getPatarchive(patid).then((response) => {
          this.form = response.data;
          this.open = true;
          this.title = "修改患者档案";
@@ -179,16 +253,16 @@
      },
      /** 提交按钮 */
      submitForm() {
        this.$refs["form"].validate(valid => {
      this.$refs["form"].validate((valid) => {
          if (valid) {
            if (this.form.patid != null) {
              updatePatarchive(this.form).then(response => {
            updatePatarchive(this.form).then((response) => {
                this.$modal.msgSuccess("修改成功");
                this.open = false;
                this.getList();
              });
            } else {
              addPatarchive(this.form).then(response => {
            addPatarchive(this.form).then((response) => {
                this.$modal.msgSuccess("新增成功");
                this.open = false;
                this.getList();
@@ -196,9 +270,7 @@
            }
          }
        });
      }
    }
}
    },
  },
};
</script>
src/smartor/dataobject/dw_patarchive_list.vue
@@ -8,22 +8,28 @@
          <dict-tag :options="dict.type.sys_user_sex" :value="scope.row.sex" />
        </template>
      </el-table-column>
      <el-table-column label=" 证件号码 " align="center" prop="iccardno" />
    <el-table-column label=" 证件号码 " align="center" prop="idno" />
      <el-table-column label=" 生日 " align="center" prop="birthdate" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.birthdate, '{y}-{m}-{d}') }}</span>
        <span>{{ parseTime(scope.row.birthdate, "{y}-{m}-{d}") }}</span>
        </template>
      </el-table-column>
      <el-table-column label=" 年龄 " align="center" prop="age" />
      <el-table-column label=" 来源 " align="center" prop="source">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.sys_patientfrom" :value="scope.row.source" />
        <dict-tag
          :options="dict.type.sys_patientfrom"
          :value="scope.row.source"
        />
        </template>
      </el-table-column>
      <el-table-column label=" 手机号码 " align="center" prop="telcode" />
      <el-table-column label=" 机构ID " align="center" prop="orgid">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.sys_patientfrom" :value="scope.row.orgid" />
        <dict-tag
          :options="dict.type.sys_patientfrom"
          :value="scope.row.orgid"
        />
        </template>
      </el-table-column>
      <!--el-table-column label="操作" align="center" class-name="small-padding fixed-width">
@@ -37,10 +43,16 @@
    </el-table>
</template>
<script>
import { listPatarchive, getPatarchive, delPatarchive, addPatarchive, updatePatarchive } from "@/api/smartor/patarchive";
import {
  listPatarchive,
  getPatarchive,
  delPatarchive,
  addPatarchive,
  updatePatarchive,
} from "@/api/smartor/patarchive";
export default {
    name: "PatarchiveList",
    dicts: ['sys_user_sex', 'sys_patientfrom'],
  dicts: ["sys_user_sex", "sys_patientfrom"],
    data() {
        return {
        parent:null,
@@ -67,37 +79,36 @@
            pageNum: 1,
            pageSize: 10,
            name: null,
            iccardno: null,
        idno: null,
            source: null,
            telcode: null,
            orgid: null,
            isupload: null,
            uploadTime: null
        uploadTime: null,
        },
        // 表单参数
        form: {},
        // 表单校验
        rules: {
            delFlag: [
            { required: true, message: " 删除标记 不能为空", trigger: "blur" }
          { required: true, message: " 删除标记 不能为空", trigger: "blur" },
            ],
            isupload: [
            { required: true, message: " 上传标记 不能为空", trigger: "blur" }
          { required: true, message: " 上传标记 不能为空", trigger: "blur" },
            ],
        }
      },
        };
    },
    created() {
      this.getList();
    },
    methods: {
        initial(parent)
        {
          this.parent = parent
    initial(parent) {
      this.parent = parent;
        },
        getList() {
            this.loading = true;
            listPatarchive(this.queryParams).then(response => {
      listPatarchive(this.queryParams).then((response) => {
              this.patarchiveList = response.rows;
              this.total = response.total;
              this.loading = false;
@@ -105,9 +116,9 @@
          },
        // 多选框选中数据
        handleSelectionChange(selection) {
            this.ids = selection.map(item => item.patid)
            this.single = selection.length !== 1
            this.multiple = !selection.length
      this.ids = selection.map((item) => item.patid);
      this.single = selection.length !== 1;
      this.multiple = !selection.length;
            //alert("selections:"+this.ids[0])
            //this.$parent.selectionChanged(this.ids[0])
        }, 
@@ -115,8 +126,8 @@
          //alert(row.patid)
          //console.log(row)
          //this.$parent.selectionChanged(row.patid)
          this.$parent.patid = row.patid
        }
    }
}
      this.$parent.patid = row.patid;
    },
  },
};
</script>
src/views/patient/follow/index.vue
@@ -178,14 +178,14 @@
          <el-table-column
            label="证件类型"
            align="center"
            key="iccardtype"
            prop="iccardtype"
            key="idtype"
            prop="idtype"
            width="120"
          /><el-table-column
            label="证件编号"
            align="center"
            key="iccardno"
            prop="iccardno"
            key="idno"
            prop="idno"
            width="190"
          />
          <el-table-column
@@ -198,8 +198,8 @@
          <el-table-column
            label="家庭住址"
            align="center"
            key="iccardno"
            prop="iccardno"
            key="idno"
            prop="idno"
            width="190"
          />
          <el-table-column
@@ -289,8 +289,8 @@
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="证件类型" prop="iccardtype">
              <el-select v-model="form.iccardtype" placeholder="请选择性别">
            <el-form-item label="证件类型" prop="idtype">
              <el-select v-model="form.idtype" placeholder="请选择性别">
                <el-option
                  v-for="item in paperstypes"
                  :key="item.papersname"
@@ -301,9 +301,9 @@
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="证件号" prop="iccardno">
            <el-form-item label="证件号" prop="idno">
              <el-input
                v-model="form.iccardno"
                v-model="form.idno"
                placeholder="请输入证件号"
                maxlength="50"
              />
@@ -446,9 +446,9 @@
        age: "",
        sex: "",
        tagList: [],
        iccardno: "",
        idno: "",
        telcode: "",
        iccardtype: "",
        idtype: "",
        relativetelcode: "",
      },
      //导入进度
@@ -529,7 +529,7 @@
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        iccardno: undefined,
        idno: undefined,
        name: undefined,
        status: undefined,
        tagIds: undefined,
@@ -601,9 +601,9 @@
        age: "",
        sex: "",
        tagList: [],
        iccardno: "",
        idno: "",
        telcode: "",
        iccardtype: "",
        idtype: "",
        relativetelcode: "",
      };
      // this.resetForm("form");
src/views/patient/patient/behospitalized.vue
@@ -20,9 +20,9 @@
              @keyup.enter.native="handleQuery"
            />
          </el-form-item>
          <el-form-item label="患者住院号" prop="iccardno">
          <el-form-item label="患者住院号" prop="idno">
            <el-input
              v-model="queryParams.iccardno"
              v-model="queryParams.idno"
              placeholder="请输入患者编号"
              clearable
              style="width: 250px"
@@ -31,10 +31,7 @@
          </el-form-item>
          <el-form-item label="护理等级" prop="tagId">
            <el-select
              v-model="queryParams.Patientid"
              placeholder="请选择"
            >
            <el-select v-model="queryParams.Patientid" placeholder="请选择">
              <el-option
                v-for="dict in dict.type.nursinggrade"
                :key="dict.value"
@@ -202,15 +199,15 @@
          <el-table-column
            label="护理等级"
            align="center"
            key="iccardtype"
            prop="iccardtype"
            key="idtype"
            prop="idtype"
            width="120"
          />
          <el-table-column
            label="病情状态"
            align="center"
            key="iccardno"
            prop="iccardno"
            key="idno"
            prop="idno"
            width="190"
          />
@@ -325,8 +322,8 @@
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="证件类型" prop="iccardtype">
              <el-select v-model="form.iccardtype" placeholder="请选择性别">
            <el-form-item label="证件类型" prop="idtype">
              <el-select v-model="form.idtype" placeholder="请选择性别">
                <el-option
                  v-for="item in paperstypes"
                  :key="item.papersname"
@@ -337,9 +334,9 @@
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="证件号" prop="iccardno">
            <el-form-item label="证件号" prop="idno">
              <el-input
                v-model="form.iccardno"
                v-model="form.idno"
                placeholder="请输入证件号"
                maxlength="50"
              />
@@ -571,9 +568,9 @@
        age: "",
        sex: "",
        tagList: [],
        iccardno: "",
        idno: "",
        telcode: "",
        iccardtype: "",
        idtype: "",
        relativetelcode: "",
      },
      //导入进度
@@ -618,7 +615,7 @@
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        iccardno: undefined,
        idno: undefined,
        name: undefined,
        status: undefined,
        tagIds: undefined,
@@ -734,9 +731,9 @@
        age: "",
        sex: "",
        tagList: [],
        iccardno: "",
        idno: "",
        telcode: "",
        iccardtype: "",
        idtype: "",
        relativetelcode: "",
      };
      // this.resetForm("form");
src/views/patient/patient/index.vue
@@ -256,14 +256,14 @@
              <el-table-column
                label="证件类型"
                align="center"
                key="iccardtype"
                prop="iccardtype"
                key="idtype"
                prop="idtype"
                width="120"
              /><el-table-column
                label="证件号码"
                align="center"
                key="iccardno"
                prop="iccardno"
                key="idno"
                prop="idno"
                width="190"
              />
@@ -417,8 +417,8 @@
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="证件类型" prop="iccardtype">
              <el-select v-model="form.iccardtype" placeholder="请选择性别">
            <el-form-item label="证件类型" prop="idtype">
              <el-select v-model="form.idtype" placeholder="请选择性别">
                <el-option
                  v-for="item in paperstypes"
                  :key="item.papersname"
@@ -429,9 +429,9 @@
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="证件号" prop="iccardno">
            <el-form-item label="证件号" prop="idno">
              <el-input
                v-model="form.iccardno"
                v-model="form.idno"
                placeholder="请输入证件号"
                maxlength="50"
              />
@@ -440,17 +440,17 @@
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="出生地" prop="iccardno">
            <el-form-item label="出生地" prop="idno">
              <el-input
                v-model="form.iccardno"
                v-model="form.idno"
                placeholder="国、省、地市、区县、街道等详细信息"
                maxlength="50"
              />
            </el-form-item> </el-col
          ><el-col :span="12">
            <el-form-item label="居住地" prop="iccardno">
            <el-form-item label="居住地" prop="idno">
              <el-input
                v-model="form.iccardno"
                v-model="form.idno"
                placeholder="国、省、地市、区县、街道等详细信息"
                maxlength="50"
              />
@@ -571,14 +571,16 @@
      </div>
      <!-- 完成 -->
      <div class="drexamine" v-else-if="dractive == 3">
        <img
          src="@/assets/images/导入.png"
        />
        <img src="@/assets/images/导入.png" />
        <p>导入患者成功!</p>
        <p>
          本次
          <span style="color: #158bb8; font-size: 20px;">{{ ImportQuantity }}</span>
          条数据成功导入<span style="color: #72d3a9; font-size: 20px;">{{ ImportQuantity }}</span
          <span style="color: #158bb8; font-size: 20px">{{
            ImportQuantity
          }}</span>
          条数据成功导入<span style="color: #72d3a9; font-size: 20px">{{
            ImportQuantity
          }}</span
          >位患者
        </p>
      </div>
@@ -744,9 +746,9 @@
        age: "",
        sex: "",
        tagList: [],
        iccardno: "",
        idno: "",
        telcode: "",
        iccardtype: "",
        idtype: "",
        relativetelcode: "",
      },
      activeName: "first", //侧边选择
@@ -783,7 +785,7 @@
        pageNum: 1,
        allhosp: "1",
        pageSize: 10,
        iccardno: undefined,
        idno: undefined,
        name: undefined,
        status: undefined,
        tagIds: undefined,
@@ -894,9 +896,9 @@
        age: "",
        sex: "",
        tagList: [],
        iccardno: "",
        idno: "",
        telcode: "",
        iccardtype: "",
        idtype: "",
        relativetelcode: "",
      };
      // this.resetForm("form");
src/views/patient/patient/outpatient.vue
@@ -20,9 +20,9 @@
                @keyup.enter.native="handleQuery"
              />
            </el-form-item>
            <el-form-item label="患者编号" prop="iccardno">
          <el-form-item label="患者编号" prop="idno">
              <el-input
                v-model="queryParams.iccardno"
              v-model="queryParams.idno"
                placeholder="请输入患者编号"
                clearable
                style="width: 250px"
@@ -214,15 +214,15 @@
            <el-table-column
              label="就诊类别"
              align="center"
              key="iccardtype"
              prop="iccardtype"
            key="idtype"
            prop="idtype"
              width="120"
            />
            <el-table-column
              label="诊断"
              align="center"
              key="iccardno"
              prop="iccardno"
            key="idno"
            prop="idno"
              width="190"
            />
  
@@ -344,8 +344,8 @@
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="证件类型" prop="iccardtype">
                <el-select v-model="form.iccardtype" placeholder="请选择性别">
            <el-form-item label="证件类型" prop="idtype">
              <el-select v-model="form.idtype" placeholder="请选择性别">
                  <el-option
                    v-for="item in paperstypes"
                    :key="item.papersname"
@@ -356,9 +356,9 @@
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="证件号" prop="iccardno">
            <el-form-item label="证件号" prop="idno">
                <el-input
                  v-model="form.iccardno"
                v-model="form.idno"
                  placeholder="请输入证件号"
                  maxlength="50"
                />
@@ -590,9 +590,9 @@
          age: "",
          sex: "",
          tagList: [],
          iccardno: "",
        idno: "",
          telcode: "",
          iccardtype: "",
        idtype: "",
          relativetelcode: "",
        },
        //导入进度
@@ -637,7 +637,7 @@
        queryParams: {
          pageNum: 1,
          pageSize: 10,
          iccardno: undefined,
        idno: undefined,
          name: undefined,
          status: undefined,
          tagIds: undefined,
@@ -753,9 +753,9 @@
          age: "",
          sex: "",
          tagList: [],
          iccardno: "",
        idno: "",
          telcode: "",
          iccardtype: "",
        idtype: "",
          relativetelcode: "",
        };
        // this.resetForm("form");
@@ -943,4 +943,3 @@
    color: #28cfe6;
  }
  </style>
src/views/patient/patient/physical.vue
@@ -20,9 +20,9 @@
              @keyup.enter.native="handleQuery"
            />
          </el-form-item>
          <el-form-item label="患者编号" prop="iccardno">
          <el-form-item label="患者编号" prop="idno">
            <el-input
              v-model="queryParams.iccardno"
              v-model="queryParams.idno"
              placeholder="请输入患者编号"
              clearable
              style="width: 250px"
@@ -214,15 +214,15 @@
          <el-table-column
            label="就诊类别"
            align="center"
            key="iccardtype"
            prop="iccardtype"
            key="idtype"
            prop="idtype"
            width="120"
          />
          <el-table-column
            label="诊断"
            align="center"
            key="iccardno"
            prop="iccardno"
            key="idno"
            prop="idno"
            width="190"
          />
@@ -344,8 +344,8 @@
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="证件类型" prop="iccardtype">
              <el-select v-model="form.iccardtype" placeholder="请选择性别">
            <el-form-item label="证件类型" prop="idtype">
              <el-select v-model="form.idtype" placeholder="请选择性别">
                <el-option
                  v-for="item in paperstypes"
                  :key="item.papersname"
@@ -356,9 +356,9 @@
            </el-form-item>
          </el-col>
          <el-col :span="12">
            <el-form-item label="证件号" prop="iccardno">
            <el-form-item label="证件号" prop="idno">
              <el-input
                v-model="form.iccardno"
                v-model="form.idno"
                placeholder="请输入证件号"
                maxlength="50"
              />
@@ -590,9 +590,9 @@
        age: "",
        sex: "",
        tagList: [],
        iccardno: "",
        idno: "",
        telcode: "",
        iccardtype: "",
        idtype: "",
        relativetelcode: "",
      },
      //导入进度
@@ -637,7 +637,7 @@
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        iccardno: undefined,
        idno: undefined,
        name: undefined,
        status: undefined,
        tagIds: undefined,
@@ -753,9 +753,9 @@
        age: "",
        sex: "",
        tagList: [],
        iccardno: "",
        idno: "",
        telcode: "",
        iccardtype: "",
        idtype: "",
        relativetelcode: "",
      };
      // this.resetForm("form");
src/views/patient/patient/profile/index.vue
@@ -156,7 +156,6 @@
                  </el-option>
                </el-select>
                <el-button
                  v-else
                  class="button-new-tag"
@@ -232,7 +231,7 @@
            </el-row>
            <el-row>
              <el-col :span="8">
                <el-form-item label="吸烟情况" prop="iccardtype">
                <el-form-item label="吸烟情况" prop="idtype">
                  <el-radio-group v-model="form.radio">
                    <el-radio :label="1">有</el-radio>
                    <el-radio :label="2">无</el-radio>
@@ -240,7 +239,7 @@
                </el-form-item>
              </el-col>
              <el-col :span="8">
                <el-form-item label="饮酒情况" prop="iccardno">
                <el-form-item label="饮酒情况" prop="idno">
                  <el-radio-group v-model="form.radios">
                    <el-radio :label="1">有</el-radio>
                    <el-radio :label="2">无</el-radio>
@@ -248,7 +247,7 @@
                </el-form-item>
              </el-col>
              <el-col :span="8">
                <el-form-item label="运动情况" prop="iccardno">
                <el-form-item label="运动情况" prop="idno">
                  <el-radio-group v-model="form.radiosa">
                    <el-radio :label="1">有</el-radio>
                    <el-radio :label="2">无</el-radio>
@@ -258,7 +257,7 @@
            </el-row>
            <el-row>
              <el-col :span="12">
                <el-form-item label="饮食情况" prop="iccardno">
                <el-form-item label="饮食情况" prop="idno">
                  <el-radio-group v-model="form.radiosa">
                    <el-radio :label="1">多度饮食</el-radio>
                    <el-radio :label="2">正常饮食</el-radio>
@@ -266,7 +265,7 @@
                  </el-radio-group>
                </el-form-item> </el-col
              ><el-col :span="12">
                <el-form-item label="心理情况" prop="iccardno">
                <el-form-item label="心理情况" prop="idno">
                  <el-radio-group v-model="form.radiosa">
                    <el-radio :label="1">心情愉悦</el-radio>
                    <el-radio :label="2">轻微焦虑</el-radio>
@@ -1176,7 +1175,7 @@
                },
                {
                  offset: 1,
                  color: "#c4d7d6"
                  color: "#c4d7d6",
                },
              ]),
            },
src/views/repositoryai/verbaltrick/index.vue
@@ -311,15 +311,6 @@
                  <el-button
                    size="medium"
                    type="text"
                    @click="handleUpdate(scope.row)"
                    v-hasPermi="['system:user:edit']"
                    ><span class="button-textxg"
                      ><i class="el-icon-edit-outline"></i>修改</span
                    ></el-button
                  >
                  <el-button
                    size="medium"
                    type="text"
                    @click="compileUpdate(scope.row)"
                    v-hasPermi="['system:user:edit']"
                    ><span class="button-bji"
@@ -357,167 +348,6 @@
            />
          </el-col>
        </el-row>
        <!-- 添加或修改问题配置对话框 -->
        <el-dialog
          :title="title"
          :visible.sync="indexopen"
          width="900px"
          append-to-body
        >
          <el-form
            ref="form"
            :model="indexform"
            :rules="rules"
            label-width="100px"
          >
            <el-row>
              <el-col :span="24">
                <el-form-item label="语言" prop="deptId">
                  <el-select
                    v-model="indexform.language"
                    placeholder="请选择语言"
                  >
                    <el-option
                      v-for="index in languagelist"
                      :key="index.value"
                      :label="index.label"
                      :value="index.value"
                    ></el-option>
                  </el-select>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="24">
                <el-form-item label="问题主旨" prop="nickName">
                  <el-input
                    v-model="indexform.nickName"
                    placeholder="请输入问题主旨"
                    maxlength="80"
                  />
                </el-form-item> </el-col
            ></el-row>
            <el-row>
              <el-col :span="24">
                <div
                  style="display: flex; margin-left: 100px; margin-bottom: 10px"
                >
                  <div class="tsgname" @click="tsgnameto()">医院名称</div>
                  <div class="tsgname" @click="tsgnameto()">医院电话</div>
                  <div class="tsgname" @click="tsgnameto()">医院姓名</div>
                  <div class="tsgname" @click="tsgnameto()">随访姓名</div>
                  <div class="tsgname" @click="tsgnameto()">随访电话</div>
                  <div class="tsgname" @click="tsgnameto()">性别</div>
                  <div class="tsgname" @click="tsgnameto()">年龄</div>
                  <div class="tsgname" @click="tsgnameto()">地址</div>
                </div>
              </el-col></el-row
            >
            <el-row>
              <el-col :span="24">
                <el-form-item label="问题文本" prop="verbaltricktext">
                  <el-input v-model="indexform.userName" maxlength="30" />
                </el-form-item> </el-col
            ></el-row>
            <el-row>
              <el-col :span="24">
                <el-form-item label="问题语音" prop="verbaltrickyy">
                  <el-input v-model="indexform.userName" maxlength="30" />
                </el-form-item> </el-col
            ></el-row>
            <el-row>
              <el-col :span="24">
                <el-form-item label="无匹配文本" prop="matchtext">
                  <el-input v-model="indexform.userName" maxlength="30" />
                </el-form-item> </el-col
            ></el-row>
            <el-row>
              <el-col :span="24">
                <el-form-item label="无匹配语音" prop="matchyy">
                  <el-input v-model="indexform.userName" maxlength="30" />
                </el-form-item> </el-col
            ></el-row>
            <el-row>
              <el-col :span="24">
                <el-form-item label="无声文本" prop="silenttext">
                  <el-input v-model="indexform.userName" maxlength="30" />
                </el-form-item> </el-col
            ></el-row>
            <el-row>
              <el-col :span="24">
                <el-form-item label="无声语音" prop="silentyy">
                  <el-input v-model="indexform.userName" maxlength="30" />
                </el-form-item> </el-col
            ></el-row>
            <el-row>
              <el-col :span="24">
                <el-form-item label="通用库文本" prop="librarytext">
                  <el-input v-model="indexform.userName" maxlength="30" />
                </el-form-item> </el-col
            ></el-row>
            <el-row>
              <el-col :span="24">
                <el-form-item label="通用库语音" prop="libraryy">
                  <el-input v-model="indexform.userName" maxlength="30" />
                </el-form-item> </el-col
            ></el-row>
            <el-row>
              <el-col :span="24">
                <el-form-item label="听不清文本" prop="vaguetext">
                  <el-input v-model="indexform.userName" maxlength="30" />
                </el-form-item> </el-col
            ></el-row>
            <el-row>
              <el-col :span="24">
                <el-form-item label="听不清语音" prop="vagueyy">
                  <el-input v-model="indexform.userName" maxlength="30" />
                </el-form-item> </el-col
            ></el-row>
            <el-row>
              <el-col :span="24">
                <el-form-item label="问题规则" prop="email">
                  <el-input
                    v-model="indexform.remark"
                    type="textarea"
                    placeholder="请输入内容"
                  ></el-input>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="24">
                <el-form-item label="是否可用">
                  <el-radio-group v-model="indexform.qystatus">
                    <el-radio
                      v-for="item in qyoptions"
                      :key="item.value"
                      :label="item.value"
                      >{{ item.label }}</el-radio
                    >
                  </el-radio-group>
                </el-form-item>
              </el-col>
            </el-row>
            <el-row>
              <el-col :span="24">
                <el-form-item label="备注">
                  <el-input
                    v-model="indexform.remark"
                    type="textarea"
                    placeholder="请输入内容"
                  ></el-input>
                </el-form-item>
              </el-col>
            </el-row>
          </el-form>
          <div slot="footer" class="dialog-footer">
            <el-button type="primary" @click="submitForm">确 定</el-button>
            <el-button @click="cancel">取 消</el-button>
          </div>
        </el-dialog>
      </div>
    </div>
    <!-- 添加类别弹框 -->
@@ -878,15 +708,10 @@
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      this.title = "新增问题";
      this.indexopen = true;
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.reset();
      this.title = "修改问题";
      this.indexopen = true;
      this.$router.push({
        path: "/knowledge/verbaltrick/particulars/",
        query: { id: "1" },
      });
    },
    // 修改分类弹框
    popoveramend(tagcategoryid) {
src/views/repositoryai/verbaltrick/particulars/index.vue
@@ -1,65 +1,559 @@
<template>
  <div>
    <div class="basic">基本信息</div>
    <div class="top-text">
      <div class="substance">
        <p>话术主旨:<span>有无复查</span></p>
        <p>问题文本:<span>有无复查</span></p>
        <p>指标种类:<span>有无复查</span></p>
        <p>
          指标选项:<span>{{ optionvalue }}</span>
        </p>
  <div class="Questionnairemanagement">
    <!-- 左侧栏 -->
    <div class="sidecolumn">
      <div style="height: 300px">
        <el-steps direction="vertical" :active="Editprogress">
          <el-step title="问题库编辑"></el-step>
          <el-step title="问题指标编辑"></el-step>
        </el-steps>
      </div>
    </div>
    <div class="headline">
      <div class="basics">问题配置</div>
      <div class="headbottom">
    <!-- 右侧数据 -->
    <div class="leftvlue">
      <!-- 基本信息 -->
      <div v-if="Editprogress == 1">
        <div class="leftvlue-jbxx">基本信息</div>
        <el-divider></el-divider>
        <el-form
          ref="form"
          :model="indexform"
          :rules="rules"
          label-width="100px"
        >
          <el-row>
            <el-col :span="12">
              <el-form-item label="语言" prop="deptId">
                <el-select
                  v-model="indexform.language"
                  placeholder="请选择语言"
                >
                  <el-option
                    v-for="index in languagelist"
                    :key="index.value"
                    :label="index.label"
                    :value="index.value"
                  ></el-option>
                </el-select>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="可用状态" prop="status">
                <el-select v-model="indexform.status" placeholder="请选择状态">
                  <el-option
                    v-for="item in qyoptions"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row :gutter="20">
            <el-col :span="12">
              <el-form-item label="问题主旨" prop="nickName">
                <el-input
                  v-model="indexform.nickName"
                  placeholder="请输入问题主旨"
                  maxlength="80"
                />
              </el-form-item>
            </el-col>
            <el-col :span="5">
              <el-form-item label="版本号" prop="nickName">
                <el-input
                  v-model="indexform.nickName"
                  placeholder="请输入"
                  maxlength="80"
                />
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="24">
              <div
                style="display: flex; margin-left: 100px; margin-bottom: 10px"
              >
                <div class="tsgname" @click="tsgnameto()">医院名称</div>
                <div class="tsgname" @click="tsgnameto()">医院电话</div>
                <div class="tsgname" @click="tsgnameto()">医院姓名</div>
                <div class="tsgname" @click="tsgnameto()">随访姓名</div>
                <div class="tsgname" @click="tsgnameto()">随访电话</div>
                <div class="tsgname" @click="tsgnameto()">性别</div>
                <div class="tsgname" @click="tsgnameto()">年龄</div>
                <div class="tsgname" @click="tsgnameto()">地址</div>
              </div>
            </el-col></el-row
          >
          <el-row>
            <el-col :span="24">
              <el-form-item label="问题文本" prop="verbaltricktext">
                <el-input
                  type="textarea"
                  :rows="2"
                  placeholder="请输入内容"
                  v-model="indexform.userName"
                  maxlength="30"
                />
              </el-form-item> </el-col
          ></el-row>
          <el-row>
            <el-col :span="6">
              <el-form-item label="问题语音" prop="verbaltrickyy">
                <el-upload
                  class="upload-demo"
                  action="https://jsonplaceholder.typicode.com/posts/"
                  :on-change="handleChange"
                  :file-list="fileList"
                  :limit="1"
                  :on-exceed="handleExceed"
                >
                  <el-button size="small" type="primary">点击上传</el-button>
                </el-upload>
                <!-- <el-input v-model="indexform.userName" maxlength="30" /> -->
              </el-form-item>
            </el-col></el-row
          >
          <el-row>
            <el-col :span="24">
              <el-form-item label="无匹配文本" prop="matchtext">
                <el-input
                  type="textarea"
                  :rows="2"
                  placeholder="请输入内容"
                  v-model="indexform.userName"
                  maxlength="30"
                />
              </el-form-item> </el-col
          ></el-row>
          <el-row>
            <el-col :span="6">
              <el-form-item label="无匹配语音" prop="matchyy">
                <el-upload
                  class="upload-demo"
                  action="https://jsonplaceholder.typicode.com/posts/"
                  :on-change="handleChange"
                  :file-list="fileList"
                  :limit="1"
                  :on-exceed="handleExceed"
                >
                  <el-button size="small" type="primary">点击上传</el-button>
                </el-upload>
              </el-form-item>
            </el-col></el-row
          >
          <el-row>
            <el-col :span="24">
              <el-form-item label="无声文本" prop="silenttext">
                <el-input
                  type="textarea"
                  :rows="2"
                  placeholder="请输入内容"
                  v-model="indexform.userName"
                  maxlength="30"
                />
              </el-form-item> </el-col
          ></el-row>
          <el-row>
            <el-col :span="6">
              <el-form-item label="无声语音" prop="silentyy">
                <el-upload
                  class="upload-demo"
                  action="https://jsonplaceholder.typicode.com/posts/"
                  :on-change="handleChange"
                  :file-list="fileList"
                  :limit="1"
                  :on-exceed="handleExceed"
                >
                  <el-button size="small" type="primary">点击上传</el-button>
                </el-upload>
              </el-form-item>
            </el-col></el-row
          >
          <el-row>
            <el-col :span="24">
              <el-form-item label="通用库文本" prop="librarytext">
                <el-input
                  type="textarea"
                  :rows="2"
                  placeholder="请输入内容"
                  v-model="indexform.userName"
                  maxlength="30"
                />
              </el-form-item> </el-col
          ></el-row>
          <el-row>
            <el-col :span="6">
              <el-form-item label="通用库语音" prop="libraryy">
                <el-upload
                  class="upload-demo"
                  action="https://jsonplaceholder.typicode.com/posts/"
                  :on-change="handleChange"
                  :file-list="fileList"
                  :limit="1"
                  :on-exceed="handleExceed"
                >
                  <el-button size="small" type="primary">点击上传</el-button>
                </el-upload>
              </el-form-item>
            </el-col></el-row
          >
          <el-row>
            <el-col :span="24">
              <el-form-item label="听不清文本" prop="vaguetext">
                <el-input
                  type="textarea"
                  :rows="2"
                  placeholder="请输入内容"
                  v-model="indexform.userName"
                  maxlength="30"
                />
              </el-form-item> </el-col
          ></el-row>
          <el-row>
            <el-col :span="6">
              <el-form-item label="听不清语音" prop="vagueyy">
                <el-upload
                  class="upload-demo"
                  action="https://jsonplaceholder.typicode.com/posts/"
                  :on-change="handleChange"
                  :file-list="fileList"
                  :limit="1"
                  :on-exceed="handleExceed"
                >
                  <el-button size="small" type="primary">点击上传</el-button>
                </el-upload>
              </el-form-item>
            </el-col></el-row
          >
          <el-form-item label="通知变量" prop="name">
            <el-row v-for="item in variablelist">
              <el-col :span="4">
                <el-input v-model="item.variable"></el-input>
              </el-col>
              <el-col :span="8" :offset="1">
                <el-input v-model="item.value"></el-input>
              </el-col>
              <el-col :span="4" :offset="1">
        <el-button
          type="primary"
          icon="el-icon-circle-plus-outline"
          @click="addzbiao"
          >添加指标</el-button
                  type="success"
                  icon="el-icon-plus"
                  circle
                  @click="addvariable(item)"
                ></el-button>
                <el-button
                  type="danger"
                  icon="el-icon-delete"
                  circle
                  @click="delvariable(item)"
                ></el-button>
              </el-col>
            </el-row>
          </el-form-item>
          <el-row>
            <el-col :span="24">
              <el-form-item label="指标说明">
                <el-input
                  v-model="indexform.remark"
                  type="textarea"
                  placeholder="请输入内容"
                ></el-input>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="仅限院区" prop="region">
                <el-select
                  v-model="indexform.courtyard"
                  size="medium"
                  filterable
                  placeholder="请选择"
        >
        <el-button type="primary" icon="el-icon-s-claim">保存</el-button>
        <el-button type="primary" icon="el-icon-document"
          >更新指标规则至模版</el-button
                  <el-option
                    class="indexformaa"
                    v-for="item in options"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </el-select>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="关联指标" prop="region">
                <el-select
                  v-model="indexform.relevance"
                  size="medium"
                  filterable
                  placeholder="请选择分类"
                >
                  <el-option
                    class="indexformaa"
                    v-for="item in options"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>
        <div slot="footer" class="dialog-footer">
          <el-button type="primary" @click="nextstep">确 定</el-button>
          <el-button @click="closeFm">关 闭</el-button>
        </div>
      </div>
      <!-- 指标设置 -->
      <div v-if="Editprogress == 2">
        <div class="leftvlue-jbxx">指标题目设置</div>
        <el-divider></el-divider>
        <el-form
          ref="form"
          :model="indexform"
          :rules="rules"
          label-width="100px"
        >
          <el-row>
            <el-col :span="12">
              <el-form-item label="指标名称" prop="deptId">
                <el-input
                  v-model="indexform.name"
                  placeholder="请输入指标种类"
                  maxlength="40"
                />
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="版本号" prop="deptId">
                <el-input
                  v-model="indexform.versions"
                  placeholder="请输入指标种类"
                  maxlength="40"
                />
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item label="语言" prop="deptId">
                <el-select
                  v-model="indexform.language"
                  placeholder="请选择语言"
                >
                  <el-option
                    v-for="index in languagelist"
                    :key="index.value"
                    :label="index.label"
                    :value="index.value"
                  ></el-option>
                </el-select>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item label="是否可用" prop="deptId">
                <el-select v-model="indexform.useofstate" placeholder="请选择">
                  <el-option
                    v-for="index in qyoptions"
                    :key="index.value"
                    :label="index.label"
                    :value="index.value"
                  ></el-option>
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="24">
              <el-form-item label="指标描述" prop="nickName">
                <el-input
                  v-model="indexform.nickName"
                  placeholder="请输入指标描述"
                  maxlength="40"
                />
              </el-form-item> </el-col
          ></el-row>
          <el-form-item label="标签" prop="desc">
            <div class="xinz-inf">
              <el-tag
                :key="tag"
                type="success"
                v-for="tag in dynamicTags"
                closable
                :disable-transitions="false"
                @close="handleClose(tag)"
              >
                {{ tag }}
              </el-tag>
              <el-select
                v-model="inputValue"
                v-if="inputVisible"
                @change="handleInputConfirm"
                filterable
                placeholder="请选择"
              >
                <el-option
                  v-for="item in optionss"
                  :key="item.label"
                  :label="item.label"
                  :value="item.label"
                >
                </el-option>
              </el-select>
              <el-button
                v-else
                class="button-new-tag"
                size="small"
                @click="showInput"
                >+ 新增标签</el-button
        >
      </div>
    </div>
    <div class="valuetop" v-for="(item, index) in deployList" :key="item.id">
      <div class="val-text">
        <div>
          有无复查 <span>{{ item.name }}</span>
        </div>
        <div class="text-icon" @click="deletei(index)">
          <i class="el-icon-delete" />
        </div>
      </div>
      <div class="val-bon">
        <el-form ref="form" :model="form" label-width="80px">
          <el-form-item label="指标类型">
            <el-radio-group v-model="form.resource">
          </el-form-item>
          <el-row>
            <el-col :span="24">
              <el-form-item label="值类型">
                <el-radio-group v-model="indexform.resource">
              <el-radio label="选项"></el-radio>
              <el-radio label="文本"></el-radio>
              <el-radio label="数组"></el-radio>
                  <el-radio label="数值"></el-radio>
            </el-radio-group>
              </el-form-item> </el-col
          ></el-row>
          <el-row>
            <el-col :span="24">
              <el-form-item label="适用疾病" prop="userName">
                <el-select v-model="indexform.useofstate" placeholder="请选择">
                  <el-option
                    v-for="index in qyoptions"
                    :key="index.value"
                    :label="index.label"
                    :value="index.value"
                  ></el-option>
                </el-select>
              </el-form-item> </el-col
          ></el-row>
          <el-row>
            <el-col :span="24">
              <el-form-item label="适用方式" prop="email">
                <el-select v-model="indexform.useofstate" placeholder="请选择">
                  <el-option
                    v-for="index in qyoptions"
                    :key="index.value"
                    :label="index.label"
                    :value="index.value"
                  ></el-option>
                </el-select>
          </el-form-item>
          <el-form-item label="指标名称">
            <el-input v-model="form.name"></el-input>
            </el-col>
          </el-row>
          <el-card class="box-card" style="margin-bottom: 20px">
            <el-table v-loading="loading" :data="testuserList">
              <el-table-column
                label="序号"
                align="center"
                key="userid"
                prop="userid"
                width="50"
              />
              <el-table-column
                label="指标选项"
                align="center"
                key="nickName"
                prop="nickName"
                :show-overflow-tooltip="true"
              >
                <template slot-scope="scope">
                  <el-input
                    v-model="scope.row.nickName"
                    placeholder="请输入内容"
                  ></el-input>
                </template>
              </el-table-column>
              <el-table-column
                label="解析规则"
                align="center"
                key="aphonenumber"
                prop="aphonenumber"
                width="460"
                :show-overflow-tooltip="true"
              >
                <template slot-scope="scope">
                  <el-input
                    v-model="scope.row.aphonenumber"
                    placeholder="请输入内容"
                  ></el-input>
                </template>
              </el-table-column>
              <el-table-column
                label="操作"
                align="center"
                width="200"
                class-name="small-padding fixed-width"
              >
                <template slot-scope="scope">
                  <el-button
                    @click="addoption(scope.row)"
                    type="success"
                    icon="el-icon-circle-plus-outline"
                    circle
                  ></el-button>
                  <el-button
                    type="danger"
                    icon="el-icon-delete"
                    circle
                    @click="deloption(scope.row)"
                  ></el-button>
                  <el-button
                    @click="syioption(scope.row)"
                    type="primary"
                    icon="el-icon-top"
                    circle
                  ></el-button>
                  <el-button
                    @click="xiayioption(scope.row)"
                    type="primary"
                    icon="el-icon-bottom"
                    circle
                  ></el-button>
                </template>
              </el-table-column>
            </el-table>
          </el-card>
          <el-row :gutter="20">
            <el-col :span="12">
              <el-form-item label="测试输入" prop="nickName">
                <el-input
                  v-model="testvalue"
                  placeholder="请输入测试内容"
                  maxlength="40"
                />
          </el-form-item>
          <el-form-item label="指标值">
            <el-input v-model="item.name"></el-input>
          </el-form-item>
          <el-form-item label="特殊资源">
            <el-radio-group v-model="form.resource">
              <el-radio label="基础"></el-radio>
              <el-radio label="自定义"></el-radio>
            </el-radio-group>
          </el-form-item>
          <el-form-item label="基础规则">
            <el-input type="textarea" v-model="item.valuetop"></el-input>
          </el-form-item>
            </el-col>
            <el-col :span="4">
              <el-button type="success">开始测试</el-button>
            </el-col>
          </el-row>
        </el-form>
        <div style="margin-bottom: 10px">
          <el-input
            type="textarea"
            :rows="4"
            placeholder="此处展示识别结果"
            v-model="testgovalue"
          >
          </el-input>
        </div>
        <el-button type="primary" @click="laststep()">上一步</el-button>
        <el-button type="info" @click="closeFm('ruleForm')">关闭</el-button>
        <el-button @click="Saveproblem('ruleForm')">保存指标数据</el-button>
      </div>
    </div>
  </div>
@@ -69,8 +563,21 @@
export default {
  data() {
    return {
      optionvalue: "不需要、没有、不知道",
      form: {
      Editprogress: 1, //编辑进度
      loading: false, // 遮罩层
      radio: "false", //单选题选中
      radios: [], //多选题选中
      radioas: "", //填空题答案
      dynamicTags: ["标签一", "标签二", "标签三"],
      inputVisible: false,
      inputValue: "",
      testvalue: "",
      testgovalue: "",
      topicobj: {},
      indexform: {},
      // 总条数
      total: 1,
      ruleForm: {
        name: "",
        region: "",
        date1: "",
@@ -79,104 +586,423 @@
        type: [],
        resource: "",
        desc: "",
        templatevalue: "",
        data2: "",
      },
      deployList: [
      rules: {},
      rulesa: {},
      xjxsoptions: [
        {
          id: 1,
          name: "有",
          valuetop:
            "(?!.*忘|.*不|.*没)^.*(是|有|对|做|作|检|查|复诊|好|参加|复诊|去(过|好|了|完|医院)|来(过|了|医院))|没错|对呀|可能|(已经|早)去了|开了药|腰带|吊带|要的|(?<!没)有的|表带,10;要,5",
          value: "选项1",
          label: "图文",
        },
        {
          id: 2,
          name: "不知道",
          valuetop:
            "(不|没|谁|鬼|怎么).*(病|可能|知道|了解|清楚|懂|明白|确认|确定|晓得|知晓|认得|识得|印象|熟悉|记|会|关心|关注|注意|告诉|通知|听)",
          value: "选项2",
          label: "视频",
        },
        {
          value: "选项3",
          label: "音频",
        },
      ],
      fileList: [
        {
          name: "food.jpeg",
          url: "https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100",
        },
      ],
      qyoptions: [
        {
          value: 1,
          label: "可用",
        },
        {
          value: 2,
          label: "禁用",
        },
      ],
      options: [
        {
          value: "选项1",
          label: "疾病指标",
        },
        {
          value: "选项2",
          label: "入院指标",
        },
        {
          value: "选项3",
          label: "手术指标",
        },
        {
          value: "选项4",
          label: "护理指标",
        },
      ],
      variablelist: [
        {
          variable: "paitent",
          value: "表示患者的标识",
        },
      ],
      testuserList: [
        {
          userid: 1,
          nickName: "贫血",
          aphonenumber: "(?!不.*|没.*|未.*)^.*([贫平凭血]|贫血|评学|评学),10",
        },
        {
          userid: 2,
          nickName: "正常",
          aphonenumber: "(?!不.*|没.*|未.*)^.*([贫平凭血]|贫血|评学|评学),10",
        },
        {
          userid: 55,
          nickName: "非正常",
          aphonenumber: "(?!不.*|没.*|未.*)^.*([贫平凭血]|贫血|评学|评学),10",
        },
        {
          userid: 4,
          nickName: "a正常",
          aphonenumber: "(?!不.*|没.*|未.*)^.*([贫平凭血]|贫血|评学|评学),10",
          status: "0",
        },
      ],
      addvalue: "添加题目",
      // 题目表格数据
      userList: [
        {
          userid: "1",
          userName: "一号指标",
        },
        {
          userid: "2",
          userName: "二号指标",
        },
        {
          userid: "3",
          userName: "三号指标",
        },
        {
          userid: "4",
          userName: "四号指标",
        },
      ],
      languagelist: [
        {
          value: 1,
          label: "普通话",
        },
        {
          value: 2,
          label: "粤语",
        },
        {
          value: 3,
          label: "英语",
        },
      ], //语言列表
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        userName: undefined,
        phonenumber: undefined,
        status: undefined,
        deptId: undefined,
        IDnumber: undefined,
      },
    };
  },
  created() {},
  methods: {
    onSubmit() {
      console.log("submit!");
    },
    deletei(index) {
      console.log(index);
      this.deployList.splice(index, 1);
    },
    addzbiao() {
      const ids = this.deployList.length + 1;
      console.log(ids);
      this.deployList.push({
        id: ids,
        name: "",
        valuetop: "",
    submitForm(formName) {
      this.rules = this.rulesa;
      //   提交
      this.$refs[formName].validate((valid) => {
        if (valid) {
          alert("submit!");
        } else {
          console.log("error submit!!");
          return false;
        }
      });
    },
    // 下一步
    nextstep() {
      if (this.Editprogress <= 1 && this.indexform.relevance) {
        return this.Editprogress++;
      } else {
        this.$message.warning("请先选择关联指标");
      }
    },
    // 上一步
    laststep() {
      this.Editprogress = this.Editprogress - 1;
    },
    // 关闭
    closeFm() {
      this.$confirm("退出不会保留页面内容更改, 是否继续?", "提示", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning",
      })
        .then(() => {
          this.$router.go(-1);
        })
        .catch(() => {
          this.$message({
            type: "info",
            message: "已取消",
          });
        });
    },
    // 保存题目信息
    Saveproblem() {},
    /** 查询题目列表 */
    getList() {
      //   this.loading = true;
      listUser().then((response) => {
        console.log(response);
        // this.userList = response.data;
        // this.total = response.total;
        // this.loading = false;
        console.log(this.userList);
      });
      //   const { rows } = await listUser();
      //   console.log(rows);
      //   this.list = rows;
    },
    // 修改题目信息
    Submittopicobj() {},
    // 新增变量
    addvariable() {
      this.variablelist.push({
        variable: "",
        value: "",
      });
    },
    // 删除变量
    delvariable(item) {
      const index = this.variablelist.indexOf(item);
      if (index !== -1) {
        this.variablelist.splice(index, 1); // 从索引位置删除一个元素
      } else {
        console.log("未找到该对象");
      }
    },
    // 控制文件
    handleChange(file, fileList) {
      this.fileList = fileList.slice(-3);
    },
    // 文件超出个数限制时的钩子
    handleExceed(files, fileList) {
      this.$message.warning(
        `当前限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${
          files.length + fileList.length
        } 个文件`
      );
    },
    // 标签-----------------
    handleClose(tag) {
      this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1);
    },
    handleInputConfirm() {
      let inputValue = this.inputValue;
      if (inputValue) {
        this.dynamicTags.push(inputValue);
      }
      this.inputVisible = false;
      this.inputValue = "";
    },
    showInput() {
      this.inputVisible = true;
      // 自动获取焦点
      // this.$nextTick((_) => {
      //   this.$refs.saveTagInput.$refs.input.focus();
      // });
    },
    // --------------------------
    //测试表单 --------------------------
    addoption() {
      this.testuserList.push({
        userid: 1,
        nickName: "贫血",
        aphonenumber: "(?!不.*|没.*|未.*)^.*([贫平凭血]|贫血|评学|评学),10",
      });
      this.sortFn();
    },
    deloption() {
      const index = this.testuserList.indexOf(item);
      if (index !== -1) {
        this.testuserList.splice(index, 1); // 从索引位置删除一个元素
        this.sortFn();
      } else {
        console.log("未找到该对象");
      }
    },
    syioption(row) {
      const index = this.getIndexInArray(this.testuserList, row);
      const item = this.testuserList.splice(index, 1)[0]; // 移除指定索引处的元素,并保存到item变量中
      this.testuserList.splice(index - 1, 0, item); // 将item插入到索引位置的前一位
      this.sortFn();
    },
    xiayioption(row) {
      const index = this.getIndexInArray(this.testuserList, row);
      const item = this.testuserList.splice(index, 1)[0]; // 移除指定索引处的元素,并保存到item变量中
      this.testuserList.splice(index + 1, 0, item); // 将item插入到索引位置的前一位
      this.sortFn();
    },
    sortFn() {
      this.testuserList = this.testuserList.map((item, index) => {
        return {
          userid: index + 1,
          nickName: item.nickName,
          aphonenumber: item.aphonenumber,
        };
      });
      console.log(this.testuserList);
    },
    // ---------------------
    // 查询题库
    handleQuery() {},
    resetQuery() {},
    resetForm(formName) {
      this.$refs[formName].resetFields();
    },
    // 便捷标签
    tsgnameto() {},
  },
};
</script>
<style lang="scss" scoped>
.top-text {
  margin: 15px;
  margin-top: 0;
  padding: 0 30px 30px 30px;
  background: #f2f5fc;
.Questionnairemanagement {
  display: flex;
}
.sidecolumn {
  width: 300px;
  min-height: 100vh;
  text-align: center;
  //   display: flex;
  //   margin-top: 20px;
  margin: 20px;
  margin-bottom: 0;
  padding: 30px;
  background: #edf1f7;
  border: 1px solid #dcdfe6;
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12),
    0 0 6px 0 rgba(0, 0, 0, 0.04);
}
.basic {
  height: 50px;
  margin: 15px;
  margin-bottom: 0;
  padding: 0 20px 20px 20px;
  line-height: 50px;
  background: #92c5f0;
.leftvlue {
  //   display: flex;
  //   flex: 1;
  width: 80%;
  margin-top: 20px;
  //   margin: 20px;
  padding: 30px;
  background: #ffff;
  border: 1px solid #dcdfe6;
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12),
    0 0 6px 0 rgba(0, 0, 0, 0.04);
  .leftvlue-jbxx {
    font-size: 24px;
    border-left: 5px solid #41a1be;
    padding-left: 5px;
    margin: 15px 0;
}
.headline {
  display: flex;
  height: 50px;
  margin: 15px;
  margin-bottom: 0;
  padding: 0 20px 20px 20px;
  line-height: 50px;
  background: #92c5f0;
  justify-content: space-between;
}
.valuetop {
  .val-text {
    display: flex;
    height: 50px;
    margin: 15px;
    margin-bottom: 0;
    // padding: 0 20px 20px 20px;
    padding: 0 20px;
    align-items: center;
    background: #92c5f0;
    justify-content: space-between;
    .text-icon {
      width: 35px;
      height: 35px;
      line-height: 35px;
.xinz-inf {
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 48px;
  .el-tag + .el-tag {
    margin-left: 10px;
  }
  .button-new-tag {
    margin-left: 10px;
    height: 32px;
    line-height: 30px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .input-new-tag {
    width: 90px;
    margin-left: 10px;
    vertical-align: bottom;
  }
}
.button-new-tag {
  margin-left: 10px;
  height: 32px;
  line-height: 30px;
  padding-top: 0;
  padding-bottom: 0;
}
.tsgname {
  width: 90px;
  margin-right: 10px;
      text-align: center;
      background: #fafafa;
      cursor: pointer;
  height: 40px;
  line-height: 40px;
  background: #7799fa;
  color: #ffff;
  font-size: 18px;
      border-radius: 5px;
    }
.tsgname:hover {
  background: #3366f5;
  }
  .val-bon {
    margin: 15px;
    margin-top: 0;
    padding: 30px;
    background: #f2f5fc;
    border: 1px solid #dcdfe6;
    -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12),
      0 0 6px 0 rgba(0, 0, 0, 0.04);
::v-deep .addtopic-input {
  input {
    background: #02a7f0;
    color: #edf1f7;
    width: 150px;
  }
}
::v-deep.el-step.is-vertical .el-step__title {
  font-size: 25px;
}
::v-deep.el-input--medium {
  font-size: 18px !important;
}
.el-select__tags {
  font-size: 20px;
  max-width: 888px !important;
}
::v-deep.el-radio__inner {
  width: 22px;
  height: 22px;
}
// ::v-deep.topic-dev.el-radio__label {
//   font-size: 24px;
// }
::v-deep.el-radio-group {
  span {
    font-size: 24px;
  }
}
::v-deep.upload-demo {
  display: flex;
}
::v-deep.el-checkbox-group {
  span {
    font-size: 24px;
  }
}
// ::v-deep.el-form-item--medium .el-form-item__content {
//   line-height: 36px;
//   display: flex;
// }
</style>