diff --git a/.env.development b/.env.development index 2a8b713..381bc29 100644 --- a/.env.development +++ b/.env.development @@ -11,12 +11,12 @@ VITE_PUBLIC_PATH = / VITE_DROP_CONSOLE = false #后台接口父地址(必填) -VITE_GLOB_API_URL=http://cqyt.dev.yg.dt.io +VITE_GLOB_API_URL=https://xjgateway.mcrm.vip:8888 #VITE_GLOB_API_URL=http://192.168.1.20 #VITE_GLOB_API_URL=http://cqyt.test.yg.dt.io #后台接口全路径地址(必填) -VITE_GLOB_DOMAIN_URL=http://cqyt.dev.yg.dt.io +VITE_GLOB_DOMAIN_URL=https://xjgateway.mcrm.vip:8888 #VITE_GLOB_DOMAIN_URL=http://192.168.1.20 #VITE_GLOB_DOMAIN_URL=http://cqyt.test.yg.dt.io # 接口前缀 diff --git a/.env.production b/.env.production index 574f219..b3dfc17 100644 --- a/.env.production +++ b/.env.production @@ -16,10 +16,10 @@ VITE_BUILD_COMPRESS = 'gzip' VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false #后台接口父地址(必填) -VITE_GLOB_API_URL=https://api.cqygjk.com +VITE_GLOB_API_URL=https://xjgateway.mcrm.vip:8888 #后台接口全路径地址(必填) -VITE_GLOB_DOMAIN_URL=https://api.cqygjk.com +VITE_GLOB_DOMAIN_URL=https://xjgateway.mcrm.vip:8888 #食堂接口前缀 VITE_GLOB_ST_DOMAIN_URL=https://yyjk.cqygjk.com/gateway #西安、银川应急大屏 diff --git a/Dockerfile b/Dockerfile index bafce2b..580a2f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,14 +3,6 @@ MAINTAINER jeecgos@163.com VOLUME /tmp ENV LANG en_US.UTF-8 RUN echo "server { \ - listen 80; \ - location /jeecgboot/ { \ - proxy_pass http://jeecg-boot-system:8080/jeecg-boot/; \ - proxy_redirect off; \ - proxy_set_header Host jeecg-boot-system; \ - proxy_set_header X-Real-IP \$remote_addr; \ - proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; \ - } \ #解决Router(mode: 'history')模式下,刷新路由地址不能找到页面的问题 \ location / { \ root /var/www/html/; \ @@ -26,5 +18,4 @@ RUN echo "server { \ && mkdir -p /var/www/html ADD dist/ /var/www/html/ -EXPOSE 80 -EXPOSE 443 +EXPOSE 3100 diff --git a/public/static/privacy.html b/public/static/privacy.html index ec2af76..bcfd047 100644 --- a/public/static/privacy.html +++ b/public/static/privacy.html @@ -42,12 +42,12 @@

软件使用许可协议(健康长庆)

软件使用许可协议

欢迎使用我们的服务
-
本软件许可使用协议《健康长庆平台服务协议》(以下称"本协议")由您与中国石油天然气股份有限公司长庆油田分公司行政事务管理处(以下称“长庆油田”)共同签署。
+
本软件许可使用协议《健康长庆平台服务协议》(以下称"本协议")由您与中国石油天然气股份有限公司新疆油田分公司行政事务管理处(以下称“新疆油田”)共同签署。
在使用“健康长庆”软件(以下称许可软件)之前,请仔细阅读本协议。一旦您下载安装使用许可软件,即表示您同意接受本协议所有条款和条件的约束。如您不同意本协议条款和条件,请勿使用许可软件,并请销毁所有许可软件副本。
健康长庆有权根据实际运营的情况对本协议不时进行调整,并以平台公告或电子邮件等书面形式通知您。修改后的协议于公示或邮件送达时生效。协议条款修改后,您继续使用许可软件的,即视为您已阅读并接受修改后的协议。
一、定义
-
1. 健康长庆APP:是指由长庆油田开发的,供您从应用下载平台(以下称下载平台)下载,并仅限在手机等手持移动终端(以下称移动终端)中安装、使用的软件系统。
-
2. 健康长庆服务:由长庆油田为您提供的服务。您可以通过许可软件在手持移动终端使用健康长庆服务。
+
1. 健康长庆APP:是指由新疆油田开发的,供您从应用下载平台(以下称下载平台)下载,并仅限在手机等手持移动终端(以下称移动终端)中安装、使用的软件系统。
+
2. 健康长庆服务:由新疆油田为您提供的服务。您可以通过许可软件在手持移动终端使用健康长庆服务。
3. 用户:指阅读并同意本协议内容,经过健康长庆在线注册程序成为健康长庆在线各项服务使用者。(以下更多称为“您”)
二、服务说明
1. 本平台是一个集健康咨询、应急就医、健康档案、体检服务等功能的综合个人健康管理平台,为确保您能正常地使用平台的各项服务,您应当阅读并遵守本协议。请您务必审慎阅读、充分理解各条款内容,以及开通或使用某项服务的单独协议,并选择接受或不接受。
@@ -58,7 +58,7 @@
6. 本协议的条款适用于平台提供的各种服务,但当您使用平台某特定服务时,如该服务另有单独的服务条款、指引或规则,您应遵守本协议及平台随时公布的与该服务相关的服务条款、指引或规则等。前述所有的指引和规则,均构成本协议的一部分。除非本协议另有其他明示规定,新推出的服务、增加或强化目前本服务的新功能,均受到本协议之规范。
7. 如对本协议内容有任何疑问、意见或建议,您可与我们联系。
三、本协议的确认和接纳
-
1、平台的各项服务的所有权和运作权归长庆油田所有。您同意所有注册协议条款,才能成为平台平台的正式用户。您确认:本协议条款是处理双方权利义务的契约,始终有效,法律另有强制性规定或双方另有特别约定的,依其规定。
+
1、平台的各项服务的所有权和运作权归新疆油田所有。您同意所有注册协议条款,才能成为平台平台的正式用户。您确认:本协议条款是处理双方权利义务的契约,始终有效,法律另有强制性规定或双方另有特别约定的,依其规定。
2、您点击注册登录,即视为您确认自己具有享受平台服务相应的权利能力和行为能力,能够独立承担法律责任。
3、平台通过互联网为您提供各项服务,并承担本协议和其它服务协议中对您的责任和义务。为使用本服务,您必须能够自行通过有法律资格的第三方对您提供互联网接入服务,并自行承担以下内容:
(1)自行配备上网所需的设备,包括手机、个人电脑、调制解调器及其他必要的设备装置。
@@ -114,7 +114,7 @@
1、 您一旦接受本协议,即表明您在任何时间在平台发表的任何形式的信息内容(包括但不限于员工评价、员工咨询、各类话题文章等信息内容)产生的权利,如著作权财产权(包括并不限于:复制权、发行权、出租权、展览权、表演权、放映权、广播权、信息网络传播权、摄制权、改编权、翻译权、汇编权以及应当由著作权人享有的其他可转让权利), 全部独家且不可撤销地转让给平台所有,您同意平台有权就任何主体侵权而单独提起诉讼。
2、本协议已经构成《中华人民共和国著作权法》第二十五条(条文序号依照2011年版著作权法确定)及相关法律规定的著作财产权等权利转让书面协议,其效力及于您在平台上发布的任何受著作权法保护的作品内容,无论该等内容形成于本协议订立前还是本协议订立后。
3、您同意并已充分了解本协议的条款,承诺不将已发表于平台的信息,以任何形式发布或授权其它主体以任何方式使用(包括但限于在各类网站、媒体上使用)、
-
4、长庆油田是平台的制作者,拥有平台内容及资源的著作权等合法权利,受国家法律保护,有权不时地对本协议及平台的内容进行修改,并在平台张贴,无须另行通知您。在法律允许的最大限度范围内,平台对本协议及的内容拥有解释权。
+
4、新疆油田是平台的制作者,拥有平台内容及资源的著作权等合法权利,受国家法律保护,有权不时地对本协议及平台的内容进行修改,并在平台张贴,无须另行通知您。在法律允许的最大限度范围内,平台对本协议及的内容拥有解释权。
5、除法律另有强制性规定外,未经平台明确的特别书面许可,任何单位或个人不得以任何方式非法地全部或部分复制、转载、引用、链接、抓取或以其他方式使用平台的信息内容,否则,平台有权追究其法律责任。
6、平台所刊登的资料信息(诸如文字、图表、标识、按钮图标、图像、声音文件片段、数字下载、数据编辑和软件),均是平台或其内容提供者的财产,受中国和国际版权法的保护。平台上所有内容的汇编是平台的排他财产,受中国和国际版权法的保护。平台上的所有软件都是平台的财产,受中国和国际版权法的保护。
十二、特别授权
diff --git a/public/static/qhAgreement.html b/public/static/qhAgreement.html deleted file mode 100644 index 3803b74..0000000 --- a/public/static/qhAgreement.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - 隐私权政策 - - - -
-

隐私权政策

-
本平台由西安恒烨通企业管理咨询有限公司开发和运维,平台深知个人信息对您的重要性,并会尽全力保护您的个人信息安全可靠。我们致力于维持您对我们的信任,恪守以下原则,保护您的个人信息:权责一致原则、目的明确原则、选择同意原则、最少够用原则、确保安全原则、主体参与原则、公开透明原则等。同时,我们承诺将采取相应的安全保护措施来保护您的个人信息。请在使用平台服务前,仔细阅读并了解本隐私权政策,我们将按照本政策收集、处理及披露您的信息。
-
本政策将帮助您了解以下内容:
-
1、定义
-
2、我们可能收集的信息
-
3、我们如何收集和使用您的个人信息
-
4、我们如何使用 Cookie 和同类技术
-
5、我们如何共享、转让、公开披露您的个人信息
-
6、员工业务数据和公开信息
-
7、我们如何保护您的个人信息
-
8、您如何管理您的个人信息
-
9、我们如何处理未成年人的个人信息
-
10、本声明和政策如何更新
-
11、如何联系我们
-
一、定义
-
1. 个人信息:
-
指以电子或者其他方式记录的与已识别或者可识别的自然人有关的各种信息,不包括匿名化处理后的信息
-
2. 个人健康信息
-
指以电子或者其他方式记录的能够单独或者与其他信息结合识别特定自然人身份或者反映特定自然人活动情况的各种健康信息,一旦泄露或者非法使用,可能导致个人受到歧视或者人身、财产受到严重危害的个人信息,包括如姓名、出生日期、身份证件号码、体检信息、就医信息、住址、通讯联系方式、通信记录和内容、账号密码、行踪轨迹、民族、个人生物特征、医疗健康、金融账户、个人行踪、不满十四周岁未成年人信息等。
-
3. 未成年人:指不满18周岁的自然人。
-
4. 儿童:指不满14周岁的自然人。
-
5. 设备信息
-
包括设备标识符 (IMEI、IDFA、Android1D、MAC、OAID、IMSI、SIM 卡序列号 (ICCID) 、设备序列号及其他设备相关信息),应用信息 (应用崩溃信息、通知开关状态、运行中进程、应用安装列表及其他应用相关信息) ,设备参数及系统信息(设备类型、设备型号、操作系统及硬件相关信息),设备网络环境信息 (IP地址,WiFi信息,基站信息及其他网络相关信息),蓝牙信息,广播组件通讯信息,运营商信息,传感器 (陀螺仪、重力传感器、加速度传感器、环境传感器、光学心率传感器),剪切板。以产品实际采集情况为准。
-
6. 业务数据
-
不同于个人信息,是指平台员工利用平台的服务上传、下载、分发等通过平台的技术服务处理的数据。
-
二、我们可能收集的信息
-
我们提供服务时,可能会收集、储存和使用下列与个人有关的信息。如果您不提供相关信息,可能无法注册成为平台员工或无法享受平台的某些服务,或者无法达到相关服务拟达到的效果。
-
2.1 与个人身份无关
-
当您使用平台的服务时,我们可能收集和汇总诸如员工的来源途径、访问顺序、停留时间等信息,例如记录使用平台服务的每个员工的来源途径、浏览器软件等。
-
2.2 与个人身份有关
-
当您使用平台的服务时,我们可能收集和汇总或要求您提供有关个人身份的信息,例如:
-
(1) 个人身份证明(包括身份证图片和身份证号、手机号、邮箱等);
-
(2) 个人补充信息(姓名、生日、籍贯、性别、兴趣爱好、学历、个人联系电话、住址、工作信息、婚姻状况、健康状况、;
-
(3) 网络身份标识信息(包括系统账号、IP地址、电子邮箱地址及与前述有关的密码、口令、口令保护答案、个人数字证书等);
-
(4) 个人健康信息(包括:姓名、性别、出生日期、身高体重、就诊卡、所在城市,所患病症、患病时长、体检报告、住院记录、诊治情况、检验报告、体检报告、用药记录、以往病史、过敏信息、家族史、患病史等,和历史咨询记录。
-
(5) 相机、相册(设备的相机功能,以拍摄照片或录制视频);
-
(6) 麦克风(通话、发送录音文件);
-
(7) 悬浮窗(在其他程序页面仍能保持应用内通话);
-
(8) 日历(访问用户的日历,以便将预约信息添加到日历中);
-
(9) 存储(访问设备存储器中的文件、照片和视频);
-
(10) 个人上网记录和日志信息(包括网站浏览记录、软件使用记录、点击记录、操作日志等);
-
(11) 设备信息(包括设备型号、设备MAC地址、操作系统类型、设备设置);
-
(12) 软件列表唯一设备识别码(如IMEI/android ID/IDFA/OPENUDID/GUID、SIM卡IMSI信息等在内的描述个人常用设备基本情况的信息);
-
(13) 拨打电话(唤起手机拨号界面并自动填充电话)
-
(14) 个人位置信息(包括精准定位信息、经纬度等);
-
(15) 其他平台基于为您提供服务需要而收集或汇总的您的信息。
-
三、我们如何收集和使用您的个人信息
-
1. 您直接提供的信息:我们可能会收集您在健康咨询员工端注册账号、申请或使用我们的服务时填写,通过现场交谈、电话、视频或其他联系方式与我们联系时所提供的信息,以及您在使用我们服务过程中产生的与您的交易和活动有关的信息。
-
(1) 帮助您成为我们的一员
-
您需要向平台提供真实姓名、邮箱、有效身份证件(包括但不限于身份证)的号码,以便于我们进行实名认证。您可以修改和补充您的昵称、性别、生日、职级、职称、学历、亲属、紧急联系人、工作信息(单位部门)、婚姻状况、健康类型、兴趣爱好以及您的实名认证等一系列相关信息相关信息,这些信息均属于您的“账号信息”。您补充的账户信息将有助于我们为您提供与您信息更匹配的相关业务服务(急救协助、医院体检、健康知识推送等)。如果您不提供这些信息,可能会影响您对平台部分核心业务功能的正常使用,如咨询专家等,但不会影响您进行基本的浏览、搜索。如果您不提供这些信息,将会影响您使用平台的部分功能,如咨询专家,但不会影响您使用平台服务的基本浏览、搜索功能。在您主动注销账号时,我们将根据相关法律法规的要求尽快使其匿名或删除您的个人信息。
-
(2) 咨询专家
-
为便于您能够咨询专家,您需提供真实姓名、手机号、身份证号码、性别、出生日期、身高体重等信息。为更好地向您提供咨询服务解决您的问题,更加精准、快速地向您推荐医生,我们可能需要您在健康咨询时提供个人健康信息,例如:病症、患病时长、检验报告、体检报告、医院就诊信息、诊治情况、用药记录、以往病史、过敏信息、家族史、患病史等。如您不提供上述信息,将会影响您使用部分健康咨询等功能,但不影响您使用平台产品或服务的基本浏览、搜索功能。应急救援
-
(1) 您实名成为健康咨询员工端的用户后,若您或您的朋友发生了意外事件,你可以通过查看系统内的相关医疗资源,并向平台发起帮助请求。在此过程中,我们可能会通过您的基本信息和聊天功能获取您的手机号、您的紧急联系人姓名和联系 电话,位置、姓名、性别、年龄、健康状况、事故详情介绍的图文、音视频沟通的信息。搜索
-
(2) 搜索
-
为了让您快速地找到您所需要的专家、知识文章、软件功能、医院等,我们可能会收集您使用我们的产品记录为您提供这些信息展示的最优方式。我们也会为了不断改进和优化上述的功能来使用您的上述个人信息。
-
您也可以通过搜索来精准地找到您所需要的专家、医院、系统功能。我们会保留您的搜索内容以方便您重复输入或为您展示与您搜索内容相关联的产品或服务。
-
2. 我们在您使用服务过程中收集的信息
-
为向您提供更契合您需求的页面展示和搜索结果、了解服务适配性、识别账号异常状态,我们会收集关于您使用的服务以及使用方式的信息并将这些信息进行关联,这些信息包括:
-
设备信息:我们会根据您在软件安装及使用中授予的具体权限,接收并记录您所使用的设备相关信息(例如设备型号、操作系统版本、设备设置、唯一设备标识符等软硬件特征信息)、设备所在位置相关信息(例如IP 地址、GPS位置以及能够提供相关信息的Wi-Fi 接入点、蓝牙和基站等传感器信息)。
-
日志信息:当您使用我们的网站或用户端提供的服务时,我们会自动收集您对我们服务的详细使用情况,作为有关网络日志保存。例如您的搜索查询内容、IP地址、浏览器的类型、电信运营商、使用的语言、访问日期和时间及您访问的网页记录等。
-
请注意,单独的设备信息、日志信息等是无法识别特定自然人身份的信息。如果我们将这类非个人信息与其他信息结合用于识别特定自然人身份,或者将其与个人信息结合使用,则在结合使用期间,这类非个人信息将被视为个人信息,除取得您授权或法律法规另有规定外,我们会将该类个人信息做匿名化、去标识化处理。
-
为展示您的健康信息,我们会收集您在使用我们服务过程中产生的健康咨询详情(包括但不限于图片、文字、视频、语音)、预约挂号记录、咨询记录、个人健康信息、检查检验、医生诊断结果等用于向您展示及便于您对信息进行管理。
-
当您与我们联系时,我们可能会保存您的通信/通话记录和内容或您留下的联系方式等信息,以便与您联系或帮助您解决问题,或记录相关问题的处理方案及结果。
-
3. 我们通过间接获得方式收集到的您的个人信息
-
我们可能从第三方获取您授权共享的账户信息(头像、昵称、联系方式),并在您同意声明和政策后将您的第三方账户与您的账户绑定,使您可以通过第三方账户直接登录并使用平台服务。我们会将依据与第三方的约定、对个人信息来源的合法性进行确认后,在符合相关法律和法规规定的前提下,使用您的这些个人信息。
-
如您拒绝提供上述信息或拒绝授权,可能无法使用我们的相应服务,或者无法展示相关信息,但不影响使用平台的健康咨询等核心服务。
-
为您提供安全保障
-
请注意,为向您提供更好的安全保障,您可以向我们提供姓名、身份证、就诊卡、邮箱等身份信息完成实名认证。如您拒绝提供上述信息,可能无法预约或咨询特定专家、继续可能存在风险的操作等,但不会影响您使用浏览、搜索等服务。
-
为提高您使用我们提供服务的安全性,更好地预防钓鱼网站、欺诈、网络漏洞、计算机病毒、网络攻击、网络侵入等安全风险,更准确地识别违反法律法规或平台相关协议规则的情况,我们可能使用或整合您的账户信息、交易信息、设备信息、有关网络日志以及我们取得您授权或依据法律共享的信息,来进行身份验证、检测及防范安全事件,并依法采取必要的记录、审计、分析、处置措施。
-
4. 其他用途
-
我们将信息用于本声明和政策未载明的其他用途,或者将基于特定目的收集而来的信息用于其他目的时,会事先征求您的同意。
-
5. 征得授权同意的例外
-
根据相关法律法规规定,以下情形中收集您的个人信息无需征得您的授权同意:
-
1、与国家安全、国防安全有关的;
-
2、与公共安全、公共卫生、重大公共利益有关的;
-
3、与犯罪侦查、起诉、审判和判决执行等有关的;
-
4、出于维护个人信息主体或其他个人的生命、财产等重大合法权益但又很难得到您本人同意的;
-
5、所收集的个人信息是您自行向社会公众公开的;
-
6、从合法公开披露的信息中收集个人信息的,如合法的新闻报道、政府信息公开等渠道;
-
7、根据您的要求签订合同所必需的;
-
8、用于维护所提供的产品或服务的安全稳定运行所必需的,例如发现、处置产品或服务的故障;
-
9、为合法的新闻报道所必需的;
-
10、学术研究机构基于公共利益开展统计或学术研究所必要,且对外提供学术研究或描述的结果时,对结果中所包含的个人信息进行去标识化处理的;
-
11、法律法规规定的其他情形。
-
如我们停止平台的产品或服务,我们将及时停止继续收集您个人信息的活动,对所持有的个人信息进行删除或匿名化处理。
-
6. 设备权限调用:在向您提供服务的过程中,为了实现特定的产品功能,我们会向您的设备系统申请调用以下设备权限,申请前我们会征询您的同意,您可以选择“允许”或者“禁止”权限申请。申请成功后,您可以随时进入手机“设置-权限管理”中关闭相应权限,不过权限关闭后有关产品功能可能无法正常使用,请您理解:
-
(1) 位置
-
您需要授权我们使用位置权限,以便于我们基于位置向您展示、推送急救资源,显示医院位置等信息。您在首次打开移动平台和使用相关业务时会看到弹窗提醒,询问您是否授权。
-
(2) 通讯录
-
在视话咨询时为保护医生和员工双方个人信息安全,我们提供中转电话服务。您需要授权我们使用通讯录权限,以便于我们对此电话进行标识。您在使用相应功能时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常在视话咨询中使用电话进行沟通。
-
(3) 相机、相册
-
您需要授权我们使用相机权限,以便于使用我们的核心业务功能,如在咨询中发送图片或视频通话。您在使用相应功能时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常在咨询中进行视频通话。
-
(4) 通知栏
-
您需要授权我们使用通知权限,以便于使用所有基于此权限实现的功能,如咨询状态、体检报告等各类消息提醒。您在首次打开移动平台时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常获取各类消息提醒。
-
(5) 存储
-
您需要授权我们使用存储权限,以便于在急救和咨询时候使用发送文件、图片、照片等功能,同时我们的移动平台可以写入、存储员工信息和日志等。您在首次打开移动平台和使用相应功能时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常使用使用移动平台。
-
(6) 麦克风
-
您需要授权我们使用麦克风权限,以便于使用我们的核心业务功能,如在咨询咨询中发送语音消息或视频通话。您在使用相应功能时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常在咨询中进行视频通话。
-
(7) 悬浮窗
-
您需要授权我们使用悬浮窗权限,当您在咨询/应急业务时正在进行语音/音视频通话时候您可切换APP继续使用手机其他功能。您在使用相应功能时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常在咨询中进行视频通话。
-
设备权限 使用目的
-
存储 聊天过程中发送和接收相关文件
-
相机 应急请求和咨询专家业务聊天过程中发送图片
-
相册 应急请求和咨询专家业务聊天过程中发送图片
-
位置 用于向用户提供地图上的资源数据,聊天发送位置
-
麦克风(音频) 与专家音视频交流、聊天语音输入,拍摄视频
-
悬浮窗 在其他程序页面仍能保持应用内通话
-
短信 获取验证码修改密码
-
通知栏 对您在系统内使用的业务(如预约体检、专家咨询),及时进行通知
-
拨打电话 在查看地图资源发起急救时候,跳转手机拨打电话
-
日历 找专家进行咨询、预约专家,大病就医挂号医院,预约去医院体检的日期需访问日历
-
请您注意,您开启以上权限即代表您授权我们可以收集和使用这些个人信息来实现上述的功能,您关闭权限即代表您取消了这些授权,则我们将不再继续收集和使用您的这些个人信息,也无法为您提供上述与这些授权所对应的功能。您关闭权限的决定不会影响此前基于您的授权所进行的个人信息的处理。除此以外,我们在相关业务功能中可能还需要您开启设备的其他访问权限,详细权限和使用目的如下:
-
(1)android.permission.INTERNET(访问网络权限):实现应用程序联网
-
(2)android.permission.ACCESS_WIFI_STATE(获取WiFi状态权限):监控网络变化,提示用户当前网络环境
-
(3)android.permission.ACCESS_NETWORK_STATE(获取网络状态权限):监控网络变化,提示用户当前网络环境
-
(4)android.permission.VIBRATE(使用振动权限):允许手机振动
-
(5)android.permission.WAKE_LOCK(唤醒锁定权限):允许程序在手机屏幕关闭后后台进程仍然运行,保持屏幕唤醒
-
(6)android.permission.RESTART_PACKAGES(结束系统任务权限):重新启动应用
-
(7)android.permission.MODIFY_AUDIO_SETTINGS(修改声音设置权限):修改全局音频设置,例如调节音量和用于输出的扬声器
-
(8)android.permission.BLUETOOTH(使用蓝牙权限):小程序蓝牙功能模块使用
-
(9)(android.permission.BLUETOOTH_ADMIN)(蓝牙管理权限):小程序蓝牙功能模块使用
-
(10)android.permission.SYSTEM_ALERT_WINDOW(悬浮窗权限):观看直播、短视频悬浮窗播放
-
(11) android.permission.ACCESS_BACKGROUND_LOCATION(支持后台访问位置权限):保持持续定位能力
-
(12)android.permission.WRITE SYSTEM(读写系统设置权限):允许应用读写系统设置项
-
(13)android.permission.GET_TASKS(获取任务信息权限):允许应用获取当前或最近运行的应用
-
(14)android.permission.CHANGE_WIFI_STATE(改变WiFi状态权限):允许应用改变WiFi状态
-
(15)android.permission.CHANGE_NETWORK_STATE(改变网络连接状态):允许应用改变网络连接状态
-
四、我们如何使用 Cookie 和同类技术
-
1. 4.1 Cookie
-
为确保网站正常运转、为您获得更轻松的访问体验、向您推荐您可能感兴趣的内容,我们会在您的计算机或移动设备上存储名为 Cookie 的小数据文件。Cookie 通常包含标识符、站点名称以及一些号码和字符。借助于 Cookie,网站能够记住您的选择,提供个性化增强服务等。
-
您可根据自己的偏好管理或删除Cookie。有关详情,请参见 AboutCookies.org。您可以清除计算机上保存的所有 Cookie,大部分网络浏览器都设有阻止 Cookie 的功能。但如果您这么做,则需要在每一次访问平台时更改员工设置。如需详细了解如何更改浏览器设置,请访问您使用的浏览器的相关设置页面。
-
2. 4.2 网站信标和像素标签
-
除 Cookie 外,我们还会在网站上使用网站信标和像素标签等其他同类技术。例如,我们向您发送的电子邮件可能含有链接至我们网站内容的地址链接,如果您点击该链接,我们则会跟踪此次点击,帮助我们了解您的服务偏好以便于我们主动改善服务体验。网站信标通常是一种嵌入到网站或电子邮件中的透明图像。借助于电子邮件中的像素标签,我们能够获知电子邮件是否被打开。
-
五、我们如何共享、转让、公开披露您的个人信息
-
1. 共享
-
我们不会与平台服务提供者以外的任何公司、组织和个人分享您的个人信息,但以下情况除外:
-
1、在获取明确同意的情况下共享:获得您的明确同意后,我们会与其他方共享您的个人信息。
-
2、我们可能会根据法律法规规定,或按政府主管部门的强制性要求,对外共享您的个人信息。
-
3、与授权合作机构共享:仅为实现本声明和政策中声明的目的,我们的某些服务将由授权合作机构提供。我们可能会与合作机构共享您的某些个人信息,以提供更好的服务和员工体验。我们仅会出于合法、正当、必要、特定、明确的目的共享您的个人信息,并且只会共享提供服务所必要的个人信息。我们的合作机构无权将共享的个人信息用于任何其他用途。
-
目前,我们的授权合作机构包括以下类型:
-
(1)分析服务类的授权合作机构。除非得到您的许可,否则我们不会将您的个人身份信息(指可以识别您身份的信息,例如姓名或电子邮箱,通过这些信息可以联系到您或识别您的身份)与提供分析服务的合作机构分享。我们会向这些合作机构提供有关其服务覆盖面和有效性的信息,而不会提供您的个人身份信息,或者我们将这些信息进行汇总,以便它不会识别您。
-
(2)服务提供方和其他合作机构。我们将信息发送给支持我们业务的服务提供方和其他合作机构,这些支持包括提供技术基础设施服务、分析我们服务的使用方式、衡量服务的有效性、提供员工服务、支付便利或进行学术研究和调查。
-
对我们与之共享个人信息的机构,我们会与其签署严格的保密协定,要求他们按照我们的说明、声明和政策以及其他任何相关的保密和安全措施来处理个人信息。
-
2. .转让
-
除以下情形外,我们不会将您的个人信息转让给任何公司、组织或个人:
-
(1)事先获得您的明确同意的;
-
(2)根据法律法规规定,或者政府主管部门、司法机关的强制要求必须对外转让的;
-
(3)涉及公司合并、分立、解散、资产或业务转让、破产清算或类似的交易时,若涉及到您的个人信息转让,我们会要求新持有您个人信息的公司、组织或个人继续受本政策的约束,否则我们将要求该等公司、组织或个人重新取得您的授权同意。
-
3. 公开披露
-
除以下情形外,我们不会公开披露您的个人信息:
-
(1)事先获得您的明确同意的;
-
(2)根据法律法规规定,或者政府主管部门、司法机关的强制要求必须公开披露的。在符合法律法规的前提下,当我们收到上述披露信息的请求时,我们会要求必须出具与之相应的法律文件,如传票或调查函。我们坚信,对于要求我们提供的信息,应该在法律允许的范围内尽可能保持透明。我们对所有的请求都将进行慎重的审查,以确保其具备合法依据,且仅限于执法部门因特定调查目的且有合法权利获取的数据。
-
4. 共享、转让、公开披露个人信息授权同意的例外
-
根据相关法律法规的规定,在以下情形中,我们可以在不征得您的授权同意的情况下共享、转让、公开披露您的个人信息:
-
A.与国家安全、国防安全有关的;
-
B.与公共安全、公共卫生、重大公共利益有关的;C.与犯罪侦查、起诉、审判和判决执行等有关的;
-
D.出于维护您或其他个人的生命、财产等重大合法权益但又很难得到本人同意的;
-
E.您自行向社会公众公开的个人信息;
-
F.从合法公开披露的信息中收集到的个人信息的,如合法的新闻报道、政府信息公开等渠道。
-
G.法律法规规定的其他情形。
-
根据法律规定,共享、转让经去标识化处理的个人信息,且确保数据接收方无法复原并重新识别个人信息主体的,不属于个人信息的对外共享、转让及公开披露行为,对此类数据的保存及处理将无需另行向您通知并征得您的同意。
-
六、员工业务数据和公开信息
-
不同于您的个人信息,对于员工业务数据和公开信息,平台将按如下方式处理:
-
1. 员工业务数据
-
1、您通过平台提供的服务,加工、存储、上传、下载、分发以及通过其他方式处理的数据,均为您的员工业务数据。平台作为服务提供者,只会严格执行您的指示处理您的业务数据,除按与您协商一致或执行明确的法律法规要求外,不对您的业务数据进行任何非授权的使用或披露。
-
2、您应对您的员工业务数据来源及内容负责,平台提示您谨慎判断数据来源及内容的合法性。因您的员工业务数据内容违反法律法规、部门规章或国家政策而造成的全部结果及责任均由您自行承担。
-
3、根据您与平台协商一致,平台在您选定的数据中心存储员工业务数据。我们恪守对员工的安全承诺,根据适用的法律保护员工存储在平台数据中心的数据。
-
2. 公开信息
-
1、公开信息是指您公开分享的任何信息,任何人都可以在使用和未使用平台服务期间查看或访问这些信息。例如您在社区、论坛发布的信息。
-
2、为使用平台的服务,可能存在您必须公开分享的信息。
-
七、我们如何保护您的个人信息
-
1.我们已使用符合业界标准的安全防护措施保护您提供的个人信息,防止您的个人信息遭到未经授权访问、使用、修改、公开披露、损坏或丢失。我们会采取一切合理可行的措施,保护您的个人信息,比如:
-
(1)我们设立了网络安全和个人信息保护机构,专门负责网络安全和个人信息保护事务;
-
(2)我们的网络服务采取了传输层安全协议等加密技术,通过https等方式提供浏览服务,确保用户数据在传输过程中的安全;
-
(3)我们采取MD5、SHA256等加密技术对您的个人信息进行加密存储,增强个人信息在使用中的安全性;
-
(4)我们采用严格的数据访问权限控制和多重身份认证技术保护个人信息,避免数据被违规使用;
-
(5)我们采用代码安全检查、数据访问日志分析技术进行个人信息安全审计;
-
(6)我们建立了客户信息保护管理规定、客户信息分级分类管理规定、日常操作规程等一系列管理制度来规范个人信息的存储和使用;
-
(7)我们定期举办信息安全和个人信息保护培训课程,加强员工对于个人信息保护重要性的认识;
-
(8)我们与所有可能接触个人信息的员工签订了保密协议,对关键岗位人员进行背景审查,并建立了严格的访问权限控制、权限审批流程和监控、审计机制;
-
(9)我们与所有可能接触用户个人信息的合作伙伴均签署了严格的保密协议或数据保护专用条款,并要求可能接触到您个人信息的所有人员履行相应的保密和数据保护义务。如果第三方合作伙伴未履行保密和数据保护义务,可能会被我们追究法律责任并被我们终止合作;
-
2.我们已经通过了国家信息安全等级保护测评和备案,最高备案等级为二级。
-
3.我们会采取一切合理可行的措施,确保未收集无关的个人信息。我们只会在达成本政策所述目的所需的期限内保留您的个人信息,除非需要延长保留期或者受到法律允许。
-
4.互联网并非绝对安全的环境,而且电子邮件、即时通讯、社交软件等与其他用户的交流方式无法确定是否完全加密,我们强烈建议您不用通过此类方式发送个人信息。若确需使用,在使用此类工具时请使用复杂密码,并注意保护您的个人信息安全。我们将尽力保障您个人信息的安全性。如果我们的物理、技术、或管理防护设施遭到破坏,导致信息被非授权访问、公开披露、篡改、或毁坏,导致您的合法权益受损,我们将全力配合保护您的权益,并依法承担我们应承担的赔偿责任。
-
5.在不幸发生个人信息安全事件后,我们将按照法律法规的要求及时向您告知安全事件的基本情况和可能的影响、我们已采取或将采取的处置措施、您可自主防范和降低风险的建议、对您的补救措施等。我们将及时将事件相关情况以邮件、信函、电话、推送通知等方式告知您,难以逐一告知时,我们会采取合理、有效的方式发布公告。同时,我们还将按照监管部门要求,主动上报个人信息安全事件的处置情况。
-
八、您如何管理您的个人信息(您的权力)
-
您可以通过以下方式访问及管理您的个人信息:
-
8.1 访问您的个人信息
-
您的账号信息:您可在“我的”中查询您的账户、姓名、性别、手机、身份证号、工作信息、健康类型、学历、工号、工种、住址,紧急联系人的姓名、电话等。
-
您和您亲属的健康信息:您可在“咨询人管理”中查询您和您亲属手机号码、患者姓名、性别、出生日期、与患者的关系、身高体重、所在城市;健康信息:病症、患病时长、体检报告、住院记录、诊治情况、用药记录、以往病史、过敏信息、家族史、患病史等健康信息。
-
您的订单、工单信息:您可在“我的-我的咨询”、“我的-我的应急工单”、“我的-大病就医工单”、“健康体检-体检预约”等各个业务的对应入口查看、评价订单和工单信息。
-
您的体检报告:你可在“健康体检-体检报告”和“健康档案-健康现状”、“健康档案-体检数据分析”查看个人的体检报告详情和重点指标的分析。
-
对于您在使用我们的产品或服务过程中向我们提供或产生的其他信息,只要我们不需要过多投入,我们会向您提供。您可以通过拨打我们的客服电话提出访问申请,我们将在30天内回复您的访问请求。
-
对于您在使用我们服务过程中产生的其他个人信息,我们将根据本条“8.9 响应您的上述请求”中的相关安排向您提供。
-
8.2 更正或补充您的个人信息
-
当您发现我们处理的您的个人信息有误或者您需要更正该等信息时,您可以通过内设置的自动更正功能、电子邮件或者拨打客服电话等方式进行修改或更正。您如果需要更正其他个人信息,可通过联系人工客服向我们提出更正申请。
-
可自主更正的信息:
-
账号信息:您可在“我的”中更新您的头像,紧急联系人的姓名、电话等。
-
您和您亲属的健康信息:您可在“咨询人管理”中更正您和您亲属手机号码、患者姓名、性别、出生日期、与患者的关系、身高体重、所在城市;健康信息:病症、患病时长、体检报告、住院记录、诊治情况、用药记录、以往病史、过敏信息、家族史、患病史等健康信息。
-
8.3 如何注销
-
您在我们的产品与/或服务页面中可以直接清除或删除的信息,包括浏览信息、紧急联系人信息、咨询人信息。
-
在以下情形中,您可以向我们提出删除个人信息的请求:
-
(1)如果我们处理个人信息的行为违反了法律法规的强制性规定;
-
(2)如果我们收集、使用您的个人信息,却未征得您的同意(依法无需征得同意的情况除外);
-
(3)如果我们处理个人信息的行为违反了与您的约定;
-
(4)如果您不再使用我们的产品或服务,或您注销了账号;
-
(5)如果我们不再为您提供产品或服务。
-
如果您想删除或注册账号:
-
(1)拨打客服热线电话029-86618899
-
(2)发送电子邮件至40115111@qq.com
-
(3)邮寄地址:陕西省西安市未央区欧亚大道丝路国际创意梦工场5号楼,收件人:许策
-
收到您的删除请求后,我们会根据您及相关法律法规的要求进行后续删除处理并向您反馈结果。若我们决定响应您的删除请求,我们还将同时通知从我们获得您的个人信息的实体,要求其及时删除,除非法律法规另有规定,或这些实体获得您的独立授权。
-
当您从我们的服务中删除信息后,我们可能不会立即备份系统中删除相应的信息,但会在备份更新时删除这些信息。
-
8.4 改变您授权同意的范围
-
您可以通过删除信息、关闭设备功能、在平台中进行隐私设置等方式改变您授权我们继续收集个人信息的范围或撤回您的授权。
-
请您理解,每个业务功能需要一些基本的个人信息才能得以完成(见本隐私权政策“我们如何收集和使用您的信息”)。当您收回同意后,我们将不再处理相应的个人信息。但您收回同意的决定,不会影响此前基于您的授权而开展的个人信息处理。
-
8.5 个人信息主体注销账户
-
在符合平台单项服务的服务协议约定条件及国家相关法律法规规定的情况下,您的该项平台服务帐号可能被注销或删除。当帐号注销或被删除后,与该帐号相关的、该单项服务项下的全部服务资料和数据将依照单项服务的服务协议约定删除或匿名化处理。
-
8.6 约束信息系统自动决策
-
在某些业务功能中,我们可能仅依据信息系统、算法等在内的非人工自动决策机制做出决定。如果这些决定显著影响您的合法权益,您有权要求我们做出解释,我们也将在不侵害平台保密或其他员工权益、社会公共利益的前提下提供申诉方法。
-
8.7约束信息系统自动决策
-
在某些业务功能中,我们可能仅依据信息系统、算法在内的非人工自动决策机制作出决定。如果这些决定显著影响您的合法权益,您有权要求我们作出解释,我们也将提供适当的救济方式。
-
8.8举报和投诉
-
如果您发现您的个人信息可能被泄露,或者我们的工作人员或合作伙伴在处理您的个人信息时有任何违法违规行为,您可以通过拨打客服热线或者发送电子邮件的方式向我们进行举报和投诉。
-
8.9 响应您的上述请求
-
为保障安全,您可能需要提供书面请求,或以其他方式证明您的身份。我们可能会先要求您验证自己的身份,然后再处理您的请求。我们将在15个工作日内做出答复。
-
对于那些无端重复、需要过多技术手段(例如,需要开发新系统或从根本上改变现行惯例)、给他人合法权益带来风险或者非常不切实际的请求,我们可能会予以拒绝。
-
在以下情形中,按照法律法规要求,我们将无法响应您的请求:
-
(1) 与国家安全、国防安全有关的;
-
(2) 与公共安全、公共卫生、重大公共利益有关的;
-
(3) 与犯罪侦查、起诉、审判和执行判决等有关的;
-
(4) 有充分证据表明个人信息主体存在主观恶意或滥用权利的;
-
(5) 响应您的请求将导致您或其他个人、组织的合法权益受到严重损害的;
-
(6) 涉及商业秘密的。
-
九、我们如何处理未成年人的个人信息
-
1.健康咨询员工端非常重视对未成年人个人信息的保护。若您是18周岁以下的未成年人,在使用我们的产品与/或服务前,应事先取得您监护人的同意。健康咨询员工端根据国家相关法律法规的规定保护未成年人的个人信息。
-
2.我们不会主动直接向未成年人收集其个人信息。对于经监护人同意而收集未成年人个人信息的情况,我们只会在受到法律允许、监护人同意或者保护未成年人所必要的情况下使用、共享、转让或披露此信息。
-
3.如果有事实证明未成年人在未取得监护人同意的情况下注册使用了我们的产品与/或服务,我们会与相关监护人协商,并设法尽快删除相关个人信息。
-
十、本声明和政策如何更新
-
我们的隐私政策可能变更。未经您明确同意,我们不会削减您按照声明和政策所应享有的权利。 我们会在本页面上发布对本声明和政策所做的任何变更。
-
对于重大变更,我们还会提供更为显著的通知(包括我们会通过网站公示的方式进行通知甚至向您提供弹窗提示)。
-
本声明和隐私所指的重大变更包括但不限于:
-
1、 我们的服务模式发生重大变化。如处理个人信息的目的、处理的个人信息类型、个人信息的使用方式等;
-
2、 我们在所有权结构、组织架构等方面发生重大变化。如业务调整等引起的所有者变更等;
-
3、 个人信息共享或公开披露的主要对象发生变化;
-
4、 您参与个人信息处理方面的权利及其行使方式发生重大变化;
-
5、 我们负责处理个人信息安全的责任部门、联络方式等发生变化时;
-
6、 个人信息安全影响评估报告表明存在高风险时。
-
7、 我们还会将本声明和隐私的旧版本存档,供您查阅。
-
十一、如何联系我们
-
1.如果您对本政策有任何疑问、意见或建议,可通过以下方式与我们联系:
-
(1)拨打客服热线电话029-86618899
-
(2)发送电子邮件至40115111@qq.com
-
(3)邮寄地址:陕西省西安市未央区欧亚大道丝路国际创意梦工场5号楼,收件人:许策
-
我们的客服部门将会同个人信息保护部门30天内进行回复,并协助解决您的问题。
-
2.如果您对我们的回复不满意,特别是我们的个人信息处理行为损害了您的合法权益,您还可以通过以下外部途径寻求解决方式:向网信、工商、公安等监管部门进行投诉或举报。
-
- - diff --git a/public/static/qhIOSAgreement.html b/public/static/qhIOSAgreement.html deleted file mode 100644 index e680602..0000000 --- a/public/static/qhIOSAgreement.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - 隐私权政策 - - - -
-

隐私权政策

-
本平台由西安恒烨通企业管理咨询有限公司开发和运维,平台深知个人信息对您的重要性,并会尽全力保护您的个人信息安全可靠。我们致力于维持您对我们的信任,恪守以下原则,保护您的个人信息:权责一致原则、目的明确原则、选择同意原则、最少够用原则、确保安全原则、主体参与原则、公开透明原则等。同时,我们承诺将采取相应的安全保护措施来保护您的个人信息。请在使用平台服务前,仔细阅读并了解本隐私权政策,我们将按照本政策收集、处理及披露您的信息。
-
本政策将帮助您了解以下内容:
-
1、定义
-
2、我们可能收集的信息
-
3、我们如何收集和使用您的个人信息
-
4、我们如何使用 Cookie 和同类技术
-
5、我们如何共享、转让、公开披露您的个人信息
-
6、员工业务数据和公开信息
-
7、我们如何保护您的个人信息
-
8、您如何管理您的个人信息
-
9、我们如何处理未成年人的个人信息
-
10、本声明和政策如何更新
-
11、如何联系我们
-
一、定义
-
1. 个人信息:
-
指以电子或者其他方式记录的与已识别或者可识别的自然人有关的各种信息,不包括匿名化处理后的信息
-
2. 个人健康信息
-
指以电子或者其他方式记录的能够单独或者与其他信息结合识别特定自然人身份或者反映特定自然人活动情况的各种健康信息,一旦泄露或者非法使用,可能导致个人受到歧视或者人身、财产受到严重危害的个人信息,包括如姓名、出生日期、身份证件号码、体检信息、就医信息、住址、通讯联系方式、通信记录和内容、账号密码、行踪轨迹、民族、个人生物特征、医疗健康、金融账户、个人行踪、不满十四周岁未成年人信息等。
-
3. 未成年人:指不满18周岁的自然人。
-
4. 儿童:指不满14周岁的自然人。
-
5. 设备信息
-
包括设备标识符 (IMEI、IDFA、MAC、OAID、IMSI、SIM 卡序列号 (ICCID) 、设备序列号及其他设备相关信息),应用信息 (应用崩溃信息、通知开关状态、运行中进程、应用安装列表及其他应用相关信息) ,设备参数及系统信息(设备类型、设备型号、操作系统及硬件相关信息),设备网络环境信息 (IP地址,WiFi信息,基站信息及其他网络相关信息),蓝牙信息,广播组件通讯信息,运营商信息,传感器 (陀螺仪、重力传感器、加速度传感器、环境传感器、光学心率传感器),剪切板。以产品实际采集情况为准。
-
6. 业务数据
-
不同于个人信息,是指平台员工利用平台的服务上传、下载、分发等通过平台的技术服务处理的数据。
-
二、我们可能收集的信息
-
我们提供服务时,可能会收集、储存和使用下列与个人有关的信息。如果您不提供相关信息,可能无法注册成为平台员工或无法享受平台的某些服务,或者无法达到相关服务拟达到的效果。
-
2.1 与个人身份无关
-
当您使用平台的服务时,我们可能收集和汇总诸如员工的来源途径、访问顺序、停留时间等信息,例如记录使用平台服务的每个员工的来源途径、浏览器软件等。
-
2.2 与个人身份有关
-
当您使用平台的服务时,我们可能收集和汇总或要求您提供有关个人身份的信息,例如:
-
(1) 个人身份证明(包括身份证图片和身份证号、手机号、邮箱等);
-
(2) 个人补充信息(姓名、生日、籍贯、性别、兴趣爱好、学历、个人联系电话、住址、工作信息、婚姻状况、健康状况、;
-
(3) 网络身份标识信息(包括系统账号、IP地址、电子邮箱地址及与前述有关的密码、口令、口令保护答案、个人数字证书等);
-
(4) 个人健康信息(包括:姓名、性别、出生日期、身高体重、就诊卡、所在城市,所患病症、患病时长、体检报告、住院记录、诊治情况、检验报告、体检报告、用药记录、以往病史、过敏信息、家族史、患病史等,和历史咨询记录。
-
(5) 相机、相册(设备的相机功能,以拍摄照片或录制视频);
-
(6) 麦克风(通话、发送录音文件);
-
(7) 悬浮窗(在其他程序页面仍能保持应用内通话);
-
(8) 日历(访问用户的日历,以便将预约信息添加到日历中);
-
(9) 存储(访问设备存储器中的文件、照片和视频);
-
(10) 个人上网记录和日志信息(包括网站浏览记录、软件使用记录、点击记录、操作日志等);
-
(11) 设备信息(包括设备型号、设备MAC地址、操作系统类型、设备设置);
-
(12) 软件列表唯一设备识别码(如IMEI ID/IDFA/OPENUDID/GUID、SIM卡IMSI信息等在内的描述个人常用设备基本情况的信息);
-
(13) 拨打电话(唤起手机拨号界面并自动填充电话)
-
(14) 个人位置信息(包括精准定位信息、经纬度等);
-
(15) 其他平台基于为您提供服务需要而收集或汇总的您的信息。
-
三、我们如何收集和使用您的个人信息
-
1. 您直接提供的信息:我们可能会收集您在健康咨询员工端注册账号、申请或使用我们的服务时填写,通过现场交谈、电话、视频或其他联系方式与我们联系时所提供的信息,以及您在使用我们服务过程中产生的与您的交易和活动有关的信息。
-
(1) 帮助您成为我们的一员
-
您需要向平台提供真实姓名、邮箱、有效身份证件(包括但不限于身份证)的号码,以便于我们进行实名认证。您可以修改和补充您的昵称、性别、生日、职级、职称、学历、亲属、紧急联系人、工作信息(单位部门)、婚姻状况、健康类型、兴趣爱好以及您的实名认证等一系列相关信息相关信息,这些信息均属于您的“账号信息”。您补充的账户信息将有助于我们为您提供与您信息更匹配的相关业务服务(急救协助、医院体检、健康知识推送等)。如果您不提供这些信息,可能会影响您对平台部分核心业务功能的正常使用,如咨询专家等,但不会影响您进行基本的浏览、搜索。如果您不提供这些信息,将会影响您使用平台的部分功能,如咨询专家,但不会影响您使用平台服务的基本浏览、搜索功能。在您主动注销账号时,我们将根据相关法律法规的要求尽快使其匿名或删除您的个人信息。
-
(2) 咨询专家
-
为便于您能够咨询专家,您需提供真实姓名、手机号、身份证号码、性别、出生日期、身高体重等信息。为更好地向您提供咨询服务解决您的问题,更加精准、快速地向您推荐医生,我们可能需要您在健康咨询时提供个人健康信息,例如:病症、患病时长、检验报告、体检报告、医院就诊信息、诊治情况、用药记录、以往病史、过敏信息、家族史、患病史等。如您不提供上述信息,将会影响您使用部分健康咨询等功能,但不影响您使用平台产品或服务的基本浏览、搜索功能。应急救援
-
(1) 您实名成为健康咨询员工端的用户后,若您或您的朋友发生了意外事件,你可以通过查看系统内的相关医疗资源,并向平台发起帮助请求。在此过程中,我们可能会通过您的基本信息和聊天功能获取您的手机号、您的紧急联系人姓名和联系 电话,位置、姓名、性别、年龄、健康状况、事故详情介绍的图文、音视频沟通的信息。搜索
-
(2) 搜索
-
为了让您快速地找到您所需要的专家、知识文章、软件功能、医院等,我们可能会收集您使用我们的产品记录为您提供这些信息展示的最优方式。我们也会为了不断改进和优化上述的功能来使用您的上述个人信息。
-
您也可以通过搜索来精准地找到您所需要的专家、医院、系统功能。我们会保留您的搜索内容以方便您重复输入或为您展示与您搜索内容相关联的产品或服务。
-
2. 我们在您使用服务过程中收集的信息
-
为向您提供更契合您需求的页面展示和搜索结果、了解服务适配性、识别账号异常状态,我们会收集关于您使用的服务以及使用方式的信息并将这些信息进行关联,这些信息包括:
-
设备信息:我们会根据您在软件安装及使用中授予的具体权限,接收并记录您所使用的设备相关信息(例如设备型号、操作系统版本、设备设置、唯一设备标识符等软硬件特征信息)、设备所在位置相关信息(例如IP 地址、GPS位置以及能够提供相关信息的Wi-Fi 接入点、蓝牙和基站等传感器信息)。
-
日志信息:当您使用我们的网站或用户端提供的服务时,我们会自动收集您对我们服务的详细使用情况,作为有关网络日志保存。例如您的搜索查询内容、IP地址、浏览器的类型、电信运营商、使用的语言、访问日期和时间及您访问的网页记录等。
-
请注意,单独的设备信息、日志信息等是无法识别特定自然人身份的信息。如果我们将这类非个人信息与其他信息结合用于识别特定自然人身份,或者将其与个人信息结合使用,则在结合使用期间,这类非个人信息将被视为个人信息,除取得您授权或法律法规另有规定外,我们会将该类个人信息做匿名化、去标识化处理。
-
为展示您的健康信息,我们会收集您在使用我们服务过程中产生的健康咨询详情(包括但不限于图片、文字、视频、语音)、预约挂号记录、咨询记录、个人健康信息、检查检验、医生诊断结果等用于向您展示及便于您对信息进行管理。
-
当您与我们联系时,我们可能会保存您的通信/通话记录和内容或您留下的联系方式等信息,以便与您联系或帮助您解决问题,或记录相关问题的处理方案及结果。
-
3. 我们通过间接获得方式收集到的您的个人信息
-
我们可能从第三方获取您授权共享的账户信息(头像、昵称、联系方式),并在您同意声明和政策后将您的第三方账户与您的账户绑定,使您可以通过第三方账户直接登录并使用平台服务。我们会将依据与第三方的约定、对个人信息来源的合法性进行确认后,在符合相关法律和法规规定的前提下,使用您的这些个人信息。
-
如您拒绝提供上述信息或拒绝授权,可能无法使用我们的相应服务,或者无法展示相关信息,但不影响使用平台的健康咨询等核心服务。
-
为您提供安全保障
-
请注意,为向您提供更好的安全保障,您可以向我们提供姓名、身份证、就诊卡、邮箱等身份信息完成实名认证。如您拒绝提供上述信息,可能无法预约或咨询特定专家、继续可能存在风险的操作等,但不会影响您使用浏览、搜索等服务。
-
为提高您使用我们提供服务的安全性,更好地预防钓鱼网站、欺诈、网络漏洞、计算机病毒、网络攻击、网络侵入等安全风险,更准确地识别违反法律法规或平台相关协议规则的情况,我们可能使用或整合您的账户信息、交易信息、设备信息、有关网络日志以及我们取得您授权或依据法律共享的信息,来进行身份验证、检测及防范安全事件,并依法采取必要的记录、审计、分析、处置措施。
-
4. 其他用途
-
我们将信息用于本声明和政策未载明的其他用途,或者将基于特定目的收集而来的信息用于其他目的时,会事先征求您的同意。
-
5. 征得授权同意的例外
-
根据相关法律法规规定,以下情形中收集您的个人信息无需征得您的授权同意:
-
1、与国家安全、国防安全有关的;
-
2、与公共安全、公共卫生、重大公共利益有关的;
-
3、与犯罪侦查、起诉、审判和判决执行等有关的;
-
4、出于维护个人信息主体或其他个人的生命、财产等重大合法权益但又很难得到您本人同意的;
-
5、所收集的个人信息是您自行向社会公众公开的;
-
6、从合法公开披露的信息中收集个人信息的,如合法的新闻报道、政府信息公开等渠道;
-
7、根据您的要求签订合同所必需的;
-
8、用于维护所提供的产品或服务的安全稳定运行所必需的,例如发现、处置产品或服务的故障;
-
9、为合法的新闻报道所必需的;
-
10、学术研究机构基于公共利益开展统计或学术研究所必要,且对外提供学术研究或描述的结果时,对结果中所包含的个人信息进行去标识化处理的;
-
11、法律法规规定的其他情形。
-
如我们停止平台的产品或服务,我们将及时停止继续收集您个人信息的活动,对所持有的个人信息进行删除或匿名化处理。
-
6. 设备权限调用:在向您提供服务的过程中,为了实现特定的产品功能,我们会向您的设备系统申请调用以下设备权限,申请前我们会征询您的同意,您可以选择“允许”或者“禁止”权限申请。申请成功后,您可以随时进入手机“设置-权限管理”中关闭相应权限,不过权限关闭后有关产品功能可能无法正常使用,请您理解:
-
(1) 位置
-
您需要授权我们使用位置权限,以便于我们基于位置向您展示、推送急救资源,显示医院位置等信息。您在首次打开移动平台和使用相关业务时会看到弹窗提醒,询问您是否授权。
-
(2) 通讯录
-
在视话咨询时为保护医生和员工双方个人信息安全,我们提供中转电话服务。您需要授权我们使用通讯录权限,以便于我们对此电话进行标识。您在使用相应功能时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常在视话咨询中使用电话进行沟通。
-
(3) 相机、相册
-
您需要授权我们使用相机权限,以便于使用我们的核心业务功能,如在咨询中发送图片或视频通话。您在使用相应功能时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常在咨询中进行视频通话。
-
(4) 通知栏
-
您需要授权我们使用通知权限,以便于使用所有基于此权限实现的功能,如咨询状态、体检报告等各类消息提醒。您在首次打开移动平台时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常获取各类消息提醒。
-
(5) 存储
-
您需要授权我们使用存储权限,以便于在急救和咨询时候使用发送文件、图片、照片等功能,同时我们的移动平台可以写入、存储员工信息和日志等。您在首次打开移动平台和使用相应功能时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常使用使用移动平台。
-
(6) 麦克风
-
您需要授权我们使用麦克风权限,以便于使用我们的核心业务功能,如在咨询咨询中发送语音消息或视频通话。您在使用相应功能时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常在咨询中进行视频通话。
-
(7) 悬浮窗
-
您需要授权我们使用悬浮窗权限,当您在咨询/应急业务时正在进行语音/音视频通话时候您可切换APP继续使用手机其他功能。您在使用相应功能时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常在咨询中进行视频通话。
-
设备权限 使用目的
-
存储 聊天过程中发送和接收相关文件
-
相机 应急请求和咨询专家业务聊天过程中发送图片
-
相册 应急请求和咨询专家业务聊天过程中发送图片
-
位置 用于向用户提供地图上的资源数据,聊天发送位置
-
麦克风(音频) 与专家音视频交流、聊天语音输入,拍摄视频
-
悬浮窗 在其他程序页面仍能保持应用内通话
-
短信 获取验证码修改密码
-
通知栏 对您在系统内使用的业务(如预约体检、专家咨询),及时进行通知
-
拨打电话 在查看地图资源发起急救时候,跳转手机拨打电话
-
日历 找专家进行咨询、预约专家,大病就医挂号医院,预约去医院体检的日期需访问日历
-
请您注意,您开启以上权限即代表您授权我们可以收集和使用这些个人信息来实现上述的功能,您关闭权限即代表您取消了这些授权,则我们将不再继续收集和使用您的这些个人信息,也无法为您提供上述与这些授权所对应的功能。您关闭权限的决定不会影响此前基于您的授权所进行的个人信息的处理。除此以外,我们在相关业务功能中可能还需要您开启设备的其他访问权限,详细权限和使用目的如下:
-
(1)访问网络权限:实现应用程序联网
-
(2)获取WiFi状态权限:监控网络变化,提示用户当前网络环境
-
(3)获取网络状态权限:监控网络变化,提示用户当前网络环境
-
(4)使用振动权限:允许手机振动
-
(5)唤醒锁定权限:允许程序在手机屏幕关闭后后台进程仍然运行,保持屏幕唤醒
-
(6)结束系统任务权限:重新启动应用
-
(7)修改声音设置权限:修改全局音频设置,例如调节音量和用于输出的扬声器
-
(8)使用蓝牙权限:小程序蓝牙功能模块使用
-
(9)蓝牙管理权限:小程序蓝牙功能模块使用
-
(10)悬浮窗权限:观看直播、短视频悬浮窗播放
-
(11)支持后台访问位置权限:保持持续定位能力
-
(12)读写系统设置权限:允许应用读写系统设置项
-
(13)获取任务信息权限:允许应用获取当前或最近运行的应用
-
(14)改变WiFi状态权限:允许应用改变WiFi状态
-
(15)改变网络连接状态:允许应用改变网络连接状态
-
四、我们如何使用 Cookie 和同类技术
-
1. 4.1 Cookie
-
为确保网站正常运转、为您获得更轻松的访问体验、向您推荐您可能感兴趣的内容,我们会在您的计算机或移动设备上存储名为 Cookie 的小数据文件。Cookie 通常包含标识符、站点名称以及一些号码和字符。借助于 Cookie,网站能够记住您的选择,提供个性化增强服务等。
-
您可根据自己的偏好管理或删除Cookie。有关详情,请参见 AboutCookies.org。您可以清除计算机上保存的所有 Cookie,大部分网络浏览器都设有阻止 Cookie 的功能。但如果您这么做,则需要在每一次访问平台时更改员工设置。如需详细了解如何更改浏览器设置,请访问您使用的浏览器的相关设置页面。
-
2. 4.2 网站信标和像素标签
-
除 Cookie 外,我们还会在网站上使用网站信标和像素标签等其他同类技术。例如,我们向您发送的电子邮件可能含有链接至我们网站内容的地址链接,如果您点击该链接,我们则会跟踪此次点击,帮助我们了解您的服务偏好以便于我们主动改善服务体验。网站信标通常是一种嵌入到网站或电子邮件中的透明图像。借助于电子邮件中的像素标签,我们能够获知电子邮件是否被打开。
-
五、我们如何共享、转让、公开披露您的个人信息
-
1. 共享
-
我们不会与平台服务提供者以外的任何公司、组织和个人分享您的个人信息,但以下情况除外:
-
1、在获取明确同意的情况下共享:获得您的明确同意后,我们会与其他方共享您的个人信息。
-
2、我们可能会根据法律法规规定,或按政府主管部门的强制性要求,对外共享您的个人信息。
-
3、与授权合作机构共享:仅为实现本声明和政策中声明的目的,我们的某些服务将由授权合作机构提供。我们可能会与合作机构共享您的某些个人信息,以提供更好的服务和员工体验。我们仅会出于合法、正当、必要、特定、明确的目的共享您的个人信息,并且只会共享提供服务所必要的个人信息。我们的合作机构无权将共享的个人信息用于任何其他用途。
-
目前,我们的授权合作机构包括以下类型:
-
(1)分析服务类的授权合作机构。除非得到您的许可,否则我们不会将您的个人身份信息(指可以识别您身份的信息,例如姓名或电子邮箱,通过这些信息可以联系到您或识别您的身份)与提供分析服务的合作机构分享。我们会向这些合作机构提供有关其服务覆盖面和有效性的信息,而不会提供您的个人身份信息,或者我们将这些信息进行汇总,以便它不会识别您。
-
(2)服务提供方和其他合作机构。我们将信息发送给支持我们业务的服务提供方和其他合作机构,这些支持包括提供技术基础设施服务、分析我们服务的使用方式、衡量服务的有效性、提供员工服务、支付便利或进行学术研究和调查。
-
对我们与之共享个人信息的机构,我们会与其签署严格的保密协定,要求他们按照我们的说明、声明和政策以及其他任何相关的保密和安全措施来处理个人信息。
-
2. .转让
-
除以下情形外,我们不会将您的个人信息转让给任何公司、组织或个人:
-
(1)事先获得您的明确同意的;
-
(2)根据法律法规规定,或者政府主管部门、司法机关的强制要求必须对外转让的;
-
(3)涉及公司合并、分立、解散、资产或业务转让、破产清算或类似的交易时,若涉及到您的个人信息转让,我们会要求新持有您个人信息的公司、组织或个人继续受本政策的约束,否则我们将要求该等公司、组织或个人重新取得您的授权同意。
-
3. 公开披露
-
除以下情形外,我们不会公开披露您的个人信息:
-
(1)事先获得您的明确同意的;
-
(2)根据法律法规规定,或者政府主管部门、司法机关的强制要求必须公开披露的。在符合法律法规的前提下,当我们收到上述披露信息的请求时,我们会要求必须出具与之相应的法律文件,如传票或调查函。我们坚信,对于要求我们提供的信息,应该在法律允许的范围内尽可能保持透明。我们对所有的请求都将进行慎重的审查,以确保其具备合法依据,且仅限于执法部门因特定调查目的且有合法权利获取的数据。
-
4. 共享、转让、公开披露个人信息授权同意的例外
-
根据相关法律法规的规定,在以下情形中,我们可以在不征得您的授权同意的情况下共享、转让、公开披露您的个人信息:
-
A.与国家安全、国防安全有关的;
-
B.与公共安全、公共卫生、重大公共利益有关的;C.与犯罪侦查、起诉、审判和判决执行等有关的;
-
D.出于维护您或其他个人的生命、财产等重大合法权益但又很难得到本人同意的;
-
E.您自行向社会公众公开的个人信息;
-
F.从合法公开披露的信息中收集到的个人信息的,如合法的新闻报道、政府信息公开等渠道。
-
G.法律法规规定的其他情形。
-
根据法律规定,共享、转让经去标识化处理的个人信息,且确保数据接收方无法复原并重新识别个人信息主体的,不属于个人信息的对外共享、转让及公开披露行为,对此类数据的保存及处理将无需另行向您通知并征得您的同意。
-
六、员工业务数据和公开信息
-
不同于您的个人信息,对于员工业务数据和公开信息,平台将按如下方式处理:
-
1. 员工业务数据
-
1、您通过平台提供的服务,加工、存储、上传、下载、分发以及通过其他方式处理的数据,均为您的员工业务数据。平台作为服务提供者,只会严格执行您的指示处理您的业务数据,除按与您协商一致或执行明确的法律法规要求外,不对您的业务数据进行任何非授权的使用或披露。
-
2、您应对您的员工业务数据来源及内容负责,平台提示您谨慎判断数据来源及内容的合法性。因您的员工业务数据内容违反法律法规、部门规章或国家政策而造成的全部结果及责任均由您自行承担。
-
3、根据您与平台协商一致,平台在您选定的数据中心存储员工业务数据。我们恪守对员工的安全承诺,根据适用的法律保护员工存储在平台数据中心的数据。
-
2. 公开信息
-
1、公开信息是指您公开分享的任何信息,任何人都可以在使用和未使用平台服务期间查看或访问这些信息。例如您在社区、论坛发布的信息。
-
2、为使用平台的服务,可能存在您必须公开分享的信息。
-
七、我们如何保护您的个人信息
-
1.我们已使用符合业界标准的安全防护措施保护您提供的个人信息,防止您的个人信息遭到未经授权访问、使用、修改、公开披露、损坏或丢失。我们会采取一切合理可行的措施,保护您的个人信息,比如:
-
(1)我们设立了网络安全和个人信息保护机构,专门负责网络安全和个人信息保护事务;
-
(2)我们的网络服务采取了传输层安全协议等加密技术,通过https等方式提供浏览服务,确保用户数据在传输过程中的安全;
-
(3)我们采取MD5、SHA256等加密技术对您的个人信息进行加密存储,增强个人信息在使用中的安全性;
-
(4)我们采用严格的数据访问权限控制和多重身份认证技术保护个人信息,避免数据被违规使用;
-
(5)我们采用代码安全检查、数据访问日志分析技术进行个人信息安全审计;
-
(6)我们建立了客户信息保护管理规定、客户信息分级分类管理规定、日常操作规程等一系列管理制度来规范个人信息的存储和使用;
-
(7)我们定期举办信息安全和个人信息保护培训课程,加强员工对于个人信息保护重要性的认识;
-
(8)我们与所有可能接触个人信息的员工签订了保密协议,对关键岗位人员进行背景审查,并建立了严格的访问权限控制、权限审批流程和监控、审计机制;
-
(9)我们与所有可能接触用户个人信息的合作伙伴均签署了严格的保密协议或数据保护专用条款,并要求可能接触到您个人信息的所有人员履行相应的保密和数据保护义务。如果第三方合作伙伴未履行保密和数据保护义务,可能会被我们追究法律责任并被我们终止合作;
-
2.我们已经通过了国家信息安全等级保护测评和备案,最高备案等级为二级。
-
3.我们会采取一切合理可行的措施,确保未收集无关的个人信息。我们只会在达成本政策所述目的所需的期限内保留您的个人信息,除非需要延长保留期或者受到法律允许。
-
4.互联网并非绝对安全的环境,而且电子邮件、即时通讯、社交软件等与其他用户的交流方式无法确定是否完全加密,我们强烈建议您不用通过此类方式发送个人信息。若确需使用,在使用此类工具时请使用复杂密码,并注意保护您的个人信息安全。我们将尽力保障您个人信息的安全性。如果我们的物理、技术、或管理防护设施遭到破坏,导致信息被非授权访问、公开披露、篡改、或毁坏,导致您的合法权益受损,我们将全力配合保护您的权益,并依法承担我们应承担的赔偿责任。
-
5.在不幸发生个人信息安全事件后,我们将按照法律法规的要求及时向您告知安全事件的基本情况和可能的影响、我们已采取或将采取的处置措施、您可自主防范和降低风险的建议、对您的补救措施等。我们将及时将事件相关情况以邮件、信函、电话、推送通知等方式告知您,难以逐一告知时,我们会采取合理、有效的方式发布公告。同时,我们还将按照监管部门要求,主动上报个人信息安全事件的处置情况。
-
八、您如何管理您的个人信息(您的权力)
-
您可以通过以下方式访问及管理您的个人信息:
-
8.1 访问您的个人信息
-
您的账号信息:您可在“我的”中查询您的账户、姓名、性别、手机、身份证号、工作信息、健康类型、学历、工号、工种、住址,紧急联系人的姓名、电话等。
-
您和您亲属的健康信息:您可在“咨询人管理”中查询您和您亲属手机号码、患者姓名、性别、出生日期、与患者的关系、身高体重、所在城市;健康信息:病症、患病时长、体检报告、住院记录、诊治情况、用药记录、以往病史、过敏信息、家族史、患病史等健康信息。
-
您的订单、工单信息:您可在“我的-我的咨询”、“我的-我的应急工单”、“我的-大病就医工单”、“健康体检-体检预约”等各个业务的对应入口查看、评价订单和工单信息。
-
您的体检报告:你可在“健康体检-体检报告”和“健康档案-健康现状”、“健康档案-体检数据分析”查看个人的体检报告详情和重点指标的分析。
-
对于您在使用我们的产品或服务过程中向我们提供或产生的其他信息,只要我们不需要过多投入,我们会向您提供。您可以通过拨打我们的客服电话提出访问申请,我们将在30天内回复您的访问请求。
-
对于您在使用我们服务过程中产生的其他个人信息,我们将根据本条“8.9 响应您的上述请求”中的相关安排向您提供。
-
8.2 更正或补充您的个人信息
-
当您发现我们处理的您的个人信息有误或者您需要更正该等信息时,您可以通过内设置的自动更正功能、电子邮件或者拨打客服电话等方式进行修改或更正。您如果需要更正其他个人信息,可通过联系人工客服向我们提出更正申请。
-
可自主更正的信息:
-
账号信息:您可在“我的”中更新您的头像,紧急联系人的姓名、电话等。
-
您和您亲属的健康信息:您可在“咨询人管理”中更正您和您亲属手机号码、患者姓名、性别、出生日期、与患者的关系、身高体重、所在城市;健康信息:病症、患病时长、体检报告、住院记录、诊治情况、用药记录、以往病史、过敏信息、家族史、患病史等健康信息。
-
8.3 如何注销
-
您在我们的产品与/或服务页面中可以直接清除或删除的信息,包括浏览信息、紧急联系人信息、咨询人信息。
-
在以下情形中,您可以向我们提出删除个人信息的请求:
-
(1)如果我们处理个人信息的行为违反了法律法规的强制性规定;
-
(2)如果我们收集、使用您的个人信息,却未征得您的同意(依法无需征得同意的情况除外);
-
(3)如果我们处理个人信息的行为违反了与您的约定;
-
(4)如果您不再使用我们的产品或服务,或您注销了账号;
-
(5)如果我们不再为您提供产品或服务。
-
如果您想删除或注册账号:
-
(1)拨打客服热线电话029-86618899
-
(2)发送电子邮件至40115111@qq.com
-
(3)邮寄地址:陕西省西安市未央区欧亚大道丝路国际创意梦工场5号楼,收件人:许策
-
收到您的删除请求后,我们会根据您及相关法律法规的要求进行后续删除处理并向您反馈结果。若我们决定响应您的删除请求,我们还将同时通知从我们获得您的个人信息的实体,要求其及时删除,除非法律法规另有规定,或这些实体获得您的独立授权。
-
当您从我们的服务中删除信息后,我们可能不会立即备份系统中删除相应的信息,但会在备份更新时删除这些信息。
-
8.4 改变您授权同意的范围
-
您可以通过删除信息、关闭设备功能、在平台中进行隐私设置等方式改变您授权我们继续收集个人信息的范围或撤回您的授权。
-
请您理解,每个业务功能需要一些基本的个人信息才能得以完成(见本隐私权政策“我们如何收集和使用您的信息”)。当您收回同意后,我们将不再处理相应的个人信息。但您收回同意的决定,不会影响此前基于您的授权而开展的个人信息处理。
-
8.5 个人信息主体注销账户
-
在符合平台单项服务的服务协议约定条件及国家相关法律法规规定的情况下,您的该项平台服务帐号可能被注销或删除。当帐号注销或被删除后,与该帐号相关的、该单项服务项下的全部服务资料和数据将依照单项服务的服务协议约定删除或匿名化处理。
-
8.6 约束信息系统自动决策
-
在某些业务功能中,我们可能仅依据信息系统、算法等在内的非人工自动决策机制做出决定。如果这些决定显著影响您的合法权益,您有权要求我们做出解释,我们也将在不侵害平台保密或其他员工权益、社会公共利益的前提下提供申诉方法。
-
8.7约束信息系统自动决策
-
在某些业务功能中,我们可能仅依据信息系统、算法在内的非人工自动决策机制作出决定。如果这些决定显著影响您的合法权益,您有权要求我们作出解释,我们也将提供适当的救济方式。
-
8.8举报和投诉
-
如果您发现您的个人信息可能被泄露,或者我们的工作人员或合作伙伴在处理您的个人信息时有任何违法违规行为,您可以通过拨打客服热线或者发送电子邮件的方式向我们进行举报和投诉。
-
8.9 响应您的上述请求
-
为保障安全,您可能需要提供书面请求,或以其他方式证明您的身份。我们可能会先要求您验证自己的身份,然后再处理您的请求。我们将在15个工作日内做出答复。
-
对于那些无端重复、需要过多技术手段(例如,需要开发新系统或从根本上改变现行惯例)、给他人合法权益带来风险或者非常不切实际的请求,我们可能会予以拒绝。
-
在以下情形中,按照法律法规要求,我们将无法响应您的请求:
-
(1) 与国家安全、国防安全有关的;
-
(2) 与公共安全、公共卫生、重大公共利益有关的;
-
(3) 与犯罪侦查、起诉、审判和执行判决等有关的;
-
(4) 有充分证据表明个人信息主体存在主观恶意或滥用权利的;
-
(5) 响应您的请求将导致您或其他个人、组织的合法权益受到严重损害的;
-
(6) 涉及商业秘密的。
-
九、我们如何处理未成年人的个人信息
-
1.健康咨询员工端非常重视对未成年人个人信息的保护。若您是18周岁以下的未成年人,在使用我们的产品与/或服务前,应事先取得您监护人的同意。健康咨询员工端根据国家相关法律法规的规定保护未成年人的个人信息。
-
2.我们不会主动直接向未成年人收集其个人信息。对于经监护人同意而收集未成年人个人信息的情况,我们只会在受到法律允许、监护人同意或者保护未成年人所必要的情况下使用、共享、转让或披露此信息。
-
3.如果有事实证明未成年人在未取得监护人同意的情况下注册使用了我们的产品与/或服务,我们会与相关监护人协商,并设法尽快删除相关个人信息。
-
十、本声明和政策如何更新
-
我们的隐私政策可能变更。未经您明确同意,我们不会削减您按照声明和政策所应享有的权利。 我们会在本页面上发布对本声明和政策所做的任何变更。
-
对于重大变更,我们还会提供更为显著的通知(包括我们会通过网站公示的方式进行通知甚至向您提供弹窗提示)。
-
本声明和隐私所指的重大变更包括但不限于:
-
1、 我们的服务模式发生重大变化。如处理个人信息的目的、处理的个人信息类型、个人信息的使用方式等;
-
2、 我们在所有权结构、组织架构等方面发生重大变化。如业务调整等引起的所有者变更等;
-
3、 个人信息共享或公开披露的主要对象发生变化;
-
4、 您参与个人信息处理方面的权利及其行使方式发生重大变化;
-
5、 我们负责处理个人信息安全的责任部门、联络方式等发生变化时;
-
6、 个人信息安全影响评估报告表明存在高风险时。
-
7、 我们还会将本声明和隐私的旧版本存档,供您查阅。
-
十一、如何联系我们
-
1.如果您对本政策有任何疑问、意见或建议,可通过以下方式与我们联系:
-
(1)拨打客服热线电话029-86618899
-
(2)发送电子邮件至40115111@qq.com
-
(3)邮寄地址:陕西省西安市未央区欧亚大道丝路国际创意梦工场5号楼,收件人:许策
-
我们的客服部门将会同个人信息保护部门30天内进行回复,并协助解决您的问题。
-
2.如果您对我们的回复不满意,特别是我们的个人信息处理行为损害了您的合法权益,您还可以通过以下外部途径寻求解决方式:向网信、工商、公安等监管部门进行投诉或举报。
-
- - diff --git a/public/static/qhPrivacy.html b/public/static/qhPrivacy.html deleted file mode 100644 index 0e0a27a..0000000 --- a/public/static/qhPrivacy.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - 健康咨询员工端用户协议 - - - -
-

健康咨询员工端用户协议

-

软件使用许可协议(健康咨询员工端)

-

软件使用许可协议

-
欢迎使用我们的服务
-
本软件许可使用协议《健康咨询员工端平台服务协议》(以下称"本协议")由您与西安恒烨通企业管理咨询有限公司(以下称“西安恒烨通”)共同签署。
-
在使用“健康咨询员工端”软件(以下称许可软件)之前,请仔细阅读本协议。一旦您下载安装使用许可软件,即表示您同意接受本协议所有条款和条件的约束。如您不同意本协议条款和条件,请勿使用许可软件,并请销毁所有许可软件副本。
-
健康咨询员工端有权根据实际运营的情况对本协议不时进行调整,并以平台公告或电子邮件等书面形式通知您。修改后的协议于公示或邮件送达时生效。协议条款修改后,您继续使用许可软件的,即视为您已阅读并接受修改后的协议。
-
一、定义
-
1. 健康咨询员工端APP:是指由西安恒烨通开发的,供您从应用下载平台(以下称下载平台)下载,并仅限在手机等手持移动终端(以下称移动终端)中安装、使用的软件系统。
-
2. 健康咨询员工端服务:由西安恒烨通为您提供的服务。您可以通过许可软件在手持移动终端使用健康咨询员工端服务。
-
3. 用户:指阅读并同意本协议内容,经过健康咨询员工端在线注册程序成为健康咨询员工端在线各项服务使用者。(以下更多称为“您”)
-
二、服务说明
-
1. 本平台是一个集健康咨询功能的综合个人健康管理平台,为确保您能正常地使用平台的各项服务,您应当阅读并遵守本协议。请您务必审慎阅读、充分理解各条款内容,以及开通或使用某项服务的单独协议,并选择接受或不接受。
-
2. 除非您已阅读并接受本协议所有条款,否则您无权使用平台的各项服务(以下简称"本服务”)。您在平台的登录、查看、发布信息等行为即视为您已阅读并同意本协议的约束,包括接受更新后的本协议条款。当您与平台发生争议时,应以最新的服务协议为准。
-
3. 平台为您提供集健康咨询功能服务,为充分保护您对于平台提供的各项服务的知情权,平台就其提供的服务相关性、有效性以及限制性提供以下注册条款。平台在此特别提醒您,在您使用前已确实仔细阅读了本协议,如果您对本协议的任何条款或者将来随时可能修改、补充的条款有异议,您可选择不注册。
-
4. 您在使用服务过程中,根据声音、文字或图形等提示可以选择表示“同意”的操作,当您点选“同意”按钮时即视为您已仔细阅读本协议,同意接受本协议项下的所有条款,包括接受平台对本协议条款随时所做的任何修改,并愿意受其约束。之后方能按系统提示完成全部注册程序、问答程序、享受相关的各项电子服务。
-
5. 您在平台提问、搜索、提供各项电子信息、与其它员工交流及其他服务,即代表您已经同意本协议。
-
6. 本协议的条款适用于平台提供的各种服务,但当您使用平台某特定服务时,如该服务另有单独的服务条款、指引或规则,您应遵守本协议及平台随时公布的与该服务相关的服务条款、指引或规则等。前述所有的指引和规则,均构成本协议的一部分。除非本协议另有其他明示规定,新推出的服务、增加或强化目前本服务的新功能,均受到本协议之规范。
-
7. 如对本协议内容有任何疑问、意见或建议,您可与我们联系。
-
三、本协议的确认和接纳
-
1、平台的各项服务的所有权和运作权归西安恒烨通所有。您同意所有注册协议条款,才能成为平台平台的正式用户。您确认:本协议条款是处理双方权利义务的契约,始终有效,法律另有强制性规定或双方另有特别约定的,依其规定。
-
2、您点击注册登录,即视为您确认自己具有享受平台服务相应的权利能力和行为能力,能够独立承担法律责任。
-
3、平台通过互联网为您提供各项服务,并承担本协议和其它服务协议中对您的责任和义务。为使用本服务,您必须能够自行通过有法律资格的第三方对您提供互联网接入服务,并自行承担以下内容:
-
(1)自行配备上网所需的设备,包括手机、个人电脑、调制解调器及其他必要的设备装置。
-
(2)自行承担上网所需的相关必要费用,如:电话费用、网络费用等。
-
(3)本协议中规定的您的其他责任和义务。
-
4、您应保证:提供详尽、真实、准确和完整的个人资料以符合实名认证的要求。如果资料发生变动,您应及时更改。若您提供任何错误、不实、过时或不完整的资料,并为平台所确知,或者平台有合理理由怀疑前述资料为错误、不实、过时或不完整的资料,平台有权暂停或终止您的帐号,并拒绝现在或将来申请使用本服务的全部或一部分的请求。在此情况下,您可通过平台的申诉途径与平台取得联系并修正个人资料,经平台核实后恢复账号使用。
-
5、本务不会提供给被暂时中止或永久终止资格的平台员工。
-
6、平台会尽最大努力为员工提供服务,确保服务的连贯性和安全性;但平台不能随时预见和防范法律、技术以及其他风险,包括但不限于不可抗力、病毒、木马、黑客攻击、系统不稳定、第三方服务瑕疵、政府行为等原因可能导致的服务中断、数据丢失以及其他的损失和风险。
-
7、本协议依据国家相关法律法规规章制定,员工同意并遵守相关法律法规:
-
(1)不得传输或发表:煽动抗拒、破坏宪法和法律、行政法规实施的言论,煽动颠覆国家政权,推翻社会主义制度的言论,煽动分裂国家、破坏国家统一的的言论,煽动民族仇恨、民族歧视、破坏民族团结的言论;
-
(2)不得利用平台从事洗钱、窃取商业秘密、 窃取个人信息等违法犯罪活动;
-
(3)不得干扰平台的正常运转,不得侵入平台及国家计算机信息系统;
-
(5)不得传输或发表任何违法犯罪的、骚扰性的、中伤他人的、 辱骂性的、恐吓性的、伤害性的、庸俗的、 淫秽的、不文明的等信息资料;
-
(6)不得传输或发表损害国家社会公共利益和涉及国家安全的信息资料或言论;
-
(7)不得教唆他人从事本条所禁止的行为;
-
(8)不得发布任何侵犯他人著作权、商标权等知识产权或合法权利的内容。您应关注并遵守平台不时公布或修改的各类合法规则规定。平台保有删除各类不符合法律政策或不真实的信息内容而无须通知员工的权利。若您未遵守以上规定的,平台有权作出独立判断并采取暂停或关闭员工帐号等措施。您须对自己在网上的言论和行为承担法律责任。
-
-
四、员工管理
-
1、您使用本平台服务时,在平台上不得发表违法言论、不得违反公序良俗、不得使用攻击性语言恶意中伤他人,或作出虚假性陈述。您保证您在平台上提供的信息的真实性、合法性和有效性。您单独承担在平台上发布内容的一切相关责任。您使用或提供的服务应有适用于平台的地方法律、国家法律和国际法律标准。
-
2、您不得干扰或扰乱本平台提供的服务,不得盗用他人帐号,如有上述行为,您需对此行为造成的后果负责。
-
3、您应遵守所有使用本服务的各项协议、 规定、程序和惯。您须承诺不传输任何非法的、骚扰性的、中伤他人的、辱骂性的、恐吓性的、伤害性的、庸俗的,淫秽等信息内容。另外,您也不能传输任何教唆他人构成犯罪行为的内容;不能传输助长国内不利条件和涉及国家安全的内容;不能传输任何不符合当地法规、国家法律和国际法律的内容。
-
4、您不得发布任何不基于事实、虚构、夸大、引人误解的信息;不得发布涉及政治、性别、种族歧视或攻击他人的文字、图片、视频或语言等信息;不得发布有广告性质的内容;不得有其它涉及违反当地法规、国家法律和国际法律的行为。
-
5、您发布的文章、视频、资讯不得侵犯任何第三方的合法知识产权。
-
6、若您的行为不符合本协议的规定,平台有权做出独立判断,并立即停止向该您帐号提供服务。您需对自己在网上的行为承担法律责任。您若在平台上散布和传播反动、色情或其他违反国家法律的信息,平台的系统记录有可能作为您违反法律的证据。
-
7、您的授权行为:对平台而言,您帐号和密码是唯一验证您真实性的依据,只要使用了正确的您帐号和密码,无论是谁登录均视为已经得到您本人的授权。
-
五、员工保障
-
您同意保障和维护平台的利益,如果因为您违反有关法律、法规或本协议的任何规定而给平台或其他第三方造成任何损失,您统一承担由此产生的损害赔偿责任,其中包括平台为此而支付的律师费用。
-
-
六、您的帐号、密码和安全性
-
1、您一旦注册成功,成为平台的合法用户,将得到一个您的帐号和密码。您的帐号和密码由您负责保管。您要对任何以您帐号进行的活动和事件负全责,且您有权随时根据指示更改您的密码。若发现您的帐号有任何风险、非法使用或存在安全漏洞的情况,请立即通知平台。
-
2、 因黑客行为或您的保管疏忽等情况导致帐号、密码遭他人非法使用,平台不承担责任。平台将根据法律法规的要求,履行其作为移动互联网信息服务提供者应当履行的义务。
-
七、收费服务
-
1、如您使用平台的收费服务,请遵守相关的协议。
-
2、 请您在支付费用时,仔细阅读收费服务的相关协议,除协议约定的情况外,否则,平台将不予退费。退费的方式视支付方式的不同而不同。员工应严格依据退费方式及退费周期收回退款。
-
3、平台可能根据实际需要对收费服务的收费标准、方式进行修改和变更,平台也可能会对部分免费服务变更收费。如果您不同意上述修改、变更或付费内容,则应停止使用该服务。
-
八、服务暂停、变更与中止条款
-
1、鉴于移动互联网服务的特殊性,健康咨询员工端平台有权随时变更、中止或终上部分或全部的服务。如变更、中止或终止的服务属于免费服务,平台无需通知您,也无需对您或任何第三方承担任何责任。
-
2、您理解,因不可抗力、网络状况、通讯线路、用户自身过错等技术原因,或平台需要进行定期或不定期地对所提供的服务进行维护升级、对相关的设备进行检修或者维护,如因此类情况而造成本服务在合理时间内的中断,健康咨询员工端平台无需为此承担任何责任。
-
3、 如发生下列任何一种情形,平台有权随时中断或终止向您提供本协议项下的服务而无需对您或任何第三方承担任何责任:
-
(1)您违反国家有关法律法规或平台规定,侵害他人合法权益的;
-
(2)您提供的个人资料不真实;
-
(3)您违反本协议中的规定;
-
(4)您违反平台发布的政策;
-
(5)平台认为其他不适宜的地方。
-
九、结束服务
-
您或平台可随时根据员工管理的规范中断一项或多项本服务,平台无需对您或任何其他第三方负责。您对本协议的修改有异议,或对平台的服务不满,可以行使如下权利:
-
1、停止使用平台提供的服务。
-
2、通知平台停止对您帐号提供服务。停止为您提供服务后,您使用本服务的权利即刻终止,,平台不对您承担任何义务和责任。
-
十、隐私及个人信息的保护
-
1、保护您的隐私是平台的一项基本政策。
-
2、您的信任对平台非常重要,平台深知个人信息安全的重要性,平台将按照法律法规要求,采取安全保护措施,保护您的个人信息安全。
-
十一、知识产权条款
-
1、 您一旦接受本协议,即表明您在任何时间在平台发表的任何形式的信息内容(包括但不限于员工评价、员工咨询、各类话题文章等信息内容)产生的权利,如著作权财产权(包括并不限于:复制权、发行权、出租权、展览权、表演权、放映权、广播权、信息网络传播权、摄制权、改编权、翻译权、汇编权以及应当由著作权人享有的其他可转让权利), 全部独家且不可撤销地转让给平台所有,您同意平台有权就任何主体侵权而单独提起诉讼。
-
2、本协议已经构成《中华人民共和国著作权法》第二十五条(条文序号依照2011年版著作权法确定)及相关法律规定的著作财产权等权利转让书面协议,其效力及于您在平台上发布的任何受著作权法保护的作品内容,无论该等内容形成于本协议订立前还是本协议订立后。
-
3、您同意并已充分了解本协议的条款,承诺不将已发表于平台的信息,以任何形式发布或授权其它主体以任何方式使用(包括但限于在各类网站、媒体上使用)、
-
4、西安恒烨通是平台的制作者,拥有平台内容及资源的著作权等合法权利,受国家法律保护,有权不时地对本协议及平台的内容进行修改,并在平台张贴,无须另行通知您。在法律允许的最大限度范围内,平台对本协议及的内容拥有解释权。
-
5、除法律另有强制性规定外,未经平台明确的特别书面许可,任何单位或个人不得以任何方式非法地全部或部分复制、转载、引用、链接、抓取或以其他方式使用平台的信息内容,否则,平台有权追究其法律责任。
-
6、平台所刊登的资料信息(诸如文字、图表、标识、按钮图标、图像、声音文件片段、数字下载、数据编辑和软件),均是平台或其内容提供者的财产,受中国和国际版权法的保护。平台上所有内容的汇编是平台的排他财产,受中国和国际版权法的保护。平台上的所有软件都是平台的财产,受中国和国际版权法的保护。
-
十二、特别授权
-
您完全理解并不可撤销地授予平台下列权利:
-
1、一旦您向平台作出任何形式的承诺,且相关机构已确认您违反了该承诺,则平台有权依据您的承诺或协议约定的方式对您的账户采取限制措施,包括中止或终止向您提供服务,并向相关机构确认的您的违约情况。您了解并同意,平台无须就相关违约事项与您核对事实,或另行征得您的同意,且平台无须就此限制措施或公示行为向您或任何第三方承担任何的责任。
-
2、一旦您违反本协议、或与平台签订其他协议的约定,平台有权或以任何方式通知其他相关平台服务,要求其对您的权益采取限制措施,包括但不限于要求中止、终止对您提供的部分或全部服务。
-
3、您授权平台使用您注册、使用本平台服务过程中产生的信息,并允许平台通过短信、邮件、电话或其他形式向您传送平台提供的服务。您同意接受平台通过短信、邮件、电话或其他形式向您发送活动、服务等信息。如果您不需要平台提供的部分或全部服务的活动、服务,您可向平台提出申请中止、终止对您提供的该部分或全部服务。
-
十三、平台拒绝提供担保
-
1、您对移动网络服务的使用承担风险,并承担因为使用移动网络服务而产生的一切后果。平台对此不作任何类型的担保,不论是明确的或隐含的,但是不对商业性的隐含担保、特定目的和不违反规定的适当担保作限制。
-
2、平台不担保提供的服务一定能完全满足您的要求,也不担保本服务不会受网络、通信等原因而中断,对服务的及时性、安全性、错误程序的发生都不作担保。
-
3、平台因受合作医疗机构等资源限制,就您所提的请求不担保服务一定能够成功。
-
4、您不能从平台得到口头或书面的意见或信息(增加除外条款,而并非全部),平台也不会在此做明确担保。
-
5、除非另有明确的书面说明,平台不对平台上的信息、内容、材料、包括软件或服务作任何形式的、明示或联示的声明或担保(根据中华人民共和国法律另有规定的以外)
-
6、如因不可抗力或其它无法控制的原因使平台系统崩溃或无法正常使用导致无法完成或丢失有关的服务信息、记录等,平台会合理地尽力协助处理。
-
十四、责任限制
-
1、平台会尽最大努力为您提供服务,确保服务的连贯性和安全性;但平台不能随时预见和防范法律、技术以及其他风险,包括但不限于不可抗力病毒、木马、黑客攻击、系统不稳定第三方服务瑕疵、政府行为等原因可能导致的服务中断数据丢失以及其他的损失和风险。因平台所不能控制的事件而影响提供服务,平台无须承担任何责任。
-
2、因不正当使用网络服务,私自在网上进行交易,非法使用网络服务或您传送的信息有所变动等这些行为都有可能会导致平台的形象受损,所以平台事先提出这种损害的可能性。
-
3、平台所有信息仅供参考。平台不对因信息的不正确或遗漏导致的任何损失或损害承担责任。平台所提供的任何健康资讯,仅供参考,不能替代医生和其他医务人员的建议,如自行使用平台资料发生偏差,平台不承担任何法律责任。
-
4、平台拒绝回复的问题,包括但不限于如下情况:
-
(1)动物疾病问题、社会意识形态问题等;
-
(2)医疗司法举证或询证问题;
-
(3)胎儿性别鉴定问题;
-
(4)有危害他人/自己可能的问题;
-
(5) 追问医生个人信息的问题;
-
(6) 故意挑逗、侮辱医生的提问。
-
5、平台保留对本声明作出不定时修改的权利。
-
十五、协议修改
-
根据国家法律法规变化及网络运营需要,本协议即时生效,并对条款不时地进行修改。您可随时登陆查阅最新协议;您有义务不时关注并阅读最新版的协议及平台公告;如您使用平台提供服务,即视为同意更新后的协议。建议您在使用平台之前阅读本协议。
-
十六、其他
-
1、平台尊重您的合法权利,本协议及平台上发布的各类规则、声明等其他内容,均是为了更好地、更加便利地为您提供服务。平台欢迎您和社会各界提出意见和建议,平台将虚心接受并适时修改本协议及平台的各类规则。
-
2、您使用平台服务即视为您完全接受本协议,在“登录"之前请您再次确认已知悉并完全理解本协议的全部内容。
- -
- - diff --git a/public/static/zAgreement.html b/public/static/zAgreement.html deleted file mode 100644 index e675fef..0000000 --- a/public/static/zAgreement.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - 隐私权政策 - - - -
-

隐私权政策

-
本平台由西安仁康信息科技有限公司开发和运维,平台深知个人信息对您的重要性,并会尽全力保护您的个人信息安全可靠。我们致力于维持您对我们的信任,恪守以下原则,保护您的个人信息:权责一致原则、目的明确原则、选择同意原则、最少够用原则、确保安全原则、主体参与原则、公开透明原则等。同时,我们承诺将采取相应的安全保护措施来保护您的个人信息。请在使用平台服务前,仔细阅读并了解本隐私权政策,我们将按照本政策收集、处理及披露您的信息。
-
本政策将帮助您了解以下内容:
-
1、定义
-
2、我们可能收集的信息
-
3、我们如何收集和使用您的个人信息
-
4、我们如何使用 Cookie 和同类技术
-
5、我们如何共享、转让、公开披露您的个人信息
-
6、员工业务数据和公开信息
-
7、我们如何保护您的个人信息
-
8、您如何管理您的个人信息
-
9、我们如何处理未成年人的个人信息
-
10、本声明和政策如何更新
-
11、如何联系我们
-
一、定义
-
1. 个人信息:
-
指以电子或者其他方式记录的与已识别或者可识别的自然人有关的各种信息,不包括匿名化处理后的信息
-
2. 个人健康信息
-
指以电子或者其他方式记录的能够单独或者与其他信息结合识别特定自然人身份或者反映特定自然人活动情况的各种健康信息,一旦泄露或者非法使用,可能导致个人受到歧视或者人身、财产受到严重危害的个人信息,包括如姓名、出生日期、身份证件号码、体检信息、就医信息、住址、通讯联系方式、通信记录和内容、账号密码、行踪轨迹、民族、个人生物特征、医疗健康、金融账户、个人行踪、不满十四周岁未成年人信息等。
-
3. 未成年人:指不满18周岁的自然人。
-
4. 儿童:指不满14周岁的自然人。
-
5. 设备信息
-
包括设备标识符 (IMEI、IDFA、Android1D、MAC、OAID、IMSI、SIM 卡序列号 (ICCID) 、设备序列号及其他设备相关信息),应用信息 (应用崩溃信息、通知开关状态、运行中进程、应用安装列表及其他应用相关信息) ,设备参数及系统信息(设备类型、设备型号、操作系统及硬件相关信息),设备网络环境信息 (IP地址,WiFi信息,基站信息及其他网络相关信息),蓝牙信息,广播组件通讯信息,运营商信息,传感器 (陀螺仪、重力传感器、加速度传感器、环境传感器、光学心率传感器),剪切板。以产品实际采集情况为准。
-
6. 业务数据
-
不同于个人信息,是指平台员工利用平台的服务上传、下载、分发等通过平台的技术服务处理的数据。
-
二、我们可能收集的信息
-
我们提供服务时,可能会收集、储存和使用下列与个人有关的信息。如果您不提供相关信息,可能无法注册成为平台员工或无法享受平台的某些服务,或者无法达到相关服务拟达到的效果。
-
2.1 与个人身份无关
-
当您使用平台的服务时,我们可能收集和汇总诸如员工的来源途径、访问顺序、停留时间等信息,例如记录使用平台服务的每个员工的来源途径、浏览器软件等。
-
2.2 与个人身份有关
-
当您使用平台的服务时,我们可能收集和汇总或要求您提供有关个人身份的信息,例如:
-
(1) 个人身份证明(包括身份证图片和身份证号、手机号、邮箱等);
-
(2) 个人补充信息(姓名、生日、籍贯、性别、兴趣爱好、学历、个人联系电话、住址、工作信息、婚姻状况、健康状况、;
-
(3) 网络身份标识信息(包括系统账号、IP地址、电子邮箱地址及与前述有关的密码、口令、口令保护答案、个人数字证书等);
-
(4) 个人健康信息(包括:姓名、性别、出生日期、身高体重、就诊卡、所在城市,所患病症、患病时长、体检报告、住院记录、诊治情况、检验报告、体检报告、用药记录、以往病史、过敏信息、家族史、患病史等,和历史咨询记录。
-
(5) 相机、相册(设备的相机功能,以拍摄照片或录制视频);
-
(6) 麦克风(通话、发送录音文件);
-
(7) 悬浮窗(在其他程序页面仍能保持应用内通话);
-
(8) 日历(访问用户的日历,以便将预约信息添加到日历中);
-
(9) 存储(访问设备存储器中的文件、照片和视频);
-
(10) 个人上网记录和日志信息(包括网站浏览记录、软件使用记录、点击记录、操作日志等);
-
(11) 设备信息(包括设备型号、设备MAC地址、操作系统类型、设备设置);
-
(12) 软件列表唯一设备识别码(如IMEI/android ID/IDFA/OPENUDID/GUID、SIM卡IMSI信息等在内的描述个人常用设备基本情况的信息);
-
(13) 拨打电话(唤起手机拨号界面并自动填充电话)
-
(14) 个人位置信息(包括精准定位信息、经纬度等);
-
(15) 其他平台基于为您提供服务需要而收集或汇总的您的信息。
-
三、我们如何收集和使用您的个人信息
-
1. 您直接提供的信息:我们可能会收集您在健康咨询专家端注册账号、申请或使用我们的服务时填写,通过现场交谈、电话、视频或其他联系方式与我们联系时所提供的信息,以及您在使用我们服务过程中产生的与您的交易和活动有关的信息。
-
(1) 帮助您成为我们的一员
-
您需要向平台提供真实姓名、邮箱、有效身份证件(包括但不限于身份证)的号码,以便于我们进行实名认证。您可以修改和补充您的昵称、性别、生日、职级、职称、学历、亲属、紧急联系人、工作信息(单位部门)、婚姻状况、健康类型、兴趣爱好以及您的实名认证等一系列相关信息相关信息,这些信息均属于您的“账号信息”。您补充的账户信息将有助于我们为您提供与您信息更匹配的相关业务服务(急救协助、医院体检、健康知识推送等)。如果您不提供这些信息,可能会影响您对平台部分核心业务功能的正常使用,如咨询专家等,但不会影响您进行基本的浏览、搜索。如果您不提供这些信息,将会影响您使用平台的部分功能,如咨询专家,但不会影响您使用平台服务的基本浏览、搜索功能。在您主动注销账号时,我们将根据相关法律法规的要求尽快使其匿名或删除您的个人信息。
-
(2) 咨询专家
-
为便于您能够咨询专家,您需提供真实姓名、手机号、身份证号码、性别、出生日期、身高体重等信息。为更好地向您提供咨询服务解决您的问题,更加精准、快速地向您推荐医生,我们可能需要您在健康咨询时提供个人健康信息,例如:病症、患病时长、检验报告、体检报告、医院就诊信息、诊治情况、用药记录、以往病史、过敏信息、家族史、患病史等。如您不提供上述信息,将会影响您使用部分健康咨询等功能,但不影响您使用平台产品或服务的基本浏览、搜索功能。应急救援
-
(1) 您实名成为健康咨询专家端的用户后,若您或您的朋友发生了意外事件,你可以通过查看系统内的相关医疗资源,并向平台发起帮助请求。在此过程中,我们可能会通过您的基本信息和聊天功能获取您的手机号、您的紧急联系人姓名和联系 电话,位置、姓名、性别、年龄、健康状况、事故详情介绍的图文、音视频沟通的信息。搜索
-
(2) 搜索
-
为了让您快速地找到您所需要的专家、知识文章、软件功能、医院等,我们可能会收集您使用我们的产品记录为您提供这些信息展示的最优方式。我们也会为了不断改进和优化上述的功能来使用您的上述个人信息。
-
您也可以通过搜索来精准地找到您所需要的专家、医院、系统功能。我们会保留您的搜索内容以方便您重复输入或为您展示与您搜索内容相关联的产品或服务。
-
2. 我们在您使用服务过程中收集的信息
-
为向您提供更契合您需求的页面展示和搜索结果、了解服务适配性、识别账号异常状态,我们会收集关于您使用的服务以及使用方式的信息并将这些信息进行关联,这些信息包括:
-
设备信息:我们会根据您在软件安装及使用中授予的具体权限,接收并记录您所使用的设备相关信息(例如设备型号、操作系统版本、设备设置、唯一设备标识符等软硬件特征信息)、设备所在位置相关信息(例如IP 地址、GPS位置以及能够提供相关信息的Wi-Fi 接入点、蓝牙和基站等传感器信息)。
-
日志信息:当您使用我们的网站或用户端提供的服务时,我们会自动收集您对我们服务的详细使用情况,作为有关网络日志保存。例如您的搜索查询内容、IP地址、浏览器的类型、电信运营商、使用的语言、访问日期和时间及您访问的网页记录等。
-
请注意,单独的设备信息、日志信息等是无法识别特定自然人身份的信息。如果我们将这类非个人信息与其他信息结合用于识别特定自然人身份,或者将其与个人信息结合使用,则在结合使用期间,这类非个人信息将被视为个人信息,除取得您授权或法律法规另有规定外,我们会将该类个人信息做匿名化、去标识化处理。
-
为展示您的健康信息,我们会收集您在使用我们服务过程中产生的健康咨询详情(包括但不限于图片、文字、视频、语音)、预约挂号记录、咨询记录、个人健康信息、检查检验、医生诊断结果等用于向您展示及便于您对信息进行管理。
-
当您与我们联系时,我们可能会保存您的通信/通话记录和内容或您留下的联系方式等信息,以便与您联系或帮助您解决问题,或记录相关问题的处理方案及结果。
-
3. 我们通过间接获得方式收集到的您的个人信息
-
我们可能从第三方获取您授权共享的账户信息(头像、昵称、联系方式),并在您同意声明和政策后将您的第三方账户与您的账户绑定,使您可以通过第三方账户直接登录并使用平台服务。我们会将依据与第三方的约定、对个人信息来源的合法性进行确认后,在符合相关法律和法规规定的前提下,使用您的这些个人信息。
-
如您拒绝提供上述信息或拒绝授权,可能无法使用我们的相应服务,或者无法展示相关信息,但不影响使用平台的健康咨询等核心服务。
-
为您提供安全保障
-
请注意,为向您提供更好的安全保障,您可以向我们提供姓名、身份证、就诊卡、邮箱等身份信息完成实名认证。如您拒绝提供上述信息,可能无法预约或咨询特定专家、继续可能存在风险的操作等,但不会影响您使用浏览、搜索等服务。
-
为提高您使用我们提供服务的安全性,更好地预防钓鱼网站、欺诈、网络漏洞、计算机病毒、网络攻击、网络侵入等安全风险,更准确地识别违反法律法规或平台相关协议规则的情况,我们可能使用或整合您的账户信息、交易信息、设备信息、有关网络日志以及我们取得您授权或依据法律共享的信息,来进行身份验证、检测及防范安全事件,并依法采取必要的记录、审计、分析、处置措施。
-
4. 其他用途
-
我们将信息用于本声明和政策未载明的其他用途,或者将基于特定目的收集而来的信息用于其他目的时,会事先征求您的同意。
-
5. 征得授权同意的例外
-
根据相关法律法规规定,以下情形中收集您的个人信息无需征得您的授权同意:
-
1、与国家安全、国防安全有关的;
-
2、与公共安全、公共卫生、重大公共利益有关的;
-
3、与犯罪侦查、起诉、审判和判决执行等有关的;
-
4、出于维护个人信息主体或其他个人的生命、财产等重大合法权益但又很难得到您本人同意的;
-
5、所收集的个人信息是您自行向社会公众公开的;
-
6、从合法公开披露的信息中收集个人信息的,如合法的新闻报道、政府信息公开等渠道;
-
7、根据您的要求签订合同所必需的;
-
8、用于维护所提供的产品或服务的安全稳定运行所必需的,例如发现、处置产品或服务的故障;
-
9、为合法的新闻报道所必需的;
-
10、学术研究机构基于公共利益开展统计或学术研究所必要,且对外提供学术研究或描述的结果时,对结果中所包含的个人信息进行去标识化处理的;
-
11、法律法规规定的其他情形。
-
如我们停止平台的产品或服务,我们将及时停止继续收集您个人信息的活动,对所持有的个人信息进行删除或匿名化处理。
-
6. 设备权限调用:在向您提供服务的过程中,为了实现特定的产品功能,我们会向您的设备系统申请调用以下设备权限,申请前我们会征询您的同意,您可以选择“允许”或者“禁止”权限申请。申请成功后,您可以随时进入手机“设置-权限管理”中关闭相应权限,不过权限关闭后有关产品功能可能无法正常使用,请您理解:
-
(1) 位置
-
您需要授权我们使用位置权限,以便于我们基于位置向您展示、推送急救资源,显示医院位置等信息。您在首次打开移动平台和使用相关业务时会看到弹窗提醒,询问您是否授权。
-
(2) 通讯录
-
在视话咨询时为保护医生和员工双方个人信息安全,我们提供中转电话服务。您需要授权我们使用通讯录权限,以便于我们对此电话进行标识。您在使用相应功能时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常在视话咨询中使用电话进行沟通。
-
(3) 相机、相册
-
您需要授权我们使用相机权限,以便于使用我们的核心业务功能,如在咨询中发送图片或视频通话。您在使用相应功能时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常在咨询中进行视频通话。
-
(4) 通知栏
-
您需要授权我们使用通知权限,以便于使用所有基于此权限实现的功能,如咨询状态、体检报告等各类消息提醒。您在首次打开移动平台时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常获取各类消息提醒。
-
(5) 存储
-
您需要授权我们使用存储权限,以便于在急救和咨询时候使用发送文件、图片、照片等功能,同时我们的移动平台可以写入、存储员工信息和日志等。您在首次打开移动平台和使用相应功能时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常使用使用移动平台。
-
(6) 麦克风
-
您需要授权我们使用麦克风权限,以便于使用我们的核心业务功能,如在咨询咨询中发送语音消息或视频通话。您在使用相应功能时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常在咨询中进行视频通话。
-
(7) 悬浮窗
-
您需要授权我们使用悬浮窗权限,当您在咨询/应急业务时正在进行语音/音视频通话时候您可切换APP继续使用手机其他功能。您在使用相应功能时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常在咨询中进行视频通话。
-
设备权限 使用目的
-
存储 聊天过程中发送和接收相关文件
-
相机 应急请求和咨询专家业务聊天过程中发送图片
-
相册 应急请求和咨询专家业务聊天过程中发送图片
-
位置 用于向用户提供地图上的资源数据,聊天发送位置
-
麦克风(音频) 与专家音视频交流、聊天语音输入,拍摄视频
-
悬浮窗 在其他程序页面仍能保持应用内通话
-
短信 获取验证码修改密码
-
通知栏 对您在系统内使用的业务(如预约体检、专家咨询),及时进行通知
-
拨打电话 在查看地图资源发起急救时候,跳转手机拨打电话
-
日历 找专家进行咨询、预约专家,大病就医挂号医院,预约去医院体检的日期需访问日历
-
请您注意,您开启以上权限即代表您授权我们可以收集和使用这些个人信息来实现上述的功能,您关闭权限即代表您取消了这些授权,则我们将不再继续收集和使用您的这些个人信息,也无法为您提供上述与这些授权所对应的功能。您关闭权限的决定不会影响此前基于您的授权所进行的个人信息的处理。除此以外,我们在相关业务功能中可能还需要您开启设备的其他访问权限,详细权限和使用目的如下:
-
(1)android.permission.INTERNET(访问网络权限):实现应用程序联网
-
(2)android.permission.ACCESS_WIFI_STATE(获取WiFi状态权限):监控网络变化,提示用户当前网络环境
-
(3)android.permission.ACCESS_NETWORK_STATE(获取网络状态权限):监控网络变化,提示用户当前网络环境
-
(4)android.permission.VIBRATE(使用振动权限):允许手机振动
-
(5)android.permission.WAKE_LOCK(唤醒锁定权限):允许程序在手机屏幕关闭后后台进程仍然运行,保持屏幕唤醒
-
(6)android.permission.RESTART_PACKAGES(结束系统任务权限):重新启动应用
-
(7)android.permission.MODIFY_AUDIO_SETTINGS(修改声音设置权限):修改全局音频设置,例如调节音量和用于输出的扬声器
-
(8)android.permission.BLUETOOTH(使用蓝牙权限):小程序蓝牙功能模块使用
-
(9)(android.permission.BLUETOOTH_ADMIN)(蓝牙管理权限):小程序蓝牙功能模块使用
-
(10)android.permission.SYSTEM_ALERT_WINDOW(悬浮窗权限):观看直播、短视频悬浮窗播放
-
(11) android.permission.ACCESS_BACKGROUND_LOCATION(支持后台访问位置权限):保持持续定位能力
-
(12)android.permission.WRITE SYSTEM(读写系统设置权限):允许应用读写系统设置项
-
(13)android.permission.GET_TASKS(获取任务信息权限):允许应用获取当前或最近运行的应用
-
(14)android.permission.CHANGE_WIFI_STATE(改变WiFi状态权限):允许应用改变WiFi状态
-
(15)android.permission.CHANGE_NETWORK_STATE(改变网络连接状态):允许应用改变网络连接状态
-
四、我们如何使用 Cookie 和同类技术
-
1. 4.1 Cookie
-
为确保网站正常运转、为您获得更轻松的访问体验、向您推荐您可能感兴趣的内容,我们会在您的计算机或移动设备上存储名为 Cookie 的小数据文件。Cookie 通常包含标识符、站点名称以及一些号码和字符。借助于 Cookie,网站能够记住您的选择,提供个性化增强服务等。
-
您可根据自己的偏好管理或删除Cookie。有关详情,请参见 AboutCookies.org。您可以清除计算机上保存的所有 Cookie,大部分网络浏览器都设有阻止 Cookie 的功能。但如果您这么做,则需要在每一次访问平台时更改员工设置。如需详细了解如何更改浏览器设置,请访问您使用的浏览器的相关设置页面。
-
2. 4.2 网站信标和像素标签
-
除 Cookie 外,我们还会在网站上使用网站信标和像素标签等其他同类技术。例如,我们向您发送的电子邮件可能含有链接至我们网站内容的地址链接,如果您点击该链接,我们则会跟踪此次点击,帮助我们了解您的服务偏好以便于我们主动改善服务体验。网站信标通常是一种嵌入到网站或电子邮件中的透明图像。借助于电子邮件中的像素标签,我们能够获知电子邮件是否被打开。
-
五、我们如何共享、转让、公开披露您的个人信息
-
1. 共享
-
我们不会与平台服务提供者以外的任何公司、组织和个人分享您的个人信息,但以下情况除外:
-
1、在获取明确同意的情况下共享:获得您的明确同意后,我们会与其他方共享您的个人信息。
-
2、我们可能会根据法律法规规定,或按政府主管部门的强制性要求,对外共享您的个人信息。
-
3、与授权合作机构共享:仅为实现本声明和政策中声明的目的,我们的某些服务将由授权合作机构提供。我们可能会与合作机构共享您的某些个人信息,以提供更好的服务和员工体验。我们仅会出于合法、正当、必要、特定、明确的目的共享您的个人信息,并且只会共享提供服务所必要的个人信息。我们的合作机构无权将共享的个人信息用于任何其他用途。
-
目前,我们的授权合作机构包括以下类型:
-
(1)分析服务类的授权合作机构。除非得到您的许可,否则我们不会将您的个人身份信息(指可以识别您身份的信息,例如姓名或电子邮箱,通过这些信息可以联系到您或识别您的身份)与提供分析服务的合作机构分享。我们会向这些合作机构提供有关其服务覆盖面和有效性的信息,而不会提供您的个人身份信息,或者我们将这些信息进行汇总,以便它不会识别您。
-
(2)服务提供方和其他合作机构。我们将信息发送给支持我们业务的服务提供方和其他合作机构,这些支持包括提供技术基础设施服务、分析我们服务的使用方式、衡量服务的有效性、提供员工服务、支付便利或进行学术研究和调查。
-
对我们与之共享个人信息的机构,我们会与其签署严格的保密协定,要求他们按照我们的说明、声明和政策以及其他任何相关的保密和安全措施来处理个人信息。
-
2. .转让
-
除以下情形外,我们不会将您的个人信息转让给任何公司、组织或个人:
-
(1)事先获得您的明确同意的;
-
(2)根据法律法规规定,或者政府主管部门、司法机关的强制要求必须对外转让的;
-
(3)涉及公司合并、分立、解散、资产或业务转让、破产清算或类似的交易时,若涉及到您的个人信息转让,我们会要求新持有您个人信息的公司、组织或个人继续受本政策的约束,否则我们将要求该等公司、组织或个人重新取得您的授权同意。
-
3. 公开披露
-
除以下情形外,我们不会公开披露您的个人信息:
-
(1)事先获得您的明确同意的;
-
(2)根据法律法规规定,或者政府主管部门、司法机关的强制要求必须公开披露的。在符合法律法规的前提下,当我们收到上述披露信息的请求时,我们会要求必须出具与之相应的法律文件,如传票或调查函。我们坚信,对于要求我们提供的信息,应该在法律允许的范围内尽可能保持透明。我们对所有的请求都将进行慎重的审查,以确保其具备合法依据,且仅限于执法部门因特定调查目的且有合法权利获取的数据。
-
4. 共享、转让、公开披露个人信息授权同意的例外
-
根据相关法律法规的规定,在以下情形中,我们可以在不征得您的授权同意的情况下共享、转让、公开披露您的个人信息:
-
A.与国家安全、国防安全有关的;
-
B.与公共安全、公共卫生、重大公共利益有关的;C.与犯罪侦查、起诉、审判和判决执行等有关的;
-
D.出于维护您或其他个人的生命、财产等重大合法权益但又很难得到本人同意的;
-
E.您自行向社会公众公开的个人信息;
-
F.从合法公开披露的信息中收集到的个人信息的,如合法的新闻报道、政府信息公开等渠道。
-
G.法律法规规定的其他情形。
-
根据法律规定,共享、转让经去标识化处理的个人信息,且确保数据接收方无法复原并重新识别个人信息主体的,不属于个人信息的对外共享、转让及公开披露行为,对此类数据的保存及处理将无需另行向您通知并征得您的同意。
-
六、员工业务数据和公开信息
-
不同于您的个人信息,对于员工业务数据和公开信息,平台将按如下方式处理:
-
1. 员工业务数据
-
1、您通过平台提供的服务,加工、存储、上传、下载、分发以及通过其他方式处理的数据,均为您的员工业务数据。平台作为服务提供者,只会严格执行您的指示处理您的业务数据,除按与您协商一致或执行明确的法律法规要求外,不对您的业务数据进行任何非授权的使用或披露。
-
2、您应对您的员工业务数据来源及内容负责,平台提示您谨慎判断数据来源及内容的合法性。因您的员工业务数据内容违反法律法规、部门规章或国家政策而造成的全部结果及责任均由您自行承担。
-
3、根据您与平台协商一致,平台在您选定的数据中心存储员工业务数据。我们恪守对员工的安全承诺,根据适用的法律保护员工存储在平台数据中心的数据。
-
2. 公开信息
-
1、公开信息是指您公开分享的任何信息,任何人都可以在使用和未使用平台服务期间查看或访问这些信息。例如您在社区、论坛发布的信息。
-
2、为使用平台的服务,可能存在您必须公开分享的信息。
-
七、我们如何保护您的个人信息
-
1.我们已使用符合业界标准的安全防护措施保护您提供的个人信息,防止您的个人信息遭到未经授权访问、使用、修改、公开披露、损坏或丢失。我们会采取一切合理可行的措施,保护您的个人信息,比如:
-
(1)我们设立了网络安全和个人信息保护机构,专门负责网络安全和个人信息保护事务;
-
(2)我们的网络服务采取了传输层安全协议等加密技术,通过https等方式提供浏览服务,确保用户数据在传输过程中的安全;
-
(3)我们采取MD5、SHA256等加密技术对您的个人信息进行加密存储,增强个人信息在使用中的安全性;
-
(4)我们采用严格的数据访问权限控制和多重身份认证技术保护个人信息,避免数据被违规使用;
-
(5)我们采用代码安全检查、数据访问日志分析技术进行个人信息安全审计;
-
(6)我们建立了客户信息保护管理规定、客户信息分级分类管理规定、日常操作规程等一系列管理制度来规范个人信息的存储和使用;
-
(7)我们定期举办信息安全和个人信息保护培训课程,加强员工对于个人信息保护重要性的认识;
-
(8)我们与所有可能接触个人信息的员工签订了保密协议,对关键岗位人员进行背景审查,并建立了严格的访问权限控制、权限审批流程和监控、审计机制;
-
(9)我们与所有可能接触用户个人信息的合作伙伴均签署了严格的保密协议或数据保护专用条款,并要求可能接触到您个人信息的所有人员履行相应的保密和数据保护义务。如果第三方合作伙伴未履行保密和数据保护义务,可能会被我们追究法律责任并被我们终止合作;
-
2.我们已经通过了国家信息安全等级保护测评和备案,最高备案等级为二级。
-
3.我们会采取一切合理可行的措施,确保未收集无关的个人信息。我们只会在达成本政策所述目的所需的期限内保留您的个人信息,除非需要延长保留期或者受到法律允许。
-
4.互联网并非绝对安全的环境,而且电子邮件、即时通讯、社交软件等与其他用户的交流方式无法确定是否完全加密,我们强烈建议您不用通过此类方式发送个人信息。若确需使用,在使用此类工具时请使用复杂密码,并注意保护您的个人信息安全。我们将尽力保障您个人信息的安全性。如果我们的物理、技术、或管理防护设施遭到破坏,导致信息被非授权访问、公开披露、篡改、或毁坏,导致您的合法权益受损,我们将全力配合保护您的权益,并依法承担我们应承担的赔偿责任。
-
5.在不幸发生个人信息安全事件后,我们将按照法律法规的要求及时向您告知安全事件的基本情况和可能的影响、我们已采取或将采取的处置措施、您可自主防范和降低风险的建议、对您的补救措施等。我们将及时将事件相关情况以邮件、信函、电话、推送通知等方式告知您,难以逐一告知时,我们会采取合理、有效的方式发布公告。同时,我们还将按照监管部门要求,主动上报个人信息安全事件的处置情况。
-
八、您如何管理您的个人信息(您的权力)
-
您可以通过以下方式访问及管理您的个人信息:
-
8.1 访问您的个人信息
-
您的账号信息:您可在“我的”中查询您的账户、姓名、性别、手机、身份证号、工作信息、健康类型、学历、工号、工种、住址,紧急联系人的姓名、电话等。
-
您和您亲属的健康信息:您可在“咨询人管理”中查询您和您亲属手机号码、患者姓名、性别、出生日期、与患者的关系、身高体重、所在城市;健康信息:病症、患病时长、体检报告、住院记录、诊治情况、用药记录、以往病史、过敏信息、家族史、患病史等健康信息。
-
您的订单、工单信息:您可在“我的-我的咨询”、“我的-我的应急工单”、“我的-大病就医工单”、“健康体检-体检预约”等各个业务的对应入口查看、评价订单和工单信息。
-
您的体检报告:你可在“健康体检-体检报告”和“健康档案-健康现状”、“健康档案-体检数据分析”查看个人的体检报告详情和重点指标的分析。
-
对于您在使用我们的产品或服务过程中向我们提供或产生的其他信息,只要我们不需要过多投入,我们会向您提供。您可以通过拨打我们的客服电话提出访问申请,我们将在30天内回复您的访问请求。
-
对于您在使用我们服务过程中产生的其他个人信息,我们将根据本条“8.9 响应您的上述请求”中的相关安排向您提供。
-
8.2 更正或补充您的个人信息
-
当您发现我们处理的您的个人信息有误或者您需要更正该等信息时,您可以通过内设置的自动更正功能、电子邮件或者拨打客服电话等方式进行修改或更正。您如果需要更正其他个人信息,可通过联系人工客服向我们提出更正申请。
-
可自主更正的信息:
-
账号信息:您可在“我的”中更新您的头像,紧急联系人的姓名、电话等。
-
您和您亲属的健康信息:您可在“咨询人管理”中更正您和您亲属手机号码、患者姓名、性别、出生日期、与患者的关系、身高体重、所在城市;健康信息:病症、患病时长、体检报告、住院记录、诊治情况、用药记录、以往病史、过敏信息、家族史、患病史等健康信息。
-
8.3 如何注销
-
您在我们的产品与/或服务页面中可以直接清除或删除的信息,包括浏览信息、紧急联系人信息、咨询人信息。
-
在以下情形中,您可以向我们提出删除个人信息的请求:
-
(1)如果我们处理个人信息的行为违反了法律法规的强制性规定;
-
(2)如果我们收集、使用您的个人信息,却未征得您的同意(依法无需征得同意的情况除外);
-
(3)如果我们处理个人信息的行为违反了与您的约定;
-
(4)如果您不再使用我们的产品或服务,或您注销了账号;
-
(5)如果我们不再为您提供产品或服务。
-
如果您想删除或注册账号:
-
(1)拨打客服热线电话029-86618899
-
(2)发送电子邮件至40115111@qq.com
-
(3)邮寄地址:陕西省西安市未央区欧亚大道丝路国际创意梦工场5号楼,收件人:许策
-
收到您的删除请求后,我们会根据您及相关法律法规的要求进行后续删除处理并向您反馈结果。若我们决定响应您的删除请求,我们还将同时通知从我们获得您的个人信息的实体,要求其及时删除,除非法律法规另有规定,或这些实体获得您的独立授权。
-
当您从我们的服务中删除信息后,我们可能不会立即备份系统中删除相应的信息,但会在备份更新时删除这些信息。
-
8.4 改变您授权同意的范围
-
您可以通过删除信息、关闭设备功能、在平台中进行隐私设置等方式改变您授权我们继续收集个人信息的范围或撤回您的授权。
-
请您理解,每个业务功能需要一些基本的个人信息才能得以完成(见本隐私权政策“我们如何收集和使用您的信息”)。当您收回同意后,我们将不再处理相应的个人信息。但您收回同意的决定,不会影响此前基于您的授权而开展的个人信息处理。
-
8.5 个人信息主体注销账户
-
在符合平台单项服务的服务协议约定条件及国家相关法律法规规定的情况下,您的该项平台服务帐号可能被注销或删除。当帐号注销或被删除后,与该帐号相关的、该单项服务项下的全部服务资料和数据将依照单项服务的服务协议约定删除或匿名化处理。
-
8.6 约束信息系统自动决策
-
在某些业务功能中,我们可能仅依据信息系统、算法等在内的非人工自动决策机制做出决定。如果这些决定显著影响您的合法权益,您有权要求我们做出解释,我们也将在不侵害平台保密或其他员工权益、社会公共利益的前提下提供申诉方法。
-
8.7约束信息系统自动决策
-
在某些业务功能中,我们可能仅依据信息系统、算法在内的非人工自动决策机制作出决定。如果这些决定显著影响您的合法权益,您有权要求我们作出解释,我们也将提供适当的救济方式。
-
8.8举报和投诉
-
如果您发现您的个人信息可能被泄露,或者我们的工作人员或合作伙伴在处理您的个人信息时有任何违法违规行为,您可以通过拨打客服热线或者发送电子邮件的方式向我们进行举报和投诉。
-
8.9 响应您的上述请求
-
为保障安全,您可能需要提供书面请求,或以其他方式证明您的身份。我们可能会先要求您验证自己的身份,然后再处理您的请求。我们将在15个工作日内做出答复。
-
对于那些无端重复、需要过多技术手段(例如,需要开发新系统或从根本上改变现行惯例)、给他人合法权益带来风险或者非常不切实际的请求,我们可能会予以拒绝。
-
在以下情形中,按照法律法规要求,我们将无法响应您的请求:
-
(1) 与国家安全、国防安全有关的;
-
(2) 与公共安全、公共卫生、重大公共利益有关的;
-
(3) 与犯罪侦查、起诉、审判和执行判决等有关的;
-
(4) 有充分证据表明个人信息主体存在主观恶意或滥用权利的;
-
(5) 响应您的请求将导致您或其他个人、组织的合法权益受到严重损害的;
-
(6) 涉及商业秘密的。
-
九、我们如何处理未成年人的个人信息
-
1.健康咨询专家端非常重视对未成年人个人信息的保护。若您是18周岁以下的未成年人,在使用我们的产品与/或服务前,应事先取得您监护人的同意。健康咨询专家端根据国家相关法律法规的规定保护未成年人的个人信息。
-
2.我们不会主动直接向未成年人收集其个人信息。对于经监护人同意而收集未成年人个人信息的情况,我们只会在受到法律允许、监护人同意或者保护未成年人所必要的情况下使用、共享、转让或披露此信息。
-
3.如果有事实证明未成年人在未取得监护人同意的情况下注册使用了我们的产品与/或服务,我们会与相关监护人协商,并设法尽快删除相关个人信息。
-
十、本声明和政策如何更新
-
我们的隐私政策可能变更。未经您明确同意,我们不会削减您按照声明和政策所应享有的权利。 我们会在本页面上发布对本声明和政策所做的任何变更。
-
对于重大变更,我们还会提供更为显著的通知(包括我们会通过网站公示的方式进行通知甚至向您提供弹窗提示)。
-
本声明和隐私所指的重大变更包括但不限于:
-
1、 我们的服务模式发生重大变化。如处理个人信息的目的、处理的个人信息类型、个人信息的使用方式等;
-
2、 我们在所有权结构、组织架构等方面发生重大变化。如业务调整等引起的所有者变更等;
-
3、 个人信息共享或公开披露的主要对象发生变化;
-
4、 您参与个人信息处理方面的权利及其行使方式发生重大变化;
-
5、 我们负责处理个人信息安全的责任部门、联络方式等发生变化时;
-
6、 个人信息安全影响评估报告表明存在高风险时。
-
7、 我们还会将本声明和隐私的旧版本存档,供您查阅。
-
十一、如何联系我们
-
1.如果您对本政策有任何疑问、意见或建议,可通过以下方式与我们联系:
-
(1)拨打客服热线电话029-86618899
-
(2)发送电子邮件至chentianyu_cq@petrochina.com.cn
-
(3)邮寄地址:陕西省西安市未央区未央路151号,收件人:员工健康服务部
- -
2.如果您对我们的回复不满意,特别是我们的个人信息处理行为损害了您的合法权益,您还可以通过以下外部途径寻求解决方式:向网信、工商、公安等监管部门进行投诉或举报。
-
- - diff --git a/public/static/zIOSAgreement.html b/public/static/zIOSAgreement.html deleted file mode 100644 index b67bbe1..0000000 --- a/public/static/zIOSAgreement.html +++ /dev/null @@ -1,300 +0,0 @@ - - - - - 隐私权政策 - - - -
-

隐私权政策

-
本平台由西安仁康信息科技有限公司开发和运维,平台深知个人信息对您的重要性,并会尽全力保护您的个人信息安全可靠。我们致力于维持您对我们的信任,恪守以下原则,保护您的个人信息:权责一致原则、目的明确原则、选择同意原则、最少够用原则、确保安全原则、主体参与原则、公开透明原则等。同时,我们承诺将采取相应的安全保护措施来保护您的个人信息。请在使用平台服务前,仔细阅读并了解本隐私权政策,我们将按照本政策收集、处理及披露您的信息。
-
本政策将帮助您了解以下内容:
-
1、定义
-
2、我们可能收集的信息
-
3、我们如何收集和使用您的个人信息
-
4、我们如何使用 Cookie 和同类技术
-
5、我们如何共享、转让、公开披露您的个人信息
-
6、员工业务数据和公开信息
-
7、我们如何保护您的个人信息
-
8、您如何管理您的个人信息
-
9、我们如何处理未成年人的个人信息
-
10、本声明和政策如何更新
-
11、如何联系我们
-
一、定义
-
1. 个人信息:
-
指以电子或者其他方式记录的与已识别或者可识别的自然人有关的各种信息,不包括匿名化处理后的信息
-
2. 个人健康信息
-
指以电子或者其他方式记录的能够单独或者与其他信息结合识别特定自然人身份或者反映特定自然人活动情况的各种健康信息,一旦泄露或者非法使用,可能导致个人受到歧视或者人身、财产受到严重危害的个人信息,包括如姓名、出生日期、身份证件号码、体检信息、就医信息、住址、通讯联系方式、通信记录和内容、账号密码、行踪轨迹、民族、个人生物特征、医疗健康、金融账户、个人行踪、不满十四周岁未成年人信息等。
-
3. 未成年人:指不满18周岁的自然人。
-
4. 儿童:指不满14周岁的自然人。
-
5. 设备信息
-
包括设备标识符 (IMEI、IDFA、MAC、OAID、IMSI、SIM 卡序列号 (ICCID) 、设备序列号及其他设备相关信息),应用信息 (应用崩溃信息、通知开关状态、运行中进程、应用安装列表及其他应用相关信息) ,设备参数及系统信息(设备类型、设备型号、操作系统及硬件相关信息),设备网络环境信息 (IP地址,WiFi信息,基站信息及其他网络相关信息),蓝牙信息,广播组件通讯信息,运营商信息,传感器 (陀螺仪、重力传感器、加速度传感器、环境传感器、光学心率传感器),剪切板。以产品实际采集情况为准。
-
6. 业务数据
-
不同于个人信息,是指平台员工利用平台的服务上传、下载、分发等通过平台的技术服务处理的数据。
-
二、我们可能收集的信息
-
我们提供服务时,可能会收集、储存和使用下列与个人有关的信息。如果您不提供相关信息,可能无法注册成为平台员工或无法享受平台的某些服务,或者无法达到相关服务拟达到的效果。
-
2.1 与个人身份无关
-
当您使用平台的服务时,我们可能收集和汇总诸如员工的来源途径、访问顺序、停留时间等信息,例如记录使用平台服务的每个员工的来源途径、浏览器软件等。
-
2.2 与个人身份有关
-
当您使用平台的服务时,我们可能收集和汇总或要求您提供有关个人身份的信息,例如:
-
(1) 个人身份证明(包括身份证图片和身份证号、手机号、邮箱等);
-
(2) 个人补充信息(姓名、生日、籍贯、性别、兴趣爱好、学历、个人联系电话、住址、工作信息、婚姻状况、健康状况、;
-
(3) 网络身份标识信息(包括系统账号、IP地址、电子邮箱地址及与前述有关的密码、口令、口令保护答案、个人数字证书等);
-
(4) 个人健康信息(包括:姓名、性别、出生日期、身高体重、就诊卡、所在城市,所患病症、患病时长、体检报告、住院记录、诊治情况、检验报告、体检报告、用药记录、以往病史、过敏信息、家族史、患病史等,和历史咨询记录。
-
(5) 相机、相册(设备的相机功能,以拍摄照片或录制视频);
-
(6) 麦克风(通话、发送录音文件);
-
(7) 悬浮窗(在其他程序页面仍能保持应用内通话);
-
(8) 日历(访问用户的日历,以便将预约信息添加到日历中);
-
(9) 存储(访问设备存储器中的文件、照片和视频);
-
(10) 个人上网记录和日志信息(包括网站浏览记录、软件使用记录、点击记录、操作日志等);
-
(11) 设备信息(包括设备型号、设备MAC地址、操作系统类型、设备设置);
-
(12) 软件列表唯一设备识别码(如IMEI ID/IDFA/OPENUDID/GUID、SIM卡IMSI信息等在内的描述个人常用设备基本情况的信息);
-
(13) 拨打电话(唤起手机拨号界面并自动填充电话)
-
(14) 个人位置信息(包括精准定位信息、经纬度等);
-
(15) 其他平台基于为您提供服务需要而收集或汇总的您的信息。
-
三、我们如何收集和使用您的个人信息
-
1. 您直接提供的信息:我们可能会收集您在健康咨询专家端注册账号、申请或使用我们的服务时填写,通过现场交谈、电话、视频或其他联系方式与我们联系时所提供的信息,以及您在使用我们服务过程中产生的与您的交易和活动有关的信息。
-
(1) 帮助您成为我们的一员
-
您需要向平台提供真实姓名、邮箱、有效身份证件(包括但不限于身份证)的号码,以便于我们进行实名认证。您可以修改和补充您的昵称、性别、生日、职级、职称、学历、亲属、紧急联系人、工作信息(单位部门)、婚姻状况、健康类型、兴趣爱好以及您的实名认证等一系列相关信息相关信息,这些信息均属于您的“账号信息”。您补充的账户信息将有助于我们为您提供与您信息更匹配的相关业务服务(急救协助、医院体检、健康知识推送等)。如果您不提供这些信息,可能会影响您对平台部分核心业务功能的正常使用,如咨询专家等,但不会影响您进行基本的浏览、搜索。如果您不提供这些信息,将会影响您使用平台的部分功能,如咨询专家,但不会影响您使用平台服务的基本浏览、搜索功能。在您主动注销账号时,我们将根据相关法律法规的要求尽快使其匿名或删除您的个人信息。
-
(2) 咨询专家
-
为便于您能够咨询专家,您需提供真实姓名、手机号、身份证号码、性别、出生日期、身高体重等信息。为更好地向您提供咨询服务解决您的问题,更加精准、快速地向您推荐医生,我们可能需要您在健康咨询时提供个人健康信息,例如:病症、患病时长、检验报告、体检报告、医院就诊信息、诊治情况、用药记录、以往病史、过敏信息、家族史、患病史等。如您不提供上述信息,将会影响您使用部分健康咨询等功能,但不影响您使用平台产品或服务的基本浏览、搜索功能。应急救援
-
(1) 您实名成为健康咨询专家端的用户后,若您或您的朋友发生了意外事件,你可以通过查看系统内的相关医疗资源,并向平台发起帮助请求。在此过程中,我们可能会通过您的基本信息和聊天功能获取您的手机号、您的紧急联系人姓名和联系 电话,位置、姓名、性别、年龄、健康状况、事故详情介绍的图文、音视频沟通的信息。搜索
-
(2) 搜索
-
为了让您快速地找到您所需要的专家、知识文章、软件功能、医院等,我们可能会收集您使用我们的产品记录为您提供这些信息展示的最优方式。我们也会为了不断改进和优化上述的功能来使用您的上述个人信息。
-
您也可以通过搜索来精准地找到您所需要的专家、医院、系统功能。我们会保留您的搜索内容以方便您重复输入或为您展示与您搜索内容相关联的产品或服务。
-
2. 我们在您使用服务过程中收集的信息
-
为向您提供更契合您需求的页面展示和搜索结果、了解服务适配性、识别账号异常状态,我们会收集关于您使用的服务以及使用方式的信息并将这些信息进行关联,这些信息包括:
-
设备信息:我们会根据您在软件安装及使用中授予的具体权限,接收并记录您所使用的设备相关信息(例如设备型号、操作系统版本、设备设置、唯一设备标识符等软硬件特征信息)、设备所在位置相关信息(例如IP 地址、GPS位置以及能够提供相关信息的Wi-Fi 接入点、蓝牙和基站等传感器信息)。
-
日志信息:当您使用我们的网站或用户端提供的服务时,我们会自动收集您对我们服务的详细使用情况,作为有关网络日志保存。例如您的搜索查询内容、IP地址、浏览器的类型、电信运营商、使用的语言、访问日期和时间及您访问的网页记录等。
-
请注意,单独的设备信息、日志信息等是无法识别特定自然人身份的信息。如果我们将这类非个人信息与其他信息结合用于识别特定自然人身份,或者将其与个人信息结合使用,则在结合使用期间,这类非个人信息将被视为个人信息,除取得您授权或法律法规另有规定外,我们会将该类个人信息做匿名化、去标识化处理。
-
为展示您的健康信息,我们会收集您在使用我们服务过程中产生的健康咨询详情(包括但不限于图片、文字、视频、语音)、预约挂号记录、咨询记录、个人健康信息、检查检验、医生诊断结果等用于向您展示及便于您对信息进行管理。
-
当您与我们联系时,我们可能会保存您的通信/通话记录和内容或您留下的联系方式等信息,以便与您联系或帮助您解决问题,或记录相关问题的处理方案及结果。
-
3. 我们通过间接获得方式收集到的您的个人信息
-
我们可能从第三方获取您授权共享的账户信息(头像、昵称、联系方式),并在您同意声明和政策后将您的第三方账户与您的账户绑定,使您可以通过第三方账户直接登录并使用平台服务。我们会将依据与第三方的约定、对个人信息来源的合法性进行确认后,在符合相关法律和法规规定的前提下,使用您的这些个人信息。
-
如您拒绝提供上述信息或拒绝授权,可能无法使用我们的相应服务,或者无法展示相关信息,但不影响使用平台的健康咨询等核心服务。
-
为您提供安全保障
-
请注意,为向您提供更好的安全保障,您可以向我们提供姓名、身份证、就诊卡、邮箱等身份信息完成实名认证。如您拒绝提供上述信息,可能无法预约或咨询特定专家、继续可能存在风险的操作等,但不会影响您使用浏览、搜索等服务。
-
为提高您使用我们提供服务的安全性,更好地预防钓鱼网站、欺诈、网络漏洞、计算机病毒、网络攻击、网络侵入等安全风险,更准确地识别违反法律法规或平台相关协议规则的情况,我们可能使用或整合您的账户信息、交易信息、设备信息、有关网络日志以及我们取得您授权或依据法律共享的信息,来进行身份验证、检测及防范安全事件,并依法采取必要的记录、审计、分析、处置措施。
-
4. 其他用途
-
我们将信息用于本声明和政策未载明的其他用途,或者将基于特定目的收集而来的信息用于其他目的时,会事先征求您的同意。
-
5. 征得授权同意的例外
-
根据相关法律法规规定,以下情形中收集您的个人信息无需征得您的授权同意:
-
1、与国家安全、国防安全有关的;
-
2、与公共安全、公共卫生、重大公共利益有关的;
-
3、与犯罪侦查、起诉、审判和判决执行等有关的;
-
4、出于维护个人信息主体或其他个人的生命、财产等重大合法权益但又很难得到您本人同意的;
-
5、所收集的个人信息是您自行向社会公众公开的;
-
6、从合法公开披露的信息中收集个人信息的,如合法的新闻报道、政府信息公开等渠道;
-
7、根据您的要求签订合同所必需的;
-
8、用于维护所提供的产品或服务的安全稳定运行所必需的,例如发现、处置产品或服务的故障;
-
9、为合法的新闻报道所必需的;
-
10、学术研究机构基于公共利益开展统计或学术研究所必要,且对外提供学术研究或描述的结果时,对结果中所包含的个人信息进行去标识化处理的;
-
11、法律法规规定的其他情形。
-
如我们停止平台的产品或服务,我们将及时停止继续收集您个人信息的活动,对所持有的个人信息进行删除或匿名化处理。
-
6. 设备权限调用:在向您提供服务的过程中,为了实现特定的产品功能,我们会向您的设备系统申请调用以下设备权限,申请前我们会征询您的同意,您可以选择“允许”或者“禁止”权限申请。申请成功后,您可以随时进入手机“设置-权限管理”中关闭相应权限,不过权限关闭后有关产品功能可能无法正常使用,请您理解:
-
(1) 位置
-
您需要授权我们使用位置权限,以便于我们基于位置向您展示、推送急救资源,显示医院位置等信息。您在首次打开移动平台和使用相关业务时会看到弹窗提醒,询问您是否授权。
-
(2) 通讯录
-
在视话咨询时为保护医生和员工双方个人信息安全,我们提供中转电话服务。您需要授权我们使用通讯录权限,以便于我们对此电话进行标识。您在使用相应功能时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常在视话咨询中使用电话进行沟通。
-
(3) 相机、相册
-
您需要授权我们使用相机权限,以便于使用我们的核心业务功能,如在咨询中发送图片或视频通话。您在使用相应功能时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常在咨询中进行视频通话。
-
(4) 通知栏
-
您需要授权我们使用通知权限,以便于使用所有基于此权限实现的功能,如咨询状态、体检报告等各类消息提醒。您在首次打开移动平台时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常获取各类消息提醒。
-
(5) 存储
-
您需要授权我们使用存储权限,以便于在急救和咨询时候使用发送文件、图片、照片等功能,同时我们的移动平台可以写入、存储员工信息和日志等。您在首次打开移动平台和使用相应功能时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常使用使用移动平台。
-
(6) 麦克风
-
您需要授权我们使用麦克风权限,以便于使用我们的核心业务功能,如在咨询咨询中发送语音消息或视频通话。您在使用相应功能时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常在咨询中进行视频通话。
-
(7) 悬浮窗
-
您需要授权我们使用悬浮窗权限,当您在咨询/应急业务时正在进行语音/音视频通话时候您可切换APP继续使用手机其他功能。您在使用相应功能时会看到弹窗提醒,询问您是否授权。如您拒绝授权,可能无法正常在咨询中进行视频通话。
-
设备权限 使用目的
-
存储 聊天过程中发送和接收相关文件
-
相机 应急请求和咨询专家业务聊天过程中发送图片
-
相册 应急请求和咨询专家业务聊天过程中发送图片
-
位置 用于向用户提供地图上的资源数据,聊天发送位置
-
麦克风(音频) 与专家音视频交流、聊天语音输入,拍摄视频
-
悬浮窗 在其他程序页面仍能保持应用内通话
-
短信 获取验证码修改密码
-
通知栏 对您在系统内使用的业务(如预约体检、专家咨询),及时进行通知
-
拨打电话 在查看地图资源发起急救时候,跳转手机拨打电话
-
日历 找专家进行咨询、预约专家,大病就医挂号医院,预约去医院体检的日期需访问日历
-
请您注意,您开启以上权限即代表您授权我们可以收集和使用这些个人信息来实现上述的功能,您关闭权限即代表您取消了这些授权,则我们将不再继续收集和使用您的这些个人信息,也无法为您提供上述与这些授权所对应的功能。您关闭权限的决定不会影响此前基于您的授权所进行的个人信息的处理。除此以外,我们在相关业务功能中可能还需要您开启设备的其他访问权限,详细权限和使用目的如下:
-
(1)访问网络权限:实现应用程序联网
-
(2)获取WiFi状态权限:监控网络变化,提示用户当前网络环境
-
(3)获取网络状态权限:监控网络变化,提示用户当前网络环境
-
(4)使用振动权限:允许手机振动
-
(5)唤醒锁定权限:允许程序在手机屏幕关闭后后台进程仍然运行,保持屏幕唤醒
-
(6)结束系统任务权限:重新启动应用
-
(7)修改声音设置权限:修改全局音频设置,例如调节音量和用于输出的扬声器
-
(8)使用蓝牙权限:小程序蓝牙功能模块使用
-
(9)蓝牙管理权限:小程序蓝牙功能模块使用
-
(10)悬浮窗权限:观看直播、短视频悬浮窗播放
-
(11)支持后台访问位置权限:保持持续定位能力
-
(12)读写系统设置权限:允许应用读写系统设置项
-
(13)获取任务信息权限:允许应用获取当前或最近运行的应用
-
(14)改变WiFi状态权限:允许应用改变WiFi状态
-
(15)改变网络连接状态:允许应用改变网络连接状态
-
四、我们如何使用 Cookie 和同类技术
-
1. 4.1 Cookie
-
为确保网站正常运转、为您获得更轻松的访问体验、向您推荐您可能感兴趣的内容,我们会在您的计算机或移动设备上存储名为 Cookie 的小数据文件。Cookie 通常包含标识符、站点名称以及一些号码和字符。借助于 Cookie,网站能够记住您的选择,提供个性化增强服务等。
-
您可根据自己的偏好管理或删除Cookie。有关详情,请参见 AboutCookies.org。您可以清除计算机上保存的所有 Cookie,大部分网络浏览器都设有阻止 Cookie 的功能。但如果您这么做,则需要在每一次访问平台时更改员工设置。如需详细了解如何更改浏览器设置,请访问您使用的浏览器的相关设置页面。
-
2. 4.2 网站信标和像素标签
-
除 Cookie 外,我们还会在网站上使用网站信标和像素标签等其他同类技术。例如,我们向您发送的电子邮件可能含有链接至我们网站内容的地址链接,如果您点击该链接,我们则会跟踪此次点击,帮助我们了解您的服务偏好以便于我们主动改善服务体验。网站信标通常是一种嵌入到网站或电子邮件中的透明图像。借助于电子邮件中的像素标签,我们能够获知电子邮件是否被打开。
-
五、我们如何共享、转让、公开披露您的个人信息
-
1. 共享
-
我们不会与平台服务提供者以外的任何公司、组织和个人分享您的个人信息,但以下情况除外:
-
1、在获取明确同意的情况下共享:获得您的明确同意后,我们会与其他方共享您的个人信息。
-
2、我们可能会根据法律法规规定,或按政府主管部门的强制性要求,对外共享您的个人信息。
-
3、与授权合作机构共享:仅为实现本声明和政策中声明的目的,我们的某些服务将由授权合作机构提供。我们可能会与合作机构共享您的某些个人信息,以提供更好的服务和员工体验。我们仅会出于合法、正当、必要、特定、明确的目的共享您的个人信息,并且只会共享提供服务所必要的个人信息。我们的合作机构无权将共享的个人信息用于任何其他用途。
-
目前,我们的授权合作机构包括以下类型:
-
(1)分析服务类的授权合作机构。除非得到您的许可,否则我们不会将您的个人身份信息(指可以识别您身份的信息,例如姓名或电子邮箱,通过这些信息可以联系到您或识别您的身份)与提供分析服务的合作机构分享。我们会向这些合作机构提供有关其服务覆盖面和有效性的信息,而不会提供您的个人身份信息,或者我们将这些信息进行汇总,以便它不会识别您。
-
(2)服务提供方和其他合作机构。我们将信息发送给支持我们业务的服务提供方和其他合作机构,这些支持包括提供技术基础设施服务、分析我们服务的使用方式、衡量服务的有效性、提供员工服务、支付便利或进行学术研究和调查。
-
对我们与之共享个人信息的机构,我们会与其签署严格的保密协定,要求他们按照我们的说明、声明和政策以及其他任何相关的保密和安全措施来处理个人信息。
-
2. .转让
-
除以下情形外,我们不会将您的个人信息转让给任何公司、组织或个人:
-
(1)事先获得您的明确同意的;
-
(2)根据法律法规规定,或者政府主管部门、司法机关的强制要求必须对外转让的;
-
(3)涉及公司合并、分立、解散、资产或业务转让、破产清算或类似的交易时,若涉及到您的个人信息转让,我们会要求新持有您个人信息的公司、组织或个人继续受本政策的约束,否则我们将要求该等公司、组织或个人重新取得您的授权同意。
-
3. 公开披露
-
除以下情形外,我们不会公开披露您的个人信息:
-
(1)事先获得您的明确同意的;
-
(2)根据法律法规规定,或者政府主管部门、司法机关的强制要求必须公开披露的。在符合法律法规的前提下,当我们收到上述披露信息的请求时,我们会要求必须出具与之相应的法律文件,如传票或调查函。我们坚信,对于要求我们提供的信息,应该在法律允许的范围内尽可能保持透明。我们对所有的请求都将进行慎重的审查,以确保其具备合法依据,且仅限于执法部门因特定调查目的且有合法权利获取的数据。
-
4. 共享、转让、公开披露个人信息授权同意的例外
-
根据相关法律法规的规定,在以下情形中,我们可以在不征得您的授权同意的情况下共享、转让、公开披露您的个人信息:
-
A.与国家安全、国防安全有关的;
-
B.与公共安全、公共卫生、重大公共利益有关的;C.与犯罪侦查、起诉、审判和判决执行等有关的;
-
D.出于维护您或其他个人的生命、财产等重大合法权益但又很难得到本人同意的;
-
E.您自行向社会公众公开的个人信息;
-
F.从合法公开披露的信息中收集到的个人信息的,如合法的新闻报道、政府信息公开等渠道。
-
G.法律法规规定的其他情形。
-
根据法律规定,共享、转让经去标识化处理的个人信息,且确保数据接收方无法复原并重新识别个人信息主体的,不属于个人信息的对外共享、转让及公开披露行为,对此类数据的保存及处理将无需另行向您通知并征得您的同意。
-
六、员工业务数据和公开信息
-
不同于您的个人信息,对于员工业务数据和公开信息,平台将按如下方式处理:
-
1. 员工业务数据
-
1、您通过平台提供的服务,加工、存储、上传、下载、分发以及通过其他方式处理的数据,均为您的员工业务数据。平台作为服务提供者,只会严格执行您的指示处理您的业务数据,除按与您协商一致或执行明确的法律法规要求外,不对您的业务数据进行任何非授权的使用或披露。
-
2、您应对您的员工业务数据来源及内容负责,平台提示您谨慎判断数据来源及内容的合法性。因您的员工业务数据内容违反法律法规、部门规章或国家政策而造成的全部结果及责任均由您自行承担。
-
3、根据您与平台协商一致,平台在您选定的数据中心存储员工业务数据。我们恪守对员工的安全承诺,根据适用的法律保护员工存储在平台数据中心的数据。
-
2. 公开信息
-
1、公开信息是指您公开分享的任何信息,任何人都可以在使用和未使用平台服务期间查看或访问这些信息。例如您在社区、论坛发布的信息。
-
2、为使用平台的服务,可能存在您必须公开分享的信息。
-
七、我们如何保护您的个人信息
-
1.我们已使用符合业界标准的安全防护措施保护您提供的个人信息,防止您的个人信息遭到未经授权访问、使用、修改、公开披露、损坏或丢失。我们会采取一切合理可行的措施,保护您的个人信息,比如:
-
(1)我们设立了网络安全和个人信息保护机构,专门负责网络安全和个人信息保护事务;
-
(2)我们的网络服务采取了传输层安全协议等加密技术,通过https等方式提供浏览服务,确保用户数据在传输过程中的安全;
-
(3)我们采取MD5、SHA256等加密技术对您的个人信息进行加密存储,增强个人信息在使用中的安全性;
-
(4)我们采用严格的数据访问权限控制和多重身份认证技术保护个人信息,避免数据被违规使用;
-
(5)我们采用代码安全检查、数据访问日志分析技术进行个人信息安全审计;
-
(6)我们建立了客户信息保护管理规定、客户信息分级分类管理规定、日常操作规程等一系列管理制度来规范个人信息的存储和使用;
-
(7)我们定期举办信息安全和个人信息保护培训课程,加强员工对于个人信息保护重要性的认识;
-
(8)我们与所有可能接触个人信息的员工签订了保密协议,对关键岗位人员进行背景审查,并建立了严格的访问权限控制、权限审批流程和监控、审计机制;
-
(9)我们与所有可能接触用户个人信息的合作伙伴均签署了严格的保密协议或数据保护专用条款,并要求可能接触到您个人信息的所有人员履行相应的保密和数据保护义务。如果第三方合作伙伴未履行保密和数据保护义务,可能会被我们追究法律责任并被我们终止合作;
-
2.我们已经通过了国家信息安全等级保护测评和备案,最高备案等级为二级。
-
3.我们会采取一切合理可行的措施,确保未收集无关的个人信息。我们只会在达成本政策所述目的所需的期限内保留您的个人信息,除非需要延长保留期或者受到法律允许。
-
4.互联网并非绝对安全的环境,而且电子邮件、即时通讯、社交软件等与其他用户的交流方式无法确定是否完全加密,我们强烈建议您不用通过此类方式发送个人信息。若确需使用,在使用此类工具时请使用复杂密码,并注意保护您的个人信息安全。我们将尽力保障您个人信息的安全性。如果我们的物理、技术、或管理防护设施遭到破坏,导致信息被非授权访问、公开披露、篡改、或毁坏,导致您的合法权益受损,我们将全力配合保护您的权益,并依法承担我们应承担的赔偿责任。
-
5.在不幸发生个人信息安全事件后,我们将按照法律法规的要求及时向您告知安全事件的基本情况和可能的影响、我们已采取或将采取的处置措施、您可自主防范和降低风险的建议、对您的补救措施等。我们将及时将事件相关情况以邮件、信函、电话、推送通知等方式告知您,难以逐一告知时,我们会采取合理、有效的方式发布公告。同时,我们还将按照监管部门要求,主动上报个人信息安全事件的处置情况。
-
八、您如何管理您的个人信息(您的权力)
-
您可以通过以下方式访问及管理您的个人信息:
-
8.1 访问您的个人信息
-
您的账号信息:您可在“我的”中查询您的账户、姓名、性别、手机、身份证号、工作信息、健康类型、学历、工号、工种、住址,紧急联系人的姓名、电话等。
-
您和您亲属的健康信息:您可在“咨询人管理”中查询您和您亲属手机号码、患者姓名、性别、出生日期、与患者的关系、身高体重、所在城市;健康信息:病症、患病时长、体检报告、住院记录、诊治情况、用药记录、以往病史、过敏信息、家族史、患病史等健康信息。
-
您的订单、工单信息:您可在“我的-我的咨询”、“我的-我的应急工单”、“我的-大病就医工单”、“健康体检-体检预约”等各个业务的对应入口查看、评价订单和工单信息。
-
您的体检报告:你可在“健康体检-体检报告”和“健康档案-健康现状”、“健康档案-体检数据分析”查看个人的体检报告详情和重点指标的分析。
-
对于您在使用我们的产品或服务过程中向我们提供或产生的其他信息,只要我们不需要过多投入,我们会向您提供。您可以通过拨打我们的客服电话提出访问申请,我们将在30天内回复您的访问请求。
-
对于您在使用我们服务过程中产生的其他个人信息,我们将根据本条“8.9 响应您的上述请求”中的相关安排向您提供。
-
8.2 更正或补充您的个人信息
-
当您发现我们处理的您的个人信息有误或者您需要更正该等信息时,您可以通过内设置的自动更正功能、电子邮件或者拨打客服电话等方式进行修改或更正。您如果需要更正其他个人信息,可通过联系人工客服向我们提出更正申请。
-
可自主更正的信息:
-
账号信息:您可在“我的”中更新您的头像,紧急联系人的姓名、电话等。
-
您和您亲属的健康信息:您可在“咨询人管理”中更正您和您亲属手机号码、患者姓名、性别、出生日期、与患者的关系、身高体重、所在城市;健康信息:病症、患病时长、体检报告、住院记录、诊治情况、用药记录、以往病史、过敏信息、家族史、患病史等健康信息。
-
8.3 如何注销
-
您在我们的产品与/或服务页面中可以直接清除或删除的信息,包括浏览信息、紧急联系人信息、咨询人信息。
-
在以下情形中,您可以向我们提出删除个人信息的请求:
-
(1)如果我们处理个人信息的行为违反了法律法规的强制性规定;
-
(2)如果我们收集、使用您的个人信息,却未征得您的同意(依法无需征得同意的情况除外);
-
(3)如果我们处理个人信息的行为违反了与您的约定;
-
(4)如果您不再使用我们的产品或服务,或您注销了账号;
-
(5)如果我们不再为您提供产品或服务。
-
如果您想删除或注册账号:
-
(1)拨打客服热线电话029-86618899
-
(2)发送电子邮件至40115111@qq.com
-
(3)邮寄地址:陕西省西安市未央区欧亚大道丝路国际创意梦工场5号楼,收件人:许策
-
收到您的删除请求后,我们会根据您及相关法律法规的要求进行后续删除处理并向您反馈结果。若我们决定响应您的删除请求,我们还将同时通知从我们获得您的个人信息的实体,要求其及时删除,除非法律法规另有规定,或这些实体获得您的独立授权。
-
当您从我们的服务中删除信息后,我们可能不会立即备份系统中删除相应的信息,但会在备份更新时删除这些信息。
-
8.4 改变您授权同意的范围
-
您可以通过删除信息、关闭设备功能、在平台中进行隐私设置等方式改变您授权我们继续收集个人信息的范围或撤回您的授权。
-
请您理解,每个业务功能需要一些基本的个人信息才能得以完成(见本隐私权政策“我们如何收集和使用您的信息”)。当您收回同意后,我们将不再处理相应的个人信息。但您收回同意的决定,不会影响此前基于您的授权而开展的个人信息处理。
-
8.5 个人信息主体注销账户
-
在符合平台单项服务的服务协议约定条件及国家相关法律法规规定的情况下,您的该项平台服务帐号可能被注销或删除。当帐号注销或被删除后,与该帐号相关的、该单项服务项下的全部服务资料和数据将依照单项服务的服务协议约定删除或匿名化处理。
-
8.6 约束信息系统自动决策
-
在某些业务功能中,我们可能仅依据信息系统、算法等在内的非人工自动决策机制做出决定。如果这些决定显著影响您的合法权益,您有权要求我们做出解释,我们也将在不侵害平台保密或其他员工权益、社会公共利益的前提下提供申诉方法。
-
8.7约束信息系统自动决策
-
在某些业务功能中,我们可能仅依据信息系统、算法在内的非人工自动决策机制作出决定。如果这些决定显著影响您的合法权益,您有权要求我们作出解释,我们也将提供适当的救济方式。
-
8.8举报和投诉
-
如果您发现您的个人信息可能被泄露,或者我们的工作人员或合作伙伴在处理您的个人信息时有任何违法违规行为,您可以通过拨打客服热线或者发送电子邮件的方式向我们进行举报和投诉。
-
8.9 响应您的上述请求
-
为保障安全,您可能需要提供书面请求,或以其他方式证明您的身份。我们可能会先要求您验证自己的身份,然后再处理您的请求。我们将在15个工作日内做出答复。
-
对于那些无端重复、需要过多技术手段(例如,需要开发新系统或从根本上改变现行惯例)、给他人合法权益带来风险或者非常不切实际的请求,我们可能会予以拒绝。
-
在以下情形中,按照法律法规要求,我们将无法响应您的请求:
-
(1) 与国家安全、国防安全有关的;
-
(2) 与公共安全、公共卫生、重大公共利益有关的;
-
(3) 与犯罪侦查、起诉、审判和执行判决等有关的;
-
(4) 有充分证据表明个人信息主体存在主观恶意或滥用权利的;
-
(5) 响应您的请求将导致您或其他个人、组织的合法权益受到严重损害的;
-
(6) 涉及商业秘密的。
-
九、我们如何处理未成年人的个人信息
-
1.健康咨询专家端非常重视对未成年人个人信息的保护。若您是18周岁以下的未成年人,在使用我们的产品与/或服务前,应事先取得您监护人的同意。健康咨询专家端根据国家相关法律法规的规定保护未成年人的个人信息。
-
2.我们不会主动直接向未成年人收集其个人信息。对于经监护人同意而收集未成年人个人信息的情况,我们只会在受到法律允许、监护人同意或者保护未成年人所必要的情况下使用、共享、转让或披露此信息。
-
3.如果有事实证明未成年人在未取得监护人同意的情况下注册使用了我们的产品与/或服务,我们会与相关监护人协商,并设法尽快删除相关个人信息。
-
十、本声明和政策如何更新
-
我们的隐私政策可能变更。未经您明确同意,我们不会削减您按照声明和政策所应享有的权利。 我们会在本页面上发布对本声明和政策所做的任何变更。
-
对于重大变更,我们还会提供更为显著的通知(包括我们会通过网站公示的方式进行通知甚至向您提供弹窗提示)。
-
本声明和隐私所指的重大变更包括但不限于:
-
1、 我们的服务模式发生重大变化。如处理个人信息的目的、处理的个人信息类型、个人信息的使用方式等;
-
2、 我们在所有权结构、组织架构等方面发生重大变化。如业务调整等引起的所有者变更等;
-
3、 个人信息共享或公开披露的主要对象发生变化;
-
4、 您参与个人信息处理方面的权利及其行使方式发生重大变化;
-
5、 我们负责处理个人信息安全的责任部门、联络方式等发生变化时;
-
6、 个人信息安全影响评估报告表明存在高风险时。
-
7、 我们还会将本声明和隐私的旧版本存档,供您查阅。
-
十一、如何联系我们
-
1.如果您对本政策有任何疑问、意见或建议,可通过以下方式与我们联系:
-
(1)拨打客服热线电话029-86618899
-
(2)发送电子邮件至chentianyu_cq@petrochina.com.cn
-
(3)邮寄地址:陕西省西安市未央区未央路151号,收件人:员工健康服务部
- -
2.如果您对我们的回复不满意,特别是我们的个人信息处理行为损害了您的合法权益,您还可以通过以下外部途径寻求解决方式:向网信、工商、公安等监管部门进行投诉或举报。
-
- - diff --git a/public/static/zPrivacy.html b/public/static/zPrivacy.html deleted file mode 100644 index 5a2a4bb..0000000 --- a/public/static/zPrivacy.html +++ /dev/null @@ -1,152 +0,0 @@ - - - - - 健康咨询专家端用户协议 - - - -
-

健康咨询专家端用户协议

-

软件使用许可协议(健康咨询专家端)

-

软件使用许可协议

-
欢迎使用我们的服务
-
本软件许可使用协议《健康咨询专家端平台服务协议》(以下称"本协议")由您与西安仁康信息科技有限公司(以下称“西安仁康”)共同签署。
-
在使用“健康咨询专家端”软件(以下称许可软件)之前,请仔细阅读本协议。一旦您下载安装使用许可软件,即表示您同意接受本协议所有条款和条件的约束。如您不同意本协议条款和条件,请勿使用许可软件,并请销毁所有许可软件副本。
-
健康咨询专家端有权根据实际运营的情况对本协议不时进行调整,并以平台公告或电子邮件等书面形式通知您。修改后的协议于公示或邮件送达时生效。协议条款修改后,您继续使用许可软件的,即视为您已阅读并接受修改后的协议。
-
一、定义
-
1. 健康咨询专家端APP:是指由西安仁康开发的,供您从应用下载平台(以下称下载平台)下载,并仅限在手机等手持移动终端(以下称移动终端)中安装、使用的软件系统。
-
2. 健康咨询专家端服务:由西安仁康为您提供的服务。您可以通过许可软件在手持移动终端使用健康咨询专家端服务。
-
3. 用户:指阅读并同意本协议内容,经过健康咨询专家端在线注册程序成为健康咨询专家端在线各项服务使用者。(以下更多称为“您”)
-
二、服务说明
-
1. 本平台是一个集健康咨询功能的综合个人健康管理平台,为确保您能正常地使用平台的各项服务,您应当阅读并遵守本协议。请您务必审慎阅读、充分理解各条款内容,以及开通或使用某项服务的单独协议,并选择接受或不接受。
-
2. 除非您已阅读并接受本协议所有条款,否则您无权使用平台的各项服务(以下简称"本服务”)。您在平台的登录、查看、发布信息等行为即视为您已阅读并同意本协议的约束,包括接受更新后的本协议条款。当您与平台发生争议时,应以最新的服务协议为准。
-
3. 平台为您提供集健康咨询功能服务,为充分保护您对于平台提供的各项服务的知情权,平台就其提供的服务相关性、有效性以及限制性提供以下注册条款。平台在此特别提醒您,在您使用前已确实仔细阅读了本协议,如果您对本协议的任何条款或者将来随时可能修改、补充的条款有异议,您可选择不注册。
-
4. 您在使用服务过程中,根据声音、文字或图形等提示可以选择表示“同意”的操作,当您点选“同意”按钮时即视为您已仔细阅读本协议,同意接受本协议项下的所有条款,包括接受平台对本协议条款随时所做的任何修改,并愿意受其约束。之后方能按系统提示完成全部注册程序、问答程序、享受相关的各项电子服务。
-
5. 您在平台提问、搜索、提供各项电子信息、与其它员工交流及其他服务,即代表您已经同意本协议。
-
6. 本协议的条款适用于平台提供的各种服务,但当您使用平台某特定服务时,如该服务另有单独的服务条款、指引或规则,您应遵守本协议及平台随时公布的与该服务相关的服务条款、指引或规则等。前述所有的指引和规则,均构成本协议的一部分。除非本协议另有其他明示规定,新推出的服务、增加或强化目前本服务的新功能,均受到本协议之规范。
-
7. 如对本协议内容有任何疑问、意见或建议,您可与我们联系。
-
三、本协议的确认和接纳
-
1、平台的各项服务的所有权和运作权归西安仁康所有。您同意所有注册协议条款,才能成为平台平台的正式用户。您确认:本协议条款是处理双方权利义务的契约,始终有效,法律另有强制性规定或双方另有特别约定的,依其规定。
-
2、您点击注册登录,即视为您确认自己具有享受平台服务相应的权利能力和行为能力,能够独立承担法律责任。
-
3、平台通过互联网为您提供各项服务,并承担本协议和其它服务协议中对您的责任和义务。为使用本服务,您必须能够自行通过有法律资格的第三方对您提供互联网接入服务,并自行承担以下内容:
-
(1)自行配备上网所需的设备,包括手机、个人电脑、调制解调器及其他必要的设备装置。
-
(2)自行承担上网所需的相关必要费用,如:电话费用、网络费用等。
-
(3)本协议中规定的您的其他责任和义务。
-
4、您应保证:提供详尽、真实、准确和完整的个人资料以符合实名认证的要求。如果资料发生变动,您应及时更改。若您提供任何错误、不实、过时或不完整的资料,并为平台所确知,或者平台有合理理由怀疑前述资料为错误、不实、过时或不完整的资料,平台有权暂停或终止您的帐号,并拒绝现在或将来申请使用本服务的全部或一部分的请求。在此情况下,您可通过平台的申诉途径与平台取得联系并修正个人资料,经平台核实后恢复账号使用。
-
5、本务不会提供给被暂时中止或永久终止资格的平台员工。
-
6、平台会尽最大努力为员工提供服务,确保服务的连贯性和安全性;但平台不能随时预见和防范法律、技术以及其他风险,包括但不限于不可抗力、病毒、木马、黑客攻击、系统不稳定、第三方服务瑕疵、政府行为等原因可能导致的服务中断、数据丢失以及其他的损失和风险。
-
7、本协议依据国家相关法律法规规章制定,员工同意并遵守相关法律法规:
-
(1)不得传输或发表:煽动抗拒、破坏宪法和法律、行政法规实施的言论,煽动颠覆国家政权,推翻社会主义制度的言论,煽动分裂国家、破坏国家统一的的言论,煽动民族仇恨、民族歧视、破坏民族团结的言论;
-
(2)不得利用平台从事洗钱、窃取商业秘密、 窃取个人信息等违法犯罪活动;
-
(3)不得干扰平台的正常运转,不得侵入平台及国家计算机信息系统;
-
(5)不得传输或发表任何违法犯罪的、骚扰性的、中伤他人的、 辱骂性的、恐吓性的、伤害性的、庸俗的、 淫秽的、不文明的等信息资料;
-
(6)不得传输或发表损害国家社会公共利益和涉及国家安全的信息资料或言论;
-
(7)不得教唆他人从事本条所禁止的行为;
-
(8)不得发布任何侵犯他人著作权、商标权等知识产权或合法权利的内容。您应关注并遵守平台不时公布或修改的各类合法规则规定。平台保有删除各类不符合法律政策或不真实的信息内容而无须通知员工的权利。若您未遵守以上规定的,平台有权作出独立判断并采取暂停或关闭员工帐号等措施。您须对自己在网上的言论和行为承担法律责任。
-
-
四、员工管理
-
1、您使用本平台服务时,在平台上不得发表违法言论、不得违反公序良俗、不得使用攻击性语言恶意中伤他人,或作出虚假性陈述。您保证您在平台上提供的信息的真实性、合法性和有效性。您单独承担在平台上发布内容的一切相关责任。您使用或提供的服务应有适用于平台的地方法律、国家法律和国际法律标准。
-
2、您不得干扰或扰乱本平台提供的服务,不得盗用他人帐号,如有上述行为,您需对此行为造成的后果负责。
-
3、您应遵守所有使用本服务的各项协议、 规定、程序和惯。您须承诺不传输任何非法的、骚扰性的、中伤他人的、辱骂性的、恐吓性的、伤害性的、庸俗的,淫秽等信息内容。另外,您也不能传输任何教唆他人构成犯罪行为的内容;不能传输助长国内不利条件和涉及国家安全的内容;不能传输任何不符合当地法规、国家法律和国际法律的内容。
-
4、您不得发布任何不基于事实、虚构、夸大、引人误解的信息;不得发布涉及政治、性别、种族歧视或攻击他人的文字、图片、视频或语言等信息;不得发布有广告性质的内容;不得有其它涉及违反当地法规、国家法律和国际法律的行为。
-
5、您发布的文章、视频、资讯不得侵犯任何第三方的合法知识产权。
-
6、若您的行为不符合本协议的规定,平台有权做出独立判断,并立即停止向该您帐号提供服务。您需对自己在网上的行为承担法律责任。您若在平台上散布和传播反动、色情或其他违反国家法律的信息,平台的系统记录有可能作为您违反法律的证据。
-
7、您的授权行为:对平台而言,您帐号和密码是唯一验证您真实性的依据,只要使用了正确的您帐号和密码,无论是谁登录均视为已经得到您本人的授权。
-
五、员工保障
-
您同意保障和维护平台的利益,如果因为您违反有关法律、法规或本协议的任何规定而给平台或其他第三方造成任何损失,您统一承担由此产生的损害赔偿责任,其中包括平台为此而支付的律师费用。
-
-
六、您的帐号、密码和安全性
-
1、您一旦注册成功,成为平台的合法用户,将得到一个您的帐号和密码。您的帐号和密码由您负责保管。您要对任何以您帐号进行的活动和事件负全责,且您有权随时根据指示更改您的密码。若发现您的帐号有任何风险、非法使用或存在安全漏洞的情况,请立即通知平台。
-
2、 因黑客行为或您的保管疏忽等情况导致帐号、密码遭他人非法使用,平台不承担责任。平台将根据法律法规的要求,履行其作为移动互联网信息服务提供者应当履行的义务。
-
七、收费服务
-
1、如您使用平台的收费服务,请遵守相关的协议。
-
2、 请您在支付费用时,仔细阅读收费服务的相关协议,除协议约定的情况外,否则,平台将不予退费。退费的方式视支付方式的不同而不同。员工应严格依据退费方式及退费周期收回退款。
-
3、平台可能根据实际需要对收费服务的收费标准、方式进行修改和变更,平台也可能会对部分免费服务变更收费。如果您不同意上述修改、变更或付费内容,则应停止使用该服务。
-
八、服务暂停、变更与中止条款
-
1、鉴于移动互联网服务的特殊性,健康咨询专家端平台有权随时变更、中止或终上部分或全部的服务。如变更、中止或终止的服务属于免费服务,平台无需通知您,也无需对您或任何第三方承担任何责任。
-
2、您理解,因不可抗力、网络状况、通讯线路、用户自身过错等技术原因,或平台需要进行定期或不定期地对所提供的服务进行维护升级、对相关的设备进行检修或者维护,如因此类情况而造成本服务在合理时间内的中断,健康咨询专家端平台无需为此承担任何责任。
-
3、 如发生下列任何一种情形,平台有权随时中断或终止向您提供本协议项下的服务而无需对您或任何第三方承担任何责任:
-
(1)您违反国家有关法律法规或平台规定,侵害他人合法权益的;
-
(2)您提供的个人资料不真实;
-
(3)您违反本协议中的规定;
-
(4)您违反平台发布的政策;
-
(5)平台认为其他不适宜的地方。
-
九、结束服务
-
您或平台可随时根据员工管理的规范中断一项或多项本服务,平台无需对您或任何其他第三方负责。您对本协议的修改有异议,或对平台的服务不满,可以行使如下权利:
-
1、停止使用平台提供的服务。
-
2、通知平台停止对您帐号提供服务。停止为您提供服务后,您使用本服务的权利即刻终止,,平台不对您承担任何义务和责任。
-
十、隐私及个人信息的保护
-
1、保护您的隐私是平台的一项基本政策。
-
2、您的信任对平台非常重要,平台深知个人信息安全的重要性,平台将按照法律法规要求,采取安全保护措施,保护您的个人信息安全。
-
十一、知识产权条款
-
1、 您一旦接受本协议,即表明您在任何时间在平台发表的任何形式的信息内容(包括但不限于员工评价、员工咨询、各类话题文章等信息内容)产生的权利,如著作权财产权(包括并不限于:复制权、发行权、出租权、展览权、表演权、放映权、广播权、信息网络传播权、摄制权、改编权、翻译权、汇编权以及应当由著作权人享有的其他可转让权利), 全部独家且不可撤销地转让给平台所有,您同意平台有权就任何主体侵权而单独提起诉讼。
-
2、本协议已经构成《中华人民共和国著作权法》第二十五条(条文序号依照2011年版著作权法确定)及相关法律规定的著作财产权等权利转让书面协议,其效力及于您在平台上发布的任何受著作权法保护的作品内容,无论该等内容形成于本协议订立前还是本协议订立后。
-
3、您同意并已充分了解本协议的条款,承诺不将已发表于平台的信息,以任何形式发布或授权其它主体以任何方式使用(包括但限于在各类网站、媒体上使用)、
-
4、西安仁康是平台的制作者,拥有平台内容及资源的著作权等合法权利,受国家法律保护,有权不时地对本协议及平台的内容进行修改,并在平台张贴,无须另行通知您。在法律允许的最大限度范围内,平台对本协议及的内容拥有解释权。
-
5、除法律另有强制性规定外,未经平台明确的特别书面许可,任何单位或个人不得以任何方式非法地全部或部分复制、转载、引用、链接、抓取或以其他方式使用平台的信息内容,否则,平台有权追究其法律责任。
-
6、平台所刊登的资料信息(诸如文字、图表、标识、按钮图标、图像、声音文件片段、数字下载、数据编辑和软件),均是平台或其内容提供者的财产,受中国和国际版权法的保护。平台上所有内容的汇编是平台的排他财产,受中国和国际版权法的保护。平台上的所有软件都是平台的财产,受中国和国际版权法的保护。
-
十二、特别授权
-
您完全理解并不可撤销地授予平台下列权利:
-
1、一旦您向平台作出任何形式的承诺,且相关机构已确认您违反了该承诺,则平台有权依据您的承诺或协议约定的方式对您的账户采取限制措施,包括中止或终止向您提供服务,并向相关机构确认的您的违约情况。您了解并同意,平台无须就相关违约事项与您核对事实,或另行征得您的同意,且平台无须就此限制措施或公示行为向您或任何第三方承担任何的责任。
-
2、一旦您违反本协议、或与平台签订其他协议的约定,平台有权或以任何方式通知其他相关平台服务,要求其对您的权益采取限制措施,包括但不限于要求中止、终止对您提供的部分或全部服务。
-
3、您授权平台使用您注册、使用本平台服务过程中产生的信息,并允许平台通过短信、邮件、电话或其他形式向您传送平台提供的服务。您同意接受平台通过短信、邮件、电话或其他形式向您发送活动、服务等信息。如果您不需要平台提供的部分或全部服务的活动、服务,您可向平台提出申请中止、终止对您提供的该部分或全部服务。
-
十三、平台拒绝提供担保
-
1、您对移动网络服务的使用承担风险,并承担因为使用移动网络服务而产生的一切后果。平台对此不作任何类型的担保,不论是明确的或隐含的,但是不对商业性的隐含担保、特定目的和不违反规定的适当担保作限制。
-
2、平台不担保提供的服务一定能完全满足您的要求,也不担保本服务不会受网络、通信等原因而中断,对服务的及时性、安全性、错误程序的发生都不作担保。
-
3、平台因受合作医疗机构等资源限制,就您所提的请求不担保服务一定能够成功。
-
4、您不能从平台得到口头或书面的意见或信息(增加除外条款,而并非全部),平台也不会在此做明确担保。
-
5、除非另有明确的书面说明,平台不对平台上的信息、内容、材料、包括软件或服务作任何形式的、明示或联示的声明或担保(根据中华人民共和国法律另有规定的以外)
-
6、如因不可抗力或其它无法控制的原因使平台系统崩溃或无法正常使用导致无法完成或丢失有关的服务信息、记录等,平台会合理地尽力协助处理。
-
十四、责任限制
-
1、平台会尽最大努力为您提供服务,确保服务的连贯性和安全性;但平台不能随时预见和防范法律、技术以及其他风险,包括但不限于不可抗力病毒、木马、黑客攻击、系统不稳定第三方服务瑕疵、政府行为等原因可能导致的服务中断数据丢失以及其他的损失和风险。因平台所不能控制的事件而影响提供服务,平台无须承担任何责任。
-
2、因不正当使用网络服务,私自在网上进行交易,非法使用网络服务或您传送的信息有所变动等这些行为都有可能会导致平台的形象受损,所以平台事先提出这种损害的可能性。
-
3、平台所有信息仅供参考。平台不对因信息的不正确或遗漏导致的任何损失或损害承担责任。平台所提供的任何健康资讯,仅供参考,不能替代医生和其他医务人员的建议,如自行使用平台资料发生偏差,平台不承担任何法律责任。
-
4、平台拒绝回复的问题,包括但不限于如下情况:
-
(1)动物疾病问题、社会意识形态问题等;
-
(2)医疗司法举证或询证问题;
-
(3)胎儿性别鉴定问题;
-
(4)有危害他人/自己可能的问题;
-
(5) 追问医生个人信息的问题;
-
(6) 故意挑逗、侮辱医生的提问。
-
5、平台保留对本声明作出不定时修改的权利。
-
十五、协议修改
-
根据国家法律法规变化及网络运营需要,本协议即时生效,并对条款不时地进行修改。您可随时登陆查阅最新协议;您有义务不时关注并阅读最新版的协议及平台公告;如您使用平台提供服务,即视为同意更新后的协议。建议您在使用平台之前阅读本协议。
-
十六、其他
-
1、平台尊重您的合法权利,本协议及平台上发布的各类规则、声明等其他内容,均是为了更好地、更加便利地为您提供服务。平台欢迎您和社会各界提出意见和建议,平台将虚心接受并适时修改本协议及平台的各类规则。
-
2、您使用平台服务即视为您完全接受本协议,在“登录"之前请您再次确认已知悉并完全理解本协议的全部内容。
- -
- - diff --git a/src/components/Application/src/AppLogo.vue b/src/components/Application/src/AppLogo.vue index 3c74c7f..ebc21df 100644 --- a/src/components/Application/src/AppLogo.vue +++ b/src/components/Application/src/AppLogo.vue @@ -4,7 +4,7 @@ --> - diff --git a/src/views/archive/comprehensiveStatistics/components/questionDrawer.vue b/src/views/archive/comprehensiveStatistics/components/questionDrawer.vue deleted file mode 100644 index bd4a52d..0000000 --- a/src/views/archive/comprehensiveStatistics/components/questionDrawer.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - - diff --git a/src/views/archive/comprehensiveStatistics/components/questionDrawer1.vue b/src/views/archive/comprehensiveStatistics/components/questionDrawer1.vue deleted file mode 100644 index 49a6bed..0000000 --- a/src/views/archive/comprehensiveStatistics/components/questionDrawer1.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - - diff --git a/src/views/archive/comprehensiveStatistics/comprehensiveStatistics.api.ts b/src/views/archive/comprehensiveStatistics/comprehensiveStatistics.api.ts deleted file mode 100644 index a0de20c..0000000 --- a/src/views/archive/comprehensiveStatistics/comprehensiveStatistics.api.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -export enum Api { - list = '/archives/hmsEvaluation/allEvaluationResultPage', - getQsDetail = '/archives/hmsEvaluation/getQsDetail', - getQsDetail1 = '/archives/hmsEvaluationPhyStat/getQsDetail', - exportPDF = '/archives/hmsEvaluation/getPdfFilePath', -} -export interface QsDetail { - realName: string; - time: string; - logId: string; - createTime?: string; - userName?: string; -} -export const listApi = (params: any) => defHttp.get({ url: Api.list, params }); -export const getQsDetail = (params: QsDetail) => defHttp.get({ url: Api.getQsDetail, params }); -export const exportPDF = (params: any) => defHttp.get({ url: Api.exportPDF, params }, { isTransformResponse: false }); diff --git a/src/views/archive/comprehensiveStatistics/comprehensiveStatistics.data.ts b/src/views/archive/comprehensiveStatistics/comprehensiveStatistics.data.ts deleted file mode 100644 index 1de0dff..0000000 --- a/src/views/archive/comprehensiveStatistics/comprehensiveStatistics.data.ts +++ /dev/null @@ -1,71 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfo } from '/@/utils/orgSearchInfo'; -import { render } from '/@/utils/common/renderUtils'; - -//姓名 身份证号 性别 单位 部门 评估日期 评估类型 评估状态 错误提示 (操作框添加两个(查看问卷 查看报告)) -export const columns: BasicColumn[] = [ - { - title: '姓名', - dataIndex: 'realName', - }, - { - title: '身份证号', - dataIndex: 'idCard', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - width: 60, - }, - { - title: '单位', - dataIndex: 'secondDepart', - }, - { - title: '部门', - dataIndex: 'thirdDepart', - }, - { - title: '评估日期', - dataIndex: 'saveDate', - }, - { - title: '评估类型', - dataIndex: 'questionnairesType_dictText', - }, - { - title: '评估状态', - dataIndex: 'generationStatus_dictText', - }, - { - title: '错误提示', - dataIndex: 'exceptionCatch', - width: 80, - }, -]; -// 风险评估统计筛选条件 新加评估类型 评估状态 条件 -export const schema: FormSchema[] = [ - { - label: '姓名', - field: 'realName', - component: 'Input', - }, - ...orgSearchInfo({ orgField: 'orgCode1', orgName: '单位', deptFiled: 'orgCode2', deptName: '部门' }), - { - label: '评估时间', - field: 'saveDate', - component: 'RangeDate', - }, - { - label: '评估状态', - field: 'generationStatus', - component: 'JDictSelectTag', - componentProps: () => ({ dictCode: 'hms_gene_status' }), - }, - { - label: '评估类型', - field: 'questionnairesType', - component: 'JDictSelectTag', - componentProps: () => ({ dictCode: 'evaluation_type' }), - }, -]; diff --git a/src/views/archive/comprehensiveStatistics/comprehensiveStatistics.vue b/src/views/archive/comprehensiveStatistics/comprehensiveStatistics.vue deleted file mode 100644 index 6dbaad2..0000000 --- a/src/views/archive/comprehensiveStatistics/comprehensiveStatistics.vue +++ /dev/null @@ -1,127 +0,0 @@ - - - diff --git a/src/views/archive/employeeFile/components/analysisReport/analysisReport.api.ts b/src/views/archive/employeeFile/components/analysisReport/analysisReport.api.ts deleted file mode 100644 index c605159..0000000 --- a/src/views/archive/employeeFile/components/analysisReport/analysisReport.api.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -export enum Api { - left = '/health-archives/archives/hmsEvaluation/selectMedicalUniItemClassList', - right = '/health-archives/archives/hmsEvaluation/selectMedicalUniItemByClassId', - downloadUrl = '/archives/hmsEvaluation/reportDownload', -} - -export const getLeft = (params: any) => defHttp.get({ url: Api.left, params: params }); -export const getRight = (params: any) => defHttp.get({ url: Api.right, params: params }); -export const downloadPDF = (params: any) => - defHttp.get( - { - url: Api.downloadUrl, - params: params, - }, - { isTransformResponse: false } - ); diff --git a/src/views/archive/employeeFile/components/analysisReport/analysisReport.vue b/src/views/archive/employeeFile/components/analysisReport/analysisReport.vue deleted file mode 100644 index c9e7399..0000000 --- a/src/views/archive/employeeFile/components/analysisReport/analysisReport.vue +++ /dev/null @@ -1,300 +0,0 @@ - - - - diff --git a/src/views/archive/employeeFile/components/analysisReport/analysisReportHooks.ts b/src/views/archive/employeeFile/components/analysisReport/analysisReportHooks.ts deleted file mode 100644 index c7de270..0000000 --- a/src/views/archive/employeeFile/components/analysisReport/analysisReportHooks.ts +++ /dev/null @@ -1,2518 +0,0 @@ -import { ref } from 'vue'; - -export const fieldNames = { - children: 'childList', - title: 'name', - key: 'id', -}; - -export function useContentName() { - const contentName = ref(''); - - function setContentName(name: string) { - contentName.value = name; - } - - return { contentName, setContentName }; -} - -export function chartOptions({ timeList, firstChild, valueList }) { - return { - title: {}, - tooltip: { - trigger: 'axis', - show: true, - formatter: (params) => { - const { name, seriesName, dataIndex } = params[0]; - return `${name}: ${valueList[dataIndex]}${seriesName}`; - }, - }, - grid: { - bottom: '15%', - right: '5%', - }, - xAxis: { - type: 'category', - data: timeList.reverse(), - }, - yAxis: { - type: 'value', - name: '单位:' + firstChild.value.unit ? firstChild.value.unit : '', - nameTextStyle: { - align: 'center', - borderWidth: 1, - padding: [0, 20, 5, 0], - }, - }, - series: [ - { - type: 'line', - name: firstChild.value.unit ? firstChild.value.unit : '', - data: valueList.reverse(), - }, - ], - }; -} -export const contentData = [ - { - peItemName: '单核细胞比率', - list: [ - { - id: '1704564010391314504', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0020', - peItemName: '单核细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597221', - printContext: '3--12', - peResult: '8.10', - unit: '%', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931546787853', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0020', - peItemName: '单核细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597221', - printContext: '3-12', - peResult: '6.70', - unit: '%', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973523382281', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0020', - peItemName: '单核细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597221', - printContext: '3-12', - peResult: '7.60', - unit: '%', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919986', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0020', - peItemName: '单核细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597221', - printContext: '3-12', - peResult: '7.50', - unit: '%', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590560', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0020', - peItemName: '单核细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597221', - printContext: '3-12', - peResult: '5.60', - unit: '%', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661190340622', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0020', - peItemName: '单核细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597221', - printContext: '3-12', - peResult: '8.90', - unit: '%', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '红细胞平均体积', - list: [ - { - id: '1704564010391314494', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0008', - peItemName: '红细胞平均体积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597012', - printContext: '82--100', - peResult: '93', - unit: 'fL', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931546787843', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0008', - peItemName: '红细胞平均体积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597012', - printContext: '82-100', - peResult: '87.60', - unit: 'fL', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973514993682', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0008', - peItemName: '红细胞平均体积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597012', - printContext: '82-100', - peResult: '88.30', - unit: 'fL', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919976', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0008', - peItemName: '红细胞平均体积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597012', - printContext: '82-100', - peResult: '89.80', - unit: 'fL', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590550', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0008', - peItemName: '红细胞平均体积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597012', - printContext: '82-100', - peResult: '84.30', - unit: 'fL', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661190340612', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0008', - peItemName: '红细胞平均体积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597012', - printContext: '82-100', - peResult: '91.10', - unit: 'fL', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '单核细胞', - list: [ - { - id: '1704564010391314507', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0023', - peItemName: '单核细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597231', - printContext: '0.12--0.8', - peResult: '0.33', - unit: '10^9/L', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931546787856', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0023', - peItemName: '单核细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597231', - printContext: '0.12-0.8', - peResult: '0.44', - unit: '10^9/L', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973523382284', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0023', - peItemName: '单核细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597231', - printContext: '0.12-0.8', - peResult: '0.45', - unit: '10^9/L', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919989', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0023', - peItemName: '单核细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597231', - printContext: '0.12-0.8', - peResult: '0.46', - unit: '10^9/L', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590563', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0023', - peItemName: '单核细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597231', - printContext: '0.12-0.8', - peResult: '0.47', - unit: '10^9/L', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661190340625', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0023', - peItemName: '单核细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597231', - printContext: '0.12-0.8', - peResult: '0.40', - unit: '10^9/L', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '嗜碱性粒细胞比率', - list: [ - { - id: '1704564010391314506', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0022', - peItemName: '嗜碱性粒细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597201', - printContext: '0--1', - peResult: '0.50', - unit: '%', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931546787855', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0022', - peItemName: '嗜碱性粒细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597201', - printContext: '0-1', - peResult: '0.20', - unit: '%', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973523382283', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0022', - peItemName: '嗜碱性粒细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597201', - printContext: '0-1', - peResult: '0.70', - unit: '%', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919988', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0022', - peItemName: '嗜碱性粒细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597201', - printContext: '0-1', - peResult: '0.20', - unit: '%', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590562', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0022', - peItemName: '嗜碱性粒细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597201', - printContext: '0-1', - peResult: '0.20', - unit: '%', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661190340624', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0022', - peItemName: '嗜碱性粒细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597201', - printContext: '0-1', - peResult: '0.20', - unit: '%', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '中性细胞比率', - list: [ - { - id: '1704564010391314498', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0013', - peItemName: '中性细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597003', - printContext: '50--70', - peResult: '64.90', - unit: '%', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931546787847', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0013', - peItemName: '中性细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597003', - printContext: '50-70', - peResult: '65.40', - unit: '%', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973523382275', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0013', - peItemName: '中性细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597003', - printContext: '50-70', - peResult: '51.60', - unit: '%', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919980', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0013', - peItemName: '中性细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597003', - printContext: '50-70', - peResult: '53.70', - unit: '%', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590554', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0013', - peItemName: '中性细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597003', - printContext: '50-70', - peResult: '67.70', - unit: '%', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661190340616', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0013', - peItemName: '中性细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597003', - printContext: '50-70', - peResult: '54.30', - unit: '%', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '平均血小板体积', - list: [ - { - id: '1704564010391314493', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0007', - peItemName: '平均血小板体积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597178', - printContext: '4--12', - peResult: '9.40', - unit: 'fL', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931546787842', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0007', - peItemName: '平均血小板体积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597178', - printContext: '4-12', - peResult: '10.90', - unit: 'fL', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973514993681', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0007', - peItemName: '平均血小板体积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597178', - printContext: '4-12', - peResult: '9.70', - unit: 'fL', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919975', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0007', - peItemName: '平均血小板体积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597178', - printContext: '4-12', - peResult: '10.70', - unit: 'fL', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590549', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0007', - peItemName: '平均血小板体积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597178', - printContext: '4-12', - peResult: '11.50', - unit: 'fL', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661190340611', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0007', - peItemName: '平均血小板体积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597178', - printContext: '4-12', - peResult: '10.60', - unit: 'fL', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '红细胞分布宽度变异系数', - list: [ - { - id: '1704564010391314503', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0019', - peItemName: '红细胞分布宽度变异系数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597241', - printContext: '11--16', - peResult: '11.40', - unit: '%', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931546787852', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0019', - peItemName: '红细胞分布宽度变异系数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597241', - printContext: '11.0-16.0', - peResult: '12.5', - unit: '%', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973523382280', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0019', - peItemName: '红细胞分布宽度变异系数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597241', - printContext: '11.0-16.0', - peResult: '11.7', - unit: '%', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919985', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0019', - peItemName: '红细胞分布宽度变异系数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597241', - printContext: '11.0-16.0', - peResult: '12.8', - unit: '%', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590559', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0019', - peItemName: '红细胞分布宽度变异系数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597241', - printContext: '11.0-16.0', - peResult: '11.7', - unit: '%', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661190340621', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0019', - peItemName: '红细胞分布宽度变异系数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597241', - printContext: '11.0-16.0', - peResult: '11.9', - unit: '%', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '大型血小板比率', - list: [ - { - id: '1704564010391314491', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0005', - peItemName: '大型血小板比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597180', - printContext: '11--45', - peResult: '19.90', - unit: '%', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931542593551', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0005', - peItemName: '大型血小板比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597180', - printContext: '11-45', - peResult: '32.50', - unit: '%', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973514993679', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0005', - peItemName: '大型血小板比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597180', - printContext: '11-45', - peResult: '22.60', - unit: '%', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919973', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0005', - peItemName: '大型血小板比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597180', - printContext: '11-45', - peResult: '29.60', - unit: '%', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590547', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0005', - peItemName: '大型血小板比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597180', - printContext: '11-45', - peResult: '35.10', - unit: '%', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661190340609', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0005', - peItemName: '大型血小板比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597180', - printContext: '11-45', - peResult: '29.00', - unit: '%', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '嗜酸性粒细胞', - list: [ - { - id: '1704564010391314508', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0024', - peItemName: '嗜酸性粒细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597170', - printContext: '0.05--0.5', - peResult: '0.03', - unit: '10^9/L', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931546787857', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0024', - peItemName: '嗜酸性粒细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597170', - printContext: '0.05-0.5', - peResult: '0.05', - unit: '10^9/L', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973523382285', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0024', - peItemName: '嗜酸性粒细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597170', - printContext: '0.05-0.5', - peResult: '0.13', - unit: '10^9/L', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919990', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0024', - peItemName: '嗜酸性粒细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597170', - printContext: '0.05-0.5', - peResult: '0.05', - unit: '10^9/L', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590564', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0024', - peItemName: '嗜酸性粒细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597170', - printContext: '0.05-0.5', - peResult: '0.09', - unit: '10^9/L', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661190340626', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0024', - peItemName: '嗜酸性粒细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597170', - printContext: '0.05-0.5', - peResult: '0.06', - unit: '10^9/L', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '嗜酸性粒细胞比率', - list: [ - { - id: '1704564010391314505', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0021', - peItemName: '嗜酸性粒细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596976', - printContext: '0.5--5', - peResult: '0.70', - unit: '%', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931546787854', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0021', - peItemName: '嗜酸性粒细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596976', - printContext: '0.5-5', - peResult: '0.80', - unit: '%', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973523382282', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0021', - peItemName: '嗜酸性粒细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596976', - printContext: '0.5-5', - peResult: '2.20', - unit: '%', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919987', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0021', - peItemName: '嗜酸性粒细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596976', - printContext: '0.5-5', - peResult: '0.80', - unit: '%', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590561', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0021', - peItemName: '嗜酸性粒细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596976', - printContext: '0.5-5', - peResult: '1.10', - unit: '%', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661190340623', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0021', - peItemName: '嗜酸性粒细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596976', - printContext: '0.5-5', - peResult: '1.30', - unit: '%', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '平均血红蛋白浓度', - list: [ - { - id: '1704564010391314502', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0018', - peItemName: '平均血红蛋白浓度', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596987', - printContext: '316--354', - peResult: '339', - unit: 'g/L', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931546787851', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0018', - peItemName: '平均血红蛋白浓度', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596987', - printContext: '316-354', - peResult: '342.00', - unit: 'g/L', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973523382279', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0018', - peItemName: '平均血红蛋白浓度', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596987', - printContext: '316-354', - peResult: '356.00', - unit: 'g/L', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919984', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0018', - peItemName: '平均血红蛋白浓度', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596987', - printContext: '316-354', - peResult: '334.00', - unit: 'g/L', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590558', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0018', - peItemName: '平均血红蛋白浓度', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596987', - printContext: '316-354', - peResult: '332.00', - unit: 'g/L', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661190340620', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0018', - peItemName: '平均血红蛋白浓度', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596987', - printContext: '316-354', - peResult: '339.00', - unit: 'g/L', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '淋巴细胞比率', - list: [ - { - id: '1704564010391314499', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0015', - peItemName: '淋巴细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597207', - printContext: '20--40', - peResult: '25.80', - unit: '%', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931546787848', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0015', - peItemName: '淋巴细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597207', - printContext: '20-40', - peResult: '26.90', - unit: '%', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973523382276', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0015', - peItemName: '淋巴细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597207', - printContext: '20-40', - peResult: '37.90', - unit: '%', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919981', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0015', - peItemName: '淋巴细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597207', - printContext: '20-40', - peResult: '37.80', - unit: '%', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590555', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0015', - peItemName: '淋巴细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597207', - printContext: '20-40', - peResult: '25.40', - unit: '%', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661190340617', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0015', - peItemName: '淋巴细胞比率', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597207', - printContext: '20-40', - peResult: '35.30', - unit: '%', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '平均血红蛋白量', - list: [ - { - id: '1704564010391314501', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0017', - peItemName: '平均血红蛋白量', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596986', - printContext: '27--34', - peResult: '32', - unit: 'pg', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931546787850', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0017', - peItemName: '平均血红蛋白量', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596986', - printContext: '27-34', - peResult: '30.00', - unit: 'pg', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973523382278', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0017', - peItemName: '平均血红蛋白量', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596986', - printContext: '27-34', - peResult: '31.40', - unit: 'pg', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919983', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0017', - peItemName: '平均血红蛋白量', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596986', - printContext: '27-34', - peResult: '30.00', - unit: 'pg', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590557', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0017', - peItemName: '平均血红蛋白量', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596986', - printContext: '27-34', - peResult: '28.00', - unit: 'pg', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661190340619', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0017', - peItemName: '平均血红蛋白量', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596986', - printContext: '27-34', - peResult: '30.90', - unit: 'pg', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '红细胞', - list: [ - { - id: '1704564010391314488', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0002', - peItemName: '红细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597228', - printContext: '4.3--5.8', - peResult: '4.68', - unit: '10^12/L', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931542593548', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0002', - peItemName: '红细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597228', - printContext: '4.3-5.8', - peResult: '5.10', - unit: '10^12/L', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973514993676', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0002', - peItemName: '红细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597228', - printContext: '4.3-5.8', - peResult: '5.45', - unit: '10^12/L', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919970', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0002', - peItemName: '红细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597228', - printContext: '3.8-5.1', - peResult: '4.50', - unit: '10^12/L', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590544', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0002', - peItemName: '红细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597228', - printContext: '3.8-5.1', - peResult: '4.53', - unit: '10^12/L', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661177757723', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0002', - peItemName: '红细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597228', - printContext: '3.8-5.1', - peResult: '4.37', - unit: '10^12/L', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '红细胞分布宽度', - list: [ - { - id: '1704564010391314495', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0009', - peItemName: '红细胞分布宽度', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597209', - printContext: '35--56', - peResult: '38.40', - unit: 'fL', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931546787844', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0009', - peItemName: '红细胞分布宽度', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597209', - printContext: '35-56', - peResult: '39.50', - unit: 'fL', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973514993683', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0009', - peItemName: '红细胞分布宽度', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597209', - printContext: '35-56', - peResult: '36.90', - unit: 'fL', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919977', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0009', - peItemName: '红细胞分布宽度', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597209', - printContext: '35-56', - peResult: '42.00', - unit: 'fL', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590551', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0009', - peItemName: '红细胞分布宽度', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597209', - printContext: '35-56', - peResult: '35.90', - unit: 'fL', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661190340613', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0009', - peItemName: '红细胞分布宽度', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597209', - printContext: '35-56', - peResult: '39.80', - unit: 'fL', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '嗜碱性粒细胞', - list: [ - { - id: '1704564010391314509', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0025', - peItemName: '嗜碱性粒细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596977', - printContext: '0.00--0.10', - peResult: '0.02', - unit: '10^9/L', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931546787858', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0025', - peItemName: '嗜碱性粒细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596977', - printContext: '0-0.1', - peResult: '0.01', - unit: '10^9/L', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973523382286', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0025', - peItemName: '嗜碱性粒细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596977', - printContext: '0-0.1', - peResult: '0.04', - unit: '10^9/L', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919991', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0025', - peItemName: '嗜碱性粒细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596977', - printContext: '0-0.1', - peResult: '0.01', - unit: '10^9/L', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590565', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0025', - peItemName: '嗜碱性粒细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596977', - printContext: '0-0.1', - peResult: '0.02', - unit: '10^9/L', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661190340627', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0025', - peItemName: '嗜碱性粒细胞', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596977', - printContext: '0-0.1', - peResult: '0.01', - unit: '10^9/L', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '血小板', - list: [ - { - id: '1704564010391314490', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0004', - peItemName: '血小板', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596994', - printContext: '125--350', - peResult: '155', - unit: '10^9/L', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931542593550', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0004', - peItemName: '血小板', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596994', - printContext: '125-350', - peResult: '208.00', - unit: '10^9/L', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973514993678', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0004', - peItemName: '血小板', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596994', - printContext: '125-350', - peResult: '233.00', - unit: '10^9/L', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919972', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0004', - peItemName: '血小板', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596994', - printContext: '125-350', - peResult: '255.00', - unit: '10^9/L', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590546', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0004', - peItemName: '血小板', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596994', - printContext: '125-350', - peResult: '185.00', - unit: '10^9/L', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661177757725', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0004', - peItemName: '血小板', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596994', - printContext: '125-350', - peResult: '264.00', - unit: '10^9/L', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '淋巴细胞数', - list: [ - { - id: '1704564010391314497', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0012', - peItemName: '淋巴细胞数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597169', - printContext: '0.8--4', - peResult: '1.05', - unit: '10^9/L', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931546787846', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0012', - peItemName: '淋巴细胞数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597169', - printContext: '0.8-4', - peResult: '1.76', - unit: '10^9/L', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973523382274', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0012', - peItemName: '淋巴细胞数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597169', - printContext: '0.8-4', - peResult: '2.23', - unit: '10^9/L', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919979', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0012', - peItemName: '淋巴细胞数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597169', - printContext: '0.8-4', - peResult: '2.33', - unit: '10^9/L', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590553', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0012', - peItemName: '淋巴细胞数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597169', - printContext: '0.8-4', - peResult: '2.12', - unit: '10^9/L', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661190340615', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0012', - peItemName: '淋巴细胞数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597169', - printContext: '0.8-4', - peResult: '1.59', - unit: '10^9/L', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '中性细胞数', - list: [ - { - id: '1704564010391314496', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0011', - peItemName: '中性细胞数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596982', - printContext: '2.00--7.00', - peResult: '2.64', - unit: '10^9/L', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931546787845', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0011', - peItemName: '中性细胞数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596982', - printContext: '2-7', - peResult: '4.28', - unit: '10^9/L', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973514993684', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0011', - peItemName: '中性细胞数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596982', - printContext: '2-7', - peResult: '3.04', - unit: '10^9/L', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919978', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0011', - peItemName: '中性细胞数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596982', - printContext: '2-7', - peResult: '3.31', - unit: '10^9/L', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590552', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0011', - peItemName: '中性细胞数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596982', - printContext: '2-7', - peResult: '5.64', - unit: '10^9/L', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661190340614', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0011', - peItemName: '中性细胞数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414596982', - printContext: '2-7', - peResult: '2.45', - unit: '10^9/L', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '红细胞压积', - list: [ - { - id: '1704564010391314492', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0006', - peItemName: '红细胞压积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597213', - printContext: '40--50', - peResult: '43.70', - unit: '%', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931542593552', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0006', - peItemName: '红细胞压积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597213', - printContext: '0.4-0.5', - peResult: '0.45', - unit: null, - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973514993680', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0006', - peItemName: '红细胞压积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597213', - printContext: '0.4-0.5', - peResult: '0.48', - unit: null, - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919974', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0006', - peItemName: '红细胞压积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597213', - printContext: '0.35-0.45', - peResult: '0.40', - unit: null, - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590548', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0006', - peItemName: '红细胞压积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597213', - printContext: '0.35-0.45', - peResult: '0.38', - unit: null, - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661190340610', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0006', - peItemName: '红细胞压积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597213', - printContext: '0.35-0.45', - peResult: '0.40', - unit: null, - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '白细胞计数', - list: [ - { - id: '1704564010391314487', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0001', - peItemName: '白细胞计数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597235', - printContext: '3.5--9.5', - peResult: '4.07', - unit: '10^9/L', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931542593547', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0001', - peItemName: '白细胞计数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597235', - printContext: '3.5-9.5', - peResult: '6.54', - unit: '10^9/L', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973514993675', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0001', - peItemName: '白细胞计数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597235', - printContext: '3.5-9.5', - peResult: '5.89', - unit: '10^9/L', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919969', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0001', - peItemName: '白细胞计数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597235', - printContext: '3.5-9.5', - peResult: '6.16', - unit: '10^9/L', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590543', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0001', - peItemName: '白细胞计数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597235', - printContext: '3.5-9.5', - peResult: '8.34', - unit: '10^9/L', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661177757722', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0001', - peItemName: '白细胞计数', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597235', - printContext: '3.5-9.5', - peResult: '4.51', - unit: '10^9/L', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '血小板分布宽度', - list: [ - { - id: '1704564010391314500', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0016', - peItemName: '血小板分布宽度', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597007', - printContext: '9--17', - peResult: '10.40', - unit: 'fL', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931546787849', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0016', - peItemName: '血小板分布宽度', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597007', - printContext: '9-17', - peResult: '13.50', - unit: 'fL', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973523382277', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0016', - peItemName: '血小板分布宽度', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597007', - printContext: '9-17', - peResult: '11.00', - unit: 'fL', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919982', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0016', - peItemName: '血小板分布宽度', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597007', - printContext: '9-17', - peResult: '12.20', - unit: 'fL', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590556', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0016', - peItemName: '血小板分布宽度', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597007', - printContext: '9-17', - peResult: '13.60', - unit: 'fL', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661190340618', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0016', - peItemName: '血小板分布宽度', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597007', - printContext: '9-17', - peResult: '12.00', - unit: 'fL', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, - { - peItemName: '血小板容积', - list: [ - { - id: '1704564010391314510', - createBy: null, - createDate: '2023-09-21 02:31:44', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0026', - peItemName: '血小板容积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597138', - printContext: '0.108--0.282', - peResult: '0.15', - unit: '%', - userResultId: '1704077467717410817', - peYear: '2021', - }, - { - id: '1704563931546787859', - createBy: null, - createDate: '2023-09-21 02:31:25', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0026', - peItemName: '血小板容积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597138', - printContext: '0.108-0.282', - peResult: '0.23', - unit: '%', - userResultId: '1704092567102767106', - peYear: '2019', - }, - { - id: '1704563973523382287', - createBy: null, - createDate: '2023-09-21 02:31:35', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0026', - peItemName: '血小板容积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597138', - printContext: '0.108-0.282', - peResult: '0.23', - unit: '%', - userResultId: '1704092567664803841', - peYear: '2019', - }, - { - id: '1704564006410919992', - createBy: null, - createDate: '2023-09-21 02:31:43', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0026', - peItemName: '血小板容积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597138', - printContext: '0.108-0.282', - peResult: '0.27', - unit: '%', - userResultId: '1704092567979376641', - peYear: '2019', - }, - { - id: '1704563618886590566', - createBy: null, - createDate: '2023-09-21 02:30:11', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0026', - peItemName: '血小板容积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597138', - printContext: '0.108-0.282', - peResult: '0.21', - unit: '%', - userResultId: '1704092569262833665', - peYear: '2019', - }, - { - id: '1704563661190340628', - createBy: null, - createDate: '2023-09-21 02:30:21', - updateBy: null, - updateDate: null, - peItemCode: 'xcg0026', - peItemName: '血小板容积', - itemAssemCode: null, - itemAssemName: null, - uniItemId: '28306490414597138', - printContext: '0.108-0.282', - peResult: '0.28', - unit: '%', - userResultId: '1704092569648709634', - peYear: '2019', - }, - ], - }, -]; diff --git a/src/views/archive/employeeFile/components/analysisReport/components/analysisContent.vue b/src/views/archive/employeeFile/components/analysisReport/components/analysisContent.vue deleted file mode 100644 index 419d89b..0000000 --- a/src/views/archive/employeeFile/components/analysisReport/components/analysisContent.vue +++ /dev/null @@ -1,332 +0,0 @@ - - - diff --git a/src/views/archive/employeeFile/components/basicInfo/basicInfo.data.ts b/src/views/archive/employeeFile/components/basicInfo/basicInfo.data.ts deleted file mode 100644 index e99c0aa..0000000 --- a/src/views/archive/employeeFile/components/basicInfo/basicInfo.data.ts +++ /dev/null @@ -1,681 +0,0 @@ -import { FormSchema } from '/@/components/Form'; -import { getSecondaryDepartmentList, getThirdDepartmentList } from '/@/views/system/user/user.api'; -import { message } from 'ant-design-vue'; -import { ColEx } from '/@/components/Form/src/types'; -import { checkPassword } from '/@/hooks/checkPassword/checkPassword'; -// 自适应列配置 -export const adaptiveColProps: Partial = { - span: 6, - xs: 12, // <576px - sm: 12, // ≥576px - md: 12, // ≥768px - lg: 12, // ≥992px - xl: 12, // ≥1200px - xxl: 8, // ≥1600px -}; - -export function getPopupContainer() { - return document.body; -} -/** - * @Description:form校验关系 - * @date `2023/8/17` - */ -export function checkRelation(_, value) { - if (!value) { - return Promise.reject('请选择与员工的关系'); - } - return Promise.resolve(); -} -/** - * @Description:校验值重复的个数 - * @date 2023/8/17 - * @param val - * @param list - * @return 出现的个数 - */ -export function repeatCount(val, list) { - let i = 0; - list.map((item) => { - if (item == val && item !== '') { - i++; - } - }); - return i; -} -export interface FormItem { - name: string; - phone: number | string; - familyRelation: string; - idCard: string; - id?: string; - - [key: string]: any; -} - -export interface TableState { - data: FormItem[]; - selectedRowKeys: any[]; -} - -type FunForm = (isUpdate: boolean) => FormSchema[]; -/** - * @Description:基础信息 - * @date 2023/8/2 - * @param isUpdate - */ -// @ts-ignore -export const formSchema: FunForm = (isUpdate = false) => [ - { - label: '用户账号', - field: 'username', - component: 'Input', - componentProps: ({ formModel }) => { - return { - onInput: () => { - formModel.username = formModel.username.replace(/[^a-zA-Z0-9_]/g, ''); - }, - autocomplete: 'off', - }; - }, - required: true, - }, - { - label: '密码', - field: 'password', - component: 'StrengthMeter', - componentProps: { - // @ts-ignore - autocomplete: 'new-password', - }, - dynamicRules: () => { - return [ - { - required: true, - validator: (_, value) => { - let { message } = checkPassword(value); - if (message === 'ok') { - return Promise.resolve(); - } else { - return Promise.reject(message); - } - }, - trigger: 'blur', - }, - ]; - }, - required: true, - ifShow: isUpdate, - }, - { - label: '姓名', - field: 'realname', - component: 'Input', - required: true, - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: { - // @ts-ignore - dictCode: 'sex2', - }, - required: true, - }, - - { - label: '手机号码', - field: 'phone', - component: 'Input', - componentProps: ({ formModel }) => { - return { - onInput: () => { - formModel.phone = formModel.phone.replace(/[^0-9]/g, ''); - }, - }; - }, - rules: [ - { - required: true, - }, - { - pattern: /^1[3456789][0-9]{9}$/, - message: '${label}格式有误', - }, - ], - }, - { - label: '身份证号', - field: 'idCard', - component: 'Input', - componentProps: ({ formModel }) => { - return { - onInput: () => { - formModel.idCard = formModel.idCard.replace(/[^Xx0-9]/g, ''); - }, - }; - }, - rules: [ - { - required: true, - }, - { - pattern: /^\d{6}(18|19|20)?\d{2}(0[1-9]|1[012])(0[1-9]|[12]\d|3[01])\d{3}(\d|[xX])$/, - message: '${label}格式有误', - }, - ], - }, - { - label: '邮箱', - field: 'email', - component: 'Input', - rules: [ - { - pattern: /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/, - message: '${label}格式有误', - required: true, - }, - ], - }, - { - label: '编号', - field: 'empSysno', - component: 'Input', - required: true, - componentProps: ({ formModel }) => { - return { - onInput: () => { - formModel.empSysno = formModel.empSysno.replace(/[^0-9]/g, ''); - }, - }; - }, - }, - { - label: '单位', - field: 'secondDepart', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'id', - immediate: true, - onChange: (_value) => { - formModel.orgCode = ''; - }, - onDeselect: () => { - formModel.secondDepart = ''; - formModel.orgCode = ''; - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '部门', - field: 'orgCode', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: getThirdDepartmentList, - resultField: 'list', - labelField: 'departName', - params: { - secondDepartId: formModel?.secondDepart || '12313', - }, - valueField: 'id', - immediate: true, - onFocus: () => { - if (!formModel.secondDepart) { - return message.warn('请先选择单位!'); - } - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '职务', - field: 'empJob', - component: 'JDictSelectTag', - componentProps: { - // @ts-ignore - dictCode: 'e_job', - getPopupContainer: () => document.body, - }, - }, - { - label: '职称', - field: 'empTitle', - component: 'JDictSelectTag', - componentProps: { - // @ts-ignore - dictCode: 'e_title', - getPopupContainer: () => document.body, - }, - }, - { - label: '职位', - field: 'empPosition', - component: 'JDictSelectTag', - componentProps: { - // @ts-ignore - dictCode: 'emp_position', - getPopupContainer: () => document.body, - }, - }, - { - label: '行政级别', - field: 'empLevel', - component: 'JDictSelectTag', - componentProps: { - // @ts-ignore - dictCode: 'emp_level', - getPopupContainer: () => document.body, - }, - }, - { - label: '子组', - field: 'empGroup', - component: 'JDictSelectTag', - componentProps: { - // @ts-ignore - dictCode: 'emp_group', - getPopupContainer: () => document.body, - }, - }, - { - label: '工作状态', - field: 'empStatus', - component: 'JDictSelectTag', - componentProps: { - // @ts-ignore - dictCode: 'emp_status', - getPopupContainer: () => document.body, - }, - }, - { - label: '工种', - field: 'medicalWorkTypeCode', - component: 'JDictSelectTag', - componentProps: { - // @ts-ignore - dictCode: 'medical_worktype', - showSearch: true, - getPopupContainer: () => document.body, - }, - }, - { - label: '体检形式', - field: 'medicalOnJob', - component: 'JDictSelectTag', - componentProps: { - // @ts-ignore - dictCode: 'medical_on_job', - getPopupContainer: () => document.body, - }, - }, - { - label: '接害时间', - field: 'medicalHazardDate', - component: 'DatePicker', - componentProps: { - // @ts-ignore - showTime: false, - valueFormat: 'YYYY-MM-DD HH:mm:ss', - getPopupContainer: () => document.body, - }, - }, - { - label: '危害因素', - field: 'medicalHazardFactorCode', - component: 'JDictSelectTag', - componentProps: { - // @ts-ignore - dictCode: 'medical_hazard', - showSearch: true, - mode: 'multiple', - getPopupContainer: () => document.body, - }, - }, - { - label: '隐藏id', - field: 'id', - component: 'Input', - show: false, - }, -]; -/** - * @Description:set基本信息 - * @date 2023/8/15 - * @param form1Obj - * @param res - */ -export function setBasicInfo(form1Obj, res) { - // 危害因素 - let medicalHazardFactorCode = null; - if (res?.extension?.medicalHazardFactorCode) { - medicalHazardFactorCode = res.extension.medicalHazardFactorCode?.split(','); - } - return { - ...form1Obj, - email: res?.email || '', - empSysno: res?.extension?.empSysno, - empJob: res?.extension?.empJob, - empTitle: res?.extension?.empTitle, - empPosition: res?.extension?.empPosition, - empLevel: res?.extension?.empLevel, - empGroup: res?.extension?.empGroup, - empStatus: res?.extension?.empStatus, - medicalWorkTypeCode: res?.extension?.medicalWorkTypeCode, - medicalOnJob: res?.extension?.medicalOnJob, - medicalHazardFactorCode: medicalHazardFactorCode, - medicalHazardDate: res?.extension?.medicalHazardDate, - secondDepart: res?.secondDepart?.id, //单位 - orgCode: res?.depart?.id, //部门 - }; -} - -/** - * @Description:扩展信息 - * @date 2023/7/24 - * @param isUpdate - */ -// @ts-ignore -export const extendedInfoForm: FunForm = (isUpdate = false) => [ - { - label: '头像', - field: 'avatar', - component: 'JImageUpload', - componentProps: { - // @ts-ignore - maxCount: 1, - }, - }, - { - label: '身份证正面', - field: 'empIdcardFace', - component: 'JImageUpload', - componentProps: { - // @ts-ignore - maxCount: 1, - }, - }, - { - label: '身份证反面', - field: 'empIdcardBack', - component: 'JImageUpload', - componentProps: { - // @ts-ignore - maxCount: 1, - }, - }, - { - label: '身高', - field: 'height', - component: 'Input', - componentProps: ({ formModel }) => { - return { - suffix: 'cm', - style: { - width: '100%', - }, - onInput: () => { - formModel.height = formModel.height.match(/\d+\.?\d{0,2}/); - // formModel.height = formModel.height.replace(/[^0-9.]/g, ''); - }, - }; - }, - }, - { - label: '体重', - field: 'weight', - component: 'Input', - componentProps: ({ formModel }) => { - return { - suffix: 'kg', - style: { - width: '100%', - }, - onInput: () => { - formModel.weight = formModel.weight.match(/\d+\.?\d{0,2}/); - }, - }; - }, - }, - { - label: '出生日期', - field: 'birthday', - component: 'DatePicker', - componentProps: { - // @ts-ignore - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - disabledDate: (current) => current > new Date(), - }, - ifShow: !isUpdate, - }, - { - label: '年龄', - field: 'age', - component: 'InputNumber', - componentProps: { - //@ts-ignore - style: { - width: '100%', - }, - }, - ifShow: !isUpdate, - }, - { - label: '血型', - field: 'bloodType', - component: 'JDictSelectTag', - componentProps: { - //@ts-ignore - dictCode: 'blood_type', - getPopupContainer: () => document.body, - }, - }, - { - label: '民族', - field: 'empNation', - component: 'JDictSelectTag', - componentProps: { - //@ts-ignore - dictCode: 'nation', - getPopupContainer: () => document.body, - }, - }, - { - label: '婚姻状况', - field: 'empMarriage', - component: 'JDictSelectTag', - componentProps: { - //@ts-ignore - dictCode: 'mr_state', - getPopupContainer: () => document.body, - }, - }, - { - label: '政治面貌', - field: 'empPolitical', - component: 'JDictSelectTag', - componentProps: { - //@ts-ignore - dictCode: 'emp_political', - getPopupContainer: () => document.body, - }, - }, - { - label: '学历', - field: 'empDegree', - component: 'JDictSelectTag', - componentProps: { - //@ts-ignore - dictCode: 'emp_education', - getPopupContainer: () => document.body, - }, - }, - { - label: '籍贯', - field: 'empNativeplace', - component: 'Input', - }, - { - label: '入职时间', - field: 'empWorktime', - component: 'DatePicker', - componentProps: { - //@ts-ignore - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - disabledDate: (current) => current > new Date(), - }, - }, - { - label: '用工形式', - field: 'empType', - component: 'JDictSelectTag', - componentProps: { - //@ts-ignore - dictCode: 'contract', - getPopupContainer: () => document.body, - }, - }, - { - label: '是否上市员工', - field: 'listedFlag', - component: 'JDictSelectTag', - componentProps: { - //@ts-ignore - dictCode: 'sf_10', - getPopupContainer: () => document.body, - }, - }, - { - label: '工作地点', - field: 'workSpace', - component: 'Input', - }, - { - label: '居住地点', - field: 'liveSpace', - component: 'Input', - }, - { - label: '健康类型', - field: 'healthType', - component: 'JDictSelectTag', - componentProps: { - // @ts-ignore - dictCode: 'health_type', - getPopupContainer: () => document.body, - }, - }, - { - label: '健康状态', - field: 'empJkState', - component: 'JDictSelectTag', - componentProps: { - // @ts-ignore - dictCode: 'jk_status', - getPopupContainer: () => document.body, - }, - }, -]; - -/** - * @Description:set扩展信息 - * @date 2023/8/15 - * @param res - */ -export function setExtendedForm(res) { - return { - height: res?.extension?.height, - weight: res?.extension?.weight, - birthday: res?.birthday || '', - age: res?.age, - bloodType: res?.extension?.bloodType, - empNation: res?.extension?.empNation, - empMarriage: res?.extension?.empMarriage, - empPolitical: res?.extension?.empPolitical, - empDegree: res?.extension?.empDegree, - empNativeplace: res?.extension?.empNativeplace, - empWorktime: res?.extension?.empWorktime, - empType: res?.extension?.empType, - listedFlag: res?.extension?.listedFlag, - workSpace: res?.extension?.workSpace, - liveSpace: res?.extension?.liveSpace, - empJkState: res?.extension?.empJkState, - healthType: res?.extension?.healthType, - avatar: res?.avatar, - empIdcardFace: res?.extension?.empIdcardFace, - empIdcardBack: res?.extension?.empIdcardBack, - }; -} - -/** - * @Description:身份证截取生日 - * @date 2023/8/15 - * @param cardId - */ -export function getBirth(cardId: string) { - if (!cardId) return ''; - return cardId.substring(6, 10) + '-' + cardId.substring(10, 12) + '-' + cardId.substring(12, 14); -} -/** - * @Description:处理请求参数 - * @param basicInfo - * @param extendForm - */ -export function dealParams(basicInfo = {}, extendForm: any) { - // 危害因素 - const medicalHazardFactorCode = basicInfo?.['medicalHazardFactorCode'] || null; - const idCard = basicInfo?.['idCard'] || null; - return { - ...basicInfo, - ...extendForm, - birthday: getBirth(idCard), - secondDepart: null, - extension: { - ...basicInfo, - ...extendForm, - birthday: getBirth(idCard), - secondDepart: null, - medicalHazardFactorCode: medicalHazardFactorCode, - }, - }; -} - -/** - * @Description:表单字段验证 - * @date 2023/8/18 - * @param type - * @param value - * @param list 校验数据 - */ -export function formValidate(type, value, list) { - const messageType = { - phone: '输入的手机号有重复', - idCard: '输入的身份证号有重复', - }; - const emptyType = { - phone: '请输入手机号', - idCard: '请输入身份证号', - }; - if (!value) { - return Promise.reject(emptyType[type]); - } - if (repeatCount(value, list) > 1) { - return Promise.reject(messageType[type]); - } else { - return Promise.resolve(); - } -} diff --git a/src/views/archive/employeeFile/components/basicInfo/basicInfo.vue b/src/views/archive/employeeFile/components/basicInfo/basicInfo.vue deleted file mode 100644 index 2552a26..0000000 --- a/src/views/archive/employeeFile/components/basicInfo/basicInfo.vue +++ /dev/null @@ -1,410 +0,0 @@ - - - - diff --git a/src/views/archive/employeeFile/components/employeeFileDetail/employeeFileDetail.vue b/src/views/archive/employeeFile/components/employeeFileDetail/employeeFileDetail.vue deleted file mode 100644 index 8bf9800..0000000 --- a/src/views/archive/employeeFile/components/employeeFileDetail/employeeFileDetail.vue +++ /dev/null @@ -1,93 +0,0 @@ - - - - diff --git a/src/views/archive/employeeFile/components/examinationReport/examinationReport.api.ts b/src/views/archive/employeeFile/components/examinationReport/examinationReport.api.ts deleted file mode 100644 index c6383e4..0000000 --- a/src/views/archive/employeeFile/components/examinationReport/examinationReport.api.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -export enum Api { - list = '/archives/employeeArchives/queryByUserId', - queryById = '', - save = '/health-consultation/consultation/conHealthInfo/add', - edit = '/health-consultation/consultation/conHealthInfo/edit', - deleteOne = '/health-consultation/consultation/conHealthInfo/delete', - // report = '/historyReport/getHistoryReportById', - report = '/health-archives/historyReport/selectHealthReportResult', -} -/** - * @Description: 获取列表数据 - * @date 2023/7/25 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); -/** - * @Description:体检报告详情 - * @date 2023/8/16 - * @param: - */ -export const report = (params) => defHttp.get({ url: Api.report, params }); diff --git a/src/views/archive/employeeFile/components/examinationReport/examinationReport.data.ts b/src/views/archive/employeeFile/components/examinationReport/examinationReport.data.ts deleted file mode 100644 index cb90401..0000000 --- a/src/views/archive/employeeFile/components/examinationReport/examinationReport.data.ts +++ /dev/null @@ -1,145 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -export const columns: BasicColumn[] = [ - { - title: '体检日期', - align: 'center', - dataIndex: 'peQueueDate', - }, - { - title: '体检年度', - align: 'center', - dataIndex: 'medicalYear', - }, - { - title: '体检医院', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '审核时间', - align: 'center', - dataIndex: 'auditDate', - }, - { - title: '报告上传时间', - align: 'center', - dataIndex: 'createDate', - }, - // { - // title: '体检检出', - // align: 'center', - // dataIndex: 'sicksDetailsToString', - // }, - // { - // title: '正常/异常项', - // align: 'center', - // dataIndex: 'statusListToString', - // }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '体检日期', - field: 'date', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - 'onUpdate:value': (value) => { - if (value) { - formModel.startTime = value[0]; - formModel.endTime = value[1]; - } else { - formModel.startTime = null; - formModel.endTime = null; - } - }, - }; - }, - }, - { - label: '开始时间', - field: 'startTime', - component: 'Input', - show: false, - }, - { - label: '结束时间', - field: 'endTime', - component: 'Input', - show: false, - }, -]; -const one = { - analysisName: 'cqmc', - senResultRes: 'childlist', -}; -const two = { - thirdResultRes: 'childlist', - uniItemClassName: 'cqmc', -}; -const three = { - peItemName: 'cqmc', - peResult: 'xmz', - unit: 'xmdw', - printContext: 'cqckz', -}; - -//循序键值对,依次更改 -let index = 0; -const arr = [one, two, three]; -export function changeKey(json) { - function getData(list, one) { - if (one && typeof one == 'object') { - const oneKeys = Object.keys(one); - oneKeys.forEach((key) => { - list.forEach((item) => { - if (item[key] && Array.isArray(item[key]) && item[key].length) { - index++; - item[one[key]] = item[key]; - getData(item[key], arr[index]); - delete item[key]; - } else { - item[one[key]] = item[key]; - item['show'] = true; - delete item[key]; - } - }); - }); - } - - return list; - } - getData(json, one); - return json; -} - -export function replaceProperties(json) { - return json.map((item) => { - return { - ...item, - show: true, - cqmc: item?.analysisName, - childlist: - item?.senResultRes?.map((result) => { - return { - ...result, - cqmc: result?.uniItemClassName, - show: true, - childlist: - result?.thirdResultRes?.map((thirdResult) => { - return { - ...thirdResult, - cqmc: thirdResult?.peItemName, - xmz: thirdResult?.peResult, - xmdw: thirdResult?.unit, - cqckz: thirdResult?.printContext, - show: true, - }; - }) || [], - }; - }) || [], - }; - }); -} diff --git a/src/views/archive/employeeFile/components/examinationReport/examinationReport.vue b/src/views/archive/employeeFile/components/examinationReport/examinationReport.vue deleted file mode 100644 index 134dc57..0000000 --- a/src/views/archive/employeeFile/components/examinationReport/examinationReport.vue +++ /dev/null @@ -1,75 +0,0 @@ - - - - diff --git a/src/views/archive/employeeFile/components/healthAssessment/components/healthQuestionDrawer.vue b/src/views/archive/employeeFile/components/healthAssessment/components/healthQuestionDrawer.vue deleted file mode 100644 index f611d60..0000000 --- a/src/views/archive/employeeFile/components/healthAssessment/components/healthQuestionDrawer.vue +++ /dev/null @@ -1,49 +0,0 @@ - - diff --git a/src/views/archive/employeeFile/components/healthAssessment/healthAssessment.api.ts b/src/views/archive/employeeFile/components/healthAssessment/healthAssessment.api.ts deleted file mode 100644 index bee450e..0000000 --- a/src/views/archive/employeeFile/components/healthAssessment/healthAssessment.api.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -export enum Api { - list = '/health-archives/archives/hmsEvaluationStatistics/pageCustom', - queryById = '/health-archives/archives/hmsEvaluation/questionByLogId', - exportReport = '/health-archives/archives/hmsEvaluation/pdfByLogId', -} -/** - * @Description:列表接口 - * @date 2023/7/18 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); -/** - * @Description:获取答题问卷详情 - * @date 2023/8/12 - * @param params - */ -export const queryById = (params) => defHttp.get({ url: Api.queryById, params }); -/** - * @Description:获取pdf下载地址byLogId - * @date 2023/8/16 - * @param params - */ -export const exportReport = (params) => defHttp.get({ url: Api.exportReport, params }); -export const downloadReport = (url: string) => defHttp.get({ ...{ url: url }, ...{ responseType: 'blob' } }); diff --git a/src/views/archive/employeeFile/components/healthAssessment/healthAssessment.data.ts b/src/views/archive/employeeFile/components/healthAssessment/healthAssessment.data.ts deleted file mode 100644 index 7a768d8..0000000 --- a/src/views/archive/employeeFile/components/healthAssessment/healthAssessment.data.ts +++ /dev/null @@ -1,80 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -export const columns: BasicColumn[] = [ - { - title: '评估日期', - align: 'center', - dataIndex: 'createTime', - }, - { - title: '体重指数', - align: 'center', - dataIndex: 'bmiDesc', - }, - { - title: '缺血性心血管病', - align: 'center', - dataIndex: 'ischemicCardiovascular_dictText', - }, - { - title: '糖尿病', - align: 'center', - dataIndex: 'diabetes_dictText', - }, - { - title: '肺癌', - align: 'center', - dataIndex: 'lungCancer_dictText', - }, - { - title: '高血压', - align: 'center', - dataIndex: 'hypertension_dictText', - }, - { - title: '代谢综合征', - align: 'center', - dataIndex: 'metabolicSyndrome_dictText', - }, - { - title: '详情id', - align: 'center', - dataIndex: 'logId', - ifShow: false, - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '体检日期', - field: 'date', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - 'onUpdate:value': (value) => { - if (value) { - formModel.startDate = value[0]; - formModel.endDate = value[1]; - } else { - formModel.startDate = null; - formModel.endDate = null; - } - }, - }; - }, - }, - { - label: '开始时间', - field: 'startDate', - component: 'Input', - show: false, - }, - { - label: '结束时间', - field: 'endDate', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/archive/employeeFile/components/healthAssessment/healthAssessment.vue b/src/views/archive/employeeFile/components/healthAssessment/healthAssessment.vue deleted file mode 100644 index a28033d..0000000 --- a/src/views/archive/employeeFile/components/healthAssessment/healthAssessment.vue +++ /dev/null @@ -1,116 +0,0 @@ - - - - diff --git a/src/views/archive/employeeFile/components/psychologicalAssessment/components/questionDetailDrawer.vue b/src/views/archive/employeeFile/components/psychologicalAssessment/components/questionDetailDrawer.vue deleted file mode 100644 index 42895f9..0000000 --- a/src/views/archive/employeeFile/components/psychologicalAssessment/components/questionDetailDrawer.vue +++ /dev/null @@ -1,25 +0,0 @@ - - diff --git a/src/views/archive/employeeFile/components/psychologicalAssessment/psychologicalAssessment.api.ts b/src/views/archive/employeeFile/components/psychologicalAssessment/psychologicalAssessment.api.ts deleted file mode 100644 index 544fa5e..0000000 --- a/src/views/archive/employeeFile/components/psychologicalAssessment/psychologicalAssessment.api.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -export enum Api { - list = '/archives/hmsEvaluation/pageCustom', - queryById = '/archives/hmsEvaluation/question', -} -/** - * @Description:列表接口 - * @date 2023/7/18 - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); -export const queryById = (params) => defHttp.get({ url: Api.queryById, params }); diff --git a/src/views/archive/employeeFile/components/psychologicalAssessment/psychologicalAssessment.data.ts b/src/views/archive/employeeFile/components/psychologicalAssessment/psychologicalAssessment.data.ts deleted file mode 100644 index 0a8bac4..0000000 --- a/src/views/archive/employeeFile/components/psychologicalAssessment/psychologicalAssessment.data.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -export const columns: BasicColumn[] = [ - { - title: '评估日期', - align: 'center', - dataIndex: 'saveDate', - }, - { - title: '健康评分', - align: 'center', - dataIndex: 'grade', - }, - { - title: '评分等级', - align: 'center', - dataIndex: 'level', - }, - { - title: '累计评估', - align: 'center', - dataIndex: 'fromName', - ifShow: false, - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '体检日期', - field: 'date', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - onChange: ([start, end]) => { - formModel.startDate = start; - formModel.endDate = end; - }, - }; - }, - }, - { - label: '开始时间', - field: 'startDate', - component: 'Input', - show: false, - }, - { - label: '结束时间', - field: 'endDate', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/archive/employeeFile/components/psychologicalAssessment/psychologicalAssessment.vue b/src/views/archive/employeeFile/components/psychologicalAssessment/psychologicalAssessment.vue deleted file mode 100644 index b21e9ca..0000000 --- a/src/views/archive/employeeFile/components/psychologicalAssessment/psychologicalAssessment.vue +++ /dev/null @@ -1,113 +0,0 @@ - - - - diff --git a/src/views/archive/employeeFile/components/questionType/checkTopic.vue b/src/views/archive/employeeFile/components/questionType/checkTopic.vue deleted file mode 100644 index d74288f..0000000 --- a/src/views/archive/employeeFile/components/questionType/checkTopic.vue +++ /dev/null @@ -1,36 +0,0 @@ - - - - - diff --git a/src/views/archive/employeeFile/components/questionType/index.vue b/src/views/archive/employeeFile/components/questionType/index.vue deleted file mode 100644 index b147c54..0000000 --- a/src/views/archive/employeeFile/components/questionType/index.vue +++ /dev/null @@ -1,30 +0,0 @@ - - - diff --git a/src/views/archive/employeeFile/components/questionType/inputTopic.vue b/src/views/archive/employeeFile/components/questionType/inputTopic.vue deleted file mode 100644 index b56f3a6..0000000 --- a/src/views/archive/employeeFile/components/questionType/inputTopic.vue +++ /dev/null @@ -1,25 +0,0 @@ - - - - - diff --git a/src/views/archive/employeeFile/components/questionType/multipleTopic.vue b/src/views/archive/employeeFile/components/questionType/multipleTopic.vue deleted file mode 100644 index 958ff76..0000000 --- a/src/views/archive/employeeFile/components/questionType/multipleTopic.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - - - diff --git a/src/views/archive/employeeFile/components/questionType/radioTopic.vue b/src/views/archive/employeeFile/components/questionType/radioTopic.vue deleted file mode 100644 index 120afd4..0000000 --- a/src/views/archive/employeeFile/components/questionType/radioTopic.vue +++ /dev/null @@ -1,34 +0,0 @@ - - - diff --git a/src/views/archive/employeeFile/components/stressAssessment/stressAssessment.vue b/src/views/archive/employeeFile/components/stressAssessment/stressAssessment.vue deleted file mode 100644 index 160cdb9..0000000 --- a/src/views/archive/employeeFile/components/stressAssessment/stressAssessment.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/src/views/archive/employeeFile/employeeFileList.api.ts b/src/views/archive/employeeFile/employeeFileList.api.ts deleted file mode 100644 index 7f63cfc..0000000 --- a/src/views/archive/employeeFile/employeeFileList.api.ts +++ /dev/null @@ -1,81 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -export enum Api { - list = '/sys/healthUserEmployeeEx/list', - queryById = '/archives/employeeArchives/queryById', - // queryById = '/sys/healthUserEmployeeEx/queryById', - save = '/sys/healthUserEmployeeEx/add', - edit = '/sys/healthUserEmployeeEx/edit', - deleteOne = '/health-consultation/consultation/conHealthInfo/delete', - thirdByCode = '/sys/sysDepart/getThirdDepartListByOrgCode', - updateEmergency = '/sys/sysUserEmergencyContact/add', - getEmergency = '/sys/sysUserEmergencyContact/list', - removeEmergency = '/sys/sysUserEmergencyContact/delete', - reportStatus = '/health-archives/archives/hmsEvaluation/analysisReport/status', - reportGenerate = '/health-archives/archives/hmsEvaluation/analysisReport/generate', -} -/** - * @Description:列表接口 - * @date 2023/7/17 - */ -export const list = (params) => defHttp.get({ url: Api.list, params: { ...params, selectFamily: true } }); -/** - * @Description:获取详情信息 - * @date 2023/7/17 - */ -export const queryById = (params) => defHttp.get({ url: Api.queryById, params }); - -/** - * 保存或者更新 - * @param params - * @param isUpdate - * @param handleSuccess - */ -export const saveOrUpdate = (params, isUpdate, handleSuccess) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }).then(() => { - handleSuccess(); - }); -}; -/** - * @Description:通过code查三级部门 - * @date 2023/8/3 - * @param params - */ -export const getThirdDepartListByOrgCode = (params) => defHttp.get({ url: Api.thirdByCode, params }); - -/**. - * @Description:添加或者修改紧急联系人 - * @date 2023/8/3 - * @param params - */ -export const updateEmergency = (params) => defHttp.post({ url: Api.updateEmergency, params }, { successNeedMessage: false }); -/** - * @Description:查询紧急联系人列表 - * @date 2023/8/3 - * @param data - */ -export const getEmergency = (data) => { - const params = { - ...data, - pageNo: 1, - pageSize: 50, - }; - return defHttp.get({ url: Api.getEmergency, params }); -}; -/** - * @Description:删除紧急联系人 - * @date 2023/8/3 - * @param: - */ -export const removeEmergency = (params) => defHttp.delete({ url: Api.removeEmergency, params }, { joinParamsToUrl: true }); - -/** - * 获取分析报告详情状态 - * - */ -export const reportStatus = (params) => defHttp.get({ url: Api.reportStatus, params }); - -/** - * 生成报告 - * */ -export const reportGenerate = (params) => defHttp.get({ url: Api.reportGenerate, params }); diff --git a/src/views/archive/employeeFile/employeeFileList.data.ts b/src/views/archive/employeeFile/employeeFileList.data.ts deleted file mode 100644 index 732c7c7..0000000 --- a/src/views/archive/employeeFile/employeeFileList.data.ts +++ /dev/null @@ -1,238 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { Component, h } from 'vue'; -import { Image, message } from 'ant-design-vue'; -import { getFamaleDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; -import { render } from '/@/utils/common/renderUtils'; -import BasicInfo from '/@/views/archive/employeeFile/components/basicInfo/basicInfo.vue'; -import ExaminationReport from '/@/views/archive/employeeFile/components/examinationReport/examinationReport.vue'; -import HealthAssessment from '/src/views/archive/employeeFile/components/healthAssessment/healthAssessment.vue'; -import PsychologicalAssessment from '/@/views/archive/employeeFile/components/psychologicalAssessment/psychologicalAssessment.vue'; -import AnalysisReport from '/@/views/archive/employeeFile/components/analysisReport/analysisReport.vue'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; -import { getThirdDepartListByOrgCode } from '/@/views/archive/employeeFile/employeeFileList.api'; -import { useDepartment } from '/@/utils/auth/formAuth'; -import { AesEncryption } from '/@/utils/cipher'; -import { cacheCipher } from '/@/settings/encryptionSetting'; - -export const columns: BasicColumn[] = [ - { - title: '用户账号', - align: 'center', - dataIndex: 'username', - width: 100, - fixed: 'left', - }, - { - title: '姓名', - align: 'center', - dataIndex: 'realname', - fixed: 'left', - width: 100, - }, - { - title: '头像', - align: 'center', - dataIndex: 'avatar', - width: 100, - customRender: ({ text, record }) => { - const t = text ? text.replace(',', '') : null; - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(t), - height: 50, - width: 50, - fallback: getFamaleDefaultImage(record.sex), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - width: 60, - customRender: ({ text }) => { - return render.renderDict(text, 'gender'); - }, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - width: 60, - }, - { - title: '单位', - align: 'center', - dataIndex: ['secondDepart', 'departName'], - }, - { - title: '部门', - align: 'center', - dataIndex: ['depart', 'departName'], - }, - { - title: '身份证', - align: 'center', - dataIndex: 'idCard', - width: 200, - }, - { - title: '手机号', - align: 'center', - dataIndex: 'phone', - }, - { - title: '职务', - align: 'center', - dataIndex: ['extension', 'empJob_dictText'], - }, - { - title: '编号', - align: 'center', - dataIndex: ['extension', 'empNo'], - }, - { - title: '家庭成员', - align: 'center', - dataIndex: 'familyNum', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '手机号', - field: 'phone', - component: 'Input', - }, - { - label: '身份证号', - field: 'idCord', - component: 'Input', - }, - { - label: '单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - const { secondSelectValue, secondSelectDisabled } = useDepartment({ schema, key: 'orgCode' }); - secondSelectValue(); - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - onChange: () => { - formModel.orgCode2 = ''; - }, - onDeselect: () => { - formModel.orgCode = ''; - formModel.orgCode2 = ''; - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - disabled: secondSelectDisabled, - }; - }, - }, - { - label: '部门', - field: 'orgCode2', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - const { thirdSelectValue, thirdSelectDisabled } = useDepartment({ schema, key: 'orgCode' }); - thirdSelectValue(); - return { - api: getThirdDepartListByOrgCode, - resultField: 'list', - labelField: 'departName', - params: { - orgCode: formModel?.orgCode || '12313', - }, - valueField: 'orgCode', - immediate: true, - onFocus: () => { - if (!formModel.orgCode) { - return message.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - disabled: thirdSelectDisabled, - }; - }, - }, -]; - -export interface ComponentsType { - key: number; - title: string; - component: Component; - auth?: string; -} -export const componentsList: ComponentsType[] = [ - { - key: 1, - title: '健康档案', - component: BasicInfo, - }, - // { - // key: 2, - // title: '压力评估', - // component: StressAssessment, - // }, - { - key: 2, - title: '体检报告', - component: ExaminationReport, - }, - { - key: 3, - title: '心理评估', - component: PsychologicalAssessment, - }, - { - key: 4, - title: '健康评估', - component: HealthAssessment, - }, - { - key: 5, - title: '体检分析报告', - component: AnalysisReport, - }, -]; - -export function encryption() { - const aes = new AesEncryption(cacheCipher); - - function encrypt(word: string) { - if (!word) return; - return aes.encryptByAES(word); - } - - function decrypt(word: string) { - if (!word) return; - return aes.decryptByAES(word); - } - - return { encrypt, decrypt }; -} diff --git a/src/views/archive/employeeFile/employeeFileList.vue b/src/views/archive/employeeFile/employeeFileList.vue deleted file mode 100644 index c0f7c26..0000000 --- a/src/views/archive/employeeFile/employeeFileList.vue +++ /dev/null @@ -1,89 +0,0 @@ - - diff --git a/src/views/archive/fiveClassPeople/components/indexDrawer.vue b/src/views/archive/fiveClassPeople/components/indexDrawer.vue deleted file mode 100644 index f240300..0000000 --- a/src/views/archive/fiveClassPeople/components/indexDrawer.vue +++ /dev/null @@ -1,742 +0,0 @@ - - - diff --git a/src/views/archive/fiveClassPeople/index.api.ts b/src/views/archive/fiveClassPeople/index.api.ts deleted file mode 100644 index 3ba222e..0000000 --- a/src/views/archive/fiveClassPeople/index.api.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -export enum Api { - list = '/health-system/sys/user/listGroupUser', - groupUserCLatestReport = '/health-archives/archives/groupUserC/latestReport', - groupUserDLatestReport = '/health-archives/archives/groupUserD/latestReport', - groupUserA = '/health-archives/archives/groupUserA/addBatch', - groupUserB = '/health-archives/archives/groupUserB/addBatch', - groupUserC = '/health-archives/archives/groupUserC/addBatch', - groupUserD = '/health-archives/archives/groupUserD/addBatch', - groupUserE = '/health-archives/archives/groupUserA/updateUserToE', - groupUserAImportExcel = '/health-archives/archives/groupUserA/importExcel', - groupUserBImportExcel = '/health-archives/archives/groupUserB/importExcel', - groupImportExcel = '/health-archives/archives/groupUserC/importExcelBatchUpdateUserGroup', - autoAddC = '/health-archives/archives/groupUserC/autoAddC', - autoAddD = '/health-archives/archives/groupUserD/autoAddD', - detailA = '/health-archives/archives/groupUserA/list', - groupUserExtByUserId = '/archives/groupUserExt/groupUserExtByUserId', - detailB = '/health-archives/archives/groupUserB/list', - detailC = '/health-archives/archives/groupUserC/list', - detailD = '/health-archives/archives/groupUserD/list', - editByUserId = '/health-archives/archives/groupUserExt/editByUserId', - excelImportTemplate = '/health-archives/archives/groupUserA/excelImportTemplate', - listGroupUserExport = '/health-system/sys/user/listGroupUserExport', // 五类人群导出 -} - -export const listApi = (params) => defHttp.get({ url: Api.list, params }); -export const groupUserCLatestReportApi = (params) => defHttp.get({ url: Api.groupUserCLatestReport, params }); -export const groupUserDLatestReportApi = (params) => defHttp.get({ url: Api.groupUserDLatestReport, params }); -export const groupUserAApi = (params) => defHttp.post({ url: Api.groupUserA, params }); -export const groupUserBApi = (params) => defHttp.post({ url: Api.groupUserB, params }); -export const groupUserCApi = (params) => defHttp.post({ url: Api.groupUserC, params }); -export const groupUserDApi = (params) => defHttp.post({ url: Api.groupUserD, params }); -export const groupUserEApi = (params) => defHttp.post({ url: Api.groupUserE, params }, { joinParamsToUrl: true }); -export const autoAddCApi = () => defHttp.post({ url: Api.autoAddC }); -export const autoAddDApi = () => defHttp.post({ url: Api.autoAddD }); - -export const groupUserExtByUserIdApi = (params) => defHttp.get({ url: Api.groupUserExtByUserId, params }, { joinParamsToUrl: true }); -export const detailAApi = (params) => defHttp.get({ url: Api.detailA, params }, { joinParamsToUrl: true }); -export const detailBApi = (params) => defHttp.get({ url: Api.detailB, params }, { joinParamsToUrl: true }); -export const detailCApi = (params) => defHttp.get({ url: Api.detailC, params }, { joinParamsToUrl: true }); -export const detailDApi = (params) => defHttp.get({ url: Api.detailD, params }, { joinParamsToUrl: true }); -export const editByUserIdApi = (params) => defHttp.post({ url: Api.editByUserId, params }, { successNeedMessage: false }); -export const excelImportTemplateUrl = Api.excelImportTemplate; -export const listGroupUserExportApi = (params) => defHttp.get({ url: Api.listGroupUserExport, params }, { joinParamsToUrl: true }); diff --git a/src/views/archive/fiveClassPeople/index.data.ts b/src/views/archive/fiveClassPeople/index.data.ts deleted file mode 100644 index d5765ad..0000000 --- a/src/views/archive/fiveClassPeople/index.data.ts +++ /dev/null @@ -1,274 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import dayjs from 'dayjs'; -import { orgSearchInfo } from '/@/utils/orgSearchInfo'; - -export const searchFormSchema: FormSchema[] = [ - ...orgSearchInfo(), - { - label: '身份证号', - field: 'idCard', - component: 'Input', - }, - { - label: '健康分类', - field: 'userGroup', - component: 'JDictSelectTag', - componentProps: () => ({ dictCode: 'user_group' }), - }, -]; -export const mSearchSchema: FormSchema[] = [ - { - label: '重点指标项', - field: 'peItemName', - component: 'Input', - }, - { - label: '是否异常项', - field: 'colour', - component: 'Select', - componentProps: () => ({ - options: [ - { label: '否', value: '0' }, - { label: '是', value: '1' }, - ], - }), - }, -]; -export const mSearchSchema1: FormSchema[] = [ - { - label: '疾病名称', - field: 'name', - component: 'Input', - }, - { - label: '风险等级', - field: 'illName', - component: 'Input', - show: false, - defaultValue: '体重', - }, -]; -export const columns: BasicColumn[] = [ - { - title: '单位', - dataIndex: 'secondDepart', - align: 'center', - }, - { - title: '部门', - dataIndex: 'depart', - align: 'center', - }, - { - title: '姓名', - dataIndex: 'realName', - align: 'center', - }, - { - title: '身份证号', - dataIndex: 'idCard', - align: 'center', - }, - { - title: '健康分类', - dataIndex: 'userGroup_dictText', - align: 'center', - width: 100, - }, - { - title: '更新时间', - dataIndex: 'userGroupUpdateTime', - align: 'center', - customRender: ({ text }) => { - return text ? dayjs(text).format('YYYY-MM-DD HH:mm:ss') : ''; - }, - }, -]; -export const mColumns: BasicColumn[] = [ - { - title: '重点指标项', - dataIndex: 'peItemName', - align: 'center', - }, - { - title: '指标值', - dataIndex: 'peResult', - align: 'center', - }, - { - title: '参考范围', - dataIndex: 'printContext', - align: 'center', - }, - { - title: '检查年份', - dataIndex: 'medicalYear', - align: 'center', - }, - { - title: '检查医院', - dataIndex: 'hospitalName', - align: 'center', - }, - { - title: '是否异常项', - dataIndex: 'colour', - customRender: ({ text }) => (text == '0' ? '否' : '是'), - align: 'center', - }, -]; -export const mColumns1: BasicColumn[] = [ - { - title: '疾病名称', - dataIndex: 'name', - align: 'center', - }, - { - title: '风险等级', - dataIndex: 'levelDesc', - align: 'center', - }, - { - title: '评估年份', - dataIndex: 'year', - align: 'center', - }, -]; -export const schemas: FormSchema[] = [ - { - label: '', - field: 'first', - component: 'Input', - slot: 'first', - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - { - label: '', - field: 'userId', - component: 'Input', - show: false, - }, - { - label: '单位', - field: 'secondDepart', - component: 'Input', - componentProps: () => ({ disabled: true }), - }, - { - label: '部门', - field: 'depart', - component: 'Input', - componentProps: () => ({ disabled: true }), - }, - { - label: '姓名', - field: 'realName', - component: 'Input', - componentProps: () => ({ disabled: true }), - }, - { - label: '身份证号', - field: 'idCard', - component: 'Input', - componentProps: () => ({ disabled: true }), - }, - { - label: '健康分类', - field: 'userGroup', - component: 'JDictSelectTag', - required: true, - componentProps: () => ({ dictCode: 'user_group' }), - }, - { - label: '', - field: 'second', - component: 'Input', - slot: 'second', - ifShow: ({ values }) => ['a', 'b'].includes(values.userGroup), - }, - { - label: '住院状态', - field: 'status', - component: 'JDictSelectTag', - componentProps: () => ({ dictCode: 'group_user_status' }), - ifShow: ({ values }) => ['a', 'b'].includes(values.userGroup), - }, - { - label: '所在医院', - field: 'hospital', - component: 'Input', - ifShow: ({ values }) => ['a', 'b'].includes(values.userGroup), - }, - { - label: '住院时间', - field: 'hospitalTime', - component: 'DatePicker', - componentProps: () => ({ format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD', style: { width: '100%' } }), - ifShow: ({ values }) => ['a', 'b'].includes(values.userGroup), - }, - { - label: '住院次数', - field: 'hospitalNum', - component: 'InputNumber', - componentProps: () => ({ dictCode: 'user_group', style: { width: '100%' } }), - ifShow: ({ values }) => ['a', 'b'].includes(values.userGroup), - }, - { - label: '联系人', - field: 'contact', - component: 'Input', - componentProps: () => ({ dictCode: 'user_group' }), - ifShow: ({ values }) => ['a', 'b'].includes(values.userGroup), - }, - { - label: '联系电话', - field: 'contactMobile', - component: 'Input', - componentProps: () => ({ dictCode: 'user_group' }), - rules: [ - // { required: true, message: '请输入联系电话', trigger: 'blur' }, - { pattern: /^1[3456789]\d{9}$/, message: '手机号码格式有误' }, - ], - ifShow: ({ values }) => ['a', 'b'].includes(values.userGroup), - }, - { - label: '', - field: 'third', - component: 'Input', - slot: 'third', - ifShow: ({ values }) => ['a', 'b', 'c', 'd'].includes(values.userGroup), - }, - { - label: '', - field: 'idCard', - component: 'Input', - slot: 'A', - ifShow: ({ values }) => values.userGroup == 'a', - }, - { - label: '', - field: 'idCard', - component: 'Input', - slot: 'B', - ifShow: ({ values }) => values.userGroup == 'b', - }, - { - label: '', - field: 'idCard', - component: 'Input', - slot: 'C', - ifShow: ({ values }) => values.userGroup == 'c', - }, - { - label: '', - field: 'idCard', - component: 'Input', - slot: 'D', - ifShow: ({ values }) => values.userGroup == 'd', - }, -]; diff --git a/src/views/archive/fiveClassPeople/index.vue b/src/views/archive/fiveClassPeople/index.vue deleted file mode 100644 index b095f39..0000000 --- a/src/views/archive/fiveClassPeople/index.vue +++ /dev/null @@ -1,254 +0,0 @@ - - - diff --git a/src/views/archive/healthCabin/bespeakManage/bespeakManage.api.ts b/src/views/archive/healthCabin/bespeakManage/bespeakManage.api.ts deleted file mode 100644 index 0d1f804..0000000 --- a/src/views/archive/healthCabin/bespeakManage/bespeakManage.api.ts +++ /dev/null @@ -1,41 +0,0 @@ -// noinspection Eslint - -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/health-archives/housenew/healthHouseOrderReservationNew/list', - deleteBatch = '/health-archives/housenew/healthHouseOrderReservationNew/deleteBatch', - allHouseList = '/health-archives/housenew/healthHouseNew/allHouse', -} -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); -/** - *健康室列表 - * - */ - -export const allHouseList = (params) => defHttp.get({ url: Api.allHouseList, params }); -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/archive/healthCabin/bespeakManage/bespeakManage.data.ts b/src/views/archive/healthCabin/bespeakManage/bespeakManage.data.ts deleted file mode 100644 index e9d461a..0000000 --- a/src/views/archive/healthCabin/bespeakManage/bespeakManage.data.ts +++ /dev/null @@ -1,199 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { allHouseList } from '/@/views/archive/healthCabin/bespeakManage/bespeakManage.api'; -import { orgSearchInfo } from '/@/utils/orgSearchInfo'; - -export const columns: BasicColumn[] = [ - { - title: '预约单号', - align: 'center', - dataIndex: 'reservationNo', - }, - { - title: '用户姓名 ', - align: 'center', - dataIndex: 'realName', - }, - { - title: '用户性别', - align: 'center', - dataIndex: 'sex_dictText', - }, - { - title: '用户所属部门', - align: 'center', - dataIndex: 'thirdDepart', - }, - { - title: '用户联系方式', - align: 'center', - dataIndex: 'mobile', - }, - { - title: '预约状态', - align: 'center', - dataIndex: 'reservationStatus', - - customRender: ({ text }) => { - return render.renderDict(text, 'health_reservation'); - }, - }, - { - title: '预约健康室', - align: 'center', - dataIndex: 'houseName', - }, - { - title: '设备名称', - align: 'center', - dataIndex: 'deviceName', - }, - { - title: '预约日期', - align: 'center', - dataIndex: 'reservationDate', - }, - { - title: '开始时间', - align: 'center', - dataIndex: 'startTime', - }, - { - title: '完成时间', - align: 'center', - dataIndex: 'endTime', - }, - { - title: '创建时间', - align: 'center', - dataIndex: 'createDate', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '用户姓名', - field: 'realName', - component: 'Input', - }, - { - label: '预约状态', - field: 'status', - component: 'JDictSelectTag', - componentProps: { - // @ts-ignore//@ts-ignore - dictCode: 'health_reservation', - }, - }, - { - label: '预约健康室', - field: 'houseCode', - component: 'ApiSelect', - componentProps: { - api: allHouseList, - resultField: 'list', - labelField: 'houseName', - valueField: 'houseCode', - immediate: false, - placeholder: '请选择预约健康室', - }, - }, - { - label: '预约日期', - field: 'time', - component: 'DatePicker', - componentProps: () => ({ format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD', style: { width: '100%' } }), - }, - ...orgSearchInfo({ orgName: '二级部门', deptName: '三级部门' }), - { - label: '设备名称', - field: 'deviceName', - component: 'Input', - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '预约单号', - field: 'reservationNo', - component: 'Input', - }, - { - label: '用户姓名', - field: 'realName', - component: 'Input', - }, - { - label: '预约健康室', - field: 'houseName', - component: 'Input', - }, - { - label: '用户部门', - field: 'thirdDepart', - component: 'Input', - }, - { - label: '设备名称', - field: 'deviceName', - component: 'Input', - }, - { - label: '用户性别', - field: 'sex_dictText', - component: 'Input', - }, - { - label: '设备编号', - field: 'deviceCode', - component: 'Input', - }, - { - label: '用户联系方式', - field: 'mobile', - component: 'Input', - }, - { - label: '创建时间', - field: 'createDate', - component: 'Input', - }, - { - label: '预约时间', - field: 'reservationDate', - component: 'Input', - }, - { - label: '取消时间', - field: 'cancelDate', - component: 'Input', - show: ({ values }) => { - return values.reservationStatus === '4' || values.reservationStatus === '5'; - }, - }, - { - label: '使用时间', - field: 'useDate', - component: 'Input', - show: ({ values }) => { - return values.reservationStatus === '2'; - }, - }, - { - label: '归还时间', - field: 'giveBackDate', - component: 'Input', - show: ({ values }) => { - return values.reservationStatus === '2'; - }, - }, - { - label: '预约状态', - field: 'reservationStatus', - component: 'JDictSelectTag', - componentProps: { - // @ts-ignore//@ts-ignore - dictCode: 'health_reservation', - }, - }, -]; diff --git a/src/views/archive/healthCabin/bespeakManage/bespeakManage.vue b/src/views/archive/healthCabin/bespeakManage/bespeakManage.vue deleted file mode 100644 index d2151c8..0000000 --- a/src/views/archive/healthCabin/bespeakManage/bespeakManage.vue +++ /dev/null @@ -1,88 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/bespeakManage/components/addDespeakManageModal.vue b/src/views/archive/healthCabin/bespeakManage/components/addDespeakManageModal.vue deleted file mode 100644 index 21493cd..0000000 --- a/src/views/archive/healthCabin/bespeakManage/components/addDespeakManageModal.vue +++ /dev/null @@ -1,35 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/bigDataShow/bigDataShow.api.ts b/src/views/archive/healthCabin/bigDataShow/bigDataShow.api.ts deleted file mode 100644 index eafa035..0000000 --- a/src/views/archive/healthCabin/bigDataShow/bigDataShow.api.ts +++ /dev/null @@ -1,67 +0,0 @@ -// noinspection Eslint - -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/archives/medicalDataAnalysis/list', - save = '/archives/medicalDataAnalysis/add', - edit = '/archives/medicalDataAnalysis/edit', - deleteOne = '/archives/medicalDataAnalysis/delete', - deleteBatch = '/archives/medicalDataAnalysis/deleteBatch', - importExcel = '/archives/medicalDataAnalysis/importExcel', - exportXls = '/archives/medicalDataAnalysis/exportXls', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params: any, isUpdate: boolean) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/archive/healthCabin/bigDataShow/bigDataShow.data.ts b/src/views/archive/healthCabin/bigDataShow/bigDataShow.data.ts deleted file mode 100644 index ce5707a..0000000 --- a/src/views/archive/healthCabin/bigDataShow/bigDataShow.data.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -export const columns: BasicColumn[] = [ - { - title: '今日就诊人数', - align: 'center', - dataIndex: 'todayCheck', - }, - { - title: '总计就诊人数', - align: 'center', - dataIndex: 'totalCheck', - }, - { - title: '今日救护车出动次数', - align: 'center', - dataIndex: 'todayAmbulance', - }, - { - title: '总计救护车出动次数', - align: 'center', - dataIndex: 'totalAmbulance', - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '今日就诊人数', - field: 'todayCheck', - component: 'InputNumber', - }, - { - label: '总计就诊人数', - field: 'totalCheck', - component: 'InputNumber', - }, - { - label: '今日救护车出动次数', - field: 'todayAmbulance', - component: 'InputNumber', - }, - { - label: '总计救护车出动次数', - field: 'totalAmbulance', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - }, -]; diff --git a/src/views/archive/healthCabin/bigDataShow/bigDataShow.vue b/src/views/archive/healthCabin/bigDataShow/bigDataShow.vue deleted file mode 100644 index 4b756fc..0000000 --- a/src/views/archive/healthCabin/bigDataShow/bigDataShow.vue +++ /dev/null @@ -1,104 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/bigDataShow/components/addDigDataShowModal.vue b/src/views/archive/healthCabin/bigDataShow/components/addDigDataShowModal.vue deleted file mode 100644 index cd558d9..0000000 --- a/src/views/archive/healthCabin/bigDataShow/components/addDigDataShowModal.vue +++ /dev/null @@ -1,57 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/bigScreen/currency.api.ts b/src/views/archive/healthCabin/bigScreen/currency.api.ts deleted file mode 100644 index 0dbfe24..0000000 --- a/src/views/archive/healthCabin/bigScreen/currency.api.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-archives/housenew/fakerData/getFakerData,' + - '/health-archives/housenew/fakerData/getFakerData,' + - '/health-archives/housenew/fakerData/getFakerData,' + - '/health-archives/housenew/fakerData/getFakerData,' + - '/health-archives/housenew/fakerData/getFakerData,' + - '/health-archives/housenew/fakerData/getFakerData,' + - '/health-archives/housenew/fakerData/getFakerData', // 查询: 1: 五类人群 2:医疗点 3:员工营养监控 4:总体健康水平 5: 干预效果 6: 手表 - save = '/health-archives/housenew/fakerData/createGroupUserFakerData,' + - '/health-archives/housenew/fakerData/createMedicalCenterFakerData,' + - '/health-archives/housenew/fakerData/createNutritionFakerData,' + - '/health-archives/housenew/fakerData/createHealthLevelFakerData,' + - '/health-archives/housenew/fakerData/createInterveneFakerData,' + - '/health-archives/housenew/fakerData/createWatchFakerData,' + - '/health-archives/housenew/fakerData/createWatchStressFakerData', // 查询: 1: 五类人群 2:医疗点 3:员工营养监控 4:总体健康水平 5: 干预效果 6: 手表 - status = '/health-archives/housenew/fakerData/getFakerDataEnable', - changeStatus = '/health-archives/housenew/fakerData/fakerDataEnable', -} -console.log(Api.list.split(',')); -export const listApi = (params: any) => - defHttp.post( - { url: Api.list.split(',')[(params['module'] === 20 ? 5 : params['module'] === 21 ? 6 : params['module']) - 1], params }, - { joinParamsToUrl: true, isTransformResponse: false } - ); -export const saveApi = (params: any) => - defHttp.post({ url: Api.save.split(',')[(params['module'] === 20 ? 6 : params['module'] === 21 ? 7 : params['module']) - 1], params }); -export const statusApi = (params: any) => defHttp.post({ url: Api.status, params }); -export const changeStatusApi = (params: any) => defHttp.post({ url: Api.changeStatus, params }); diff --git a/src/views/archive/healthCabin/bigScreen/currency.data.ts b/src/views/archive/healthCabin/bigScreen/currency.data.ts deleted file mode 100644 index 673e04a..0000000 --- a/src/views/archive/healthCabin/bigScreen/currency.data.ts +++ /dev/null @@ -1,447 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; - -const fiveColumns: BasicColumn[] = [ - { - title: '总人数', - dataIndex: 'totalUser', - }, - { - title: '大病', - dataIndex: 'illnessNum', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '慢病', - dataIndex: 'slowVirusNum', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '异常', - dataIndex: 'failNum', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '风险', - dataIndex: 'riskNum', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '健康', - dataIndex: 'healthNum', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '状态', - dataIndex: 'status', - }, -]; -const medicalColumns: BasicColumn[] = [ - { - title: '近一周就诊人数', - dataIndex: 'weekNum', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '累计就诊人数', - dataIndex: 'totalNum', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '近一周救护车', - dataIndex: 'weekAmbulanceNum', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '累计救护车', - dataIndex: 'totalAmbulanceNum', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '状态', - dataIndex: 'status', - }, -]; -const nutritionColumns: BasicColumn[] = [ - { - title: '早餐人数', - dataIndex: 'breakfastHeadCount', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '早餐超标人数', - dataIndex: 'breakfastOutOfLimits', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '午餐人数', - dataIndex: 'lunchHeadCount', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '午餐超标人数', - dataIndex: 'lunchOutOfLimits', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '晚餐人数', - dataIndex: 'dinnerHeadCount', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '晚餐超标人数', - dataIndex: 'dinnerOutOfLimits', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '状态', - dataIndex: 'status', - }, -]; -const healthColumns: BasicColumn[] = [ - { - title: '健康值', - dataIndex: 'health', - }, - { - title: '亚健康值', - dataIndex: 'sub', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '轻度心理问题', - dataIndex: 'mild', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '中度心理问题', - dataIndex: 'moderate', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '高度心理问题', - dataIndex: 'serious', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '状态', - dataIndex: 'status', - }, -]; -const interveneColumns: BasicColumn[] = [ - { - title: '训练前睡眠质量', - dataIndex: 'sleepAgo', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '训练后睡眠质量', - dataIndex: 'sleepLater', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '训练前冥想情绪', - dataIndex: 'meditationAgo', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '训练后冥想情绪', - dataIndex: 'meditationLater', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '训练前骑行放松度', - dataIndex: 'cyclingAgo', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '训练后骑行放松度', - dataIndex: 'cyclingLater', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '总体改善度', - dataIndex: 'total', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '状态', - dataIndex: 'status', - }, -]; -const watchColumns: BasicColumn[] = [ - { - title: '血氧监测-正常', - dataIndex: 'bloodOxygenNormal', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '血氧监测-警戒', - dataIndex: 'bloodOxygenWarn', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '血氧监测-危险', - dataIndex: 'bloodOxygenDanger', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '心率监测-正常', - dataIndex: 'heartRateNormal', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '心率监测-警戒', - dataIndex: 'heartRateWarn', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '心率监测--危险', - dataIndex: 'heartRateDanger', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '状态', - dataIndex: 'status', - }, -]; - -const sportColumns: BasicColumn[] = [ - { - title: '小于两公里1', - dataIndex: 'ltOne', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '小于两公里2', - dataIndex: 'ltTwo', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '小于两公里3', - dataIndex: 'ltThree', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '小于两公里4', - dataIndex: 'ltFour', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '3-5公里1', - dataIndex: 'middleOne', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '3-5公里2', - dataIndex: 'middleTwo', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '3-5公里3', - dataIndex: 'middleThree', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '3-5公里4', - dataIndex: 'middleFour', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '五公里以上1', - dataIndex: 'gtOne', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '五公里以上2', - dataIndex: 'gtTwo', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '五公里以上3', - dataIndex: 'gtThree', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '五公里以上4', - dataIndex: 'gtFour', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - - { - title: '压力-放松', - dataIndex: 'stressRelax', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '压力-正常', - dataIndex: 'stressNormal', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '压力-中等', - dataIndex: 'stressMedium', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '压力-偏高', - dataIndex: 'stressHigh', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '状态', - dataIndex: 'status', - }, -]; -export const columns: Array = [ - fiveColumns, - medicalColumns, - nutritionColumns, - healthColumns, - interveneColumns, - watchColumns, - sportColumns, -]; diff --git a/src/views/archive/healthCabin/bigScreen/currency.vue b/src/views/archive/healthCabin/bigScreen/currency.vue deleted file mode 100644 index 6ad567a..0000000 --- a/src/views/archive/healthCabin/bigScreen/currency.vue +++ /dev/null @@ -1,171 +0,0 @@ - - - diff --git a/src/views/archive/healthCabin/healthEquipment/components/addHealthEquipmentModal.vue b/src/views/archive/healthCabin/healthEquipment/components/addHealthEquipmentModal.vue deleted file mode 100644 index e61bdf8..0000000 --- a/src/views/archive/healthCabin/healthEquipment/components/addHealthEquipmentModal.vue +++ /dev/null @@ -1,47 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/healthEquipment/healthEquipment.api.ts b/src/views/archive/healthCabin/healthEquipment/healthEquipment.api.ts deleted file mode 100644 index ecb96ca..0000000 --- a/src/views/archive/healthCabin/healthEquipment/healthEquipment.api.ts +++ /dev/null @@ -1,67 +0,0 @@ -// noinspection Eslint - -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/health-archives/health-house/device/list', - save = '/archives/medicalDataAnalysis/add', - edit = '/archives/medicalDataAnalysis/edit', - deleteOne = '/archives/medicalDataAnalysis/delete', - deleteBatch = '/archives/medicalDataAnalysis/deleteBatch', - importExcel = '/archives/medicalDataAnalysis/importExcel', - exportXls = '/archives/medicalDataAnalysis/exportXls', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params: any, isUpdate: boolean) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/archive/healthCabin/healthEquipment/healthEquipment.data.ts b/src/views/archive/healthCabin/healthEquipment/healthEquipment.data.ts deleted file mode 100644 index dbf2d9d..0000000 --- a/src/views/archive/healthCabin/healthEquipment/healthEquipment.data.ts +++ /dev/null @@ -1,124 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -export const columns: BasicColumn[] = [ - { - title: '设备编号', - align: 'center', - dataIndex: 'pic', - }, - { - title: '设备名称', - align: 'center', - dataIndex: 'qq', - }, - { - title: '设备状态', - align: 'center', - dataIndex: 'name', - }, - { - title: '所属健康室', - align: 'center', - dataIndex: 'pic', - }, - { - title: '设备图片', - align: 'center', - dataIndex: 'pic', - }, - { - title: '设备类型', - align: 'center', - dataIndex: 'pic', - }, - { - title: '单位预约时间(/分钟)', - align: 'center', - dataIndex: 'pic', - }, - { - title: '可预约人数(/人)', - align: 'center', - dataIndex: 'pic', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '所属健康室', - field: 'name1', - component: 'Select', - }, - { - label: '设备类型', - field: 'name', - component: 'Select', - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '设备编号', - field: 'name', - component: 'Input', - rules: [{ required: true }], - }, - { - label: '设备名称', - field: 'name', - component: 'Input', - rules: [{ required: true }], - }, - { - label: '设备状态', - field: 'name', - component: 'Select', - rules: [{ required: true }], - }, - { - label: '设备类型', - field: 'name', - component: 'Select', - rules: [{ required: true }], - }, - { - label: '所属健康室', - field: 'name', - component: 'Input', - rules: [{ required: true }], - }, - { - label: '添加图片', - field: 'uploadImage', - component: 'JImageUpload', - componentProps: { - //按钮显示文字 - text: '图片上传', - //支持两种基本样式picture和picture-card - listType: 'picture-card', - //用于控制文件上传的业务路径,默认temp - bizPath: 'temp', - //是否禁用 - disabled: false, - //最大上传数量 - fileMax: 1, - }, - }, - { - label: '设备介绍', - field: 'editor', - component: 'JEditor', - // componentProps: { - //是否禁用 - // disabled: false - // }, - }, - { - label: '预约须知', - field: 'editor', - component: 'JEditor', - // componentProps: { - //是否禁用 - // disabled: false - // }, - }, -]; diff --git a/src/views/archive/healthCabin/healthEquipment/healthEquipment.vue b/src/views/archive/healthCabin/healthEquipment/healthEquipment.vue deleted file mode 100644 index 24061bd..0000000 --- a/src/views/archive/healthCabin/healthEquipment/healthEquipment.vue +++ /dev/null @@ -1,106 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/healthRoom/components/addAdminModal.vue b/src/views/archive/healthCabin/healthRoom/components/addAdminModal.vue deleted file mode 100644 index d111793..0000000 --- a/src/views/archive/healthCabin/healthRoom/components/addAdminModal.vue +++ /dev/null @@ -1,71 +0,0 @@ - - - - diff --git a/src/views/archive/healthCabin/healthRoom/components/addRoomModal.vue b/src/views/archive/healthCabin/healthRoom/components/addRoomModal.vue deleted file mode 100644 index 5bc7715..0000000 --- a/src/views/archive/healthCabin/healthRoom/components/addRoomModal.vue +++ /dev/null @@ -1,125 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/healthRoom/components/addTerEquipmentModal.vue b/src/views/archive/healthCabin/healthRoom/components/addTerEquipmentModal.vue deleted file mode 100644 index 5ee5c65..0000000 --- a/src/views/archive/healthCabin/healthRoom/components/addTerEquipmentModal.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/healthRoom/components/addTerminalModal.vue b/src/views/archive/healthCabin/healthRoom/components/addTerminalModal.vue deleted file mode 100644 index 097eab4..0000000 --- a/src/views/archive/healthCabin/healthRoom/components/addTerminalModal.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/healthRoom/components/adminModal.vue b/src/views/archive/healthCabin/healthRoom/components/adminModal.vue deleted file mode 100644 index a261ab8..0000000 --- a/src/views/archive/healthCabin/healthRoom/components/adminModal.vue +++ /dev/null @@ -1,186 +0,0 @@ - - - - diff --git a/src/views/archive/healthCabin/healthRoom/components/deviceDrawer.vue b/src/views/archive/healthCabin/healthRoom/components/deviceDrawer.vue deleted file mode 100644 index d3ead99..0000000 --- a/src/views/archive/healthCabin/healthRoom/components/deviceDrawer.vue +++ /dev/null @@ -1,196 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/healthRoom/components/deviceModal.vue b/src/views/archive/healthCabin/healthRoom/components/deviceModal.vue deleted file mode 100644 index 790eda2..0000000 --- a/src/views/archive/healthCabin/healthRoom/components/deviceModal.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/healthRoom/components/editDefaultLayoutModal.vue b/src/views/archive/healthCabin/healthRoom/components/editDefaultLayoutModal.vue deleted file mode 100644 index 668062e..0000000 --- a/src/views/archive/healthCabin/healthRoom/components/editDefaultLayoutModal.vue +++ /dev/null @@ -1,49 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/healthRoom/components/editLayoutModal.vue b/src/views/archive/healthCabin/healthRoom/components/editLayoutModal.vue deleted file mode 100644 index 8ed4973..0000000 --- a/src/views/archive/healthCabin/healthRoom/components/editLayoutModal.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/healthRoom/components/layoutDrawer.vue b/src/views/archive/healthCabin/healthRoom/components/layoutDrawer.vue deleted file mode 100644 index 07ad1ac..0000000 --- a/src/views/archive/healthCabin/healthRoom/components/layoutDrawer.vue +++ /dev/null @@ -1,102 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/healthRoom/components/projectDrawer.vue b/src/views/archive/healthCabin/healthRoom/components/projectDrawer.vue deleted file mode 100644 index f7a8832..0000000 --- a/src/views/archive/healthCabin/healthRoom/components/projectDrawer.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/src/views/archive/healthCabin/healthRoom/components/projectModal.vue b/src/views/archive/healthCabin/healthRoom/components/projectModal.vue deleted file mode 100644 index a1ff40b..0000000 --- a/src/views/archive/healthCabin/healthRoom/components/projectModal.vue +++ /dev/null @@ -1,56 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/healthRoom/components/selfLayoutDrawer.vue b/src/views/archive/healthCabin/healthRoom/components/selfLayoutDrawer.vue deleted file mode 100644 index 87fa261..0000000 --- a/src/views/archive/healthCabin/healthRoom/components/selfLayoutDrawer.vue +++ /dev/null @@ -1,112 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/healthRoom/components/selfLayoutModal.vue b/src/views/archive/healthCabin/healthRoom/components/selfLayoutModal.vue deleted file mode 100644 index af078c0..0000000 --- a/src/views/archive/healthCabin/healthRoom/components/selfLayoutModal.vue +++ /dev/null @@ -1,170 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/healthRoom/components/terminalDrawer.vue b/src/views/archive/healthCabin/healthRoom/components/terminalDrawer.vue deleted file mode 100644 index f9509b3..0000000 --- a/src/views/archive/healthCabin/healthRoom/components/terminalDrawer.vue +++ /dev/null @@ -1,104 +0,0 @@ - - - diff --git a/src/views/archive/healthCabin/healthRoom/components/terminalEquipmentDrawer.vue b/src/views/archive/healthCabin/healthRoom/components/terminalEquipmentDrawer.vue deleted file mode 100644 index 2ccfd76..0000000 --- a/src/views/archive/healthCabin/healthRoom/components/terminalEquipmentDrawer.vue +++ /dev/null @@ -1,75 +0,0 @@ - - - diff --git a/src/views/archive/healthCabin/healthRoom/index.api.ts b/src/views/archive/healthCabin/healthRoom/index.api.ts deleted file mode 100644 index c7c9541..0000000 --- a/src/views/archive/healthCabin/healthRoom/index.api.ts +++ /dev/null @@ -1,201 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); -enum Api { - list = '/health-archives/housenew/healthHouseNew/list', - addRoom = '/health-archives/housenew/healthHouseNew/add', - deleteRoom = '/health-archives/housenew/healthHouseNew/delete', - deleteBatchRoom = '/health-archives/housenew/healthHouseNew/deleteBatch', - getRoomById = '/health-archives/housenew/healthHouseNew/queryById', - editRoom = '/health-archives/housenew/healthHouseNew/edit', - //设备 - deviceList = '/health-archives/housenew/healthHouseDeviceNew/list', - deviceAdd = '/health-archives/housenew/healthHouseDeviceNew/add', - deviceEdit = '/health-archives/housenew/healthHouseDeviceNew/edit', - deviceDelete = '/health-archives/housenew/healthHouseDeviceNew/delete', - deviceChangeStatus = '/health-archives/housenew/healthHouseDeviceNew/changeStatus', - //设备项目 - projectList = '/health-archives/housenew/healthHouseDeviceProjectNew/list', - projectAdd = '/health-archives/housenew/healthHouseDeviceProjectNew/add', - projectEdit = '/health-archives/housenew/healthHouseDeviceProjectNew/edit', - projectDetele = '/health-archives/housenew/healthHouseDeviceProjectNew/delete', - //默认排班 - defaultList = '/health-archives//housenew/healthHouseNumberNew/list', - defaultEdit = '/health-archives/housenew/healthHouseNumberNew/edit', - //终端 - terminalList = '/health-archives/housenew/healthHouseTerminalNew/list', - terminalAdd = '/health-archives/housenew/healthHouseTerminalNew/add', - terminalEdit = '/health-archives/housenew/healthHouseTerminalNew/edit', - terminalDetele = '/health-archives/housenew/healthHouseTerminalNew/delete', - listByTerminal = '/health-archives/housenew/healthHouseDeviceNew/listByTerminal', - bindDevices = '/health-archives/housenew/healthHouseTerminalNew/bindDevices', - terEquiDelete = '/health-archives/housenew/healthHouseTerminalRelationNew/delete', - //自定义排班 - selfLayoutList = '/health-archives/housenew/healthHouseDefineNew/list', - selfLayoutAdd = '/health-archives/housenew/healthHouseDefineNew/add', - selfLayoutDelete = '/health-archives/housenew/healthHouseDefineNew/delete', - selfLayoutEdit = '/health-archives/housenew/healthHouseDefineNew/edit', - // 管理员列表 - adminList = '/health-archives/housenew/healthHouseManagerNew/houseManagers', - addAdmin = '/health-archives/housenew/healthHouseManagerNew/addHouseManagers', -} -// 健康室列表 -export const listApi = (params: any) => defHttp.get({ url: Api.list, params }); - -// 通过id获取健康室信息 -export const getRoomById = (params: any) => defHttp.get({ url: Api.getRoomById, params }); -// 健康室新增 -export const addRoom = (params: any) => defHttp.post({ url: Api.addRoom, params }); -// 健康室编辑 -export const editRoom = (params: any) => defHttp.put({ url: Api.editRoom, params }); -//小屋删除 -// export const deleteRoom = -export const deleteRoom = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteRoom + `?id=${params.id}`, params }).then(() => { - handleSuccess(); - }); - }, - }); -}; - -//健康室批量删除 -export const deleteBatchRoom = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatchRoom, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; - -//设备列表 -export const deviceList = (params: any) => defHttp.get({ url: Api.deviceList, params }); -//设备新增 -export const deviceAdd = (params: any) => defHttp.post({ url: Api.deviceAdd, params }); -//设备编辑 -export const deviceEdit = (params: any) => defHttp.put({ url: Api.deviceEdit, params }); -//设备删除 -export const deviceDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deviceDelete + `?id=${params.id}`, params }).then(() => { - handleSuccess(); - }); - }, - }); -}; -//设备状态 -export const deviceChangeStatus = (params: any) => defHttp.post({ url: Api.deviceChangeStatus, params }); -//设备项目列表 -export const projectList = (params: any) => defHttp.get({ url: Api.projectList, params }); -//项目新增 -export const projectAdd = (params: any) => defHttp.post({ url: Api.projectAdd, params }); -//项目编辑 -export const projectEdit = (params: any) => defHttp.put({ url: Api.projectEdit, params }); -//项目删除 -export const projectDetele = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.projectDetele + `?id=${params.id}`, params }).then(() => { - handleSuccess(); - }); - }, - }); -}; -//默认排班列表 -export const defaultList = (params: any) => defHttp.get({ url: Api.defaultList, params }); -//默认排班编辑 -export const defaultEdit = (params: any) => defHttp.put({ url: Api.defaultEdit, params }); -//终端列表 -export const terminalList = (params: any) => defHttp.get({ url: Api.terminalList, params }); -//终端新增 -export const terminalAdd = (params: any) => defHttp.post({ url: Api.terminalAdd, params }); -//终端编辑 -export const terminalEdit = (params: any) => defHttp.put({ url: Api.terminalEdit, params }); -//终端删除 terminalDetele -export const terminalDetele = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.terminalDetele + `?id=${params.id}`, params }).then(() => { - handleSuccess(); - }); - }, - }); -}; -//通过终端查询设备 -export const listByTerminal = (params: any) => defHttp.get({ url: Api.listByTerminal, params }); -//绑定终端设备 -export const bindDevices = (params: any) => defHttp.post({ url: Api.bindDevices, params }); -//终端设备删除 -export const terEquiDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.terEquiDelete + `?id=${params.id}`, params }).then(() => { - handleSuccess(); - }); - }, - }); -}; -//自定义排班列表 -export const selfLayoutList = (params: any) => defHttp.get({ url: Api.selfLayoutList, params }); -//自定义排班新增 -export const selfLayoutAdd = (params: any) => defHttp.post({ url: Api.selfLayoutAdd, params }); - -//自定义排班删除 -export const selfLayoutDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.selfLayoutDelete + `?id=${params.id}`, params }).then(() => { - handleSuccess(); - }); - }, - }); -}; -//自定义排班编辑 - -export const selfLayoutEdit = (params: any) => defHttp.put({ url: Api.selfLayoutEdit, params }); - -// 管理员列表 -export const adminList = (params: any) => defHttp.get({ url: Api.adminList, params }); - -// 管理员新增 -export const addAdmin = (params: any) => defHttp.post({ url: Api.addAdmin, params }); diff --git a/src/views/archive/healthCabin/healthRoom/index.data.ts b/src/views/archive/healthCabin/healthRoom/index.data.ts deleted file mode 100644 index 68f9714..0000000 --- a/src/views/archive/healthCabin/healthRoom/index.data.ts +++ /dev/null @@ -1,745 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; -import { getThirdDepartListByOrgCode } from '/@/views/archive/employeeFile/employeeFileList.api'; -import { useUserStore } from '/@/store/modules/user'; -import { ref } from 'vue'; -import { checkPassword } from '/@/hooks/checkPassword/checkPassword'; -import { rules } from '/@/utils/helper/validator'; -export const columns: BasicColumn[] = [ - { - title: '名称', - align: 'center', - dataIndex: 'houseName', - }, - { - title: '地点', - align: 'center', - dataIndex: 'housePlace', - }, - { - title: '图片', - align: 'center', - dataIndex: 'houseImage', - customRender: ({ text }) => { - const t = text ? text.replace(',', '') : null; - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(t), - height: 50, - width: 50, - fallback: getDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '所属部门', - align: 'center', - dataIndex: 'departName', - }, - { - title: '启用', - align: 'center', - dataIndex: 'houseStatus_dictText', - // customRender: ({ text }) => { - // if (!text) return ''; - // return text == '1' ? '是' : '否'; - // }, - }, - { - title: '法定排班', - align: 'center', - dataIndex: 'legalStatus_dictText', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '所属部门', - field: 'orgCode', - component: 'ApiSelect', - componentProps: () => { - const userOrgCode = user?.userInfo?.orgCode?.substring(0, 6); - return { - api: getThirdDepartListByOrgCode, - resultField: 'list', - labelField: 'departName', - params: { - orgCode: userOrgCode || '12313', - }, - valueField: 'orgCode', - immediate: true, - }; - }, - }, - { - label: '启用状态', - field: 'houseStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'yes_no', - }, - }, -]; -const user = useUserStore(); -export const schemas: FormSchema[] = [ - { - label: '健康室名称', - field: 'houseName', - component: 'Input', - required: true, - }, - { - label: '健康室地址', - field: 'housePlace', - component: 'Input', - slot: 'address', - required: true, - }, - { - label: '所属部门', - field: 'orgCode', - component: 'ApiSelect', - required: true, - componentProps: () => { - const userOrgCode = user?.userInfo?.orgCode?.substring(0, 6); - return { - api: getThirdDepartListByOrgCode, - resultField: 'list', - labelField: 'departName', - params: { - orgCode: userOrgCode || '12313', - }, - valueField: 'orgCode', - immediate: true, - }; - }, - }, - { - label: '使用部门', - field: 'useDeparts', - component: 'ApiSelect', - required: true, - componentProps: () => { - const userOrgCode = user?.userInfo?.orgCode?.substring(0, 6); - return { - api: getThirdDepartListByOrgCode, - resultField: 'list', - mode: 'multiple', - labelField: 'departName', - params: { - orgCode: userOrgCode || '12313', - }, - valueField: 'orgCode', - immediate: true, - }; - }, - }, - { - label: '默认排班', - field: 'defaultHouseNumber', - component: 'Input', - defaultValue: '5,4,3,2,1', - slot: 'defaultHouseNumber', - }, - { - label: '使用法定排班', - field: 'legalStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'yes_no', - }, - required: true, - }, - { - label: '启用状态', - field: 'houseStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'yes_no', - }, - required: true, - }, - { - label: '健康室图片', - field: 'houseImage', - component: 'JImageUpload', - componentProps: { - maxCount: 1, - }, - rules: [{ required: true, trigger: 'blur', message: '请上传健康室图片' }], - }, -]; - -export const deviceColumns: BasicColumn[] = [ - { - title: '设备编号', - align: 'center', - dataIndex: 'deviceCode', - }, - { - title: '设备名称', - align: 'center', - dataIndex: 'deviceName', - }, - { - title: '设备状态', - align: 'center', - dataIndex: 'deviceStatus', - customRender: ({ text }) => { - if (!text) return ''; - switch (text) { - case 1: - return '有效'; - } - }, - }, - { - title: '设备图片', - align: 'center', - dataIndex: 'deviceImage', - customRender: ({ text }) => { - const t = text ? text.replace(',', '') : null; - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(t), - height: 50, - width: 50, - fallback: getDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '设备类型', - align: 'center', - dataIndex: 'categoryCode', // - customRender: ({ text }) => { - if (!text) return ''; - if (text == 1) return '测量设备'; - if (text == 2) return '心理检测'; - if (text == 3) return '治疗设备'; - if (text == 4) return '监测设备'; - }, - }, - { - title: '单位预约时间(分钟)', - align: 'center', - dataIndex: 'lengthOfTime', - }, - { - title: '可预约人数(人)', - align: 'center', - dataIndex: 'useNum', - }, -]; -export const deviceSearchFormSchema: FormSchema[] = [ - { - label: '设备类型', - field: 'categoryCode', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'house_category', - }, - }, -]; -export const deviceSchemas: FormSchema[] = [ - { - label: '设备编号', - field: 'deviceCode', - component: 'Input', - }, - { - label: '设备名称', - field: 'deviceName', - component: 'Input', - }, - { - label: '设备类型', - field: 'categoryCode', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'house_category', - }, - required: true, - }, - { - label: '单位预约时间', - field: 'lengthOfTime', - component: 'Select', - ifShow: ({ values }) => { - if (!values.categoryCode) return false; - if (values.categoryCode != 4) { - return true; - } else { - values.lengthOfTime = ''; - return false; - } - }, - componentProps: { - options: [ - { - label: '10分钟', - value: '10', - }, - { - label: '20分钟', - value: '20', - }, - { - label: '30分钟', - value: '30', - }, - { - label: '40分钟', - value: '40', - }, - { - label: '50分钟', - value: '50', - }, - { - label: '60分钟', - value: '60', - }, - ], - placeholder: '请选择时长', - }, - }, - { - label: '可预约人数', - field: 'useNum', - component: 'Input', - ifShow: ({ values }) => { - if (!values.categoryCode) return false; - if (values.categoryCode != 4) { - return true; - } else { - values.useNum = ''; - return false; - } - }, - }, - { - label: '添加图片', - field: 'deviceImage', - component: 'JImageUpload', - componentProps: { - maxCount: 1, - }, - rules: [{ required: true, trigger: 'blur', message: '请上传健康室图片' }], - }, - { - label: '设备介绍', - field: 'deviceRemark', - component: 'JEditor', - componentProps: () => { - return { - height: 200, - }; - }, - }, - { - label: '预约须知', - field: 'deviceNotice', - component: 'JEditor', - componentProps: () => { - return { - height: 200, - }; - }, - }, -]; -export const layoutColumns: BasicColumn[] = [ - { - title: '工作日', - dataIndex: 'houseWorkDay', - customCell: (_, index) => { - if (index % 2 === 0) { - return { - rowSpan: 2, - }; - } else { - return { - rowSpan: 0, - }; - } - }, - customRender: ({ text }) => { - if (text == 1) return '星期一'; - if (text == 2) return '星期二'; - if (text == 3) return '星期三'; - if (text == 4) return '星期四'; - if (text == 5) return '星期五'; - if (text == 6) return '星期六'; - if (text == 7) return '星期日'; - }, - }, - { - title: '开放时间', - dataIndex: 'openTime', - }, - { - title: '启用', - dataIndex: 'wokrStatus', - customRender: ({ text }) => { - if (text == 1) return '是'; - if (text == 0) return '否'; - }, - }, -]; - -export const layoutSchemas: FormSchema[] = [ - { - field: 'houseWorkDay', - label: '工作日', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'week', - }, - required: true, - }, - { - field: 'openTime', - label: '开始时间', - component: 'Input', - slot: 'openTime', - required: true, - }, - { - field: 'closeTime', - label: '结束时间', - component: 'Input', - slot: 'closeTime', - required: true, - }, - { - field: 'wokrStatus', - label: '排班状态:启用', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'yes_no', - }, - required: true, - }, -]; - -export const defaultLayoutSchemas: FormSchema[] = [ - { - field: 'defaultLayout', - label: '默认排班', - component: 'Input', - slot: 'defaultLayout', - }, - { - field: 'use', - label: '使用法定排班', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'yes_no', - }, - }, -]; - -export const projectColums: BasicColumn[] = [ - { - title: '项目编号', - dataIndex: 'projectCode', - }, - { - title: '项目名称', - dataIndex: 'projectName', - }, - { - title: '项目是否有效', - dataIndex: 'projectStatus', - customRender: ({ text }) => { - if (!text) return ''; - if (text == 0) return '无效'; - if (text == 1) return '有效'; - }, - }, -]; - -export const projectSchemas: FormSchema[] = [ - { - field: 'projectCode', - label: '项目编号', - component: 'Input', - required: true, - }, - { - field: 'projectName', - label: '项目名称', - component: 'Input', - required: true, - }, - { - field: 'projectStatus', - label: '项目是否有效', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'yes_no', - }, - required: true, - }, - { - field: 'projectNotice', - label: '项目须知', - component: 'InputTextArea', - }, -]; - -// 终端 -export const terminalColumns: BasicColumn[] = [ - { - title: '终端编号', - dataIndex: 'terminalCode', - }, - { - title: '终端名称', - dataIndex: 'terminalName', - }, - { - title: '终端状态', - dataIndex: 'terminalStatus', - customRender: ({ text }) => { - if (!text) return ''; - if (text == 0) return '无效'; - if (text == 1) return '有效'; - }, - }, -]; -export const terminalSearchFormSchema: FormSchema[] = [ - { - field: 'terminalName', - label: '终端名称', - component: 'JInput', - }, -]; -export const terminalFormSchema: FormSchema[] = [ - { - field: 'terminalCode', - label: '终端编号', - component: 'Input', - required: true, - }, - { - field: 'terminalName', - label: '终端名称', - component: 'Input', - required: true, - }, - { - field: 'terminalStatus', - label: '是否有效', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'yes_no', - }, - required: true, - }, -]; -//终端设备 -export const terEquiColums: BasicColumn[] = [ - { - title: '设备编号', - dataIndex: 'deviceCode', - }, - { - title: '设备名称', - dataIndex: 'deviceName', - }, - { - title: '设备类型', - dataIndex: 'categoryCode_dictText', - }, -]; -export const terEquiChangeColums: BasicColumn[] = [ - { - title: '设备编号', - dataIndex: 'deviceCode', - }, - { - title: '设备名称', - dataIndex: 'deviceName', - }, -]; -export const selfLayoutColumns: BasicColumn[] = [ - { - title: '自定义日期', - dataIndex: 'defineDate', - }, - { - title: '开放时间', - dataIndex: 'openTime', - slots: 'openTime', - }, - { - title: '启用', - dataIndex: 'wokrStatus', - customRender: ({ text }) => { - if (!text) return ''; - if (text == 0) return '否'; - if (text == 1) return '是'; - }, - }, -]; -export const selfLayoutSchemas: FormSchema[] = [ - { - field: 'defineDate', - component: 'DatePicker', - label: '选择日期', - componentProps: { - //日期格式化 - format: 'YYYY-MM-DD', - valueFormat: 'YYYY-MM-DD HH:mm:ss', - }, - required: true, - }, - { - field: 'houseOpenTime[0].openTime', - component: 'TimePicker', - label: '开始时间', - colProps: { - span: 8, - }, - componentProps: { - //日期格式化 - format: 'HH:mm', - valueFormat: 'HH:mm', - }, - }, - { - field: 'houseOpenTime[0].closeTime', - component: 'TimePicker', - label: '结束时间', - colProps: { - span: 8, - }, - componentProps: { - //日期格式化 - format: 'HH:mm', - valueFormat: 'HH:mm', - }, - }, - { - field: '0', - component: 'Input', - label: '', - colProps: { - span: 8, - }, - slot: 'add', - }, -]; - -// 管理员列表 -export const administratorColumns: BasicColumn[] = [ - { - title: '账号', - dataIndex: 'userName', - }, - { - title: '姓名', - dataIndex: 'realName', - }, -]; -export const administratorSearchForm: FormSchema[] = [ - { - field: 'realName', - label: '姓名', - component: 'Input', - }, -]; -export const administratorFormSchema: FormSchema[] = [ - { - field: 'userName', - label: '账号', - component: 'Input', - componentProps: ({ formModel }) => { - return { - onInput: () => { - formModel.username = formModel.username.replace(/[^a-zA-Z0-9_]/g, ''); - }, - autocomplete: 'off', - }; - }, - dynamicDisabled: ({ values }) => { - return !!values.id; - }, - required: true, - }, - { - field: 'realName', - label: '姓名', - component: 'Input', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - required: true, - }, - { - label: '密码', - field: 'password', - component: 'StrengthMeter', - componentProps: () => { - return { - autocomplete: 'new-password', - }; - }, - dynamicRules: () => { - return [ - { - required: true, - validator: (_, value) => { - if (!value) { - return Promise.reject('请输入登录密码'); - } - let { message } = checkPassword(value); - if (message === 'ok') { - return Promise.resolve(); - } else { - return Promise.reject(message); - } - }, - trigger: 'blur', - }, - ]; - }, - ifShow: ({ values }) => { - return !values.id; - }, - }, - { - label: '确认密码', - field: 'confirmPassword', - component: 'InputPassword', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - dynamicRules: ({ values }) => rules.confirmPassword(values, true), - ifShow: ({ values }) => { - return !values.id; - }, - }, -]; diff --git a/src/views/archive/healthCabin/healthRoom/index.vue b/src/views/archive/healthCabin/healthRoom/index.vue deleted file mode 100644 index cc2987d..0000000 --- a/src/views/archive/healthCabin/healthRoom/index.vue +++ /dev/null @@ -1,177 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/planWork/components/addPlanWorkModal.vue b/src/views/archive/healthCabin/planWork/components/addPlanWorkModal.vue deleted file mode 100644 index dce1fb8..0000000 --- a/src/views/archive/healthCabin/planWork/components/addPlanWorkModal.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/planWork/planWork.api.ts b/src/views/archive/healthCabin/planWork/planWork.api.ts deleted file mode 100644 index c240a43..0000000 --- a/src/views/archive/healthCabin/planWork/planWork.api.ts +++ /dev/null @@ -1,67 +0,0 @@ -// noinspection Eslint - -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/health-archives/housenew/healthHouseDefaultNumberConfigNew/list', - save = '/health-archives/housenew/healthHouseDefaultNumberConfigNew/add', - edit = '/health-archives/housenew/healthHouseDefaultNumberConfigNew/edit', - deleteOne = '/health-archives/housenew/healthHouseDefaultNumberConfigNew/delete', - deleteBatch = '/health-archives/housenew/healthHouseDefaultNumberConfigNew/deleteBatch', - importExcel = '/health-archives/housenew/healthHouseDefaultNumberConfigNew/exportXls', - exportXls = '/health-archives/housenew/healthHouseDefaultNumberConfigNew/importExcel', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params: any, isUpdate: boolean) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/archive/healthCabin/planWork/planWork.data.ts b/src/views/archive/healthCabin/planWork/planWork.data.ts deleted file mode 100644 index 4e67ddf..0000000 --- a/src/views/archive/healthCabin/planWork/planWork.data.ts +++ /dev/null @@ -1,94 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { BODY_CONTAINER } from '/@/utils/domUtils'; -export const columns: BasicColumn[] = [ - { - title: '工作日', - align: 'center', - dataIndex: 'workDay', - }, - { - title: '开始时间', - align: 'center', - dataIndex: 'openTime', - }, - { - title: '结束时间', - align: 'center', - dataIndex: 'closeTime', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '工作日', - field: 'workDay', - component: 'Input', - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '工作日', - field: 'workDay', - component: 'Input', - rules: [{ required: true }], - }, - // { - // label: '开始时间', - // field: 'openTime', - // component: 'TimePicker', - // //日期格式化 - // componentProps: { - // //日期格式化 - // format: 'HH/mm', - // }, - // }, - // { - // label: '结束时间', - // field: 'closeTime', - // component: 'TimePicker', - // //日期格式化 - // componentProps: { - // //日期格式化 - // format: 'HH/mm', - // }, - // }, - { - label: '有效期时间', - field: 'rangeTime', - component: 'RangeDate', - rules: [{ required: true }], - componentProps: ({ formModel }) => { - return { - picker: 'time', - format: 'HH:mm', - valueFormat: 'HH:mm', - getPopupContainer: () => BODY_CONTAINER, - onChange: (v) => { - const time = v ? v.split(',') : ['', '']; - formModel.openTime = time[0]; - formModel.closeTime = time[1]; - }, - }; - }, - }, - { - label: '', - field: 'openTime', - component: 'Input', - show: false, - }, - { - label: '', - field: 'closeTime', - component: 'Input', - show: false, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/archive/healthCabin/planWork/planWork.vue b/src/views/archive/healthCabin/planWork/planWork.vue deleted file mode 100644 index 75180c9..0000000 --- a/src/views/archive/healthCabin/planWork/planWork.vue +++ /dev/null @@ -1,140 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/slideshow/components/addSlideshowModal.vue b/src/views/archive/healthCabin/slideshow/components/addSlideshowModal.vue deleted file mode 100644 index 9ad3c91..0000000 --- a/src/views/archive/healthCabin/slideshow/components/addSlideshowModal.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/slideshow/slideshow.api.ts b/src/views/archive/healthCabin/slideshow/slideshow.api.ts deleted file mode 100644 index 560b72e..0000000 --- a/src/views/archive/healthCabin/slideshow/slideshow.api.ts +++ /dev/null @@ -1,67 +0,0 @@ -// noinspection Eslint - -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/health-archives/housenew/healthHouseBannerNew/list', - save = '/health-archives/housenew/healthHouseBannerNew/add', - edit = '/health-archives/housenew/healthHouseBannerNew/edit', - deleteOne = '/health-archives/housenew/healthHouseBannerNew/delete', - deleteBatch = '/health-archives/housenew/healthHouseBannerNew/deleteBatch', - importExcel = '/health-archives/archives/medicalDataAnalysis/importExcel', - exportXls = '/health-archives/archives/medicalDataAnalysis/exportXls', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params: any, isUpdate: boolean) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/archive/healthCabin/slideshow/slideshow.data.ts b/src/views/archive/healthCabin/slideshow/slideshow.data.ts deleted file mode 100644 index 94c79c9..0000000 --- a/src/views/archive/healthCabin/slideshow/slideshow.data.ts +++ /dev/null @@ -1,94 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -export const columns: BasicColumn[] = [ - { - title: '标题', - align: 'center', - dataIndex: 'bannerTitle', - }, - { - title: '编号', - align: 'center', - dataIndex: 'bannerNo', - }, - { - title: '轮播图', - align: 'center', - dataIndex: 'bannerUrl', - minWidth: 230, - customRender: ({ text }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 80, - width: 200, - fallback: getDefaultImage(), - }); - }, - }, - { - title: '是否有效', - align: 'center', - dataIndex: 'bannerValid_dictText', - }, - { - title: '所属模块', - align: 'center', - dataIndex: 'bannerType_dictText', - }, - { - title: '创建时间', - align: 'center', - dataIndex: 'createDate', - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '序号', - field: 'bannerNo', - component: 'InputNumber', - rules: [{ required: true }], - }, - { - label: '轮播图标题', - field: 'bannerTitle', - component: 'Input', - rules: [{ required: true }], - }, - { - label: '是否有效', - field: 'bannerValid', - component: 'JDictSelectTag', - defaultValue: '1', - componentProps: { - type: 'radio', - dictCode: 'yes_no', - }, - rules: [{ required: true }], - }, - { - label: '类型', - field: 'bannerType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'house_banner_type', - }, - rules: [{ required: true }], - }, - { - label: '轮播图', - field: 'bannerUrl', - component: 'JImageUpload', - rules: [{ required: true, message: '请上传图片' }], - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: 'id', - field: 'id', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/archive/healthCabin/slideshow/slideshow.vue b/src/views/archive/healthCabin/slideshow/slideshow.vue deleted file mode 100644 index cb35ac6..0000000 --- a/src/views/archive/healthCabin/slideshow/slideshow.vue +++ /dev/null @@ -1,132 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/terminalManagement/components/addTerminalManagementModal.vue b/src/views/archive/healthCabin/terminalManagement/components/addTerminalManagementModal.vue deleted file mode 100644 index d363d34..0000000 --- a/src/views/archive/healthCabin/terminalManagement/components/addTerminalManagementModal.vue +++ /dev/null @@ -1,47 +0,0 @@ - - - - - diff --git a/src/views/archive/healthCabin/terminalManagement/terminalManagement.api.ts b/src/views/archive/healthCabin/terminalManagement/terminalManagement.api.ts deleted file mode 100644 index eafa035..0000000 --- a/src/views/archive/healthCabin/terminalManagement/terminalManagement.api.ts +++ /dev/null @@ -1,67 +0,0 @@ -// noinspection Eslint - -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/archives/medicalDataAnalysis/list', - save = '/archives/medicalDataAnalysis/add', - edit = '/archives/medicalDataAnalysis/edit', - deleteOne = '/archives/medicalDataAnalysis/delete', - deleteBatch = '/archives/medicalDataAnalysis/deleteBatch', - importExcel = '/archives/medicalDataAnalysis/importExcel', - exportXls = '/archives/medicalDataAnalysis/exportXls', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params: any, isUpdate: boolean) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/archive/healthCabin/terminalManagement/terminalManagement.data.ts b/src/views/archive/healthCabin/terminalManagement/terminalManagement.data.ts deleted file mode 100644 index 4530aa7..0000000 --- a/src/views/archive/healthCabin/terminalManagement/terminalManagement.data.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -export const columns: BasicColumn[] = [ - { - title: '健康室 ', - align: 'center', - dataIndex: 'pic', - }, - { - title: '终端编号 ', - align: 'center', - dataIndex: 'qq', - }, - { - title: '终端名称', - align: 'center', - dataIndex: 'name', - }, - { - title: '启用', - align: 'center', - dataIndex: 'pic', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '健康室', - field: 'name1', - component: 'Select', - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '健康室', - field: 'name', - component: 'Select', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '终端编号', - field: 'name', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '终端名称', - field: 'name', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '启用', - field: 'name', - component: 'Select', - rules: [{ required: true, trigger: 'blur' }], - }, -]; diff --git a/src/views/archive/healthCabin/terminalManagement/terminalManagement.vue b/src/views/archive/healthCabin/terminalManagement/terminalManagement.vue deleted file mode 100644 index b732221..0000000 --- a/src/views/archive/healthCabin/terminalManagement/terminalManagement.vue +++ /dev/null @@ -1,114 +0,0 @@ - - - - - diff --git a/src/views/archive/healthClock/clockQuestionnaire/integralRule/components/addModal.vue b/src/views/archive/healthClock/clockQuestionnaire/integralRule/components/addModal.vue deleted file mode 100644 index 069b7ee..0000000 --- a/src/views/archive/healthClock/clockQuestionnaire/integralRule/components/addModal.vue +++ /dev/null @@ -1,54 +0,0 @@ - - diff --git a/src/views/archive/healthClock/clockQuestionnaire/integralRule/integralRule.api.ts b/src/views/archive/healthClock/clockQuestionnaire/integralRule/integralRule.api.ts deleted file mode 100644 index 6776730..0000000 --- a/src/views/archive/healthClock/clockQuestionnaire/integralRule/integralRule.api.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); -export enum Api { - list = '/health-archives/punchnew/healthScoreSettingNew/list', - ruleAdd = '/health-archives/punchnew/healthScoreSettingNew/add', - ruleEdit = '/health-archives//punchnew/healthScoreSettingNew/edit', - ruleDelete = '/health-archives/punchnew/healthScoreSettingNew/delete', -} - -// 列表接口 -export const listApi = (params) => defHttp.get({ url: Api.list, params }); -// 分类新增 -export const ruleAdd = (params) => defHttp.post({ url: Api.ruleAdd, params }); -// 分类编辑 -export const ruleEdit = (params) => defHttp.put({ url: Api.ruleEdit, params }); -// 分类删除 -export const ruleDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.ruleDelete + `?id=${params.id}`, params }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/archive/healthClock/clockQuestionnaire/integralRule/integralRule.data.ts b/src/views/archive/healthClock/clockQuestionnaire/integralRule/integralRule.data.ts deleted file mode 100644 index 9f0132c..0000000 --- a/src/views/archive/healthClock/clockQuestionnaire/integralRule/integralRule.data.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -export const columns: BasicColumn[] = [ - { - title: '积分奖励起始值', - dataIndex: 'scoreStart', - }, - { - title: '积分奖励递增值', - dataIndex: 'scoreStep', - }, - { - title: '积分奖励最大值', - dataIndex: 'scoreMax', - }, - { - title: '规则状态', - dataIndex: 'scoreStatus', - customRender: ({ text }) => { - if (text == 0) return '无效'; - if (text == 1) return '有效'; - }, - }, -]; - -export const formSchema: FormSchema[] = [ - { - label: '积分奖励起始值', - field: 'scoreStart', - component: 'Input', - componentProps: () => { - return { - type: 'number', - }; - }, - required: true, - }, - { - label: '积分奖励递增值', - field: 'scoreStep', - component: 'Input', - componentProps: () => { - return { - type: 'number', - }; - }, - required: true, - }, - { - label: '积分奖励最大值', - field: 'scoreMax', - component: 'Input', - componentProps: () => { - return { - type: 'number', - }; - }, - required: true, - }, - { - label: '规则状态', - field: 'scoreStatus', - component: 'RadioGroup', - defaultValue: 1, - componentProps: { - options: [ - { label: '有效', value: 1 }, - { label: '无效', value: 0 }, - ], - }, - required: true, - }, -]; diff --git a/src/views/archive/healthClock/clockQuestionnaire/integralRule/integralRule.vue b/src/views/archive/healthClock/clockQuestionnaire/integralRule/integralRule.vue deleted file mode 100644 index 1a82869..0000000 --- a/src/views/archive/healthClock/clockQuestionnaire/integralRule/integralRule.vue +++ /dev/null @@ -1,129 +0,0 @@ - - diff --git a/src/views/archive/healthClock/clockQuestionnaire/questionsClassify/components/addChildrenModal.vue b/src/views/archive/healthClock/clockQuestionnaire/questionsClassify/components/addChildrenModal.vue deleted file mode 100644 index b70262f..0000000 --- a/src/views/archive/healthClock/clockQuestionnaire/questionsClassify/components/addChildrenModal.vue +++ /dev/null @@ -1,39 +0,0 @@ - - diff --git a/src/views/archive/healthClock/clockQuestionnaire/questionsClassify/components/inputModal.vue b/src/views/archive/healthClock/clockQuestionnaire/questionsClassify/components/inputModal.vue deleted file mode 100644 index a139ed2..0000000 --- a/src/views/archive/healthClock/clockQuestionnaire/questionsClassify/components/inputModal.vue +++ /dev/null @@ -1,47 +0,0 @@ - - diff --git a/src/views/archive/healthClock/clockQuestionnaire/questionsClassify/questionsClassify.api.ts b/src/views/archive/healthClock/clockQuestionnaire/questionsClassify/questionsClassify.api.ts deleted file mode 100644 index c7b8c6b..0000000 --- a/src/views/archive/healthClock/clockQuestionnaire/questionsClassify/questionsClassify.api.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); -export enum Api { - list = '/health-archives/punchnew/healthTemplateClassNew/customList', - templateAdd = '/health-archives/punchnew/healthTemplateClassNew/add', - templateEdit = '/health-archives/punchnew/healthTemplateClassNew/edit', - templateDelete = '/health-archives/punchnew/healthTemplateClassNew/delete', -} - -// 列表接口 -export const listApi = (params) => defHttp.get({ url: Api.list, params }); -// 分类新增 -export const templateAdd = (params) => defHttp.post({ url: Api.templateAdd, params }); -// 分类编辑 -export const templateEdit = (params) => defHttp.put({ url: Api.templateEdit, params }); -// 分类删除 -export const templateDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.templateDelete + `?id=${params.id}`, params }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/archive/healthClock/clockQuestionnaire/questionsClassify/questionsClassify.data.ts b/src/views/archive/healthClock/clockQuestionnaire/questionsClassify/questionsClassify.data.ts deleted file mode 100644 index 886553b..0000000 --- a/src/views/archive/healthClock/clockQuestionnaire/questionsClassify/questionsClassify.data.ts +++ /dev/null @@ -1,81 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { listApi } from '/@/views/archive/healthClock/clockQuestionnaire/questionsClassify/questionsClassify.api'; -export const columns: BasicColumn[] = [ - { - title: '分类名称', - dataIndex: 'className', - }, - { - title: '分类排序', - dataIndex: 'classOrder', - }, -]; - -export const formSchema: FormSchema[] = [ - { - label: '分类名称', - field: 'className', - component: 'Input', - required: true, - }, - { - label: '分类排序', - field: 'classOrder', - component: 'Input', - componentProps: () => { - return { - type: 'number', - }; - }, - }, - { - label: '父级分类', - field: 'parentId', - component: 'ApiTreeSelect', - componentProps: () => { - return { - api: listApi, - fieldNames: { - label: 'className', - value: 'id', - key: 'id', - }, - }; - }, - }, -]; - -export const addChilrenSchema: FormSchema[] = [ - { - label: '分类名称', - field: 'className', - component: 'Input', - required: true, - }, - { - label: '分类排序', - field: 'classOrder', - component: 'Input', - componentProps: () => { - return { - type: 'number', - }; - }, - }, - { - label: '父级分类', - field: 'parentId', - component: 'ApiTreeSelect', - componentProps: () => { - return { - api: listApi, - disabled: true, - fieldNames: { - label: 'className', - value: 'id', - key: 'id', - }, - }; - }, - }, -]; diff --git a/src/views/archive/healthClock/clockQuestionnaire/questionsClassify/questionsClassify.vue b/src/views/archive/healthClock/clockQuestionnaire/questionsClassify/questionsClassify.vue deleted file mode 100644 index a849e1c..0000000 --- a/src/views/archive/healthClock/clockQuestionnaire/questionsClassify/questionsClassify.vue +++ /dev/null @@ -1,106 +0,0 @@ - - diff --git a/src/views/archive/healthClock/clockQuestionnaire/questionsManage/components/addModal.vue b/src/views/archive/healthClock/clockQuestionnaire/questionsManage/components/addModal.vue deleted file mode 100644 index 04f1d7a..0000000 --- a/src/views/archive/healthClock/clockQuestionnaire/questionsManage/components/addModal.vue +++ /dev/null @@ -1,53 +0,0 @@ - - diff --git a/src/views/archive/healthClock/clockQuestionnaire/questionsManage/questionsManage.api.ts b/src/views/archive/healthClock/clockQuestionnaire/questionsManage/questionsManage.api.ts deleted file mode 100644 index 00ff6fb..0000000 --- a/src/views/archive/healthClock/clockQuestionnaire/questionsManage/questionsManage.api.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); -export enum Api { - list = '/health-archives/punchnew/healthTemplateQuestionNew/list', - questionAdd = '/health-archives/punchnew/healthTemplateQuestionNew/add', - questionEdit = '/health-archives/punchnew/healthTemplateQuestionNew/edit', - quertionDelete = '/health-archives/punchnew/healthTemplateQuestionNew/deleteBatch', -} -// 列表接口 -export const listApi = (params) => defHttp.get({ url: Api.list, params }); -// 新增 -export const questionAdd = (params) => defHttp.post({ url: Api.questionAdd, params }); -//编辑 -export const questionEdit = (params) => defHttp.post({ url: Api.questionEdit, params }); -//删除 -export const quertionDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.quertionDelete + `?ids=${params.id}`, params }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/archive/healthClock/clockQuestionnaire/questionsManage/questionsManage.data.ts b/src/views/archive/healthClock/clockQuestionnaire/questionsManage/questionsManage.data.ts deleted file mode 100644 index bee920c..0000000 --- a/src/views/archive/healthClock/clockQuestionnaire/questionsManage/questionsManage.data.ts +++ /dev/null @@ -1,135 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { listApi } from '/@/views/archive/healthClock/clockQuestionnaire/questionsClassify/questionsClassify.api'; -import { render } from '/@/utils/common/renderUtils'; - -export const columns: BasicColumn[] = [ - { - title: '所属分类', - dataIndex: 'className', - }, - { - title: '问题描述', - dataIndex: 'qsDesc', - }, - { - title: '问题类型', - dataIndex: 'qsType', //punch_qs_type - customRender: ({ text }) => { - return render.renderDict(text, 'punch_qs_type'); - }, - }, - { - title: '问题排序', - dataIndex: 'qsOrder', - }, - { - title: '是否必填', - dataIndex: 'requireStatus', ///yes_no - customRender: ({ text }) => { - return render.renderDict(text, 'yes_no'); - }, - }, - { - title: '频次', - dataIndex: 'qsFreq', //punch_frq - customRender: ({ text }) => { - return render.renderDict(text, 'punch_frq'); - }, - }, - { - title: '自定义月份', - dataIndex: 'qsFreqCustom', - }, -]; - -export const formSchemas: FormSchema[] = [ - { - label: '所属分类', - field: 'qsClass', - component: 'ApiTreeSelect', - componentProps: () => { - return { - api: listApi, - getPopupContainer: () => document.body, - fieldNames: { - label: 'className', - value: 'id', - key: 'id', - }, - treeDefaultExpandAll: true, - isLeaf: true, - onChange: (value, label, extra) => { - console.log(value, label, extra); - // console.log(isLeaf); - }, - }; - }, - }, - { - label: '问题描述', - field: 'qsDesc', - component: 'InputTextArea', - componentProps: () => { - return { - row: 3, - }; - }, - }, - { - label: '问题类型', - field: 'qsType', - component: 'JDictSelectTag', - componentProps: () => { - return { - getPopupContainer: () => document.body, - dictCode: 'punch_qs_type', - }; - }, - }, - { - label: '问题排序', - field: 'qsOrder', - component: 'Input', - componentProps: () => { - return { - type: 'number', - }; - }, - }, - { - label: '是否必填', - field: 'requireStatus', - component: 'JDictSelectTag', - componentProps: { - getPopupContainer: () => document.body, - dictCode: 'yes_no', - // stringToNumber: true, - }, - }, - { - label: '频次', - field: 'qsFreq', - component: 'JDictSelectTag', - componentProps: () => { - return { - getPopupContainer: () => document.body, - dictCode: 'punch_frq', - }; - }, - }, - { - label: '自定义月份', - field: 'qsFreqCustom', - component: 'Input', - ifShow: ({ values }) => { - if (values.qsFreq == '7') return true; - if (values.qsFreq != '7') return false; - }, - componentProps: () => { - return { - maxValue: 12, - type: 'Number', - }; - }, - }, -]; diff --git a/src/views/archive/healthClock/clockQuestionnaire/questionsManage/questionsManage.vue b/src/views/archive/healthClock/clockQuestionnaire/questionsManage/questionsManage.vue deleted file mode 100644 index bfc1958..0000000 --- a/src/views/archive/healthClock/clockQuestionnaire/questionsManage/questionsManage.vue +++ /dev/null @@ -1,81 +0,0 @@ - - diff --git a/src/views/archive/healthClock/clockQuestionnaire/template/components/addModal.vue b/src/views/archive/healthClock/clockQuestionnaire/template/components/addModal.vue deleted file mode 100644 index 068e623..0000000 --- a/src/views/archive/healthClock/clockQuestionnaire/template/components/addModal.vue +++ /dev/null @@ -1,53 +0,0 @@ - - diff --git a/src/views/archive/healthClock/clockQuestionnaire/template/components/templateDetailsModal.vue b/src/views/archive/healthClock/clockQuestionnaire/template/components/templateDetailsModal.vue deleted file mode 100644 index 653b0f6..0000000 --- a/src/views/archive/healthClock/clockQuestionnaire/template/components/templateDetailsModal.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - - diff --git a/src/views/archive/healthClock/clockQuestionnaire/template/template.api.ts b/src/views/archive/healthClock/clockQuestionnaire/template/template.api.ts deleted file mode 100644 index cbd867d..0000000 --- a/src/views/archive/healthClock/clockQuestionnaire/template/template.api.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); -export enum Api { - list = '/health-archives/punchnew/healthTemplateNew/list', - templateAdd = '/health-archives/punchnew/healthTemplateNew/add', - templateById = '/health-archives/punchnew/healthTemplateNew/queryById', - templateDelete = '/health-archives/punchnew/healthTemplateNew/deleteBatch', - templateEdit = '/health-archives/punchnew/healthTemplateNew/edit', - templateDetail = '/health-archives/punchnew/healthTemplateNew/templateDetail', -} -// 列表接口 -export const listApi = (params) => defHttp.get({ url: Api.list, params }); -// 新增 -export const templateAdd = (params) => defHttp.post({ url: Api.templateAdd, params }); -//详情接口 -export const templateById = (params) => defHttp.get({ url: Api.templateById, params }, { joinParamsToUrl: true }); -//删除 -export const templateDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.templateDelete + `?ids=${params.id}`, params }).then(() => { - handleSuccess(); - }); - }, - }); -}; -//编辑 -export const templateEdit = (params) => defHttp.post({ url: Api.templateEdit, params }); -//模板详情 -export const templateDetail = (params: any) => defHttp.get({ url: Api.templateDetail, params }); diff --git a/src/views/archive/healthClock/clockQuestionnaire/template/template.data.ts b/src/views/archive/healthClock/clockQuestionnaire/template/template.data.ts deleted file mode 100644 index 5bca54f..0000000 --- a/src/views/archive/healthClock/clockQuestionnaire/template/template.data.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { listApi } from '/@/views/archive/healthClock/clockQuestionnaire/questionsClassify/questionsClassify.api'; -import { render } from '/@/utils/common/renderUtils'; - -export const columns: BasicColumn[] = [ - { - title: '模板名称', - dataIndex: 'templateName', - }, - { - title: '用户类别', - dataIndex: 'classType', - customRender: ({ text }) => { - return render.renderDict(text, 'punch_user_class'); - }, - }, - { - title: '模板状态', - dataIndex: 'templateStatus', - customRender: ({ text }) => { - return render.renderDict(text, 'valid_status'); - }, - }, -]; - -export const searchSchema: FormSchema[] = [ - { - label: '模板名称', - field: 'templateName', - component: 'JInput', - }, - { - label: '用户类别', - field: 'classType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'punch_user_class', - }, - }, -]; - -export const formSchema: FormSchema[] = [ - { - label: '模板名称', - field: 'templateName', - component: 'Input', - required: true, - }, - { - label: '用户类别', - field: 'classType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'punch_user_class', - getPopupContainer: () => document.body, - }, - required: true, - }, - { - label: '模板状态', - field: 'templateStatus', - // component: 'RadioGroup', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'valid_status', - type: 'radio', - getPopupContainer: () => document.body, - }, - }, - { - label: '问题分类', - field: 'classId', - component: 'ApiTreeSelect', - componentProps: () => { - return { - api: listApi, - multiple: true, - treeCheckable: true, - getPopupContainer: () => document.body, - fieldNames: { - label: 'className', - value: 'id', - key: 'id', - }, - }; - }, - }, -]; diff --git a/src/views/archive/healthClock/clockQuestionnaire/template/template.vue b/src/views/archive/healthClock/clockQuestionnaire/template/template.vue deleted file mode 100644 index afd86f9..0000000 --- a/src/views/archive/healthClock/clockQuestionnaire/template/template.vue +++ /dev/null @@ -1,90 +0,0 @@ - - diff --git a/src/views/archive/healthClock/clockRecord/departmentClock/components/dapartementDrawer.vue b/src/views/archive/healthClock/clockRecord/departmentClock/components/dapartementDrawer.vue deleted file mode 100644 index 1c37525..0000000 --- a/src/views/archive/healthClock/clockRecord/departmentClock/components/dapartementDrawer.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - - diff --git a/src/views/archive/healthClock/clockRecord/departmentClock/components/departmentClockModal.vue b/src/views/archive/healthClock/clockRecord/departmentClock/components/departmentClockModal.vue deleted file mode 100644 index 0a8d203..0000000 --- a/src/views/archive/healthClock/clockRecord/departmentClock/components/departmentClockModal.vue +++ /dev/null @@ -1,11 +0,0 @@ - - - - - diff --git a/src/views/archive/healthClock/clockRecord/departmentClock/departmentClock.api.ts b/src/views/archive/healthClock/clockRecord/departmentClock/departmentClock.api.ts deleted file mode 100644 index cd60d3e..0000000 --- a/src/views/archive/healthClock/clockRecord/departmentClock/departmentClock.api.ts +++ /dev/null @@ -1,19 +0,0 @@ -// noinspection Eslint - -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-archives/punchnew/healthPunchInfoNew/departPunchPage', - departPunchList = '/health-archives/punchnew/healthPunchInfoNew/departPunchDetail', - departPunchExport = '/health-archives/punchnew/healthPunchInfoNew/departPunchExport', - departPunchDetailExport = '/health-archives/punchnew/healthPunchInfoNew/departPunchDetailExport', -} - -//列表接口 -export const list = (params) => defHttp.get({ url: Api.list, params }); -// 部门打卡详情 -export const departPunchList = (params) => defHttp.get({ url: Api.departPunchList, params }); -//数据导出接口 -export const departPunchExport = Api.departPunchExport; -//按日导出 -export const departPunchDetailExport = Api.departPunchDetailExport; diff --git a/src/views/archive/healthClock/clockRecord/departmentClock/departmentClock.data.ts b/src/views/archive/healthClock/clockRecord/departmentClock/departmentClock.data.ts deleted file mode 100644 index eff1f6f..0000000 --- a/src/views/archive/healthClock/clockRecord/departmentClock/departmentClock.data.ts +++ /dev/null @@ -1,152 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { useDepartment } from '/@/utils/auth/formAuth'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '部门名称', - align: 'center', - dataIndex: 'departName', - }, - { - title: '员工总数', - align: 'center', - dataIndex: 'totalUser', - }, - { - title: '已打卡人数', - align: 'center', - dataIndex: 'punch', - }, - { - title: '未打卡人数', - align: 'center', - dataIndex: 'noPunch', - }, - { - title: '打卡时间', - align: 'center', - dataIndex: 'punchDate', - }, -]; -//Drawer列表数据 -export const columnsDrawer: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'realName', - }, - { - title: '是否打卡', - align: 'center', - dataIndex: 'isPunch', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '录入时间', - field: 'time', - component: 'DatePicker', - componentProps: { - //日期格式化 - format: 'YYYY-MM-DD', - valueFormat: 'YYYY-MM-DD', - }, - }, - { - label: '单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - const { secondSelectValue, secondSelectDisabled } = useDepartment({ schema, key: 'orgCode' }); - secondSelectValue(); - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - onChange: () => { - formModel.orgCode2 = ''; - }, - onDeselect: () => { - formModel.orgCode = ''; - formModel.orgCode2 = ''; - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - disabled: secondSelectDisabled, - }; - }, - }, -]; -export const searchformDrawer: FormSchema[] = [ - { - label: '打卡时间', - field: 'time', - component: 'RangeDate', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - }; - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '名称', - field: 'name', - component: 'Input', - required: true, - }, - { - label: '图片', - field: 'image', - component: 'JImageUpload', - required: true, - }, - { - label: '排序', - field: 'sort', - component: 'InputNumber', - required: true, - }, - { - label: '跳转', - field: 'type', - component: 'JDictSelectTag', - required: true, - componentProps: { - // @ts-ignore - dictCode: 'data_analysis', - }, - }, - { - label: '备注', - field: 'memo', - component: 'InputTextArea', - required: true, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - */ -export function getBpmFormSchema(): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/archive/healthClock/clockRecord/departmentClock/departmentClock.vue b/src/views/archive/healthClock/clockRecord/departmentClock/departmentClock.vue deleted file mode 100644 index e16015c..0000000 --- a/src/views/archive/healthClock/clockRecord/departmentClock/departmentClock.vue +++ /dev/null @@ -1,128 +0,0 @@ - - - - - diff --git a/src/views/archive/healthClock/clockRecord/userClock/components/clockRecordDrawer.vue b/src/views/archive/healthClock/clockRecord/userClock/components/clockRecordDrawer.vue deleted file mode 100644 index c3b78b1..0000000 --- a/src/views/archive/healthClock/clockRecord/userClock/components/clockRecordDrawer.vue +++ /dev/null @@ -1,104 +0,0 @@ - - - - diff --git a/src/views/archive/healthClock/clockRecord/userClock/components/clockRecordModal.vue b/src/views/archive/healthClock/clockRecord/userClock/components/clockRecordModal.vue deleted file mode 100644 index 0f39c48..0000000 --- a/src/views/archive/healthClock/clockRecord/userClock/components/clockRecordModal.vue +++ /dev/null @@ -1,109 +0,0 @@ - - - - diff --git a/src/views/archive/healthClock/clockRecord/userClock/components/exportByMonthModal.vue b/src/views/archive/healthClock/clockRecord/userClock/components/exportByMonthModal.vue deleted file mode 100644 index a87811c..0000000 --- a/src/views/archive/healthClock/clockRecord/userClock/components/exportByMonthModal.vue +++ /dev/null @@ -1,50 +0,0 @@ - - diff --git a/src/views/archive/healthClock/clockRecord/userClock/components/userClockModal.vue b/src/views/archive/healthClock/clockRecord/userClock/components/userClockModal.vue deleted file mode 100644 index d504fa2..0000000 --- a/src/views/archive/healthClock/clockRecord/userClock/components/userClockModal.vue +++ /dev/null @@ -1,83 +0,0 @@ - - - - - diff --git a/src/views/archive/healthClock/clockRecord/userClock/userClock.api.ts b/src/views/archive/healthClock/clockRecord/userClock/userClock.api.ts deleted file mode 100644 index a9680d8..0000000 --- a/src/views/archive/healthClock/clockRecord/userClock/userClock.api.ts +++ /dev/null @@ -1,57 +0,0 @@ -// noinspection Eslint - -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -export enum Api { - list = '/health-archives/punchnew/healthUserInfoNew/list', - save = '/health-archives/punchnew/healthUserInfoNew/add', - edit = '/health-archives/punchnew/healthUserInfoNew/edit', - deleteBatch = '/health-archives/punchnew/healthUserInfoNew/deleteBatch', - punchInfoList = '/health-archives/punchnew/healthPunchInfoNew/list', - groupUserAImportExcel = '/health-archives/punchnew/healthUserInfoNew/importExcel', - //打卡详情列表 - getPunchDetailView = '/health-archives/punchnew/healthPunchInfoNew/getPunchDetailView', - //按月导出 - exportByMonthApi = '/health-archives/punchnew/healthPunchInfoNew/exportUserRecord', -} - -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params: any, isUpdate: boolean) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -export const punchInfoList = (params: any) => defHttp.get({ url: Api.punchInfoList, params }); - -//用户打卡详情列表 -export const getPunchDetailView = (params: any) => defHttp.get({ url: Api.getPunchDetailView, params }); - -// 按月导出 -export const exportByMonthApi = Api.exportByMonthApi; diff --git a/src/views/archive/healthClock/clockRecord/userClock/userClock.data.ts b/src/views/archive/healthClock/clockRecord/userClock/userClock.data.ts deleted file mode 100644 index 93f965a..0000000 --- a/src/views/archive/healthClock/clockRecord/userClock/userClock.data.ts +++ /dev/null @@ -1,215 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { useDepartment } from '/@/utils/auth/formAuth'; -import { getThirdDepartListByOrgCode } from '/@/views/archive/employeeFile/employeeFileList.api'; -import { message } from 'ant-design-vue'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; -import { render } from '/@/utils/common/renderUtils'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'realname', - }, - { - title: '用户类别', - align: 'center', - dataIndex: 'classType', - customRender: ({ text }) => { - return render.renderDict(text, 'punch_user_class'); - }, - }, - { - title: '二级部门', - align: 'center', - dataIndex: 'secondDepart', - }, - { - title: '部门名称', - align: 'center', - dataIndex: 'thirdDepart', - }, - { - title: '用户积分', - align: 'center', - dataIndex: 'userScore', - }, - { - title: '连续签到天数', - align: 'center', - dataIndex: 'continualDays', - }, - { - title: '最后一次签到时间', - align: 'center', - dataIndex: 'lastCheckTime', - }, -]; -//Drawer列表数据 -export const columnsDrawer: BasicColumn[] = [ - { - title: '增加积分', - align: 'center', - dataIndex: 'scorePlus', - }, - { - title: '完成状态', - align: 'center', - dataIndex: 'punchStatus', - }, - { - title: '打卡日期', - align: 'center', - dataIndex: 'punchDate', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '用户类别', - field: 'classType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'punch_user_class', - }, - }, - // { - // label: '部门', - // field: 'orgCode', - // component: 'JInput', - { - label: '单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - const { secondSelectValue, secondSelectDisabled } = useDepartment({ schema, key: 'orgCode' }); - secondSelectValue(); - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - onChange: () => { - formModel.orgCode2 = ''; - }, - onDeselect: () => { - formModel.orgCode = ''; - formModel.orgCode2 = ''; - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - disabled: secondSelectDisabled, - }; - }, - }, - { - label: '部门', - field: 'orgCode2', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - const { thirdSelectValue, thirdSelectDisabled } = useDepartment({ schema, key: 'orgCode' }); - thirdSelectValue(); - return { - api: getThirdDepartListByOrgCode, - resultField: 'list', - labelField: 'departName', - params: { - orgCode: formModel?.orgCode || '12313', - }, - valueField: 'orgCode', - immediate: true, - onFocus: () => { - if (!formModel.orgCode) { - return message.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - disabled: thirdSelectDisabled, - }; - }, - }, -]; -export const searchformDrawer: FormSchema[] = [ - { - label: '打卡时间', - field: 'punchDate', - component: 'RangeDate', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - }; - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '用户', - field: 'userId', - component: 'UserSelect', - required: true, - }, - { - label: '用户类别', - field: 'classType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'punch_user_class', - }, - required: true, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - */ -export function getBpmFormSchema(): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} -export const exportSchema: FormSchema[] = [ - { - label: '开始月份', - field: 'startMonth', - component: 'DatePicker', - - componentProps: () => { - return { - picker: 'month', - format: 'YYYY-MM', - valueFormat: 'YYYY-MM', - getPopupContainer: () => document.body, - }; - }, - required: true, - }, - { - label: '结束月份', - field: 'endMonth', - component: 'DatePicker', - componentProps: () => { - return { - picker: 'month', - format: 'YYYY-MM', - valueFormat: 'YYYY-MM', - getPopupContainer: () => document.body, - }; - }, - required: true, - }, -]; diff --git a/src/views/archive/healthClock/clockRecord/userClock/userClock.vue b/src/views/archive/healthClock/clockRecord/userClock/userClock.vue deleted file mode 100644 index 811ccba..0000000 --- a/src/views/archive/healthClock/clockRecord/userClock/userClock.vue +++ /dev/null @@ -1,203 +0,0 @@ - - - - - diff --git a/src/views/archive/healthClock/maximManage/components/addModal.vue b/src/views/archive/healthClock/maximManage/components/addModal.vue deleted file mode 100644 index ed39e7c..0000000 --- a/src/views/archive/healthClock/maximManage/components/addModal.vue +++ /dev/null @@ -1,61 +0,0 @@ - - - - - diff --git a/src/views/archive/healthClock/maximManage/maximManage.api.ts b/src/views/archive/healthClock/maximManage/maximManage.api.ts deleted file mode 100644 index a48082c..0000000 --- a/src/views/archive/healthClock/maximManage/maximManage.api.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/health-archives/punchnew/healthProverbNew/list', - proverbAdd = '/health-archives/punchnew/healthProverbNew/add', - proverbEdit = '/health-archives/punchnew/healthProverbNew/edit', - proverbDelete = '/health-archives/punchnew/healthProverbNew/delete', -} -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -//格言增加 -export const proverbAdd = (params: any) => defHttp.post({ url: Api.proverbAdd, params }); -//格言编辑 -export const proverbEdit = (params: any) => defHttp.put({ url: Api.proverbEdit, params }); -//格言删除 -export const proverbDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.proverbDelete + `?id=${params.id}`, params }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/archive/healthClock/maximManage/maximManage.data.ts b/src/views/archive/healthClock/maximManage/maximManage.data.ts deleted file mode 100644 index 1af9afa..0000000 --- a/src/views/archive/healthClock/maximManage/maximManage.data.ts +++ /dev/null @@ -1,63 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -export const columns: BasicColumn[] = [ - { - title: '格言标题', - align: 'center', - dataIndex: 'proverbTitle', - width: 200, - }, - { - title: '格言内容', - align: 'center', - dataIndex: 'proverbContent', - }, - { - title: '格言作者', - align: 'center', - dataIndex: 'proverbAuthor', - width: 100, - }, - { - title: '格言来源', - align: 'center', - dataIndex: 'proverbResource', - width: 100, - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '格言标题', - field: 'proverbTitle', - component: 'JInput', - }, - { - label: '格言作者', - field: 'proverbAuthor', - component: 'JInput', - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '格言标题', - field: 'proverbTitle', - component: 'Input', - }, - { - label: '格言作者', - field: 'proverbAuthor', - component: 'Input', - }, - { - label: '格言来源', - field: 'proverbResource', - component: 'Input', - }, - { - label: '格言内容', - field: 'proverbContent', - component: 'InputTextArea', - rules: [{ required: true, trigger: 'blur' }], - }, -]; diff --git a/src/views/archive/healthClock/maximManage/maximManage.vue b/src/views/archive/healthClock/maximManage/maximManage.vue deleted file mode 100644 index 7ef0bc1..0000000 --- a/src/views/archive/healthClock/maximManage/maximManage.vue +++ /dev/null @@ -1,99 +0,0 @@ - - - - - diff --git a/src/views/archive/newHealthCabin/cabinStatistics/cabinStatistics.api.ts b/src/views/archive/newHealthCabin/cabinStatistics/cabinStatistics.api.ts deleted file mode 100644 index fe15efc..0000000 --- a/src/views/archive/newHealthCabin/cabinStatistics/cabinStatistics.api.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -enum Api { - list = '/health-archives/archives/house/houseStatistics', - houseStatisticsExport = '/health-archives/archives/house/houseStatisticsExport', -} -const { createConfirm } = useMessage(); - -/** - * 列表接口 - * @param params - */ -export const list = (params: any) => defHttp.get({ url: Api.list, params }); -/** - * 启动导出 - * - */ -export const exportExcelStart = (params: any) => { - createConfirm({ - iconType: 'info', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: Api.houseStatisticsExport, params }); - }, - }); -}; diff --git a/src/views/archive/newHealthCabin/cabinStatistics/cabinStatistics.data.ts b/src/views/archive/newHealthCabin/cabinStatistics/cabinStatistics.data.ts deleted file mode 100644 index 9c40bd4..0000000 --- a/src/views/archive/newHealthCabin/cabinStatistics/cabinStatistics.data.ts +++ /dev/null @@ -1,140 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { getStartEndByType } from '/@/views/archive/newHealthCabin/cabinStatistics/cabinStatisticsHooks'; -import moment from 'moment'; -import dayjs from 'dayjs'; -export interface StatisticsColumns { - name: string; - secondDepart: string; - thirdDepart: string; - setUpTime: string; - equipmentNum: number; - itemOne: number; - itemOneTotal: number; - itemTwo: number; - itemTwoTotal: number; -} -export const columns = (dateType: string) => { - let o = { - week: '本周', - month: '本月', - year: '本年', - }; - let text = o[dateType] || '本周'; - return [ - { - title: '小屋名称', - align: 'center', - dataIndex: 'name', - }, - { - title: '单位名称', - align: 'center', - dataIndex: 'secondDepart', - }, - { - title: '部门名称', - align: 'center', - dataIndex: 'thirdDepart', - }, - { - title: '建成日期', - align: 'center', - dataIndex: 'setUpTime', - }, - { - title: '配备设备数量', - align: 'center', - dataIndex: 'equipmentNum', - }, - { - title: `${text}测量血压人数`, - align: 'center', - dataIndex: 'itemOne', - sorter: { - compare: (a: StatisticsColumns, b: StatisticsColumns) => a.itemOne - b.itemOne, - }, - }, - { - title: '累计测量血压人数', - align: 'center', - dataIndex: 'itemOneTotal', - sorter: { - compare: (a: StatisticsColumns, b: StatisticsColumns) => a.itemOneTotal - b.itemOneTotal, - }, - }, - { - title: text + '测量血糖人数', - align: 'center', - dataIndex: 'itemTwo', - sorter: { - compare: (a: StatisticsColumns, b: StatisticsColumns) => a.itemTwo - b.itemTwo, - }, - }, - { - title: '累计测量血糖人数', - align: 'center', - dataIndex: 'itemTwoTotal', - sorter: { - compare: (a: StatisticsColumns, b: StatisticsColumns) => a.itemTwoTotal - b.itemTwoTotal, - }, - }, - ] as BasicColumn[]; -}; -const formatRule = { - week: 'YYYY-MM-DD', - month: 'YYYY-MM', - year: 'YYYY', -}; -const isValidRange = (startDate, endDate, dateType: string) => { - const date1 = moment(startDate); - const date2 = moment(endDate); - if (dateType == 'week') { - return date1.isoWeek() === date2.isoWeek() && date1.year() === date2.year(); - } - if (dateType == 'month') { - return date1.month() === date2.month() && date1.year() === date2.year(); - } - if (dateType == 'year') { - return date1.year() === date2.year(); - } -}; -export const searchFormSchema = (dateType: string) => { - let [start] = getStartEndByType(dateType, formatRule[dateType]); - return [ - ...orgSearchInfoByCode('orgCode1', 'orgCode2', 'orgCode'), - //时间范围 - { - field: 'dateRange', - label: '时间', - component: 'DatePicker', - componentProps: () => ({ - picker: dateType, - valueFormat: formatRule[dateType], - format: (value) => - dateType == 'week' - ? `${dayjs(value).startOf(dateType).format(formatRule[dateType])} ~ ${dayjs(value) - .endOf(dateType) - .format(formatRule[dateType])}` - : dayjs(value).format(formatRule[dateType]), - style: { - width: '100%', - }, - allowClear: false, - }), - defaultValue: start, - }, - { - field: 'startDate', - label: '开始时间', - component: 'Input', - show: false, - }, - { - field: 'endDate', - label: '结束时间', - component: 'Input', - show: false, - }, - ] as FormSchema[]; -}; diff --git a/src/views/archive/newHealthCabin/cabinStatistics/cabinStatistics.vue b/src/views/archive/newHealthCabin/cabinStatistics/cabinStatistics.vue deleted file mode 100644 index 3d76fad..0000000 --- a/src/views/archive/newHealthCabin/cabinStatistics/cabinStatistics.vue +++ /dev/null @@ -1,99 +0,0 @@ - - - diff --git a/src/views/archive/newHealthCabin/cabinStatistics/cabinStatisticsHooks.ts b/src/views/archive/newHealthCabin/cabinStatistics/cabinStatisticsHooks.ts deleted file mode 100644 index 9e3ef82..0000000 --- a/src/views/archive/newHealthCabin/cabinStatistics/cabinStatisticsHooks.ts +++ /dev/null @@ -1,94 +0,0 @@ -import dayjs from 'dayjs'; - -const weekFormat = 'YYYY-MM-DD'; - -/** - * 根据 时间类型获取开始结束时间 - * @param dateType - * @param format - */ - -export function getStartEndByType(dateType: string, format = weekFormat) { - let start = ''; - let end = ''; - if (dateType == 'week') { - start = dayjs().startOf('week').format(format); - end = dayjs().endOf('week').format(format); - } - if (dateType == 'month') { - start = dayjs().startOf('month').format(format); - end = dayjs().endOf('month').format(format); - } - if (dateType == 'year') { - start = new Date().getFullYear() + '-01-01'; - end = new Date().getFullYear() + '-12-31'; - } - if (dateType == 'picker') { - start = dayjs().subtract(7, 'day').format('YYYY-MM-DD'); - end = dayjs().format('YYYY-MM-DD'); - } - // console.log('--start', start, 'end', end); - return [start, end]; -} -//根据时间类型获取开始结束时间 -export function getStartEndByType2(dateType: string, time = new Date(), format = weekFormat) { - let start = ''; - let end = ''; - if (dateType == 'week') { - start = dayjs(time).startOf('week').format(format); - end = dayjs(time).endOf('week').format(format); - } - // if (dateType == 'month') { - // start = dayjs().startOf('month').format(format); - // end = dayjs().endOf('month').format(format); - // } - return [start, end]; -} - -/** - * 获取年份 - * @param dateString - */ -export function extractYear(dateString) { - // 使用正则表达式匹配年份,这里假设年份总是四位数 - const match = dateString.match(/\d{4}/); - if (match) { - // 返回匹配到的年份 - return [match[0], match[0]]; - } else { - // 如果没有找到年份,返回null或其他适当的值 - return [dayjs(new Date()).format('YYYY'), dayjs(new Date()).format('YYYY')]; - } -} -export type DateType = 'week' | 'month' | 'year' | 'picker'; -/** - * 处理请求参数 - */ -export function handleParams(formModel: any, dateType: DateType) { - let date = formModel['dateRange']; - if (!date) return formModel; - const weekFormat = 'YYYY-MM-DD'; - const yearFormat = 'YYYY'; - // const hasGMT = date.includes('GMT,'); - // if (hasGMT) { - // let [s, e] = date.split('GMT,'); - // date = [s + 'GMT', e]; - // } - // if (!hasGMT && date.includes(',')) { - // date = date.split(','); - // } - if (dateType == 'week' || dateType == 'month') { - formModel['startTime'] = dayjs(date).startOf(dateType).format(weekFormat); - formModel['endTime'] = dayjs(date).endOf(dateType).format(weekFormat); - } - if (dateType == 'year') { - formModel['startTime'] = dayjs(date).startOf(dateType).format(yearFormat) + '-01-01'; - formModel['endTime'] = dayjs(date).startOf(dateType).format(yearFormat) + '-12-31'; - } - if (dateType == 'picker') { - formModel['startTime'] = dayjs(date).subtract(7, 'day'); - formModel['endTime'] = dayjs(date); - } - delete formModel['dateRange']; - return formModel; -} diff --git a/src/views/archive/newHealthCabin/healthCabinList/components/cabinDataManagement.vue b/src/views/archive/newHealthCabin/healthCabinList/components/cabinDataManagement.vue deleted file mode 100644 index 296dd3c..0000000 --- a/src/views/archive/newHealthCabin/healthCabinList/components/cabinDataManagement.vue +++ /dev/null @@ -1,259 +0,0 @@ - - - - diff --git a/src/views/archive/newHealthCabin/healthCabinList/components/cabinDataManagementModal.vue b/src/views/archive/newHealthCabin/healthCabinList/components/cabinDataManagementModal.vue deleted file mode 100644 index 2dee7e4..0000000 --- a/src/views/archive/newHealthCabin/healthCabinList/components/cabinDataManagementModal.vue +++ /dev/null @@ -1,54 +0,0 @@ - - - diff --git a/src/views/archive/newHealthCabin/healthCabinList/components/healthCabinDrawer.vue b/src/views/archive/newHealthCabin/healthCabinList/components/healthCabinDrawer.vue deleted file mode 100644 index deee388..0000000 --- a/src/views/archive/newHealthCabin/healthCabinList/components/healthCabinDrawer.vue +++ /dev/null @@ -1,89 +0,0 @@ - - - - diff --git a/src/views/archive/newHealthCabin/healthCabinList/healthCabinList.api.ts b/src/views/archive/newHealthCabin/healthCabinList/healthCabinList.api.ts deleted file mode 100644 index 2e5584f..0000000 --- a/src/views/archive/newHealthCabin/healthCabinList/healthCabinList.api.ts +++ /dev/null @@ -1,129 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -enum Api { - list = '/health-archives/archives/house/list', - save = '/health-archives/archives/house/add', - edit = '/health-archives/archives/house/edit', - deleteOne = '/health-archives/archives/house/delete', - importExcel = '/health-archives/archives/house/importExcel', - exportXls = '/health-archives/archives/house/exportExcel', - //数据管理 - houseData = '/health-archives/archives/houseData/list', - houseQuery = '/health-archives/archives/house/queryById', - saveData = '/health-archives/archives/houseData/add', - editData = '/health-archives/archives/houseData/edit', - deleteData = '/health-archives/archives/houseData/delete', - getExportUrl = '/health-archives/archives/houseData/exportExcel', - houseDataImportExcel = '/health-archives/archives/houseData/importExcel', -} -export const getExportXlsUrl = Api.exportXls; -export const importExcel = Api.importExcel; - -/** - * 列表接口 - * @param params - */ -export const list = (params: any) => defHttp.get({ url: Api.list, params }); -/** - * 删除单个 - */ -export const deleteOne = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params: any, isUpdate: boolean) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url, params }, { isTransformResponse: false }); -}; -/** - * 数据管理列表 - * @param params - */ -export const houseData = (params: any) => defHttp.get({ url: Api.houseData, params }); -/** - * 查询小屋详情 - * @param params - */ -export const queryById = (params: any) => defHttp.get({ url: Api.houseQuery, params }); -/** - * 小屋数据管理保存或者更新 - * @param params - * @param isUpdate - */ -export const houseDateSaveOrUpdate = (params: any, isUpdate: boolean) => { - const url = isUpdate ? Api.editData : Api.saveData; - return defHttp.post({ url, params }); -}; -/** - * 小屋数据管理删除单个 - */ -export const deleteData = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.deleteData, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 小屋数据管理导出 - */ -export const getExportUrl = Api.getExportUrl; -/** - * 小屋数据管理导入 - */ -export const houseDataImportExcel = Api.houseDataImportExcel; -/** - * 小屋管理启动导出 - * - */ -export const exportExcelStart = (params: any) => { - createConfirm({ - iconType: 'info', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: getExportXlsUrl, params }); - }, - }); -}; -/** - * 小屋数据管理启动导出 - * - */ -export const cabinDataExportExcelStart = (params: any) => { - createConfirm({ - iconType: 'info', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: Api.getExportUrl, params }); - }, - }); -}; diff --git a/src/views/archive/newHealthCabin/healthCabinList/healthCabinList.data.ts b/src/views/archive/newHealthCabin/healthCabinList/healthCabinList.data.ts deleted file mode 100644 index cbfc733..0000000 --- a/src/views/archive/newHealthCabin/healthCabinList/healthCabinList.data.ts +++ /dev/null @@ -1,318 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { allSecondaryDepartsNew, getThirdDepartsNew, orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { rules } from '/@/utils/helper/validator'; -import { message } from 'ant-design-vue'; - -export function formatMoney(val: number) { - if (val == 0) { - return 0; - } - if (!val) { - return ''; - } - //金额转换 分->元 保留2位小数 并每隔3位用逗号分开 1,234.56 - let str = (val / 100).toFixed(2) + ''; - let intSum = str.substring(0, str.indexOf('.')).replace(/\B(?=(?:\d{3})+$)/g, ','); //取到整数部分 - let dot = str.substring(str.length, str.indexOf('.')); //取到小数部分搜索 - return intSum + dot; -} -export function useHouseItem() { - const houseKey = 'houseItem'; - function setHouseItem(row: any) { - sessionStorage.setItem(houseKey, JSON.stringify(row)); - } - function getHouseItem() { - return JSON.parse(sessionStorage.getItem(houseKey) || '{}'); - } - return { - setHouseItem, - getHouseItem, - }; -} -export const columns: BasicColumn[] = [ - { - title: '小屋名称', - align: 'center', - dataIndex: 'name', - }, - { - title: '单位名称', - align: 'center', - dataIndex: 'secondDepart', - }, - { - title: '部门名称', - align: 'center', - dataIndex: 'thirdDepart', - }, - { - title: '负责人', - align: 'center', - dataIndex: 'managerUserName', - }, - { - title: '负责人办公室电话', - align: 'center', - dataIndex: 'managerUserOfficeMobile', - }, - { - title: '负责人手机', - align: 'center', - dataIndex: 'managerUserMobile', - }, - { - title: '建成日期', - align: 'center', - dataIndex: 'setUpTime', - }, - { - title: '配备金额(元)', - align: 'center', - dataIndex: 'money', - customRender: ({ text }) => { - if (text == 0) { - return 0; - } - if (!text) { - return ''; - } - return formatMoney(text); - }, - }, - { - title: '配备设备数量', - align: 'center', - dataIndex: 'equipmentNum', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'name', - label: '小屋名称', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2', 'orgCode'), -]; -export const formSchema: FormSchema[] = [ - { - field: 'id', - label: 'id', - component: 'Input', - show: false, - }, - { - field: 'orgCode', - label: 'orgCode', - component: 'Input', - show: false, - }, - { - label: '单位名称', - field: 'orgCode1', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位', - showSearch: true, - showDefaultValue: false, - filterOption: (input: string, option: any): boolean => { - const str: string = input.trim().toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel['orgCode2'] = ''; - }, - onDeselect: () => { - formModel['orgCode1'] = ''; - formModel['orgCode2'] = ''; - }, - }; - }, - }, - { - label: '部门名称', - field: 'orgCode2', - component: 'ApiSelect', - // required: true, - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNew, - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择部门', - showSearch: true, - showDefaultValue: false, - params: { - idOrCode: formModel['orgCode1']?.substring(0, 6) || 'xasd', - }, - onFocus: () => { - if (!formModel['orgCode1']) { - return message.warn('请先选择单位!'); - } - }, - filterOption: (input: string, option: any): boolean => { - const str: string = input.trim().toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - field: 'name', - label: '小屋名称', - component: 'Input', - required: true, - }, - { - field: 'managerUserName', - label: '负责人', - component: 'Input', - required: true, - }, - { - field: 'managerUserOfficeMobile', - label: '负责人办公室电话', - component: 'Input', - rules: rules.phoneAndTelPhone(false, '请输入正确号码格式!'), - }, - { - field: 'managerUserMobile', - label: '负责人手机', - component: 'Input', - rules: rules.phone(true), - }, - { - field: 'setUpTime', - label: '建成日期', - component: 'DatePicker', - required: true, - }, - { - field: 'money', - label: '配备金额(元)', - component: 'InputNumber', - required: true, - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - }, - { - field: 'equipmentNum', - label: '配备设备数量', - component: 'InputNumber', - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - required: true, - }, -]; -export const dataManagementFormSchema: FormSchema[] = [ - { - field: 'date', - label: '日期', - component: 'RangeDate', - }, - { - field: 'id', - label: '', - component: 'Input', - show: false, - }, -]; -export const managementColumns: BasicColumn[] = [ - { - title: '日期', - align: 'center', - dataIndex: 'measureDate', - }, - { - title: '血压测量人次', - align: 'center', - dataIndex: 'itemOne', - }, - { - title: '血糖测量人次', - align: 'center', - dataIndex: 'itemTwo', - }, -]; -export const managementFormSchema: FormSchema[] = [ - { - field: 'measureDate', - label: '日期', - component: 'DatePicker', - required: true, - componentProps: ({ formModel }) => { - return { - style: { - width: '100%', - }, - getPopupContainer: () => document.body, - disabled: formModel.id, - valueFormat: 'YYYY-MM-DD', - }; - }, - }, - { - field: 'itemOne', - label: '血压测量人次', - component: 'InputNumber', - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - required: true, - }, - { - field: 'itemTwo', - label: '血糖测量人次', - component: 'InputNumber', - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - required: true, - }, - { - field: 'id', - label: '', - component: 'Input', - show: false, - }, -]; - -export interface HouseData { - id: string; - name: string; - orgCode: string; - managerUserName: string; - managerUserOfficeMobile: string; - managerUserMobile: string; - setUpTime: string; - money: number; - equipmentNum: number; - orgName: string; - secondDepart: string; - thirdDepart: string; -} -export type HouseType = Partial; diff --git a/src/views/archive/newHealthCabin/healthCabinList/healthCabinList.vue b/src/views/archive/newHealthCabin/healthCabinList/healthCabinList.vue deleted file mode 100644 index 3608227..0000000 --- a/src/views/archive/newHealthCabin/healthCabinList/healthCabinList.vue +++ /dev/null @@ -1,216 +0,0 @@ - - - diff --git a/src/views/archive/psychologicalAssessmentStatistics/components/questionDrawer.vue b/src/views/archive/psychologicalAssessmentStatistics/components/questionDrawer.vue deleted file mode 100644 index aef8ce7..0000000 --- a/src/views/archive/psychologicalAssessmentStatistics/components/questionDrawer.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - - diff --git a/src/views/archive/psychologicalAssessmentStatistics/psychologicalAssessmentStatistics.api.ts b/src/views/archive/psychologicalAssessmentStatistics/psychologicalAssessmentStatistics.api.ts deleted file mode 100644 index c89c35e..0000000 --- a/src/views/archive/psychologicalAssessmentStatistics/psychologicalAssessmentStatistics.api.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -enum Api { - list = '/archives/hmsEvaluationPhyStat/statisticsPage', - getPDF = '/archives/hmsEvaluationPhyStat/getPdfFilePath', - getQsDetail = '/archives/hmsEvaluationPhyStat/getQsDetail', - //导出统计报告 - exportStatisticsReport = '/archives/hmsEvaluationPhyStat/exportStatisticsReport', - //导出问卷详情 - exportSurveyDetail = '/archives/hmsEvaluationPhyStat/exportSurveyDetail', -} -export const list = (params: any) => { - return defHttp.get({ url: Api.list, params }); -}; -export const exportPDF = (params: any) => { - return defHttp.get({ url: Api.getPDF, params }, { isTransformResponse: false }); -}; -export interface QsDetail { - realName: string; - time: string; - evaluationId: string; - createTime?: string; - userName?: string; -} -export const getQsDetail = (params: QsDetail) => defHttp.get({ url: Api.getQsDetail, params }); - -/** - * 启动导出 - * - */ -export const exportExcelStart = (code: string, params: any) => { - const url = Api[code]; - if (!url) { - return; - } - createConfirm({ - iconType: 'info', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url, params }); - }, - }); -}; diff --git a/src/views/archive/psychologicalAssessmentStatistics/psychologicalAssessmentStatistics.data.ts b/src/views/archive/psychologicalAssessmentStatistics/psychologicalAssessmentStatistics.data.ts deleted file mode 100644 index 102bf0a..0000000 --- a/src/views/archive/psychologicalAssessmentStatistics/psychologicalAssessmentStatistics.data.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; - -export const columns: BasicColumn[] = [ - { - title: '员工姓名', - dataIndex: 'userName', - width: 100, - }, - { - title: '身份证号', - dataIndex: 'idCard', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - width: 80, - }, - { - title: '单位', - dataIndex: 'secondDepartName', - }, - { - title: '部门', - dataIndex: 'thirdDepartName', - }, - { - title: '评估次数', - dataIndex: 'num', - width: 80, - }, - { - title: '评估日期', - dataIndex: 'createTime', - }, - { - title: '健康评分', - dataIndex: 'grade', - }, - { - title: '评分等级', - dataIndex: 'phyGradeLevel_dictText', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'realName', - label: '员工姓名', - component: 'Input', - }, - { - field: 'idCard', - label: '身份证号', - component: 'Input', - }, - { - field: 'date', - label: '评估日期', - component: 'RangeDate', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - style: { - width: '100%', - }, - }; - }, - }, - ...orgSearchInfoByCode('orgCode1', 'departmentCode', 'orgCode'), -]; diff --git a/src/views/archive/psychologicalAssessmentStatistics/psychologicalAssessmentStatistics.vue b/src/views/archive/psychologicalAssessmentStatistics/psychologicalAssessmentStatistics.vue deleted file mode 100644 index 6bb05bc..0000000 --- a/src/views/archive/psychologicalAssessmentStatistics/psychologicalAssessmentStatistics.vue +++ /dev/null @@ -1,127 +0,0 @@ - - - diff --git a/src/views/archive/riskAssessmentStatistics/components/questionDrawer.vue b/src/views/archive/riskAssessmentStatistics/components/questionDrawer.vue deleted file mode 100644 index f5a4cac..0000000 --- a/src/views/archive/riskAssessmentStatistics/components/questionDrawer.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - - diff --git a/src/views/archive/riskAssessmentStatistics/riskAssessmentStatistics.api.ts b/src/views/archive/riskAssessmentStatistics/riskAssessmentStatistics.api.ts deleted file mode 100644 index 124cd4f..0000000 --- a/src/views/archive/riskAssessmentStatistics/riskAssessmentStatistics.api.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -export enum Api { - statisticsPage = '/archives/hmsEvaluationStatistics/statisticsPage', - exportPDF = '/archives/hmsEvaluation/getPdfFilePath', - //导出报告 - exportExcel = '/archives/hmsEvaluationStatistics/exportStatisticsReport', - //导出问卷 - exportSurveyDetail = '/archives/hmsEvaluationStatistics/exportSurveyDetail', - getQsDetail = '/archives/hmsEvaluation/getQsDetail', -} -export const list = (params: any) => defHttp.get({ url: Api.statisticsPage, params }); -export const exportPDF = (params: any) => defHttp.get({ url: Api.exportPDF, params }, { isTransformResponse: false }); -export const exportExcel = Api.exportExcel; -export interface QsDetail { - realName: string; - time: string; - logId: string; - createTime?: string; - userName?: string; -} -export const getQsDetail = (params: QsDetail) => defHttp.get({ url: Api.getQsDetail, params }); -/** - * 启动导出 - * - */ -export const exportExcelStart = (code: string, params: any) => { - const url = Api[code]; - if (!url) { - return; - } - createConfirm({ - iconType: 'info', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url, params }); - }, - }); -}; diff --git a/src/views/archive/riskAssessmentStatistics/riskAssessmentStatistics.data.ts b/src/views/archive/riskAssessmentStatistics/riskAssessmentStatistics.data.ts deleted file mode 100644 index 3426b2f..0000000 --- a/src/views/archive/riskAssessmentStatistics/riskAssessmentStatistics.data.ts +++ /dev/null @@ -1,86 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; - -export const columns: BasicColumn[] = [ - { - title: '员工姓名', - dataIndex: 'userName', - width: 100, - }, - { - title: '身份证号', - dataIndex: 'idCard', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - width: 80, - }, - { - title: '单位', - dataIndex: 'secondDepartName', - }, - { - title: '部门', - dataIndex: 'thirdDepartName', - }, - { - title: '评估次数', - dataIndex: 'num', - width: 80, - }, - { - title: '评估日期', - dataIndex: 'createTime', - }, - { - title: '体重指数', - dataIndex: 'bmi', - }, - { - title: '缺血性心血管病', - dataIndex: 'ischemicCardiovascular_dictText', - }, - { - title: '糖尿病', - dataIndex: 'diabetes_dictText', - }, - { - title: '肺癌', - dataIndex: 'lungCancer_dictText', - }, - { - title: '高血压', - dataIndex: 'hypertension_dictText', - }, - { - title: '代谢综合征', - dataIndex: 'metabolicSyndrome_dictText', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'realName', - label: '员工姓名', - component: 'Input', - }, - { - field: 'idCard', - label: '身份证号', - component: 'Input', - }, - { - field: 'date', - label: '评估日期', - component: 'RangeDate', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - style: { - width: '100%', - }, - }; - }, - }, - ...orgSearchInfoByCode('orgCode1', 'departmentCode', 'orgCode'), -]; diff --git a/src/views/archive/riskAssessmentStatistics/riskAssessmentStatistics.vue b/src/views/archive/riskAssessmentStatistics/riskAssessmentStatistics.vue deleted file mode 100644 index 484c7f6..0000000 --- a/src/views/archive/riskAssessmentStatistics/riskAssessmentStatistics.vue +++ /dev/null @@ -1,123 +0,0 @@ - - - diff --git a/src/views/archive/serviceConfig/basicTermKnowledge/basicTermKnowledge.api.ts b/src/views/archive/serviceConfig/basicTermKnowledge/basicTermKnowledge.api.ts deleted file mode 100644 index 5ba83f7..0000000 --- a/src/views/archive/serviceConfig/basicTermKnowledge/basicTermKnowledge.api.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -export enum Api { - list = '/archives/arcInspectKonw/list', - queryById = '/archives/arcInspectKonw/queryById', - save = '/archives/arcInspectKonw/add', - edit = '/archives/arcInspectKonw/edit', - deleteOne = '/archives/arcInspectKonw/delete', - getInspect = '/archives/arcInspectKonw/getInspect', -} -/** - * @Description:列表接口 - * @date 2023/7/19 - * @param: - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); -/** - * @Description:通过id查询 - * @date 2023/8/11 - * @param params - */ -export const queryById = (params) => defHttp.get({ url: Api.queryById, params }); -/** - * @Description:保存或更新 - * @date 2023/7/19 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params, isUpdate) => { - const url: Api.edit | Api.save = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; -/** - * @Description:单个删除 - * @date 2023/7/19 - * @param params - * @param handleSuccess - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => - defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }), - }); -}; -/** - * @Description:关联项目 - * @date 2023/8/11 - * @param params - */ -export const getInspect = (params) => defHttp.get({ url: Api.getInspect, params }); diff --git a/src/views/archive/serviceConfig/basicTermKnowledge/basicTermKnowledge.data.ts b/src/views/archive/serviceConfig/basicTermKnowledge/basicTermKnowledge.data.ts deleted file mode 100644 index 05f970e..0000000 --- a/src/views/archive/serviceConfig/basicTermKnowledge/basicTermKnowledge.data.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '关联项目', - align: 'center', - dataIndex: 'subName', - }, - { - title: '创建时间', - align: 'center', - dataIndex: 'createdTime', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '关联项目', - field: 'level', - component: 'Cascader', - slot: 'myCascader', - }, - { - label: '查询id', - field: 'subId', - component: 'Input', - show: false, - }, -]; -export const formSchema: FormSchema[] = [ - { - label: '关联项目', - field: 'level', - component: 'Input', - required: true, - slot: 'myCascader', - }, - { - label: '体检项一级分类', - field: 'firstLevelId', - component: 'Input', - show: false, - }, - { - label: '体检项一级分类名称', - field: 'firstLevelName', - component: 'Input', - show: false, - }, - { - label: '体检项二级分类', - field: 'subId', - component: 'Input', - show: false, - }, - { - label: '体检项二级分类名称', - field: 'inspectName', - component: 'Input', - show: false, - }, - { - label: '科目简介', - field: 'subSynopsis', - required: true, - component: 'JEditor', - }, - { - label: '科目临床意义', - field: 'subLcyy', - required: true, - component: 'JEditor', - }, - { - label: '隐藏id', - field: 'id', - component: 'Input', - show: false, - }, -]; -export function dealLevelParams(params) { - if (params?.level) { - if (params.level.includes(',')) { - const ids = params.level.split(','); - params['subId'] = ids[1]; - } else { - params['subId'] = params.level; - } - } - return params; -} diff --git a/src/views/archive/serviceConfig/basicTermKnowledge/basicTermKnowledge.vue b/src/views/archive/serviceConfig/basicTermKnowledge/basicTermKnowledge.vue deleted file mode 100644 index d502e8a..0000000 --- a/src/views/archive/serviceConfig/basicTermKnowledge/basicTermKnowledge.vue +++ /dev/null @@ -1,100 +0,0 @@ - - diff --git a/src/views/archive/serviceConfig/basicTermKnowledge/components/basicKnowledgeDrawer.vue b/src/views/archive/serviceConfig/basicTermKnowledge/components/basicKnowledgeDrawer.vue deleted file mode 100644 index f9f9c51..0000000 --- a/src/views/archive/serviceConfig/basicTermKnowledge/components/basicKnowledgeDrawer.vue +++ /dev/null @@ -1,101 +0,0 @@ - - - diff --git a/src/views/archive/serviceConfig/diseaseKnowledge/components/diseaseListDrawer.vue b/src/views/archive/serviceConfig/diseaseKnowledge/components/diseaseListDrawer.vue deleted file mode 100644 index b0110dd..0000000 --- a/src/views/archive/serviceConfig/diseaseKnowledge/components/diseaseListDrawer.vue +++ /dev/null @@ -1,89 +0,0 @@ - - - - diff --git a/src/views/archive/serviceConfig/diseaseKnowledge/components/knowledgeDrawer.vue b/src/views/archive/serviceConfig/diseaseKnowledge/components/knowledgeDrawer.vue deleted file mode 100644 index 1c8f9c2..0000000 --- a/src/views/archive/serviceConfig/diseaseKnowledge/components/knowledgeDrawer.vue +++ /dev/null @@ -1,90 +0,0 @@ - - - diff --git a/src/views/archive/serviceConfig/diseaseKnowledge/diseaseKnowledge.api.ts b/src/views/archive/serviceConfig/diseaseKnowledge/diseaseKnowledge.api.ts deleted file mode 100644 index e8ad09b..0000000 --- a/src/views/archive/serviceConfig/diseaseKnowledge/diseaseKnowledge.api.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -export enum Api { - list = '/archives/arcSicksKonw/list', - queryById = '/archives/arcSicksKonw/queryById', - save = '/archives/arcSicksKonw/add', - edit = '/archives/arcSicksKonw/edit', - deleteOne = '/archives/arcSicksKonw/delete', - sickList = '/medical/diseasesDic/list', -} -/** - * @Description:列表接口 - * @date 2023/7/19 - * @param: - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); -/** - * @Description:保存或更新 - * @date 2023/7/19 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params, isUpdate) => { - const url: Api.edit | Api.save = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; -/** - * @Description:单个删除 - * @date 2023/7/19 - * @param params - * @param handleSuccess - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => - defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }), - }); -}; -/** - * @Description:关联疾病列表 - * @date 2023/8/1 - * @param: - */ -export const sickList = async (data) => { - const params = { - ...data, - }; - try { - const res = await defHttp.get({ url: Api.sickList, params }); - return new Promise((resolve) => { - return resolve(res); - }); - } catch { - return new Promise((resolve) => { - return resolve([]); - }); - } -}; diff --git a/src/views/archive/serviceConfig/diseaseKnowledge/diseaseKnowledge.data.ts b/src/views/archive/serviceConfig/diseaseKnowledge/diseaseKnowledge.data.ts deleted file mode 100644 index 7ee772e..0000000 --- a/src/views/archive/serviceConfig/diseaseKnowledge/diseaseKnowledge.data.ts +++ /dev/null @@ -1,190 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; - -interface StatusOption { - label: string; - value: number; -} - -const statusOption: StatusOption[] = [ - { - label: '启用', - value: 1, - }, - { - label: '禁用', - value: 2, - }, -]; -/** - * @Description: 此处触发疾病选择事件 - * @date 2023/8/1 - * @param hitField - */ -export const hitField = 'sicksName'; -/** - * @Description:列表 - * @date 2023/8/1 - * @param: - */ -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '文章标题', - align: 'center', - dataIndex: 'title', - }, - { - title: '关联疾病', - align: 'center', - dataIndex: 'sicksName', - }, - { - title: '状态', - align: 'center', - dataIndex: 'status', - customRender: ({ text }) => { - if (!text) return ''; - return text == '1' ? '启用' : '禁用'; - }, - }, - { - title: '创建时间', - align: 'center', - dataIndex: 'createTime', - }, -]; -/** - * @Description:疾病名称列表 - * @date 2023/8/1 - * @param: - */ -export const sickColumns: BasicColumn[] = [ - { - title: '疾病名称', - align: 'center', - dataIndex: 'diseasesName', - }, - { - title: '疾病类别', - align: 'center', - dataIndex: 'diseasesClass', - customRender: ({ text }) => { - return render.renderDict(text, 'diseases_class'); - }, - }, -]; -/** - * @Description:疾病名称搜素 - * @date 2023/8/1 - * @param: - */ -export const sickFormSchema: FormSchema[] = [ - { - label: '病种类别', - field: 'diseasesClass', - component: 'JDictSelectTag', - componentProps: { - // @ts-ignore - dictCode: 'diseases_class', - }, - }, - { - label: '病种名称', - field: 'diseasesName', - component: 'Input', - }, -]; -/** - * @Description:疾病知识搜索 - * @date 2023/8/1 - * @param: - */ -export const searchFormSchema: FormSchema[] = [ - { - label: '文章标题', - field: 'title', - component: 'Input', - }, - { - label: '关联疾病', - field: 'sicksName', - component: 'Input', - }, - { - label: '状态', - field: 'status', - component: 'JDictSelectTag', - componentProps: { - // @ts-ignore - options: statusOption, - }, - }, -]; -/** - * @Description:表单 - * @date 2023/8/1 - * @param: - */ -export const formSchema: FormSchema[] = [ - { - label: '文章标题', - field: 'title', - component: 'Input', - required: true, - }, - { - label: '关联疾病', - field: hitField, - component: 'Input', - componentProps: { - // @ts-ignore - onClick: (): void => {}, - readonly: true, - }, - required: true, - }, - { - label: '状态', - field: 'status', - component: 'RadioGroup', - componentProps: { - // @ts-ignore - options: statusOption, - }, - required: true, - }, - { - label: '简介', - field: 'intro', - component: 'JEditor', - rules: [{ required: true, message: '请输入简介内容' }], - }, - { - label: '病因', - field: 'etiology', - component: 'JEditor', - required: true, - rules: [{ required: true, message: '请输入病因内容' }], - }, - { - label: '疾病名称Id', - field: 'sicksId', - component: 'Input', - show: false, - }, - // 主键id - { - label: '', - field: 'id', - show: false, - component: 'Input', - }, -]; diff --git a/src/views/archive/serviceConfig/diseaseKnowledge/diseaseKnowledge.vue b/src/views/archive/serviceConfig/diseaseKnowledge/diseaseKnowledge.vue deleted file mode 100644 index dfa7bfa..0000000 --- a/src/views/archive/serviceConfig/diseaseKnowledge/diseaseKnowledge.vue +++ /dev/null @@ -1,90 +0,0 @@ - - - - diff --git a/src/views/archive/serviceConfig/exerciseExpend/components/exerciseExpendModal.vue b/src/views/archive/serviceConfig/exerciseExpend/components/exerciseExpendModal.vue deleted file mode 100644 index 319f34c..0000000 --- a/src/views/archive/serviceConfig/exerciseExpend/components/exerciseExpendModal.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - - - diff --git a/src/views/archive/serviceConfig/exerciseExpend/exerciseExpend.api.ts b/src/views/archive/serviceConfig/exerciseExpend/exerciseExpend.api.ts deleted file mode 100644 index 57156a7..0000000 --- a/src/views/archive/serviceConfig/exerciseExpend/exerciseExpend.api.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/health-archives/archives/exerciseExpend/listCustom', - save = '/health-archives/archives/exerciseExpend/addCustom', - edit = '/health-archives/archives/exerciseExpend/edit', - deleteOne = '/health-archives/archives/exerciseExpend/delete', - deleteBatch = '/health-archives/archives/exerciseExpend/deleteBatch', - firstLevelMenu = '/health-archives/archives/exerciseExpend/allLevelsOne', -} - -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - * @param handleSuccess - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -/** - * @Description:所有的一级类目 - * @date 2023/8/16 - * @param params - */ - -export const firstLevelMenu = (params = {}) => defHttp.get({ url: Api.firstLevelMenu, params }); diff --git a/src/views/archive/serviceConfig/exerciseExpend/exerciseExpend.data.ts b/src/views/archive/serviceConfig/exerciseExpend/exerciseExpend.data.ts deleted file mode 100644 index 568940b..0000000 --- a/src/views/archive/serviceConfig/exerciseExpend/exerciseExpend.data.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { firstLevelMenu } from '/@/views/archive/serviceConfig/exerciseExpend/exerciseExpend.api'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '名称', - align: 'center', - dataIndex: 'name', - }, - { - title: '每分钟消耗能量(kcal)', - align: 'center', - dataIndex: 'expend', - }, - { - title: '排序', - align: 'center', - dataIndex: 'sort', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '名称', - field: 'name', - component: 'Input', - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '名称', - field: 'name', - component: 'Input', - required: true, - }, - { - label: '一级菜单', - field: 'parentId', - component: 'ApiSelect', - componentProps: { - //@ts-ignore - api: firstLevelMenu, - labelField: 'name', - valueField: 'id', - getPopupContainer: () => document.body, - immediate: true, - }, - }, - { - label: '等级', - field: 'level', - component: 'InputNumber', - show: false, - }, - { - label: '每分钟消耗能量', - field: 'expend', - component: 'InputNumber', - suffix: '(kcal)', - ifShow: ({ values }) => { - return !!values?.parentId; - }, - required: ({ values }) => { - return !!values?.parentId; - }, - }, - { - label: '排序', - field: 'sort', - component: 'InputNumber', - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/archive/serviceConfig/exerciseExpend/exerciseExpendList.vue b/src/views/archive/serviceConfig/exerciseExpend/exerciseExpendList.vue deleted file mode 100644 index 9130013..0000000 --- a/src/views/archive/serviceConfig/exerciseExpend/exerciseExpendList.vue +++ /dev/null @@ -1,104 +0,0 @@ - - - - - diff --git a/src/views/archive/serviceConfig/foodMap/components/foodMapModal.vue b/src/views/archive/serviceConfig/foodMap/components/foodMapModal.vue deleted file mode 100644 index a1a4bce..0000000 --- a/src/views/archive/serviceConfig/foodMap/components/foodMapModal.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - diff --git a/src/views/archive/serviceConfig/foodMap/foodMap.api.ts b/src/views/archive/serviceConfig/foodMap/foodMap.api.ts deleted file mode 100644 index 713f280..0000000 --- a/src/views/archive/serviceConfig/foodMap/foodMap.api.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -export enum Api { - list = '/health-consultation/consultation/conHealthInfoAnswer/list', - queryById = '', - save = '/health-consultation/consultation/conHealthInfo/add', - edit = '/health-consultation/consultation/conHealthInfo/edit', - deleteOne = '/health-consultation/consultation/conHealthInfo/delete', -} -/** - * @Description:列表接口 - * @date 2023/7/17 - * @param: - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => - defHttp.delete({ url: Api.deleteOne, params }).then(() => { - handleSuccess(); - }), - }); -}; diff --git a/src/views/archive/serviceConfig/foodMap/foodMap.data.ts b/src/views/archive/serviceConfig/foodMap/foodMap.data.ts deleted file mode 100644 index a65bc58..0000000 --- a/src/views/archive/serviceConfig/foodMap/foodMap.data.ts +++ /dev/null @@ -1,138 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '食物名称', - align: 'center', - dataIndex: 'age', - }, - { - title: '食物类型', - align: 'center', - dataIndex: 'age', - }, - { - title: '单位重量(g)', - align: 'center', - dataIndex: 'age', - }, - { - title: '单位热量(千卡)', - align: 'center', - dataIndex: 'age', - }, - { - title: '状态', - align: 'center', - dataIndex: 'age', - }, - { - title: '创建时间', - align: 'center', - dataIndex: 'date', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '食物名称', - field: 'fromName', - component: 'Input', - }, - { - label: '食物类型', - field: 'fromName', - component: 'Input', - }, - { - label: '状态', - field: 'fromName', - component: 'JDictSelectTag', - componentProps: { - options: [ - { - label: '启用', - value: '1', - }, - { - label: '下架', - value: '0', - }, - ], - }, - }, -]; -export const formSchema: FormSchema[] = [ - { - label: '食物类型', - field: 'fromName', - component: 'Input', - required: true, - }, - { - label: '序号', - field: 'number', - component: 'InputNumber', - componentProps: { - style: { - width: '100%', - }, - }, - }, - { - label: '食物名称', - field: 'fromName', - component: 'Input', - required: true, - }, - { - label: '单位重量', - field: 'fromName', - component: 'Input', - componentProps: { - suffix: 'g', - }, - required: true, - }, - { - label: '单位热量', - field: 'fromName', - component: 'Input', - componentProps: { - suffix: '千卡', - }, - required: true, - }, - { - label: '图片', - field: 'photoUrl', - component: 'JImageUpload', - rules: [{ required: true, message: '请上传图片' }], - }, - { - label: '状态', - field: 'fromName', - component: 'RadioGroup', - required: true, - componentProps: { - options: [ - { - label: '启用', - value: '1', - }, - { - label: '下架', - value: '0', - }, - ], - }, - }, -]; diff --git a/src/views/archive/serviceConfig/foodMap/foodMap.vue b/src/views/archive/serviceConfig/foodMap/foodMap.vue deleted file mode 100644 index 862d195..0000000 --- a/src/views/archive/serviceConfig/foodMap/foodMap.vue +++ /dev/null @@ -1,90 +0,0 @@ - - - - diff --git a/src/views/archive/serviceConfig/medicalDataAnalysisList/MedicalDataAnalysis.api.ts b/src/views/archive/serviceConfig/medicalDataAnalysisList/MedicalDataAnalysis.api.ts deleted file mode 100644 index eafa035..0000000 --- a/src/views/archive/serviceConfig/medicalDataAnalysisList/MedicalDataAnalysis.api.ts +++ /dev/null @@ -1,67 +0,0 @@ -// noinspection Eslint - -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/archives/medicalDataAnalysis/list', - save = '/archives/medicalDataAnalysis/add', - edit = '/archives/medicalDataAnalysis/edit', - deleteOne = '/archives/medicalDataAnalysis/delete', - deleteBatch = '/archives/medicalDataAnalysis/deleteBatch', - importExcel = '/archives/medicalDataAnalysis/importExcel', - exportXls = '/archives/medicalDataAnalysis/exportXls', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params: any, isUpdate: boolean) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/archive/serviceConfig/medicalDataAnalysisList/MedicalDataAnalysis.data.ts b/src/views/archive/serviceConfig/medicalDataAnalysisList/MedicalDataAnalysis.data.ts deleted file mode 100644 index 923c10e..0000000 --- a/src/views/archive/serviceConfig/medicalDataAnalysisList/MedicalDataAnalysis.data.ts +++ /dev/null @@ -1,124 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '名称', - align: 'center', - dataIndex: 'name', - }, - { - title: '图片', - align: 'center', - dataIndex: 'image', - width: 100, - customRender: ({ text }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 50, - width: 50, - fallback: getDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '排序', - align: 'center', - dataIndex: 'sort', - }, - { - title: '跳转', - align: 'center', - dataIndex: 'type_dictText', - }, - { - title: '创建时间', - align: 'center', - dataIndex: 'createTime', - width: '180px', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '名称', - field: 'name', - component: 'Input', - colProps: { - span: 6, - }, - }, - { - label: '跳转', - field: 'type', - component: 'JDictSelectTag', - componentProps: { - // @ts-ignore - dictCode: 'data_analysis', - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '名称', - field: 'name', - component: 'Input', - required: true, - }, - { - label: '图片', - field: 'image', - component: 'JImageUpload', - required: true, - }, - { - label: '排序', - field: 'sort', - component: 'InputNumber', - required: true, - }, - { - label: '跳转', - field: 'type', - component: 'JDictSelectTag', - required: true, - componentProps: { - // @ts-ignore - dictCode: 'data_analysis', - }, - }, - { - label: '备注', - field: 'memo', - component: 'InputTextArea', - required: true, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - */ -export function getBpmFormSchema(): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/archive/serviceConfig/medicalDataAnalysisList/MedicalDataAnalysisList.vue b/src/views/archive/serviceConfig/medicalDataAnalysisList/MedicalDataAnalysisList.vue deleted file mode 100644 index 34c464c..0000000 --- a/src/views/archive/serviceConfig/medicalDataAnalysisList/MedicalDataAnalysisList.vue +++ /dev/null @@ -1,141 +0,0 @@ - - - - - diff --git a/src/views/archive/serviceConfig/medicalDataAnalysisList/components/MedicalDataAnalysisModal.vue b/src/views/archive/serviceConfig/medicalDataAnalysisList/components/MedicalDataAnalysisModal.vue deleted file mode 100644 index 9f05ef6..0000000 --- a/src/views/archive/serviceConfig/medicalDataAnalysisList/components/MedicalDataAnalysisModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - diff --git a/src/views/archive/serviceConfig/setEvaluationValues/components/setEvaluationModal.vue b/src/views/archive/serviceConfig/setEvaluationValues/components/setEvaluationModal.vue deleted file mode 100644 index a8348e8..0000000 --- a/src/views/archive/serviceConfig/setEvaluationValues/components/setEvaluationModal.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - diff --git a/src/views/archive/serviceConfig/setEvaluationValues/setEvaluationValues.api.ts b/src/views/archive/serviceConfig/setEvaluationValues/setEvaluationValues.api.ts deleted file mode 100644 index a0d34f3..0000000 --- a/src/views/archive/serviceConfig/setEvaluationValues/setEvaluationValues.api.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -export enum Api { - list = '/archives/arcAssessValue/list', - queryById = '/archives/arcAssessValue/queryById', - save = '/archives/arcAssessValue/add', - edit = '/archives/arcAssessValue/edit', - deleteOne = '/archives/arcAssessValue/delete', -} -/** - * @Description:获取列表数据 - * @date 2023/7/21 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; -/** - * @Description:单个删除 - * @date 2023/8/2 - * @param params - * @param handleSuccess - * */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - cancelText: '取消', - okText: '确认', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; - -/** - * @Description: 查询详情 - * @date 2023/8/2 - * @param params - */ -export const queryById = (params) => defHttp.get({ url: Api.queryById, params }); diff --git a/src/views/archive/serviceConfig/setEvaluationValues/setEvaluationValues.data.ts b/src/views/archive/serviceConfig/setEvaluationValues/setEvaluationValues.data.ts deleted file mode 100644 index 4f2a786..0000000 --- a/src/views/archive/serviceConfig/setEvaluationValues/setEvaluationValues.data.ts +++ /dev/null @@ -1,116 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -const isIncludes = { - true: '是', - false: '否', -}; -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '项目名称', - dataIndex: 'name', - }, - { - title: '最大值', - dataIndex: 'max', - }, - { - title: '是否包含最大值', - dataIndex: 'isMax', - customRender: ({ text }) => { - if (!text) return ''; - return isIncludes[text]; - }, - }, - { - title: '最小值', - dataIndex: 'min', - }, - { - title: '是否包含最小值', - dataIndex: 'isMin', - customRender: ({ text }) => { - if (!text) return ''; - return isIncludes[text]; - }, - }, - { - title: '单位', - dataIndex: 'unit', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '项目名称', - field: 'name', - component: 'Input', - }, -]; - -export const formSchema: FormSchema[] = [ - { - label: '项目名称', - field: 'name', - component: 'Input', - required: true, - }, - { - label: '最大值', - field: 'max', - component: 'InputNumber', - componentProps: { - // @ts-ignore - style: { - width: '100%', - }, - }, - slot: 'maxCheck', - required: true, - }, - { - label: '', - field: 'isMax', - component: 'Checkbox', - defaultValue: false, - show: false, - }, - { - label: '最小值', - field: 'min', - component: 'InputNumber', - componentProps: { - // @ts-ignore - style: { - width: '100%', - }, - }, - slot: 'minCheck', - required: true, - }, - { - label: '', - field: 'isMin', - component: 'Checkbox', - defaultValue: false, - show: false, - }, - { - label: '单位', - field: 'unit', - required: true, - component: 'Input', - }, - { - label: 'id', - field: 'id', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/archive/serviceConfig/setEvaluationValues/setEvaluationValues.vue b/src/views/archive/serviceConfig/setEvaluationValues/setEvaluationValues.vue deleted file mode 100644 index 9464027..0000000 --- a/src/views/archive/serviceConfig/setEvaluationValues/setEvaluationValues.vue +++ /dev/null @@ -1,78 +0,0 @@ - - - - diff --git a/src/views/medicalCenter/helpCenter/helpCenter.api.ts b/src/views/compoents/chooseSome/index.api.ts similarity index 66% rename from src/views/medicalCenter/helpCenter/helpCenter.api.ts rename to src/views/compoents/chooseSome/index.api.ts index c72b320..4ddbd9d 100644 --- a/src/views/medicalCenter/helpCenter/helpCenter.api.ts +++ b/src/views/compoents/chooseSome/index.api.ts @@ -1,7 +1,7 @@ import { defHttp } from '/@/utils/http/axios'; enum Api { - list = '/medical-center/medicalCenter/helpCenter/list', + list = '/medical-center/medicalCenter/chronicDiseaseUser/list', } export const list = (params) => defHttp.get({ url: Api.list, params }); diff --git a/src/views/compoents/chooseSome/index.vue b/src/views/compoents/chooseSome/index.vue index a95d821..90af889 100644 --- a/src/views/compoents/chooseSome/index.vue +++ b/src/views/compoents/chooseSome/index.vue @@ -15,7 +15,7 @@ - diff --git a/src/views/intervene/cancer/answerManage/answerManage/index.vue b/src/views/intervene/cancer/answerManage/answerManage/index.vue deleted file mode 100644 index fd4dfc4..0000000 --- a/src/views/intervene/cancer/answerManage/answerManage/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/views/intervene/cancer/behavior/intestines.vue b/src/views/intervene/cancer/behavior/intestines.vue deleted file mode 100644 index 8ecffa1..0000000 --- a/src/views/intervene/cancer/behavior/intestines.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/cancer/behavior/liver.vue b/src/views/intervene/cancer/behavior/liver.vue deleted file mode 100644 index 09b7445..0000000 --- a/src/views/intervene/cancer/behavior/liver.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/cancer/behavior/lungs.vue b/src/views/intervene/cancer/behavior/lungs.vue deleted file mode 100644 index 1d6590f..0000000 --- a/src/views/intervene/cancer/behavior/lungs.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/cancer/behavior/stomach.vue b/src/views/intervene/cancer/behavior/stomach.vue deleted file mode 100644 index 3362d38..0000000 --- a/src/views/intervene/cancer/behavior/stomach.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/cancer/epidemic/employ/employList.api.ts b/src/views/intervene/cancer/epidemic/employ/employList.api.ts deleted file mode 100644 index 53b1168..0000000 --- a/src/views/intervene/cancer/epidemic/employ/employList.api.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health_statistic/vaccine/record/list', - del = '/health-intervene/health_statistic/vaccine/record/', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); - -export const deleteDetailApi = (id: string) => { - return defHttp.delete({ url: `${Api.del}${id}` }, { isTransformResponse: false }); -}; diff --git a/src/views/intervene/cancer/epidemic/employ/employList.data.ts b/src/views/intervene/cancer/epidemic/employ/employList.data.ts deleted file mode 100644 index dab69c1..0000000 --- a/src/views/intervene/cancer/epidemic/employ/employList.data.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -// import { defHttp } from '/@/utils/http/axios'; - -export const columns: BasicColumn[] = [ - { - title: '接种人员', - align: 'center', - dataIndex: 'realName', - }, - { - title: '疫苗名称', - align: 'center', - dataIndex: 'vaccineName', - }, - // { - // title: '接种时间', - // align: 'center', - // dataIndex: 'vaccineDate', - // }, - { - title: '接种状态', - align: 'center', - dataIndex: 'status', - customRender: ({ text }) => { - return render.renderDict(text, 'sys_job_status'); - }, - }, - { - title: '状态', - align: 'center', - dataIndex: 'realName', - }, - { - title: '备注', - align: 'center', - dataIndex: 'remark', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '接种人员', - field: 'realName', - component: 'Input', - }, - { - label: '疫苗名称', - field: 'vaccineName', - component: 'Input', - }, - { - label: '接种时间', - field: 'vaccineDate', - component: 'DatePicker', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - }; - }, - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '疫苗名', - field: 'vaccineName', - component: 'Input', - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/intervene/cancer/epidemic/employ/employList.vue b/src/views/intervene/cancer/epidemic/employ/employList.vue deleted file mode 100644 index b85e835..0000000 --- a/src/views/intervene/cancer/epidemic/employ/employList.vue +++ /dev/null @@ -1,104 +0,0 @@ - - - diff --git a/src/views/intervene/cancer/epidemic/entry/compoents/entryModal.vue b/src/views/intervene/cancer/epidemic/entry/compoents/entryModal.vue deleted file mode 100644 index 52563d3..0000000 --- a/src/views/intervene/cancer/epidemic/entry/compoents/entryModal.vue +++ /dev/null @@ -1,64 +0,0 @@ - - - diff --git a/src/views/intervene/cancer/epidemic/entry/entryList.api.ts b/src/views/intervene/cancer/epidemic/entry/entryList.api.ts deleted file mode 100644 index c91c350..0000000 --- a/src/views/intervene/cancer/epidemic/entry/entryList.api.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health_statistic/vaccine/list', - add = '/health-intervene/health_statistic/vaccine', - update = '/health-intervene/health_statistic/vaccinext', - del = '/health-intervene/health_statistic/vaccine/', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); -export const addOrUpdateApi = (params: any, isUpdate: boolean) => { - if (isUpdate) { - return defHttp.put({ url: Api.update, params }, { isTransformResponse: false }); - } else { - return defHttp.post({ url: Api.add, params }, { isTransformResponse: false }); - } -}; - -export const deleteDetailApi = (id: string) => { - return defHttp.delete({ url: `${Api.del}${id}` }, { isTransformResponse: false }); -}; diff --git a/src/views/intervene/cancer/epidemic/entry/entryList.data.ts b/src/views/intervene/cancer/epidemic/entry/entryList.data.ts deleted file mode 100644 index 0caadef..0000000 --- a/src/views/intervene/cancer/epidemic/entry/entryList.data.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { defHttp } from '/@/utils/http/axios'; - -export const columns: BasicColumn[] = [ - { - title: '疫苗名', - align: 'center', - dataIndex: 'vaccineName', - }, - { - title: '状态', - align: 'center', - dataIndex: 'status', - customRender: ({ text }) => { - return render.renderDict(text, 'sys_job_status'); - }, - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '疫苗名', - field: 'vaccineName', - component: 'Input', - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '疫苗名', - field: 'vaccineName', - component: 'Input', - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/intervene/cancer/epidemic/entry/entryList.vue b/src/views/intervene/cancer/epidemic/entry/entryList.vue deleted file mode 100644 index 051683d..0000000 --- a/src/views/intervene/cancer/epidemic/entry/entryList.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - diff --git a/src/views/intervene/cancer/signal/liver.vue b/src/views/intervene/cancer/signal/liver.vue deleted file mode 100644 index d401859..0000000 --- a/src/views/intervene/cancer/signal/liver.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/cancer/signal/stomach.vue b/src/views/intervene/cancer/signal/stomach.vue deleted file mode 100644 index 56acfaa..0000000 --- a/src/views/intervene/cancer/signal/stomach.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/cancer/source/common.ts b/src/views/intervene/cancer/source/common.ts deleted file mode 100644 index 6733b34..0000000 --- a/src/views/intervene/cancer/source/common.ts +++ /dev/null @@ -1,159 +0,0 @@ -export function addChart(charts) { - if (window.charts && !window.charts.includes(charts)) { - window.charts.push(charts); - } -} - -export const title = { - left: 'center', - padding: 20, -}; - -export const cakeLegend = { - top: '18%', - left: '10%', - orient: 'vertical', -}; -export const cakeRadius = ['50%', '70%']; -export const cakeCenter = ['60%', '60%']; - -export const lineLegend = { - top: '8%', - right: '10%', -}; -export const barWidth = '20'; -export const dataZoom = [ - { - type: 'inside', - start: 0, - end: 30, - }, - { - start: 0, - end: 20, - }, -]; - -export const cakeTooltip = { - trigger: 'item', - formatter: '{b}: {c} ({d}%)', -}; - -export const lineTooltip = { - trigger: 'axis', -}; - -export function lineChartOption(text, data) { - return { - title: { - text, - ...title, - }, - tooltip: lineTooltip, - xAxis: { - type: 'category', - data: data.xdata, - }, - yAxis: { - type: 'value', - }, - series: [ - { - type: 'line', - data: data.ydata, - }, - ], - }; -} - -export function lineChartOptionSeries(text, data) { - return { - title: { - text, - ...title, - }, - tooltip: lineTooltip, - legend: { - ...lineLegend, - top: 50, - }, - grid: { - top: 80, - }, - xAxis: { - type: 'category', - axisLabel: { - interval: 0, - }, - data: data.xdata, - }, - yAxis: { - type: 'value', - }, - series: data.series, - }; -} - -export function cakeChartOption(text, data) { - return { - title: { - ...title, - text, - }, - legend: cakeLegend, - tooltip: cakeTooltip, - series: [ - { - name: 'Access From', - type: 'pie', - radius: cakeRadius, - center: cakeCenter, - avoidLabelOverlap: false, - itemStyle: { - borderRadius: 10, - borderColor: '#fff', - borderWidth: 2, - }, - label: { - show: false, - position: 'center', - }, - labelLine: { - show: false, - }, - data: data.pieChart, - }, - ], - }; -} - -export function barChartOption(text, data) { - return { - title: { - ...title, - text, - }, - legend: lineLegend, - tooltip: { - trigger: 'axis', - }, - xAxis: { - type: 'category', - axisLabel: { - interval: 0, - rotate: 27, - }, - data: data.xdata, - }, - yAxis: { - type: 'value', - }, - series: [ - { - type: 'bar', - barWidth: barWidth, - data: data.ydata, - }, - ], - }; -} diff --git a/src/views/intervene/cancer/source/gastric.ts b/src/views/intervene/cancer/source/gastric.ts deleted file mode 100644 index 0a0f28c..0000000 --- a/src/views/intervene/cancer/source/gastric.ts +++ /dev/null @@ -1,178 +0,0 @@ -import echarts from '/@/utils/lib/echarts'; -import { getGastricCharts } from './index.api'; -import { addChart, cakeChartOption, lineChartOption, lineChartOptionSeries, barChartOption } from './common'; - -// 胃癌——医学指标 -export function getGastricMedicalScience() { - const params = { - type: '0', - year: '', - }; - getGastricCharts(params).then((res) => { - // 医学 - waTotalUser(res.data.waTotalUser); - waAgeGroup(res.data.waAgeGroup); - waAllAges(res.data.waAllAges); - waMaleToFemaleRatio(res.data.waMaleToFemaleRatio); - numberAffected(res.data.numberAffected); - pg11(res.data.pg11); - recentYears(res.data.recentYears); - cea(res.data.cea); - ceaLineChart(res.data.ceaLineChart); - biopsiesNum(res.data.biopsiesNum); - abnormalNumber(res.data.abnormalNumber); - gastroinRatio(res.data.gastroinRatio); - gastroinLine(res.data.gastroinLine); - }); -} -// 胃癌——环境 -export function getGastricEnvironment() { - const params = { - type: '1', - year: '', - }; - getGastricCharts(params).then((res) => { - // 环境 - envBar(res.data.envirPersonCountAndTotal); - envLine(res.data.fourYearsEnvirPersonCount); - }); -} -// 胃癌——个人 -export function getGastricPersonal() { - const params = { - type: '2', - year: '', - }; - getGastricCharts(params).then((res) => { - // 个人 - personBar(res.data.total); - personLine(res.data.lineChart); - }); -} -// 胃癌——其他 -export function getGastricOther() { - const params = { - type: '3', - year: '', - }; - getGastricCharts(params).then((res) => { - // 其他 - otherBar(res.data.envirPersonCountAndTotalOther); - otherLine(res.data.fourYearsEnvirPersonOtherCount); - }); -} - -function waAgeGroup(data) { - const charts = echarts.init(document.getElementById('gastric_waAgeGroup')); - const options = cakeChartOption('各年龄段患病人数占比图', data); - addChart(charts); - charts.setOption(options); -} -function waTotalUser(data) { - const charts = echarts.init(document.getElementById('gastric_waTotalUser')); - const options = lineChartOption('近4年患病总人数折线图', data); - addChart(charts); - charts.setOption(options); -} -function waMaleToFemaleRatio(data) { - const charts = echarts.init(document.getElementById('gastric_waMaleToFemaleRatio')); - const options = cakeChartOption('男女患病占比图', data); - addChart(charts); - charts.setOption(options); -} -function waAllAges(data) { - const charts = echarts.init(document.getElementById('gastric_waAllAges')); - const options = lineChartOptionSeries('近4年各年龄段患病人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function numberAffected(data) { - const charts = echarts.init(document.getElementById('gastric_numberAffected')); - const options = lineChartOptionSeries('近4年男女患病人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function pg11(data) { - const charts = echarts.init(document.getElementById('gastric_pg11')); - const options = barChartOption('胃癌三项异常人数对比图', data); - addChart(charts); - charts.setOption(options); -} -function recentYears(data) { - const charts = echarts.init(document.getElementById('gastric_recentYears')); - const options = lineChartOptionSeries('近4年胃癌三项异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function cea(data) { - const charts = echarts.init(document.getElementById('gastric_cea')); - const options = barChartOption('肿瘤标志物异常人数对比图', data); - addChart(charts); - charts.setOption(options); -} -function ceaLineChart(data) { - const charts = echarts.init(document.getElementById('gastric_ceaLineChart')); - const options = lineChartOptionSeries('近4年肿瘤标志物异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function biopsiesNum(data) { - const charts = echarts.init(document.getElementById('gastric_biopsiesNum')); - const options = cakeChartOption('胃组织学病理活检异常人数占比图', data); - addChart(charts); - charts.setOption(options); -} -function abnormalNumber(data) { - const charts = echarts.init(document.getElementById('gastric_abnormalNumber')); - const options = lineChartOption('近4年胃组织学病理活检异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function gastroinRatio(data) { - const charts = echarts.init(document.getElementById('gastric_gastroinRatio')); - const options = cakeChartOption('胃肠镜肿瘤倾向人数占比图', data); - addChart(charts); - charts.setOption(options); -} -function gastroinLine(data) { - const charts = echarts.init(document.getElementById('gastric_gastroinLine')); - const options = lineChartOption('近4年胃肠镜肿瘤倾向人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function personBar(data) { - const charts = echarts.init(document.getElementById('gastric_personBar')); - const options = barChartOption('饮食因素异常人数对比图', data); - addChart(charts); - charts.setOption(options); -} -function personLine(data) { - const charts = echarts.init(document.getElementById('gastric_personLine')); - const options = lineChartOptionSeries('近4年饮食因素异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function envBar(data) { - const charts = echarts.init(document.getElementById('gastric_envBar')); - const options = barChartOption('环境因素异常人数对比图', data); - addChart(charts); - charts.setOption(options); -} -function envLine(data) { - const charts = echarts.init(document.getElementById('gastric_envLine')); - const options = lineChartOptionSeries('近4年环境因素异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function otherBar(data) { - const charts = echarts.init(document.getElementById('gastric_otherBar')); - const options = barChartOption('其他因素异常人数对比图', data); - addChart(charts); - charts.setOption(options); -} -function otherLine(data) { - const charts = echarts.init(document.getElementById('gastric_otherLine')); - const options = lineChartOptionSeries('近4年其他因素异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} diff --git a/src/views/intervene/cancer/source/index.api.ts b/src/views/intervene/cancer/source/index.api.ts deleted file mode 100644 index b4bce0c..0000000 --- a/src/views/intervene/cancer/source/index.api.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/rest/health-survey/trace/chart/cancer/total', - thyroid = '/health-intervene/rest/health-survey/trace/chart/thyroid', - liver = '/health-intervene/rest/health-survey/trace/chart/liver', - gastric = '/health-intervene/rest/health-survey/trace/chart/gastric', - lung = '/health-intervene/rest/health-survey/trace/chart/lung', -} - -export const getAllEcharts = () => defHttp.get({ url: Api.list }, { isTransformResponse: false }); -export const getThyroidCharts = (params: any) => defHttp.get({ url: Api.thyroid, params: params }, { isTransformResponse: false }); -export const getLiverCharts = (params: any) => defHttp.get({ url: Api.liver, params: params }, { isTransformResponse: false }); -export const getGastricCharts = (params: any) => defHttp.get({ url: Api.gastric, params: params }, { isTransformResponse: false }); -export const getLungCharts = (params: any) => defHttp.get({ url: Api.lung, params: params }, { isTransformResponse: false }); diff --git a/src/views/intervene/cancer/source/index.vue b/src/views/intervene/cancer/source/index.vue deleted file mode 100644 index 00b37ef..0000000 --- a/src/views/intervene/cancer/source/index.vue +++ /dev/null @@ -1,526 +0,0 @@ - - - diff --git a/src/views/intervene/cancer/source/liver.ts b/src/views/intervene/cancer/source/liver.ts deleted file mode 100644 index 36ce271..0000000 --- a/src/views/intervene/cancer/source/liver.ts +++ /dev/null @@ -1,164 +0,0 @@ -import echarts from '/@/utils/lib/echarts'; -import { getLiverCharts } from './index.api'; -import { addChart, cakeChartOption, lineChartOption, lineChartOptionSeries, barChartOption } from './common'; - -// 胃癌——医学指标 -export function getLiverMedicalScience() { - const params = { - type: '0', - year: '', - }; - getLiverCharts(params).then((res) => { - // 医学 - waTotalUser(res.data.waTotalUser); - waAgeGroup(res.data.waAgeGroup); - waAllAges(res.data.waAllAges); - waMaleToFemaleRatio(res.data.waMaleToFemaleRatio); - numberAffected(res.data.numberAffected); - jtdbPie(res.data.jtdbPie); - ceaLineChart(res.data.ceaLineChart); - chestPie(res.data.chestPie); - chestLineChart(res.data.chestLineChart); - biopsy(res.data.blhjPie); - biopsyLineChart(res.data.biopsyLineChart); - }); -} -// 胃癌——环境 -export function getLiverEnvironment() { - const params = { - type: '1', - year: '', - }; - getLiverCharts(params).then((res) => { - // 环境 - envBar(res.data.envirPersonCountAndTotal); - envLine(res.data.fourYearsEnvirPersonCount); - }); -} -// 胃癌——个人 -export function getLiverPersonal() { - const params = { - type: '2', - year: '', - }; - getLiverCharts(params).then((res) => { - // 个人 - personBar(res.data.total); - personLine(res.data.lineChart); - }); -} -// 胃癌——其他 -export function getLiverOther() { - const params = { - type: '3', - year: '', - }; - getLiverCharts(params).then((res) => { - // 其他 - otherBar(res.data.envirPersonCountAndTotalOther); - otherLine(res.data.fourYearsEnvirPersonOtherCount); - }); -} - -function waAgeGroup(data) { - const charts = echarts.init(document.getElementById('liver_waAgeGroup')); - const options = cakeChartOption('各年龄段患病人数占比图', data); - addChart(charts); - charts.setOption(options); -} -function waTotalUser(data) { - const charts = echarts.init(document.getElementById('liver_waTotalUser')); - const options = lineChartOption('近4年患病总人数折线图', data); - addChart(charts); - charts.setOption(options); -} -function waMaleToFemaleRatio(data) { - const charts = echarts.init(document.getElementById('liver_waMaleToFemaleRatio')); - const options = cakeChartOption('男女患病占比图', data); - addChart(charts); - charts.setOption(options); -} -function waAllAges(data) { - const charts = echarts.init(document.getElementById('liver_waAllAges')); - const options = lineChartOptionSeries('近4年各年龄段患病人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function numberAffected(data) { - const charts = echarts.init(document.getElementById('liver_numberAffected')); - const options = lineChartOptionSeries('近4年男女患病人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function jtdbPie(data) { - const charts = echarts.init(document.getElementById('liver_ceaPie')); - const options = cakeChartOption('甲胎蛋白AFP异常人数对比图', data); - addChart(charts); - charts.setOption(options); -} -function ceaLineChart(data) { - const charts = echarts.init(document.getElementById('liver_ceaLineChart')); - const options = lineChartOption('近4年甲胎蛋白AFP异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function chestPie(data) { - const charts = echarts.init(document.getElementById('liver_chestPie')); - const options = barChartOption('影像检查异常人数对比图', data); - addChart(charts); - charts.setOption(options); -} -function chestLineChart(data) { - const charts = echarts.init(document.getElementById('liver_chestLineChart')); - const options = lineChartOptionSeries('近4年影像检查异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function biopsy(data) { - const charts = echarts.init(document.getElementById('liver_biopsy')); - const options = cakeChartOption('肝脏病理活检异常人数占比图', data); - addChart(charts); - charts.setOption(options); -} -function biopsyLineChart(data) { - const charts = echarts.init(document.getElementById('liver_biopsyLineChart')); - const options = lineChartOption('近4年肝脏病理活检异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function personBar(data) { - const charts = echarts.init(document.getElementById('liver_personBar')); - const options = barChartOption('行为因素异常人数对比图', data); - addChart(charts); - charts.setOption(options); -} -function personLine(data) { - const charts = echarts.init(document.getElementById('liver_personLine')); - const options = lineChartOptionSeries('近4年行为因素异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function envBar(data) { - const charts = echarts.init(document.getElementById('liver_envBar')); - const options = barChartOption('环境因素异常人数对比图', data); - addChart(charts); - charts.setOption(options); -} -function envLine(data) { - const charts = echarts.init(document.getElementById('liver_envLine')); - const options = lineChartOptionSeries('近4年环境因素异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function otherBar(data) { - const charts = echarts.init(document.getElementById('liver_otherBar')); - const options = barChartOption('其他因素异常人数对比图', data); - addChart(charts); - charts.setOption(options); -} -function otherLine(data) { - const charts = echarts.init(document.getElementById('liver_otherLine')); - const options = lineChartOptionSeries('近4年其他因素异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} diff --git a/src/views/intervene/cancer/source/lung.ts b/src/views/intervene/cancer/source/lung.ts deleted file mode 100644 index ed1c292..0000000 --- a/src/views/intervene/cancer/source/lung.ts +++ /dev/null @@ -1,164 +0,0 @@ -import echarts from '/@/utils/lib/echarts'; -import { getLungCharts } from './index.api'; -import { addChart, cakeChartOption, lineChartOption, lineChartOptionSeries, barChartOption } from './common'; - -// 胃癌——医学指标 -export function getLungMedicalScience() { - const params = { - type: '0', - year: '', - }; - getLungCharts(params).then((res) => { - // 医学 - waTotalUser(res.data.waTotalUser); - waAgeGroup(res.data.waAgeGroup); - waAllAges(res.data.waAllAges); - waMaleToFemaleRatio(res.data.waMaleToFemaleRatio); - numberAffected(res.data.numberAffected); - ceaPie(res.data.ceaPie); - ceaLineChart(res.data.ceaLineChart); - chestPie(res.data.chestPie); - chestLineChart(res.data.chestLineChart); - biopsy(res.data.biopsy); - biopsyLineChart(res.data.biopsyLineChart); - }); -} -// 胃癌——环境 -export function getLungEnvironment() { - const params = { - type: '1', - year: '', - }; - getLungCharts(params).then((res) => { - // 环境 - envBar(res.data.envirPersonCountAndTotal); - envLine(res.data.fourYearsEnvirPersonCount); - }); -} -// 胃癌——个人 -export function getLungPersonal() { - const params = { - type: '2', - year: '', - }; - getLungCharts(params).then((res) => { - // 个人 - personBar(res.data.total); - personLine(res.data.lineChart); - }); -} -// 胃癌——其他 -export function getLungOther() { - const params = { - type: '3', - year: '', - }; - getLungCharts(params).then((res) => { - // 其他 - otherBar(res.data.envirPersonCountAndTotalOther); - otherLine(res.data.fourYearsEnvirPersonOtherCount); - }); -} - -function waAgeGroup(data) { - const charts = echarts.init(document.getElementById('lung_waAgeGroup')); - const options = cakeChartOption('各年龄段患病人数占比图', data); - addChart(charts); - charts.setOption(options); -} -function waTotalUser(data) { - const charts = echarts.init(document.getElementById('lung_waTotalUser')); - const options = lineChartOption('近4年患病总人数折线图', data); - addChart(charts); - charts.setOption(options); -} -function waMaleToFemaleRatio(data) { - const charts = echarts.init(document.getElementById('lung_waMaleToFemaleRatio')); - const options = cakeChartOption('男女患病占比图', data); - addChart(charts); - charts.setOption(options); -} -function waAllAges(data) { - const charts = echarts.init(document.getElementById('lung_waAllAges')); - const options = lineChartOptionSeries('近4年各年龄段患病人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function numberAffected(data) { - const charts = echarts.init(document.getElementById('lung_numberAffected')); - const options = lineChartOptionSeries('近4年男女患病人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function ceaPie(data) { - const charts = echarts.init(document.getElementById('lung_ceaPie')); - const options = barChartOption('肿瘤标志物异常人数对比图', data); - addChart(charts); - charts.setOption(options); -} -function ceaLineChart(data) { - const charts = echarts.init(document.getElementById('lung_ceaLineChart')); - const options = lineChartOptionSeries('近4年肿瘤标志物异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function chestPie(data) { - const charts = echarts.init(document.getElementById('lung_chestPie')); - const options = barChartOption('影像检查异常人数对比图', data); - addChart(charts); - charts.setOption(options); -} -function chestLineChart(data) { - const charts = echarts.init(document.getElementById('lung_chestLineChart')); - const options = lineChartOptionSeries('近4年影像检查异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function biopsy(data) { - const charts = echarts.init(document.getElementById('lung_biopsy')); - const options = cakeChartOption('肺组织病理学活检异常人数占比图', data); - addChart(charts); - charts.setOption(options); -} -function biopsyLineChart(data) { - const charts = echarts.init(document.getElementById('lung_biopsyLineChart')); - const options = lineChartOption('近4年肺组织病理学活检异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function personBar(data) { - const charts = echarts.init(document.getElementById('lung_personBar')); - const options = barChartOption('行为因素异常人数对比图', data); - addChart(charts); - charts.setOption(options); -} -function personLine(data) { - const charts = echarts.init(document.getElementById('lung_personLine')); - const options = lineChartOptionSeries('近4年行为因素异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function envBar(data) { - const charts = echarts.init(document.getElementById('lung_envBar')); - const options = barChartOption('环境因素异常人数对比图', data); - addChart(charts); - charts.setOption(options); -} -function envLine(data) { - const charts = echarts.init(document.getElementById('lung_envLine')); - const options = lineChartOptionSeries('近4年环境因素异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function otherBar(data) { - const charts = echarts.init(document.getElementById('lung_otherBar')); - const options = barChartOption('其他因素异常人数对比图', data); - addChart(charts); - charts.setOption(options); -} -function otherLine(data) { - const charts = echarts.init(document.getElementById('lung_otherLine')); - const options = lineChartOptionSeries('近4年其他因素异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} diff --git a/src/views/intervene/cancer/source/thyroid.ts b/src/views/intervene/cancer/source/thyroid.ts deleted file mode 100644 index e37deb1..0000000 --- a/src/views/intervene/cancer/source/thyroid.ts +++ /dev/null @@ -1,164 +0,0 @@ -import echarts from '/@/utils/lib/echarts'; -import { getThyroidCharts } from './index.api'; -import { addChart, cakeChartOption, lineChartOption, lineChartOptionSeries, barChartOption } from './common'; - -// 胃癌——医学指标 -export function getThyroidMedicalScience() { - const params = { - type: '0', - year: '', - }; - getThyroidCharts(params).then((res) => { - // 医学 - waTotalUser(res.data.waTotalUser); - waAgeGroup(res.data.waAgeGroup); - waAllAges(res.data.waAllAges); - waMaleToFemaleRatio(res.data.waMaleToFemaleRatio); - numberAffected(res.data.numberAffected); - ceaPie(res.data.ceaPie); - ceaLineChart(res.data.ceaLineChart); - chestPie(res.data.chestPie); - chestLineChart(res.data.chestLineChart); - biopsy(res.data.biopsy); - biopsyLineChart(res.data.biopsyLineChart); - }); -} -// 胃癌——环境 -export function getThyroidEnvironment() { - const params = { - type: '1', - year: '', - }; - getThyroidCharts(params).then((res) => { - // 环境 - envBar(res.data.envirPersonCountAndTotal); - envLine(res.data.fourYearsEnvirPersonCount); - }); -} -// 胃癌——个人 -export function getThyroidPersonal() { - const params = { - type: '2', - year: '', - }; - getThyroidCharts(params).then((res) => { - // 个人 - personBar(res.data.total); - personLine(res.data.lineChart); - }); -} -// 胃癌——其他 -export function getThyroidOther() { - const params = { - type: '3', - year: '', - }; - getThyroidCharts(params).then((res) => { - // 其他 - otherBar(res.data.envirPersonCountAndTotalOther); - otherLine(res.data.fourYearsEnvirPersonOtherCount); - }); -} - -function waAgeGroup(data) { - const charts = echarts.init(document.getElementById('thyroid_waAgeGroup')); - const options = cakeChartOption('各年龄段患病人数占比图', data); - addChart(charts); - charts.setOption(options); -} -function waTotalUser(data) { - const charts = echarts.init(document.getElementById('thyroid_waTotalUser')); - const options = lineChartOption('近4年患病总人数折线图', data); - addChart(charts); - charts.setOption(options); -} -function waMaleToFemaleRatio(data) { - const charts = echarts.init(document.getElementById('thyroid_waMaleToFemaleRatio')); - const options = cakeChartOption('男女患病占比图', data); - addChart(charts); - charts.setOption(options); -} -function waAllAges(data) { - const charts = echarts.init(document.getElementById('thyroid_waAllAges')); - const options = lineChartOptionSeries('近4年各年龄段患病人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function numberAffected(data) { - const charts = echarts.init(document.getElementById('thyroid_numberAffected')); - const options = lineChartOptionSeries('近4年男女患病人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function ceaPie(data) { - const charts = echarts.init(document.getElementById('thyroid_ceaPie')); - const options = barChartOption('癌症标志物异常人数对比图', data); - addChart(charts); - charts.setOption(options); -} -function ceaLineChart(data) { - const charts = echarts.init(document.getElementById('thyroid_ceaLineChart')); - const options = lineChartOptionSeries('近4年癌症标志物异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function chestPie(data) { - const charts = echarts.init(document.getElementById('thyroid_chestPie')); - const options = barChartOption('化学检测异常人数对比图', data); - addChart(charts); - charts.setOption(options); -} -function chestLineChart(data) { - const charts = echarts.init(document.getElementById('thyroid_chestLineChart')); - const options = lineChartOptionSeries('近4年化学检测异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function biopsy(data) { - const charts = echarts.init(document.getElementById('thyroid_biopsy')); - const options = cakeChartOption('甲状腺病理活检异常人数占比图', data); - addChart(charts); - charts.setOption(options); -} -function biopsyLineChart(data) { - const charts = echarts.init(document.getElementById('thyroid_biopsyLineChart')); - const options = lineChartOption('近4年甲状腺病理活检异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function personBar(data) { - const charts = echarts.init(document.getElementById('thyroid_personBar')); - const options = barChartOption('行为因素异常人数对比图', data); - addChart(charts); - charts.setOption(options); -} -function personLine(data) { - const charts = echarts.init(document.getElementById('thyroid_personLine')); - const options = lineChartOptionSeries('近4年行为因素异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function envBar(data) { - const charts = echarts.init(document.getElementById('thyroid_envBar')); - const options = barChartOption('环境因素异常人数对比图', data); - addChart(charts); - charts.setOption(options); -} -function envLine(data) { - const charts = echarts.init(document.getElementById('thyroid_envLine')); - const options = lineChartOptionSeries('近4年环境因素异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} -function otherBar(data) { - const charts = echarts.init(document.getElementById('thyroid_otherBar')); - const options = barChartOption('其他因素异常人数对比图', data); - addChart(charts); - charts.setOption(options); -} -function otherLine(data) { - const charts = echarts.init(document.getElementById('thyroid_otherLine')); - const options = lineChartOptionSeries('近4年其他因素异常人数趋势图', data); - addChart(charts); - charts.setOption(options); -} diff --git a/src/views/intervene/cardiovascular/aed/aed.api.ts b/src/views/intervene/cardiovascular/aed/aed.api.ts deleted file mode 100644 index e69de29..0000000 diff --git a/src/views/intervene/cardiovascular/aed/aed.data.ts b/src/views/intervene/cardiovascular/aed/aed.data.ts deleted file mode 100644 index e69de29..0000000 diff --git a/src/views/intervene/cardiovascular/aed/aed.vue b/src/views/intervene/cardiovascular/aed/aed.vue deleted file mode 100644 index d9ee5d3..0000000 --- a/src/views/intervene/cardiovascular/aed/aed.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/cardiovascular/balance/diet/diet.api.ts b/src/views/intervene/cardiovascular/balance/diet/diet.api.ts deleted file mode 100644 index 0d9de54..0000000 --- a/src/views/intervene/cardiovascular/balance/diet/diet.api.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-foodandexercise/record/list', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); diff --git a/src/views/intervene/cardiovascular/balance/diet/diet.data.ts b/src/views/intervene/cardiovascular/balance/diet/diet.data.ts deleted file mode 100644 index b5e5531..0000000 --- a/src/views/intervene/cardiovascular/balance/diet/diet.data.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'realname', - }, - { - title: '所属部门', - align: 'center', - dataIndex: 'deptName', - }, - { - title: '饮食名称', - align: 'center', - dataIndex: 'dietName', - }, - { - title: '填报时间', - align: 'center', - dataIndex: 'fillDate', - }, - { - title: '填报类型', - align: 'center', - dataIndex: 'fillType', - }, - { - title: '饮食重量(g)', - align: 'center', - dataIndex: 'weight', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '用户编号', - field: 'userId', - component: 'Input', - }, - { - label: '饮食编号', - field: 'dietNo', - component: 'Input', - }, - { - label: '填报时间', - field: 'fillDate', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - disabledDate: (current) => current > new Date(), - }, - }, -]; diff --git a/src/views/intervene/cardiovascular/balance/diet/diet.vue b/src/views/intervene/cardiovascular/balance/diet/diet.vue deleted file mode 100644 index 5db083a..0000000 --- a/src/views/intervene/cardiovascular/balance/diet/diet.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - diff --git a/src/views/intervene/cardiovascular/balance/foodNutrition/compoents/foodNutritionModal.vue b/src/views/intervene/cardiovascular/balance/foodNutrition/compoents/foodNutritionModal.vue deleted file mode 100644 index 2f58005..0000000 --- a/src/views/intervene/cardiovascular/balance/foodNutrition/compoents/foodNutritionModal.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - diff --git a/src/views/intervene/cardiovascular/balance/foodNutrition/foodNutrition.api.ts b/src/views/intervene/cardiovascular/balance/foodNutrition/foodNutrition.api.ts deleted file mode 100644 index de1eac8..0000000 --- a/src/views/intervene/cardiovascular/balance/foodNutrition/foodNutrition.api.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-foodandexercise/diet/list', - add = '/health-intervene/health-foodandexercise/diet', - update = '/health-intervene/health-foodandexercise/diet', - del = '/health-intervene/health-foodandexercise/diet/', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); -export const addOrUpdateApi = (params: any, isUpdate: boolean) => { - if (isUpdate) { - return defHttp.put({ url: Api.update, params }, { isTransformResponse: false }); - } else { - return defHttp.post({ url: Api.add, params }, { isTransformResponse: false }); - } -}; - -export const deleteDetailApi = (id: string) => { - return defHttp.delete({ url: `${Api.del}${id}` }, { isTransformResponse: false }); -}; diff --git a/src/views/intervene/cardiovascular/balance/foodNutrition/foodNutrition.data.ts b/src/views/intervene/cardiovascular/balance/foodNutrition/foodNutrition.data.ts deleted file mode 100644 index b66f773..0000000 --- a/src/views/intervene/cardiovascular/balance/foodNutrition/foodNutrition.data.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from "/@/utils/common/renderUtils"; - -export const columns: BasicColumn[] = [ - { - title: '食物名称', - align: 'center', - dataIndex: 'dietName', - }, - { - title: '热量(千卡)', - align: 'center', - dataIndex: 'dietHeat', - }, - { - title: '碳水(克)', - align: 'center', - dataIndex: 'dietCho', - }, - { - title: '蛋白质(克)', - align: 'center', - dataIndex: 'dietProtein', - }, - { - title: '脂肪(克)', - align: 'center', - dataIndex: 'dietFat', - }, - { - title: '单位(克)', - align: 'center', - dataIndex: 'dietUnit', - }, - { - title: '食物类型', - align: 'center', - dataIndex: 'dietType', - customRender: ({ text }) => { - return render.renderDict(text, 'food_atlas_type'); - }, - }, - { - title: '备注', - align: 'center', - dataIndex: 'remark', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '食物名称', - field: 'dietName', - component: 'Input', - }, -]; -export const schemas: FormSchema[] = [ - { - label: '', - field: 'dietNo', - component: 'Input', - show: false, - }, - { - label: '食物名称', - field: 'dietName', - component: 'Input', - }, - { - label: '热量', - field: 'dietHeat', - component: 'Input', - }, - { - label: '碳水', - field: 'dietCho', - component: 'Input', - }, - { - label: '蛋白质', - field: 'dietProtein', - component: 'Input', - }, - { - label: '脂肪', - field: 'dietFat', - component: 'Input', - }, - { - label: '单位', - field: 'dietUnit', - component: 'Input', - }, - { - label: '备注', - field: 'remark', - component: 'InputTextArea', - }, -]; diff --git a/src/views/intervene/cardiovascular/balance/foodNutrition/foodNutrition.vue b/src/views/intervene/cardiovascular/balance/foodNutrition/foodNutrition.vue deleted file mode 100644 index 250eef9..0000000 --- a/src/views/intervene/cardiovascular/balance/foodNutrition/foodNutrition.vue +++ /dev/null @@ -1,118 +0,0 @@ - - - diff --git a/src/views/intervene/cardiovascular/balance/integration/integration.api.ts b/src/views/intervene/cardiovascular/balance/integration/integration.api.ts deleted file mode 100644 index 2cde3ef..0000000 --- a/src/views/intervene/cardiovascular/balance/integration/integration.api.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-foodandexercise/user-score-record/list', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); diff --git a/src/views/intervene/cardiovascular/balance/integration/integration.data.ts b/src/views/intervene/cardiovascular/balance/integration/integration.data.ts deleted file mode 100644 index 310b2b4..0000000 --- a/src/views/intervene/cardiovascular/balance/integration/integration.data.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'realname', - }, - { - title: '所属部门', - align: 'center', - dataIndex: 'deptName', - }, - { - title: '记录日期', - align: 'center', - dataIndex: 'recordDate', - }, - { - title: '积分', - align: 'center', - dataIndex: 'score', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '记录时间', - field: 'recordDate', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - disabledDate: (current) => current > new Date(), - }, - }, -]; diff --git a/src/views/intervene/cardiovascular/balance/integration/integration.vue b/src/views/intervene/cardiovascular/balance/integration/integration.vue deleted file mode 100644 index 1c35c66..0000000 --- a/src/views/intervene/cardiovascular/balance/integration/integration.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - diff --git a/src/views/intervene/cardiovascular/firstAidLinkage/compoents/firstAidLinkageModal.vue b/src/views/intervene/cardiovascular/firstAidLinkage/compoents/firstAidLinkageModal.vue deleted file mode 100644 index 89f3a75..0000000 --- a/src/views/intervene/cardiovascular/firstAidLinkage/compoents/firstAidLinkageModal.vue +++ /dev/null @@ -1,146 +0,0 @@ - - - diff --git a/src/views/intervene/cardiovascular/firstAidLinkage/firstAidLinkage.api.ts b/src/views/intervene/cardiovascular/firstAidLinkage/firstAidLinkage.api.ts deleted file mode 100644 index e1652ab..0000000 --- a/src/views/intervene/cardiovascular/firstAidLinkage/firstAidLinkage.api.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/aid/resource/list', - symptom = '/health-intervene/aid/symptom/list', - add = '/health-intervene/aid/resource', - update = '/health-intervene/aid/resource', - del = '/health-intervene/aid/resource/', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); -export const symptomApi = () => defHttp.get({ url: Api.symptom }, { isTransformResponse: false }); -export const addOrUpdateApi = (params: any, isUpdate: boolean) => { - if (isUpdate) { - return defHttp.put({ url: Api.update, params }, { isTransformResponse: false }); - } else { - return defHttp.post({ url: Api.add, params }, { isTransformResponse: false }); - } -}; - -export const deleteDetailApi = (id: string) => { - return defHttp.delete({ url: `${Api.del}${id}` }, { isTransformResponse: false }); -}; -export const getOneApi = (id: string) => { - return defHttp.get({ url: `${Api.del}${id}` }, { isTransformResponse: false }); -}; diff --git a/src/views/intervene/cardiovascular/firstAidLinkage/firstAidLinkage.data.ts b/src/views/intervene/cardiovascular/firstAidLinkage/firstAidLinkage.data.ts deleted file mode 100644 index 5c358d6..0000000 --- a/src/views/intervene/cardiovascular/firstAidLinkage/firstAidLinkage.data.ts +++ /dev/null @@ -1,137 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; - -export const columns: BasicColumn[] = [ - { - title: '资源名称', - align: 'center', - dataIndex: 'resourceName', - }, - { - title: '地址', - align: 'center', - dataIndex: 'resourceAddress', - }, - { - title: '描述', - align: 'center', - dataIndex: 'resourceDesc', - }, - { - title: '资源类型', - align: 'center', - dataIndex: 'resourceType', - customRender: ({ text }) => { - return render.renderDict(text, 'medical_resource_type'); - }, - }, - { - title: '经度', - align: 'center', - dataIndex: 'longitude', - }, - { - title: '维度', - align: 'center', - dataIndex: 'latitude', - }, - { - title: '负责人姓名', - align: 'center', - dataIndex: 'principalName', - }, - { - title: '负责人电话', - align: 'center', - dataIndex: 'principalPhone', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '资源名称', - field: 'resourceName', - component: 'Input', - }, - { - label: '资源类型', - field: 'resourceType', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'medical_resource_type', - }; - }, - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - { - label: '资源名称', - field: 'resourceName', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '地址', - field: 'resourceAddress', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '描述', - field: 'resourceDesc', - component: 'InputTextArea', - }, - { - label: '资源类型', - field: 'resourceType', - component: 'JDictSelectTag', - // rules: [{ required: true, trigger: 'change' }], - required: true, - componentProps: () => { - return { - showChooseOption: false, - stringToNumber: true, - dictCode: 'medical_resource_type', - }; - }, - }, - { - label: '经度', - field: 'longitude', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '维度', - field: 'latitude', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '关联病症', - field: 'assoSymtomIds', - component: 'ApiTreeSelect', - slot: 'assoSymtomIdsSlot', - ifShow: ({ values }) => { - return values.resourceType != 4; - }, - }, - { - label: '负责人姓名', - field: 'principalName', - component: 'Input', - }, - { - label: '负责人电话', - field: 'principalPhone', - component: 'Input', - }, -]; diff --git a/src/views/intervene/cardiovascular/firstAidLinkage/firstAidLinkage.vue b/src/views/intervene/cardiovascular/firstAidLinkage/firstAidLinkage.vue deleted file mode 100644 index a7ac368..0000000 --- a/src/views/intervene/cardiovascular/firstAidLinkage/firstAidLinkage.vue +++ /dev/null @@ -1,118 +0,0 @@ - - - diff --git a/src/views/intervene/cardiovascular/firstAidTraining/compoents/firstAidTrainingModal.vue b/src/views/intervene/cardiovascular/firstAidTraining/compoents/firstAidTrainingModal.vue deleted file mode 100644 index c9ee82b..0000000 --- a/src/views/intervene/cardiovascular/firstAidTraining/compoents/firstAidTrainingModal.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - diff --git a/src/views/intervene/cardiovascular/firstAidTraining/firstAidTraining.api.ts b/src/views/intervene/cardiovascular/firstAidTraining/firstAidTraining.api.ts deleted file mode 100644 index 1a8e00f..0000000 --- a/src/views/intervene/cardiovascular/firstAidTraining/firstAidTraining.api.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-knowledge/knowledge/list', - add = '/health-intervene/health-foodandexercise/class', - update = '/health-intervene/health-foodandexercise/class', - del = '/health-intervene/health-knowledge/knowledge/', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); -export const addOrUpdateApi = (params: any, isUpdate: boolean) => { - if (isUpdate) { - return defHttp.put({ url: Api.update, params }, { isTransformResponse: false }); - } else { - return defHttp.post({ url: Api.add, params }, { isTransformResponse: false }); - } -}; - -export const deleteDetailApi = (id: string) => { - return defHttp.delete({ url: `${Api.del}${id}` }, { isTransformResponse: false }); -}; diff --git a/src/views/intervene/cardiovascular/firstAidTraining/firstAidTraining.data.ts b/src/views/intervene/cardiovascular/firstAidTraining/firstAidTraining.data.ts deleted file mode 100644 index e2c8b42..0000000 --- a/src/views/intervene/cardiovascular/firstAidTraining/firstAidTraining.data.ts +++ /dev/null @@ -1,112 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; - -export const columns: BasicColumn[] = [ - { - title: '知识标题', - align: 'center', - dataIndex: 'knowTitle', - }, - { - title: '知识图片', - align: 'center', - dataIndex: 'knowPicture', - width: 100, - customRender: ({ text }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 50, - width: 50, - fallback: getDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '知识类型', - align: 'center', - dataIndex: 'knowType', - customRender: ({ text }) => { - return render.renderDict(text, 'know_type'); - }, - }, - { - title: '标签', - align: 'center', - dataIndex: '3', - }, - { - title: '状态', - align: 'center', - dataIndex: 'status', - customRender: ({ text }) => { - return render.renderDict(text, 'status'); - }, - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '知识类型', - field: 'knowType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'know_type', - }, - }, - { - label: '知识标题', - field: 'knowTitle', - component: 'Input', - }, -]; -// @ts-ignore -export const schemas: FormSchema[] = [ - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - { - label: '知识标题', - field: 'knowTitle', - component: 'Input', - }, - { - label: '知识类型', - field: 'knowType', - component: 'JDictSelectTag', - componentProps: { - type: 'radioButton', - showChooseOption: false, - dictCode: 'know_type', - }, - }, - { - label: '知识图片', - field: 'knowPicture', - component: 'JImageUpload', - }, - { - label: '标签', - field: '3', - component: 'Input', - }, - { - label: '内容', - field: 'knowContent', - component: 'JEditor', - }, -]; diff --git a/src/views/intervene/cardiovascular/firstAidTraining/firstAidTraining.vue b/src/views/intervene/cardiovascular/firstAidTraining/firstAidTraining.vue deleted file mode 100644 index f10f9b9..0000000 --- a/src/views/intervene/cardiovascular/firstAidTraining/firstAidTraining.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/cardiovascular/vascularHealth/compoents/vascularHealthModal.vue b/src/views/intervene/cardiovascular/vascularHealth/compoents/vascularHealthModal.vue deleted file mode 100644 index c5d6528..0000000 --- a/src/views/intervene/cardiovascular/vascularHealth/compoents/vascularHealthModal.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - diff --git a/src/views/intervene/cardiovascular/vascularHealth/vascularHealth.api.ts b/src/views/intervene/cardiovascular/vascularHealth/vascularHealth.api.ts deleted file mode 100644 index 1a8e00f..0000000 --- a/src/views/intervene/cardiovascular/vascularHealth/vascularHealth.api.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-knowledge/knowledge/list', - add = '/health-intervene/health-foodandexercise/class', - update = '/health-intervene/health-foodandexercise/class', - del = '/health-intervene/health-knowledge/knowledge/', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); -export const addOrUpdateApi = (params: any, isUpdate: boolean) => { - if (isUpdate) { - return defHttp.put({ url: Api.update, params }, { isTransformResponse: false }); - } else { - return defHttp.post({ url: Api.add, params }, { isTransformResponse: false }); - } -}; - -export const deleteDetailApi = (id: string) => { - return defHttp.delete({ url: `${Api.del}${id}` }, { isTransformResponse: false }); -}; diff --git a/src/views/intervene/cardiovascular/vascularHealth/vascularHealth.data.ts b/src/views/intervene/cardiovascular/vascularHealth/vascularHealth.data.ts deleted file mode 100644 index e2c8b42..0000000 --- a/src/views/intervene/cardiovascular/vascularHealth/vascularHealth.data.ts +++ /dev/null @@ -1,112 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; - -export const columns: BasicColumn[] = [ - { - title: '知识标题', - align: 'center', - dataIndex: 'knowTitle', - }, - { - title: '知识图片', - align: 'center', - dataIndex: 'knowPicture', - width: 100, - customRender: ({ text }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 50, - width: 50, - fallback: getDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '知识类型', - align: 'center', - dataIndex: 'knowType', - customRender: ({ text }) => { - return render.renderDict(text, 'know_type'); - }, - }, - { - title: '标签', - align: 'center', - dataIndex: '3', - }, - { - title: '状态', - align: 'center', - dataIndex: 'status', - customRender: ({ text }) => { - return render.renderDict(text, 'status'); - }, - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '知识类型', - field: 'knowType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'know_type', - }, - }, - { - label: '知识标题', - field: 'knowTitle', - component: 'Input', - }, -]; -// @ts-ignore -export const schemas: FormSchema[] = [ - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - { - label: '知识标题', - field: 'knowTitle', - component: 'Input', - }, - { - label: '知识类型', - field: 'knowType', - component: 'JDictSelectTag', - componentProps: { - type: 'radioButton', - showChooseOption: false, - dictCode: 'know_type', - }, - }, - { - label: '知识图片', - field: 'knowPicture', - component: 'JImageUpload', - }, - { - label: '标签', - field: '3', - component: 'Input', - }, - { - label: '内容', - field: 'knowContent', - component: 'JEditor', - }, -]; diff --git a/src/views/intervene/cardiovascular/vascularHealth/vascularHealth.vue b/src/views/intervene/cardiovascular/vascularHealth/vascularHealth.vue deleted file mode 100644 index 29d6401..0000000 --- a/src/views/intervene/cardiovascular/vascularHealth/vascularHealth.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/compoents/answer/answerManageList.api.ts b/src/views/intervene/compoents/answer/answerManageList.api.ts deleted file mode 100644 index aa25840..0000000 --- a/src/views/intervene/compoents/answer/answerManageList.api.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-answer/qs/list', - addOrUpdate = '/health-intervene/health-answer/qs', - deleteClass = '/health-intervene/health-answer/qs/', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); -export const addOrUpdateApi = (params: any, isUpdate: boolean) => { - if (isUpdate) { - return defHttp.put({ url: Api.addOrUpdate, params }, { isTransformResponse: false }); - } else { - return defHttp.post({ url: Api.addOrUpdate, params }, { isTransformResponse: false }); - } -}; - -export const deleteClassApi = (id: string) => { - return defHttp.delete({ url: `${Api.deleteClass}${id}` }, { isTransformResponse: false }); -}; - -export const getClassApi = (id: string) => { - return defHttp.get({ url: `${Api.deleteClass}${id}` }, { isTransformResponse: false }); -}; diff --git a/src/views/intervene/compoents/answer/answerManageList.data.ts b/src/views/intervene/compoents/answer/answerManageList.data.ts deleted file mode 100644 index ed19bda..0000000 --- a/src/views/intervene/compoents/answer/answerManageList.data.ts +++ /dev/null @@ -1,232 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; - -export const columns: BasicColumn[] = [ - { - title: '问题编号', - align: 'center', - dataIndex: 'qsNo', - ifShow: () => false, - }, - { - title: '适用性别', - align: 'center', - dataIndex: 'applySex', - customRender: ({ text }) => { - return render.renderDict(text, 'applicative_sex'); - }, - }, - { - title: '年龄限制', - align: 'center', - dataIndex: 'ageLimited', - customRender: ({ record }) => { - const { applyStartAge, applyEndAge } = record; - let result = ''; - // switch (ageLimited) { - // case 0: - // result = `不限制`; - // break; - // case 1: - // result = `> ${applyStartAge}`; - // break; - // case 2: - // result = `> ${applyEndAge}`; - // break; - // case 3: - // result = `${applyStartAge} - ${applyEndAge}`; - // break; - // } - if (applyStartAge == 0 && applyEndAge == 0) { - result = `不限制`; - } - if (applyStartAge != 0 && applyEndAge == 0) { - result = `> ${applyStartAge}`; - } - if (applyStartAge == 0 && applyEndAge != 0) { - result = `< ${applyStartAge}`; - } - if (applyStartAge != 0 && applyEndAge != 0) { - result = `${applyStartAge} - ${applyEndAge}`; - } - return result; - }, - }, - { - title: '问题描述', - align: 'center', - dataIndex: 'qsDesc', - }, - { - title: '适用试卷', - align: 'center', - dataIndex: 'qsAnsType', - customRender: ({ text }) => { - return render.renderDict(text, 'answer_type'); - }, - }, - { - title: '问题类型', - align: 'center', - dataIndex: 'qsType', - customRender: ({ text }) => { - return render.renderDict(text, 'answer_qs_type'); - }, - }, - { - title: '年龄上限', - align: 'center', - dataIndex: 'applyStartAge', - ifShow: false, - }, - { - title: '年龄下限', - align: 'center', - dataIndex: 'applyEndAge', - ifShow: false, - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '适用性别', - field: 'applySex', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'applicative_sex', - }; - }, - }, - { - label: '年龄上限', - field: 'applyStartAge', - component: 'Input', - }, - { - label: '年龄下限', - field: 'applyEndAge', - component: 'Input', - }, - { - label: '问题编号', - field: 'qsNo', - component: 'Input', - }, - { - label: '适用试卷', - field: 'qsAnsType', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'answer_type', - }; - }, - }, - { - label: '问题类型', - field: 'qsType', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'answer_qs_type', - }; - }, - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '问题编号', - field: 'qsNo', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - ifShow: () => false, - }, - { - label: '适用性别', - field: 'applySex', - component: 'JDictSelectTag', - defaultValue: '2', - rules: [{ required: true, trigger: 'change' }], - componentProps: () => { - return { - dictCode: 'applicative_sex', - }; - }, - }, - { - label: '年龄限制', - field: 'ageLimited', - component: 'JDictSelectTag', - defaultValue: '0', - componentProps: () => { - return { - options: [ - { label: '不限制', value: '0' }, - { label: '最低年龄', value: '1' }, - { label: '最高年龄', value: '2' }, - { label: '范围', value: '3' }, - ], - }; - }, - }, - { - label: '', - field: 'ageLimitedQ', - component: 'Input', - slot: 'ageLimitedQSlot', - ifShow: ({ values }) => { - return values.ageLimited != 0; - }, - }, - { - label: '适用试卷', - field: 'qsAnsType', - component: 'JDictSelectTag', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - dictCode: 'answer_type', - }; - }, - }, - { - label: '问题类型', - field: 'qsType', - component: 'JDictSelectTag', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - dictCode: 'answer_qs_type', - }; - }, - }, - { - label: '标签', - field: 'tags', - component: 'Input', - slot: 'tagsSlot', - }, - { - label: '问题描述', - field: 'qsDesc', - component: 'InputTextArea', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '', - field: 'healthAnswerQsOptionList', - component: 'Input', - slot: 'healthAnswerQsOptionListSlot', - ifShow: ({ values }) => { - return values.qsType == 0 || values.qsType == 1; - }, - }, - { - label: '', - field: 'id', // 就医人员选中的用户ID - component: 'Input', - show: false, - }, -]; diff --git a/src/views/intervene/compoents/answer/answerManageList.vue b/src/views/intervene/compoents/answer/answerManageList.vue deleted file mode 100644 index 784d6c6..0000000 --- a/src/views/intervene/compoents/answer/answerManageList.vue +++ /dev/null @@ -1,124 +0,0 @@ - - - - diff --git a/src/views/intervene/compoents/answer/compoents/answerManageListModal.vue b/src/views/intervene/compoents/answer/compoents/answerManageListModal.vue deleted file mode 100644 index 38def18..0000000 --- a/src/views/intervene/compoents/answer/compoents/answerManageListModal.vue +++ /dev/null @@ -1,329 +0,0 @@ - - - diff --git a/src/views/intervene/compoents/answerHistory/answerHistoryList.api.ts b/src/views/intervene/compoents/answerHistory/answerHistoryList.api.ts deleted file mode 100644 index 6d59446..0000000 --- a/src/views/intervene/compoents/answerHistory/answerHistoryList.api.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-answer/record/list', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); diff --git a/src/views/intervene/compoents/answerHistory/answerHistoryList.data.ts b/src/views/intervene/compoents/answerHistory/answerHistoryList.data.ts deleted file mode 100644 index 01db245..0000000 --- a/src/views/intervene/compoents/answerHistory/answerHistoryList.data.ts +++ /dev/null @@ -1,114 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import moment from 'moment/moment'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; - -export const columns: BasicColumn[] = [ - { - title: '员工姓名', - align: 'center', - dataIndex: 'realName', - }, - { - title: '试卷类型', - align: 'center', - dataIndex: 'testType', - customRender: ({ text }) => { - return render.renderDict(text, 'answer_type'); - }, - }, - { - title: '开始时间', - align: 'center', - dataIndex: 'startTime', - customRender: ({ text }) => { - if (text) { - return moment(text).format('yyyy-MM-DD'); - } else { - return ''; - } - }, - }, - { - title: '结束时间', - align: 'center', - dataIndex: 'endTime', - customRender: ({ text }) => { - if (text) { - return moment(text).format('yyyy-MM-DD'); - } else { - return ''; - } - }, - }, - { - title: '答题情况', - align: 'center', - dataIndex: 'testStuts', - customRender: ({ text }) => { - return render.renderDict(text, 'finish_status'); - }, - }, - { - title: '正确率', - align: 'center', - dataIndex: 'accuracy', - customRender: ({ text }) => { - return text * 100 + '%'; - }, - }, - { - title: '试卷得分', - align: 'center', - dataIndex: 'applyEndAge', - customRender: ({ record }) => { - return record.sumScore + '/' + record.totalScore; - }, - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - }, - { - label: '单位', - field: 'deptId', - component: 'ApiSelect', - componentProps: () => { - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'id', - immediate: true, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '开始时间', - field: 'startTime', - component: 'RangeDate', - }, - { - label: '结束时间', - field: 'endTime', - component: 'RangeDate', - }, - { - label: '试卷类型', - field: 'testType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'answer_type', - }, - }, -]; diff --git a/src/views/intervene/compoents/answerHistory/answerHistoryList.vue b/src/views/intervene/compoents/answerHistory/answerHistoryList.vue deleted file mode 100644 index 967981d..0000000 --- a/src/views/intervene/compoents/answerHistory/answerHistoryList.vue +++ /dev/null @@ -1,64 +0,0 @@ - - - diff --git a/src/views/intervene/compoents/estimate/estimateList.api.ts b/src/views/intervene/compoents/estimate/estimateList.api.ts deleted file mode 100644 index b6a2fa7..0000000 --- a/src/views/intervene/compoents/estimate/estimateList.api.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-survey/assess-result/list', - deleteClass = '/health-intervene/health-survey/assess-result/', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); -export const deleteClassApi = (id: string) => { - return defHttp.delete({ url: `${Api.deleteClass}${id}` }, { isTransformResponse: false }); -}; diff --git a/src/views/intervene/compoents/estimate/estimateList.data.ts b/src/views/intervene/compoents/estimate/estimateList.data.ts deleted file mode 100644 index d1334c3..0000000 --- a/src/views/intervene/compoents/estimate/estimateList.data.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; - -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'realname', - }, - { - title: '评估时间', - align: 'center', - dataIndex: 'assessDate', - }, - { - title: '风险等级', - align: 'center', - dataIndex: 'assessLevel', - customRender: ({ text }) => { - return render.renderDict(text, 'level_of_risk'); - }, - }, - { - title: '测评结果描述', - align: 'center', - dataIndex: 'assessDes', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realName', - component: 'Input', - }, - { - label: '评估时间', - field: 'testType', - component: 'DatePicker', - // componentProps: () => { - // return { - // - // } - // }, - }, -]; diff --git a/src/views/intervene/compoents/estimate/estimateList.vue b/src/views/intervene/compoents/estimate/estimateList.vue deleted file mode 100644 index 7366a23..0000000 --- a/src/views/intervene/compoents/estimate/estimateList.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/src/views/intervene/compoents/knowledge/compoents/knowledgeModal.vue b/src/views/intervene/compoents/knowledge/compoents/knowledgeModal.vue deleted file mode 100644 index 3479969..0000000 --- a/src/views/intervene/compoents/knowledge/compoents/knowledgeModal.vue +++ /dev/null @@ -1,151 +0,0 @@ - - - diff --git a/src/views/intervene/compoents/knowledge/knowledge.api.ts b/src/views/intervene/compoents/knowledge/knowledge.api.ts deleted file mode 100644 index 16d5263..0000000 --- a/src/views/intervene/compoents/knowledge/knowledge.api.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/knowledge/knowledgeStorage/list', - list3 = '/health-intervene/knowledge/knowledgeStoragePost/knowledgeListOfPost', - addExpert = '/health-intervene/knowledge/knowledgeStorage/add', - updateExpert = '/health-intervene/knowledge/knowledgeStorage/edit', - deleteClass = '/health-intervene/knowledge/knowledgeStorage/delete', - largeDel = '/health-intervene/knowledge/knowledgeStorage/deleteBatch', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const list3Api = (params: any) => defHttp.get({ url: Api.list3, params: params }); -export const addOrUpdateApi = (params: any, isUpdate: boolean) => { - if (isUpdate) { - return defHttp.put({ url: Api.updateExpert, params }); - } else { - return defHttp.post({ url: Api.addExpert, params }); - } -}; - -export const deleteClassApi = (id: string) => { - return defHttp.delete({ url: `${Api.deleteClass}?id=${id}` }); -}; -export const largeDelApi = (id: string) => { - return defHttp.delete({ url: `${Api.largeDel}?ids=${id}` }); -}; diff --git a/src/views/intervene/compoents/knowledge/knowledge.data.ts b/src/views/intervene/compoents/knowledge/knowledge.data.ts deleted file mode 100644 index 6166ae7..0000000 --- a/src/views/intervene/compoents/knowledge/knowledge.data.ts +++ /dev/null @@ -1,252 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; - -export const getColumns = (personType: string, bindK: string) => { - const columns: BasicColumn[] = [ - { - title: '知识标题', - align: 'center', - dataIndex: 'title', - }, - { - title: '作者', - align: 'center', - dataIndex: 'author', - width: 120, - ifShow: () => personType === '5', - }, - { - title: '岗位类型', - align: 'center', - dataIndex: 'postFlag_dictText', - width: 120, - ifShow: () => personType === '3' && bindK === '1', - }, - { - title: '知识图片', - align: 'center', - dataIndex: 'titlePic', - customRender: ({ text }) => { - const t = text ? text.replace(',', '') : null; - return h(Image, { - placeholder: true, - src: t ? (t.indexOf('http') !== -1 ? t : getFileAccessHttpUrl(t)) : getFileAccessHttpUrl(t), - height: 50, - width: 50, - fallback: getDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '知识类型', - align: 'center', - dataIndex: 'type_dictText', - }, - { - title: '标签', - align: 'center', - dataIndex: 'tags', - }, - { - title: '状态', - align: 'center', - dataIndex: 'status_dictText', - width: 100, - }, - ]; - return columns; -}; - -export const searchFormSchema: FormSchema[] = [ - { - label: '知识类型', - field: 'type', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'knowledge_type', - }; - }, - }, - { - label: '知识标题', - field: 'title', - component: 'Input', - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '知识标题', - field: 'title', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '知识类型', - field: 'type', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'knowledge_type', - }; - }, - rules: [{ required: true, trigger: 'change' }], - }, - { - label: '知识图片', - field: 'titlePic', - component: 'JImageUpload', - componentProps: () => { - return { - maxCount: 1, - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '上传文件', - field: 'videoUrl', - component: 'JUpload', - required: ({ values }): boolean => values.type === '1', - componentProps: () => { - return { - maxCount: 1, - }; - }, - }, - { - label: '标签', - field: 'tags', - component: 'Input', - slot: 'tagsSlot', - }, - { - label: '知识内容', - field: 'content', - component: 'JEditor', - componentProps: () => { - return { - toolbarFlag: true, - menubarFlag: true, - }; - }, - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -export function getFormSchema(type: string) { - const schemas: FormSchema[] = [ - { - label: '知识标题', - field: 'title', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '作者', - field: 'author', - component: 'Input', - ifShow: () => type === '5', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '知识类型', - field: 'type', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'knowledge_type', - }; - }, - rules: [{ required: true, trigger: 'change' }], - }, - // { - // label: '岗位类型', - // field: 'postType', - // component: 'JDictSelectTag', - // componentProps: () => { - // return { - // dictCode: 'knowledge_post_flag', - // }; - // }, - // ifShow: () => type === '3', - // rules: [{ required: true, trigger: 'change' }], - // }, - { - label: '知识图片', - field: 'titlePic', - component: 'JImageUpload', - componentProps: () => { - return { - maxCount: 1, - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '上传文件', - field: 'videoUrl', - component: 'JUpload', - required: ({ values }): boolean => values.type === '1', - rules: [{ message: '请上传视频文件' }], - componentProps: () => { - return { - maxCount: 1, - }; - }, - }, - { - label: '标签', - field: 'tags', - component: 'Input', - slot: 'tagsSlot', - }, - { - label: '知识内容', - field: 'content', - component: 'JEditor', - componentProps: () => { - return { - toolbarFlag: false, - menubarFlag: false, - }; - }, - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - ]; - return schemas; -} - -export const classType: FormSchema[] = [ - { - label: '类型', - field: 'postType', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'knowledge_post_flag', - }; - }, - }, -]; diff --git a/src/views/intervene/compoents/knowledge/knowledge.vue b/src/views/intervene/compoents/knowledge/knowledge.vue deleted file mode 100644 index 00e89e4..0000000 --- a/src/views/intervene/compoents/knowledge/knowledge.vue +++ /dev/null @@ -1,351 +0,0 @@ - - - diff --git a/src/views/intervene/compoents/tagInput/index.vue b/src/views/intervene/compoents/tagInput/index.vue deleted file mode 100644 index e0bcadb..0000000 --- a/src/views/intervene/compoents/tagInput/index.vue +++ /dev/null @@ -1,161 +0,0 @@ - - - - diff --git a/src/views/intervene/diabetes/effect/collect/collectList.api.ts b/src/views/intervene/diabetes/effect/collect/collectList.api.ts deleted file mode 100644 index 8ee2487..0000000 --- a/src/views/intervene/diabetes/effect/collect/collectList.api.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-interven/diabetes/list', - addOrUpdate = '/health-intervene/health-interven/diabetes', - deleteClass = '/health-intervene/health-interven/diabetes/', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); -export const addOrUpdateApi = (params: any, isUpdate: boolean) => { - if (isUpdate) { - return defHttp.put({ url: Api.addOrUpdate, params }, { isTransformResponse: false }); - } else { - return defHttp.post({ url: Api.addOrUpdate, params }, { isTransformResponse: false }); - } -}; - -export const deleteClassApi = (id: string) => { - return defHttp.delete({ url: `${Api.deleteClass}${id}` }, { isTransformResponse: false }); -}; diff --git a/src/views/intervene/diabetes/effect/collect/collectList.data.ts b/src/views/intervene/diabetes/effect/collect/collectList.data.ts deleted file mode 100644 index bb4c9ef..0000000 --- a/src/views/intervene/diabetes/effect/collect/collectList.data.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; - -export const columns: BasicColumn[] = [ - { - title: '单位', - align: 'center', - dataIndex: 'deptName', - }, - { - title: '干预年度', - align: 'center', - dataIndex: 'interveneYear', - }, - { - title: '是否展开干预', - align: 'center', - dataIndex: 'isIntervene', - customRender: ({ text }) => { - return text ? '是' : '否'; - }, - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '单位', - field: 'deptId', - component: 'ApiSelect', - componentProps: () => { - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'id', - immediate: true, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '干预年度', - field: 'interveneYear', - component: 'DatePicker', - componentProps: () => { - return { - picker: 'year', - }; - }, - }, -]; diff --git a/src/views/intervene/diabetes/effect/collect/collectList.vue b/src/views/intervene/diabetes/effect/collect/collectList.vue deleted file mode 100644 index 07bd24d..0000000 --- a/src/views/intervene/diabetes/effect/collect/collectList.vue +++ /dev/null @@ -1,115 +0,0 @@ - - - - diff --git a/src/views/intervene/diabetes/effect/collect/compoents/collectModal.vue b/src/views/intervene/diabetes/effect/collect/compoents/collectModal.vue deleted file mode 100644 index 3025580..0000000 --- a/src/views/intervene/diabetes/effect/collect/compoents/collectModal.vue +++ /dev/null @@ -1,287 +0,0 @@ - - - diff --git a/src/views/intervene/diabetes/effect/cost/compoents/one.vue b/src/views/intervene/diabetes/effect/cost/compoents/one.vue deleted file mode 100644 index 16d25e8..0000000 --- a/src/views/intervene/diabetes/effect/cost/compoents/one.vue +++ /dev/null @@ -1,44 +0,0 @@ - - - diff --git a/src/views/intervene/diabetes/effect/cost/compoents/three.vue b/src/views/intervene/diabetes/effect/cost/compoents/three.vue deleted file mode 100644 index ac0749f..0000000 --- a/src/views/intervene/diabetes/effect/cost/compoents/three.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - diff --git a/src/views/intervene/diabetes/effect/cost/compoents/two.vue b/src/views/intervene/diabetes/effect/cost/compoents/two.vue deleted file mode 100644 index f3197ab..0000000 --- a/src/views/intervene/diabetes/effect/cost/compoents/two.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - diff --git a/src/views/intervene/diabetes/effect/cost/index.api.ts b/src/views/intervene/diabetes/effect/cost/index.api.ts deleted file mode 100644 index 86dea7d..0000000 --- a/src/views/intervene/diabetes/effect/cost/index.api.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-interven/diabetes/list', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); diff --git a/src/views/intervene/diabetes/effect/cost/index.vue b/src/views/intervene/diabetes/effect/cost/index.vue deleted file mode 100644 index c2ab586..0000000 --- a/src/views/intervene/diabetes/effect/cost/index.vue +++ /dev/null @@ -1,165 +0,0 @@ - - - diff --git a/src/views/intervene/diabetes/effect/effect/compoents/one.vue b/src/views/intervene/diabetes/effect/effect/compoents/one.vue deleted file mode 100644 index b47cfdf..0000000 --- a/src/views/intervene/diabetes/effect/effect/compoents/one.vue +++ /dev/null @@ -1,63 +0,0 @@ - - - diff --git a/src/views/intervene/diabetes/effect/effect/compoents/two.vue b/src/views/intervene/diabetes/effect/effect/compoents/two.vue deleted file mode 100644 index 9db4b7b..0000000 --- a/src/views/intervene/diabetes/effect/effect/compoents/two.vue +++ /dev/null @@ -1,107 +0,0 @@ - - - diff --git a/src/views/intervene/diabetes/effect/effect/compoents/utils.ts b/src/views/intervene/diabetes/effect/effect/compoents/utils.ts deleted file mode 100644 index c0d1cef..0000000 --- a/src/views/intervene/diabetes/effect/effect/compoents/utils.ts +++ /dev/null @@ -1,142 +0,0 @@ -export function getData1(statistics) { - const tableRows = [ - { id: 1, title: '糖尿病知晓率(%)' }, - { id: 2, title: '糖尿病并发症知晓率(%)' }, - { id: 3, title: '糖尿病控制率(%)' }, - { id: 4, title: '糖尿病患病率(%)' }, - { id: 5, title: '糖尿病并发症患病率(%)' }, - ]; - return tableRows.map((item) => { - switch (item.id) { - case 1: { - item.preCtrlNum = statistics.controlPreRatio.knownRatio; - item.preNum = statistics.intervenePreRatio.knownRatio; - item.curCtrlNum = statistics.controlCurRatio.knownRatio; - item.curNum = statistics.interveneCurRatio.knownRatio; - item.diffCtrlNum = statistics.controlDiffRatio.knownRatio; - item.diffNum = statistics.interveneDiffRatio.knownRatio; - break; - } - case 2: { - item.preCtrlNum = statistics.controlPreRatio.compKnownRatio; - item.preNum = statistics.intervenePreRatio.compKnownRatio; - item.curCtrlNum = statistics.controlCurRatio.compKnownRatio; - item.curNum = statistics.interveneCurRatio.compKnownRatio; - item.diffCtrlNum = statistics.controlDiffRatio.compKnownRatio; - item.diffNum = statistics.interveneDiffRatio.compKnownRatio; - break; - } - case 3: { - item.preCtrlNum = statistics.controlPreRatio.ctrlRatio; - item.preNum = statistics.intervenePreRatio.ctrlRatio; - item.curCtrlNum = statistics.controlCurRatio.ctrlRatio; - item.curNum = statistics.interveneCurRatio.ctrlRatio; - item.diffCtrlNum = statistics.controlDiffRatio.ctrlRatio; - item.diffNum = statistics.interveneDiffRatio.ctrlRatio; - break; - } - case 4: { - item.preCtrlNum = statistics.controlPreRatio.confirmRatio; - item.preNum = statistics.intervenePreRatio.confirmRatio; - item.curCtrlNum = statistics.controlCurRatio.confirmRatio; - item.curNum = statistics.interveneCurRatio.confirmRatio; - item.diffCtrlNum = statistics.controlDiffRatio.confirmRatio; - item.diffNum = statistics.interveneDiffRatio.confirmRatio; - break; - } - case 5: { - item.preCtrlNum = statistics.controlPreRatio.compConfirmRatio; - item.preNum = statistics.intervenePreRatio.compConfirmRatio; - item.curCtrlNum = statistics.controlCurRatio.compConfirmRatio; - item.curNum = statistics.interveneCurRatio.compConfirmRatio; - item.diffCtrlNum = statistics.controlDiffRatio.compConfirmRatio; - item.diffNum = statistics.interveneDiffRatio.compConfirmRatio; - break; - } - } - return item; - }); -} -export function getData2(statistics) { - const tableRows = [ - { id: 1, title: '糖尿病知晓人数' }, - { id: 2, title: '糖尿病并发症知晓人数' }, - { id: 3, title: '糖尿病控制人数' }, - { id: 4, title: '糖尿病患病人数' }, - { id: 5, title: '糖尿病并发症患病人数' }, - ]; - return tableRows.map((item) => { - switch (item.id) { - case 1: { - item.ctrlDiff = statistics.controlDiff.knownDiff; - item.diff = statistics.interveneDiff.knownDiff; - item.effect = statistics.costStatistics.knownCost; - break; - } - case 2: { - item.ctrlDiff = statistics.controlDiff.compKnownDiff; - item.diff = statistics.interveneDiff.compKnownDiff; - item.effect = statistics.costStatistics.compKnownCost; - break; - } - case 3: { - item.ctrlDiff = statistics.controlDiff.ctrlDiff; - item.diff = statistics.interveneDiff.ctrlDiff; - item.effect = statistics.costStatistics.ctrlCost; - break; - } - case 4: { - item.ctrlDiff = statistics.controlDiff.confirmDiff; - item.diff = statistics.interveneDiff.confirmDiff; - item.effect = statistics.costStatistics.confirmCost; - break; - } - case 5: { - item.ctrlDiff = statistics.controlDiff.compConfirmDiff; - item.diff = statistics.interveneDiff.compConfirmDiff; - item.effect = statistics.costStatistics.compConfirmCost; - break; - } - } - return item; - }); -} -export function getData3(statistics) { - const tableRows = [ - { id: 1, title: '糖尿病知晓率差值' }, - { id: 2, title: '糖尿病并发症知晓率差值' }, - { id: 3, title: '糖尿病控制率差值' }, - { id: 4, title: '糖尿病患病率差值' }, - { id: 5, title: '糖尿病并发症患病率差值' }, - ]; - return tableRows.map((item) => { - switch (item.id) { - case 1: { - item.ctrlNum = statistics.controlDiffChartRatio.knownRatio; - item.interNum = statistics.interveneDiffChartRatio.knownRatio; - break; - } - case 2: { - item.ctrlNum = statistics.controlDiffChartRatio.compKnownRatio; - item.interNum = statistics.interveneDiffChartRatio.compKnownRatio; - break; - } - case 3: { - item.ctrlNum = statistics.controlDiffChartRatio.ctrlRatio; - item.interNum = statistics.interveneDiffChartRatio.ctrlRatio; - break; - } - case 4: { - item.ctrlNum = statistics.controlDiffChartRatio.confirmRatio; - item.interNum = statistics.interveneDiffChartRatio.confirmRatio; - break; - } - case 5: { - item.ctrlNum = statistics.controlDiffChartRatio.compConfirmRatio; - item.interNum = statistics.interveneDiffChartRatio.compConfirmRatio; - break; - } - } - return item; - }); -} diff --git a/src/views/intervene/diabetes/effect/effect/index.api.ts b/src/views/intervene/diabetes/effect/effect/index.api.ts deleted file mode 100644 index 425097d..0000000 --- a/src/views/intervene/diabetes/effect/effect/index.api.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-interven/diabetes/statistics/', -} - -export const listApi = (str: any) => defHttp.get({ url: Api.list + str }, { isTransformResponse: false }); diff --git a/src/views/intervene/diabetes/effect/effect/index.vue b/src/views/intervene/diabetes/effect/effect/index.vue deleted file mode 100644 index 03095d1..0000000 --- a/src/views/intervene/diabetes/effect/effect/index.vue +++ /dev/null @@ -1,132 +0,0 @@ - - - diff --git a/src/views/intervene/diabetes/effect/income/index.api.ts b/src/views/intervene/diabetes/effect/income/index.api.ts deleted file mode 100644 index 86dea7d..0000000 --- a/src/views/intervene/diabetes/effect/income/index.api.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-interven/diabetes/list', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); diff --git a/src/views/intervene/diabetes/effect/income/index.vue b/src/views/intervene/diabetes/effect/income/index.vue deleted file mode 100644 index 0a8365e..0000000 --- a/src/views/intervene/diabetes/effect/income/index.vue +++ /dev/null @@ -1,187 +0,0 @@ - - - diff --git a/src/views/intervene/diabetes/warning/diabetes.vue b/src/views/intervene/diabetes/warning/diabetes.vue deleted file mode 100644 index 0b7467d..0000000 --- a/src/views/intervene/diabetes/warning/diabetes.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/environment/air/index.vue b/src/views/intervene/environment/air/index.vue deleted file mode 100644 index 6d7405c..0000000 --- a/src/views/intervene/environment/air/index.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/environment/pollen/index.vue b/src/views/intervene/environment/pollen/index.vue deleted file mode 100644 index 97484bb..0000000 --- a/src/views/intervene/environment/pollen/index.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/environment/water/index.vue b/src/views/intervene/environment/water/index.vue deleted file mode 100644 index 9702ca9..0000000 --- a/src/views/intervene/environment/water/index.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/answerManage/answerHistory/index.vue b/src/views/intervene/konwledgeManage/answerManage/answerHistory/index.vue deleted file mode 100644 index d1abcc0..0000000 --- a/src/views/intervene/konwledgeManage/answerManage/answerHistory/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/answerManage/answerManage/index.vue b/src/views/intervene/konwledgeManage/answerManage/answerManage/index.vue deleted file mode 100644 index 752f74e..0000000 --- a/src/views/intervene/konwledgeManage/answerManage/answerManage/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/examination/group/compoents/groupListModal.vue b/src/views/intervene/konwledgeManage/examination/group/compoents/groupListModal.vue deleted file mode 100644 index ce3c765..0000000 --- a/src/views/intervene/konwledgeManage/examination/group/compoents/groupListModal.vue +++ /dev/null @@ -1,168 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/examination/group/groupList.api.ts b/src/views/intervene/konwledgeManage/examination/group/groupList.api.ts deleted file mode 100644 index 690bf0f..0000000 --- a/src/views/intervene/konwledgeManage/examination/group/groupList.api.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/medical/group/list', - addOrUpdate = '/health-intervene/medical/group', - deleteClass = '/health-intervene/medical/group/', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); -export const addOrUpdateApi = (params: any, isUpdate: boolean) => { - if (isUpdate) { - return defHttp.put({ url: Api.addOrUpdate, params }, { isTransformResponse: false }); - } else { - return defHttp.post({ url: Api.addOrUpdate, params }, { isTransformResponse: false }); - } -}; - -export const deleteClassApi = (id: string) => { - return defHttp.delete({ url: `${Api.deleteClass}${id}` }, { isTransformResponse: false }); -}; diff --git a/src/views/intervene/konwledgeManage/examination/group/groupList.data.ts b/src/views/intervene/konwledgeManage/examination/group/groupList.data.ts deleted file mode 100644 index 7b2dced..0000000 --- a/src/views/intervene/konwledgeManage/examination/group/groupList.data.ts +++ /dev/null @@ -1,136 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { listApi as manageList } from '/@/views/intervene/konwledgeManage/examination/manage/manageList.api'; -import { listApi as infoList } from '/@/views/intervene/konwledgeManage/examination/info/infoList.api'; - -export const columns: BasicColumn[] = [ - { - title: '分组分类', - align: 'center', - dataIndex: 'groupType', - customRender: ({ text }) => { - return render.renderDict(text, 'medical_group_type'); - }, - }, - { - title: '分组名称', - align: 'center', - dataIndex: 'groupName', - }, - { - title: '关联检前基本项', - align: 'center', - dataIndex: 'assoPreItemShow', - }, - { - title: '关联检后基分类', - align: 'center', - dataIndex: 'assoMedicalClassShow', - }, - { - title: '', - align: 'center', - dataIndex: 'assoPreItem', - ifShow: () => false, - }, - { - title: '', - align: 'center', - dataIndex: 'assoMedicalClass', - ifShow: () => false, - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '分组分类', - field: 'groupType', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'medical_group_type', - }; - }, - }, - { - label: '分组名称', - field: 'groupName', - component: 'Input', - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '分组分类', - field: 'groupType', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'medical_group_type', - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '分组名称', - field: 'groupName', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '关联检前基本项', - field: 'assoMedicalClass', - component: 'ApiSelect', - componentProps: () => { - return { - api: manageList, - resultField: 'rows', - labelField: 'className', - valueField: 'id', - showSearch: true, - mode: 'multiple', - params: { - pageNum: 1, - pageSize: 999, - }, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - immediate: true, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '关联检后基分类', - field: 'assoPreItem', - component: 'ApiSelect', - componentProps: () => { - return { - api: infoList, - resultField: 'rows', - labelField: 'preItemName', - valueField: 'id', - showSearch: true, - mode: 'multiple', - params: { - pageNum: 1, - pageSize: 999, - }, - immediate: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '', - field: 'id', // 就医人员选中的用户ID - component: 'Input', - show: false, - }, -]; diff --git a/src/views/intervene/konwledgeManage/examination/group/groupList.vue b/src/views/intervene/konwledgeManage/examination/group/groupList.vue deleted file mode 100644 index e7714b1..0000000 --- a/src/views/intervene/konwledgeManage/examination/group/groupList.vue +++ /dev/null @@ -1,132 +0,0 @@ - - - - diff --git a/src/views/intervene/konwledgeManage/examination/index.vue b/src/views/intervene/konwledgeManage/examination/index.vue deleted file mode 100644 index a8a9ba7..0000000 --- a/src/views/intervene/konwledgeManage/examination/index.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/examination/info/compoents/infoListModal.vue b/src/views/intervene/konwledgeManage/examination/info/compoents/infoListModal.vue deleted file mode 100644 index b1afc2a..0000000 --- a/src/views/intervene/konwledgeManage/examination/info/compoents/infoListModal.vue +++ /dev/null @@ -1,105 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/examination/info/infoList.api.ts b/src/views/intervene/konwledgeManage/examination/info/infoList.api.ts deleted file mode 100644 index 91a8553..0000000 --- a/src/views/intervene/konwledgeManage/examination/info/infoList.api.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/medical/info/list', - addOrUpdate = '/health-intervene/medical/info', - deleteClass = '/health-intervene/medical/info/', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); -export const addOrUpdateApi = (params: any, isUpdate: boolean) => { - if (isUpdate) { - return defHttp.put({ url: Api.addOrUpdate, params }, { isTransformResponse: false }); - } else { - return defHttp.post({ url: Api.addOrUpdate, params }, { isTransformResponse: false }); - } -}; - -export const deleteClassApi = (id: string) => { - return defHttp.delete({ url: `${Api.deleteClass}${id}` }, { isTransformResponse: false }); -}; diff --git a/src/views/intervene/konwledgeManage/examination/info/infoList.data.ts b/src/views/intervene/konwledgeManage/examination/info/infoList.data.ts deleted file mode 100644 index de5a8be..0000000 --- a/src/views/intervene/konwledgeManage/examination/info/infoList.data.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import VideoPreview from '/@/components/Video/VideoPreview.vue'; - -export const columns: BasicColumn[] = [ - { - title: '项目名称', - align: 'center', - dataIndex: 'preItemName', - }, - { - title: '图片', - align: 'center', - dataIndex: 'imgUrl', - customRender: ({ text }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 80, - width: 80, - fallback: getDefaultImage(), - }); - }, - }, - { - title: '视频', - align: 'center', - dataIndex: 'videoRul', - customRender: ({ text }) => { - return h(VideoPreview, { - url: getFileAccessHttpUrl(text), - }); - }, - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '项目名称', - field: 'preItemName', - component: 'Input', - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '项目名称', - field: 'preItemName', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '图片', - field: 'imgUrl', - component: 'JImageUpload', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '视频', - field: 'videoRul', - component: 'JUpload', - }, - { - label: '介绍', - field: 'descrption', - component: 'JEditor', - }, - { - label: '', - field: 'id', // 就医人员选中的用户ID - component: 'Input', - show: false, - }, -]; diff --git a/src/views/intervene/konwledgeManage/examination/info/infoList.vue b/src/views/intervene/konwledgeManage/examination/info/infoList.vue deleted file mode 100644 index ba927de..0000000 --- a/src/views/intervene/konwledgeManage/examination/info/infoList.vue +++ /dev/null @@ -1,133 +0,0 @@ - - - - diff --git a/src/views/intervene/konwledgeManage/examination/item/compoents/itemListModal.vue b/src/views/intervene/konwledgeManage/examination/item/compoents/itemListModal.vue deleted file mode 100644 index b62a9ad..0000000 --- a/src/views/intervene/konwledgeManage/examination/item/compoents/itemListModal.vue +++ /dev/null @@ -1,194 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/examination/item/itemList.api.ts b/src/views/intervene/konwledgeManage/examination/item/itemList.api.ts deleted file mode 100644 index 23add49..0000000 --- a/src/views/intervene/konwledgeManage/examination/item/itemList.api.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/medical/item/list', - addOrUpdate = '/health-intervene/medical/item', - deleteClass = '/health-intervene/medical/item/', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); -export const addOrUpdateApi = (params: any, isUpdate: boolean) => { - if (isUpdate) { - return defHttp.put({ url: Api.addOrUpdate, params }, { isTransformResponse: false }); - } else { - return defHttp.post({ url: Api.addOrUpdate, params }, { isTransformResponse: false }); - } -}; - -export const deleteClassApi = (id: string) => { - return defHttp.delete({ url: `${Api.deleteClass}${id}` }, { isTransformResponse: false }); -}; diff --git a/src/views/intervene/konwledgeManage/examination/item/itemList.data.ts b/src/views/intervene/konwledgeManage/examination/item/itemList.data.ts deleted file mode 100644 index 28b4d04..0000000 --- a/src/views/intervene/konwledgeManage/examination/item/itemList.data.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { listApi } from '/@/views/intervene/konwledgeManage/examination/manage/manageList.api'; - -export const columns: BasicColumn[] = [ - { - title: '体检项名称', - align: 'center', - dataIndex: 'itemName', - }, - { - title: '体检分类', - align: 'center', - dataIndex: 'medicalClassName', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '体检项名称', - field: 'itemName', - component: 'Input', - }, - { - label: '体检分类', - field: 'medicalClassId', - component: 'ApiSelect', - componentProps: () => { - return { - api: listApi, - resultField: 'rows', - labelField: 'className', - valueField: 'id', - params: { - pageNum: 1, - pageSize: 999, - }, - getPopupContainer: () => document.body, - immediate: true, - }; - }, - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '体检项名称', - field: 'itemName', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '体检分类', - field: 'medicalClassId', - component: 'ApiSelect', - required: true, - componentProps: () => { - return { - api: listApi, - resultField: 'rows', - labelField: 'className', - valueField: 'id', - params: { - pageNum: 1, - pageSize: 999, - }, - getPopupContainer: () => document.body, - immediate: true, - }; - }, - }, - { - label: '', - field: 'id', // 就医人员选中的用户ID - component: 'Input', - show: false, - }, -]; diff --git a/src/views/intervene/konwledgeManage/examination/item/itemList.vue b/src/views/intervene/konwledgeManage/examination/item/itemList.vue deleted file mode 100644 index 5187fa8..0000000 --- a/src/views/intervene/konwledgeManage/examination/item/itemList.vue +++ /dev/null @@ -1,116 +0,0 @@ - - - - diff --git a/src/views/intervene/konwledgeManage/examination/manage/compoents/manageListModal.vue b/src/views/intervene/konwledgeManage/examination/manage/compoents/manageListModal.vue deleted file mode 100644 index cc90d05..0000000 --- a/src/views/intervene/konwledgeManage/examination/manage/compoents/manageListModal.vue +++ /dev/null @@ -1,170 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/examination/manage/manageList.api.ts b/src/views/intervene/konwledgeManage/examination/manage/manageList.api.ts deleted file mode 100644 index 5befda6..0000000 --- a/src/views/intervene/konwledgeManage/examination/manage/manageList.api.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/medical/class/list', - addOrUpdate = '/health-intervene/medical/class', - deleteClass = '/health-intervene/medical/class/', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); -export const addOrUpdateApi = (params: any, isUpdate: boolean) => { - if (isUpdate) { - return defHttp.put({ url: Api.addOrUpdate, params }, { isTransformResponse: false }); - } else { - return defHttp.post({ url: Api.addOrUpdate, params }, { isTransformResponse: false }); - } -}; - -export const deleteClassApi = (id: string) => { - return defHttp.delete({ url: `${Api.deleteClass}${id}` }, { isTransformResponse: false }); -}; diff --git a/src/views/intervene/konwledgeManage/examination/manage/manageList.data.ts b/src/views/intervene/konwledgeManage/examination/manage/manageList.data.ts deleted file mode 100644 index fede0e0..0000000 --- a/src/views/intervene/konwledgeManage/examination/manage/manageList.data.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; - -export const columns: BasicColumn[] = [ - { - title: '分类前缀', - align: 'center', - dataIndex: 'typePrefix', - }, - { - title: '分类名称', - align: 'center', - dataIndex: 'className', - }, - { - title: '检后人体模型动画地址', - align: 'center', - dataIndex: 'animationUrl', - customRender: ({ text }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 50, - width: 50, - fallback: getDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '分类名称', - field: 'className', - component: 'Input', - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '分类前缀', - field: 'typePrefix', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '分类名称', - field: 'className', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '分类关联标签', - field: 'tags', - component: 'Input', - slot: 'tagsSlot', - }, - { - label: '检后人体模型', - field: 'animationUrl', - component: 'JImageUpload', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '检后分类描述', - field: 'classDesc', - component: 'JEditor', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '项目解读', - field: 'discriptionUrl', - component: 'JUpload', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '问题描述', - field: 'questionUrl', - component: 'JUpload', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '', - field: 'id', // 就医人员选中的用户ID - component: 'Input', - show: false, - }, -]; diff --git a/src/views/intervene/konwledgeManage/examination/manage/manageList.vue b/src/views/intervene/konwledgeManage/examination/manage/manageList.vue deleted file mode 100644 index 253b56c..0000000 --- a/src/views/intervene/konwledgeManage/examination/manage/manageList.vue +++ /dev/null @@ -1,117 +0,0 @@ - - - - diff --git a/src/views/intervene/konwledgeManage/examination/result/compoents/resultListModal.vue b/src/views/intervene/konwledgeManage/examination/result/compoents/resultListModal.vue deleted file mode 100644 index 2d4a82a..0000000 --- a/src/views/intervene/konwledgeManage/examination/result/compoents/resultListModal.vue +++ /dev/null @@ -1,197 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/examination/result/resultList.api.ts b/src/views/intervene/konwledgeManage/examination/result/resultList.api.ts deleted file mode 100644 index 72f056e..0000000 --- a/src/views/intervene/konwledgeManage/examination/result/resultList.api.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/medical/result/list', - addOrUpdate = '/health-intervene/medical/result', - deleteClass = '/health-intervene/medical/result/', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); -export const addOrUpdateApi = (params: any, isUpdate: boolean) => { - if (isUpdate) { - return defHttp.put({ url: Api.addOrUpdate, params }, { isTransformResponse: false }); - } else { - return defHttp.post({ url: Api.addOrUpdate, params }, { isTransformResponse: false }); - } -}; - -export const deleteClassApi = (id: string) => { - return defHttp.delete({ url: `${Api.deleteClass}${id}` }, { isTransformResponse: false }); -}; -export const getClassApi = (id: string) => { - return defHttp.get({ url: `${Api.deleteClass}${id}` }, { isTransformResponse: false }); -}; diff --git a/src/views/intervene/konwledgeManage/examination/result/resultList.data.ts b/src/views/intervene/konwledgeManage/examination/result/resultList.data.ts deleted file mode 100644 index 7377afc..0000000 --- a/src/views/intervene/konwledgeManage/examination/result/resultList.data.ts +++ /dev/null @@ -1,91 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { listApi } from '/@/views/intervene/konwledgeManage/examination/item/itemList.api'; - -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'realname', - }, - { - title: '年份', - align: 'center', - dataIndex: 'year', - }, - { - title: '身份证号', - align: 'center', - dataIndex: 'idCard', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '年份', - field: 'year', - component: 'DatePicker', - componentProps: () => { - return { - picker: 'year', - valueFormat: 'YYYY', - }; - }, - }, - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '身份证号', - field: 'idCard', - component: 'Input', - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '年份', - field: 'year', - component: 'DatePicker', - componentProps: ({ formModel }) => { - formModel.year = formModel.year ? formModel.year + '' : undefined; - return { - picker: 'year', - valueFormat: 'YYYY', - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '身份证号', - field: 'idCard', - component: 'Input', - rules: [ - { - trigger: 'blur', - pattern: /^\d{6}(18|19|20)?\d{2}(0[1-9]|1[012])(0[1-9]|[12]\d|3[01])\d{3}(\d|[xX])$/, - message: '身份证号码格式有误', - }, - { required: true, trigger: 'blur' }, - ], - }, - { - label: '', - field: 'healthMedicalResultItemList', - component: 'Input', - slot: 'healthMedicalResultItemListSlot', - }, - { - label: '', - field: 'id', // 就医人员选中的用户ID - component: 'Input', - show: false, - }, -]; diff --git a/src/views/intervene/konwledgeManage/examination/result/resultList.vue b/src/views/intervene/konwledgeManage/examination/result/resultList.vue deleted file mode 100644 index 101732d..0000000 --- a/src/views/intervene/konwledgeManage/examination/result/resultList.vue +++ /dev/null @@ -1,116 +0,0 @@ - - - - diff --git a/src/views/intervene/konwledgeManage/expert/articleManage/index.vue b/src/views/intervene/konwledgeManage/expert/articleManage/index.vue deleted file mode 100644 index 78878ce..0000000 --- a/src/views/intervene/konwledgeManage/expert/articleManage/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/expert/expertManage/compoents/bindKnowledge.vue b/src/views/intervene/konwledgeManage/expert/expertManage/compoents/bindKnowledge.vue deleted file mode 100644 index e0656fc..0000000 --- a/src/views/intervene/konwledgeManage/expert/expertManage/compoents/bindKnowledge.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/expert/expertManage/compoents/bindKnowledgeT.vue b/src/views/intervene/konwledgeManage/expert/expertManage/compoents/bindKnowledgeT.vue deleted file mode 100644 index 1fa9bc7..0000000 --- a/src/views/intervene/konwledgeManage/expert/expertManage/compoents/bindKnowledgeT.vue +++ /dev/null @@ -1,20 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/expert/expertManage/compoents/expertManageListModal.vue b/src/views/intervene/konwledgeManage/expert/expertManage/compoents/expertManageListModal.vue deleted file mode 100644 index 1ba17d8..0000000 --- a/src/views/intervene/konwledgeManage/expert/expertManage/compoents/expertManageListModal.vue +++ /dev/null @@ -1,80 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/expert/expertManage/expertManageList.api.ts b/src/views/intervene/konwledgeManage/expert/expertManage/expertManageList.api.ts deleted file mode 100644 index b0309fd..0000000 --- a/src/views/intervene/konwledgeManage/expert/expertManage/expertManageList.api.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/knowledge/knowledgeSpecialist/list', - addExpert = '/health-intervene/knowledge/knowledgeSpecialist/add', - updateExpert = '/health-intervene/knowledge/knowledgeSpecialist/edit', - deleteClass = '/health-intervene/knowledge/knowledgeSpecialist/delete', - largeDel = '/health-intervene/knowledge/knowledgeSpecialist/deleteBatch', - queryKnowledgeBySpecialist = '/health-intervene/knowledge/knowledgeSpecialist/queryKnowledgeBySpecialist', //专家知识列表 - addKnowledgeStorageSpecialist = '/health-intervene/knowledge/knowledgeSpecialist/addKnowledgeStorageSpecialist', // 关联专家-知识 - deleteSpecialistList = '/health-intervene/knowledge/knowledgeStorage/deleteSpecialistList', // 删除专家知识列表 - deleteKnowledgeListBySpecialist = '/health-intervene/knowledge/knowledgeStorage/deleteKnowledgeListBySpecialist', // 解绑 - deleteBatch = '/health-intervene/knowledge/knowledgeStorageSpecialist/deleteBatch', // 解绑 新 - addKnowledgeSpecialist = '/health-intervene/knowledge/knowledgeStorage/addKnowledgeSpecialist', // 新增/修改专家知识列表 - queryKnowledgeByUnSpecialist = '/health-intervene/knowledge/knowledgeSpecialist/queryKnowledgeByUnSpecialist', // 未被专家关联知识 -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const addOrUpdateApi = (params: any, isUpdate: boolean) => { - if (isUpdate) { - return defHttp.put({ url: Api.updateExpert, params }); - } else { - return defHttp.post({ url: Api.addExpert, params }); - } -}; - -export const deleteClassApi = (id: string) => { - return defHttp.delete({ url: `${Api.deleteClass}?id=${id}` }); -}; -export const largeDelApi = (id: string) => { - return defHttp.delete({ url: `${Api.largeDel}?ids=${id}` }); -}; -export const queryKnowledgeBySpecialistApi = (params: any) => { - return defHttp.post({ url: Api.queryKnowledgeBySpecialist, params }); -}; -export const addKnowledgeStorageSpecialistApi = (params: any) => { - return defHttp.post({ url: Api.addKnowledgeStorageSpecialist, params }); -}; -export const deleteSpecialistListApi = (params: any) => { - return defHttp.delete({ url: Api.deleteSpecialistList, params }); -}; -export const deleteKnowledgeListBySpecialistApi = (params: any) => { - return defHttp.delete({ url: Api.deleteKnowledgeListBySpecialist, params }); -}; -export const deleteBatchApi = (params: any) => { - return defHttp.delete({ url: Api.deleteBatch + '?ids=' + params }); -}; -export const addKnowledgeSpecialistApi = (params: any) => { - return defHttp.post({ url: Api.addKnowledgeSpecialist, params }); -}; -export const queryKnowledgeByUnSpecialistApi = (params: any) => { - return defHttp.post({ url: Api.queryKnowledgeByUnSpecialist, params }); -}; diff --git a/src/views/intervene/konwledgeManage/expert/expertManage/expertManageList.data.ts b/src/views/intervene/konwledgeManage/expert/expertManage/expertManageList.data.ts deleted file mode 100644 index 89e4ac7..0000000 --- a/src/views/intervene/konwledgeManage/expert/expertManage/expertManageList.data.ts +++ /dev/null @@ -1,131 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getExpertDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; - -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '专家名称', - align: 'center', - dataIndex: 'name', - }, - { - title: '专家照片', - align: 'center', - dataIndex: 'pic', - customRender: ({ text }) => { - const t = text ? text.replace(',', '') : null; - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(t), - height: 50, - width: 50, - fallback: getExpertDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '专家职称', - align: 'center', - dataIndex: 'jobTitle_dictText', - }, - { - title: '所属科室', - align: 'center', - dataIndex: 'deptName', - }, - { - title: '所属医院', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '排序', - align: 'center', - dataIndex: 'sort', - width: 80, - }, - { - title: '状态', - align: 'center', - dataIndex: 'status', - width: 100, - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '专家名称', - field: 'name', - component: 'Input', - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '专家名称', - field: 'name', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '专家照片', - field: 'pic', - component: 'JImageUpload', - componentProps: { - maxCount: 1, - }, - // rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '专家职称', - field: 'jobTitle', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'z_doct_lev', - }, - }, - { - label: '所属科室', - field: 'deptName', - component: 'Input', - }, - { - label: '所属医院', - field: 'hospitalName', - component: 'Input', - }, - { - label: '排序', - field: 'sort', - component: 'Input', - }, - { - label: '状态', - field: 'status', - component: 'Input', - ifShow: false, - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/intervene/konwledgeManage/expert/expertManage/expertManageList.vue b/src/views/intervene/konwledgeManage/expert/expertManage/expertManageList.vue deleted file mode 100644 index 6a97d43..0000000 --- a/src/views/intervene/konwledgeManage/expert/expertManage/expertManageList.vue +++ /dev/null @@ -1,176 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/health/index.vue b/src/views/intervene/konwledgeManage/health/index.vue deleted file mode 100644 index 17db157..0000000 --- a/src/views/intervene/konwledgeManage/health/index.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/healthManage/class/classList.api.ts b/src/views/intervene/konwledgeManage/healthManage/class/classList.api.ts deleted file mode 100644 index a6266bf..0000000 --- a/src/views/intervene/konwledgeManage/healthManage/class/classList.api.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-answer/class/list', - addOrUpdate = '/health-intervene/health-answer/class', - deleteClass = '/health-intervene/health-answer/class/', - knowledgeListOfPost = '/health-intervene/knowledge/knowledgeStoragePost/knowledgeListOfPost', - addKnowledgeAndRelatePost = '/health-intervene/knowledge/knowledgeStorage/addKnowledgeAndRelatePost', - delKnowledgeAndDelPostRelevance = '/health-intervene/knowledge/knowledgeStorage/delKnowledgeAndDelPostRelevance', - noPostRelatedKnowledge = '/health-intervene/knowledge/knowledgeStoragePost/noPostRelatedKnowledge', - addKnowledgeForPost = '/health-intervene/knowledge/knowledgeStoragePost/addKnowledgeForPost', - removeBinding = '/health-intervene/knowledge/knowledgeStoragePost/removeBinding', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); -export const addOrUpdateApi = (params: any, isUpdate: boolean) => { - if (isUpdate) { - return defHttp.put({ url: Api.addOrUpdate, params }, { isTransformResponse: false }); - } else { - return defHttp.post({ url: Api.addOrUpdate, params }, { isTransformResponse: false }); - } -}; - -export const deleteClassApi = (id: string) => { - return defHttp.delete({ url: `${Api.deleteClass}${id}` }, { isTransformResponse: false }); -}; -export const knowledgeListOfPostApi = (params: any) => { - return defHttp.get({ url: `${Api.knowledgeListOfPost}`, params }); -}; -export const addKnowledgeAndRelatePostApi = (params: any) => { - return defHttp.post({ url: `${Api.addKnowledgeAndRelatePost}`, params }, { isTransformResponse: false }); -}; -export const delKnowledgeAndDelPostRelevanceApi = (params: any) => { - return defHttp.post({ url: `${Api.delKnowledgeAndDelPostRelevance}`, params }); -}; -export const noPostRelatedKnowledgeApi = (params: any) => { - return defHttp.get({ url: `${Api.noPostRelatedKnowledge}`, params }); -}; -export const addKnowledgeForPostApi = (params: any) => { - return defHttp.post({ url: `${Api.addKnowledgeForPost}`, params }); -}; -export const removeBindingApi = (params: any) => { - return defHttp.post({ url: `${Api.removeBinding}`, params }); -}; diff --git a/src/views/intervene/konwledgeManage/healthManage/class/classList.data.ts b/src/views/intervene/konwledgeManage/healthManage/class/classList.data.ts deleted file mode 100644 index 6a6c0c1..0000000 --- a/src/views/intervene/konwledgeManage/healthManage/class/classList.data.ts +++ /dev/null @@ -1,93 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; - -export const columns: BasicColumn[] = [ - { - title: '分类编号', - align: 'center', - dataIndex: 'classNo', - }, - { - title: '分类名称', - align: 'center', - dataIndex: 'className', - }, - { - title: '状态', - align: 'center', - dataIndex: 'status', - customRender: ({ text }) => { - return render.renderDict(text, 'sys_job_status'); - }, - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '分类编号', - field: 'classNo', - component: 'Input', - }, - { - label: '分类名称', - field: 'className', - component: 'Input', - }, - { - label: '状态', - field: 'status', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'sys_job_status', - }; - }, - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '分类编号', - field: 'classNo', - component: 'InputNumber', - }, - { - label: '分类名称', - field: 'className', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '父级分类', - field: 'classPatentNo', - defaultValue: 0, - component: 'Input', - slot: 'classP', - }, - { - label: '状态', - field: 'status', - defaultValue: '0', - component: 'RadioGroup', - componentProps: () => { - return { - options: [ - { - label: '正常', - value: '0', - }, - { - label: '暂停', - value: '1', - }, - ], - }; - }, - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/intervene/konwledgeManage/healthManage/class/classList.vue b/src/views/intervene/konwledgeManage/healthManage/class/classList.vue deleted file mode 100644 index d6cea52..0000000 --- a/src/views/intervene/konwledgeManage/healthManage/class/classList.vue +++ /dev/null @@ -1,183 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/healthManage/class/compoents/bindKnowledge.vue b/src/views/intervene/konwledgeManage/healthManage/class/compoents/bindKnowledge.vue deleted file mode 100644 index ee889c3..0000000 --- a/src/views/intervene/konwledgeManage/healthManage/class/compoents/bindKnowledge.vue +++ /dev/null @@ -1,91 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/healthManage/class/compoents/bindKnowledgeT.vue b/src/views/intervene/konwledgeManage/healthManage/class/compoents/bindKnowledgeT.vue deleted file mode 100644 index 3222fda..0000000 --- a/src/views/intervene/konwledgeManage/healthManage/class/compoents/bindKnowledgeT.vue +++ /dev/null @@ -1,21 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/healthManage/class/compoents/classListModal.vue b/src/views/intervene/konwledgeManage/healthManage/class/compoents/classListModal.vue deleted file mode 100644 index cd87476..0000000 --- a/src/views/intervene/konwledgeManage/healthManage/class/compoents/classListModal.vue +++ /dev/null @@ -1,104 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/healthManage/classKnowledge/classKnowledgeList.api.ts b/src/views/intervene/konwledgeManage/healthManage/classKnowledge/classKnowledgeList.api.ts deleted file mode 100644 index 22ca525..0000000 --- a/src/views/intervene/konwledgeManage/healthManage/classKnowledge/classKnowledgeList.api.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -// import { useMessage } from '/@/hooks/web/useMessage'; - -// const { createConfirm } = useMessage(); -enum Api { - list = '/health-intervene/knowledge/knowledgePost/listCustom', - addOrUpdate = '/health-intervene/health-answer/class', - deleteClass = '/health-intervene/health-answer/class/', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); diff --git a/src/views/intervene/konwledgeManage/healthManage/classKnowledge/classKnowledgeList.data.ts b/src/views/intervene/konwledgeManage/healthManage/classKnowledge/classKnowledgeList.data.ts deleted file mode 100644 index f2e0dc1..0000000 --- a/src/views/intervene/konwledgeManage/healthManage/classKnowledge/classKnowledgeList.data.ts +++ /dev/null @@ -1,132 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; - -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '专家名称', - align: 'center', - dataIndex: 'name', - }, - { - title: '专家照片', - align: 'center', - dataIndex: 'pic', - customRender: ({ text }) => { - const t = text ? text.replace(',', '') : null; - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(t), - height: 50, - width: 50, - fallback: getDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '专家职称', - align: 'center', - dataIndex: 'jobTitle', - }, - { - title: '所属科室', - align: 'center', - dataIndex: 'deptName', - }, - { - title: '所属医院', - align: 'center', - dataIndex: 'deptName', - }, - { - title: '排序', - align: 'center', - dataIndex: 'sort', - width: 80, - }, - { - title: '状态', - align: 'center', - dataIndex: 'status', - width: 100, - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '专家名称', - field: 'name', - component: 'Input', - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '专家名称', - field: 'name', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '专家照片', - field: 'pic', - component: 'JImageUpload', - componentProps: { - maxCount: 1, - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '专家职称', - field: 'jobTitle', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'z_doct_lev', - }, - }, - { - label: '所属科室', - field: 'deptName', - component: 'Input', - }, - { - label: '所属医院', - field: 'hospitalName', - component: 'Input', - }, - { - label: '排序', - field: 'sort', - component: 'Input', - }, - { - label: '状态', - field: 'status', - component: 'Input', - ifShow: false, - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/intervene/konwledgeManage/healthManage/classKnowledge/classKnowledgeList.vue b/src/views/intervene/konwledgeManage/healthManage/classKnowledge/classKnowledgeList.vue deleted file mode 100644 index a76e740..0000000 --- a/src/views/intervene/konwledgeManage/healthManage/classKnowledge/classKnowledgeList.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/healthManage/classKnowledge/compoents/classKnowledgeListForm.vue b/src/views/intervene/konwledgeManage/healthManage/classKnowledge/compoents/classKnowledgeListForm.vue deleted file mode 100644 index 568b773..0000000 --- a/src/views/intervene/konwledgeManage/healthManage/classKnowledge/compoents/classKnowledgeListForm.vue +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/src/views/intervene/konwledgeManage/healthManage/classKnowledge/compoents/classKnowledgeListModal.vue b/src/views/intervene/konwledgeManage/healthManage/classKnowledge/compoents/classKnowledgeListModal.vue deleted file mode 100644 index 8d9bd72..0000000 --- a/src/views/intervene/konwledgeManage/healthManage/classKnowledge/compoents/classKnowledgeListModal.vue +++ /dev/null @@ -1,24 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/healthManage/label/compoents/labelListModal.vue b/src/views/intervene/konwledgeManage/healthManage/label/compoents/labelListModal.vue deleted file mode 100644 index ba37940..0000000 --- a/src/views/intervene/konwledgeManage/healthManage/label/compoents/labelListModal.vue +++ /dev/null @@ -1,63 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/healthManage/label/labelList.api.ts b/src/views/intervene/konwledgeManage/healthManage/label/labelList.api.ts deleted file mode 100644 index 4919dc1..0000000 --- a/src/views/intervene/konwledgeManage/healthManage/label/labelList.api.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/common/tag/list', - addOrUpdate = '/health-intervene/common/tag', - deleteClass = '/health-intervene/common/tag/', - search = '/health-intervene/rest/common/tag/search', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); -export const addOrUpdateApi = (params: any, isUpdate: boolean) => { - if (isUpdate) { - return defHttp.put({ url: Api.addOrUpdate, params }, { isTransformResponse: false }); - } else { - return defHttp.post({ url: Api.addOrUpdate, params }, { isTransformResponse: false }); - } -}; - -export const deleteClassApi = (id: string) => { - return defHttp.delete({ url: `${Api.deleteClass}${id}` }, { isTransformResponse: false }); -}; - -export const searchApi = (params: any) => defHttp.get({ url: Api.search, params: params }, { isTransformResponse: false }); diff --git a/src/views/intervene/konwledgeManage/healthManage/label/labelList.data.ts b/src/views/intervene/konwledgeManage/healthManage/label/labelList.data.ts deleted file mode 100644 index 03a7dfd..0000000 --- a/src/views/intervene/konwledgeManage/healthManage/label/labelList.data.ts +++ /dev/null @@ -1,100 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; - -export const columns: BasicColumn[] = [ - { - title: '标签名', - align: 'center', - dataIndex: 'tagName', - }, - { - title: '标签类型', - align: 'center', - dataIndex: 'tagType', - customRender: ({ text }) => { - return render.renderDict(text, 'tag_class'); - }, - }, - { - title: '标签状态', - align: 'center', - dataIndex: 'status', - customRender: ({ text }) => { - return render.renderDict(text, 'sys_job_status'); - }, - }, - { - title: '标签描述', - align: 'center', - dataIndex: 'tagDes', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '标签名', - field: 'tagName', - component: 'Input', - }, - { - label: '标签类型', - field: 'tagType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'tag_class', - }, - }, - { - label: '状态', - field: 'status', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sys_job_status', - }, - }, - { - label: '标签描述', - field: 'tagDes', - component: 'Input', - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '标签名', - field: 'tagName', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '标签类型', - field: 'tagType', - component: 'JDictSelectTag', - rules: [{ required: true, trigger: 'change' }], - componentProps: { - dictCode: 'tag_class', - getPopupContainer: () => document.body, - }, - }, - { - label: '状态', - field: 'status', - component: 'JDictSelectTag', - rules: [{ required: true, trigger: 'blur' }], - componentProps: { - dictCode: 'sys_job_status', - }, - }, - { - label: '标签描述', - field: 'tagDes', - component: 'InputTextArea', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/intervene/konwledgeManage/healthManage/label/labelList.vue b/src/views/intervene/konwledgeManage/healthManage/label/labelList.vue deleted file mode 100644 index cf9989a..0000000 --- a/src/views/intervene/konwledgeManage/healthManage/label/labelList.vue +++ /dev/null @@ -1,117 +0,0 @@ - - - - diff --git a/src/views/intervene/konwledgeManage/medical/index.vue b/src/views/intervene/konwledgeManage/medical/index.vue deleted file mode 100644 index 78bc9eb..0000000 --- a/src/views/intervene/konwledgeManage/medical/index.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/konwledgeManage/resource/index.vue b/src/views/intervene/konwledgeManage/resource/index.vue deleted file mode 100644 index fd289c9..0000000 --- a/src/views/intervene/konwledgeManage/resource/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/views/intervene/meals/analysisGroup/annualAnalysis.vue b/src/views/intervene/meals/analysisGroup/annualAnalysis.vue deleted file mode 100644 index c1562ab..0000000 --- a/src/views/intervene/meals/analysisGroup/annualAnalysis.vue +++ /dev/null @@ -1,1386 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/analysisGroup/dailyAnalysis.vue b/src/views/intervene/meals/analysisGroup/dailyAnalysis.vue deleted file mode 100644 index 9b20db3..0000000 --- a/src/views/intervene/meals/analysisGroup/dailyAnalysis.vue +++ /dev/null @@ -1,1467 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/analysisGroup/group.api.ts b/src/views/intervene/meals/analysisGroup/group.api.ts deleted file mode 100644 index bbaf64a..0000000 --- a/src/views/intervene/meals/analysisGroup/group.api.ts +++ /dev/null @@ -1,139 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { getStToken } from '/@/utils/http/stRequestToken'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; - -// 请求部门 -export const sysDepartGetTreeDepartSecondAndThree_zhangpeng = async (params) => { - return defHttp.get( - { - url: '/sys/sysDepart/recordTreeDepartSecondAndThree', - params, - headers: { - 'X-Access-Token': await getStToken({}), - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -// 请求食堂 -export const stBaseRestaurantDeptGetRestaurantList_zhangpeng = async (params) => { - return defHttp.get( - { - url: '/foodNourishmentReport/getRestaurantList', - params, - headers: { - 'X-Access-Token': await getStToken({}), - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -// 营养监控 => 群体就餐记录分析 -export const stUserGroupFoodInfoQueryUserTimesNew_zhangpeng = async (params) => { - return defHttp.get( - { - url: '/foodNourishmentReport/queryUserTimesNew', - params, - headers: { - 'X-Access-Token': await getStToken({}), - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -// 营养监控 => 群体就餐记录 => 餐次 => 人员类型 -export const stPeopleTypeGetPeopleTypeListNew_zhangpeng = async (params) => { - return defHttp.get( - { - url: '/emp/stPeopleType/getPeopleTypeListNew', - params, - headers: { - 'X-Access-Token': await getStToken({}), - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -// 营养监控 => 群体就餐记录分析 =>年报 -export const stUserGroupFoodInfoQueryUserGroupYearTimesNew_zhangpeng = async (params) => { - return defHttp.get( - { - url: '/foodNourishmentReport/queryUserGroupYearTimesNew', - params, - headers: { - 'X-Access-Token': await getStToken({}), - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -// 营养监控 => 群体就餐记录分析 =>日报 -export const stUserGroupFoodInfoQueryUserGroupDayTimesNew_zhangpeng = async (params) => { - return defHttp.get( - { - url: '/foodNourishmentReport/queryUserGroupDayTimesNew', - params, - headers: { - 'X-Access-Token': await getStToken({}), - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -// 营养监控 => 群体就餐记录分析 =>周报 -export const stUserGroupFoodInfoQueryUserGroupWeekTimesNew_zhangpeng = async (params) => { - return defHttp.get( - { - url: '/foodNourishmentReport/queryUserGroupWeekTimesNew', - params, - headers: { - 'X-Access-Token': await getStToken({}), - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -// 营养监控 => 群体就餐记录分析 =>月报 -export const stUserGroupFoodInfoQueryUserGroupMonthTimesNew_zhangpeng = async (params) => { - return defHttp.get( - { - url: '/foodNourishmentReport/queryUserGroupMonthTimesNew', - params, - headers: { - 'X-Access-Token': await getStToken({}), - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/analysisGroup/mealAnalysis.vue b/src/views/intervene/meals/analysisGroup/mealAnalysis.vue deleted file mode 100644 index 74334c4..0000000 --- a/src/views/intervene/meals/analysisGroup/mealAnalysis.vue +++ /dev/null @@ -1,875 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/analysisGroup/monthlyAnalysis.vue b/src/views/intervene/meals/analysisGroup/monthlyAnalysis.vue deleted file mode 100644 index 3c266bd..0000000 --- a/src/views/intervene/meals/analysisGroup/monthlyAnalysis.vue +++ /dev/null @@ -1,1444 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/analysisGroup/weeklyAnalysis.vue b/src/views/intervene/meals/analysisGroup/weeklyAnalysis.vue deleted file mode 100644 index 55a2dba..0000000 --- a/src/views/intervene/meals/analysisGroup/weeklyAnalysis.vue +++ /dev/null @@ -1,1165 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/animation/index.vue b/src/views/intervene/meals/animation/index.vue deleted file mode 100644 index c8c3e81..0000000 --- a/src/views/intervene/meals/animation/index.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/meals/chronic/index.vue b/src/views/intervene/meals/chronic/index.vue deleted file mode 100644 index a0725c4..0000000 --- a/src/views/intervene/meals/chronic/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/views/intervene/meals/monitoring/canteenStatistics/canteenStatistics.api.ts b/src/views/intervene/meals/monitoring/canteenStatistics/canteenStatistics.api.ts deleted file mode 100644 index a7153a6..0000000 --- a/src/views/intervene/meals/monitoring/canteenStatistics/canteenStatistics.api.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - list = '/foodNourishmentReport/getAllBaseRestaurantList', - exportList = '/foodNourishmentReport/getAllBaseRestaurantList/export', - statisticsRowList = '/foodNourishmentReport/canteenInfoStatisticsRow', -} - -/** - * 列表接口 - * @param params - */ -export const list = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.list, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -/** - * 导出接口 - * @param params - */ -export const exportList = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.exportList, - params, - headers: { - 'X-Access-Token': token, - }, - responseType: 'blob', - }, - { - apiUrl: stServerUrl, - withToken: false, - isTransformResponse: false, - } - ); -}; - -/** - * 统计接口 - * @param params - */ -export const statisticsRowList = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.statisticsRowList, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/canteenStatistics/canteenStatistics.data.ts b/src/views/intervene/meals/monitoring/canteenStatistics/canteenStatistics.data.ts deleted file mode 100644 index de84983..0000000 --- a/src/views/intervene/meals/monitoring/canteenStatistics/canteenStatistics.data.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - dataIndex: 'index', - width: 80, - customRender: ({ index, record }): any => { - return (record as any).id ? index + 1 : ''; - }, - }, - { - title: '所属单位', - align: 'center', - dataIndex: 'departName', - }, - { - title: '管理部门', - align: 'center', - dataIndex: 'thirdDepartName', - }, - { - title: '食堂名称', - align: 'center', - dataIndex: 'restName', - }, - { - title: '地理坐标', - align: 'center', - dataIndex: 'address', - }, - { - title: '负责人', - align: 'center', - dataIndex: 'restContecter', - }, - { - title: '联系电话', - align: 'center', - dataIndex: 'restPhone', - }, - { - title: '健康管理员', - align: 'center', - dataIndex: 'healthAdminName', - }, - { - title: '健康管理员电话', - align: 'center', - dataIndex: 'healthPhone', - }, - { - title: '就餐人数', - align: 'center', - dataIndex: 'totalNum', - }, -]; diff --git a/src/views/intervene/meals/monitoring/canteenStatistics/canteenStatistics.vue b/src/views/intervene/meals/monitoring/canteenStatistics/canteenStatistics.vue deleted file mode 100644 index cc813dd..0000000 --- a/src/views/intervene/meals/monitoring/canteenStatistics/canteenStatistics.vue +++ /dev/null @@ -1,213 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/canteenStatistics/components/info/info.api.ts b/src/views/intervene/meals/monitoring/canteenStatistics/components/info/info.api.ts deleted file mode 100644 index 6607e1a..0000000 --- a/src/views/intervene/meals/monitoring/canteenStatistics/components/info/info.api.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - treeDepartSecondAndThree = '/sys/sysDepart/recordTreeDepartSecondAndThree', - baseRestaurantInfo = '/foodNourishmentReport/getBaseRestaurantInfo', -} - -/** - * 部门 - * @param params - */ -export const getTreeDepartSecondAndThree = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.treeDepartSecondAndThree, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -/** - * 列表接口 - * @param params - */ -export const getBaseRestaurantInfo = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.baseRestaurantInfo, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/canteenStatistics/components/info/info.data.ts b/src/views/intervene/meals/monitoring/canteenStatistics/components/info/info.data.ts deleted file mode 100644 index 1049b8b..0000000 --- a/src/views/intervene/meals/monitoring/canteenStatistics/components/info/info.data.ts +++ /dev/null @@ -1,108 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getTreeDepartSecondAndThree } from './info.api'; -import { useUserStore } from '/@/store/modules/user'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '单位', - align: 'center', - dataIndex: 'departName', - }, - { - title: '部门', - align: 'center', - dataIndex: 'thirdDepartName', - }, - { - title: '姓名', - align: 'center', - dataIndex: 'realName', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - }, - { - title: '员工编号', // 原来为工号 - align: 'center', - dataIndex: 'workNo', - }, - { - title: '手机号码', - align: 'center', - dataIndex: 'phone', - }, - { - title: '用餐次数', - align: 'center', - dataIndex: 'eatNum', - }, - { - title: '最近用餐日期', - align: 'center', - dataIndex: 'statisticsDay', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '单位部门', - field: 'departId', - component: 'ApiTreeSelect', - componentProps: () => { - return { - api: getTreeDepartSecondAndThree, - params: { - orgCode: useUserStore()?.getUserInfo.orgCode, - }, - dropdownMatchSelectWidth: false, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '姓名', - field: 'realName', - component: 'Input', - }, - { - label: '员工编号', - field: 'workNo', - component: 'Input', - }, - { - label: '性别', - field: 'sex', - component: 'Select', - componentProps: () => { - return { - options: [ - { label: '男', value: '1' }, - { label: '女', value: '2' }, - ], - }; - }, - }, - { - label: '年龄', - field: 'ageTypeAndAge', - component: 'InputGroup', - slot: 'ageTypeAndAge', - }, - { - label: '用餐次数', - field: 'eatNumTypeAndEatNum', - component: 'InputGroup', - slot: 'eatNumTypeAndEatNum', - }, -]; diff --git a/src/views/intervene/meals/monitoring/canteenStatistics/components/info/info.vue b/src/views/intervene/meals/monitoring/canteenStatistics/components/info/info.vue deleted file mode 100644 index 3df7ce5..0000000 --- a/src/views/intervene/meals/monitoring/canteenStatistics/components/info/info.vue +++ /dev/null @@ -1,179 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/canteenStatistics/components/search/search.api.ts b/src/views/intervene/meals/monitoring/canteenStatistics/components/search/search.api.ts deleted file mode 100644 index 19ef371..0000000 --- a/src/views/intervene/meals/monitoring/canteenStatistics/components/search/search.api.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - treeDepartSecondAndThree = '/sys/sysDepart/recordTreeDepartSecondAndThree', -} - -/** - * 部门 - * @param params - */ -export const getTreeDepartSecondAndThree = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.treeDepartSecondAndThree, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/canteenStatistics/components/search/search.data.ts b/src/views/intervene/meals/monitoring/canteenStatistics/components/search/search.data.ts deleted file mode 100644 index c604d6d..0000000 --- a/src/views/intervene/meals/monitoring/canteenStatistics/components/search/search.data.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { FormSchema } from '/@/components/Table'; -import { getTreeDepartSecondAndThree } from './search.api'; -import { useUserStore } from '/@/store/modules/user'; - -export const searchFormSchema: FormSchema[] = [ - { - label: '单位部门', - field: 'departId', - component: 'ApiTreeSelect', - componentProps: () => { - return { - api: getTreeDepartSecondAndThree, - params: { - orgCode: useUserStore()?.getUserInfo.orgCode, - }, - dropdownMatchSelectWidth: false, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '食堂名称', - field: 'restName', - component: 'Input', - }, - { - label: '负责人', - field: 'restContecter', - component: 'Input', - }, - { - label: '负责人电话', - field: 'restPhone', - component: 'Input', - }, - { - label: '健康管理员', - field: 'healthAdminName', - component: 'Input', - }, - { - label: '健康管理员电话', - field: 'healthPhone', - component: 'Input', - }, - { - label: '就餐人数', - field: 'typeAndTotalNum', - component: 'InputGroup', - slot: 'typeAndTotalNum', - }, -]; diff --git a/src/views/intervene/meals/monitoring/canteenStatistics/components/search/search.vue b/src/views/intervene/meals/monitoring/canteenStatistics/components/search/search.vue deleted file mode 100644 index db84a92..0000000 --- a/src/views/intervene/meals/monitoring/canteenStatistics/components/search/search.vue +++ /dev/null @@ -1,126 +0,0 @@ - - - diff --git a/src/views/intervene/meals/monitoring/canteenStatistics/components/visual/china.json b/src/views/intervene/meals/monitoring/canteenStatistics/components/visual/china.json deleted file mode 100644 index de96417..0000000 --- a/src/views/intervene/meals/monitoring/canteenStatistics/components/visual/china.json +++ /dev/null @@ -1,103344 +0,0 @@ -{ - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": { - "adcode": 110000, - "name": "北京市", - "center": [ - 116.405285, - 39.904989 - ], - "centroid": [ - 116.41995, - 40.18994 - ], - "childrenNum": 16, - "cp": [116.4551, 40.2539], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 0, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 117.348611, - 40.581141 - ], - [ - 117.389879, - 40.561593 - ], - [ - 117.429915, - 40.576141 - ], - [ - 117.412669, - 40.605226 - ], - [ - 117.467487, - 40.649738 - ], - [ - 117.467487, - 40.649738 - ], - [ - 117.501364, - 40.636569 - ], - [ - 117.514914, - 40.660181 - ], - [ - 117.493973, - 40.675161 - ], - [ - 117.408973, - 40.686961 - ], - [ - 117.342451, - 40.673799 - ], - [ - 117.319662, - 40.657911 - ], - [ - 117.278394, - 40.664267 - ], - [ - 117.208177, - 40.694675 - ], - [ - 117.117018, - 40.70012 - ], - [ - 117.11209, - 40.707379 - ], - [ - 117.012308, - 40.693767 - ], - [ - 116.964881, - 40.709647 - ], - [ - 116.926692, - 40.745022 - ], - [ - 116.924229, - 40.773581 - ], - [ - 116.848468, - 40.839264 - ], - [ - 116.81336, - 40.848319 - ], - [ - 116.759773, - 40.889954 - ], - [ - 116.713577, - 40.909858 - ], - [ - 116.722201, - 40.927495 - ], - [ - 116.677853, - 40.970888 - ], - [ - 116.698795, - 41.021477 - ], - [ - 116.688324, - 41.044501 - ], - [ - 116.647672, - 41.059394 - ], - [ - 116.615643, - 41.053076 - ], - [ - 116.623034, - 41.021026 - ], - [ - 116.598397, - 40.974503 - ], - [ - 116.5676, - 40.992574 - ], - [ - 116.519557, - 40.98128 - ], - [ - 116.519557, - 40.98128 - ], - [ - 116.455499, - 40.980828 - ], - [ - 116.447492, - 40.953715 - ], - [ - 116.477057, - 40.899907 - ], - [ - 116.398216, - 40.90624 - ], - [ - 116.370499, - 40.94377 - ], - [ - 116.339702, - 40.929303 - ], - [ - 116.334159, - 40.90443 - ], - [ - 116.438253, - 40.81934 - ], - [ - 116.46597, - 40.774487 - ], - [ - 116.453651, - 40.765876 - ], - [ - 116.316912, - 40.772221 - ], - [ - 116.311369, - 40.754996 - ], - [ - 116.273181, - 40.762703 - ], - [ - 116.247311, - 40.791707 - ], - [ - 116.22021, - 40.744115 - ], - [ - 116.204812, - 40.740035 - ], - [ - 116.171551, - 40.695582 - ], - [ - 116.162928, - 40.662451 - ], - [ - 116.133979, - 40.666536 - ], - [ - 116.09887, - 40.630665 - ], - [ - 116.005247, - 40.583868 - ], - [ - 115.982457, - 40.578868 - ], - [ - 115.971986, - 40.6025 - ], - [ - 115.907929, - 40.617493 - ], - [ - 115.885139, - 40.595229 - ], - [ - 115.827857, - 40.587504 - ], - [ - 115.819849, - 40.55932 - ], - [ - 115.784741, - 40.55841 - ], - [ - 115.755176, - 40.540221 - ], - [ - 115.736082, - 40.503372 - ], - [ - 115.781045, - 40.49336 - ], - [ - 115.771806, - 40.443734 - ], - [ - 115.864197, - 40.359422 - ], - [ - 115.917784, - 40.354405 - ], - [ - 115.95166, - 40.281852 - ], - [ - 115.968907, - 40.264045 - ], - [ - 115.89869, - 40.234354 - ], - [ - 115.870356, - 40.185909 - ], - [ - 115.855574, - 40.188652 - ], - [ - 115.847567, - 40.147036 - ], - [ - 115.806299, - 40.15344 - ], - [ - 115.773654, - 40.176307 - ], - [ - 115.75456, - 40.145663 - ], - [ - 115.75456, - 40.145663 - ], - [ - 115.599959, - 40.119583 - ], - [ - 115.59072, - 40.096239 - ], - [ - 115.527278, - 40.076092 - ], - [ - 115.485394, - 40.040364 - ], - [ - 115.454597, - 40.029825 - ], - [ - 115.450286, - 39.992697 - ], - [ - 115.428728, - 39.984443 - ], - [ - 115.426264, - 39.950502 - ], - [ - 115.481083, - 39.935819 - ], - [ - 115.522967, - 39.899099 - ], - [ - 115.515575, - 39.892212 - ], - [ - 115.515575, - 39.892212 - ], - [ - 115.526046, - 39.87568 - ], - [ - 115.514344, - 39.837549 - ], - [ - 115.567314, - 39.816407 - ], - [ - 115.552532, - 39.794799 - ], - [ - 115.50572, - 39.784222 - ], - [ - 115.483547, - 39.798477 - ], - [ - 115.483547, - 39.798477 - ], - [ - 115.443511, - 39.785601 - ], - [ - 115.439815, - 39.752022 - ], - [ - 115.486626, - 39.741899 - ], - [ - 115.491554, - 39.670074 - ], - [ - 115.478619, - 39.650723 - ], - [ - 115.478619, - 39.650723 - ], - [ - 115.522351, - 39.640124 - ], - [ - 115.518039, - 39.597252 - ], - [ - 115.545756, - 39.618922 - ], - [ - 115.587024, - 39.589873 - ], - [ - 115.633836, - 39.599557 - ], - [ - 115.633836, - 39.599557 - ], - [ - 115.667712, - 39.615234 - ], - [ - 115.698509, - 39.577881 - ], - [ - 115.698509, - 39.577881 - ], - [ - 115.699125, - 39.570039 - ], - [ - 115.699125, - 39.570039 - ], - [ - 115.716988, - 39.56035 - ], - [ - 115.716988, - 39.56035 - ], - [ - 115.718835, - 39.553891 - ], - [ - 115.718835, - 39.553891 - ], - [ - 115.720683, - 39.551122 - ], - [ - 115.720683, - 39.551122 - ], - [ - 115.722531, - 39.5442 - ], - [ - 115.721299, - 39.543738 - ], - [ - 115.722531, - 39.5442 - ], - [ - 115.722531, - 39.543738 - ], - [ - 115.721299, - 39.543738 - ], - [ - 115.722531, - 39.543738 - ], - [ - 115.724995, - 39.5442 - ], - [ - 115.724995, - 39.5442 - ], - [ - 115.738545, - 39.540046 - ], - [ - 115.738545, - 39.539585 - ], - [ - 115.738545, - 39.540046 - ], - [ - 115.738545, - 39.539585 - ], - [ - 115.752712, - 39.515581 - ], - [ - 115.806299, - 39.510041 - ], - [ - 115.806299, - 39.510041 - ], - [ - 115.821081, - 39.522968 - ], - [ - 115.821081, - 39.522968 - ], - [ - 115.828473, - 39.541431 - ], - [ - 115.867893, - 39.546507 - ], - [ - 115.867893, - 39.546507 - ], - [ - 115.91532, - 39.582955 - ], - [ - 115.91532, - 39.582955 - ], - [ - 115.910393, - 39.600479 - ], - [ - 115.910393, - 39.600479 - ], - [ - 115.957204, - 39.560812 - ], - [ - 115.978146, - 39.595868 - ], - [ - 115.995392, - 39.576958 - ], - [ - 116.026189, - 39.587567 - ], - [ - 116.036044, - 39.571884 - ], - [ - 116.09887, - 39.575113 - ], - [ - 116.130283, - 39.567732 - ], - [ - 116.151841, - 39.583416 - ], - [ - 116.198652, - 39.589412 - ], - [ - 116.240536, - 39.564041 - ], - [ - 116.257782, - 39.500344 - ], - [ - 116.307057, - 39.488337 - ], - [ - 116.337854, - 39.455536 - ], - [ - 116.361876, - 39.455074 - ], - [ - 116.361876, - 39.455074 - ], - [ - 116.434557, - 39.442597 - ], - [ - 116.454883, - 39.453226 - ], - [ - 116.444412, - 39.482332 - ], - [ - 116.411767, - 39.482794 - ], - [ - 116.401912, - 39.528046 - ], - [ - 116.443796, - 39.510041 - ], - [ - 116.437637, - 39.526661 - ], - [ - 116.478289, - 39.535431 - ], - [ - 116.473361, - 39.552968 - ], - [ - 116.50847, - 39.551122 - ], - [ - 116.524484, - 39.596329 - ], - [ - 116.592237, - 39.621227 - ], - [ - 116.592237, - 39.621227 - ], - [ - 116.620571, - 39.601863 - ], - [ - 116.664918, - 39.605552 - ], - [ - 116.723432, - 39.59264 - ], - [ - 116.724048, - 39.59264 - ], - [ - 116.723432, - 39.59264 - ], - [ - 116.724048, - 39.59264 - ], - [ - 116.726512, - 39.595407 - ], - [ - 116.726512, - 39.595407 - ], - [ - 116.709266, - 39.618 - ], - [ - 116.748686, - 39.619844 - ], - [ - 116.79057, - 39.595868 - ], - [ - 116.812128, - 39.615695 - ], - [ - 116.8497, - 39.66777 - ], - [ - 116.906366, - 39.677444 - ], - [ - 116.90575, - 39.688037 - ], - [ - 116.889736, - 39.687576 - ], - [ - 116.887272, - 39.72533 - ], - [ - 116.916837, - 39.731314 - ], - [ - 116.902055, - 39.763523 - ], - [ - 116.949482, - 39.778703 - ], - [ - 116.918069, - 39.84628 - ], - [ - 116.907598, - 39.832494 - ], - [ - 116.865714, - 39.843982 - ], - [ - 116.812128, - 39.889916 - ], - [ - 116.78441, - 39.891294 - ], - [ - 116.782563, - 39.947749 - ], - [ - 116.757925, - 39.967934 - ], - [ - 116.781331, - 40.034866 - ], - [ - 116.820135, - 40.02845 - ], - [ - 116.831222, - 40.051359 - ], - [ - 116.867562, - 40.041739 - ], - [ - 116.927924, - 40.055024 - ], - [ - 116.945171, - 40.04128 - ], - [ - 117.025243, - 40.030283 - ], - [ - 117.051728, - 40.059605 - ], - [ - 117.105315, - 40.074261 - ], - [ - 117.105315, - 40.074261 - ], - [ - 117.140423, - 40.064185 - ], - [ - 117.159517, - 40.077008 - ], - [ - 117.204481, - 40.069681 - ], - [ - 117.210024, - 40.082045 - ], - [ - 117.224191, - 40.094865 - ], - [ - 117.224191, - 40.094865 - ], - [ - 117.254988, - 40.114548 - ], - [ - 117.254988, - 40.114548 - ], - [ - 117.254988, - 40.114548 - ], - [ - 117.274082, - 40.105852 - ], - [ - 117.307343, - 40.136971 - ], - [ - 117.349227, - 40.136513 - ], - [ - 117.367089, - 40.172649 - ], - [ - 117.367089, - 40.173106 - ], - [ - 117.367089, - 40.173106 - ], - [ - 117.367089, - 40.172649 - ], - [ - 117.383719, - 40.188195 - ], - [ - 117.389879, - 40.227958 - ], - [ - 117.351075, - 40.229786 - ], - [ - 117.331365, - 40.289613 - ], - [ - 117.295024, - 40.2782 - ], - [ - 117.271618, - 40.325211 - ], - [ - 117.271618, - 40.325211 - ], - [ - 117.243285, - 40.369453 - ], - [ - 117.226039, - 40.368997 - ], - [ - 117.234046, - 40.417312 - ], - [ - 117.263611, - 40.442367 - ], - [ - 117.208793, - 40.501552 - ], - [ - 117.262995, - 40.512927 - ], - [ - 117.247597, - 40.539766 - ], - [ - 117.269771, - 40.560684 - ], - [ - 117.348611, - 40.581141 - ], - [ - 117.348611, - 40.581141 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 120000, - "name": "天津市", - "center": [ - 117.190182, - 39.125596 - ], - "centroid": [ - 117.347043, - 39.288036 - ], - "childrenNum": 16, - "cp": [117.4219, 39.4189], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 1, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 117.765602, - 39.400527 - ], - [ - 117.846906, - 39.407926 - ], - [ - 117.871543, - 39.411625 - ], - [ - 117.870311, - 39.455074 - ], - [ - 117.899877, - 39.474479 - ], - [ - 117.912195, - 39.517428 - ], - [ - 117.912195, - 39.517428 - ], - [ - 117.904804, - 39.533585 - ], - [ - 117.933753, - 39.574191 - ], - [ - 117.868464, - 39.59679 - ], - [ - 117.829659, - 39.589873 - ], - [ - 117.766834, - 39.598635 - ], - [ - 117.753899, - 39.579726 - ], - [ - 117.753899, - 39.579726 - ], - [ - 117.745276, - 39.547892 - ], - [ - 117.715711, - 39.529892 - ], - [ - 117.707088, - 39.576036 - ], - [ - 117.684914, - 39.58895 - ], - [ - 117.654117, - 39.575113 - ], - [ - 117.637486, - 39.603246 - ], - [ - 117.66274, - 39.636437 - ], - [ - 117.668899, - 39.666849 - ], - [ - 117.627015, - 39.703693 - ], - [ - 117.57774, - 39.726711 - ], - [ - 117.595603, - 39.74604 - ], - [ - 117.56111, - 39.754782 - ], - [ - 117.546327, - 39.775943 - ], - [ - 117.561726, - 39.799856 - ], - [ - 117.529081, - 39.859144 - ], - [ - 117.529081, - 39.859144 - ], - [ - 117.508139, - 39.901854 - ], - [ - 117.508139, - 39.901854 - ], - [ - 117.512451, - 39.90874 - ], - [ - 117.512451, - 39.90874 - ], - [ - 117.513067, - 39.910576 - ], - [ - 117.513067, - 39.910576 - ], - [ - 117.514914, - 39.946832 - ], - [ - 117.534625, - 39.954631 - ], - [ - 117.546327, - 39.999116 - ], - [ - 117.594987, - 39.994531 - ], - [ - 117.594987, - 39.994531 - ], - [ - 117.614697, - 39.97252 - ], - [ - 117.671363, - 39.973896 - ], - [ - 117.691073, - 39.984902 - ], - [ - 117.756363, - 39.965181 - ], - [ - 117.781616, - 39.966558 - ], - [ - 117.781616, - 39.966558 - ], - [ - 117.795167, - 39.996823 - ], - [ - 117.795167, - 39.996823 - ], - [ - 117.793319, - 40.005534 - ], - [ - 117.793319, - 40.005534 - ], - [ - 117.768681, - 40.022034 - ], - [ - 117.768681, - 40.022034 - ], - [ - 117.744044, - 40.018368 - ], - [ - 117.74774, - 40.047236 - ], - [ - 117.776073, - 40.059605 - ], - [ - 117.752667, - 40.081588 - ], - [ - 117.71879, - 40.082045 - ], - [ - 117.71879, - 40.082045 - ], - [ - 117.675059, - 40.082045 - ], - [ - 117.655965, - 40.109514 - ], - [ - 117.655965, - 40.109514 - ], - [ - 117.654117, - 40.114548 - ], - [ - 117.654117, - 40.114548 - ], - [ - 117.651653, - 40.122786 - ], - [ - 117.651653, - 40.122786 - ], - [ - 117.613465, - 40.158014 - ], - [ - 117.613465, - 40.158014 - ], - [ - 117.609769, - 40.160301 - ], - [ - 117.609769, - 40.160301 - ], - [ - 117.576508, - 40.178593 - ], - [ - 117.571581, - 40.219276 - ], - [ - 117.548791, - 40.232527 - ], - [ - 117.505059, - 40.227044 - ], - [ - 117.450241, - 40.252627 - ], - [ - 117.415748, - 40.248973 - ], - [ - 117.389879, - 40.227958 - ], - [ - 117.383719, - 40.188195 - ], - [ - 117.367089, - 40.172649 - ], - [ - 117.367089, - 40.173106 - ], - [ - 117.367089, - 40.173106 - ], - [ - 117.367089, - 40.172649 - ], - [ - 117.349227, - 40.136513 - ], - [ - 117.307343, - 40.136971 - ], - [ - 117.274082, - 40.105852 - ], - [ - 117.254988, - 40.114548 - ], - [ - 117.254988, - 40.114548 - ], - [ - 117.254988, - 40.114548 - ], - [ - 117.224191, - 40.094865 - ], - [ - 117.224191, - 40.094865 - ], - [ - 117.210024, - 40.082045 - ], - [ - 117.192162, - 40.066475 - ], - [ - 117.198322, - 39.992697 - ], - [ - 117.150894, - 39.944996 - ], - [ - 117.162597, - 39.876598 - ], - [ - 117.162597, - 39.876598 - ], - [ - 117.227887, - 39.852712 - ], - [ - 117.247597, - 39.860981 - ], - [ - 117.251908, - 39.834332 - ], - [ - 117.192162, - 39.832953 - ], - [ - 117.156438, - 39.817326 - ], - [ - 117.15767, - 39.796638 - ], - [ - 117.205713, - 39.763984 - ], - [ - 117.161981, - 39.748801 - ], - [ - 117.165061, - 39.718886 - ], - [ - 117.165061, - 39.718886 - ], - [ - 117.177996, - 39.645194 - ], - [ - 117.152742, - 39.623532 - ], - [ - 117.10901, - 39.625375 - ], - [ - 117.10901, - 39.625375 - ], - [ - 117.016004, - 39.653949 - ], - [ - 116.983359, - 39.638742 - ], - [ - 116.983359, - 39.638742 - ], - [ - 116.964265, - 39.64335 - ], - [ - 116.948866, - 39.680668 - ], - [ - 116.948866, - 39.680668 - ], - [ - 116.944555, - 39.695405 - ], - [ - 116.944555, - 39.695405 - ], - [ - 116.932236, - 39.706456 - ], - [ - 116.932236, - 39.706456 - ], - [ - 116.90575, - 39.688037 - ], - [ - 116.906366, - 39.677444 - ], - [ - 116.8497, - 39.66777 - ], - [ - 116.812128, - 39.615695 - ], - [ - 116.808432, - 39.576497 - ], - [ - 116.78749, - 39.554352 - ], - [ - 116.819519, - 39.528507 - ], - [ - 116.820751, - 39.482332 - ], - [ - 116.785026, - 39.465702 - ], - [ - 116.832454, - 39.435664 - ], - [ - 116.876185, - 39.43474 - ], - [ - 116.839845, - 39.413474 - ], - [ - 116.840461, - 39.378326 - ], - [ - 116.818287, - 39.3737 - ], - [ - 116.829374, - 39.338994 - ], - [ - 116.870642, - 39.357506 - ], - [ - 116.889736, - 39.338068 - ], - [ - 116.87249, - 39.291304 - ], - [ - 116.881729, - 39.225966 - ], - [ - 116.881729, - 39.225966 - ], - [ - 116.855859, - 39.215766 - ], - [ - 116.870026, - 39.153607 - ], - [ - 116.909446, - 39.150822 - ], - [ - 116.912526, - 39.110898 - ], - [ - 116.91191, - 39.111362 - ], - [ - 116.91191, - 39.111362 - ], - [ - 116.912526, - 39.110898 - ], - [ - 116.871874, - 39.054688 - ], - [ - 116.812744, - 39.05097 - ], - [ - 116.812744, - 39.05097 - ], - [ - 116.783179, - 39.05097 - ], - [ - 116.783179, - 39.05097 - ], - [ - 116.754229, - 39.034701 - ], - [ - 116.754229, - 39.034701 - ], - [ - 116.754845, - 39.003084 - ], - [ - 116.72836, - 38.975174 - ], - [ - 116.708034, - 38.931892 - ], - [ - 116.722201, - 38.896968 - ], - [ - 116.723432, - 38.852706 - ], - [ - 116.75115, - 38.831264 - ], - [ - 116.737599, - 38.784629 - ], - [ - 116.746222, - 38.754299 - ], - [ - 116.794265, - 38.744498 - ], - [ - 116.794265, - 38.744498 - ], - [ - 116.858939, - 38.741231 - ], - [ - 116.877417, - 38.680522 - ], - [ - 116.948866, - 38.689398 - ], - [ - 116.950714, - 38.689398 - ], - [ - 116.95133, - 38.689398 - ], - [ - 116.950714, - 38.689398 - ], - [ - 116.948866, - 38.689398 - ], - [ - 116.95133, - 38.689398 - ], - [ - 117.038793, - 38.688464 - ], - [ - 117.068358, - 38.680522 - ], - [ - 117.055424, - 38.639398 - ], - [ - 117.070822, - 38.608072 - ], - [ - 117.109626, - 38.584685 - ], - [ - 117.150894, - 38.617892 - ], - [ - 117.183539, - 38.61836 - ], - [ - 117.183539, - 38.61836 - ], - [ - 117.213104, - 38.639866 - ], - [ - 117.213104, - 38.639866 - ], - [ - 117.258684, - 38.608072 - ], - [ - 117.258684, - 38.608072 - ], - [ - 117.238358, - 38.580943 - ], - [ - 117.25314, - 38.556143 - ], - [ - 117.368937, - 38.564566 - ], - [ - 117.432379, - 38.601524 - ], - [ - 117.47919, - 38.616489 - ], - [ - 117.55803, - 38.613683 - ], - [ - 117.639334, - 38.626776 - ], - [ - 117.65658, - 38.66043 - ], - [ - 117.729261, - 38.680055 - ], - [ - 117.740964, - 38.700141 - ], - [ - 117.740964, - 38.753833 - ], - [ - 117.671363, - 38.772032 - ], - [ - 117.646725, - 38.788827 - ], - [ - 117.64611, - 38.828933 - ], - [ - 117.752051, - 38.847579 - ], - [ - 117.778536, - 38.869016 - ], - [ - 117.847522, - 38.855502 - ], - [ - 117.875855, - 38.920252 - ], - [ - 117.898029, - 38.948649 - ], - [ - 117.855529, - 38.957492 - ], - [ - 117.837667, - 39.057011 - ], - [ - 117.871543, - 39.122506 - ], - [ - 117.96455, - 39.172631 - ], - [ - 117.977485, - 39.206028 - ], - [ - 118.032919, - 39.219939 - ], - [ - 118.034767, - 39.218548 - ], - [ - 118.064948, - 39.231065 - ], - [ - 118.064948, - 39.256094 - ], - [ - 118.036615, - 39.264898 - ], - [ - 118.024296, - 39.289451 - ], - [ - 118.024296, - 39.289451 - ], - [ - 117.982412, - 39.298714 - ], - [ - 117.982412, - 39.298714 - ], - [ - 117.979333, - 39.300566 - ], - [ - 117.979333, - 39.300566 - ], - [ - 117.973173, - 39.312143 - ], - [ - 117.973173, - 39.312143 - ], - [ - 117.965782, - 39.314921 - ], - [ - 117.965782, - 39.314921 - ], - [ - 117.919587, - 39.318162 - ], - [ - 117.919587, - 39.318162 - ], - [ - 117.88879, - 39.332051 - ], - [ - 117.854913, - 39.328348 - ], - [ - 117.854297, - 39.328348 - ], - [ - 117.854913, - 39.328348 - ], - [ - 117.854297, - 39.328348 - ], - [ - 117.850601, - 39.363984 - ], - [ - 117.850601, - 39.363984 - ], - [ - 117.810565, - 39.354729 - ], - [ - 117.805022, - 39.373237 - ], - [ - 117.784696, - 39.376938 - ], - [ - 117.74466, - 39.354729 - ], - [ - 117.670747, - 39.357969 - ], - [ - 117.669515, - 39.322792 - ], - [ - 117.594987, - 39.349176 - ], - [ - 117.536472, - 39.338068 - ], - [ - 117.521074, - 39.357043 - ], - [ - 117.570965, - 39.404689 - ], - [ - 117.601146, - 39.419485 - ], - [ - 117.614081, - 39.407001 - ], - [ - 117.668899, - 39.412087 - ], - [ - 117.673211, - 39.386652 - ], - [ - 117.699696, - 39.407463 - ], - [ - 117.765602, - 39.400527 - ] - ] - ], - [ - [ - [ - 117.805022, - 39.373237 - ], - [ - 117.852449, - 39.380639 - ], - [ - 117.846906, - 39.407926 - ], - [ - 117.765602, - 39.400527 - ], - [ - 117.784696, - 39.376938 - ], - [ - 117.805022, - 39.373237 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 130000, - "name": "河北省", - "center": [ - 114.502461, - 38.045474 - ], - "childrenNum": 11, - "cp": [112.2363, 30.8572], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 2, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 117.467487, - 40.649738 - ], - [ - 117.412669, - 40.605226 - ], - [ - 117.429915, - 40.576141 - ], - [ - 117.389879, - 40.561593 - ], - [ - 117.348611, - 40.581141 - ], - [ - 117.348611, - 40.581141 - ], - [ - 117.269771, - 40.560684 - ], - [ - 117.247597, - 40.539766 - ], - [ - 117.262995, - 40.512927 - ], - [ - 117.208793, - 40.501552 - ], - [ - 117.263611, - 40.442367 - ], - [ - 117.234046, - 40.417312 - ], - [ - 117.226039, - 40.368997 - ], - [ - 117.243285, - 40.369453 - ], - [ - 117.271618, - 40.325211 - ], - [ - 117.271618, - 40.325211 - ], - [ - 117.295024, - 40.2782 - ], - [ - 117.331365, - 40.289613 - ], - [ - 117.351075, - 40.229786 - ], - [ - 117.389879, - 40.227958 - ], - [ - 117.415748, - 40.248973 - ], - [ - 117.450241, - 40.252627 - ], - [ - 117.505059, - 40.227044 - ], - [ - 117.548791, - 40.232527 - ], - [ - 117.571581, - 40.219276 - ], - [ - 117.576508, - 40.178593 - ], - [ - 117.609769, - 40.160301 - ], - [ - 117.609769, - 40.160301 - ], - [ - 117.613465, - 40.158014 - ], - [ - 117.613465, - 40.158014 - ], - [ - 117.651653, - 40.122786 - ], - [ - 117.651653, - 40.122786 - ], - [ - 117.654117, - 40.114548 - ], - [ - 117.654117, - 40.114548 - ], - [ - 117.655965, - 40.109514 - ], - [ - 117.655965, - 40.109514 - ], - [ - 117.675059, - 40.082045 - ], - [ - 117.71879, - 40.082045 - ], - [ - 117.71879, - 40.082045 - ], - [ - 117.752667, - 40.081588 - ], - [ - 117.776073, - 40.059605 - ], - [ - 117.74774, - 40.047236 - ], - [ - 117.744044, - 40.018368 - ], - [ - 117.768681, - 40.022034 - ], - [ - 117.768681, - 40.022034 - ], - [ - 117.793319, - 40.005534 - ], - [ - 117.793319, - 40.005534 - ], - [ - 117.795167, - 39.996823 - ], - [ - 117.795167, - 39.996823 - ], - [ - 117.781616, - 39.966558 - ], - [ - 117.781616, - 39.966558 - ], - [ - 117.756363, - 39.965181 - ], - [ - 117.691073, - 39.984902 - ], - [ - 117.671363, - 39.973896 - ], - [ - 117.614697, - 39.97252 - ], - [ - 117.594987, - 39.994531 - ], - [ - 117.594987, - 39.994531 - ], - [ - 117.546327, - 39.999116 - ], - [ - 117.534625, - 39.954631 - ], - [ - 117.514914, - 39.946832 - ], - [ - 117.513067, - 39.910576 - ], - [ - 117.513067, - 39.910576 - ], - [ - 117.512451, - 39.90874 - ], - [ - 117.512451, - 39.90874 - ], - [ - 117.508139, - 39.901854 - ], - [ - 117.508139, - 39.901854 - ], - [ - 117.529081, - 39.859144 - ], - [ - 117.529081, - 39.859144 - ], - [ - 117.561726, - 39.799856 - ], - [ - 117.546327, - 39.775943 - ], - [ - 117.56111, - 39.754782 - ], - [ - 117.595603, - 39.74604 - ], - [ - 117.57774, - 39.726711 - ], - [ - 117.627015, - 39.703693 - ], - [ - 117.668899, - 39.666849 - ], - [ - 117.66274, - 39.636437 - ], - [ - 117.637486, - 39.603246 - ], - [ - 117.654117, - 39.575113 - ], - [ - 117.684914, - 39.58895 - ], - [ - 117.707088, - 39.576036 - ], - [ - 117.715711, - 39.529892 - ], - [ - 117.745276, - 39.547892 - ], - [ - 117.753899, - 39.579726 - ], - [ - 117.753899, - 39.579726 - ], - [ - 117.766834, - 39.598635 - ], - [ - 117.829659, - 39.589873 - ], - [ - 117.868464, - 39.59679 - ], - [ - 117.933753, - 39.574191 - ], - [ - 117.904804, - 39.533585 - ], - [ - 117.912195, - 39.517428 - ], - [ - 117.912195, - 39.517428 - ], - [ - 117.899877, - 39.474479 - ], - [ - 117.870311, - 39.455074 - ], - [ - 117.871543, - 39.411625 - ], - [ - 117.846906, - 39.407926 - ], - [ - 117.852449, - 39.380639 - ], - [ - 117.805022, - 39.373237 - ], - [ - 117.810565, - 39.354729 - ], - [ - 117.850601, - 39.363984 - ], - [ - 117.850601, - 39.363984 - ], - [ - 117.854297, - 39.328348 - ], - [ - 117.854913, - 39.328348 - ], - [ - 117.854297, - 39.328348 - ], - [ - 117.854913, - 39.328348 - ], - [ - 117.88879, - 39.332051 - ], - [ - 117.919587, - 39.318162 - ], - [ - 117.919587, - 39.318162 - ], - [ - 117.965782, - 39.314921 - ], - [ - 117.965782, - 39.314921 - ], - [ - 117.973173, - 39.312143 - ], - [ - 117.973173, - 39.312143 - ], - [ - 117.979333, - 39.300566 - ], - [ - 117.979333, - 39.300566 - ], - [ - 117.982412, - 39.298714 - ], - [ - 117.982412, - 39.298714 - ], - [ - 118.024296, - 39.289451 - ], - [ - 118.024296, - 39.289451 - ], - [ - 118.036615, - 39.264898 - ], - [ - 118.064948, - 39.256094 - ], - [ - 118.064948, - 39.231065 - ], - [ - 118.034767, - 39.218548 - ], - [ - 118.026144, - 39.201854 - ], - [ - 118.070492, - 39.213911 - ], - [ - 118.077883, - 39.201854 - ], - [ - 118.12531, - 39.182838 - ], - [ - 118.162883, - 39.136433 - ], - [ - 118.1906, - 39.080708 - ], - [ - 118.225092, - 39.034701 - ], - [ - 118.319331, - 39.009594 - ], - [ - 118.366143, - 39.016104 - ], - [ - 118.377845, - 38.971917 - ], - [ - 118.491178, - 38.909077 - ], - [ - 118.539837, - 38.910008 - ], - [ - 118.604511, - 38.971452 - ], - [ - 118.570634, - 38.999363 - ], - [ - 118.533062, - 39.090928 - ], - [ - 118.588497, - 39.107648 - ], - [ - 118.578642, - 39.130863 - ], - [ - 118.637156, - 39.157319 - ], - [ - 118.76096, - 39.133648 - ], - [ - 118.814546, - 39.138754 - ], - [ - 118.857662, - 39.162888 - ], - [ - 118.897082, - 39.151286 - ], - [ - 118.920488, - 39.171703 - ], - [ - 118.951285, - 39.178662 - ], - [ - 118.896466, - 39.139683 - ], - [ - 118.890307, - 39.118792 - ], - [ - 118.926031, - 39.123435 - ], - [ - 118.97777, - 39.163352 - ], - [ - 119.023966, - 39.187012 - ], - [ - 119.038132, - 39.211593 - ], - [ - 119.096031, - 39.24219 - ], - [ - 119.121284, - 39.281576 - ], - [ - 119.185342, - 39.342234 - ], - [ - 119.272805, - 39.363521 - ], - [ - 119.317153, - 39.4107 - ], - [ - 119.316537, - 39.437051 - ], - [ - 119.269726, - 39.498497 - ], - [ - 119.366428, - 39.734996 - ], - [ - 119.474217, - 39.813189 - ], - [ - 119.536427, - 39.809052 - ], - [ - 119.520413, - 39.840306 - ], - [ - 119.540739, - 39.888079 - ], - [ - 119.588166, - 39.910576 - ], - [ - 119.620195, - 39.904609 - ], - [ - 119.642369, - 39.925264 - ], - [ - 119.681789, - 39.922511 - ], - [ - 119.726137, - 39.940867 - ], - [ - 119.787115, - 39.950502 - ], - [ - 119.820375, - 39.979399 - ], - [ - 119.842549, - 39.956007 - ], - [ - 119.872114, - 39.960594 - ], - [ - 119.854252, - 39.98857 - ], - [ - 119.845629, - 40.000949 - ], - [ - 119.845629, - 40.000949 - ], - [ - 119.854252, - 40.033033 - ], - [ - 119.81668, - 40.050443 - ], - [ - 119.81668, - 40.050443 - ], - [ - 119.787115, - 40.041739 - ], - [ - 119.787115, - 40.041739 - ], - [ - 119.783419, - 40.046778 - ], - [ - 119.783419, - 40.046778 - ], - [ - 119.772332, - 40.08113 - ], - [ - 119.736608, - 40.104936 - ], - [ - 119.760629, - 40.136056 - ], - [ - 119.745847, - 40.207851 - ], - [ - 119.716898, - 40.195966 - ], - [ - 119.671934, - 40.23938 - ], - [ - 119.639289, - 40.231613 - ], - [ - 119.639289, - 40.231613 - ], - [ - 119.651608, - 40.271808 - ], - [ - 119.598021, - 40.334335 - ], - [ - 119.586934, - 40.375381 - ], - [ - 119.604797, - 40.455119 - ], - [ - 119.553674, - 40.502007 - ], - [ - 119.572152, - 40.523846 - ], - [ - 119.559217, - 40.547952 - ], - [ - 119.503783, - 40.553864 - ], - [ - 119.477913, - 40.533399 - ], - [ - 119.429254, - 40.540221 - ], - [ - 119.30237, - 40.530215 - ], - [ - 119.256175, - 40.543404 - ], - [ - 119.22045, - 40.569322 - ], - [ - 119.230921, - 40.603863 - ], - [ - 119.177951, - 40.609315 - ], - [ - 119.162552, - 40.600228 - ], - [ - 119.14469, - 40.632482 - ], - [ - 119.184726, - 40.680153 - ], - [ - 119.165632, - 40.69286 - ], - [ - 119.115125, - 40.666536 - ], - [ - 119.054763, - 40.664721 - ], - [ - 119.028277, - 40.692406 - ], - [ - 119.011031, - 40.687414 - ], - [ - 118.96114, - 40.72008 - ], - [ - 118.950053, - 40.747743 - ], - [ - 118.895234, - 40.75409 - ], - [ - 118.907553, - 40.775394 - ], - [ - 118.878604, - 40.783098 - ], - [ - 118.845959, - 40.822057 - ], - [ - 118.873061, - 40.847866 - ], - [ - 118.90201, - 40.960946 - ], - [ - 118.916792, - 40.969984 - ], - [ - 118.977154, - 40.959138 - ], - [ - 118.977154, - 40.959138 - ], - [ - 119.00056, - 40.967273 - ], - [ - 119.013495, - 41.007479 - ], - [ - 118.951901, - 41.018317 - ], - [ - 118.937118, - 41.052625 - ], - [ - 118.964836, - 41.079246 - ], - [ - 119.037516, - 41.067516 - ], - [ - 119.080632, - 41.095936 - ], - [ - 119.081248, - 41.131555 - ], - [ - 119.126212, - 41.138767 - ], - [ - 119.189038, - 41.198234 - ], - [ - 119.169943, - 41.222996 - ], - [ - 119.204436, - 41.222546 - ], - [ - 119.209364, - 41.244599 - ], - [ - 119.2494, - 41.279689 - ], - [ - 119.239545, - 41.31431 - ], - [ - 119.211827, - 41.308016 - ], - [ - 119.197661, - 41.282837 - ], - [ - 119.168712, - 41.294978 - ], - [ - 119.092951, - 41.293629 - ], - [ - 118.980234, - 41.305769 - ], - [ - 118.949437, - 41.317906 - ], - [ - 118.890923, - 41.300823 - ], - [ - 118.844727, - 41.342622 - ], - [ - 118.843496, - 41.374516 - ], - [ - 118.770199, - 41.352956 - ], - [ - 118.741866, - 41.324198 - ], - [ - 118.677192, - 41.35026 - ], - [ - 118.629765, - 41.346666 - ], - [ - 118.528135, - 41.355202 - ], - [ - 118.412338, - 41.331838 - ], - [ - 118.380309, - 41.312062 - ], - [ - 118.348896, - 41.342622 - ], - [ - 118.361215, - 41.384844 - ], - [ - 118.348896, - 41.428384 - ], - [ - 118.327338, - 41.450816 - ], - [ - 118.271904, - 41.471446 - ], - [ - 118.315636, - 41.512688 - ], - [ - 118.302701, - 41.55256 - ], - [ - 118.215237, - 41.59554 - ], - [ - 118.206614, - 41.650566 - ], - [ - 118.159187, - 41.67605 - ], - [ - 118.155491, - 41.712694 - ], - [ - 118.132702, - 41.733241 - ], - [ - 118.140093, - 41.784134 - ], - [ - 118.178281, - 41.814917 - ], - [ - 118.236179, - 41.80778 - ], - [ - 118.247266, - 41.773869 - ], - [ - 118.29223, - 41.772976 - ], - [ - 118.335346, - 41.845241 - ], - [ - 118.340273, - 41.87243 - ], - [ - 118.268824, - 41.930336 - ], - [ - 118.306396, - 41.940131 - ], - [ - 118.313788, - 41.98819 - ], - [ - 118.291614, - 42.007759 - ], - [ - 118.239875, - 42.024655 - ], - [ - 118.286686, - 42.033991 - ], - [ - 118.296541, - 42.057545 - ], - [ - 118.27252, - 42.083312 - ], - [ - 118.239259, - 42.092639 - ], - [ - 118.212774, - 42.081091 - ], - [ - 118.220165, - 42.058434 - ], - [ - 118.194296, - 42.031324 - ], - [ - 118.116687, - 42.037102 - ], - [ - 118.155491, - 42.081091 - ], - [ - 118.097593, - 42.105072 - ], - [ - 118.089586, - 42.12283 - ], - [ - 118.106216, - 42.172082 - ], - [ - 118.033535, - 42.199132 - ], - [ - 117.977485, - 42.229716 - ], - [ - 117.974405, - 42.25054 - ], - [ - 118.047702, - 42.280656 - ], - [ - 118.060021, - 42.298364 - ], - [ - 118.008898, - 42.346595 - ], - [ - 118.024296, - 42.385064 - ], - [ - 117.997811, - 42.416884 - ], - [ - 117.874007, - 42.510038 - ], - [ - 117.856761, - 42.539148 - ], - [ - 117.797631, - 42.585431 - ], - [ - 117.801326, - 42.612744 - ], - [ - 117.779768, - 42.61847 - ], - [ - 117.708935, - 42.588515 - ], - [ - 117.667051, - 42.582347 - ], - [ - 117.60053, - 42.603054 - ], - [ - 117.537088, - 42.603054 - ], - [ - 117.530313, - 42.590278 - ], - [ - 117.475494, - 42.602613 - ], - [ - 117.435458, - 42.585431 - ], - [ - 117.434226, - 42.557224 - ], - [ - 117.387415, - 42.517537 - ], - [ - 117.387415, - 42.517537 - ], - [ - 117.410205, - 42.519743 - ], - [ - 117.413284, - 42.471645 - ], - [ - 117.390495, - 42.461933 - ], - [ - 117.332596, - 42.46105 - ], - [ - 117.332596, - 42.46105 - ], - [ - 117.275314, - 42.481797 - ], - [ - 117.275314, - 42.481797 - ], - [ - 117.188467, - 42.468114 - ], - [ - 117.188467, - 42.468114 - ], - [ - 117.135496, - 42.468996 - ], - [ - 117.09546, - 42.484004 - ], - [ - 117.080061, - 42.463699 - ], - [ - 117.080061, - 42.463699 - ], - [ - 117.01662, - 42.456193 - ], - [ - 117.01662, - 42.456193 - ], - [ - 117.009228, - 42.44957 - ], - [ - 117.009228, - 42.44957 - ], - [ - 117.005533, - 42.43367 - ], - [ - 117.005533, - 42.43367 - ], - [ - 116.99075, - 42.425719 - ], - [ - 116.99075, - 42.425719 - ], - [ - 116.974736, - 42.426603 - ], - [ - 116.974736, - 42.426603 - ], - [ - 116.97104, - 42.427486 - ], - [ - 116.97104, - 42.427486 - ], - [ - 116.944555, - 42.415116 - ], - [ - 116.944555, - 42.415116 - ], - [ - 116.936547, - 42.410256 - ], - [ - 116.936547, - 42.410256 - ], - [ - 116.921765, - 42.403628 - ], - [ - 116.921765, - 42.403628 - ], - [ - 116.910062, - 42.395231 - ], - [ - 116.910062, - 42.395231 - ], - [ - 116.910678, - 42.394789 - ], - [ - 116.910678, - 42.394789 - ], - [ - 116.886656, - 42.366496 - ], - [ - 116.897743, - 42.297479 - ], - [ - 116.918685, - 42.229716 - ], - [ - 116.903287, - 42.190708 - ], - [ - 116.789338, - 42.200462 - ], - [ - 116.825062, - 42.155669 - ], - [ - 116.850316, - 42.156556 - ], - [ - 116.890352, - 42.092639 - ], - [ - 116.879881, - 42.018431 - ], - [ - 116.796113, - 41.977958 - ], - [ - 116.748686, - 41.984186 - ], - [ - 116.727744, - 41.951259 - ], - [ - 116.66923, - 41.947698 - ], - [ - 116.639049, - 41.929891 - ], - [ - 116.597165, - 41.935679 - ], - [ - 116.553433, - 41.928555 - ], - [ - 116.510933, - 41.974399 - ], - [ - 116.4826, - 41.975734 - ], - [ - 116.453651, - 41.945917 - ], - [ - 116.393289, - 41.942802 - ], - [ - 116.414231, - 41.982407 - ], - [ - 116.373579, - 42.009983 - ], - [ - 116.310137, - 41.997086 - ], - [ - 116.298434, - 41.96817 - ], - [ - 116.223906, - 41.932562 - ], - [ - 116.212819, - 41.885352 - ], - [ - 116.194341, - 41.861734 - ], - [ - 116.122892, - 41.861734 - ], - [ - 116.106877, - 41.831419 - ], - [ - 116.129051, - 41.805996 - ], - [ - 116.09887, - 41.776547 - ], - [ - 116.034196, - 41.782795 - ], - [ - 116.007095, - 41.79752 - ], - [ - 116.007095, - 41.797966 - ], - [ - 116.007095, - 41.79752 - ], - [ - 116.007095, - 41.797966 - ], - [ - 115.994776, - 41.828743 - ], - [ - 115.954124, - 41.874213 - ], - [ - 115.916552, - 41.945027 - ], - [ - 115.85311, - 41.927665 - ], - [ - 115.834632, - 41.93835 - ], - [ - 115.811226, - 41.912525 - ], - [ - 115.726227, - 41.870202 - ], - [ - 115.688038, - 41.867528 - ], - [ - 115.654162, - 41.829189 - ], - [ - 115.57409, - 41.80555 - ], - [ - 115.519887, - 41.76762 - ], - [ - 115.488474, - 41.760924 - ], - [ - 115.42996, - 41.728775 - ], - [ - 115.346808, - 41.712247 - ], - [ - 115.319091, - 41.691693 - ], - [ - 115.360975, - 41.661297 - ], - [ - 115.345576, - 41.635807 - ], - [ - 115.377605, - 41.603148 - ], - [ - 115.310468, - 41.592854 - ], - [ - 115.290142, - 41.622835 - ], - [ - 115.26612, - 41.616124 - ], - [ - 115.256881, - 41.580768 - ], - [ - 115.20391, - 41.571367 - ], - [ - 115.195287, - 41.602253 - ], - [ - 115.0992, - 41.62373 - ], - [ - 115.056085, - 41.602253 - ], - [ - 115.016049, - 41.615229 - ], - [ - 114.860832, - 41.60091 - ], - [ - 114.895325, - 41.636255 - ], - [ - 114.902716, - 41.695715 - ], - [ - 114.89594, - 41.76762 - ], - [ - 114.868839, - 41.813579 - ], - [ - 114.922426, - 41.825175 - ], - [ - 114.939056, - 41.846132 - ], - [ - 114.923658, - 41.871093 - ], - [ - 114.915035, - 41.960605 - ], - [ - 114.9021, - 42.015763 - ], - [ - 114.860832, - 42.054879 - ], - [ - 114.86268, - 42.097967 - ], - [ - 114.825723, - 42.139695 - ], - [ - 114.79431, - 42.149457 - ], - [ - 114.789383, - 42.130819 - ], - [ - 114.75489, - 42.115727 - ], - [ - 114.675434, - 42.12061 - ], - [ - 114.647717, - 42.109512 - ], - [ - 114.560254, - 42.132595 - ], - [ - 114.510978, - 42.110844 - ], - [ - 114.502355, - 42.06732 - ], - [ - 114.480181, - 42.064654 - ], - [ - 114.467863, - 42.025989 - ], - [ - 114.511594, - 41.981962 - ], - [ - 114.478334, - 41.951704 - ], - [ - 114.419203, - 41.942356 - ], - [ - 114.352066, - 41.953484 - ], - [ - 114.343443, - 41.926774 - ], - [ - 114.282465, - 41.863517 - ], - [ - 114.200545, - 41.789934 - ], - [ - 114.215328, - 41.75646 - ], - [ - 114.206704, - 41.7386 - ], - [ - 114.237501, - 41.698843 - ], - [ - 114.215328, - 41.68499 - ], - [ - 114.259059, - 41.623282 - ], - [ - 114.226414, - 41.616572 - ], - [ - 114.221487, - 41.582111 - ], - [ - 114.230726, - 41.513584 - ], - [ - 114.101379, - 41.537779 - ], - [ - 114.032394, - 41.529715 - ], - [ - 113.976959, - 41.505966 - ], - [ - 113.953553, - 41.483553 - ], - [ - 113.933227, - 41.487139 - ], - [ - 113.919677, - 41.454404 - ], - [ - 113.877793, - 41.431076 - ], - [ - 113.871017, - 41.413126 - ], - [ - 113.94493, - 41.392477 - ], - [ - 113.92522, - 41.325546 - ], - [ - 113.899351, - 41.316108 - ], - [ - 113.914749, - 41.294529 - ], - [ - 113.95109, - 41.282837 - ], - [ - 113.971416, - 41.239649 - ], - [ - 113.992357, - 41.269794 - ], - [ - 114.016379, - 41.231999 - ], - [ - 113.996669, - 41.19238 - ], - [ - 113.960945, - 41.171211 - ], - [ - 113.920293, - 41.172112 - ], - [ - 113.877793, - 41.115777 - ], - [ - 113.819279, - 41.09774 - ], - [ - 113.868554, - 41.06887 - ], - [ - 113.973263, - 40.983087 - ], - [ - 113.994821, - 40.938798 - ], - [ - 114.057647, - 40.925234 - ], - [ - 114.041633, - 40.917546 - ], - [ - 114.055183, - 40.867782 - ], - [ - 114.073661, - 40.857372 - ], - [ - 114.044712, - 40.830661 - ], - [ - 114.080437, - 40.790348 - ], - [ - 114.104458, - 40.797597 - ], - [ - 114.103227, - 40.770861 - ], - [ - 114.134639, - 40.737314 - ], - [ - 114.162357, - 40.71373 - ], - [ - 114.183299, - 40.67153 - ], - [ - 114.236269, - 40.607043 - ], - [ - 114.283081, - 40.590685 - ], - [ - 114.273842, - 40.552954 - ], - [ - 114.293552, - 40.55159 - ], - [ - 114.282465, - 40.494725 - ], - [ - 114.267066, - 40.474242 - ], - [ - 114.299711, - 40.44009 - ], - [ - 114.286161, - 40.425057 - ], - [ - 114.31203, - 40.372645 - ], - [ - 114.381015, - 40.36307 - ], - [ - 114.390254, - 40.351213 - ], - [ - 114.438914, - 40.371733 - ], - [ - 114.481413, - 40.34802 - ], - [ - 114.530688, - 40.345283 - ], - [ - 114.510978, - 40.302851 - ], - [ - 114.46971, - 40.268155 - ], - [ - 114.406269, - 40.246232 - ], - [ - 114.362537, - 40.249886 - ], - [ - 114.292936, - 40.230242 - ], - [ - 114.255364, - 40.236182 - ], - [ - 114.235654, - 40.198252 - ], - [ - 114.180219, - 40.191395 - ], - [ - 114.135871, - 40.175392 - ], - [ - 114.097683, - 40.193681 - ], - [ - 114.073046, - 40.168533 - ], - [ - 114.073046, - 40.168533 - ], - [ - 114.101995, - 40.099901 - ], - [ - 114.086596, - 40.071513 - ], - [ - 114.045944, - 40.056856 - ], - [ - 114.018227, - 40.103563 - ], - [ - 113.989278, - 40.11226 - ], - [ - 113.959097, - 40.033491 - ], - [ - 113.910438, - 40.015618 - ], - [ - 114.029314, - 39.985819 - ], - [ - 114.028082, - 39.959218 - ], - [ - 114.047176, - 39.916085 - ], - [ - 114.067502, - 39.922511 - ], - [ - 114.17406, - 39.897722 - ], - [ - 114.212248, - 39.918839 - ], - [ - 114.229494, - 39.899558 - ], - [ - 114.204241, - 39.885324 - ], - [ - 114.215943, - 39.8619 - ], - [ - 114.286776, - 39.871087 - ], - [ - 114.285545, - 39.858225 - ], - [ - 114.395182, - 39.867412 - ], - [ - 114.406885, - 39.833413 - ], - [ - 114.390254, - 39.819165 - ], - [ - 114.41674, - 39.775943 - ], - [ - 114.409964, - 39.761683 - ], - [ - 114.408117, - 39.652106 - ], - [ - 114.431522, - 39.613851 - ], - [ - 114.49558, - 39.608318 - ], - [ - 114.51529, - 39.564964 - ], - [ - 114.568877, - 39.573729 - ], - [ - 114.532536, - 39.486027 - ], - [ - 114.501739, - 39.476789 - ], - [ - 114.496812, - 39.438437 - ], - [ - 114.469095, - 39.400989 - ], - [ - 114.466631, - 39.329736 - ], - [ - 114.430906, - 39.307513 - ], - [ - 114.437066, - 39.259337 - ], - [ - 114.416124, - 39.242654 - ], - [ - 114.47587, - 39.21623 - ], - [ - 114.443841, - 39.174023 - ], - [ - 114.388406, - 39.176807 - ], - [ - 114.360689, - 39.134112 - ], - [ - 114.369928, - 39.107648 - ], - [ - 114.345907, - 39.075133 - ], - [ - 114.252284, - 39.073739 - ], - [ - 114.180835, - 39.049111 - ], - [ - 114.157429, - 39.061194 - ], - [ - 114.10877, - 39.052364 - ], - [ - 114.082901, - 39.09325 - ], - [ - 114.082901, - 39.09325 - ], - [ - 114.064422, - 39.094179 - ], - [ - 114.050872, - 39.135969 - ], - [ - 114.006524, - 39.122971 - ], - [ - 113.994821, - 39.095572 - ], - [ - 113.961561, - 39.100681 - ], - [ - 113.930148, - 39.063517 - ], - [ - 113.898119, - 39.067699 - ], - [ - 113.80696, - 38.989595 - ], - [ - 113.776779, - 38.986804 - ], - [ - 113.76754, - 38.959819 - ], - [ - 113.776163, - 38.885788 - ], - [ - 113.795257, - 38.860628 - ], - [ - 113.855619, - 38.828933 - ], - [ - 113.836525, - 38.795824 - ], - [ - 113.839605, - 38.7585 - ], - [ - 113.802648, - 38.763166 - ], - [ - 113.775547, - 38.709949 - ], - [ - 113.720728, - 38.713218 - ], - [ - 113.70225, - 38.651551 - ], - [ - 113.612939, - 38.645942 - ], - [ - 113.603084, - 38.587024 - ], - [ - 113.561816, - 38.558483 - ], - [ - 113.546417, - 38.492936 - ], - [ - 113.583374, - 38.459671 - ], - [ - 113.537794, - 38.417952 - ], - [ - 113.525475, - 38.383245 - ], - [ - 113.557504, - 38.343359 - ], - [ - 113.54457, - 38.270569 - ], - [ - 113.570439, - 38.237202 - ], - [ - 113.598772, - 38.22733 - ], - [ - 113.64312, - 38.232031 - ], - [ - 113.678844, - 38.20523 - ], - [ - 113.711489, - 38.213695 - ], - [ - 113.720728, - 38.174656 - ], - [ - 113.797105, - 38.162894 - ], - [ - 113.831597, - 38.16854 - ], - [ - 113.811271, - 38.117707 - ], - [ - 113.876561, - 38.055059 - ], - [ - 113.872249, - 37.990471 - ], - [ - 113.901198, - 37.984811 - ], - [ - 113.936307, - 37.922993 - ], - [ - 113.959097, - 37.906468 - ], - [ - 113.976959, - 37.816696 - ], - [ - 114.006524, - 37.813386 - ], - [ - 114.044712, - 37.761834 - ], - [ - 113.996669, - 37.730128 - ], - [ - 113.993589, - 37.706932 - ], - [ - 114.068118, - 37.721608 - ], - [ - 114.12848, - 37.698409 - ], - [ - 114.139567, - 37.675676 - ], - [ - 114.115545, - 37.619761 - ], - [ - 114.118625, - 37.59084 - ], - [ - 114.036705, - 37.494037 - ], - [ - 114.014531, - 37.42468 - ], - [ - 113.973879, - 37.40329 - ], - [ - 113.962792, - 37.355734 - ], - [ - 113.90243, - 37.310052 - ], - [ - 113.886416, - 37.239095 - ], - [ - 113.853155, - 37.215269 - ], - [ - 113.832213, - 37.167594 - ], - [ - 113.773083, - 37.151855 - ], - [ - 113.773699, - 37.107004 - ], - [ - 113.758301, - 37.075497 - ], - [ - 113.788482, - 37.059739 - ], - [ - 113.771851, - 37.016745 - ], - [ - 113.791561, - 36.98759 - ], - [ - 113.76138, - 36.956034 - ], - [ - 113.792793, - 36.894796 - ], - [ - 113.773083, - 36.85506 - ], - [ - 113.731815, - 36.858891 - ], - [ - 113.731815, - 36.878521 - ], - [ - 113.696707, - 36.882351 - ], - [ - 113.676381, - 36.855539 - ], - [ - 113.680692, - 36.789907 - ], - [ - 113.600004, - 36.752995 - ], - [ - 113.549497, - 36.752515 - ], - [ - 113.535946, - 36.732373 - ], - [ - 113.499606, - 36.740527 - ], - [ - 113.465113, - 36.707908 - ], - [ - 113.506997, - 36.705029 - ], - [ - 113.476816, - 36.655114 - ], - [ - 113.486671, - 36.635427 - ], - [ - 113.54457, - 36.62342 - ], - [ - 113.539642, - 36.594116 - ], - [ - 113.569823, - 36.585947 - ], - [ - 113.588917, - 36.547974 - ], - [ - 113.559968, - 36.528741 - ], - [ - 113.554425, - 36.494589 - ], - [ - 113.587069, - 36.460904 - ], - [ - 113.635729, - 36.451277 - ], - [ - 113.670221, - 36.425278 - ], - [ - 113.708409, - 36.423352 - ], - [ - 113.731199, - 36.363135 - ], - [ - 113.755221, - 36.366026 - ], - [ - 113.813119, - 36.332285 - ], - [ - 113.856851, - 36.329392 - ], - [ - 113.84946, - 36.347711 - ], - [ - 113.882104, - 36.353977 - ], - [ - 113.911054, - 36.314927 - ], - [ - 113.962792, - 36.353977 - ], - [ - 113.981887, - 36.31782 - ], - [ - 114.002828, - 36.334214 - ], - [ - 114.056415, - 36.329392 - ], - [ - 114.04348, - 36.303353 - ], - [ - 114.080437, - 36.269585 - ], - [ - 114.129096, - 36.280199 - ], - [ - 114.175907, - 36.264759 - ], - [ - 114.170364, - 36.245938 - ], - [ - 114.170364, - 36.245938 - ], - [ - 114.203009, - 36.245456 - ], - [ - 114.2104, - 36.272962 - ], - [ - 114.241197, - 36.251247 - ], - [ - 114.257827, - 36.263794 - ], - [ - 114.299095, - 36.245938 - ], - [ - 114.345291, - 36.255591 - ], - [ - 114.356378, - 36.230492 - ], - [ - 114.408117, - 36.224699 - ], - [ - 114.417356, - 36.205868 - ], - [ - 114.466015, - 36.197658 - ], - [ - 114.480181, - 36.177855 - ], - [ - 114.533152, - 36.171575 - ], - [ - 114.586739, - 36.141133 - ], - [ - 114.588587, - 36.118414 - ], - [ - 114.640326, - 36.137266 - ], - [ - 114.720398, - 36.140166 - ], - [ - 114.734564, - 36.15563 - ], - [ - 114.771521, - 36.124699 - ], - [ - 114.857752, - 36.127599 - ], - [ - 114.858368, - 36.144516 - ], - [ - 114.912571, - 36.140649 - ], - [ - 114.926737, - 36.089403 - ], - [ - 114.914419, - 36.052155 - ], - [ - 114.998186, - 36.069572 - ], - [ - 115.04623, - 36.112613 - ], - [ - 115.048693, - 36.161912 - ], - [ - 115.06286, - 36.178338 - ], - [ - 115.104744, - 36.172058 - ], - [ - 115.12507, - 36.209731 - ], - [ - 115.1842, - 36.193312 - ], - [ - 115.201446, - 36.210214 - ], - [ - 115.201446, - 36.210214 - ], - [ - 115.202678, - 36.209248 - ], - [ - 115.202678, - 36.209248 - ], - [ - 115.202678, - 36.208765 - ], - [ - 115.202678, - 36.208765 - ], - [ - 115.242098, - 36.19138 - ], - [ - 115.279055, - 36.13775 - ], - [ - 115.30246, - 36.127599 - ], - [ - 115.312931, - 36.088436 - ], - [ - 115.365902, - 36.099074 - ], - [ - 115.376989, - 36.128083 - ], - [ - 115.450902, - 36.152248 - ], - [ - 115.465068, - 36.170125 - ], - [ - 115.483547, - 36.148865 - ], - [ - 115.474923, - 36.248352 - ], - [ - 115.466916, - 36.258969 - ], - [ - 115.466916, - 36.258969 - ], - [ - 115.462605, - 36.276339 - ], - [ - 115.417025, - 36.292742 - ], - [ - 115.423185, - 36.32216 - ], - [ - 115.366518, - 36.30914 - ], - [ - 115.368982, - 36.342409 - ], - [ - 115.340033, - 36.398307 - ], - [ - 115.297533, - 36.413239 - ], - [ - 115.317243, - 36.454166 - ], - [ - 115.291374, - 36.460423 - ], - [ - 115.272895, - 36.497476 - ], - [ - 115.33141, - 36.550378 - ], - [ - 115.355431, - 36.627262 - ], - [ - 115.365902, - 36.621979 - ], - [ - 115.420105, - 36.686795 - ], - [ - 115.451518, - 36.702151 - ], - [ - 115.479851, - 36.760187 - ], - [ - 115.524815, - 36.763543 - ], - [ - 115.683727, - 36.808117 - ], - [ - 115.71206, - 36.883308 - ], - [ - 115.75764, - 36.902453 - ], - [ - 115.79706, - 36.968945 - ], - [ - 115.776734, - 36.992848 - ], - [ - 115.85619, - 37.060694 - ], - [ - 115.888219, - 37.112254 - ], - [ - 115.879596, - 37.150901 - ], - [ - 115.91224, - 37.177132 - ], - [ - 115.909777, - 37.20669 - ], - [ - 115.969523, - 37.239572 - ], - [ - 115.975682, - 37.337179 - ], - [ - 116.024341, - 37.360015 - ], - [ - 116.085935, - 37.373809 - ], - [ - 116.106261, - 37.368577 - ], - [ - 116.169087, - 37.384271 - ], - [ - 116.193109, - 37.365723 - ], - [ - 116.236224, - 37.361442 - ], - [ - 116.2855, - 37.404241 - ], - [ - 116.226369, - 37.428007 - ], - [ - 116.243, - 37.447965 - ], - [ - 116.224522, - 37.479791 - ], - [ - 116.240536, - 37.489764 - ], - [ - 116.240536, - 37.489764 - ], - [ - 116.27626, - 37.466967 - ], - [ - 116.290427, - 37.484065 - ], - [ - 116.278724, - 37.524895 - ], - [ - 116.295355, - 37.554316 - ], - [ - 116.336007, - 37.581355 - ], - [ - 116.36742, - 37.566177 - ], - [ - 116.379738, - 37.522047 - ], - [ - 116.38097, - 37.522522 - ], - [ - 116.379738, - 37.522047 - ], - [ - 116.38097, - 37.522522 - ], - [ - 116.433941, - 37.473142 - ], - [ - 116.448108, - 37.503059 - ], - [ - 116.4826, - 37.521573 - ], - [ - 116.575607, - 37.610754 - ], - [ - 116.604556, - 37.624975 - ], - [ - 116.66307, - 37.686096 - ], - [ - 116.679085, - 37.728708 - ], - [ - 116.724664, - 37.744327 - ], - [ - 116.753613, - 37.77035 - ], - [ - 116.753613, - 37.793054 - ], - [ - 116.804736, - 37.848837 - ], - [ - 116.837997, - 37.835132 - ], - [ - 116.919301, - 37.846002 - ], - [ - 117.027091, - 37.832296 - ], - [ - 117.074518, - 37.848837 - ], - [ - 117.150278, - 37.839385 - ], - [ - 117.185387, - 37.849783 - ], - [ - 117.271618, - 37.839858 - ], - [ - 117.320278, - 37.861596 - ], - [ - 117.400966, - 37.844584 - ], - [ - 117.438538, - 37.854035 - ], - [ - 117.481038, - 37.914967 - ], - [ - 117.513067, - 37.94329 - ], - [ - 117.524154, - 37.989527 - ], - [ - 117.557414, - 38.046105 - ], - [ - 117.557414, - 38.046105 - ], - [ - 117.586979, - 38.071551 - ], - [ - 117.704624, - 38.076262 - ], - [ - 117.746508, - 38.12524 - ], - [ - 117.771145, - 38.134655 - ], - [ - 117.766834, - 38.158658 - ], - [ - 117.789007, - 38.180772 - ], - [ - 117.808718, - 38.22827 - ], - [ - 117.848754, - 38.255062 - ], - [ - 117.895565, - 38.301572 - ], - [ - 117.948536, - 38.346644 - ], - [ - 117.957775, - 38.376208 - ], - [ - 117.937449, - 38.387936 - ], - [ - 117.84629, - 38.368232 - ], - [ - 117.781, - 38.373862 - ], - [ - 117.730493, - 38.424985 - ], - [ - 117.72495, - 38.457328 - ], - [ - 117.678754, - 38.477008 - ], - [ - 117.644878, - 38.52759 - ], - [ - 117.68553, - 38.539293 - ], - [ - 117.638102, - 38.54491 - ], - [ - 117.639334, - 38.626776 - ], - [ - 117.55803, - 38.613683 - ], - [ - 117.47919, - 38.616489 - ], - [ - 117.432379, - 38.601524 - ], - [ - 117.368937, - 38.564566 - ], - [ - 117.25314, - 38.556143 - ], - [ - 117.238358, - 38.580943 - ], - [ - 117.258684, - 38.608072 - ], - [ - 117.258684, - 38.608072 - ], - [ - 117.213104, - 38.639866 - ], - [ - 117.213104, - 38.639866 - ], - [ - 117.183539, - 38.61836 - ], - [ - 117.183539, - 38.61836 - ], - [ - 117.150894, - 38.617892 - ], - [ - 117.109626, - 38.584685 - ], - [ - 117.070822, - 38.608072 - ], - [ - 117.055424, - 38.639398 - ], - [ - 117.068358, - 38.680522 - ], - [ - 117.038793, - 38.688464 - ], - [ - 116.95133, - 38.689398 - ], - [ - 116.948866, - 38.689398 - ], - [ - 116.950714, - 38.689398 - ], - [ - 116.95133, - 38.689398 - ], - [ - 116.950714, - 38.689398 - ], - [ - 116.948866, - 38.689398 - ], - [ - 116.877417, - 38.680522 - ], - [ - 116.858939, - 38.741231 - ], - [ - 116.794265, - 38.744498 - ], - [ - 116.794265, - 38.744498 - ], - [ - 116.746222, - 38.754299 - ], - [ - 116.737599, - 38.784629 - ], - [ - 116.75115, - 38.831264 - ], - [ - 116.723432, - 38.852706 - ], - [ - 116.722201, - 38.896968 - ], - [ - 116.708034, - 38.931892 - ], - [ - 116.72836, - 38.975174 - ], - [ - 116.754845, - 39.003084 - ], - [ - 116.754229, - 39.034701 - ], - [ - 116.754229, - 39.034701 - ], - [ - 116.783179, - 39.05097 - ], - [ - 116.783179, - 39.05097 - ], - [ - 116.812744, - 39.05097 - ], - [ - 116.812744, - 39.05097 - ], - [ - 116.871874, - 39.054688 - ], - [ - 116.912526, - 39.110898 - ], - [ - 116.91191, - 39.111362 - ], - [ - 116.91191, - 39.111362 - ], - [ - 116.912526, - 39.110898 - ], - [ - 116.909446, - 39.150822 - ], - [ - 116.870026, - 39.153607 - ], - [ - 116.855859, - 39.215766 - ], - [ - 116.881729, - 39.225966 - ], - [ - 116.881729, - 39.225966 - ], - [ - 116.87249, - 39.291304 - ], - [ - 116.889736, - 39.338068 - ], - [ - 116.870642, - 39.357506 - ], - [ - 116.829374, - 39.338994 - ], - [ - 116.818287, - 39.3737 - ], - [ - 116.840461, - 39.378326 - ], - [ - 116.839845, - 39.413474 - ], - [ - 116.876185, - 39.43474 - ], - [ - 116.832454, - 39.435664 - ], - [ - 116.785026, - 39.465702 - ], - [ - 116.820751, - 39.482332 - ], - [ - 116.819519, - 39.528507 - ], - [ - 116.78749, - 39.554352 - ], - [ - 116.808432, - 39.576497 - ], - [ - 116.812128, - 39.615695 - ], - [ - 116.79057, - 39.595868 - ], - [ - 116.748686, - 39.619844 - ], - [ - 116.709266, - 39.618 - ], - [ - 116.726512, - 39.595407 - ], - [ - 116.726512, - 39.595407 - ], - [ - 116.724048, - 39.59264 - ], - [ - 116.723432, - 39.59264 - ], - [ - 116.724048, - 39.59264 - ], - [ - 116.723432, - 39.59264 - ], - [ - 116.664918, - 39.605552 - ], - [ - 116.620571, - 39.601863 - ], - [ - 116.592237, - 39.621227 - ], - [ - 116.592237, - 39.621227 - ], - [ - 116.524484, - 39.596329 - ], - [ - 116.50847, - 39.551122 - ], - [ - 116.473361, - 39.552968 - ], - [ - 116.478289, - 39.535431 - ], - [ - 116.437637, - 39.526661 - ], - [ - 116.443796, - 39.510041 - ], - [ - 116.401912, - 39.528046 - ], - [ - 116.411767, - 39.482794 - ], - [ - 116.444412, - 39.482332 - ], - [ - 116.454883, - 39.453226 - ], - [ - 116.434557, - 39.442597 - ], - [ - 116.361876, - 39.455074 - ], - [ - 116.361876, - 39.455074 - ], - [ - 116.337854, - 39.455536 - ], - [ - 116.307057, - 39.488337 - ], - [ - 116.257782, - 39.500344 - ], - [ - 116.240536, - 39.564041 - ], - [ - 116.198652, - 39.589412 - ], - [ - 116.151841, - 39.583416 - ], - [ - 116.130283, - 39.567732 - ], - [ - 116.09887, - 39.575113 - ], - [ - 116.036044, - 39.571884 - ], - [ - 116.026189, - 39.587567 - ], - [ - 115.995392, - 39.576958 - ], - [ - 115.978146, - 39.595868 - ], - [ - 115.957204, - 39.560812 - ], - [ - 115.910393, - 39.600479 - ], - [ - 115.910393, - 39.600479 - ], - [ - 115.91532, - 39.582955 - ], - [ - 115.91532, - 39.582955 - ], - [ - 115.867893, - 39.546507 - ], - [ - 115.867893, - 39.546507 - ], - [ - 115.828473, - 39.541431 - ], - [ - 115.821081, - 39.522968 - ], - [ - 115.821081, - 39.522968 - ], - [ - 115.806299, - 39.510041 - ], - [ - 115.806299, - 39.510041 - ], - [ - 115.752712, - 39.515581 - ], - [ - 115.738545, - 39.539585 - ], - [ - 115.738545, - 39.540046 - ], - [ - 115.738545, - 39.539585 - ], - [ - 115.738545, - 39.540046 - ], - [ - 115.724995, - 39.5442 - ], - [ - 115.724995, - 39.5442 - ], - [ - 115.722531, - 39.543738 - ], - [ - 115.721299, - 39.543738 - ], - [ - 115.722531, - 39.543738 - ], - [ - 115.722531, - 39.5442 - ], - [ - 115.721299, - 39.543738 - ], - [ - 115.722531, - 39.5442 - ], - [ - 115.720683, - 39.551122 - ], - [ - 115.720683, - 39.551122 - ], - [ - 115.718835, - 39.553891 - ], - [ - 115.718835, - 39.553891 - ], - [ - 115.716988, - 39.56035 - ], - [ - 115.716988, - 39.56035 - ], - [ - 115.699125, - 39.570039 - ], - [ - 115.699125, - 39.570039 - ], - [ - 115.698509, - 39.577881 - ], - [ - 115.698509, - 39.577881 - ], - [ - 115.667712, - 39.615234 - ], - [ - 115.633836, - 39.599557 - ], - [ - 115.633836, - 39.599557 - ], - [ - 115.587024, - 39.589873 - ], - [ - 115.545756, - 39.618922 - ], - [ - 115.518039, - 39.597252 - ], - [ - 115.522351, - 39.640124 - ], - [ - 115.478619, - 39.650723 - ], - [ - 115.478619, - 39.650723 - ], - [ - 115.491554, - 39.670074 - ], - [ - 115.486626, - 39.741899 - ], - [ - 115.439815, - 39.752022 - ], - [ - 115.443511, - 39.785601 - ], - [ - 115.483547, - 39.798477 - ], - [ - 115.483547, - 39.798477 - ], - [ - 115.50572, - 39.784222 - ], - [ - 115.552532, - 39.794799 - ], - [ - 115.567314, - 39.816407 - ], - [ - 115.514344, - 39.837549 - ], - [ - 115.526046, - 39.87568 - ], - [ - 115.515575, - 39.892212 - ], - [ - 115.515575, - 39.892212 - ], - [ - 115.522967, - 39.899099 - ], - [ - 115.481083, - 39.935819 - ], - [ - 115.426264, - 39.950502 - ], - [ - 115.428728, - 39.984443 - ], - [ - 115.450286, - 39.992697 - ], - [ - 115.454597, - 40.029825 - ], - [ - 115.485394, - 40.040364 - ], - [ - 115.527278, - 40.076092 - ], - [ - 115.59072, - 40.096239 - ], - [ - 115.599959, - 40.119583 - ], - [ - 115.75456, - 40.145663 - ], - [ - 115.75456, - 40.145663 - ], - [ - 115.773654, - 40.176307 - ], - [ - 115.806299, - 40.15344 - ], - [ - 115.847567, - 40.147036 - ], - [ - 115.855574, - 40.188652 - ], - [ - 115.870356, - 40.185909 - ], - [ - 115.89869, - 40.234354 - ], - [ - 115.968907, - 40.264045 - ], - [ - 115.95166, - 40.281852 - ], - [ - 115.917784, - 40.354405 - ], - [ - 115.864197, - 40.359422 - ], - [ - 115.771806, - 40.443734 - ], - [ - 115.781045, - 40.49336 - ], - [ - 115.736082, - 40.503372 - ], - [ - 115.755176, - 40.540221 - ], - [ - 115.784741, - 40.55841 - ], - [ - 115.819849, - 40.55932 - ], - [ - 115.827857, - 40.587504 - ], - [ - 115.885139, - 40.595229 - ], - [ - 115.907929, - 40.617493 - ], - [ - 115.971986, - 40.6025 - ], - [ - 115.982457, - 40.578868 - ], - [ - 116.005247, - 40.583868 - ], - [ - 116.09887, - 40.630665 - ], - [ - 116.133979, - 40.666536 - ], - [ - 116.162928, - 40.662451 - ], - [ - 116.171551, - 40.695582 - ], - [ - 116.204812, - 40.740035 - ], - [ - 116.22021, - 40.744115 - ], - [ - 116.247311, - 40.791707 - ], - [ - 116.273181, - 40.762703 - ], - [ - 116.311369, - 40.754996 - ], - [ - 116.316912, - 40.772221 - ], - [ - 116.453651, - 40.765876 - ], - [ - 116.46597, - 40.774487 - ], - [ - 116.438253, - 40.81934 - ], - [ - 116.334159, - 40.90443 - ], - [ - 116.339702, - 40.929303 - ], - [ - 116.370499, - 40.94377 - ], - [ - 116.398216, - 40.90624 - ], - [ - 116.477057, - 40.899907 - ], - [ - 116.447492, - 40.953715 - ], - [ - 116.455499, - 40.980828 - ], - [ - 116.519557, - 40.98128 - ], - [ - 116.519557, - 40.98128 - ], - [ - 116.5676, - 40.992574 - ], - [ - 116.598397, - 40.974503 - ], - [ - 116.623034, - 41.021026 - ], - [ - 116.615643, - 41.053076 - ], - [ - 116.647672, - 41.059394 - ], - [ - 116.688324, - 41.044501 - ], - [ - 116.698795, - 41.021477 - ], - [ - 116.677853, - 40.970888 - ], - [ - 116.722201, - 40.927495 - ], - [ - 116.713577, - 40.909858 - ], - [ - 116.759773, - 40.889954 - ], - [ - 116.81336, - 40.848319 - ], - [ - 116.848468, - 40.839264 - ], - [ - 116.924229, - 40.773581 - ], - [ - 116.926692, - 40.745022 - ], - [ - 116.964881, - 40.709647 - ], - [ - 117.012308, - 40.693767 - ], - [ - 117.11209, - 40.707379 - ], - [ - 117.117018, - 40.70012 - ], - [ - 117.208177, - 40.694675 - ], - [ - 117.278394, - 40.664267 - ], - [ - 117.319662, - 40.657911 - ], - [ - 117.342451, - 40.673799 - ], - [ - 117.408973, - 40.686961 - ], - [ - 117.493973, - 40.675161 - ], - [ - 117.514914, - 40.660181 - ], - [ - 117.501364, - 40.636569 - ], - [ - 117.467487, - 40.649738 - ], - [ - 117.467487, - 40.649738 - ] - ] - ], - [ - [ - [ - 117.210024, - 40.082045 - ], - [ - 117.204481, - 40.069681 - ], - [ - 117.159517, - 40.077008 - ], - [ - 117.140423, - 40.064185 - ], - [ - 117.105315, - 40.074261 - ], - [ - 117.105315, - 40.074261 - ], - [ - 117.051728, - 40.059605 - ], - [ - 117.025243, - 40.030283 - ], - [ - 116.945171, - 40.04128 - ], - [ - 116.927924, - 40.055024 - ], - [ - 116.867562, - 40.041739 - ], - [ - 116.831222, - 40.051359 - ], - [ - 116.820135, - 40.02845 - ], - [ - 116.781331, - 40.034866 - ], - [ - 116.757925, - 39.967934 - ], - [ - 116.782563, - 39.947749 - ], - [ - 116.78441, - 39.891294 - ], - [ - 116.812128, - 39.889916 - ], - [ - 116.865714, - 39.843982 - ], - [ - 116.907598, - 39.832494 - ], - [ - 116.918069, - 39.84628 - ], - [ - 116.949482, - 39.778703 - ], - [ - 116.902055, - 39.763523 - ], - [ - 116.916837, - 39.731314 - ], - [ - 116.887272, - 39.72533 - ], - [ - 116.889736, - 39.687576 - ], - [ - 116.90575, - 39.688037 - ], - [ - 116.932236, - 39.706456 - ], - [ - 116.932236, - 39.706456 - ], - [ - 116.944555, - 39.695405 - ], - [ - 116.944555, - 39.695405 - ], - [ - 116.948866, - 39.680668 - ], - [ - 116.948866, - 39.680668 - ], - [ - 116.964265, - 39.64335 - ], - [ - 116.983359, - 39.638742 - ], - [ - 116.983359, - 39.638742 - ], - [ - 117.016004, - 39.653949 - ], - [ - 117.10901, - 39.625375 - ], - [ - 117.10901, - 39.625375 - ], - [ - 117.152742, - 39.623532 - ], - [ - 117.177996, - 39.645194 - ], - [ - 117.165061, - 39.718886 - ], - [ - 117.165061, - 39.718886 - ], - [ - 117.161981, - 39.748801 - ], - [ - 117.205713, - 39.763984 - ], - [ - 117.15767, - 39.796638 - ], - [ - 117.156438, - 39.817326 - ], - [ - 117.192162, - 39.832953 - ], - [ - 117.251908, - 39.834332 - ], - [ - 117.247597, - 39.860981 - ], - [ - 117.227887, - 39.852712 - ], - [ - 117.162597, - 39.876598 - ], - [ - 117.162597, - 39.876598 - ], - [ - 117.150894, - 39.944996 - ], - [ - 117.198322, - 39.992697 - ], - [ - 117.192162, - 40.066475 - ], - [ - 117.210024, - 40.082045 - ] - ] - ], - [ - [ - [ - 117.784696, - 39.376938 - ], - [ - 117.765602, - 39.400527 - ], - [ - 117.699696, - 39.407463 - ], - [ - 117.673211, - 39.386652 - ], - [ - 117.668899, - 39.412087 - ], - [ - 117.614081, - 39.407001 - ], - [ - 117.601146, - 39.419485 - ], - [ - 117.570965, - 39.404689 - ], - [ - 117.521074, - 39.357043 - ], - [ - 117.536472, - 39.338068 - ], - [ - 117.594987, - 39.349176 - ], - [ - 117.669515, - 39.322792 - ], - [ - 117.670747, - 39.357969 - ], - [ - 117.74466, - 39.354729 - ], - [ - 117.784696, - 39.376938 - ] - ] - ], - [ - [ - [ - 118.869365, - 39.142932 - ], - [ - 118.82009, - 39.108576 - ], - [ - 118.857662, - 39.098824 - ], - [ - 118.869365, - 39.142932 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 140000, - "name": "山西省", - "center": [ - 112.549248, - 37.857014 - ], - "centroid": [ - 112.304436, - 37.618179 - ], - "childrenNum": 11, - "cp": [112.4121, 36.6611], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 3, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 110.379257, - 34.600612 - ], - [ - 110.424837, - 34.588295 - ], - [ - 110.488279, - 34.610956 - ], - [ - 110.533242, - 34.583368 - ], - [ - 110.610851, - 34.607508 - ], - [ - 110.710017, - 34.605045 - ], - [ - 110.749437, - 34.65232 - ], - [ - 110.791937, - 34.649858 - ], - [ - 110.824582, - 34.615881 - ], - [ - 110.883712, - 34.64395 - ], - [ - 110.903422, - 34.669056 - ], - [ - 110.920052, - 34.730068 - ], - [ - 110.976103, - 34.706456 - ], - [ - 111.035233, - 34.740887 - ], - [ - 111.118385, - 34.756623 - ], - [ - 111.148566, - 34.807742 - ], - [ - 111.232949, - 34.789559 - ], - [ - 111.255123, - 34.819535 - ], - [ - 111.29208, - 34.806759 - ], - [ - 111.345666, - 34.831816 - ], - [ - 111.389398, - 34.815113 - ], - [ - 111.439289, - 34.838202 - ], - [ - 111.502731, - 34.829851 - ], - [ - 111.543999, - 34.853428 - ], - [ - 111.570484, - 34.843114 - ], - [ - 111.592042, - 34.881416 - ], - [ - 111.617911, - 34.894671 - ], - [ - 111.646861, - 34.938836 - ], - [ - 111.681969, - 34.9511 - ], - [ - 111.664107, - 34.984449 - ], - [ - 111.740483, - 35.00455 - ], - [ - 111.807005, - 35.032977 - ], - [ - 111.810084, - 35.062374 - ], - [ - 111.933272, - 35.083435 - ], - [ - 111.97762, - 35.067272 - ], - [ - 112.018888, - 35.068742 - ], - [ - 112.039214, - 35.045717 - ], - [ - 112.062004, - 35.056005 - ], - [ - 112.05646, - 35.098615 - ], - [ - 112.066315, - 35.153437 - ], - [ - 112.03983, - 35.194039 - ], - [ - 112.078634, - 35.219467 - ], - [ - 112.058924, - 35.280069 - ], - [ - 112.13838, - 35.271275 - ], - [ - 112.21722, - 35.253195 - ], - [ - 112.242474, - 35.234622 - ], - [ - 112.304684, - 35.251728 - ], - [ - 112.288053, - 35.219956 - ], - [ - 112.36751, - 35.219956 - ], - [ - 112.390915, - 35.239021 - ], - [ - 112.513487, - 35.218489 - ], - [ - 112.637291, - 35.225822 - ], - [ - 112.628052, - 35.263457 - ], - [ - 112.720443, - 35.206265 - ], - [ - 112.772798, - 35.207732 - ], - [ - 112.822073, - 35.258082 - ], - [ - 112.884283, - 35.243909 - ], - [ - 112.934174, - 35.262968 - ], - [ - 112.936022, - 35.284466 - ], - [ - 112.992072, - 35.29619 - ], - [ - 112.985913, - 35.33965 - ], - [ - 112.996384, - 35.362104 - ], - [ - 113.067217, - 35.353806 - ], - [ - 113.126347, - 35.332327 - ], - [ - 113.149137, - 35.350878 - ], - [ - 113.165151, - 35.412845 - ], - [ - 113.185477, - 35.409431 - ], - [ - 113.189789, - 35.44893 - ], - [ - 113.243375, - 35.449418 - ], - [ - 113.304353, - 35.426989 - ], - [ - 113.31236, - 35.481101 - ], - [ - 113.348085, - 35.468429 - ], - [ - 113.391817, - 35.506925 - ], - [ - 113.439244, - 35.507412 - ], - [ - 113.49899, - 35.532254 - ], - [ - 113.513773, - 35.57364 - ], - [ - 113.55812, - 35.621816 - ], - [ - 113.547649, - 35.656835 - ], - [ - 113.578446, - 35.633491 - ], - [ - 113.625258, - 35.632518 - ], - [ - 113.622794, - 35.674825 - ], - [ - 113.592613, - 35.691838 - ], - [ - 113.587685, - 35.736542 - ], - [ - 113.604932, - 35.797727 - ], - [ - 113.582758, - 35.818111 - ], - [ - 113.660982, - 35.837035 - ], - [ - 113.637576, - 35.870019 - ], - [ - 113.654207, - 35.931586 - ], - [ - 113.648663, - 35.994073 - ], - [ - 113.678844, - 35.985841 - ], - [ - 113.694859, - 36.026991 - ], - [ - 113.660366, - 36.034735 - ], - [ - 113.68562, - 36.056026 - ], - [ - 113.671453, - 36.115514 - ], - [ - 113.655439, - 36.125182 - ], - [ - 113.712721, - 36.129533 - ], - [ - 113.705946, - 36.148865 - ], - [ - 113.651127, - 36.174473 - ], - [ - 113.697939, - 36.181719 - ], - [ - 113.681924, - 36.216491 - ], - [ - 113.716417, - 36.262347 - ], - [ - 113.712105, - 36.303353 - ], - [ - 113.736127, - 36.324571 - ], - [ - 113.731199, - 36.363135 - ], - [ - 113.708409, - 36.423352 - ], - [ - 113.670221, - 36.425278 - ], - [ - 113.635729, - 36.451277 - ], - [ - 113.587069, - 36.460904 - ], - [ - 113.554425, - 36.494589 - ], - [ - 113.559968, - 36.528741 - ], - [ - 113.588917, - 36.547974 - ], - [ - 113.569823, - 36.585947 - ], - [ - 113.539642, - 36.594116 - ], - [ - 113.54457, - 36.62342 - ], - [ - 113.486671, - 36.635427 - ], - [ - 113.476816, - 36.655114 - ], - [ - 113.506997, - 36.705029 - ], - [ - 113.465113, - 36.707908 - ], - [ - 113.499606, - 36.740527 - ], - [ - 113.535946, - 36.732373 - ], - [ - 113.549497, - 36.752515 - ], - [ - 113.600004, - 36.752995 - ], - [ - 113.680692, - 36.789907 - ], - [ - 113.676381, - 36.855539 - ], - [ - 113.696707, - 36.882351 - ], - [ - 113.731815, - 36.878521 - ], - [ - 113.731815, - 36.858891 - ], - [ - 113.773083, - 36.85506 - ], - [ - 113.792793, - 36.894796 - ], - [ - 113.76138, - 36.956034 - ], - [ - 113.791561, - 36.98759 - ], - [ - 113.771851, - 37.016745 - ], - [ - 113.788482, - 37.059739 - ], - [ - 113.758301, - 37.075497 - ], - [ - 113.773699, - 37.107004 - ], - [ - 113.773083, - 37.151855 - ], - [ - 113.832213, - 37.167594 - ], - [ - 113.853155, - 37.215269 - ], - [ - 113.886416, - 37.239095 - ], - [ - 113.90243, - 37.310052 - ], - [ - 113.962792, - 37.355734 - ], - [ - 113.973879, - 37.40329 - ], - [ - 114.014531, - 37.42468 - ], - [ - 114.036705, - 37.494037 - ], - [ - 114.118625, - 37.59084 - ], - [ - 114.115545, - 37.619761 - ], - [ - 114.139567, - 37.675676 - ], - [ - 114.12848, - 37.698409 - ], - [ - 114.068118, - 37.721608 - ], - [ - 113.993589, - 37.706932 - ], - [ - 113.996669, - 37.730128 - ], - [ - 114.044712, - 37.761834 - ], - [ - 114.006524, - 37.813386 - ], - [ - 113.976959, - 37.816696 - ], - [ - 113.959097, - 37.906468 - ], - [ - 113.936307, - 37.922993 - ], - [ - 113.901198, - 37.984811 - ], - [ - 113.872249, - 37.990471 - ], - [ - 113.876561, - 38.055059 - ], - [ - 113.811271, - 38.117707 - ], - [ - 113.831597, - 38.16854 - ], - [ - 113.797105, - 38.162894 - ], - [ - 113.720728, - 38.174656 - ], - [ - 113.711489, - 38.213695 - ], - [ - 113.678844, - 38.20523 - ], - [ - 113.64312, - 38.232031 - ], - [ - 113.598772, - 38.22733 - ], - [ - 113.570439, - 38.237202 - ], - [ - 113.54457, - 38.270569 - ], - [ - 113.557504, - 38.343359 - ], - [ - 113.525475, - 38.383245 - ], - [ - 113.537794, - 38.417952 - ], - [ - 113.583374, - 38.459671 - ], - [ - 113.546417, - 38.492936 - ], - [ - 113.561816, - 38.558483 - ], - [ - 113.603084, - 38.587024 - ], - [ - 113.612939, - 38.645942 - ], - [ - 113.70225, - 38.651551 - ], - [ - 113.720728, - 38.713218 - ], - [ - 113.775547, - 38.709949 - ], - [ - 113.802648, - 38.763166 - ], - [ - 113.839605, - 38.7585 - ], - [ - 113.836525, - 38.795824 - ], - [ - 113.855619, - 38.828933 - ], - [ - 113.795257, - 38.860628 - ], - [ - 113.776163, - 38.885788 - ], - [ - 113.76754, - 38.959819 - ], - [ - 113.776779, - 38.986804 - ], - [ - 113.80696, - 38.989595 - ], - [ - 113.898119, - 39.067699 - ], - [ - 113.930148, - 39.063517 - ], - [ - 113.961561, - 39.100681 - ], - [ - 113.994821, - 39.095572 - ], - [ - 114.006524, - 39.122971 - ], - [ - 114.050872, - 39.135969 - ], - [ - 114.064422, - 39.094179 - ], - [ - 114.082901, - 39.09325 - ], - [ - 114.082901, - 39.09325 - ], - [ - 114.10877, - 39.052364 - ], - [ - 114.157429, - 39.061194 - ], - [ - 114.180835, - 39.049111 - ], - [ - 114.252284, - 39.073739 - ], - [ - 114.345907, - 39.075133 - ], - [ - 114.369928, - 39.107648 - ], - [ - 114.360689, - 39.134112 - ], - [ - 114.388406, - 39.176807 - ], - [ - 114.443841, - 39.174023 - ], - [ - 114.47587, - 39.21623 - ], - [ - 114.416124, - 39.242654 - ], - [ - 114.437066, - 39.259337 - ], - [ - 114.430906, - 39.307513 - ], - [ - 114.466631, - 39.329736 - ], - [ - 114.469095, - 39.400989 - ], - [ - 114.496812, - 39.438437 - ], - [ - 114.501739, - 39.476789 - ], - [ - 114.532536, - 39.486027 - ], - [ - 114.568877, - 39.573729 - ], - [ - 114.51529, - 39.564964 - ], - [ - 114.49558, - 39.608318 - ], - [ - 114.431522, - 39.613851 - ], - [ - 114.408117, - 39.652106 - ], - [ - 114.409964, - 39.761683 - ], - [ - 114.41674, - 39.775943 - ], - [ - 114.390254, - 39.819165 - ], - [ - 114.406885, - 39.833413 - ], - [ - 114.395182, - 39.867412 - ], - [ - 114.285545, - 39.858225 - ], - [ - 114.286776, - 39.871087 - ], - [ - 114.215943, - 39.8619 - ], - [ - 114.204241, - 39.885324 - ], - [ - 114.229494, - 39.899558 - ], - [ - 114.212248, - 39.918839 - ], - [ - 114.17406, - 39.897722 - ], - [ - 114.067502, - 39.922511 - ], - [ - 114.047176, - 39.916085 - ], - [ - 114.028082, - 39.959218 - ], - [ - 114.029314, - 39.985819 - ], - [ - 113.910438, - 40.015618 - ], - [ - 113.959097, - 40.033491 - ], - [ - 113.989278, - 40.11226 - ], - [ - 114.018227, - 40.103563 - ], - [ - 114.045944, - 40.056856 - ], - [ - 114.086596, - 40.071513 - ], - [ - 114.101995, - 40.099901 - ], - [ - 114.073046, - 40.168533 - ], - [ - 114.073046, - 40.168533 - ], - [ - 114.097683, - 40.193681 - ], - [ - 114.135871, - 40.175392 - ], - [ - 114.180219, - 40.191395 - ], - [ - 114.235654, - 40.198252 - ], - [ - 114.255364, - 40.236182 - ], - [ - 114.292936, - 40.230242 - ], - [ - 114.362537, - 40.249886 - ], - [ - 114.406269, - 40.246232 - ], - [ - 114.46971, - 40.268155 - ], - [ - 114.510978, - 40.302851 - ], - [ - 114.530688, - 40.345283 - ], - [ - 114.481413, - 40.34802 - ], - [ - 114.438914, - 40.371733 - ], - [ - 114.390254, - 40.351213 - ], - [ - 114.381015, - 40.36307 - ], - [ - 114.31203, - 40.372645 - ], - [ - 114.286161, - 40.425057 - ], - [ - 114.299711, - 40.44009 - ], - [ - 114.267066, - 40.474242 - ], - [ - 114.282465, - 40.494725 - ], - [ - 114.293552, - 40.55159 - ], - [ - 114.273842, - 40.552954 - ], - [ - 114.283081, - 40.590685 - ], - [ - 114.236269, - 40.607043 - ], - [ - 114.183299, - 40.67153 - ], - [ - 114.162357, - 40.71373 - ], - [ - 114.134639, - 40.737314 - ], - [ - 114.084748, - 40.729605 - ], - [ - 114.063806, - 40.706925 - ], - [ - 114.07243, - 40.679246 - ], - [ - 114.041633, - 40.608861 - ], - [ - 114.076741, - 40.575686 - ], - [ - 114.080437, - 40.547952 - ], - [ - 114.061959, - 40.52885 - ], - [ - 114.011452, - 40.515657 - ], - [ - 113.948626, - 40.514747 - ], - [ - 113.890112, - 40.466503 - ], - [ - 113.850691, - 40.460583 - ], - [ - 113.794641, - 40.517932 - ], - [ - 113.763228, - 40.473787 - ], - [ - 113.688699, - 40.448288 - ], - [ - 113.559968, - 40.348476 - ], - [ - 113.500222, - 40.334335 - ], - [ - 113.387505, - 40.319279 - ], - [ - 113.316672, - 40.319736 - ], - [ - 113.27602, - 40.388601 - ], - [ - 113.251382, - 40.413211 - ], - [ - 113.083231, - 40.374925 - ], - [ - 113.03334, - 40.368997 - ], - [ - 112.898449, - 40.329317 - ], - [ - 112.848558, - 40.206937 - ], - [ - 112.744464, - 40.167161 - ], - [ - 112.712436, - 40.178593 - ], - [ - 112.6299, - 40.235725 - ], - [ - 112.511639, - 40.269068 - ], - [ - 112.456205, - 40.300112 - ], - [ - 112.418017, - 40.295091 - ], - [ - 112.349031, - 40.257194 - ], - [ - 112.310227, - 40.256281 - ], - [ - 112.299756, - 40.21105 - ], - [ - 112.232619, - 40.169905 - ], - [ - 112.232003, - 40.133311 - ], - [ - 112.183344, - 40.083877 - ], - [ - 112.182112, - 40.061437 - ], - [ - 112.142076, - 40.027076 - ], - [ - 112.133453, - 40.001866 - ], - [ - 112.07617, - 39.919298 - ], - [ - 112.042294, - 39.886243 - ], - [ - 112.012729, - 39.827438 - ], - [ - 111.970229, - 39.796638 - ], - [ - 111.959758, - 39.692642 - ], - [ - 111.925265, - 39.66731 - ], - [ - 111.9382, - 39.623071 - ], - [ - 111.87907, - 39.606013 - ], - [ - 111.842729, - 39.620305 - ], - [ - 111.783599, - 39.58895 - ], - [ - 111.722621, - 39.606013 - ], - [ - 111.659179, - 39.641507 - ], - [ - 111.625303, - 39.633672 - ], - [ - 111.525521, - 39.662242 - ], - [ - 111.497187, - 39.661781 - ], - [ - 111.445448, - 39.640124 - ], - [ - 111.460847, - 39.606935 - ], - [ - 111.441137, - 39.59679 - ], - [ - 111.422043, - 39.539123 - ], - [ - 111.431282, - 39.508656 - ], - [ - 111.372152, - 39.479099 - ], - [ - 111.358601, - 39.432428 - ], - [ - 111.337043, - 39.420872 - ], - [ - 111.171971, - 39.423183 - ], - [ - 111.143022, - 39.407926 - ], - [ - 111.125776, - 39.366297 - ], - [ - 111.159037, - 39.362596 - ], - [ - 111.155341, - 39.338531 - ], - [ - 111.186138, - 39.35149 - ], - [ - 111.179363, - 39.326959 - ], - [ - 111.202152, - 39.305197 - ], - [ - 111.247732, - 39.302419 - ], - [ - 111.213239, - 39.257021 - ], - [ - 111.219399, - 39.244044 - ], - [ - 111.163348, - 39.152678 - ], - [ - 111.173819, - 39.135041 - ], - [ - 111.147334, - 39.100681 - ], - [ - 111.138095, - 39.064447 - ], - [ - 111.094363, - 39.030053 - ], - [ - 111.038313, - 39.020289 - ], - [ - 110.998276, - 38.998433 - ], - [ - 110.980414, - 38.970056 - ], - [ - 111.009979, - 38.932823 - ], - [ - 111.016755, - 38.889981 - ], - [ - 110.995813, - 38.868084 - ], - [ - 111.009363, - 38.847579 - ], - [ - 110.965016, - 38.755699 - ], - [ - 110.915125, - 38.704345 - ], - [ - 110.916357, - 38.673981 - ], - [ - 110.880632, - 38.626776 - ], - [ - 110.898494, - 38.587024 - ], - [ - 110.920052, - 38.581878 - ], - [ - 110.907733, - 38.521035 - ], - [ - 110.870777, - 38.510265 - ], - [ - 110.874473, - 38.453579 - ], - [ - 110.840596, - 38.439986 - ], - [ - 110.796864, - 38.453579 - ], - [ - 110.77777, - 38.440924 - ], - [ - 110.746973, - 38.366355 - ], - [ - 110.701394, - 38.353215 - ], - [ - 110.661358, - 38.308617 - ], - [ - 110.601612, - 38.308147 - ], - [ - 110.57759, - 38.297345 - ], - [ - 110.565887, - 38.215105 - ], - [ - 110.528315, - 38.211814 - ], - [ - 110.509221, - 38.192061 - ], - [ - 110.519692, - 38.130889 - ], - [ - 110.501829, - 38.097929 - ], - [ - 110.507989, - 38.013107 - ], - [ - 110.528315, - 37.990471 - ], - [ - 110.522771, - 37.955088 - ], - [ - 110.59422, - 37.922049 - ], - [ - 110.680452, - 37.790216 - ], - [ - 110.735886, - 37.77035 - ], - [ - 110.750669, - 37.736281 - ], - [ - 110.716792, - 37.728708 - ], - [ - 110.706321, - 37.705511 - ], - [ - 110.775306, - 37.680886 - ], - [ - 110.793169, - 37.650567 - ], - [ - 110.763604, - 37.639668 - ], - [ - 110.771611, - 37.594634 - ], - [ - 110.795017, - 37.558586 - ], - [ - 110.770995, - 37.538184 - ], - [ - 110.759292, - 37.474567 - ], - [ - 110.740198, - 37.44939 - ], - [ - 110.644111, - 37.435135 - ], - [ - 110.630561, - 37.372858 - ], - [ - 110.641648, - 37.360015 - ], - [ - 110.695234, - 37.34955 - ], - [ - 110.678604, - 37.317668 - ], - [ - 110.690307, - 37.287201 - ], - [ - 110.661974, - 37.281963 - ], - [ - 110.651503, - 37.256722 - ], - [ - 110.590525, - 37.187145 - ], - [ - 110.53509, - 37.138021 - ], - [ - 110.535706, - 37.115118 - ], - [ - 110.49567, - 37.086956 - ], - [ - 110.460561, - 37.044932 - ], - [ - 110.417446, - 37.027257 - ], - [ - 110.426685, - 37.008621 - ], - [ - 110.382953, - 37.022001 - ], - [ - 110.381721, - 37.002408 - ], - [ - 110.424221, - 36.963685 - ], - [ - 110.408823, - 36.892403 - ], - [ - 110.376178, - 36.882351 - ], - [ - 110.424221, - 36.855539 - ], - [ - 110.406975, - 36.824886 - ], - [ - 110.423605, - 36.818179 - ], - [ - 110.407591, - 36.776007 - ], - [ - 110.447011, - 36.737649 - ], - [ - 110.438388, - 36.685835 - ], - [ - 110.402663, - 36.697352 - ], - [ - 110.394656, - 36.676716 - ], - [ - 110.426685, - 36.657514 - ], - [ - 110.447627, - 36.621018 - ], - [ - 110.496902, - 36.582102 - ], - [ - 110.488895, - 36.556628 - ], - [ - 110.503677, - 36.488335 - ], - [ - 110.47288, - 36.453203 - ], - [ - 110.489511, - 36.430094 - ], - [ - 110.487047, - 36.393972 - ], - [ - 110.459946, - 36.327946 - ], - [ - 110.474112, - 36.306729 - ], - [ - 110.474112, - 36.248352 - ], - [ - 110.45625, - 36.22663 - ], - [ - 110.447011, - 36.164328 - ], - [ - 110.467953, - 36.074893 - ], - [ - 110.491974, - 36.034735 - ], - [ - 110.49259, - 35.994073 - ], - [ - 110.516612, - 35.971796 - ], - [ - 110.502445, - 35.947575 - ], - [ - 110.516612, - 35.918501 - ], - [ - 110.511684, - 35.879718 - ], - [ - 110.549257, - 35.877778 - ], - [ - 110.550489, - 35.838005 - ], - [ - 110.571431, - 35.800639 - ], - [ - 110.57759, - 35.701559 - ], - [ - 110.609619, - 35.632031 - ], - [ - 110.589293, - 35.602355 - ], - [ - 110.567735, - 35.539559 - ], - [ - 110.531394, - 35.511309 - ], - [ - 110.477808, - 35.413821 - ], - [ - 110.45009, - 35.327933 - ], - [ - 110.374946, - 35.251728 - ], - [ - 110.378642, - 35.210666 - ], - [ - 110.364475, - 35.197952 - ], - [ - 110.373714, - 35.134351 - ], - [ - 110.320743, - 35.00504 - ], - [ - 110.262229, - 34.944233 - ], - [ - 110.230816, - 34.880925 - ], - [ - 110.246831, - 34.789068 - ], - [ - 110.243135, - 34.725641 - ], - [ - 110.229584, - 34.692679 - ], - [ - 110.269004, - 34.629671 - ], - [ - 110.29549, - 34.610956 - ], - [ - 110.379257, - 34.600612 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 150000, - "name": "内蒙古自治区", - "center": [ - 111.670801, - 40.818311 - ], - "centroid": [ - 114.077429, - 44.331087 - ], - "childrenNum": 12, - "cp": [110.5977, 41.3408], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 4, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "Polygon", - "coordinates": [ - [ - [ - 97.172903, - 42.795257 - ], - [ - 97.371235, - 42.457076 - ], - [ - 97.500582, - 42.243894 - ], - [ - 97.653335, - 41.986856 - ], - [ - 97.84674, - 41.656379 - ], - [ - 97.613915, - 41.477276 - ], - [ - 97.629314, - 41.440498 - ], - [ - 97.903407, - 41.168057 - ], - [ - 97.971776, - 41.09774 - ], - [ - 98.142391, - 41.001607 - ], - [ - 98.184891, - 40.988056 - ], - [ - 98.25018, - 40.93925 - ], - [ - 98.333332, - 40.918903 - ], - [ - 98.344419, - 40.568413 - ], - [ - 98.627751, - 40.677884 - ], - [ - 98.569853, - 40.746836 - ], - [ - 98.668403, - 40.773128 - ], - [ - 98.689345, - 40.691952 - ], - [ - 98.72199, - 40.657911 - ], - [ - 98.762642, - 40.639748 - ], - [ - 98.802678, - 40.607043 - ], - [ - 98.80699, - 40.660181 - ], - [ - 98.790975, - 40.705564 - ], - [ - 98.984996, - 40.782644 - ], - [ - 99.041662, - 40.693767 - ], - [ - 99.102025, - 40.676522 - ], - [ - 99.12543, - 40.715091 - ], - [ - 99.172858, - 40.747289 - ], - [ - 99.174705, - 40.858278 - ], - [ - 99.565827, - 40.846961 - ], - [ - 99.673, - 40.93292 - ], - [ - 99.985897, - 40.909858 - ], - [ - 100.057346, - 40.908049 - ], - [ - 100.107853, - 40.875475 - ], - [ - 100.224882, - 40.727337 - ], - [ - 100.237201, - 40.716905 - ], - [ - 100.242744, - 40.618855 - ], - [ - 100.169447, - 40.541131 - ], - [ - 100.169447, - 40.277743 - ], - [ - 100.007455, - 40.20008 - ], - [ - 99.955716, - 40.150695 - ], - [ - 99.927383, - 40.063727 - ], - [ - 99.841152, - 40.013326 - ], - [ - 99.751225, - 40.006909 - ], - [ - 99.714268, - 39.972061 - ], - [ - 99.533182, - 39.891753 - ], - [ - 99.491298, - 39.884406 - ], - [ - 99.459885, - 39.898181 - ], - [ - 99.440791, - 39.885783 - ], - [ - 99.469124, - 39.875221 - ], - [ - 99.672384, - 39.888079 - ], - [ - 99.822058, - 39.860063 - ], - [ - 99.904593, - 39.785601 - ], - [ - 99.958796, - 39.769504 - ], - [ - 100.040716, - 39.757083 - ], - [ - 100.128179, - 39.702312 - ], - [ - 100.250135, - 39.685274 - ], - [ - 100.314193, - 39.606935 - ], - [ - 100.301258, - 39.572345 - ], - [ - 100.326512, - 39.509118 - ], - [ - 100.44354, - 39.485565 - ], - [ - 100.500823, - 39.481408 - ], - [ - 100.498975, - 39.400527 - ], - [ - 100.606764, - 39.387577 - ], - [ - 100.707778, - 39.404689 - ], - [ - 100.842053, - 39.405614 - ], - [ - 100.842669, - 39.199999 - ], - [ - 100.864227, - 39.106719 - ], - [ - 100.829118, - 39.075133 - ], - [ - 100.835278, - 39.025869 - ], - [ - 100.875314, - 39.002619 - ], - [ - 100.901799, - 39.030053 - ], - [ - 100.961545, - 39.005874 - ], - [ - 100.969553, - 38.946788 - ], - [ - 101.117378, - 38.975174 - ], - [ - 101.228863, - 39.020754 - ], - [ - 101.198682, - 38.943064 - ], - [ - 101.237486, - 38.907214 - ], - [ - 101.24303, - 38.860628 - ], - [ - 101.33542, - 38.847113 - ], - [ - 101.34158, - 38.822406 - ], - [ - 101.307087, - 38.80282 - ], - [ - 101.331109, - 38.777164 - ], - [ - 101.412413, - 38.764099 - ], - [ - 101.562702, - 38.713218 - ], - [ - 101.601506, - 38.65529 - ], - [ - 101.672955, - 38.6908 - ], - [ - 101.777049, - 38.66043 - ], - [ - 101.873751, - 38.733761 - ], - [ - 101.941505, - 38.808883 - ], - [ - 102.075164, - 38.891378 - ], - [ - 102.045599, - 38.904885 - ], - [ - 101.955055, - 38.985874 - ], - [ - 101.926106, - 39.000758 - ], - [ - 101.833715, - 39.08907 - ], - [ - 101.902701, - 39.111827 - ], - [ - 102.012338, - 39.127149 - ], - [ - 102.050526, - 39.141075 - ], - [ - 102.276576, - 39.188868 - ], - [ - 102.3548, - 39.231993 - ], - [ - 102.45335, - 39.255167 - ], - [ - 102.579002, - 39.183301 - ], - [ - 102.616574, - 39.171703 - ], - [ - 102.883892, - 39.120649 - ], - [ - 103.007696, - 39.099753 - ], - [ - 103.133347, - 39.192579 - ], - [ - 103.188166, - 39.215302 - ], - [ - 103.259615, - 39.263971 - ], - [ - 103.344615, - 39.331588 - ], - [ - 103.428998, - 39.353341 - ], - [ - 103.595302, - 39.386652 - ], - [ - 103.728961, - 39.430117 - ], - [ - 103.85338, - 39.461543 - ], - [ - 103.955626, - 39.456923 - ], - [ - 104.089901, - 39.419947 - ], - [ - 104.073271, - 39.351953 - ], - [ - 104.047401, - 39.297788 - ], - [ - 104.171205, - 39.160567 - ], - [ - 104.207546, - 39.083495 - ], - [ - 104.190915, - 39.042139 - ], - [ - 104.196459, - 38.9882 - ], - [ - 104.173053, - 38.94446 - ], - [ - 104.044322, - 38.895105 - ], - [ - 104.011677, - 38.85923 - ], - [ - 103.85954, - 38.64454 - ], - [ - 103.416063, - 38.404821 - ], - [ - 103.465339, - 38.353215 - ], - [ - 103.507838, - 38.280905 - ], - [ - 103.53494, - 38.156776 - ], - [ - 103.368636, - 38.08898 - ], - [ - 103.362477, - 38.037621 - ], - [ - 103.40744, - 37.860651 - ], - [ - 103.627947, - 37.797783 - ], - [ - 103.683381, - 37.777919 - ], - [ - 103.841062, - 37.64725 - ], - [ - 103.874938, - 37.604117 - ], - [ - 103.935916, - 37.572818 - ], - [ - 104.089285, - 37.465067 - ], - [ - 104.183524, - 37.406618 - ], - [ - 104.237727, - 37.411847 - ], - [ - 104.287002, - 37.428007 - ], - [ - 104.322726, - 37.44844 - ], - [ - 104.407726, - 37.464592 - ], - [ - 104.419429, - 37.511604 - ], - [ - 104.433595, - 37.515402 - ], - [ - 104.623305, - 37.522522 - ], - [ - 104.805007, - 37.539133 - ], - [ - 104.866601, - 37.566651 - ], - [ - 105.027977, - 37.580881 - ], - [ - 105.111128, - 37.633981 - ], - [ - 105.187505, - 37.657674 - ], - [ - 105.221998, - 37.677097 - ], - [ - 105.315004, - 37.702197 - ], - [ - 105.4037, - 37.710246 - ], - [ - 105.467141, - 37.695094 - ], - [ - 105.598952, - 37.699356 - ], - [ - 105.616199, - 37.722555 - ], - [ - 105.622358, - 37.777919 - ], - [ - 105.677177, - 37.771769 - ], - [ - 105.760944, - 37.799674 - ], - [ - 105.80406, - 37.862068 - ], - [ - 105.799749, - 37.939986 - ], - [ - 105.840401, - 38.004147 - ], - [ - 105.780655, - 38.084741 - ], - [ - 105.76772, - 38.121474 - ], - [ - 105.775111, - 38.186887 - ], - [ - 105.802828, - 38.220277 - ], - [ - 105.842248, - 38.240962 - ], - [ - 105.86627, - 38.296406 - ], - [ - 105.821307, - 38.366824 - ], - [ - 105.835473, - 38.387467 - ], - [ - 105.827466, - 38.432486 - ], - [ - 105.850872, - 38.443736 - ], - [ - 105.836705, - 38.476071 - ], - [ - 105.863806, - 38.53508 - ], - [ - 105.856415, - 38.569714 - ], - [ - 105.874277, - 38.593105 - ], - [ - 105.852719, - 38.641735 - ], - [ - 105.894603, - 38.696405 - ], - [ - 105.88598, - 38.716953 - ], - [ - 105.908154, - 38.737496 - ], - [ - 105.909386, - 38.791159 - ], - [ - 105.992538, - 38.857366 - ], - [ - 105.97098, - 38.909077 - ], - [ - 106.021487, - 38.953769 - ], - [ - 106.060907, - 38.96866 - ], - [ - 106.087392, - 39.006339 - ], - [ - 106.078153, - 39.026333 - ], - [ - 106.096631, - 39.084889 - ], - [ - 106.145907, - 39.153142 - ], - [ - 106.170544, - 39.163352 - ], - [ - 106.192718, - 39.142932 - ], - [ - 106.251232, - 39.131327 - ], - [ - 106.285109, - 39.146181 - ], - [ - 106.29558, - 39.167992 - ], - [ - 106.280181, - 39.262118 - ], - [ - 106.402753, - 39.291767 - ], - [ - 106.511774, - 39.272311 - ], - [ - 106.525325, - 39.308439 - ], - [ - 106.556122, - 39.322329 - ], - [ - 106.602318, - 39.37555 - ], - [ - 106.643586, - 39.357969 - ], - [ - 106.683622, - 39.357506 - ], - [ - 106.751375, - 39.381564 - ], - [ - 106.781556, - 39.371849 - ], - [ - 106.806809, - 39.318625 - ], - [ - 106.806193, - 39.277407 - ], - [ - 106.790795, - 39.241263 - ], - [ - 106.795723, - 39.214375 - ], - [ - 106.825288, - 39.19397 - ], - [ - 106.859164, - 39.107648 - ], - [ - 106.878874, - 39.091392 - ], - [ - 106.933693, - 39.076527 - ], - [ - 106.96757, - 39.054688 - ], - [ - 106.971881, - 39.026333 - ], - [ - 106.954019, - 38.941202 - ], - [ - 106.837606, - 38.847579 - ], - [ - 106.756302, - 38.748699 - ], - [ - 106.709491, - 38.718821 - ], - [ - 106.66268, - 38.601524 - ], - [ - 106.647897, - 38.470917 - ], - [ - 106.599854, - 38.389812 - ], - [ - 106.482209, - 38.319417 - ], - [ - 106.555506, - 38.263521 - ], - [ - 106.627571, - 38.232501 - ], - [ - 106.654672, - 38.22921 - ], - [ - 106.737824, - 38.197706 - ], - [ - 106.779092, - 38.171833 - ], - [ - 106.858548, - 38.156306 - ], - [ - 106.942316, - 38.132302 - ], - [ - 107.010069, - 38.120532 - ], - [ - 107.051337, - 38.122886 - ], - [ - 107.071047, - 38.138892 - ], - [ - 107.119091, - 38.134185 - ], - [ - 107.138801, - 38.161011 - ], - [ - 107.19054, - 38.153953 - ], - [ - 107.240431, - 38.111586 - ], - [ - 107.33159, - 38.086625 - ], - [ - 107.3938, - 38.014993 - ], - [ - 107.440611, - 37.995659 - ], - [ - 107.411662, - 37.948009 - ], - [ - 107.448618, - 37.933378 - ], - [ - 107.49235, - 37.944706 - ], - [ - 107.560719, - 37.893717 - ], - [ - 107.65003, - 37.86443 - ], - [ - 107.684523, - 37.888522 - ], - [ - 107.732566, - 37.84931 - ], - [ - 107.842819, - 37.828987 - ], - [ - 107.884703, - 37.808186 - ], - [ - 107.982022, - 37.787378 - ], - [ - 107.993109, - 37.735335 - ], - [ - 108.025753, - 37.696041 - ], - [ - 108.012819, - 37.66857 - ], - [ - 108.025137, - 37.649619 - ], - [ - 108.055318, - 37.652462 - ], - [ - 108.134159, - 37.622131 - ], - [ - 108.193905, - 37.638246 - ], - [ - 108.205608, - 37.655779 - ], - [ - 108.24626, - 37.665728 - ], - [ - 108.293071, - 37.656726 - ], - [ - 108.301078, - 37.640616 - ], - [ - 108.422418, - 37.648672 - ], - [ - 108.485244, - 37.678044 - ], - [ - 108.532671, - 37.690832 - ], - [ - 108.628142, - 37.651988 - ], - [ - 108.699591, - 37.669518 - ], - [ - 108.720533, - 37.683728 - ], - [ - 108.777815, - 37.683728 - ], - [ - 108.791982, - 37.700303 - ], - [ - 108.784591, - 37.764673 - ], - [ - 108.799989, - 37.784068 - ], - [ - 108.791982, - 37.872934 - ], - [ - 108.798141, - 37.93385 - ], - [ - 108.82709, - 37.989056 - ], - [ - 108.797525, - 38.04799 - ], - [ - 108.830786, - 38.049875 - ], - [ - 108.883141, - 38.01405 - ], - [ - 108.893612, - 37.978207 - ], - [ - 108.93488, - 37.922521 - ], - [ - 108.9743, - 37.931962 - ], - [ - 108.982923, - 37.964053 - ], - [ - 109.018648, - 37.971602 - ], - [ - 109.037742, - 38.021593 - ], - [ - 109.06977, - 38.023008 - ], - [ - 109.050676, - 38.055059 - ], - [ - 109.069155, - 38.091336 - ], - [ - 108.964445, - 38.154894 - ], - [ - 108.938575, - 38.207582 - ], - [ - 108.976148, - 38.245192 - ], - [ - 108.961981, - 38.26493 - ], - [ - 109.007561, - 38.359316 - ], - [ - 109.051292, - 38.385122 - ], - [ - 109.054372, - 38.433892 - ], - [ - 109.128901, - 38.480288 - ], - [ - 109.175712, - 38.518694 - ], - [ - 109.196654, - 38.552867 - ], - [ - 109.276726, - 38.623035 - ], - [ - 109.331545, - 38.597783 - ], - [ - 109.367269, - 38.627711 - ], - [ - 109.329081, - 38.66043 - ], - [ - 109.338936, - 38.701542 - ], - [ - 109.404226, - 38.720689 - ], - [ - 109.444262, - 38.782763 - ], - [ - 109.511399, - 38.833595 - ], - [ - 109.549587, - 38.805618 - ], - [ - 109.624116, - 38.85457 - ], - [ - 109.672159, - 38.928167 - ], - [ - 109.685094, - 38.968195 - ], - [ - 109.665384, - 38.981687 - ], - [ - 109.72513, - 39.018429 - ], - [ - 109.762086, - 39.057476 - ], - [ - 109.793499, - 39.074204 - ], - [ - 109.851397, - 39.122971 - ], - [ - 109.890818, - 39.103932 - ], - [ - 109.92223, - 39.107183 - ], - [ - 109.893897, - 39.141075 - ], - [ - 109.961035, - 39.191651 - ], - [ - 109.871723, - 39.243581 - ], - [ - 109.90252, - 39.271848 - ], - [ - 109.962267, - 39.212056 - ], - [ - 110.041107, - 39.21623 - ], - [ - 110.109476, - 39.249606 - ], - [ - 110.217881, - 39.281113 - ], - [ - 110.184005, - 39.355192 - ], - [ - 110.161831, - 39.387115 - ], - [ - 110.136577, - 39.39174 - ], - [ - 110.12549, - 39.432891 - ], - [ - 110.152592, - 39.45415 - ], - [ - 110.243751, - 39.423645 - ], - [ - 110.257917, - 39.407001 - ], - [ - 110.385417, - 39.310291 - ], - [ - 110.429764, - 39.341308 - ], - [ - 110.434692, - 39.381101 - ], - [ - 110.482735, - 39.360745 - ], - [ - 110.524003, - 39.382952 - ], - [ - 110.559728, - 39.351027 - ], - [ - 110.566503, - 39.320014 - ], - [ - 110.596684, - 39.282966 - ], - [ - 110.626249, - 39.266751 - ], - [ - 110.702626, - 39.273701 - ], - [ - 110.731575, - 39.30705 - ], - [ - 110.73835, - 39.348713 - ], - [ - 110.782698, - 39.38804 - ], - [ - 110.869545, - 39.494341 - ], - [ - 110.891103, - 39.509118 - ], - [ - 110.958856, - 39.519275 - ], - [ - 111.017371, - 39.552045 - ], - [ - 111.101138, - 39.559428 - ], - [ - 111.136863, - 39.587106 - ], - [ - 111.154725, - 39.569116 - ], - [ - 111.148566, - 39.531277 - ], - [ - 111.10545, - 39.497573 - ], - [ - 111.10545, - 39.472631 - ], - [ - 111.058639, - 39.447681 - ], - [ - 111.064182, - 39.400989 - ], - [ - 111.098059, - 39.401914 - ], - [ - 111.087588, - 39.376013 - ], - [ - 111.125776, - 39.366297 - ], - [ - 111.143022, - 39.407926 - ], - [ - 111.171971, - 39.423183 - ], - [ - 111.337043, - 39.420872 - ], - [ - 111.358601, - 39.432428 - ], - [ - 111.372152, - 39.479099 - ], - [ - 111.431282, - 39.508656 - ], - [ - 111.422043, - 39.539123 - ], - [ - 111.441137, - 39.59679 - ], - [ - 111.460847, - 39.606935 - ], - [ - 111.445448, - 39.640124 - ], - [ - 111.497187, - 39.661781 - ], - [ - 111.525521, - 39.662242 - ], - [ - 111.625303, - 39.633672 - ], - [ - 111.659179, - 39.641507 - ], - [ - 111.722621, - 39.606013 - ], - [ - 111.783599, - 39.58895 - ], - [ - 111.842729, - 39.620305 - ], - [ - 111.87907, - 39.606013 - ], - [ - 111.9382, - 39.623071 - ], - [ - 111.925265, - 39.66731 - ], - [ - 111.959758, - 39.692642 - ], - [ - 111.970229, - 39.796638 - ], - [ - 112.012729, - 39.827438 - ], - [ - 112.042294, - 39.886243 - ], - [ - 112.07617, - 39.919298 - ], - [ - 112.133453, - 40.001866 - ], - [ - 112.142076, - 40.027076 - ], - [ - 112.182112, - 40.061437 - ], - [ - 112.183344, - 40.083877 - ], - [ - 112.232003, - 40.133311 - ], - [ - 112.232619, - 40.169905 - ], - [ - 112.299756, - 40.21105 - ], - [ - 112.310227, - 40.256281 - ], - [ - 112.349031, - 40.257194 - ], - [ - 112.418017, - 40.295091 - ], - [ - 112.456205, - 40.300112 - ], - [ - 112.511639, - 40.269068 - ], - [ - 112.6299, - 40.235725 - ], - [ - 112.712436, - 40.178593 - ], - [ - 112.744464, - 40.167161 - ], - [ - 112.848558, - 40.206937 - ], - [ - 112.898449, - 40.329317 - ], - [ - 113.03334, - 40.368997 - ], - [ - 113.083231, - 40.374925 - ], - [ - 113.251382, - 40.413211 - ], - [ - 113.27602, - 40.388601 - ], - [ - 113.316672, - 40.319736 - ], - [ - 113.387505, - 40.319279 - ], - [ - 113.500222, - 40.334335 - ], - [ - 113.559968, - 40.348476 - ], - [ - 113.688699, - 40.448288 - ], - [ - 113.763228, - 40.473787 - ], - [ - 113.794641, - 40.517932 - ], - [ - 113.850691, - 40.460583 - ], - [ - 113.890112, - 40.466503 - ], - [ - 113.948626, - 40.514747 - ], - [ - 114.011452, - 40.515657 - ], - [ - 114.061959, - 40.52885 - ], - [ - 114.080437, - 40.547952 - ], - [ - 114.076741, - 40.575686 - ], - [ - 114.041633, - 40.608861 - ], - [ - 114.07243, - 40.679246 - ], - [ - 114.063806, - 40.706925 - ], - [ - 114.084748, - 40.729605 - ], - [ - 114.134639, - 40.737314 - ], - [ - 114.103227, - 40.770861 - ], - [ - 114.104458, - 40.797597 - ], - [ - 114.080437, - 40.790348 - ], - [ - 114.044712, - 40.830661 - ], - [ - 114.073661, - 40.857372 - ], - [ - 114.055183, - 40.867782 - ], - [ - 114.041633, - 40.917546 - ], - [ - 114.057647, - 40.925234 - ], - [ - 113.994821, - 40.938798 - ], - [ - 113.973263, - 40.983087 - ], - [ - 113.868554, - 41.06887 - ], - [ - 113.819279, - 41.09774 - ], - [ - 113.877793, - 41.115777 - ], - [ - 113.920293, - 41.172112 - ], - [ - 113.960945, - 41.171211 - ], - [ - 113.996669, - 41.19238 - ], - [ - 114.016379, - 41.231999 - ], - [ - 113.992357, - 41.269794 - ], - [ - 113.971416, - 41.239649 - ], - [ - 113.95109, - 41.282837 - ], - [ - 113.914749, - 41.294529 - ], - [ - 113.899351, - 41.316108 - ], - [ - 113.92522, - 41.325546 - ], - [ - 113.94493, - 41.392477 - ], - [ - 113.871017, - 41.413126 - ], - [ - 113.877793, - 41.431076 - ], - [ - 113.919677, - 41.454404 - ], - [ - 113.933227, - 41.487139 - ], - [ - 113.953553, - 41.483553 - ], - [ - 113.976959, - 41.505966 - ], - [ - 114.032394, - 41.529715 - ], - [ - 114.101379, - 41.537779 - ], - [ - 114.230726, - 41.513584 - ], - [ - 114.221487, - 41.582111 - ], - [ - 114.226414, - 41.616572 - ], - [ - 114.259059, - 41.623282 - ], - [ - 114.215328, - 41.68499 - ], - [ - 114.237501, - 41.698843 - ], - [ - 114.206704, - 41.7386 - ], - [ - 114.215328, - 41.75646 - ], - [ - 114.200545, - 41.789934 - ], - [ - 114.282465, - 41.863517 - ], - [ - 114.343443, - 41.926774 - ], - [ - 114.352066, - 41.953484 - ], - [ - 114.419203, - 41.942356 - ], - [ - 114.478334, - 41.951704 - ], - [ - 114.511594, - 41.981962 - ], - [ - 114.467863, - 42.025989 - ], - [ - 114.480181, - 42.064654 - ], - [ - 114.502355, - 42.06732 - ], - [ - 114.510978, - 42.110844 - ], - [ - 114.560254, - 42.132595 - ], - [ - 114.647717, - 42.109512 - ], - [ - 114.675434, - 42.12061 - ], - [ - 114.75489, - 42.115727 - ], - [ - 114.789383, - 42.130819 - ], - [ - 114.79431, - 42.149457 - ], - [ - 114.825723, - 42.139695 - ], - [ - 114.86268, - 42.097967 - ], - [ - 114.860832, - 42.054879 - ], - [ - 114.9021, - 42.015763 - ], - [ - 114.915035, - 41.960605 - ], - [ - 114.923658, - 41.871093 - ], - [ - 114.939056, - 41.846132 - ], - [ - 114.922426, - 41.825175 - ], - [ - 114.868839, - 41.813579 - ], - [ - 114.89594, - 41.76762 - ], - [ - 114.902716, - 41.695715 - ], - [ - 114.895325, - 41.636255 - ], - [ - 114.860832, - 41.60091 - ], - [ - 115.016049, - 41.615229 - ], - [ - 115.056085, - 41.602253 - ], - [ - 115.0992, - 41.62373 - ], - [ - 115.195287, - 41.602253 - ], - [ - 115.20391, - 41.571367 - ], - [ - 115.256881, - 41.580768 - ], - [ - 115.26612, - 41.616124 - ], - [ - 115.290142, - 41.622835 - ], - [ - 115.310468, - 41.592854 - ], - [ - 115.377605, - 41.603148 - ], - [ - 115.345576, - 41.635807 - ], - [ - 115.360975, - 41.661297 - ], - [ - 115.319091, - 41.691693 - ], - [ - 115.346808, - 41.712247 - ], - [ - 115.42996, - 41.728775 - ], - [ - 115.488474, - 41.760924 - ], - [ - 115.519887, - 41.76762 - ], - [ - 115.57409, - 41.80555 - ], - [ - 115.654162, - 41.829189 - ], - [ - 115.688038, - 41.867528 - ], - [ - 115.726227, - 41.870202 - ], - [ - 115.811226, - 41.912525 - ], - [ - 115.834632, - 41.93835 - ], - [ - 115.85311, - 41.927665 - ], - [ - 115.916552, - 41.945027 - ], - [ - 115.954124, - 41.874213 - ], - [ - 115.994776, - 41.828743 - ], - [ - 116.007095, - 41.797966 - ], - [ - 116.007095, - 41.79752 - ], - [ - 116.034196, - 41.782795 - ], - [ - 116.09887, - 41.776547 - ], - [ - 116.129051, - 41.805996 - ], - [ - 116.106877, - 41.831419 - ], - [ - 116.122892, - 41.861734 - ], - [ - 116.194341, - 41.861734 - ], - [ - 116.212819, - 41.885352 - ], - [ - 116.223906, - 41.932562 - ], - [ - 116.298434, - 41.96817 - ], - [ - 116.310137, - 41.997086 - ], - [ - 116.373579, - 42.009983 - ], - [ - 116.414231, - 41.982407 - ], - [ - 116.393289, - 41.942802 - ], - [ - 116.453651, - 41.945917 - ], - [ - 116.4826, - 41.975734 - ], - [ - 116.510933, - 41.974399 - ], - [ - 116.553433, - 41.928555 - ], - [ - 116.597165, - 41.935679 - ], - [ - 116.639049, - 41.929891 - ], - [ - 116.66923, - 41.947698 - ], - [ - 116.727744, - 41.951259 - ], - [ - 116.748686, - 41.984186 - ], - [ - 116.796113, - 41.977958 - ], - [ - 116.879881, - 42.018431 - ], - [ - 116.890352, - 42.092639 - ], - [ - 116.850316, - 42.156556 - ], - [ - 116.825062, - 42.155669 - ], - [ - 116.789338, - 42.200462 - ], - [ - 116.903287, - 42.190708 - ], - [ - 116.918685, - 42.229716 - ], - [ - 116.897743, - 42.297479 - ], - [ - 116.886656, - 42.366496 - ], - [ - 116.910678, - 42.394789 - ], - [ - 116.910062, - 42.395231 - ], - [ - 116.921765, - 42.403628 - ], - [ - 116.936547, - 42.410256 - ], - [ - 116.944555, - 42.415116 - ], - [ - 116.97104, - 42.427486 - ], - [ - 116.974736, - 42.426603 - ], - [ - 116.99075, - 42.425719 - ], - [ - 117.005533, - 42.43367 - ], - [ - 117.009228, - 42.44957 - ], - [ - 117.01662, - 42.456193 - ], - [ - 117.080061, - 42.463699 - ], - [ - 117.09546, - 42.484004 - ], - [ - 117.135496, - 42.468996 - ], - [ - 117.188467, - 42.468114 - ], - [ - 117.275314, - 42.481797 - ], - [ - 117.332596, - 42.46105 - ], - [ - 117.390495, - 42.461933 - ], - [ - 117.413284, - 42.471645 - ], - [ - 117.410205, - 42.519743 - ], - [ - 117.387415, - 42.517537 - ], - [ - 117.434226, - 42.557224 - ], - [ - 117.435458, - 42.585431 - ], - [ - 117.475494, - 42.602613 - ], - [ - 117.530313, - 42.590278 - ], - [ - 117.537088, - 42.603054 - ], - [ - 117.60053, - 42.603054 - ], - [ - 117.667051, - 42.582347 - ], - [ - 117.708935, - 42.588515 - ], - [ - 117.779768, - 42.61847 - ], - [ - 117.801326, - 42.612744 - ], - [ - 117.797631, - 42.585431 - ], - [ - 117.856761, - 42.539148 - ], - [ - 117.874007, - 42.510038 - ], - [ - 117.997811, - 42.416884 - ], - [ - 118.024296, - 42.385064 - ], - [ - 118.008898, - 42.346595 - ], - [ - 118.060021, - 42.298364 - ], - [ - 118.047702, - 42.280656 - ], - [ - 117.974405, - 42.25054 - ], - [ - 117.977485, - 42.229716 - ], - [ - 118.033535, - 42.199132 - ], - [ - 118.106216, - 42.172082 - ], - [ - 118.089586, - 42.12283 - ], - [ - 118.097593, - 42.105072 - ], - [ - 118.155491, - 42.081091 - ], - [ - 118.116687, - 42.037102 - ], - [ - 118.194296, - 42.031324 - ], - [ - 118.220165, - 42.058434 - ], - [ - 118.212774, - 42.081091 - ], - [ - 118.239259, - 42.092639 - ], - [ - 118.27252, - 42.083312 - ], - [ - 118.296541, - 42.057545 - ], - [ - 118.286686, - 42.033991 - ], - [ - 118.239875, - 42.024655 - ], - [ - 118.291614, - 42.007759 - ], - [ - 118.313788, - 41.98819 - ], - [ - 118.306396, - 41.940131 - ], - [ - 118.268824, - 41.930336 - ], - [ - 118.340273, - 41.87243 - ], - [ - 118.335346, - 41.845241 - ], - [ - 118.29223, - 41.772976 - ], - [ - 118.247266, - 41.773869 - ], - [ - 118.236179, - 41.80778 - ], - [ - 118.178281, - 41.814917 - ], - [ - 118.140093, - 41.784134 - ], - [ - 118.132702, - 41.733241 - ], - [ - 118.155491, - 41.712694 - ], - [ - 118.159187, - 41.67605 - ], - [ - 118.206614, - 41.650566 - ], - [ - 118.215237, - 41.59554 - ], - [ - 118.302701, - 41.55256 - ], - [ - 118.315636, - 41.512688 - ], - [ - 118.271904, - 41.471446 - ], - [ - 118.327338, - 41.450816 - ], - [ - 118.348896, - 41.428384 - ], - [ - 118.361215, - 41.384844 - ], - [ - 118.348896, - 41.342622 - ], - [ - 118.380309, - 41.312062 - ], - [ - 118.412338, - 41.331838 - ], - [ - 118.528135, - 41.355202 - ], - [ - 118.629765, - 41.346666 - ], - [ - 118.677192, - 41.35026 - ], - [ - 118.741866, - 41.324198 - ], - [ - 118.770199, - 41.352956 - ], - [ - 118.843496, - 41.374516 - ], - [ - 118.844727, - 41.342622 - ], - [ - 118.890923, - 41.300823 - ], - [ - 118.949437, - 41.317906 - ], - [ - 118.980234, - 41.305769 - ], - [ - 119.092951, - 41.293629 - ], - [ - 119.168712, - 41.294978 - ], - [ - 119.197661, - 41.282837 - ], - [ - 119.211827, - 41.308016 - ], - [ - 119.239545, - 41.31431 - ], - [ - 119.296211, - 41.325097 - ], - [ - 119.330704, - 41.385293 - ], - [ - 119.309762, - 41.405944 - ], - [ - 119.376283, - 41.422102 - ], - [ - 119.378131, - 41.459787 - ], - [ - 119.401537, - 41.472343 - ], - [ - 119.406464, - 41.503276 - ], - [ - 119.361501, - 41.545841 - ], - [ - 119.362116, - 41.566442 - ], - [ - 119.420015, - 41.567785 - ], - [ - 119.415703, - 41.590169 - ], - [ - 119.342406, - 41.617914 - ], - [ - 119.307914, - 41.657273 - ], - [ - 119.299907, - 41.705545 - ], - [ - 119.319001, - 41.727435 - ], - [ - 119.317769, - 41.764049 - ], - [ - 119.292515, - 41.790827 - ], - [ - 119.312841, - 41.80555 - ], - [ - 119.334399, - 41.871539 - ], - [ - 119.323312, - 41.889807 - ], - [ - 119.340559, - 41.926774 - ], - [ - 119.323928, - 41.937014 - ], - [ - 119.324544, - 41.969505 - ], - [ - 119.375667, - 42.023322 - ], - [ - 119.384906, - 42.08953 - ], - [ - 119.352261, - 42.118391 - ], - [ - 119.314689, - 42.119723 - ], - [ - 119.30853, - 42.147239 - ], - [ - 119.286972, - 42.154781 - ], - [ - 119.277733, - 42.185387 - ], - [ - 119.237697, - 42.200905 - ], - [ - 119.274037, - 42.239021 - ], - [ - 119.280197, - 42.260728 - ], - [ - 119.34795, - 42.300578 - ], - [ - 119.432949, - 42.317396 - ], - [ - 119.482841, - 42.347037 - ], - [ - 119.502551, - 42.388159 - ], - [ - 119.540123, - 42.363401 - ], - [ - 119.572152, - 42.359421 - ], - [ - 119.571536, - 42.335536 - ], - [ - 119.539507, - 42.297922 - ], - [ - 119.557985, - 42.289068 - ], - [ - 119.609108, - 42.276671 - ], - [ - 119.617115, - 42.252755 - ], - [ - 119.679941, - 42.240793 - ], - [ - 119.744615, - 42.211545 - ], - [ - 119.841933, - 42.215534 - ], - [ - 119.854868, - 42.170308 - ], - [ - 119.837622, - 42.135257 - ], - [ - 119.845629, - 42.097079 - ], - [ - 119.87581, - 42.077982 - ], - [ - 119.897368, - 42.030879 - ], - [ - 119.921389, - 42.014429 - ], - [ - 119.924469, - 41.98908 - ], - [ - 119.950954, - 41.974399 - ], - [ - 119.954034, - 41.923212 - ], - [ - 119.989759, - 41.899163 - ], - [ - 120.023019, - 41.816701 - ], - [ - 120.041498, - 41.818932 - ], - [ - 120.050737, - 41.776101 - ], - [ - 120.024867, - 41.737707 - ], - [ - 120.035954, - 41.708226 - ], - [ - 120.096316, - 41.697056 - ], - [ - 120.1382, - 41.729221 - ], - [ - 120.127113, - 41.77253 - ], - [ - 120.183164, - 41.826513 - ], - [ - 120.188707, - 41.848361 - ], - [ - 120.215808, - 41.853265 - ], - [ - 120.251533, - 41.884016 - ], - [ - 120.286641, - 41.880005 - ], - [ - 120.290337, - 41.897381 - ], - [ - 120.260156, - 41.904062 - ], - [ - 120.271859, - 41.925439 - ], - [ - 120.318054, - 41.93746 - ], - [ - 120.309431, - 41.951704 - ], - [ - 120.373489, - 41.994862 - ], - [ - 120.399358, - 41.984631 - ], - [ - 120.456641, - 42.016208 - ], - [ - 120.450481, - 42.057101 - ], - [ - 120.493597, - 42.073539 - ], - [ - 120.466496, - 42.105516 - ], - [ - 120.56751, - 42.152119 - ], - [ - 120.58414, - 42.167203 - ], - [ - 120.624792, - 42.154338 - ], - [ - 120.72211, - 42.203565 - ], - [ - 120.745516, - 42.223512 - ], - [ - 120.79048, - 42.218636 - ], - [ - 120.820661, - 42.227943 - ], - [ - 120.8299, - 42.252755 - ], - [ - 120.883487, - 42.242565 - ], - [ - 120.883487, - 42.269585 - ], - [ - 120.933994, - 42.27977 - ], - [ - 120.992508, - 42.264714 - ], - [ - 121.028848, - 42.242565 - ], - [ - 121.070732, - 42.254083 - ], - [ - 121.087978, - 42.278885 - ], - [ - 121.120623, - 42.280656 - ], - [ - 121.133558, - 42.300135 - ], - [ - 121.184681, - 42.333324 - ], - [ - 121.218558, - 42.371802 - ], - [ - 121.285079, - 42.387717 - ], - [ - 121.314644, - 42.42837 - ], - [ - 121.304789, - 42.435879 - ], - [ - 121.386093, - 42.474294 - ], - [ - 121.434752, - 42.475176 - ], - [ - 121.4791, - 42.49636 - ], - [ - 121.506201, - 42.482239 - ], - [ - 121.570875, - 42.487093 - ], - [ - 121.607831, - 42.516214 - ], - [ - 121.604136, - 42.495037 - ], - [ - 121.66573, - 42.437204 - ], - [ - 121.69899, - 42.438529 - ], - [ - 121.747649, - 42.484887 - ], - [ - 121.803084, - 42.514891 - ], - [ - 121.817867, - 42.504303 - ], - [ - 121.831417, - 42.533856 - ], - [ - 121.844352, - 42.522389 - ], - [ - 121.889931, - 42.556784 - ], - [ - 121.921344, - 42.605697 - ], - [ - 121.915801, - 42.656332 - ], - [ - 121.94167, - 42.666014 - ], - [ - 121.939207, - 42.688453 - ], - [ - 122.018663, - 42.69901 - ], - [ - 122.062394, - 42.723635 - ], - [ - 122.072865, - 42.710444 - ], - [ - 122.160945, - 42.684934 - ], - [ - 122.204676, - 42.685374 - ], - [ - 122.204676, - 42.732867 - ], - [ - 122.261343, - 42.695931 - ], - [ - 122.324785, - 42.684934 - ], - [ - 122.338951, - 42.669975 - ], - [ - 122.396234, - 42.684054 - ], - [ - 122.396234, - 42.707366 - ], - [ - 122.460907, - 42.755282 - ], - [ - 122.439349, - 42.770221 - ], - [ - 122.371596, - 42.776371 - ], - [ - 122.35127, - 42.830378 - ], - [ - 122.436886, - 42.843105 - ], - [ - 122.556378, - 42.827745 - ], - [ - 122.576088, - 42.819405 - ], - [ - 122.580399, - 42.789987 - ], - [ - 122.624747, - 42.773296 - ], - [ - 122.653696, - 42.78252 - ], - [ - 122.733152, - 42.786034 - ], - [ - 122.73808, - 42.77066 - ], - [ - 122.786123, - 42.757479 - ], - [ - 122.848949, - 42.712203 - ], - [ - 122.883442, - 42.751766 - ], - [ - 122.887137, - 42.770221 - ], - [ - 122.925941, - 42.772417 - ], - [ - 122.945651, - 42.753524 - ], - [ - 122.980144, - 42.777689 - ], - [ - 123.058368, - 42.768903 - ], - [ - 123.118114, - 42.801405 - ], - [ - 123.227752, - 42.831695 - ], - [ - 123.169853, - 42.859777 - ], - [ - 123.188947, - 42.895739 - ], - [ - 123.18402, - 42.925983 - ], - [ - 123.259165, - 42.993431 - ], - [ - 123.323222, - 43.000872 - ], - [ - 123.434707, - 43.027565 - ], - [ - 123.474743, - 43.042438 - ], - [ - 123.536337, - 43.007 - ], - [ - 123.572678, - 43.003498 - ], - [ - 123.580685, - 43.036314 - ], - [ - 123.631192, - 43.088346 - ], - [ - 123.636119, - 43.141644 - ], - [ - 123.666916, - 43.179623 - ], - [ - 123.645974, - 43.208855 - ], - [ - 123.676771, - 43.223684 - ], - [ - 123.664453, - 43.264663 - ], - [ - 123.698329, - 43.272071 - ], - [ - 123.703873, - 43.37047 - ], - [ - 123.608402, - 43.366119 - ], - [ - 123.54496, - 43.415262 - ], - [ - 123.519707, - 43.402219 - ], - [ - 123.486446, - 43.44525 - ], - [ - 123.442098, - 43.437863 - ], - [ - 123.419925, - 43.410046 - ], - [ - 123.382968, - 43.469143 - ], - [ - 123.36449, - 43.483475 - ], - [ - 123.315831, - 43.492159 - ], - [ - 123.329998, - 43.519071 - ], - [ - 123.304744, - 43.550742 - ], - [ - 123.360179, - 43.567223 - ], - [ - 123.452569, - 43.545971 - ], - [ - 123.461193, - 43.568523 - ], - [ - 123.434091, - 43.575461 - ], - [ - 123.421157, - 43.598435 - ], - [ - 123.5117, - 43.592801 - ], - [ - 123.510468, - 43.624867 - ], - [ - 123.536953, - 43.633964 - ], - [ - 123.518475, - 43.682024 - ], - [ - 123.520323, - 43.708419 - ], - [ - 123.48275, - 43.737396 - ], - [ - 123.498149, - 43.771114 - ], - [ - 123.461809, - 43.822518 - ], - [ - 123.467968, - 43.853599 - ], - [ - 123.397135, - 43.954929 - ], - [ - 123.37065, - 43.970006 - ], - [ - 123.400831, - 43.979481 - ], - [ - 123.365722, - 44.013922 - ], - [ - 123.331229, - 44.028984 - ], - [ - 123.32815, - 44.084035 - ], - [ - 123.350939, - 44.092633 - ], - [ - 123.362642, - 44.133452 - ], - [ - 123.386664, - 44.161794 - ], - [ - 123.323838, - 44.179823 - ], - [ - 123.286882, - 44.211574 - ], - [ - 123.277027, - 44.25274 - ], - [ - 123.196955, - 44.34483 - ], - [ - 123.128585, - 44.367081 - ], - [ - 123.114419, - 44.40258 - ], - [ - 123.142136, - 44.428228 - ], - [ - 123.125506, - 44.455147 - ], - [ - 123.137209, - 44.486322 - ], - [ - 123.12489, - 44.5098 - ], - [ - 123.06576, - 44.505959 - ], - [ - 123.025108, - 44.493153 - ], - [ - 122.85634, - 44.398304 - ], - [ - 122.76087, - 44.369648 - ], - [ - 122.702971, - 44.319145 - ], - [ - 122.675254, - 44.285738 - ], - [ - 122.641993, - 44.283595 - ], - [ - 122.515726, - 44.251025 - ], - [ - 122.483081, - 44.236877 - ], - [ - 122.319241, - 44.233018 - ], - [ - 122.271198, - 44.255741 - ], - [ - 122.291524, - 44.310152 - ], - [ - 122.294604, - 44.41113 - ], - [ - 122.28598, - 44.477783 - ], - [ - 122.228082, - 44.480345 - ], - [ - 122.224386, - 44.526016 - ], - [ - 122.196053, - 44.559712 - ], - [ - 122.13138, - 44.577619 - ], - [ - 122.113517, - 44.615546 - ], - [ - 122.103046, - 44.67388 - ], - [ - 122.117213, - 44.701961 - ], - [ - 122.161561, - 44.728328 - ], - [ - 122.152322, - 44.744057 - ], - [ - 122.10243, - 44.736406 - ], - [ - 122.110438, - 44.767856 - ], - [ - 122.142467, - 44.753833 - ], - [ - 122.168952, - 44.770405 - ], - [ - 122.099967, - 44.7823 - ], - [ - 122.098119, - 44.81882 - ], - [ - 122.04946, - 44.912985 - ], - [ - 122.079025, - 44.914256 - ], - [ - 122.087032, - 44.95281 - ], - [ - 122.074713, - 45.006573 - ], - [ - 122.098735, - 45.02138 - ], - [ - 122.119677, - 45.068739 - ], - [ - 122.109822, - 45.142236 - ], - [ - 122.143082, - 45.183167 - ], - [ - 122.192358, - 45.180636 - ], - [ - 122.22993, - 45.206784 - ], - [ - 122.239169, - 45.276313 - ], - [ - 122.147394, - 45.295682 - ], - [ - 122.146778, - 45.374352 - ], - [ - 122.180039, - 45.409655 - ], - [ - 122.168336, - 45.439897 - ], - [ - 122.064242, - 45.472641 - ], - [ - 122.002648, - 45.507882 - ], - [ - 121.993409, - 45.552741 - ], - [ - 121.966308, - 45.596308 - ], - [ - 121.995873, - 45.59882 - ], - [ - 122.003264, - 45.623102 - ], - [ - 121.970004, - 45.692956 - ], - [ - 121.934279, - 45.71051 - ], - [ - 121.867142, - 45.719703 - ], - [ - 121.812323, - 45.704659 - ], - [ - 121.811091, - 45.687103 - ], - [ - 121.713773, - 45.701734 - ], - [ - 121.666345, - 45.727641 - ], - [ - 121.644172, - 45.752284 - ], - [ - 121.657106, - 45.770238 - ], - [ - 121.697142, - 45.76314 - ], - [ - 121.754425, - 45.794862 - ], - [ - 121.766744, - 45.830318 - ], - [ - 121.769823, - 45.84366 - ], - [ - 121.817251, - 45.875336 - ], - [ - 121.805548, - 45.900746 - ], - [ - 121.821562, - 45.918235 - ], - [ - 121.809243, - 45.961102 - ], - [ - 121.761816, - 45.998947 - ], - [ - 121.819098, - 46.023054 - ], - [ - 121.843736, - 46.024301 - ], - [ - 121.864062, - 46.002272 - ], - [ - 121.923808, - 46.004767 - ], - [ - 121.92812, - 45.988552 - ], - [ - 122.040221, - 45.959022 - ], - [ - 122.085184, - 45.912406 - ], - [ - 122.091344, - 45.882002 - ], - [ - 122.200981, - 45.857 - ], - [ - 122.236705, - 45.831569 - ], - [ - 122.253952, - 45.7982 - ], - [ - 122.301379, - 45.813218 - ], - [ - 122.337719, - 45.859917 - ], - [ - 122.372828, - 45.856166 - ], - [ - 122.362357, - 45.917403 - ], - [ - 122.446125, - 45.916986 - ], - [ - 122.496016, - 45.85825 - ], - [ - 122.504639, - 45.786933 - ], - [ - 122.522501, - 45.786933 - ], - [ - 122.556378, - 45.82156 - ], - [ - 122.603189, - 45.778169 - ], - [ - 122.640761, - 45.771072 - ], - [ - 122.650001, - 45.731401 - ], - [ - 122.671558, - 45.70048 - ], - [ - 122.741775, - 45.705077 - ], - [ - 122.751015, - 45.735996 - ], - [ - 122.792283, - 45.766063 - ], - [ - 122.752246, - 45.834905 - ], - [ - 122.772572, - 45.856583 - ], - [ - 122.80029, - 45.856583 - ], - [ - 122.828623, - 45.912406 - ], - [ - 122.792898, - 46.073313 - ], - [ - 123.04605, - 46.099878 - ], - [ - 123.070071, - 46.123527 - ], - [ - 123.112571, - 46.130163 - ], - [ - 123.102716, - 46.172037 - ], - [ - 123.127354, - 46.174523 - ], - [ - 123.128585, - 46.210565 - ], - [ - 123.178476, - 46.248239 - ], - [ - 123.142136, - 46.298293 - ], - [ - 123.089781, - 46.347888 - ], - [ - 123.011557, - 46.434984 - ], - [ - 123.010325, - 46.524823 - ], - [ - 123.002318, - 46.574624 - ], - [ - 123.052825, - 46.579972 - ], - [ - 123.04605, - 46.617803 - ], - [ - 123.077462, - 46.622324 - ], - [ - 123.098404, - 46.603002 - ], - [ - 123.18094, - 46.614103 - ], - [ - 123.228368, - 46.588198 - ], - [ - 123.279491, - 46.616981 - ], - [ - 123.276411, - 46.660947 - ], - [ - 123.318295, - 46.662179 - ], - [ - 123.366338, - 46.677784 - ], - [ - 123.474743, - 46.686817 - ], - [ - 123.603475, - 46.68928 - ], - [ - 123.631808, - 46.728675 - ], - [ - 123.629344, - 46.813524 - ], - [ - 123.580069, - 46.827447 - ], - [ - 123.625648, - 46.847508 - ], - [ - 123.599163, - 46.868378 - ], - [ - 123.605322, - 46.891286 - ], - [ - 123.576989, - 46.891286 - ], - [ - 123.575757, - 46.845461 - ], - [ - 123.562823, - 46.82581 - ], - [ - 123.506772, - 46.827038 - ], - [ - 123.483366, - 46.84587 - ], - [ - 123.52833, - 46.944836 - ], - [ - 123.487678, - 46.959951 - ], - [ - 123.42362, - 46.934212 - ], - [ - 123.337389, - 46.988943 - ], - [ - 123.301664, - 46.999965 - ], - [ - 123.304128, - 46.964852 - ], - [ - 123.360179, - 46.970978 - ], - [ - 123.404526, - 46.935438 - ], - [ - 123.40699, - 46.906416 - ], - [ - 123.374345, - 46.837683 - ], - [ - 123.341084, - 46.826628 - ], - [ - 123.295505, - 46.865105 - ], - [ - 123.221592, - 46.850373 - ], - [ - 123.22344, - 46.821305 - ], - [ - 123.198802, - 46.803283 - ], - [ - 123.163694, - 46.74016 - ], - [ - 123.103332, - 46.734828 - ], - [ - 123.076846, - 46.745082 - ], - [ - 123.026339, - 46.718829 - ], - [ - 123.00355, - 46.730726 - ], - [ - 122.996774, - 46.761483 - ], - [ - 122.906847, - 46.80738 - ], - [ - 122.893913, - 46.895376 - ], - [ - 122.895144, - 46.960359 - ], - [ - 122.83971, - 46.937072 - ], - [ - 122.791051, - 46.941567 - ], - [ - 122.798442, - 46.9575 - ], - [ - 122.77442, - 46.973837 - ], - [ - 122.778116, - 47.002822 - ], - [ - 122.845869, - 47.046881 - ], - [ - 122.852645, - 47.072158 - ], - [ - 122.821232, - 47.065636 - ], - [ - 122.710363, - 47.093349 - ], - [ - 122.679566, - 47.094164 - ], - [ - 122.615508, - 47.124306 - ], - [ - 122.582863, - 47.158092 - ], - [ - 122.531124, - 47.198771 - ], - [ - 122.498479, - 47.255262 - ], - [ - 122.462755, - 47.27841 - ], - [ - 122.441197, - 47.310476 - ], - [ - 122.418407, - 47.350632 - ], - [ - 122.507103, - 47.401291 - ], - [ - 122.543443, - 47.495589 - ], - [ - 122.59395, - 47.54732 - ], - [ - 122.765181, - 47.614333 - ], - [ - 122.848949, - 47.67441 - ], - [ - 122.926557, - 47.697777 - ], - [ - 123.041122, - 47.746492 - ], - [ - 123.161846, - 47.781892 - ], - [ - 123.214201, - 47.824502 - ], - [ - 123.256085, - 47.876711 - ], - [ - 123.300432, - 47.953723 - ], - [ - 123.537569, - 48.021816 - ], - [ - 123.579453, - 48.045427 - ], - [ - 123.705105, - 48.152142 - ], - [ - 123.746373, - 48.197638 - ], - [ - 123.862785, - 48.271782 - ], - [ - 124.019234, - 48.39313 - ], - [ - 124.07898, - 48.43603 - ], - [ - 124.136878, - 48.463023 - ], - [ - 124.25945, - 48.536385 - ], - [ - 124.314269, - 48.503881 - ], - [ - 124.302566, - 48.456673 - ], - [ - 124.330283, - 48.435633 - ], - [ - 124.309957, - 48.413393 - ], - [ - 124.331515, - 48.380015 - ], - [ - 124.317964, - 48.35099 - ], - [ - 124.353689, - 48.315978 - ], - [ - 124.365392, - 48.283731 - ], - [ - 124.422058, - 48.245884 - ], - [ - 124.412819, - 48.219175 - ], - [ - 124.418978, - 48.181679 - ], - [ - 124.475029, - 48.173698 - ], - [ - 124.471333, - 48.133373 - ], - [ - 124.430065, - 48.12099 - ], - [ - 124.415899, - 48.08782 - ], - [ - 124.46579, - 48.098213 - ], - [ - 124.478108, - 48.123387 - ], - [ - 124.505826, - 48.124985 - ], - [ - 124.529847, - 48.146951 - ], - [ - 124.512601, - 48.164518 - ], - [ - 124.547094, - 48.200829 - ], - [ - 124.579122, - 48.262221 - ], - [ - 124.558796, - 48.268197 - ], - [ - 124.579738, - 48.297269 - ], - [ - 124.540934, - 48.335476 - ], - [ - 124.547094, - 48.35775 - ], - [ - 124.51876, - 48.378027 - ], - [ - 124.52492, - 48.426897 - ], - [ - 124.507674, - 48.445558 - ], - [ - 124.555717, - 48.467784 - ], - [ - 124.533543, - 48.515379 - ], - [ - 124.548941, - 48.535593 - ], - [ - 124.520608, - 48.556195 - ], - [ - 124.579122, - 48.596582 - ], - [ - 124.601912, - 48.632587 - ], - [ - 124.624702, - 48.701755 - ], - [ - 124.612383, - 48.747945 - ], - [ - 124.656115, - 48.783842 - ], - [ - 124.644412, - 48.80789 - ], - [ - 124.654267, - 48.83429 - ], - [ - 124.697383, - 48.841775 - ], - [ - 124.715861, - 48.885475 - ], - [ - 124.709086, - 48.920487 - ], - [ - 124.744194, - 48.920487 - ], - [ - 124.756513, - 48.967262 - ], - [ - 124.808252, - 49.020666 - ], - [ - 124.828578, - 49.077933 - ], - [ - 124.809484, - 49.115943 - ], - [ - 124.847672, - 49.129651 - ], - [ - 124.860607, - 49.166448 - ], - [ - 124.906802, - 49.184054 - ], - [ - 124.983179, - 49.162535 - ], - [ - 125.039845, - 49.17623 - ], - [ - 125.034302, - 49.157056 - ], - [ - 125.117453, - 49.126127 - ], - [ - 125.158721, - 49.144921 - ], - [ - 125.187671, - 49.186792 - ], - [ - 125.219699, - 49.189139 - ], - [ - 125.227707, - 49.248947 - ], - [ - 125.214772, - 49.277066 - ], - [ - 125.261583, - 49.322336 - ], - [ - 125.256656, - 49.359769 - ], - [ - 125.277598, - 49.379644 - ], - [ - 125.25604, - 49.395227 - ], - [ - 125.256656, - 49.437275 - ], - [ - 125.270822, - 49.454395 - ], - [ - 125.228323, - 49.487063 - ], - [ - 125.211076, - 49.539908 - ], - [ - 125.233866, - 49.536801 - ], - [ - 125.23017, - 49.595411 - ], - [ - 125.205533, - 49.593859 - ], - [ - 125.16796, - 49.629923 - ], - [ - 125.15441, - 49.616741 - ], - [ - 125.127308, - 49.655113 - ], - [ - 125.132236, - 49.672157 - ], - [ - 125.164881, - 49.669446 - ], - [ - 125.189518, - 49.652401 - ], - [ - 125.185207, - 49.634574 - ], - [ - 125.219699, - 49.669058 - ], - [ - 125.225243, - 49.726349 - ], - [ - 125.204301, - 49.734086 - ], - [ - 125.221547, - 49.754969 - ], - [ - 125.222779, - 49.799026 - ], - [ - 125.177815, - 49.829533 - ], - [ - 125.239409, - 49.844587 - ], - [ - 125.225243, - 49.867351 - ], - [ - 125.245569, - 49.87198 - ], - [ - 125.212924, - 49.907452 - ], - [ - 125.225859, - 49.922481 - ], - [ - 125.199373, - 49.935194 - ], - [ - 125.190134, - 49.959841 - ], - [ - 125.231402, - 49.957531 - ], - [ - 125.241873, - 49.987938 - ], - [ - 125.278214, - 49.996402 - ], - [ - 125.297924, - 50.014481 - ], - [ - 125.283757, - 50.036012 - ], - [ - 125.25296, - 50.041393 - ], - [ - 125.289916, - 50.057917 - ], - [ - 125.315786, - 50.04562 - ], - [ - 125.328105, - 50.065985 - ], - [ - 125.283757, - 50.070211 - ], - [ - 125.287453, - 50.093636 - ], - [ - 125.258504, - 50.103618 - ], - [ - 125.27883, - 50.127411 - ], - [ - 125.311474, - 50.140453 - ], - [ - 125.376148, - 50.137385 - ], - [ - 125.335496, - 50.161161 - ], - [ - 125.382923, - 50.172278 - ], - [ - 125.39093, - 50.199868 - ], - [ - 125.417416, - 50.195654 - ], - [ - 125.448829, - 50.216338 - ], - [ - 125.442053, - 50.260357 - ], - [ - 125.466075, - 50.266861 - ], - [ - 125.463611, - 50.295925 - ], - [ - 125.530749, - 50.331085 - ], - [ - 125.520278, - 50.3498 - ], - [ - 125.546763, - 50.358965 - ], - [ - 125.522126, - 50.404759 - ], - [ - 125.536292, - 50.420014 - ], - [ - 125.567089, - 50.402852 - ], - [ - 125.583104, - 50.409717 - ], - [ - 125.562162, - 50.438314 - ], - [ - 125.580024, - 50.449366 - ], - [ - 125.627451, - 50.443268 - ], - [ - 125.654553, - 50.471082 - ], - [ - 125.699516, - 50.487078 - ], - [ - 125.740784, - 50.523237 - ], - [ - 125.754335, - 50.506874 - ], - [ - 125.770349, - 50.531227 - ], - [ - 125.794987, - 50.532748 - ], - [ - 125.829479, - 50.56165 - ], - [ - 125.807921, - 50.60383 - ], - [ - 125.814697, - 50.62092 - ], - [ - 125.793139, - 50.643316 - ], - [ - 125.804226, - 50.658874 - ], - [ - 125.789443, - 50.679735 - ], - [ - 125.825784, - 50.70362 - ], - [ - 125.78082, - 50.725598 - ], - [ - 125.795603, - 50.738856 - ], - [ - 125.758646, - 50.746809 - ], - [ - 125.804226, - 50.773309 - ], - [ - 125.828863, - 50.756654 - ], - [ - 125.846726, - 50.769524 - ], - [ - 125.836255, - 50.793363 - ], - [ - 125.890457, - 50.805845 - ], - [ - 125.878138, - 50.816812 - ], - [ - 125.913247, - 50.825885 - ], - [ - 125.939732, - 50.85423 - ], - [ - 125.961906, - 50.901054 - ], - [ - 125.997631, - 50.872738 - ], - [ - 125.996399, - 50.906715 - ], - [ - 126.02042, - 50.927466 - ], - [ - 126.042594, - 50.92558 - ], - [ - 126.068464, - 50.967434 - ], - [ - 126.041978, - 50.981753 - ], - [ - 126.033971, - 51.011132 - ], - [ - 126.059225, - 51.043503 - ], - [ - 125.976073, - 51.084498 - ], - [ - 125.993935, - 51.119072 - ], - [ - 125.970529, - 51.123955 - ], - [ - 125.946508, - 51.108176 - ], - [ - 125.909551, - 51.138977 - ], - [ - 125.864588, - 51.146487 - ], - [ - 125.850421, - 51.21364 - ], - [ - 125.819008, - 51.227134 - ], - [ - 125.761726, - 51.226385 - ], - [ - 125.76111, - 51.261976 - ], - [ - 125.740784, - 51.27583 - ], - [ - 125.700132, - 51.327465 - ], - [ - 125.626219, - 51.380163 - ], - [ - 125.623756, - 51.387633 - ], - [ - 125.62314, - 51.398089 - ], - [ - 125.600966, - 51.410409 - ], - [ - 125.60035, - 51.413396 - ], - [ - 125.595422, - 51.416755 - ], - [ - 125.559082, - 51.461521 - ], - [ - 125.528285, - 51.488359 - ], - [ - 125.424807, - 51.562827 - ], - [ - 125.38046, - 51.585516 - ], - [ - 125.35151, - 51.623801 - ], - [ - 125.316402, - 51.610052 - ], - [ - 125.289301, - 51.633831 - ], - [ - 125.228938, - 51.640517 - ], - [ - 125.214772, - 51.627888 - ], - [ - 125.175968, - 51.639403 - ], - [ - 125.130388, - 51.635317 - ], - [ - 125.12854, - 51.659083 - ], - [ - 125.098975, - 51.658341 - ], - [ - 125.060171, - 51.59667 - ], - [ - 125.073106, - 51.553526 - ], - [ - 125.047236, - 51.529704 - ], - [ - 125.004737, - 51.529332 - ], - [ - 124.983795, - 51.508478 - ], - [ - 124.928976, - 51.498419 - ], - [ - 124.917889, - 51.474196 - ], - [ - 124.942527, - 51.447349 - ], - [ - 124.885244, - 51.40817 - ], - [ - 124.864302, - 51.37979 - ], - [ - 124.783614, - 51.392115 - ], - [ - 124.76452, - 51.38726 - ], - [ - 124.752817, - 51.35812 - ], - [ - 124.693687, - 51.3327 - ], - [ - 124.62655, - 51.327465 - ], - [ - 124.58713, - 51.363725 - ], - [ - 124.555717, - 51.375307 - ], - [ - 124.490427, - 51.380537 - ], - [ - 124.478108, - 51.36223 - ], - [ - 124.443616, - 51.35812 - ], - [ - 124.426985, - 51.331953 - ], - [ - 124.430065, - 51.301281 - ], - [ - 124.406659, - 51.272086 - ], - [ - 124.339522, - 51.293422 - ], - [ - 124.297638, - 51.298661 - ], - [ - 124.271769, - 51.308389 - ], - [ - 124.239124, - 51.344664 - ], - [ - 124.192313, - 51.33943 - ], - [ - 124.128255, - 51.347281 - ], - [ - 124.090067, - 51.3413 - ], - [ - 124.071588, - 51.320734 - ], - [ - 123.994596, - 51.322604 - ], - [ - 123.939777, - 51.313253 - ], - [ - 123.926227, - 51.300532 - ], - [ - 123.887423, - 51.320734 - ], - [ - 123.842459, - 51.367462 - ], - [ - 123.794416, - 51.361109 - ], - [ - 123.711264, - 51.398089 - ], - [ - 123.660141, - 51.342795 - ], - [ - 123.661989, - 51.319237 - ], - [ - 123.582533, - 51.306893 - ], - [ - 123.582533, - 51.294545 - ], - [ - 123.46304, - 51.286686 - ], - [ - 123.440251, - 51.270963 - ], - [ - 123.414381, - 51.278825 - ], - [ - 123.376809, - 51.266844 - ], - [ - 123.339853, - 51.27246 - ], - [ - 123.294273, - 51.254111 - ], - [ - 123.231447, - 51.268716 - ], - [ - 123.231447, - 51.279199 - ], - [ - 123.127969, - 51.297913 - ], - [ - 123.069455, - 51.321108 - ], - [ - 123.002934, - 51.31213 - ], - [ - 122.965977, - 51.345786 - ], - [ - 122.965977, - 51.386886 - ], - [ - 122.946267, - 51.405183 - ], - [ - 122.903768, - 51.415262 - ], - [ - 122.900072, - 51.445112 - ], - [ - 122.871123, - 51.455181 - ], - [ - 122.854492, - 51.477551 - ], - [ - 122.880362, - 51.511085 - ], - [ - 122.858804, - 51.524864 - ], - [ - 122.880362, - 51.537894 - ], - [ - 122.874202, - 51.561339 - ], - [ - 122.832935, - 51.581797 - ], - [ - 122.85634, - 51.606707 - ], - [ - 122.820616, - 51.633088 - ], - [ - 122.816304, - 51.655371 - ], - [ - 122.778732, - 51.698048 - ], - [ - 122.749167, - 51.746613 - ], - [ - 122.771957, - 51.779579 - ], - [ - 122.732536, - 51.832495 - ], - [ - 122.725761, - 51.87833 - ], - [ - 122.706051, - 51.890151 - ], - [ - 122.729457, - 51.919321 - ], - [ - 122.726377, - 51.978709 - ], - [ - 122.683877, - 51.974654 - ], - [ - 122.664783, - 51.99861 - ], - [ - 122.650616, - 52.058997 - ], - [ - 122.625363, - 52.067459 - ], - [ - 122.643841, - 52.111585 - ], - [ - 122.629059, - 52.13657 - ], - [ - 122.690653, - 52.140243 - ], - [ - 122.73808, - 52.153464 - ], - [ - 122.769493, - 52.179893 - ], - [ - 122.766413, - 52.232705 - ], - [ - 122.787355, - 52.252494 - ], - [ - 122.76087, - 52.26678 - ], - [ - 122.710979, - 52.256157 - ], - [ - 122.67895, - 52.276667 - ], - [ - 122.585943, - 52.266413 - ], - [ - 122.560689, - 52.282526 - ], - [ - 122.478153, - 52.29607 - ], - [ - 122.484313, - 52.341432 - ], - [ - 122.447356, - 52.394052 - ], - [ - 122.419023, - 52.375057 - ], - [ - 122.378987, - 52.395512 - ], - [ - 122.367284, - 52.413768 - ], - [ - 122.342031, - 52.414133 - ], - [ - 122.326016, - 52.459374 - ], - [ - 122.310618, - 52.475416 - ], - [ - 122.207756, - 52.469218 - ], - [ - 122.178191, - 52.48963 - ], - [ - 122.168952, - 52.513674 - ], - [ - 122.140003, - 52.510032 - ], - [ - 122.142467, - 52.495096 - ], - [ - 122.107358, - 52.452445 - ], - [ - 122.080873, - 52.440407 - ], - [ - 122.091344, - 52.427272 - ], - [ - 122.040837, - 52.413038 - ], - [ - 122.035909, - 52.377615 - ], - [ - 121.976779, - 52.343626 - ], - [ - 121.94783, - 52.298266 - ], - [ - 121.901018, - 52.280695 - ], - [ - 121.841272, - 52.282526 - ], - [ - 121.769207, - 52.308147 - ], - [ - 121.714389, - 52.318025 - ], - [ - 121.715621, - 52.342894 - ], - [ - 121.658338, - 52.3904 - ], - [ - 121.678664, - 52.419973 - ], - [ - 121.63986, - 52.44442 - ], - [ - 121.590585, - 52.443326 - ], - [ - 121.565331, - 52.460468 - ], - [ - 121.519136, - 52.456821 - ], - [ - 121.495114, - 52.484892 - ], - [ - 121.474172, - 52.482706 - ], - [ - 121.416274, - 52.499468 - ], - [ - 121.411963, - 52.52205 - ], - [ - 121.353448, - 52.534793 - ], - [ - 121.323883, - 52.573727 - ], - [ - 121.280151, - 52.586819 - ], - [ - 121.225333, - 52.577364 - ], - [ - 121.182217, - 52.59918 - ], - [ - 121.237036, - 52.619167 - ], - [ - 121.29247, - 52.651855 - ], - [ - 121.309717, - 52.676173 - ], - [ - 121.373158, - 52.683067 - ], - [ - 121.455078, - 52.73528 - ], - [ - 121.476636, - 52.772225 - ], - [ - 121.511129, - 52.779104 - ], - [ - 121.537614, - 52.801542 - ], - [ - 121.591201, - 52.824693 - ], - [ - 121.620766, - 52.853251 - ], - [ - 121.604136, - 52.872401 - ], - [ - 121.610295, - 52.892264 - ], - [ - 121.66265, - 52.912478 - ], - [ - 121.677432, - 52.948192 - ], - [ - 121.715621, - 52.997926 - ], - [ - 121.785838, - 53.018451 - ], - [ - 121.817867, - 53.061631 - ], - [ - 121.775367, - 53.089674 - ], - [ - 121.784606, - 53.104408 - ], - [ - 121.753193, - 53.147501 - ], - [ - 121.722396, - 53.145706 - ], - [ - 121.665114, - 53.170467 - ], - [ - 121.660186, - 53.195213 - ], - [ - 121.67928, - 53.199515 - ], - [ - 121.679896, - 53.240722 - ], - [ - 121.642324, - 53.262564 - ], - [ - 121.615222, - 53.258984 - ], - [ - 121.575802, - 53.29155 - ], - [ - 121.504969, - 53.323018 - ], - [ - 121.499426, - 53.337314 - ], - [ - 121.416274, - 53.319443 - ], - [ - 121.336818, - 53.325877 - ], - [ - 121.308485, - 53.301565 - ], - [ - 121.227797, - 53.280459 - ], - [ - 121.155732, - 53.285468 - ], - [ - 121.129246, - 53.277238 - ], - [ - 121.098449, - 53.306929 - ], - [ - 121.055334, - 53.29155 - ], - [ - 120.950624, - 53.29763 - ], - [ - 120.936457, - 53.28833 - ], - [ - 120.882871, - 53.294411 - ], - [ - 120.867472, - 53.278669 - ], - [ - 120.820661, - 53.269007 - ], - [ - 120.838523, - 53.239648 - ], - [ - 120.821893, - 53.241797 - ], - [ - 120.736277, - 53.204892 - ], - [ - 120.690698, - 53.174771 - ], - [ - 120.687002, - 53.142476 - ], - [ - 120.659901, - 53.137091 - ], - [ - 120.643886, - 53.106923 - ], - [ - 120.562582, - 53.082845 - ], - [ - 120.529321, - 53.045803 - ], - [ - 120.452945, - 53.01017 - ], - [ - 120.411061, - 52.957927 - ], - [ - 120.363018, - 52.94134 - ], - [ - 120.350699, - 52.906343 - ], - [ - 120.295265, - 52.891542 - ], - [ - 120.297112, - 52.869872 - ], - [ - 120.222584, - 52.84277 - ], - [ - 120.181316, - 52.806969 - ], - [ - 120.14128, - 52.813119 - ], - [ - 120.101244, - 52.788877 - ], - [ - 120.031642, - 52.773674 - ], - [ - 120.071063, - 52.70628 - ], - [ - 120.035338, - 52.646409 - ], - [ - 120.049505, - 52.598453 - ], - [ - 120.07599, - 52.586092 - ], - [ - 120.125265, - 52.586819 - ], - [ - 120.194866, - 52.578819 - ], - [ - 120.289721, - 52.623527 - ], - [ - 120.396895, - 52.616261 - ], - [ - 120.462184, - 52.64532 - ], - [ - 120.483742, - 52.630066 - ], - [ - 120.56135, - 52.595544 - ], - [ - 120.605082, - 52.589364 - ], - [ - 120.62664, - 52.570818 - ], - [ - 120.658669, - 52.56718 - ], - [ - 120.690698, - 52.547532 - ], - [ - 120.734429, - 52.536977 - ], - [ - 120.687002, - 52.511489 - ], - [ - 120.706712, - 52.492909 - ], - [ - 120.68269, - 52.464479 - ], - [ - 120.688234, - 52.427637 - ], - [ - 120.64943, - 52.3904 - ], - [ - 120.653741, - 52.371038 - ], - [ - 120.62356, - 52.361172 - ], - [ - 120.627256, - 52.323878 - ], - [ - 120.653741, - 52.302658 - ], - [ - 120.695625, - 52.290214 - ], - [ - 120.715951, - 52.261286 - ], - [ - 120.755371, - 52.258355 - ], - [ - 120.745516, - 52.20594 - ], - [ - 120.786784, - 52.15787 - ], - [ - 120.760299, - 52.136937 - ], - [ - 120.76769, - 52.10938 - ], - [ - 120.753523, - 52.085483 - ], - [ - 120.717183, - 52.072978 - ], - [ - 120.690698, - 52.047221 - ], - [ - 120.691929, - 52.026973 - ], - [ - 120.717799, - 52.015556 - ], - [ - 120.704864, - 51.983501 - ], - [ - 120.66298, - 51.958061 - ], - [ - 120.656821, - 51.926333 - ], - [ - 120.548416, - 51.907877 - ], - [ - 120.549032, - 51.882394 - ], - [ - 120.481278, - 51.885719 - ], - [ - 120.480046, - 51.855049 - ], - [ - 120.40059, - 51.833605 - ], - [ - 120.40675, - 51.81659 - ], - [ - 120.363634, - 51.789945 - ], - [ - 120.317438, - 51.785873 - ], - [ - 120.294649, - 51.752171 - ], - [ - 120.226279, - 51.717703 - ], - [ - 120.172693, - 51.679868 - ], - [ - 120.087077, - 51.678013 - ], - [ - 120.100628, - 51.649058 - ], - [ - 120.05936, - 51.634203 - ], - [ - 120.035954, - 51.583657 - ], - [ - 120.052584, - 51.560967 - ], - [ - 120.017476, - 51.52114 - ], - [ - 119.985447, - 51.505125 - ], - [ - 119.982367, - 51.482396 - ], - [ - 120.002693, - 51.459283 - ], - [ - 119.982983, - 51.445112 - ], - [ - 119.97128, - 51.40033 - ], - [ - 119.910918, - 51.390994 - ], - [ - 119.914614, - 51.374187 - ], - [ - 119.946643, - 51.360736 - ], - [ - 119.883817, - 51.336813 - ], - [ - 119.885049, - 51.302777 - ], - [ - 119.811136, - 51.281071 - ], - [ - 119.828383, - 51.263099 - ], - [ - 119.797586, - 51.243622 - ], - [ - 119.821607, - 51.21439 - ], - [ - 119.784035, - 51.22601 - ], - [ - 119.760629, - 51.212516 - ], - [ - 119.788346, - 51.174636 - ], - [ - 119.771716, - 51.124331 - ], - [ - 119.752622, - 51.117193 - ], - [ - 119.764325, - 51.092017 - ], - [ - 119.719361, - 51.075099 - ], - [ - 119.726753, - 51.051028 - ], - [ - 119.678093, - 51.016404 - ], - [ - 119.630666, - 51.00925 - ], - [ - 119.598637, - 50.984767 - ], - [ - 119.569688, - 50.933879 - ], - [ - 119.491464, - 50.87878 - ], - [ - 119.498855, - 50.827776 - ], - [ - 119.515485, - 50.814165 - ], - [ - 119.496391, - 50.771795 - ], - [ - 119.506862, - 50.763846 - ], - [ - 119.450196, - 50.695281 - ], - [ - 119.430486, - 50.684286 - ], - [ - 119.385522, - 50.682769 - ], - [ - 119.394145, - 50.667219 - ], - [ - 119.361501, - 50.632689 - ], - [ - 119.298059, - 50.616743 - ], - [ - 119.281428, - 50.601551 - ], - [ - 119.295595, - 50.573814 - ], - [ - 119.264182, - 50.536933 - ], - [ - 119.262334, - 50.490124 - ], - [ - 119.250631, - 50.448604 - ], - [ - 119.22353, - 50.441363 - ], - [ - 119.217371, - 50.414675 - ], - [ - 119.165016, - 50.422683 - ], - [ - 119.125596, - 50.389118 - ], - [ - 119.176719, - 50.378814 - ], - [ - 119.155777, - 50.364691 - ], - [ - 119.188422, - 50.347509 - ], - [ - 119.232153, - 50.365455 - ], - [ - 119.259871, - 50.345218 - ], - [ - 119.277117, - 50.366218 - ], - [ - 119.322696, - 50.352474 - ], - [ - 119.358421, - 50.358965 - ], - [ - 119.381827, - 50.324208 - ], - [ - 119.35103, - 50.303953 - ], - [ - 119.339943, - 50.244668 - ], - [ - 119.319001, - 50.220933 - ], - [ - 119.358421, - 50.197953 - ], - [ - 119.339327, - 50.192206 - ], - [ - 119.350414, - 50.166145 - ], - [ - 119.309762, - 50.161161 - ], - [ - 119.290052, - 50.121655 - ], - [ - 119.236465, - 50.075204 - ], - [ - 119.190269, - 50.087877 - ], - [ - 119.193965, - 50.069826 - ], - [ - 119.163168, - 50.027554 - ], - [ - 119.12498, - 50.019095 - ], - [ - 119.090487, - 49.985629 - ], - [ - 118.982082, - 49.979087 - ], - [ - 118.964836, - 49.988708 - ], - [ - 118.791757, - 49.955606 - ], - [ - 118.761576, - 49.959456 - ], - [ - 118.739402, - 49.946364 - ], - [ - 118.672264, - 49.955991 - ], - [ - 118.605127, - 49.926719 - ], - [ - 118.574946, - 49.931342 - ], - [ - 118.531214, - 49.887791 - ], - [ - 118.485019, - 49.866194 - ], - [ - 118.483787, - 49.830691 - ], - [ - 118.443751, - 49.835709 - ], - [ - 118.385853, - 49.827217 - ], - [ - 118.398787, - 49.802502 - ], - [ - 118.384005, - 49.783958 - ], - [ - 118.315636, - 49.766953 - ], - [ - 118.284223, - 49.743755 - ], - [ - 118.220781, - 49.729831 - ], - [ - 118.211542, - 49.690744 - ], - [ - 118.156723, - 49.660149 - ], - [ - 118.129622, - 49.669446 - ], - [ - 118.082811, - 49.616741 - ], - [ - 118.011362, - 49.614803 - ], - [ - 117.995963, - 49.623332 - ], - [ - 117.950999, - 49.596187 - ], - [ - 117.866, - 49.591532 - ], - [ - 117.849369, - 49.551557 - ], - [ - 117.809333, - 49.521263 - ], - [ - 117.638102, - 49.574847 - ], - [ - 117.485349, - 49.633024 - ], - [ - 117.278394, - 49.636512 - ], - [ - 117.068974, - 49.695389 - ], - [ - 116.736367, - 49.847674 - ], - [ - 116.717889, - 49.847288 - ], - [ - 116.428397, - 49.430659 - ], - [ - 116.048363, - 48.873274 - ], - [ - 116.077928, - 48.822471 - ], - [ - 116.069305, - 48.811437 - ], - [ - 115.83032, - 48.560156 - ], - [ - 115.799523, - 48.514982 - ], - [ - 115.822929, - 48.259432 - ], - [ - 115.81061, - 48.257042 - ], - [ - 115.529126, - 48.155336 - ], - [ - 115.545141, - 48.134971 - ], - [ - 115.539597, - 48.104607 - ], - [ - 115.580249, - 47.921649 - ], - [ - 115.939342, - 47.683275 - ], - [ - 115.968291, - 47.689721 - ], - [ - 116.111189, - 47.811642 - ], - [ - 116.130283, - 47.823296 - ], - [ - 116.26579, - 47.876711 - ], - [ - 116.453035, - 47.837358 - ], - [ - 116.669846, - 47.890758 - ], - [ - 116.791186, - 47.89758 - ], - [ - 116.879265, - 47.893968 - ], - [ - 117.094844, - 47.8241 - ], - [ - 117.384335, - 47.641356 - ], - [ - 117.493357, - 47.758563 - ], - [ - 117.519226, - 47.761782 - ], - [ - 117.529081, - 47.782697 - ], - [ - 117.813645, - 48.016212 - ], - [ - 117.886942, - 48.025418 - ], - [ - 117.96147, - 48.011007 - ], - [ - 118.052014, - 48.01421 - ], - [ - 118.107448, - 48.031021 - ], - [ - 118.124694, - 48.047427 - ], - [ - 118.150564, - 48.036224 - ], - [ - 118.238643, - 48.041826 - ], - [ - 118.238027, - 48.031422 - ], - [ - 118.284839, - 48.011007 - ], - [ - 118.351976, - 48.006203 - ], - [ - 118.37415, - 48.016612 - ], - [ - 118.422193, - 48.01461 - ], - [ - 118.441903, - 47.995791 - ], - [ - 118.568171, - 47.992187 - ], - [ - 118.773278, - 47.771034 - ], - [ - 119.134219, - 47.664335 - ], - [ - 119.152081, - 47.540453 - ], - [ - 119.205052, - 47.520249 - ], - [ - 119.365812, - 47.47739 - ], - [ - 119.32208, - 47.42721 - ], - [ - 119.365812, - 47.423161 - ], - [ - 119.386138, - 47.397645 - ], - [ - 119.437877, - 47.378602 - ], - [ - 119.450812, - 47.353065 - ], - [ - 119.559217, - 47.303172 - ], - [ - 119.56784, - 47.248357 - ], - [ - 119.627586, - 47.247544 - ], - [ - 119.716282, - 47.195518 - ], - [ - 119.763093, - 47.13082 - ], - [ - 119.806825, - 47.055037 - ], - [ - 119.79081, - 47.04525 - ], - [ - 119.795122, - 47.013024 - ], - [ - 119.845013, - 46.964852 - ], - [ - 119.859795, - 46.917046 - ], - [ - 119.926933, - 46.903963 - ], - [ - 119.920157, - 46.853238 - ], - [ - 119.936172, - 46.790173 - ], - [ - 119.917078, - 46.758203 - ], - [ - 119.93494, - 46.712674 - ], - [ - 119.911534, - 46.669572 - ], - [ - 119.859179, - 46.669572 - ], - [ - 119.804361, - 46.68189 - ], - [ - 119.8136, - 46.66834 - ], - [ - 119.783419, - 46.626023 - ], - [ - 119.739687, - 46.615336 - ], - [ - 119.677477, - 46.584908 - ], - [ - 119.682405, - 46.605058 - ], - [ - 119.656535, - 46.625612 - ], - [ - 119.598637, - 46.618214 - ], - [ - 119.557985, - 46.633832 - ], - [ - 119.491464, - 46.629311 - ], - [ - 119.431718, - 46.638763 - ], - [ - 119.374435, - 46.603414 - ], - [ - 119.357805, - 46.619447 - ], - [ - 119.325776, - 46.608759 - ], - [ - 119.26295, - 46.649034 - ], - [ - 119.20074, - 46.648213 - ], - [ - 119.152081, - 46.658072 - ], - [ - 119.123132, - 46.642872 - ], - [ - 119.073857, - 46.676552 - ], - [ - 119.011647, - 46.745902 - ], - [ - 118.951285, - 46.722111 - ], - [ - 118.912481, - 46.733188 - ], - [ - 118.914329, - 46.77501 - ], - [ - 118.845343, - 46.771731 - ], - [ - 118.788061, - 46.717598 - ], - [ - 118.788061, - 46.687227 - ], - [ - 118.677192, - 46.6979 - ], - [ - 118.639004, - 46.721291 - ], - [ - 118.586033, - 46.692975 - ], - [ - 118.446831, - 46.704467 - ], - [ - 118.41049, - 46.728265 - ], - [ - 118.316252, - 46.73934 - ], - [ - 118.274984, - 46.715957 - ], - [ - 118.238643, - 46.709392 - ], - [ - 118.192448, - 46.682711 - ], - [ - 118.124078, - 46.678195 - ], - [ - 118.04647, - 46.631366 - ], - [ - 117.992883, - 46.631366 - ], - [ - 117.982412, - 46.614925 - ], - [ - 117.914659, - 46.607936 - ], - [ - 117.868464, - 46.575447 - ], - [ - 117.870927, - 46.549935 - ], - [ - 117.813645, - 46.530588 - ], - [ - 117.769913, - 46.537586 - ], - [ - 117.748355, - 46.521941 - ], - [ - 117.704008, - 46.516587 - ], - [ - 117.641182, - 46.558166 - ], - [ - 117.622704, - 46.596012 - ], - [ - 117.596218, - 46.603414 - ], - [ - 117.49582, - 46.600535 - ], - [ - 117.42006, - 46.582029 - ], - [ - 117.447777, - 46.528117 - ], - [ - 117.392343, - 46.463023 - ], - [ - 117.375712, - 46.416421 - ], - [ - 117.383719, - 46.394962 - ], - [ - 117.372017, - 46.36028 - ], - [ - 117.247597, - 46.366888 - ], - [ - 117.097308, - 46.356976 - ], - [ - 116.876801, - 46.375559 - ], - [ - 116.834302, - 46.384229 - ], - [ - 116.81336, - 46.355737 - ], - [ - 116.745606, - 46.327642 - ], - [ - 116.673541, - 46.325163 - ], - [ - 116.585462, - 46.292504 - ], - [ - 116.573143, - 46.258998 - ], - [ - 116.536187, - 46.23251 - ], - [ - 116.439484, - 46.137628 - ], - [ - 116.414231, - 46.133896 - ], - [ - 116.271949, - 45.966926 - ], - [ - 116.243, - 45.876169 - ], - [ - 116.288579, - 45.839074 - ], - [ - 116.278108, - 45.831152 - ], - [ - 116.286731, - 45.775247 - ], - [ - 116.260862, - 45.776082 - ], - [ - 116.22329, - 45.747273 - ], - [ - 116.217746, - 45.72221 - ], - [ - 116.17463, - 45.688775 - ], - [ - 116.1155, - 45.679577 - ], - [ - 116.035428, - 45.685013 - ], - [ - 116.026805, - 45.661177 - ], - [ - 115.936878, - 45.632727 - ], - [ - 115.864197, - 45.572853 - ], - [ - 115.699741, - 45.45963 - ], - [ - 115.586408, - 45.440317 - ], - [ - 115.36467, - 45.392427 - ], - [ - 115.178041, - 45.396209 - ], - [ - 114.983404, - 45.379397 - ], - [ - 114.920578, - 45.386122 - ], - [ - 114.745035, - 45.438217 - ], - [ - 114.600906, - 45.403773 - ], - [ - 114.551014, - 45.387383 - ], - [ - 114.539928, - 45.325985 - ], - [ - 114.519602, - 45.283893 - ], - [ - 114.459855, - 45.21353 - ], - [ - 114.409348, - 45.179371 - ], - [ - 114.347139, - 45.119436 - ], - [ - 114.313262, - 45.107189 - ], - [ - 114.19069, - 45.036607 - ], - [ - 114.158045, - 44.994301 - ], - [ - 114.116777, - 44.957045 - ], - [ - 114.065038, - 44.931206 - ], - [ - 113.907358, - 44.915104 - ], - [ - 113.861778, - 44.863377 - ], - [ - 113.798953, - 44.849377 - ], - [ - 113.712105, - 44.788247 - ], - [ - 113.631417, - 44.745333 - ], - [ - 113.540874, - 44.759358 - ], - [ - 113.503918, - 44.777628 - ], - [ - 113.11526, - 44.799714 - ], - [ - 113.037652, - 44.822641 - ], - [ - 112.937869, - 44.840042 - ], - [ - 112.850406, - 44.840466 - ], - [ - 112.712436, - 44.879494 - ], - [ - 112.599719, - 44.930783 - ], - [ - 112.540589, - 45.001072 - ], - [ - 112.438959, - 45.071697 - ], - [ - 112.396459, - 45.064512 - ], - [ - 112.113743, - 45.072965 - ], - [ - 112.071243, - 45.096206 - ], - [ - 112.002874, - 45.090713 - ], - [ - 111.903707, - 45.052252 - ], - [ - 111.764505, - 44.969325 - ], - [ - 111.69244, - 44.859983 - ], - [ - 111.624687, - 44.778477 - ], - [ - 111.585267, - 44.705789 - ], - [ - 111.560629, - 44.647062 - ], - [ - 111.569868, - 44.57634 - ], - [ - 111.530448, - 44.55033 - ], - [ - 111.514434, - 44.507666 - ], - [ - 111.478709, - 44.488884 - ], - [ - 111.427586, - 44.394455 - ], - [ - 111.415883, - 44.35724 - ], - [ - 111.428818, - 44.319573 - ], - [ - 111.507042, - 44.294305 - ], - [ - 111.534144, - 44.26217 - ], - [ - 111.541535, - 44.206855 - ], - [ - 111.559397, - 44.171238 - ], - [ - 111.662875, - 44.061247 - ], - [ - 111.702295, - 44.034147 - ], - [ - 111.773128, - 44.010479 - ], - [ - 111.870447, - 43.940279 - ], - [ - 111.959758, - 43.823382 - ], - [ - 111.970845, - 43.748205 - ], - [ - 111.951135, - 43.693275 - ], - [ - 111.891388, - 43.6738 - ], - [ - 111.79407, - 43.672068 - ], - [ - 111.606209, - 43.513863 - ], - [ - 111.564325, - 43.490422 - ], - [ - 111.456535, - 43.494329 - ], - [ - 111.400485, - 43.472618 - ], - [ - 111.354289, - 43.436125 - ], - [ - 111.183674, - 43.396132 - ], - [ - 111.151029, - 43.38004 - ], - [ - 111.069725, - 43.357852 - ], - [ - 111.02045, - 43.329998 - ], - [ - 110.82027, - 43.149067 - ], - [ - 110.769763, - 43.099272 - ], - [ - 110.736502, - 43.089657 - ], - [ - 110.687227, - 43.036314 - ], - [ - 110.689691, - 43.02144 - ], - [ - 110.631177, - 42.936061 - ], - [ - 110.469801, - 42.839156 - ], - [ - 110.437156, - 42.781203 - ], - [ - 110.34846, - 42.742098 - ], - [ - 110.139657, - 42.674815 - ], - [ - 110.108244, - 42.642687 - ], - [ - 109.906216, - 42.635643 - ], - [ - 109.733753, - 42.579262 - ], - [ - 109.683862, - 42.558988 - ], - [ - 109.544044, - 42.472528 - ], - [ - 109.486761, - 42.458842 - ], - [ - 109.291509, - 42.435879 - ], - [ - 109.026039, - 42.458401 - ], - [ - 108.983539, - 42.449128 - ], - [ - 108.845569, - 42.395673 - ], - [ - 108.798757, - 42.415116 - ], - [ - 108.705134, - 42.413349 - ], - [ - 108.532671, - 42.442945 - ], - [ - 108.298614, - 42.438529 - ], - [ - 108.238252, - 42.460167 - ], - [ - 108.089195, - 42.436321 - ], - [ - 108.022058, - 42.433229 - ], - [ - 107.986949, - 42.413349 - ], - [ - 107.939522, - 42.403628 - ], - [ - 107.736262, - 42.415116 - ], - [ - 107.57427, - 42.412907 - ], - [ - 107.501589, - 42.456635 - ], - [ - 107.46648, - 42.458842 - ], - [ - 107.303872, - 42.412465 - ], - [ - 107.271844, - 42.364285 - ], - [ - 107.051337, - 42.319166 - ], - [ - 106.785867, - 42.291281 - ], - [ - 106.612789, - 42.241679 - ], - [ - 106.372572, - 42.161436 - ], - [ - 106.344855, - 42.149457 - ], - [ - 106.01348, - 42.032213 - ], - [ - 105.74185, - 41.949033 - ], - [ - 105.589713, - 41.888471 - ], - [ - 105.385221, - 41.797073 - ], - [ - 105.291599, - 41.749763 - ], - [ - 105.230621, - 41.751103 - ], - [ - 105.009498, - 41.583007 - ], - [ - 104.923267, - 41.654143 - ], - [ - 104.803775, - 41.652355 - ], - [ - 104.68921, - 41.6452 - ], - [ - 104.524138, - 41.661745 - ], - [ - 104.530298, - 41.875104 - ], - [ - 104.418813, - 41.860397 - ], - [ - 104.30856, - 41.840782 - ], - [ - 104.080046, - 41.805104 - ], - [ - 103.868779, - 41.802427 - ], - [ - 103.454868, - 41.877332 - ], - [ - 103.418527, - 41.882233 - ], - [ - 103.20726, - 41.96283 - ], - [ - 103.021862, - 42.028212 - ], - [ - 102.712045, - 42.153007 - ], - [ - 102.621502, - 42.154338 - ], - [ - 102.540814, - 42.162323 - ], - [ - 102.449039, - 42.144133 - ], - [ - 102.093642, - 42.223512 - ], - [ - 102.070236, - 42.232374 - ], - [ - 101.877447, - 42.432345 - ], - [ - 101.803534, - 42.503861 - ], - [ - 101.770274, - 42.509597 - ], - [ - 101.557775, - 42.529887 - ], - [ - 101.291689, - 42.586312 - ], - [ - 100.862995, - 42.671295 - ], - [ - 100.826655, - 42.675255 - ], - [ - 100.32528, - 42.690213 - ], - [ - 100.272309, - 42.636523 - ], - [ - 100.004376, - 42.648849 - ], - [ - 99.969267, - 42.647969 - ], - [ - 99.51224, - 42.568244 - ], - [ - 98.962822, - 42.607018 - ], - [ - 98.546447, - 42.638284 - ], - [ - 98.195362, - 42.653251 - ], - [ - 97.831958, - 42.706047 - ], - [ - 97.28254, - 42.782081 - ], - [ - 97.172903, - 42.795257 - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 210000, - "name": "辽宁省", - "center": [ - 123.429096, - 41.796767 - ], - "centroid": [ - 122.604994, - 41.299712 - ], - "childrenNum": 14, - "cp": [123.0438, 41.0889], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 5, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 123.534489, - 39.788361 - ], - [ - 123.546808, - 39.756163 - ], - [ - 123.579453, - 39.781002 - ], - [ - 123.612714, - 39.775023 - ], - [ - 123.642279, - 39.796178 - ], - [ - 123.645358, - 39.823761 - ], - [ - 123.674924, - 39.826979 - ], - [ - 123.687858, - 39.808132 - ], - [ - 123.795032, - 39.822842 - ], - [ - 123.812278, - 39.831115 - ], - [ - 123.95148, - 39.817786 - ], - [ - 124.002603, - 39.800316 - ], - [ - 124.103001, - 39.823302 - ], - [ - 124.099306, - 39.777323 - ], - [ - 124.151045, - 39.74558 - ], - [ - 124.173218, - 39.841225 - ], - [ - 124.214486, - 39.865116 - ], - [ - 124.215102, - 39.883487 - ], - [ - 124.21695, - 39.894049 - ], - [ - 124.218182, - 39.895885 - ], - [ - 124.219414, - 39.899099 - ], - [ - 124.241588, - 39.928477 - ], - [ - 124.286551, - 39.931689 - ], - [ - 124.288399, - 39.962888 - ], - [ - 124.349377, - 39.989029 - ], - [ - 124.372167, - 40.021576 - ], - [ - 124.336442, - 40.049985 - ], - [ - 124.346913, - 40.079756 - ], - [ - 124.428217, - 40.144291 - ], - [ - 124.457782, - 40.177679 - ], - [ - 124.490427, - 40.18408 - ], - [ - 124.513833, - 40.218362 - ], - [ - 124.515065, - 40.22019 - ], - [ - 124.62655, - 40.291896 - ], - [ - 124.722636, - 40.321561 - ], - [ - 124.739267, - 40.371733 - ], - [ - 124.834121, - 40.423235 - ], - [ - 124.913578, - 40.481981 - ], - [ - 124.945606, - 40.45603 - ], - [ - 124.985642, - 40.475153 - ], - [ - 125.044157, - 40.466503 - ], - [ - 125.042925, - 40.483802 - ], - [ - 125.004737, - 40.496091 - ], - [ - 125.015823, - 40.533853 - ], - [ - 125.076801, - 40.562048 - ], - [ - 125.113758, - 40.569322 - ], - [ - 125.181511, - 40.611132 - ], - [ - 125.262815, - 40.620218 - ], - [ - 125.279445, - 40.655187 - ], - [ - 125.305315, - 40.661089 - ], - [ - 125.329337, - 40.643835 - ], - [ - 125.375532, - 40.658365 - ], - [ - 125.422343, - 40.635661 - ], - [ - 125.418648, - 40.673345 - ], - [ - 125.453756, - 40.676522 - ], - [ - 125.459916, - 40.707379 - ], - [ - 125.49564, - 40.728697 - ], - [ - 125.544915, - 40.729605 - ], - [ - 125.551075, - 40.761796 - ], - [ - 125.585567, - 40.788535 - ], - [ - 125.61698, - 40.763609 - ], - [ - 125.685349, - 40.769048 - ], - [ - 125.67611, - 40.788082 - ], - [ - 125.641002, - 40.798503 - ], - [ - 125.648393, - 40.826133 - ], - [ - 125.707523, - 40.866877 - ], - [ - 125.687813, - 40.897645 - ], - [ - 125.652089, - 40.91619 - ], - [ - 125.584335, - 40.891764 - ], - [ - 125.589263, - 40.931112 - ], - [ - 125.635458, - 40.94151 - ], - [ - 125.650241, - 40.970888 - ], - [ - 125.674879, - 40.974503 - ], - [ - 125.684118, - 41.021929 - ], - [ - 125.726617, - 41.055332 - ], - [ - 125.739552, - 41.08917 - ], - [ - 125.712451, - 41.095485 - ], - [ - 125.734009, - 41.125695 - ], - [ - 125.759878, - 41.132908 - ], - [ - 125.791291, - 41.167607 - ], - [ - 125.73832, - 41.178418 - ], - [ - 125.758646, - 41.232449 - ], - [ - 125.749407, - 41.245499 - ], - [ - 125.695205, - 41.244599 - ], - [ - 125.685349, - 41.273842 - ], - [ - 125.646545, - 41.264396 - ], - [ - 125.642234, - 41.296327 - ], - [ - 125.62006, - 41.318355 - ], - [ - 125.637306, - 41.34442 - ], - [ - 125.610205, - 41.365084 - ], - [ - 125.589879, - 41.359245 - ], - [ - 125.581256, - 41.396517 - ], - [ - 125.547995, - 41.401006 - ], - [ - 125.534444, - 41.428833 - ], - [ - 125.533212, - 41.479069 - ], - [ - 125.493176, - 41.509103 - ], - [ - 125.507343, - 41.534195 - ], - [ - 125.479626, - 41.544946 - ], - [ - 125.450061, - 41.597777 - ], - [ - 125.461148, - 41.642516 - ], - [ - 125.446981, - 41.67605 - ], - [ - 125.412488, - 41.691246 - ], - [ - 125.344119, - 41.672474 - ], - [ - 125.317018, - 41.676944 - ], - [ - 125.332416, - 41.711354 - ], - [ - 125.336112, - 41.768067 - ], - [ - 125.336112, - 41.768067 - ], - [ - 125.323177, - 41.771191 - ], - [ - 125.323177, - 41.771191 - ], - [ - 125.319482, - 41.776993 - ], - [ - 125.319482, - 41.776993 - ], - [ - 125.294844, - 41.822945 - ], - [ - 125.307779, - 41.924548 - ], - [ - 125.35151, - 41.92811 - ], - [ - 125.291764, - 41.958825 - ], - [ - 125.29854, - 41.974399 - ], - [ - 125.369989, - 42.002868 - ], - [ - 125.363213, - 42.017097 - ], - [ - 125.416184, - 42.063766 - ], - [ - 125.414336, - 42.101964 - ], - [ - 125.446365, - 42.098411 - ], - [ - 125.490097, - 42.136145 - ], - [ - 125.458068, - 42.160105 - ], - [ - 125.458068, - 42.160105 - ], - [ - 125.41372, - 42.156112 - ], - [ - 125.368141, - 42.182726 - ], - [ - 125.357054, - 42.145464 - ], - [ - 125.305931, - 42.146351 - ], - [ - 125.312706, - 42.197359 - ], - [ - 125.280677, - 42.175187 - ], - [ - 125.312706, - 42.219966 - ], - [ - 125.27575, - 42.231045 - ], - [ - 125.27575, - 42.266928 - ], - [ - 125.299156, - 42.289953 - ], - [ - 125.264047, - 42.312528 - ], - [ - 125.224011, - 42.30102 - ], - [ - 125.175352, - 42.308102 - ], - [ - 125.167345, - 42.351903 - ], - [ - 125.203685, - 42.366938 - ], - [ - 125.185823, - 42.38197 - ], - [ - 125.186439, - 42.427928 - ], - [ - 125.140243, - 42.44692 - ], - [ - 125.150098, - 42.458842 - ], - [ - 125.105135, - 42.490624 - ], - [ - 125.068794, - 42.499449 - ], - [ - 125.090968, - 42.515773 - ], - [ - 125.066946, - 42.534738 - ], - [ - 125.089736, - 42.567803 - ], - [ - 125.082961, - 42.591159 - ], - [ - 125.097127, - 42.622433 - ], - [ - 125.038613, - 42.615387 - ], - [ - 125.010896, - 42.63212 - ], - [ - 125.014592, - 42.666014 - ], - [ - 124.99057, - 42.677455 - ], - [ - 124.968396, - 42.722756 - ], - [ - 124.996729, - 42.745174 - ], - [ - 124.975171, - 42.802722 - ], - [ - 124.92836, - 42.819844 - ], - [ - 124.897563, - 42.787791 - ], - [ - 124.874157, - 42.789987 - ], - [ - 124.856911, - 42.824234 - ], - [ - 124.84952, - 42.882585 - ], - [ - 124.87231, - 42.962344 - ], - [ - 124.869846, - 42.988178 - ], - [ - 124.840897, - 43.032377 - ], - [ - 124.88894, - 43.074796 - ], - [ - 124.882781, - 43.13422 - ], - [ - 124.785462, - 43.117185 - ], - [ - 124.755281, - 43.074359 - ], - [ - 124.719557, - 43.069987 - ], - [ - 124.686912, - 43.051185 - ], - [ - 124.677673, - 43.002185 - ], - [ - 124.658579, - 42.972854 - ], - [ - 124.635173, - 42.972854 - ], - [ - 124.632093, - 42.949642 - ], - [ - 124.607456, - 42.937376 - ], - [ - 124.586514, - 42.905384 - ], - [ - 124.466406, - 42.847054 - ], - [ - 124.435609, - 42.880831 - ], - [ - 124.371551, - 42.880831 - ], - [ - 124.38079, - 42.912835 - ], - [ - 124.431913, - 42.930803 - ], - [ - 124.442384, - 42.958841 - ], - [ - 124.42329, - 42.975482 - ], - [ - 124.369703, - 42.972854 - ], - [ - 124.333363, - 42.997371 - ], - [ - 124.425754, - 43.076107 - ], - [ - 124.366007, - 43.121554 - ], - [ - 124.273617, - 43.17875 - ], - [ - 124.287167, - 43.207983 - ], - [ - 124.27608, - 43.233278 - ], - [ - 124.228653, - 43.235022 - ], - [ - 124.215102, - 43.255947 - ], - [ - 124.168291, - 43.244177 - ], - [ - 124.114088, - 43.247229 - ], - [ - 124.117168, - 43.2773 - ], - [ - 124.099306, - 43.292983 - ], - [ - 124.032784, - 43.280786 - ], - [ - 123.964415, - 43.34088 - ], - [ - 123.896046, - 43.361333 - ], - [ - 123.881263, - 43.392218 - ], - [ - 123.881263, - 43.392218 - ], - [ - 123.852314, - 43.406133 - ], - [ - 123.857858, - 43.459153 - ], - [ - 123.857858, - 43.459153 - ], - [ - 123.79688, - 43.489988 - ], - [ - 123.747604, - 43.472184 - ], - [ - 123.749452, - 43.439167 - ], - [ - 123.710032, - 43.417001 - ], - [ - 123.703873, - 43.37047 - ], - [ - 123.698329, - 43.272071 - ], - [ - 123.664453, - 43.264663 - ], - [ - 123.676771, - 43.223684 - ], - [ - 123.645974, - 43.208855 - ], - [ - 123.666916, - 43.179623 - ], - [ - 123.636119, - 43.141644 - ], - [ - 123.631192, - 43.088346 - ], - [ - 123.580685, - 43.036314 - ], - [ - 123.572678, - 43.003498 - ], - [ - 123.536337, - 43.007 - ], - [ - 123.474743, - 43.042438 - ], - [ - 123.434707, - 43.027565 - ], - [ - 123.323222, - 43.000872 - ], - [ - 123.259165, - 42.993431 - ], - [ - 123.18402, - 42.925983 - ], - [ - 123.188947, - 42.895739 - ], - [ - 123.169853, - 42.859777 - ], - [ - 123.227752, - 42.831695 - ], - [ - 123.118114, - 42.801405 - ], - [ - 123.058368, - 42.768903 - ], - [ - 122.980144, - 42.777689 - ], - [ - 122.945651, - 42.753524 - ], - [ - 122.925941, - 42.772417 - ], - [ - 122.887137, - 42.770221 - ], - [ - 122.883442, - 42.751766 - ], - [ - 122.883442, - 42.751766 - ], - [ - 122.848949, - 42.712203 - ], - [ - 122.848949, - 42.712203 - ], - [ - 122.786123, - 42.757479 - ], - [ - 122.73808, - 42.77066 - ], - [ - 122.733152, - 42.786034 - ], - [ - 122.653696, - 42.78252 - ], - [ - 122.624747, - 42.773296 - ], - [ - 122.580399, - 42.789987 - ], - [ - 122.576088, - 42.819405 - ], - [ - 122.556378, - 42.827745 - ], - [ - 122.436886, - 42.843105 - ], - [ - 122.35127, - 42.830378 - ], - [ - 122.371596, - 42.776371 - ], - [ - 122.439349, - 42.770221 - ], - [ - 122.460907, - 42.755282 - ], - [ - 122.396234, - 42.707366 - ], - [ - 122.396234, - 42.684054 - ], - [ - 122.338951, - 42.669975 - ], - [ - 122.324785, - 42.684934 - ], - [ - 122.261343, - 42.695931 - ], - [ - 122.204676, - 42.732867 - ], - [ - 122.204676, - 42.685374 - ], - [ - 122.160945, - 42.684934 - ], - [ - 122.072865, - 42.710444 - ], - [ - 122.062394, - 42.723635 - ], - [ - 122.018663, - 42.69901 - ], - [ - 121.939207, - 42.688453 - ], - [ - 121.94167, - 42.666014 - ], - [ - 121.915801, - 42.656332 - ], - [ - 121.921344, - 42.605697 - ], - [ - 121.889931, - 42.556784 - ], - [ - 121.844352, - 42.522389 - ], - [ - 121.831417, - 42.533856 - ], - [ - 121.817867, - 42.504303 - ], - [ - 121.803084, - 42.514891 - ], - [ - 121.747649, - 42.484887 - ], - [ - 121.69899, - 42.438529 - ], - [ - 121.66573, - 42.437204 - ], - [ - 121.604136, - 42.495037 - ], - [ - 121.607831, - 42.516214 - ], - [ - 121.570875, - 42.487093 - ], - [ - 121.506201, - 42.482239 - ], - [ - 121.4791, - 42.49636 - ], - [ - 121.434752, - 42.475176 - ], - [ - 121.386093, - 42.474294 - ], - [ - 121.304789, - 42.435879 - ], - [ - 121.314644, - 42.42837 - ], - [ - 121.285079, - 42.387717 - ], - [ - 121.218558, - 42.371802 - ], - [ - 121.184681, - 42.333324 - ], - [ - 121.133558, - 42.300135 - ], - [ - 121.120623, - 42.280656 - ], - [ - 121.087978, - 42.278885 - ], - [ - 121.070732, - 42.254083 - ], - [ - 121.028848, - 42.242565 - ], - [ - 120.992508, - 42.264714 - ], - [ - 120.933994, - 42.27977 - ], - [ - 120.883487, - 42.269585 - ], - [ - 120.883487, - 42.269585 - ], - [ - 120.883487, - 42.242565 - ], - [ - 120.8299, - 42.252755 - ], - [ - 120.820661, - 42.227943 - ], - [ - 120.79048, - 42.218636 - ], - [ - 120.745516, - 42.223512 - ], - [ - 120.72211, - 42.203565 - ], - [ - 120.624792, - 42.154338 - ], - [ - 120.58414, - 42.167203 - ], - [ - 120.56751, - 42.152119 - ], - [ - 120.466496, - 42.105516 - ], - [ - 120.493597, - 42.073539 - ], - [ - 120.450481, - 42.057101 - ], - [ - 120.456641, - 42.016208 - ], - [ - 120.399358, - 41.984631 - ], - [ - 120.373489, - 41.994862 - ], - [ - 120.309431, - 41.951704 - ], - [ - 120.318054, - 41.93746 - ], - [ - 120.271859, - 41.925439 - ], - [ - 120.260156, - 41.904062 - ], - [ - 120.290337, - 41.897381 - ], - [ - 120.286641, - 41.880005 - ], - [ - 120.251533, - 41.884016 - ], - [ - 120.215808, - 41.853265 - ], - [ - 120.188707, - 41.848361 - ], - [ - 120.183164, - 41.826513 - ], - [ - 120.127113, - 41.77253 - ], - [ - 120.1382, - 41.729221 - ], - [ - 120.096316, - 41.697056 - ], - [ - 120.035954, - 41.708226 - ], - [ - 120.024867, - 41.737707 - ], - [ - 120.050737, - 41.776101 - ], - [ - 120.041498, - 41.818932 - ], - [ - 120.023019, - 41.816701 - ], - [ - 119.989759, - 41.899163 - ], - [ - 119.954034, - 41.923212 - ], - [ - 119.950954, - 41.974399 - ], - [ - 119.924469, - 41.98908 - ], - [ - 119.921389, - 42.014429 - ], - [ - 119.897368, - 42.030879 - ], - [ - 119.87581, - 42.077982 - ], - [ - 119.845629, - 42.097079 - ], - [ - 119.837622, - 42.135257 - ], - [ - 119.854868, - 42.170308 - ], - [ - 119.841933, - 42.215534 - ], - [ - 119.744615, - 42.211545 - ], - [ - 119.679941, - 42.240793 - ], - [ - 119.617115, - 42.252755 - ], - [ - 119.609108, - 42.276671 - ], - [ - 119.557985, - 42.289068 - ], - [ - 119.557985, - 42.289068 - ], - [ - 119.539507, - 42.297922 - ], - [ - 119.571536, - 42.335536 - ], - [ - 119.572152, - 42.359421 - ], - [ - 119.540123, - 42.363401 - ], - [ - 119.502551, - 42.388159 - ], - [ - 119.482841, - 42.347037 - ], - [ - 119.432949, - 42.317396 - ], - [ - 119.34795, - 42.300578 - ], - [ - 119.280197, - 42.260728 - ], - [ - 119.274037, - 42.239021 - ], - [ - 119.237697, - 42.200905 - ], - [ - 119.277733, - 42.185387 - ], - [ - 119.286972, - 42.154781 - ], - [ - 119.30853, - 42.147239 - ], - [ - 119.314689, - 42.119723 - ], - [ - 119.352261, - 42.118391 - ], - [ - 119.384906, - 42.08953 - ], - [ - 119.375667, - 42.023322 - ], - [ - 119.324544, - 41.969505 - ], - [ - 119.323928, - 41.937014 - ], - [ - 119.340559, - 41.926774 - ], - [ - 119.323312, - 41.889807 - ], - [ - 119.334399, - 41.871539 - ], - [ - 119.312841, - 41.80555 - ], - [ - 119.292515, - 41.790827 - ], - [ - 119.317769, - 41.764049 - ], - [ - 119.319001, - 41.727435 - ], - [ - 119.299907, - 41.705545 - ], - [ - 119.307914, - 41.657273 - ], - [ - 119.342406, - 41.617914 - ], - [ - 119.415703, - 41.590169 - ], - [ - 119.420015, - 41.567785 - ], - [ - 119.362116, - 41.566442 - ], - [ - 119.361501, - 41.545841 - ], - [ - 119.406464, - 41.503276 - ], - [ - 119.401537, - 41.472343 - ], - [ - 119.378131, - 41.459787 - ], - [ - 119.376283, - 41.422102 - ], - [ - 119.309762, - 41.405944 - ], - [ - 119.330704, - 41.385293 - ], - [ - 119.296211, - 41.325097 - ], - [ - 119.239545, - 41.31431 - ], - [ - 119.2494, - 41.279689 - ], - [ - 119.209364, - 41.244599 - ], - [ - 119.204436, - 41.222546 - ], - [ - 119.169943, - 41.222996 - ], - [ - 119.189038, - 41.198234 - ], - [ - 119.126212, - 41.138767 - ], - [ - 119.081248, - 41.131555 - ], - [ - 119.080632, - 41.095936 - ], - [ - 119.037516, - 41.067516 - ], - [ - 118.964836, - 41.079246 - ], - [ - 118.937118, - 41.052625 - ], - [ - 118.951901, - 41.018317 - ], - [ - 119.013495, - 41.007479 - ], - [ - 119.00056, - 40.967273 - ], - [ - 118.977154, - 40.959138 - ], - [ - 118.977154, - 40.959138 - ], - [ - 118.916792, - 40.969984 - ], - [ - 118.90201, - 40.960946 - ], - [ - 118.873061, - 40.847866 - ], - [ - 118.845959, - 40.822057 - ], - [ - 118.878604, - 40.783098 - ], - [ - 118.907553, - 40.775394 - ], - [ - 118.895234, - 40.75409 - ], - [ - 118.950053, - 40.747743 - ], - [ - 118.96114, - 40.72008 - ], - [ - 119.011031, - 40.687414 - ], - [ - 119.028277, - 40.692406 - ], - [ - 119.054763, - 40.664721 - ], - [ - 119.115125, - 40.666536 - ], - [ - 119.165632, - 40.69286 - ], - [ - 119.184726, - 40.680153 - ], - [ - 119.14469, - 40.632482 - ], - [ - 119.162552, - 40.600228 - ], - [ - 119.177951, - 40.609315 - ], - [ - 119.230921, - 40.603863 - ], - [ - 119.22045, - 40.569322 - ], - [ - 119.256175, - 40.543404 - ], - [ - 119.30237, - 40.530215 - ], - [ - 119.429254, - 40.540221 - ], - [ - 119.477913, - 40.533399 - ], - [ - 119.503783, - 40.553864 - ], - [ - 119.559217, - 40.547952 - ], - [ - 119.572152, - 40.523846 - ], - [ - 119.553674, - 40.502007 - ], - [ - 119.604797, - 40.455119 - ], - [ - 119.586934, - 40.375381 - ], - [ - 119.598021, - 40.334335 - ], - [ - 119.651608, - 40.271808 - ], - [ - 119.639289, - 40.231613 - ], - [ - 119.639289, - 40.231613 - ], - [ - 119.671934, - 40.23938 - ], - [ - 119.716898, - 40.195966 - ], - [ - 119.745847, - 40.207851 - ], - [ - 119.760629, - 40.136056 - ], - [ - 119.736608, - 40.104936 - ], - [ - 119.772332, - 40.08113 - ], - [ - 119.783419, - 40.046778 - ], - [ - 119.783419, - 40.046778 - ], - [ - 119.787115, - 40.041739 - ], - [ - 119.787115, - 40.041739 - ], - [ - 119.81668, - 40.050443 - ], - [ - 119.81668, - 40.050443 - ], - [ - 119.854252, - 40.033033 - ], - [ - 119.845629, - 40.000949 - ], - [ - 119.845629, - 40.000949 - ], - [ - 119.854252, - 39.98857 - ], - [ - 119.91831, - 39.989946 - ], - [ - 119.941715, - 40.009659 - ], - [ - 119.947259, - 40.040364 - ], - [ - 120.092005, - 40.077466 - ], - [ - 120.134504, - 40.074719 - ], - [ - 120.161606, - 40.096239 - ], - [ - 120.273091, - 40.127362 - ], - [ - 120.371641, - 40.174478 - ], - [ - 120.451097, - 40.177679 - ], - [ - 120.491749, - 40.20008 - ], - [ - 120.523778, - 40.256737 - ], - [ - 120.52193, - 40.304676 - ], - [ - 120.537329, - 40.325211 - ], - [ - 120.602618, - 40.36079 - ], - [ - 120.596459, - 40.399084 - ], - [ - 120.617401, - 40.41959 - ], - [ - 120.616169, - 40.444645 - ], - [ - 120.619249, - 40.460128 - ], - [ - 120.666676, - 40.467413 - ], - [ - 120.693777, - 40.505647 - ], - [ - 120.72211, - 40.515657 - ], - [ - 120.72827, - 40.539311 - ], - [ - 120.822509, - 40.59432 - ], - [ - 120.837291, - 40.644289 - ], - [ - 120.8299, - 40.671076 - ], - [ - 120.861313, - 40.684692 - ], - [ - 120.939537, - 40.686507 - ], - [ - 120.983269, - 40.712822 - ], - [ - 121.032544, - 40.709193 - ], - [ - 121.028848, - 40.746382 - ], - [ - 120.991276, - 40.744115 - ], - [ - 120.980189, - 40.766329 - ], - [ - 120.994356, - 40.790801 - ], - [ - 120.971566, - 40.805751 - ], - [ - 121.00729, - 40.807563 - ], - [ - 121.010986, - 40.784457 - ], - [ - 121.086747, - 40.79805 - ], - [ - 121.076892, - 40.815716 - ], - [ - 121.096602, - 40.839717 - ], - [ - 121.126167, - 40.86914 - ], - [ - 121.177906, - 40.873665 - ], - [ - 121.23642, - 40.851035 - ], - [ - 121.290622, - 40.851488 - ], - [ - 121.439064, - 40.830208 - ], - [ - 121.440296, - 40.88181 - ], - [ - 121.499426, - 40.880001 - ], - [ - 121.526527, - 40.85194 - ], - [ - 121.55486, - 40.849677 - ], - [ - 121.553013, - 40.817528 - ], - [ - 121.576418, - 40.837906 - ], - [ - 121.626309, - 40.844244 - ], - [ - 121.682976, - 40.829755 - ], - [ - 121.732251, - 40.846961 - ], - [ - 121.735331, - 40.862351 - ], - [ - 121.778446, - 40.886787 - ], - [ - 121.816019, - 40.894931 - ], - [ - 121.84312, - 40.831567 - ], - [ - 121.883772, - 40.802127 - ], - [ - 121.934279, - 40.79805 - ], - [ - 121.936127, - 40.711462 - ], - [ - 121.951525, - 40.680607 - ], - [ - 122.025438, - 40.674253 - ], - [ - 122.06609, - 40.64883 - ], - [ - 122.122141, - 40.657457 - ], - [ - 122.148626, - 40.671983 - ], - [ - 122.133843, - 40.614313 - ], - [ - 122.150474, - 40.588413 - ], - [ - 122.245944, - 40.519752 - ], - [ - 122.231162, - 40.505192 - ], - [ - 122.265038, - 40.48016 - ], - [ - 122.221923, - 40.481071 - ], - [ - 122.240401, - 40.461039 - ], - [ - 122.250872, - 40.445555 - ], - [ - 122.229314, - 40.424146 - ], - [ - 122.186814, - 40.422779 - ], - [ - 122.198517, - 40.382219 - ], - [ - 122.152322, - 40.357597 - ], - [ - 122.135691, - 40.374925 - ], - [ - 122.111054, - 40.348932 - ], - [ - 122.138155, - 40.338897 - ], - [ - 122.110438, - 40.315629 - ], - [ - 122.079641, - 40.332967 - ], - [ - 122.040221, - 40.322017 - ], - [ - 122.039605, - 40.260391 - ], - [ - 122.02667, - 40.244862 - ], - [ - 121.940438, - 40.242121 - ], - [ - 121.950293, - 40.204194 - ], - [ - 121.98109, - 40.173106 - ], - [ - 122.003264, - 40.172191 - ], - [ - 121.995257, - 40.128277 - ], - [ - 121.956453, - 40.133311 - ], - [ - 121.910257, - 40.072887 - ], - [ - 121.824642, - 40.025701 - ], - [ - 121.796309, - 39.999116 - ], - [ - 121.779062, - 39.942702 - ], - [ - 121.76428, - 39.933525 - ], - [ - 121.699606, - 39.937196 - ], - [ - 121.626925, - 39.882569 - ], - [ - 121.572107, - 39.865116 - ], - [ - 121.541926, - 39.874302 - ], - [ - 121.530223, - 39.851334 - ], - [ - 121.472325, - 39.802155 - ], - [ - 121.487107, - 39.760303 - ], - [ - 121.45939, - 39.747881 - ], - [ - 121.502506, - 39.703233 - ], - [ - 121.482796, - 39.659478 - ], - [ - 121.451999, - 39.658095 - ], - [ - 121.450151, - 39.624914 - ], - [ - 121.325731, - 39.601402 - ], - [ - 121.299246, - 39.606013 - ], - [ - 121.263521, - 39.589873 - ], - [ - 121.226565, - 39.554814 - ], - [ - 121.224717, - 39.519275 - ], - [ - 121.268449, - 39.482794 - ], - [ - 121.286927, - 39.507271 - ], - [ - 121.301709, - 39.476327 - ], - [ - 121.245659, - 39.456923 - ], - [ - 121.270296, - 39.434277 - ], - [ - 121.246891, - 39.421334 - ], - [ - 121.245659, - 39.389427 - ], - [ - 121.270296, - 39.374162 - ], - [ - 121.307869, - 39.391277 - ], - [ - 121.324499, - 39.371386 - ], - [ - 121.35468, - 39.377863 - ], - [ - 121.432904, - 39.357506 - ], - [ - 121.435984, - 39.329736 - ], - [ - 121.466781, - 39.320014 - ], - [ - 121.474788, - 39.296398 - ], - [ - 121.508665, - 39.29223 - ], - [ - 121.51544, - 39.286672 - ], - [ - 121.562252, - 39.322792 - ], - [ - 121.621382, - 39.326033 - ], - [ - 121.72486, - 39.364447 - ], - [ - 121.711925, - 39.33992 - ], - [ - 121.7187, - 39.320477 - ], - [ - 121.667577, - 39.310754 - ], - [ - 121.672505, - 39.275554 - ], - [ - 121.623846, - 39.285745 - ], - [ - 121.589353, - 39.263044 - ], - [ - 121.631237, - 39.22643 - ], - [ - 121.591201, - 39.228748 - ], - [ - 121.586889, - 39.193506 - ], - [ - 121.604136, - 39.166136 - ], - [ - 121.639244, - 39.166136 - ], - [ - 121.68236, - 39.117863 - ], - [ - 121.631853, - 39.077921 - ], - [ - 121.605983, - 39.080708 - ], - [ - 121.642324, - 39.11972 - ], - [ - 121.590585, - 39.154999 - ], - [ - 121.562252, - 39.127149 - ], - [ - 121.599208, - 39.098824 - ], - [ - 121.581962, - 39.075598 - ], - [ - 121.508049, - 39.034237 - ], - [ - 121.431057, - 39.027263 - ], - [ - 121.370695, - 39.060264 - ], - [ - 121.317108, - 39.012384 - ], - [ - 121.341129, - 38.980757 - ], - [ - 121.275224, - 38.971917 - ], - [ - 121.204391, - 38.941202 - ], - [ - 121.180369, - 38.959819 - ], - [ - 121.128014, - 38.958888 - ], - [ - 121.08921, - 38.922115 - ], - [ - 121.094138, - 38.894173 - ], - [ - 121.129862, - 38.879266 - ], - [ - 121.110768, - 38.862026 - ], - [ - 121.12863, - 38.799089 - ], - [ - 121.112, - 38.776231 - ], - [ - 121.13787, - 38.723023 - ], - [ - 121.198848, - 38.721623 - ], - [ - 121.259825, - 38.786495 - ], - [ - 121.280767, - 38.786961 - ], - [ - 121.288775, - 38.78976 - ], - [ - 121.315876, - 38.793958 - ], - [ - 121.359608, - 38.822406 - ], - [ - 121.399028, - 38.812613 - ], - [ - 121.509897, - 38.817743 - ], - [ - 121.564715, - 38.874607 - ], - [ - 121.618302, - 38.862492 - ], - [ - 121.675585, - 38.86156 - ], - [ - 121.708845, - 38.872744 - ], - [ - 121.719316, - 38.920252 - ], - [ - 121.655874, - 38.946788 - ], - [ - 121.618918, - 38.950046 - ], - [ - 121.66265, - 38.966333 - ], - [ - 121.671273, - 39.010059 - ], - [ - 121.73841, - 38.998898 - ], - [ - 121.756889, - 39.025869 - ], - [ - 121.790149, - 39.022614 - ], - [ - 121.804932, - 38.970986 - ], - [ - 121.863446, - 38.942598 - ], - [ - 121.920728, - 38.969591 - ], - [ - 121.905946, - 38.997503 - ], - [ - 121.852975, - 39.035631 - ], - [ - 121.8887, - 39.027263 - ], - [ - 121.929352, - 39.024939 - ], - [ - 121.907178, - 39.055617 - ], - [ - 121.923192, - 39.053758 - ], - [ - 121.963228, - 39.030053 - ], - [ - 122.013735, - 39.073275 - ], - [ - 122.061778, - 39.060264 - ], - [ - 122.071634, - 39.074204 - ], - [ - 122.048228, - 39.101146 - ], - [ - 122.088264, - 39.112291 - ], - [ - 122.127684, - 39.144788 - ], - [ - 122.167104, - 39.158711 - ], - [ - 122.123988, - 39.172631 - ], - [ - 122.117213, - 39.213911 - ], - [ - 122.160329, - 39.238019 - ], - [ - 122.242865, - 39.267678 - ], - [ - 122.274893, - 39.322329 - ], - [ - 122.30877, - 39.346399 - ], - [ - 122.366053, - 39.370461 - ], - [ - 122.412864, - 39.411625 - ], - [ - 122.455364, - 39.408388 - ], - [ - 122.467682, - 39.403301 - ], - [ - 122.51203, - 39.413474 - ], - [ - 122.532972, - 39.419947 - ], - [ - 122.581631, - 39.464316 - ], - [ - 122.637066, - 39.488799 - ], - [ - 122.649385, - 39.516505 - ], - [ - 122.682645, - 39.514658 - ], - [ - 122.808913, - 39.559889 - ], - [ - 122.847101, - 39.581571 - ], - [ - 122.860652, - 39.604629 - ], - [ - 122.941956, - 39.604629 - ], - [ - 122.972753, - 39.594946 - ], - [ - 122.978912, - 39.616156 - ], - [ - 123.021412, - 39.64335 - ], - [ - 123.010941, - 39.655331 - ], - [ - 123.103332, - 39.676983 - ], - [ - 123.146448, - 39.647037 - ], - [ - 123.166774, - 39.674219 - ], - [ - 123.212969, - 39.665928 - ], - [ - 123.215433, - 39.696786 - ], - [ - 123.253005, - 39.689879 - ], - [ - 123.286882, - 39.704154 - ], - [ - 123.270251, - 39.714743 - ], - [ - 123.274563, - 39.753862 - ], - [ - 123.350939, - 39.750641 - ], - [ - 123.388512, - 39.74742 - ], - [ - 123.392823, - 39.723949 - ], - [ - 123.477823, - 39.74696 - ], - [ - 123.521555, - 39.772724 - ], - [ - 123.534489, - 39.788361 - ] - ] - ], - [ - [ - [ - 122.63953, - 39.286209 - ], - [ - 122.593334, - 39.278334 - ], - [ - 122.539131, - 39.308439 - ], - [ - 122.50895, - 39.290377 - ], - [ - 122.57732, - 39.269994 - ], - [ - 122.67895, - 39.268605 - ], - [ - 122.673406, - 39.269531 - ], - [ - 122.662935, - 39.273701 - ], - [ - 122.655544, - 39.277407 - ], - [ - 122.640761, - 39.288061 - ], - [ - 122.63953, - 39.286209 - ] - ] - ], - [ - [ - [ - 122.318625, - 39.170775 - ], - [ - 122.345111, - 39.144788 - ], - [ - 122.366053, - 39.174951 - ], - [ - 122.398697, - 39.16196 - ], - [ - 122.383299, - 39.190723 - ], - [ - 122.393154, - 39.213448 - ], - [ - 122.343263, - 39.203246 - ], - [ - 122.322321, - 39.177271 - ], - [ - 122.322937, - 39.174487 - ], - [ - 122.319241, - 39.172167 - ], - [ - 122.318625, - 39.170775 - ] - ] - ], - [ - [ - [ - 122.691884, - 39.23292 - ], - [ - 122.696812, - 39.206492 - ], - [ - 122.751631, - 39.229675 - ], - [ - 122.740544, - 39.248679 - ], - [ - 122.635834, - 39.241727 - ], - [ - 122.628443, - 39.231993 - ], - [ - 122.690037, - 39.234774 - ], - [ - 122.691268, - 39.23431 - ], - [ - 122.691884, - 39.23292 - ] - ] - ], - [ - [ - [ - 122.738696, - 39.034701 - ], - [ - 122.704819, - 39.044463 - ], - [ - 122.733152, - 39.014244 - ], - [ - 122.75779, - 39.009594 - ], - [ - 122.739312, - 39.036561 - ], - [ - 122.738696, - 39.034701 - ] - ] - ], - [ - [ - [ - 123.022644, - 39.546507 - ], - [ - 122.96105, - 39.551122 - ], - [ - 122.945035, - 39.520198 - ], - [ - 122.995542, - 39.495264 - ], - [ - 123.036194, - 39.533123 - ], - [ - 123.022644, - 39.546507 - ] - ] - ], - [ - [ - [ - 122.503407, - 39.241263 - ], - [ - 122.502175, - 39.224112 - ], - [ - 122.547755, - 39.229211 - ], - [ - 122.503407, - 39.241263 - ] - ] - ], - [ - [ - [ - 120.786784, - 40.473787 - ], - [ - 120.83298, - 40.491995 - ], - [ - 120.8299, - 40.516112 - ], - [ - 120.805262, - 40.525666 - ], - [ - 120.774465, - 40.48016 - ], - [ - 120.786784, - 40.473787 - ] - ] - ], - [ - [ - [ - 123.086702, - 39.426881 - ], - [ - 123.090397, - 39.450915 - ], - [ - 123.054057, - 39.457847 - ], - [ - 123.086702, - 39.426881 - ] - ] - ], - [ - [ - [ - 123.160614, - 39.025404 - ], - [ - 123.205578, - 39.057011 - ], - [ - 123.20065, - 39.077921 - ], - [ - 123.145832, - 39.091857 - ], - [ - 123.143984, - 39.038885 - ], - [ - 123.160614, - 39.025404 - ] - ] - ], - [ - [ - [ - 123.716807, - 39.74512 - ], - [ - 123.756843, - 39.754322 - ], - [ - 123.719887, - 39.763063 - ], - [ - 123.716807, - 39.74512 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 220000, - "name": "吉林省", - "center": [ - 125.3245, - 43.886841 - ], - "centroid": [ - 126.171208, - 43.703954 - ], - "childrenNum": 9, - "cp": [126.1746, 43.5938], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 6, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 129.601492, - 42.415116 - ], - [ - 129.601492, - 42.422627 - ], - [ - 129.591021, - 42.447803 - ], - [ - 129.627361, - 42.462816 - ], - [ - 129.651999, - 42.426603 - ], - [ - 129.704354, - 42.427045 - ], - [ - 129.748701, - 42.471204 - ], - [ - 129.738846, - 42.500332 - ], - [ - 129.749933, - 42.546644 - ], - [ - 129.746237, - 42.58455 - ], - [ - 129.786889, - 42.615387 - ], - [ - 129.754245, - 42.645768 - ], - [ - 129.796744, - 42.681854 - ], - [ - 129.767179, - 42.707806 - ], - [ - 129.78381, - 42.762752 - ], - [ - 129.810911, - 42.795257 - ], - [ - 129.816454, - 42.851003 - ], - [ - 129.835549, - 42.866796 - ], - [ - 129.846636, - 42.918533 - ], - [ - 129.874969, - 42.923792 - ], - [ - 129.856491, - 42.951833 - ], - [ - 129.868193, - 42.97373 - ], - [ - 129.903918, - 42.968475 - ], - [ - 129.897143, - 43.001748 - ], - [ - 129.954425, - 43.010938 - ], - [ - 129.963664, - 42.978547 - ], - [ - 130.002468, - 42.981174 - ], - [ - 130.027106, - 42.9676 - ], - [ - 130.072685, - 42.971541 - ], - [ - 130.10841, - 42.989929 - ], - [ - 130.144134, - 42.976357 - ], - [ - 130.120729, - 42.954461 - ], - [ - 130.127504, - 42.932556 - ], - [ - 130.10225, - 42.922916 - ], - [ - 130.136127, - 42.90363 - ], - [ - 130.17062, - 42.912397 - ], - [ - 130.21004, - 42.902315 - ], - [ - 130.258083, - 42.90626 - ], - [ - 130.277793, - 42.892232 - ], - [ - 130.258083, - 42.860655 - ], - [ - 130.245148, - 42.799209 - ], - [ - 130.242069, - 42.738582 - ], - [ - 130.257467, - 42.710884 - ], - [ - 130.290112, - 42.702968 - ], - [ - 130.333228, - 42.64973 - ], - [ - 130.373264, - 42.630799 - ], - [ - 130.388046, - 42.603054 - ], - [ - 130.420691, - 42.617148 - ], - [ - 130.44656, - 42.607459 - ], - [ - 130.423771, - 42.574855 - ], - [ - 130.435474, - 42.553257 - ], - [ - 130.476125, - 42.570007 - ], - [ - 130.459495, - 42.588075 - ], - [ - 130.482285, - 42.626837 - ], - [ - 130.522937, - 42.622433 - ], - [ - 130.520473, - 42.593362 - ], - [ - 130.558661, - 42.495919 - ], - [ - 130.585763, - 42.485328 - ], - [ - 130.581451, - 42.435437 - ], - [ - 130.645509, - 42.426603 - ], - [ - 130.600545, - 42.450453 - ], - [ - 130.599929, - 42.486211 - ], - [ - 130.565437, - 42.506509 - ], - [ - 130.570364, - 42.557224 - ], - [ - 130.622719, - 42.573092 - ], - [ - 130.633806, - 42.603494 - ], - [ - 130.592538, - 42.671295 - ], - [ - 130.521089, - 42.702089 - ], - [ - 130.464423, - 42.688453 - ], - [ - 130.425003, - 42.706926 - ], - [ - 130.40714, - 42.731548 - ], - [ - 130.46627, - 42.772417 - ], - [ - 130.532792, - 42.787352 - ], - [ - 130.562357, - 42.815015 - ], - [ - 130.603625, - 42.819405 - ], - [ - 130.665835, - 42.847932 - ], - [ - 130.708335, - 42.846615 - ], - [ - 130.719422, - 42.831695 - ], - [ - 130.75453, - 42.845738 - ], - [ - 130.784095, - 42.842227 - ], - [ - 130.801957, - 42.879515 - ], - [ - 130.845073, - 42.881269 - ], - [ - 130.890653, - 42.852758 - ], - [ - 130.912826, - 42.870744 - ], - [ - 130.949783, - 42.876884 - ], - [ - 130.981812, - 42.857145 - ], - [ - 131.043406, - 42.862848 - ], - [ - 131.017536, - 42.915027 - ], - [ - 131.034167, - 42.929051 - ], - [ - 131.114855, - 42.915027 - ], - [ - 131.145652, - 42.9365 - ], - [ - 131.151195, - 42.968475 - ], - [ - 131.115471, - 42.975482 - ], - [ - 131.11855, - 43.007875 - ], - [ - 131.102536, - 43.021002 - ], - [ - 131.120398, - 43.068238 - ], - [ - 131.171521, - 43.06955 - ], - [ - 131.173985, - 43.111506 - ], - [ - 131.207861, - 43.1316 - ], - [ - 131.218948, - 43.191405 - ], - [ - 131.201086, - 43.203185 - ], - [ - 131.206014, - 43.237202 - ], - [ - 131.255289, - 43.265099 - ], - [ - 131.269455, - 43.297775 - ], - [ - 131.275615, - 43.369165 - ], - [ - 131.314419, - 43.392653 - ], - [ - 131.295941, - 43.441774 - ], - [ - 131.314419, - 43.461325 - ], - [ - 131.31873, - 43.499539 - ], - [ - 131.304564, - 43.502144 - ], - [ - 131.294093, - 43.470012 - ], - [ - 131.234963, - 43.475224 - ], - [ - 131.201086, - 43.442209 - ], - [ - 131.175217, - 43.444816 - ], - [ - 131.142572, - 43.425695 - ], - [ - 131.026775, - 43.508655 - ], - [ - 130.959638, - 43.48608 - ], - [ - 130.907283, - 43.434387 - ], - [ - 130.864167, - 43.437863 - ], - [ - 130.841378, - 43.454374 - ], - [ - 130.822899, - 43.503446 - ], - [ - 130.776704, - 43.52341 - ], - [ - 130.727429, - 43.560284 - ], - [ - 130.671378, - 43.565054 - ], - [ - 130.665835, - 43.583698 - ], - [ - 130.623335, - 43.589767 - ], - [ - 130.630726, - 43.622268 - ], - [ - 130.57098, - 43.626167 - ], - [ - 130.57098, - 43.626167 - ], - [ - 130.501995, - 43.636563 - ], - [ - 130.488444, - 43.65605 - ], - [ - 130.437937, - 43.646091 - ], - [ - 130.412684, - 43.652586 - ], - [ - 130.394206, - 43.703227 - ], - [ - 130.423155, - 43.745179 - ], - [ - 130.382503, - 43.777164 - ], - [ - 130.381887, - 43.817768 - ], - [ - 130.362793, - 43.844967 - ], - [ - 130.386198, - 43.85403 - ], - [ - 130.368336, - 43.894151 - ], - [ - 130.381887, - 43.910106 - ], - [ - 130.338155, - 43.963975 - ], - [ - 130.364025, - 43.992399 - ], - [ - 130.365256, - 44.044042 - ], - [ - 130.319061, - 44.03974 - ], - [ - 130.307358, - 44.002731 - ], - [ - 130.27225, - 43.981634 - ], - [ - 130.262395, - 43.949328 - ], - [ - 130.208192, - 43.948466 - ], - [ - 130.153373, - 43.915711 - ], - [ - 130.143518, - 43.878624 - ], - [ - 130.116417, - 43.878192 - ], - [ - 130.110873, - 43.852735 - ], - [ - 130.079461, - 43.835039 - ], - [ - 130.027722, - 43.851872 - ], - [ - 130.009243, - 43.889407 - ], - [ - 130.022794, - 43.917866 - ], - [ - 130.017867, - 43.961821 - ], - [ - 129.979062, - 44.015644 - ], - [ - 129.951345, - 44.027263 - ], - [ - 129.907614, - 44.023821 - ], - [ - 129.881128, - 44.000148 - ], - [ - 129.868193, - 44.012631 - ], - [ - 129.802904, - 43.964837 - ], - [ - 129.780114, - 43.892857 - ], - [ - 129.739462, - 43.895876 - ], - [ - 129.743158, - 43.876035 - ], - [ - 129.699426, - 43.8838 - ], - [ - 129.650767, - 43.873016 - ], - [ - 129.529427, - 43.870427 - ], - [ - 129.467833, - 43.874741 - ], - [ - 129.449971, - 43.850578 - ], - [ - 129.417942, - 43.843672 - ], - [ - 129.406855, - 43.819496 - ], - [ - 129.348341, - 43.798333 - ], - [ - 129.30892, - 43.812155 - ], - [ - 129.289826, - 43.797038 - ], - [ - 129.254718, - 43.819496 - ], - [ - 129.211602, - 43.784509 - ], - [ - 129.232544, - 43.709284 - ], - [ - 129.214066, - 43.695006 - ], - [ - 129.217146, - 43.648689 - ], - [ - 129.232544, - 43.635263 - ], - [ - 129.23008, - 43.593234 - ], - [ - 129.169102, - 43.561585 - ], - [ - 129.145081, - 43.570258 - ], - [ - 129.093958, - 43.547706 - ], - [ - 129.037907, - 43.540332 - ], - [ - 129.013886, - 43.522976 - ], - [ - 128.962763, - 43.53903 - ], - [ - 128.949828, - 43.553779 - ], - [ - 128.878379, - 43.539898 - ], - [ - 128.834647, - 43.587599 - ], - [ - 128.821097, - 43.637429 - ], - [ - 128.78722, - 43.686784 - ], - [ - 128.768126, - 43.732207 - ], - [ - 128.729322, - 43.736964 - ], - [ - 128.760119, - 43.755554 - ], - [ - 128.739177, - 43.806972 - ], - [ - 128.719467, - 43.816905 - ], - [ - 128.760734, - 43.857482 - ], - [ - 128.729938, - 43.889838 - ], - [ - 128.696061, - 43.903207 - ], - [ - 128.636315, - 43.891132 - ], - [ - 128.64001, - 43.948035 - ], - [ - 128.610445, - 43.960529 - ], - [ - 128.584576, - 43.990246 - ], - [ - 128.574721, - 44.047914 - ], - [ - 128.529141, - 44.112401 - ], - [ - 128.471859, - 44.157501 - ], - [ - 128.450301, - 44.203423 - ], - [ - 128.471859, - 44.247596 - ], - [ - 128.453997, - 44.257884 - ], - [ - 128.472475, - 44.320001 - ], - [ - 128.446605, - 44.339694 - ], - [ - 128.475555, - 44.346114 - ], - [ - 128.481714, - 44.375637 - ], - [ - 128.457076, - 44.409848 - ], - [ - 128.463236, - 44.431647 - ], - [ - 128.427511, - 44.473512 - ], - [ - 128.397946, - 44.483761 - ], - [ - 128.372693, - 44.514495 - ], - [ - 128.295084, - 44.480772 - ], - [ - 128.293237, - 44.467961 - ], - [ - 128.228563, - 44.445748 - ], - [ - 128.211317, - 44.431647 - ], - [ - 128.172512, - 44.34697 - ], - [ - 128.137404, - 44.357668 - ], - [ - 128.094904, - 44.354673 - ], - [ - 128.074578, - 44.370075 - ], - [ - 128.049941, - 44.349965 - ], - [ - 128.065339, - 44.307155 - ], - [ - 128.101679, - 44.293449 - ], - [ - 128.064107, - 44.251454 - ], - [ - 128.104143, - 44.230017 - ], - [ - 128.09244, - 44.181539 - ], - [ - 128.060411, - 44.168663 - ], - [ - 128.088129, - 44.158359 - ], - [ - 128.091208, - 44.133022 - ], - [ - 128.042549, - 44.103807 - ], - [ - 127.950158, - 44.088334 - ], - [ - 127.912586, - 44.064687 - ], - [ - 127.862695, - 44.062967 - ], - [ - 127.846065, - 44.081886 - ], - [ - 127.808492, - 44.086615 - ], - [ - 127.783239, - 44.071997 - ], - [ - 127.729036, - 44.09908 - ], - [ - 127.735811, - 44.11412 - ], - [ - 127.712406, - 44.199133 - ], - [ - 127.681609, - 44.166946 - ], - [ - 127.641573, - 44.193555 - ], - [ - 127.626174, - 44.187977 - ], - [ - 127.59045, - 44.227872 - ], - [ - 127.623711, - 44.278025 - ], - [ - 127.579363, - 44.310581 - ], - [ - 127.486356, - 44.410275 - ], - [ - 127.50853, - 44.437202 - ], - [ - 127.463566, - 44.484615 - ], - [ - 127.465414, - 44.516628 - ], - [ - 127.485124, - 44.528576 - ], - [ - 127.536247, - 44.522176 - ], - [ - 127.570124, - 44.55033 - ], - [ - 127.557189, - 44.575488 - ], - [ - 127.392733, - 44.632158 - ], - [ - 127.275705, - 44.640249 - ], - [ - 127.261538, - 44.61299 - ], - [ - 127.214111, - 44.624917 - ], - [ - 127.228893, - 44.642804 - ], - [ - 127.182082, - 44.644507 - ], - [ - 127.138966, - 44.607451 - ], - [ - 127.094619, - 44.615972 - ], - [ - 127.089691, - 44.593816 - ], - [ - 127.049655, - 44.566961 - ], - [ - 127.041648, - 44.591258 - ], - [ - 127.044112, - 44.653874 - ], - [ - 127.030561, - 44.673454 - ], - [ - 127.041032, - 44.712169 - ], - [ - 126.9973, - 44.764882 - ], - [ - 126.984366, - 44.823914 - ], - [ - 126.999764, - 44.87398 - ], - [ - 127.021938, - 44.898997 - ], - [ - 127.073061, - 44.907051 - ], - [ - 127.092771, - 44.94688 - ], - [ - 127.050271, - 45.004034 - ], - [ - 127.018242, - 45.024341 - ], - [ - 126.984981, - 45.067893 - ], - [ - 126.970815, - 45.070852 - ], - [ - 126.96404, - 45.132104 - ], - [ - 126.85625, - 45.145613 - ], - [ - 126.792808, - 45.135481 - ], - [ - 126.787265, - 45.159118 - ], - [ - 126.732446, - 45.187385 - ], - [ - 126.685635, - 45.187807 - ], - [ - 126.640055, - 45.214373 - ], - [ - 126.644983, - 45.225334 - ], - [ - 126.569222, - 45.252725 - ], - [ - 126.540273, - 45.23882 - ], - [ - 126.519331, - 45.248091 - ], - [ - 126.402919, - 45.222805 - ], - [ - 126.356107, - 45.185698 - ], - [ - 126.293282, - 45.180214 - ], - [ - 126.285274, - 45.162494 - ], - [ - 126.235383, - 45.140125 - ], - [ - 126.225528, - 45.154054 - ], - [ - 126.166398, - 45.13337 - ], - [ - 126.142992, - 45.147723 - ], - [ - 126.091869, - 45.149411 - ], - [ - 126.047522, - 45.170933 - ], - [ - 125.998247, - 45.162072 - ], - [ - 125.992703, - 45.192447 - ], - [ - 125.957595, - 45.201303 - ], - [ - 125.915095, - 45.196664 - ], - [ - 125.849805, - 45.23882 - ], - [ - 125.823936, - 45.237978 - ], - [ - 125.815929, - 45.264942 - ], - [ - 125.761726, - 45.291472 - ], - [ - 125.726001, - 45.336503 - ], - [ - 125.695205, - 45.352066 - ], - [ - 125.712451, - 45.389485 - ], - [ - 125.711835, - 45.477677 - ], - [ - 125.687813, - 45.514173 - ], - [ - 125.660096, - 45.507043 - ], - [ - 125.61698, - 45.517947 - ], - [ - 125.583104, - 45.491942 - ], - [ - 125.497488, - 45.469283 - ], - [ - 125.480242, - 45.486488 - ], - [ - 125.424807, - 45.485649 - ], - [ - 125.434662, - 45.462988 - ], - [ - 125.398322, - 45.416797 - ], - [ - 125.361981, - 45.392847 - ], - [ - 125.319482, - 45.422678 - ], - [ - 125.301619, - 45.402092 - ], - [ - 125.248649, - 45.417637 - ], - [ - 125.189518, - 45.39915 - ], - [ - 125.137779, - 45.409655 - ], - [ - 125.097127, - 45.38276 - ], - [ - 125.06633, - 45.39915 - ], - [ - 125.08912, - 45.420998 - ], - [ - 125.0497, - 45.428558 - ], - [ - 125.025678, - 45.493201 - ], - [ - 124.961005, - 45.495299 - ], - [ - 124.936983, - 45.53388 - ], - [ - 124.911114, - 45.535976 - ], - [ - 124.884628, - 45.495299 - ], - [ - 124.886476, - 45.442836 - ], - [ - 124.839665, - 45.455852 - ], - [ - 124.792853, - 45.436958 - ], - [ - 124.776223, - 45.468024 - ], - [ - 124.729412, - 45.444096 - ], - [ - 124.690607, - 45.452493 - ], - [ - 124.625318, - 45.437377 - ], - [ - 124.575427, - 45.451234 - ], - [ - 124.579738, - 45.424358 - ], - [ - 124.544014, - 45.411756 - ], - [ - 124.507058, - 45.424778 - ], - [ - 124.480572, - 45.456271 - ], - [ - 124.398652, - 45.440737 - ], - [ - 124.374015, - 45.45795 - ], - [ - 124.352457, - 45.496557 - ], - [ - 124.369087, - 45.512915 - ], - [ - 124.348761, - 45.546874 - ], - [ - 124.287783, - 45.539329 - ], - [ - 124.264377, - 45.555256 - ], - [ - 124.273001, - 45.584163 - ], - [ - 124.238508, - 45.591702 - ], - [ - 124.226805, - 45.633564 - ], - [ - 124.162132, - 45.616404 - ], - [ - 124.128255, - 45.641933 - ], - [ - 124.147349, - 45.665359 - ], - [ - 124.122096, - 45.669123 - ], - [ - 124.13503, - 45.690448 - ], - [ - 124.10177, - 45.700898 - ], - [ - 124.098074, - 45.722628 - ], - [ - 124.054342, - 45.751449 - ], - [ - 124.014922, - 45.749779 - ], - [ - 124.001987, - 45.770655 - ], - [ - 124.064197, - 45.802372 - ], - [ - 124.03648, - 45.83824 - ], - [ - 124.067277, - 45.840325 - ], - [ - 124.061118, - 45.886168 - ], - [ - 123.996444, - 45.906993 - ], - [ - 123.968727, - 45.936551 - ], - [ - 123.973654, - 45.973997 - ], - [ - 124.011842, - 45.981899 - ], - [ - 123.989053, - 46.011833 - ], - [ - 124.040176, - 46.01973 - ], - [ - 124.034016, - 46.045074 - ], - [ - 124.009995, - 46.057534 - ], - [ - 124.015538, - 46.088257 - ], - [ - 123.99398, - 46.101123 - ], - [ - 124.01677, - 46.118549 - ], - [ - 123.991516, - 46.143019 - ], - [ - 124.001987, - 46.166649 - ], - [ - 123.971806, - 46.170379 - ], - [ - 123.956408, - 46.206009 - ], - [ - 123.979814, - 46.228784 - ], - [ - 123.952096, - 46.256516 - ], - [ - 123.960103, - 46.288369 - ], - [ - 123.936082, - 46.286715 - ], - [ - 123.917604, - 46.25693 - ], - [ - 123.896046, - 46.303668 - ], - [ - 123.84985, - 46.302428 - ], - [ - 123.775938, - 46.263136 - ], - [ - 123.726047, - 46.255688 - ], - [ - 123.673692, - 46.258585 - ], - [ - 123.604706, - 46.251964 - ], - [ - 123.569598, - 46.223816 - ], - [ - 123.569598, - 46.223816 - ], - [ - 123.499381, - 46.259826 - ], - [ - 123.452569, - 46.233338 - ], - [ - 123.430396, - 46.243687 - ], - [ - 123.357099, - 46.232096 - ], - [ - 123.357099, - 46.232096 - ], - [ - 123.320758, - 46.254447 - ], - [ - 123.286266, - 46.250308 - ], - [ - 123.248078, - 46.273065 - ], - [ - 123.178476, - 46.248239 - ], - [ - 123.128585, - 46.210565 - ], - [ - 123.127354, - 46.174523 - ], - [ - 123.102716, - 46.172037 - ], - [ - 123.112571, - 46.130163 - ], - [ - 123.070071, - 46.123527 - ], - [ - 123.04605, - 46.099878 - ], - [ - 122.792898, - 46.073313 - ], - [ - 122.828623, - 45.912406 - ], - [ - 122.80029, - 45.856583 - ], - [ - 122.772572, - 45.856583 - ], - [ - 122.752246, - 45.834905 - ], - [ - 122.792283, - 45.766063 - ], - [ - 122.751015, - 45.735996 - ], - [ - 122.741775, - 45.705077 - ], - [ - 122.671558, - 45.70048 - ], - [ - 122.650001, - 45.731401 - ], - [ - 122.640761, - 45.771072 - ], - [ - 122.603189, - 45.778169 - ], - [ - 122.556378, - 45.82156 - ], - [ - 122.522501, - 45.786933 - ], - [ - 122.504639, - 45.786933 - ], - [ - 122.496016, - 45.85825 - ], - [ - 122.446125, - 45.916986 - ], - [ - 122.362357, - 45.917403 - ], - [ - 122.372828, - 45.856166 - ], - [ - 122.337719, - 45.859917 - ], - [ - 122.301379, - 45.813218 - ], - [ - 122.253952, - 45.7982 - ], - [ - 122.236705, - 45.831569 - ], - [ - 122.200981, - 45.857 - ], - [ - 122.091344, - 45.882002 - ], - [ - 122.085184, - 45.912406 - ], - [ - 122.040221, - 45.959022 - ], - [ - 121.92812, - 45.988552 - ], - [ - 121.923808, - 46.004767 - ], - [ - 121.864062, - 46.002272 - ], - [ - 121.843736, - 46.024301 - ], - [ - 121.819098, - 46.023054 - ], - [ - 121.761816, - 45.998947 - ], - [ - 121.809243, - 45.961102 - ], - [ - 121.821562, - 45.918235 - ], - [ - 121.805548, - 45.900746 - ], - [ - 121.817251, - 45.875336 - ], - [ - 121.769823, - 45.84366 - ], - [ - 121.766744, - 45.830318 - ], - [ - 121.766744, - 45.830318 - ], - [ - 121.754425, - 45.794862 - ], - [ - 121.697142, - 45.76314 - ], - [ - 121.657106, - 45.770238 - ], - [ - 121.644172, - 45.752284 - ], - [ - 121.666345, - 45.727641 - ], - [ - 121.713773, - 45.701734 - ], - [ - 121.811091, - 45.687103 - ], - [ - 121.812323, - 45.704659 - ], - [ - 121.867142, - 45.719703 - ], - [ - 121.934279, - 45.71051 - ], - [ - 121.970004, - 45.692956 - ], - [ - 122.003264, - 45.623102 - ], - [ - 121.995873, - 45.59882 - ], - [ - 121.966308, - 45.596308 - ], - [ - 121.993409, - 45.552741 - ], - [ - 122.002648, - 45.507882 - ], - [ - 122.064242, - 45.472641 - ], - [ - 122.168336, - 45.439897 - ], - [ - 122.180039, - 45.409655 - ], - [ - 122.146778, - 45.374352 - ], - [ - 122.147394, - 45.295682 - ], - [ - 122.239169, - 45.276313 - ], - [ - 122.22993, - 45.206784 - ], - [ - 122.192358, - 45.180636 - ], - [ - 122.143082, - 45.183167 - ], - [ - 122.109822, - 45.142236 - ], - [ - 122.119677, - 45.068739 - ], - [ - 122.098735, - 45.02138 - ], - [ - 122.074713, - 45.006573 - ], - [ - 122.087032, - 44.95281 - ], - [ - 122.079025, - 44.914256 - ], - [ - 122.04946, - 44.912985 - ], - [ - 122.098119, - 44.81882 - ], - [ - 122.099967, - 44.7823 - ], - [ - 122.168952, - 44.770405 - ], - [ - 122.142467, - 44.753833 - ], - [ - 122.110438, - 44.767856 - ], - [ - 122.10243, - 44.736406 - ], - [ - 122.152322, - 44.744057 - ], - [ - 122.161561, - 44.728328 - ], - [ - 122.117213, - 44.701961 - ], - [ - 122.103046, - 44.67388 - ], - [ - 122.113517, - 44.615546 - ], - [ - 122.13138, - 44.577619 - ], - [ - 122.196053, - 44.559712 - ], - [ - 122.224386, - 44.526016 - ], - [ - 122.228082, - 44.480345 - ], - [ - 122.28598, - 44.477783 - ], - [ - 122.294604, - 44.41113 - ], - [ - 122.291524, - 44.310152 - ], - [ - 122.271198, - 44.255741 - ], - [ - 122.319241, - 44.233018 - ], - [ - 122.483081, - 44.236877 - ], - [ - 122.515726, - 44.251025 - ], - [ - 122.641993, - 44.283595 - ], - [ - 122.675254, - 44.285738 - ], - [ - 122.702971, - 44.319145 - ], - [ - 122.76087, - 44.369648 - ], - [ - 122.85634, - 44.398304 - ], - [ - 123.025108, - 44.493153 - ], - [ - 123.06576, - 44.505959 - ], - [ - 123.12489, - 44.5098 - ], - [ - 123.137209, - 44.486322 - ], - [ - 123.125506, - 44.455147 - ], - [ - 123.142136, - 44.428228 - ], - [ - 123.114419, - 44.40258 - ], - [ - 123.128585, - 44.367081 - ], - [ - 123.196955, - 44.34483 - ], - [ - 123.277027, - 44.25274 - ], - [ - 123.286882, - 44.211574 - ], - [ - 123.323838, - 44.179823 - ], - [ - 123.386664, - 44.161794 - ], - [ - 123.362642, - 44.133452 - ], - [ - 123.350939, - 44.092633 - ], - [ - 123.32815, - 44.084035 - ], - [ - 123.331229, - 44.028984 - ], - [ - 123.365722, - 44.013922 - ], - [ - 123.400831, - 43.979481 - ], - [ - 123.37065, - 43.970006 - ], - [ - 123.397135, - 43.954929 - ], - [ - 123.467968, - 43.853599 - ], - [ - 123.461809, - 43.822518 - ], - [ - 123.498149, - 43.771114 - ], - [ - 123.48275, - 43.737396 - ], - [ - 123.520323, - 43.708419 - ], - [ - 123.518475, - 43.682024 - ], - [ - 123.536953, - 43.633964 - ], - [ - 123.510468, - 43.624867 - ], - [ - 123.5117, - 43.592801 - ], - [ - 123.421157, - 43.598435 - ], - [ - 123.434091, - 43.575461 - ], - [ - 123.461193, - 43.568523 - ], - [ - 123.452569, - 43.545971 - ], - [ - 123.452569, - 43.545971 - ], - [ - 123.360179, - 43.567223 - ], - [ - 123.304744, - 43.550742 - ], - [ - 123.329998, - 43.519071 - ], - [ - 123.315831, - 43.492159 - ], - [ - 123.36449, - 43.483475 - ], - [ - 123.382968, - 43.469143 - ], - [ - 123.419925, - 43.410046 - ], - [ - 123.442098, - 43.437863 - ], - [ - 123.486446, - 43.44525 - ], - [ - 123.519707, - 43.402219 - ], - [ - 123.54496, - 43.415262 - ], - [ - 123.608402, - 43.366119 - ], - [ - 123.703873, - 43.37047 - ], - [ - 123.710032, - 43.417001 - ], - [ - 123.749452, - 43.439167 - ], - [ - 123.747604, - 43.472184 - ], - [ - 123.79688, - 43.489988 - ], - [ - 123.857858, - 43.459153 - ], - [ - 123.857858, - 43.459153 - ], - [ - 123.852314, - 43.406133 - ], - [ - 123.881263, - 43.392218 - ], - [ - 123.881263, - 43.392218 - ], - [ - 123.896046, - 43.361333 - ], - [ - 123.964415, - 43.34088 - ], - [ - 124.032784, - 43.280786 - ], - [ - 124.099306, - 43.292983 - ], - [ - 124.117168, - 43.2773 - ], - [ - 124.114088, - 43.247229 - ], - [ - 124.168291, - 43.244177 - ], - [ - 124.215102, - 43.255947 - ], - [ - 124.228653, - 43.235022 - ], - [ - 124.27608, - 43.233278 - ], - [ - 124.287167, - 43.207983 - ], - [ - 124.273617, - 43.17875 - ], - [ - 124.366007, - 43.121554 - ], - [ - 124.425754, - 43.076107 - ], - [ - 124.333363, - 42.997371 - ], - [ - 124.369703, - 42.972854 - ], - [ - 124.42329, - 42.975482 - ], - [ - 124.442384, - 42.958841 - ], - [ - 124.431913, - 42.930803 - ], - [ - 124.38079, - 42.912835 - ], - [ - 124.371551, - 42.880831 - ], - [ - 124.435609, - 42.880831 - ], - [ - 124.466406, - 42.847054 - ], - [ - 124.586514, - 42.905384 - ], - [ - 124.607456, - 42.937376 - ], - [ - 124.632093, - 42.949642 - ], - [ - 124.635173, - 42.972854 - ], - [ - 124.658579, - 42.972854 - ], - [ - 124.677673, - 43.002185 - ], - [ - 124.686912, - 43.051185 - ], - [ - 124.719557, - 43.069987 - ], - [ - 124.755281, - 43.074359 - ], - [ - 124.785462, - 43.117185 - ], - [ - 124.882781, - 43.13422 - ], - [ - 124.88894, - 43.074796 - ], - [ - 124.840897, - 43.032377 - ], - [ - 124.869846, - 42.988178 - ], - [ - 124.87231, - 42.962344 - ], - [ - 124.84952, - 42.882585 - ], - [ - 124.856911, - 42.824234 - ], - [ - 124.874157, - 42.789987 - ], - [ - 124.897563, - 42.787791 - ], - [ - 124.92836, - 42.819844 - ], - [ - 124.975171, - 42.802722 - ], - [ - 124.996729, - 42.745174 - ], - [ - 124.968396, - 42.722756 - ], - [ - 124.99057, - 42.677455 - ], - [ - 125.014592, - 42.666014 - ], - [ - 125.010896, - 42.63212 - ], - [ - 125.038613, - 42.615387 - ], - [ - 125.097127, - 42.622433 - ], - [ - 125.082961, - 42.591159 - ], - [ - 125.089736, - 42.567803 - ], - [ - 125.066946, - 42.534738 - ], - [ - 125.090968, - 42.515773 - ], - [ - 125.068794, - 42.499449 - ], - [ - 125.105135, - 42.490624 - ], - [ - 125.150098, - 42.458842 - ], - [ - 125.140243, - 42.44692 - ], - [ - 125.186439, - 42.427928 - ], - [ - 125.185823, - 42.38197 - ], - [ - 125.203685, - 42.366938 - ], - [ - 125.167345, - 42.351903 - ], - [ - 125.175352, - 42.308102 - ], - [ - 125.224011, - 42.30102 - ], - [ - 125.264047, - 42.312528 - ], - [ - 125.299156, - 42.289953 - ], - [ - 125.27575, - 42.266928 - ], - [ - 125.27575, - 42.231045 - ], - [ - 125.312706, - 42.219966 - ], - [ - 125.280677, - 42.175187 - ], - [ - 125.312706, - 42.197359 - ], - [ - 125.305931, - 42.146351 - ], - [ - 125.357054, - 42.145464 - ], - [ - 125.368141, - 42.182726 - ], - [ - 125.41372, - 42.156112 - ], - [ - 125.458068, - 42.160105 - ], - [ - 125.458068, - 42.160105 - ], - [ - 125.490097, - 42.136145 - ], - [ - 125.446365, - 42.098411 - ], - [ - 125.414336, - 42.101964 - ], - [ - 125.416184, - 42.063766 - ], - [ - 125.363213, - 42.017097 - ], - [ - 125.369989, - 42.002868 - ], - [ - 125.29854, - 41.974399 - ], - [ - 125.291764, - 41.958825 - ], - [ - 125.35151, - 41.92811 - ], - [ - 125.307779, - 41.924548 - ], - [ - 125.294844, - 41.822945 - ], - [ - 125.319482, - 41.776993 - ], - [ - 125.319482, - 41.776993 - ], - [ - 125.323177, - 41.771191 - ], - [ - 125.323177, - 41.771191 - ], - [ - 125.336112, - 41.768067 - ], - [ - 125.336112, - 41.768067 - ], - [ - 125.332416, - 41.711354 - ], - [ - 125.317018, - 41.676944 - ], - [ - 125.344119, - 41.672474 - ], - [ - 125.412488, - 41.691246 - ], - [ - 125.446981, - 41.67605 - ], - [ - 125.461148, - 41.642516 - ], - [ - 125.450061, - 41.597777 - ], - [ - 125.479626, - 41.544946 - ], - [ - 125.507343, - 41.534195 - ], - [ - 125.493176, - 41.509103 - ], - [ - 125.533212, - 41.479069 - ], - [ - 125.534444, - 41.428833 - ], - [ - 125.547995, - 41.401006 - ], - [ - 125.581256, - 41.396517 - ], - [ - 125.589879, - 41.359245 - ], - [ - 125.610205, - 41.365084 - ], - [ - 125.637306, - 41.34442 - ], - [ - 125.62006, - 41.318355 - ], - [ - 125.642234, - 41.296327 - ], - [ - 125.646545, - 41.264396 - ], - [ - 125.685349, - 41.273842 - ], - [ - 125.695205, - 41.244599 - ], - [ - 125.749407, - 41.245499 - ], - [ - 125.758646, - 41.232449 - ], - [ - 125.73832, - 41.178418 - ], - [ - 125.791291, - 41.167607 - ], - [ - 125.759878, - 41.132908 - ], - [ - 125.734009, - 41.125695 - ], - [ - 125.712451, - 41.095485 - ], - [ - 125.739552, - 41.08917 - ], - [ - 125.726617, - 41.055332 - ], - [ - 125.684118, - 41.021929 - ], - [ - 125.674879, - 40.974503 - ], - [ - 125.650241, - 40.970888 - ], - [ - 125.635458, - 40.94151 - ], - [ - 125.589263, - 40.931112 - ], - [ - 125.584335, - 40.891764 - ], - [ - 125.652089, - 40.91619 - ], - [ - 125.687813, - 40.897645 - ], - [ - 125.707523, - 40.866877 - ], - [ - 125.778356, - 40.897645 - ], - [ - 125.817161, - 40.866877 - ], - [ - 125.860892, - 40.888597 - ], - [ - 125.875059, - 40.908501 - ], - [ - 125.921254, - 40.882715 - ], - [ - 125.959442, - 40.88181 - ], - [ - 126.008102, - 40.936537 - ], - [ - 126.041362, - 40.928851 - ], - [ - 126.051833, - 40.96185 - ], - [ - 126.08263, - 40.976762 - ], - [ - 126.066, - 40.997542 - ], - [ - 126.1085, - 41.011995 - ], - [ - 126.099877, - 41.036376 - ], - [ - 126.133753, - 41.063906 - ], - [ - 126.124514, - 41.092327 - ], - [ - 126.16763, - 41.094583 - ], - [ - 126.187956, - 41.113072 - ], - [ - 126.188572, - 41.114875 - ], - [ - 126.295129, - 41.171661 - ], - [ - 126.332086, - 41.236949 - ], - [ - 126.35426, - 41.244599 - ], - [ - 126.373354, - 41.289133 - ], - [ - 126.437411, - 41.353405 - ], - [ - 126.497158, - 41.374965 - ], - [ - 126.524259, - 41.349362 - ], - [ - 126.539041, - 41.366881 - ], - [ - 126.497158, - 41.406842 - ], - [ - 126.559983, - 41.548081 - ], - [ - 126.582773, - 41.563307 - ], - [ - 126.564295, - 41.608965 - ], - [ - 126.592628, - 41.624624 - ], - [ - 126.608027, - 41.669345 - ], - [ - 126.644983, - 41.661297 - ], - [ - 126.688099, - 41.674262 - ], - [ - 126.724439, - 41.710907 - ], - [ - 126.690562, - 41.728328 - ], - [ - 126.694874, - 41.751103 - ], - [ - 126.723207, - 41.753335 - ], - [ - 126.8002, - 41.702865 - ], - [ - 126.809439, - 41.749317 - ], - [ - 126.848243, - 41.734134 - ], - [ - 126.85625, - 41.760031 - ], - [ - 126.887047, - 41.791719 - ], - [ - 126.931395, - 41.812687 - ], - [ - 126.952953, - 41.804212 - ], - [ - 126.940018, - 41.773423 - ], - [ - 126.979438, - 41.776993 - ], - [ - 127.005923, - 41.749317 - ], - [ - 127.050887, - 41.744852 - ], - [ - 127.057662, - 41.703758 - ], - [ - 127.037952, - 41.676944 - ], - [ - 127.103242, - 41.647883 - ], - [ - 127.093387, - 41.629993 - ], - [ - 127.127263, - 41.622388 - ], - [ - 127.135887, - 41.600463 - ], - [ - 127.178386, - 41.600015 - ], - [ - 127.125416, - 41.566442 - ], - [ - 127.11864, - 41.540018 - ], - [ - 127.164836, - 41.542706 - ], - [ - 127.188241, - 41.527475 - ], - [ - 127.241212, - 41.520754 - ], - [ - 127.28864, - 41.501932 - ], - [ - 127.253531, - 41.486691 - ], - [ - 127.296031, - 41.486243 - ], - [ - 127.360704, - 41.466065 - ], - [ - 127.360088, - 41.479518 - ], - [ - 127.405668, - 41.478621 - ], - [ - 127.419835, - 41.460235 - ], - [ - 127.459255, - 41.461581 - ], - [ - 127.465414, - 41.479069 - ], - [ - 127.526392, - 41.467859 - ], - [ - 127.547334, - 41.477276 - ], - [ - 127.563964, - 41.432871 - ], - [ - 127.618783, - 41.432871 - ], - [ - 127.636645, - 41.413575 - ], - [ - 127.684073, - 41.422999 - ], - [ - 127.780159, - 41.427038 - ], - [ - 127.854688, - 41.420755 - ], - [ - 127.86947, - 41.4037 - ], - [ - 127.882405, - 41.448124 - ], - [ - 127.909506, - 41.42973 - ], - [ - 127.93168, - 41.444984 - ], - [ - 127.970484, - 41.438704 - ], - [ - 127.991426, - 41.421204 - ], - [ - 128.000049, - 41.442741 - ], - [ - 128.040085, - 41.393375 - ], - [ - 128.110919, - 41.393375 - ], - [ - 128.090593, - 41.374516 - ], - [ - 128.114614, - 41.364186 - ], - [ - 128.169433, - 41.404149 - ], - [ - 128.203925, - 41.410882 - ], - [ - 128.243345, - 41.477276 - ], - [ - 128.238418, - 41.497898 - ], - [ - 128.301244, - 41.540018 - ], - [ - 128.317874, - 41.575844 - ], - [ - 128.30186, - 41.627756 - ], - [ - 128.248889, - 41.681414 - ], - [ - 128.208853, - 41.688565 - ], - [ - 128.163889, - 41.721628 - ], - [ - 128.147875, - 41.78101 - ], - [ - 128.112766, - 41.793504 - ], - [ - 128.104143, - 41.843457 - ], - [ - 128.115846, - 41.896935 - ], - [ - 128.106607, - 41.949923 - ], - [ - 128.033926, - 42.000199 - ], - [ - 128.090593, - 42.022877 - ], - [ - 128.294468, - 42.026434 - ], - [ - 128.405338, - 42.018876 - ], - [ - 128.466316, - 42.020654 - ], - [ - 128.49896, - 42.000644 - ], - [ - 128.598127, - 42.007315 - ], - [ - 128.60675, - 42.02999 - ], - [ - 128.637547, - 42.035324 - ], - [ - 128.658489, - 42.018876 - ], - [ - 128.70222, - 42.02021 - ], - [ - 128.737945, - 42.050435 - ], - [ - 128.779213, - 42.033546 - ], - [ - 128.795227, - 42.042436 - ], - [ - 128.898089, - 42.016653 - ], - [ - 128.952908, - 42.025545 - ], - [ - 128.954755, - 42.083756 - ], - [ - 128.971386, - 42.097079 - ], - [ - 129.008958, - 42.09175 - ], - [ - 129.039139, - 42.107736 - ], - [ - 129.048378, - 42.137476 - ], - [ - 129.113668, - 42.140583 - ], - [ - 129.166639, - 42.188047 - ], - [ - 129.215914, - 42.208442 - ], - [ - 129.209138, - 42.237692 - ], - [ - 129.181421, - 42.242122 - ], - [ - 129.183269, - 42.262056 - ], - [ - 129.215914, - 42.265157 - ], - [ - 129.231312, - 42.283755 - ], - [ - 129.208522, - 42.293052 - ], - [ - 129.260261, - 42.335536 - ], - [ - 129.231312, - 42.356325 - ], - [ - 129.240551, - 42.376223 - ], - [ - 129.326167, - 42.389927 - ], - [ - 129.30892, - 42.403628 - ], - [ - 129.331094, - 42.429695 - ], - [ - 129.356348, - 42.427045 - ], - [ - 129.342181, - 42.441179 - ], - [ - 129.368051, - 42.459284 - ], - [ - 129.366203, - 42.428811 - ], - [ - 129.392688, - 42.42837 - ], - [ - 129.400695, - 42.449128 - ], - [ - 129.452434, - 42.441179 - ], - [ - 129.49863, - 42.412023 - ], - [ - 129.546057, - 42.361632 - ], - [ - 129.578086, - 42.380202 - ], - [ - 129.569463, - 42.399208 - ], - [ - 129.601492, - 42.415116 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 230000, - "name": "黑龙江省", - "center": [ - 126.642464, - 45.756967 - ], - "centroid": [ - 127.693027, - 48.040465 - ], - "childrenNum": 13, - "cp": [128.1445, 46.7156], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 7, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 123.569598, - 46.223816 - ], - [ - 123.604706, - 46.251964 - ], - [ - 123.673692, - 46.258585 - ], - [ - 123.726047, - 46.255688 - ], - [ - 123.775938, - 46.263136 - ], - [ - 123.84985, - 46.302428 - ], - [ - 123.896046, - 46.303668 - ], - [ - 123.917604, - 46.25693 - ], - [ - 123.936082, - 46.286715 - ], - [ - 123.960103, - 46.288369 - ], - [ - 123.952096, - 46.256516 - ], - [ - 123.979814, - 46.228784 - ], - [ - 123.956408, - 46.206009 - ], - [ - 123.971806, - 46.170379 - ], - [ - 124.001987, - 46.166649 - ], - [ - 123.991516, - 46.143019 - ], - [ - 124.01677, - 46.118549 - ], - [ - 123.99398, - 46.101123 - ], - [ - 124.015538, - 46.088257 - ], - [ - 124.009995, - 46.057534 - ], - [ - 124.034016, - 46.045074 - ], - [ - 124.040176, - 46.01973 - ], - [ - 123.989053, - 46.011833 - ], - [ - 124.011842, - 45.981899 - ], - [ - 123.973654, - 45.973997 - ], - [ - 123.968727, - 45.936551 - ], - [ - 123.996444, - 45.906993 - ], - [ - 124.061118, - 45.886168 - ], - [ - 124.067277, - 45.840325 - ], - [ - 124.03648, - 45.83824 - ], - [ - 124.064197, - 45.802372 - ], - [ - 124.001987, - 45.770655 - ], - [ - 124.014922, - 45.749779 - ], - [ - 124.054342, - 45.751449 - ], - [ - 124.098074, - 45.722628 - ], - [ - 124.10177, - 45.700898 - ], - [ - 124.13503, - 45.690448 - ], - [ - 124.122096, - 45.669123 - ], - [ - 124.147349, - 45.665359 - ], - [ - 124.128255, - 45.641933 - ], - [ - 124.162132, - 45.616404 - ], - [ - 124.226805, - 45.633564 - ], - [ - 124.238508, - 45.591702 - ], - [ - 124.273001, - 45.584163 - ], - [ - 124.264377, - 45.555256 - ], - [ - 124.287783, - 45.539329 - ], - [ - 124.348761, - 45.546874 - ], - [ - 124.369087, - 45.512915 - ], - [ - 124.352457, - 45.496557 - ], - [ - 124.374015, - 45.45795 - ], - [ - 124.398652, - 45.440737 - ], - [ - 124.480572, - 45.456271 - ], - [ - 124.507058, - 45.424778 - ], - [ - 124.544014, - 45.411756 - ], - [ - 124.579738, - 45.424358 - ], - [ - 124.575427, - 45.451234 - ], - [ - 124.625318, - 45.437377 - ], - [ - 124.690607, - 45.452493 - ], - [ - 124.729412, - 45.444096 - ], - [ - 124.776223, - 45.468024 - ], - [ - 124.792853, - 45.436958 - ], - [ - 124.839665, - 45.455852 - ], - [ - 124.886476, - 45.442836 - ], - [ - 124.884628, - 45.495299 - ], - [ - 124.911114, - 45.535976 - ], - [ - 124.936983, - 45.53388 - ], - [ - 124.961005, - 45.495299 - ], - [ - 125.025678, - 45.493201 - ], - [ - 125.0497, - 45.428558 - ], - [ - 125.08912, - 45.420998 - ], - [ - 125.06633, - 45.39915 - ], - [ - 125.097127, - 45.38276 - ], - [ - 125.137779, - 45.409655 - ], - [ - 125.189518, - 45.39915 - ], - [ - 125.248649, - 45.417637 - ], - [ - 125.301619, - 45.402092 - ], - [ - 125.319482, - 45.422678 - ], - [ - 125.361981, - 45.392847 - ], - [ - 125.398322, - 45.416797 - ], - [ - 125.434662, - 45.462988 - ], - [ - 125.424807, - 45.485649 - ], - [ - 125.480242, - 45.486488 - ], - [ - 125.497488, - 45.469283 - ], - [ - 125.583104, - 45.491942 - ], - [ - 125.61698, - 45.517947 - ], - [ - 125.660096, - 45.507043 - ], - [ - 125.687813, - 45.514173 - ], - [ - 125.711835, - 45.477677 - ], - [ - 125.712451, - 45.389485 - ], - [ - 125.695205, - 45.352066 - ], - [ - 125.726001, - 45.336503 - ], - [ - 125.761726, - 45.291472 - ], - [ - 125.815929, - 45.264942 - ], - [ - 125.823936, - 45.237978 - ], - [ - 125.849805, - 45.23882 - ], - [ - 125.915095, - 45.196664 - ], - [ - 125.957595, - 45.201303 - ], - [ - 125.992703, - 45.192447 - ], - [ - 125.998247, - 45.162072 - ], - [ - 126.047522, - 45.170933 - ], - [ - 126.091869, - 45.149411 - ], - [ - 126.142992, - 45.147723 - ], - [ - 126.166398, - 45.13337 - ], - [ - 126.225528, - 45.154054 - ], - [ - 126.235383, - 45.140125 - ], - [ - 126.285274, - 45.162494 - ], - [ - 126.293282, - 45.180214 - ], - [ - 126.356107, - 45.185698 - ], - [ - 126.402919, - 45.222805 - ], - [ - 126.519331, - 45.248091 - ], - [ - 126.540273, - 45.23882 - ], - [ - 126.569222, - 45.252725 - ], - [ - 126.644983, - 45.225334 - ], - [ - 126.640055, - 45.214373 - ], - [ - 126.685635, - 45.187807 - ], - [ - 126.732446, - 45.187385 - ], - [ - 126.787265, - 45.159118 - ], - [ - 126.792808, - 45.135481 - ], - [ - 126.85625, - 45.145613 - ], - [ - 126.96404, - 45.132104 - ], - [ - 126.970815, - 45.070852 - ], - [ - 126.984981, - 45.067893 - ], - [ - 127.018242, - 45.024341 - ], - [ - 127.050271, - 45.004034 - ], - [ - 127.092771, - 44.94688 - ], - [ - 127.073061, - 44.907051 - ], - [ - 127.021938, - 44.898997 - ], - [ - 126.999764, - 44.87398 - ], - [ - 126.984366, - 44.823914 - ], - [ - 126.9973, - 44.764882 - ], - [ - 127.041032, - 44.712169 - ], - [ - 127.030561, - 44.673454 - ], - [ - 127.044112, - 44.653874 - ], - [ - 127.041648, - 44.591258 - ], - [ - 127.049655, - 44.566961 - ], - [ - 127.089691, - 44.593816 - ], - [ - 127.094619, - 44.615972 - ], - [ - 127.138966, - 44.607451 - ], - [ - 127.182082, - 44.644507 - ], - [ - 127.228893, - 44.642804 - ], - [ - 127.214111, - 44.624917 - ], - [ - 127.261538, - 44.61299 - ], - [ - 127.275705, - 44.640249 - ], - [ - 127.392733, - 44.632158 - ], - [ - 127.557189, - 44.575488 - ], - [ - 127.570124, - 44.55033 - ], - [ - 127.536247, - 44.522176 - ], - [ - 127.485124, - 44.528576 - ], - [ - 127.465414, - 44.516628 - ], - [ - 127.463566, - 44.484615 - ], - [ - 127.50853, - 44.437202 - ], - [ - 127.486356, - 44.410275 - ], - [ - 127.579363, - 44.310581 - ], - [ - 127.623711, - 44.278025 - ], - [ - 127.59045, - 44.227872 - ], - [ - 127.626174, - 44.187977 - ], - [ - 127.641573, - 44.193555 - ], - [ - 127.681609, - 44.166946 - ], - [ - 127.712406, - 44.199133 - ], - [ - 127.735811, - 44.11412 - ], - [ - 127.729036, - 44.09908 - ], - [ - 127.783239, - 44.071997 - ], - [ - 127.808492, - 44.086615 - ], - [ - 127.846065, - 44.081886 - ], - [ - 127.862695, - 44.062967 - ], - [ - 127.912586, - 44.064687 - ], - [ - 127.950158, - 44.088334 - ], - [ - 128.042549, - 44.103807 - ], - [ - 128.091208, - 44.133022 - ], - [ - 128.088129, - 44.158359 - ], - [ - 128.060411, - 44.168663 - ], - [ - 128.09244, - 44.181539 - ], - [ - 128.104143, - 44.230017 - ], - [ - 128.064107, - 44.251454 - ], - [ - 128.101679, - 44.293449 - ], - [ - 128.065339, - 44.307155 - ], - [ - 128.049941, - 44.349965 - ], - [ - 128.074578, - 44.370075 - ], - [ - 128.094904, - 44.354673 - ], - [ - 128.137404, - 44.357668 - ], - [ - 128.172512, - 44.34697 - ], - [ - 128.211317, - 44.431647 - ], - [ - 128.228563, - 44.445748 - ], - [ - 128.293237, - 44.467961 - ], - [ - 128.295084, - 44.480772 - ], - [ - 128.372693, - 44.514495 - ], - [ - 128.397946, - 44.483761 - ], - [ - 128.427511, - 44.473512 - ], - [ - 128.463236, - 44.431647 - ], - [ - 128.457076, - 44.409848 - ], - [ - 128.481714, - 44.375637 - ], - [ - 128.475555, - 44.346114 - ], - [ - 128.446605, - 44.339694 - ], - [ - 128.472475, - 44.320001 - ], - [ - 128.453997, - 44.257884 - ], - [ - 128.471859, - 44.247596 - ], - [ - 128.450301, - 44.203423 - ], - [ - 128.471859, - 44.157501 - ], - [ - 128.529141, - 44.112401 - ], - [ - 128.574721, - 44.047914 - ], - [ - 128.584576, - 43.990246 - ], - [ - 128.610445, - 43.960529 - ], - [ - 128.64001, - 43.948035 - ], - [ - 128.636315, - 43.891132 - ], - [ - 128.696061, - 43.903207 - ], - [ - 128.729938, - 43.889838 - ], - [ - 128.760734, - 43.857482 - ], - [ - 128.719467, - 43.816905 - ], - [ - 128.739177, - 43.806972 - ], - [ - 128.760119, - 43.755554 - ], - [ - 128.729322, - 43.736964 - ], - [ - 128.768126, - 43.732207 - ], - [ - 128.78722, - 43.686784 - ], - [ - 128.821097, - 43.637429 - ], - [ - 128.834647, - 43.587599 - ], - [ - 128.878379, - 43.539898 - ], - [ - 128.949828, - 43.553779 - ], - [ - 128.962763, - 43.53903 - ], - [ - 129.013886, - 43.522976 - ], - [ - 129.037907, - 43.540332 - ], - [ - 129.093958, - 43.547706 - ], - [ - 129.145081, - 43.570258 - ], - [ - 129.169102, - 43.561585 - ], - [ - 129.23008, - 43.593234 - ], - [ - 129.232544, - 43.635263 - ], - [ - 129.217146, - 43.648689 - ], - [ - 129.214066, - 43.695006 - ], - [ - 129.232544, - 43.709284 - ], - [ - 129.211602, - 43.784509 - ], - [ - 129.254718, - 43.819496 - ], - [ - 129.289826, - 43.797038 - ], - [ - 129.30892, - 43.812155 - ], - [ - 129.348341, - 43.798333 - ], - [ - 129.406855, - 43.819496 - ], - [ - 129.417942, - 43.843672 - ], - [ - 129.449971, - 43.850578 - ], - [ - 129.467833, - 43.874741 - ], - [ - 129.529427, - 43.870427 - ], - [ - 129.650767, - 43.873016 - ], - [ - 129.699426, - 43.8838 - ], - [ - 129.743158, - 43.876035 - ], - [ - 129.739462, - 43.895876 - ], - [ - 129.780114, - 43.892857 - ], - [ - 129.802904, - 43.964837 - ], - [ - 129.868193, - 44.012631 - ], - [ - 129.881128, - 44.000148 - ], - [ - 129.907614, - 44.023821 - ], - [ - 129.951345, - 44.027263 - ], - [ - 129.979062, - 44.015644 - ], - [ - 130.017867, - 43.961821 - ], - [ - 130.022794, - 43.917866 - ], - [ - 130.009243, - 43.889407 - ], - [ - 130.027722, - 43.851872 - ], - [ - 130.079461, - 43.835039 - ], - [ - 130.110873, - 43.852735 - ], - [ - 130.116417, - 43.878192 - ], - [ - 130.143518, - 43.878624 - ], - [ - 130.153373, - 43.915711 - ], - [ - 130.208192, - 43.948466 - ], - [ - 130.262395, - 43.949328 - ], - [ - 130.27225, - 43.981634 - ], - [ - 130.307358, - 44.002731 - ], - [ - 130.319061, - 44.03974 - ], - [ - 130.365256, - 44.044042 - ], - [ - 130.364025, - 43.992399 - ], - [ - 130.338155, - 43.963975 - ], - [ - 130.381887, - 43.910106 - ], - [ - 130.368336, - 43.894151 - ], - [ - 130.386198, - 43.85403 - ], - [ - 130.362793, - 43.844967 - ], - [ - 130.381887, - 43.817768 - ], - [ - 130.382503, - 43.777164 - ], - [ - 130.423155, - 43.745179 - ], - [ - 130.394206, - 43.703227 - ], - [ - 130.412684, - 43.652586 - ], - [ - 130.437937, - 43.646091 - ], - [ - 130.488444, - 43.65605 - ], - [ - 130.501995, - 43.636563 - ], - [ - 130.57098, - 43.626167 - ], - [ - 130.57098, - 43.626167 - ], - [ - 130.630726, - 43.622268 - ], - [ - 130.623335, - 43.589767 - ], - [ - 130.665835, - 43.583698 - ], - [ - 130.671378, - 43.565054 - ], - [ - 130.727429, - 43.560284 - ], - [ - 130.776704, - 43.52341 - ], - [ - 130.822899, - 43.503446 - ], - [ - 130.841378, - 43.454374 - ], - [ - 130.864167, - 43.437863 - ], - [ - 130.907283, - 43.434387 - ], - [ - 130.959638, - 43.48608 - ], - [ - 131.026775, - 43.508655 - ], - [ - 131.142572, - 43.425695 - ], - [ - 131.175217, - 43.444816 - ], - [ - 131.201086, - 43.442209 - ], - [ - 131.234963, - 43.475224 - ], - [ - 131.294093, - 43.470012 - ], - [ - 131.304564, - 43.502144 - ], - [ - 131.276847, - 43.495632 - ], - [ - 131.20047, - 43.532089 - ], - [ - 131.222028, - 43.593234 - ], - [ - 131.216485, - 43.613169 - ], - [ - 131.239274, - 43.670337 - ], - [ - 131.221412, - 43.682024 - ], - [ - 131.215869, - 43.72745 - ], - [ - 131.232499, - 43.742585 - ], - [ - 131.213405, - 43.801357 - ], - [ - 131.2171, - 43.836334 - ], - [ - 131.254057, - 43.893289 - ], - [ - 131.26268, - 43.948897 - ], - [ - 131.245434, - 43.95579 - ], - [ - 131.26576, - 44.034578 - ], - [ - 131.28239, - 44.035868 - ], - [ - 131.287318, - 44.03802 - ], - [ - 131.293477, - 44.043182 - ], - [ - 131.310723, - 44.046623 - ], - [ - 131.111775, - 44.710042 - ], - [ - 131.090833, - 44.717272 - ], - [ - 131.093297, - 44.746183 - ], - [ - 131.069275, - 44.759783 - ], - [ - 131.064348, - 44.786973 - ], - [ - 131.016304, - 44.789521 - ], - [ - 131.015688, - 44.814999 - ], - [ - 130.972573, - 44.820094 - ], - [ - 130.965181, - 44.85065 - ], - [ - 131.07913, - 44.881614 - ], - [ - 131.10192, - 44.898997 - ], - [ - 131.090217, - 44.924427 - ], - [ - 131.16105, - 44.948151 - ], - [ - 131.20355, - 44.932901 - ], - [ - 131.207861, - 44.913833 - ], - [ - 131.263296, - 44.929935 - ], - [ - 131.274999, - 44.919766 - ], - [ - 131.313803, - 44.950692 - ], - [ - 131.313803, - 44.965938 - ], - [ - 131.355071, - 44.990068 - ], - [ - 131.380324, - 44.978216 - ], - [ - 131.409889, - 44.985836 - ], - [ - 131.464708, - 44.963397 - ], - [ - 131.501664, - 44.977793 - ], - [ - 131.484418, - 44.99557 - ], - [ - 131.529382, - 45.012073 - ], - [ - 131.566338, - 45.045487 - ], - [ - 131.63286, - 45.075078 - ], - [ - 131.695685, - 45.132104 - ], - [ - 131.687678, - 45.1511 - ], - [ - 131.650722, - 45.159962 - ], - [ - 131.681519, - 45.215217 - ], - [ - 131.721555, - 45.234606 - ], - [ - 131.759127, - 45.213952 - ], - [ - 131.79362, - 45.211844 - ], - [ - 131.788692, - 45.245984 - ], - [ - 131.825649, - 45.291472 - ], - [ - 131.82996, - 45.311677 - ], - [ - 131.887858, - 45.342393 - ], - [ - 131.917423, - 45.339448 - ], - [ - 131.93159, - 45.287683 - ], - [ - 131.976554, - 45.277156 - ], - [ - 132.003655, - 45.25441 - ], - [ - 132.17427, - 45.216903 - ], - [ - 132.394161, - 45.16376 - ], - [ - 132.76434, - 45.081417 - ], - [ - 132.867202, - 45.061976 - ], - [ - 132.916477, - 45.031109 - ], - [ - 132.954049, - 45.023072 - ], - [ - 132.98731, - 45.043373 - ], - [ - 133.035969, - 45.054366 - ], - [ - 133.070462, - 45.097051 - ], - [ - 133.089556, - 45.097473 - ], - [ - 133.107418, - 45.124504 - ], - [ - 133.139447, - 45.127459 - ], - [ - 133.129592, - 45.211422 - ], - [ - 133.095715, - 45.246827 - ], - [ - 133.110498, - 45.266627 - ], - [ - 133.097563, - 45.284735 - ], - [ - 133.128976, - 45.336924 - ], - [ - 133.119121, - 45.352908 - ], - [ - 133.144991, - 45.367205 - ], - [ - 133.143759, - 45.430658 - ], - [ - 133.164701, - 45.437377 - ], - [ - 133.170244, - 45.465506 - ], - [ - 133.203505, - 45.516689 - ], - [ - 133.246005, - 45.517528 - ], - [ - 133.333468, - 45.562379 - ], - [ - 133.342707, - 45.554836 - ], - [ - 133.393214, - 45.580393 - ], - [ - 133.423395, - 45.584163 - ], - [ - 133.412924, - 45.618079 - ], - [ - 133.471438, - 45.631053 - ], - [ - 133.448649, - 45.647372 - ], - [ - 133.485605, - 45.658667 - ], - [ - 133.484989, - 45.691702 - ], - [ - 133.445569, - 45.705077 - ], - [ - 133.454192, - 45.731819 - ], - [ - 133.486837, - 45.740173 - ], - [ - 133.469591, - 45.777751 - ], - [ - 133.505315, - 45.785681 - ], - [ - 133.469591, - 45.799451 - ], - [ - 133.467743, - 45.834905 - ], - [ - 133.494228, - 45.840325 - ], - [ - 133.491764, - 45.867002 - ], - [ - 133.51209, - 45.887001 - ], - [ - 133.55459, - 45.893249 - ], - [ - 133.583539, - 45.868669 - ], - [ - 133.618032, - 45.903662 - ], - [ - 133.614952, - 45.942794 - ], - [ - 133.676546, - 45.94321 - ], - [ - 133.681474, - 45.986473 - ], - [ - 133.740604, - 46.048812 - ], - [ - 133.745531, - 46.075389 - ], - [ - 133.690713, - 46.133896 - ], - [ - 133.706111, - 46.163333 - ], - [ - 133.764626, - 46.17328 - ], - [ - 133.794807, - 46.193583 - ], - [ - 133.814517, - 46.230854 - ], - [ - 133.849625, - 46.203939 - ], - [ - 133.87919, - 46.233752 - ], - [ - 133.867487, - 46.250722 - ], - [ - 133.909987, - 46.254447 - ], - [ - 133.91861, - 46.280924 - ], - [ - 133.908139, - 46.308216 - ], - [ - 133.922922, - 46.330948 - ], - [ - 133.869335, - 46.338386 - ], - [ - 133.876726, - 46.362345 - ], - [ - 133.940784, - 46.38134 - ], - [ - 133.948791, - 46.401153 - ], - [ - 133.902596, - 46.446119 - ], - [ - 133.852089, - 46.450242 - ], - [ - 133.849625, - 46.475389 - ], - [ - 133.890893, - 46.525235 - ], - [ - 133.919842, - 46.596012 - ], - [ - 134.011001, - 46.637941 - ], - [ - 134.030711, - 46.708981 - ], - [ - 134.033175, - 46.759023 - ], - [ - 134.052885, - 46.779928 - ], - [ - 134.025168, - 46.810657 - ], - [ - 134.041182, - 46.848326 - ], - [ - 134.042414, - 46.886787 - ], - [ - 134.076291, - 46.938298 - ], - [ - 134.063972, - 46.979962 - ], - [ - 134.10216, - 47.005678 - ], - [ - 134.118175, - 47.061968 - ], - [ - 134.142812, - 47.093349 - ], - [ - 134.222268, - 47.105164 - ], - [ - 134.232739, - 47.134892 - ], - [ - 134.230276, - 47.182097 - ], - [ - 134.210566, - 47.210155 - ], - [ - 134.156979, - 47.248357 - ], - [ - 134.177305, - 47.326299 - ], - [ - 134.203174, - 47.347389 - ], - [ - 134.263536, - 47.371307 - ], - [ - 134.266616, - 47.391974 - ], - [ - 134.307268, - 47.428829 - ], - [ - 134.339297, - 47.439759 - ], - [ - 134.490202, - 47.446235 - ], - [ - 134.522847, - 47.468086 - ], - [ - 134.568426, - 47.478199 - ], - [ - 134.576434, - 47.519036 - ], - [ - 134.627556, - 47.546512 - ], - [ - 134.678064, - 47.588507 - ], - [ - 134.689766, - 47.63813 - ], - [ - 134.779694, - 47.7159 - ], - [ - 134.772918, - 47.763391 - ], - [ - 134.678679, - 47.819278 - ], - [ - 134.670056, - 47.864667 - ], - [ - 134.677448, - 47.884738 - ], - [ - 134.658969, - 47.901191 - ], - [ - 134.607846, - 47.909214 - ], - [ - 134.599839, - 47.947711 - ], - [ - 134.55426, - 47.982173 - ], - [ - 134.551796, - 48.032622 - ], - [ - 134.632484, - 48.099412 - ], - [ - 134.67252, - 48.170505 - ], - [ - 134.679295, - 48.256245 - ], - [ - 134.77107, - 48.288908 - ], - [ - 134.864077, - 48.332293 - ], - [ - 135.009439, - 48.365703 - ], - [ - 135.090743, - 48.403461 - ], - [ - 135.09567, - 48.437618 - ], - [ - 135.068569, - 48.459451 - ], - [ - 135.035924, - 48.440795 - ], - [ - 134.996504, - 48.439603 - ], - [ - 134.927519, - 48.451513 - ], - [ - 134.886867, - 48.437618 - ], - [ - 134.848679, - 48.393925 - ], - [ - 134.820961, - 48.37604 - ], - [ - 134.764295, - 48.370076 - ], - [ - 134.704549, - 48.405448 - ], - [ - 134.640491, - 48.409818 - ], - [ - 134.578281, - 48.405448 - ], - [ - 134.501905, - 48.418954 - ], - [ - 134.438463, - 48.405448 - ], - [ - 134.369478, - 48.382797 - ], - [ - 134.20379, - 48.3824 - ], - [ - 134.150819, - 48.346217 - ], - [ - 134.116327, - 48.333089 - ], - [ - 134.0689, - 48.338659 - ], - [ - 134.029479, - 48.327519 - ], - [ - 133.995603, - 48.303639 - ], - [ - 133.940784, - 48.302047 - ], - [ - 133.876111, - 48.282536 - ], - [ - 133.824372, - 48.277359 - ], - [ - 133.791111, - 48.261026 - ], - [ - 133.740604, - 48.254651 - ], - [ - 133.693177, - 48.186866 - ], - [ - 133.667307, - 48.183275 - ], - [ - 133.59709, - 48.194846 - ], - [ - 133.573068, - 48.182078 - ], - [ - 133.545967, - 48.121389 - ], - [ - 133.451728, - 48.112999 - ], - [ - 133.407997, - 48.124585 - ], - [ - 133.302055, - 48.103009 - ], - [ - 133.239845, - 48.126583 - ], - [ - 133.182563, - 48.135769 - ], - [ - 133.130208, - 48.134971 - ], - [ - 133.053216, - 48.110202 - ], - [ - 133.02673, - 48.085421 - ], - [ - 133.016259, - 48.054228 - ], - [ - 132.992238, - 48.035424 - ], - [ - 132.883216, - 48.002599 - ], - [ - 132.819159, - 47.936887 - ], - [ - 132.769268, - 47.93849 - ], - [ - 132.723072, - 47.962941 - ], - [ - 132.691043, - 47.962941 - ], - [ - 132.661478, - 47.944905 - ], - [ - 132.662094, - 47.922451 - ], - [ - 132.687348, - 47.88514 - ], - [ - 132.662094, - 47.854227 - ], - [ - 132.621442, - 47.82852 - ], - [ - 132.599268, - 47.792347 - ], - [ - 132.6005, - 47.740858 - ], - [ - 132.558, - 47.718316 - ], - [ - 132.469305, - 47.726368 - ], - [ - 132.371987, - 47.765402 - ], - [ - 132.325175, - 47.762184 - ], - [ - 132.288835, - 47.742065 - ], - [ - 132.272205, - 47.718718 - ], - [ - 132.242639, - 47.70986 - ], - [ - 132.19706, - 47.714289 - ], - [ - 132.157024, - 47.70543 - ], - [ - 132.086191, - 47.703013 - ], - [ - 132.000575, - 47.712276 - ], - [ - 131.976554, - 47.673201 - ], - [ - 131.900793, - 47.685692 - ], - [ - 131.825649, - 47.677231 - ], - [ - 131.741881, - 47.706638 - ], - [ - 131.690142, - 47.707041 - ], - [ - 131.641483, - 47.663932 - ], - [ - 131.59036, - 47.660707 - ], - [ - 131.568186, - 47.682469 - ], - [ - 131.559563, - 47.724757 - ], - [ - 131.543548, - 47.736028 - ], - [ - 131.456085, - 47.747297 - ], - [ - 131.359998, - 47.730796 - ], - [ - 131.273767, - 47.738846 - ], - [ - 131.236811, - 47.733211 - ], - [ - 131.183224, - 47.702611 - ], - [ - 131.115471, - 47.689721 - ], - [ - 131.029855, - 47.694555 - ], - [ - 130.983659, - 47.713081 - ], - [ - 130.966413, - 47.733211 - ], - [ - 130.961486, - 47.828118 - ], - [ - 130.891269, - 47.927263 - ], - [ - 130.870943, - 47.943301 - ], - [ - 130.770544, - 47.998194 - ], - [ - 130.737284, - 48.034223 - ], - [ - 130.699711, - 48.044227 - ], - [ - 130.666451, - 48.105007 - ], - [ - 130.673842, - 48.12818 - ], - [ - 130.765617, - 48.18926 - ], - [ - 130.769313, - 48.231136 - ], - [ - 130.787791, - 48.256643 - ], - [ - 130.817972, - 48.265409 - ], - [ - 130.845073, - 48.296473 - ], - [ - 130.81982, - 48.341444 - ], - [ - 130.785327, - 48.357353 - ], - [ - 130.747755, - 48.404256 - ], - [ - 130.745907, - 48.449131 - ], - [ - 130.776704, - 48.480084 - ], - [ - 130.767465, - 48.507846 - ], - [ - 130.711414, - 48.511414 - ], - [ - 130.647357, - 48.484844 - ], - [ - 130.620871, - 48.49595 - ], - [ - 130.615944, - 48.575601 - ], - [ - 130.605473, - 48.594207 - ], - [ - 130.538335, - 48.612016 - ], - [ - 130.538951, - 48.635751 - ], - [ - 130.576524, - 48.688719 - ], - [ - 130.622103, - 48.783842 - ], - [ - 130.689856, - 48.849651 - ], - [ - 130.680617, - 48.881146 - ], - [ - 130.609168, - 48.881146 - ], - [ - 130.559277, - 48.861071 - ], - [ - 130.501995, - 48.865795 - ], - [ - 130.471198, - 48.905541 - ], - [ - 130.412068, - 48.905148 - ], - [ - 130.279641, - 48.866976 - ], - [ - 130.237757, - 48.868551 - ], - [ - 130.219895, - 48.893739 - ], - [ - 130.113337, - 48.956653 - ], - [ - 130.059135, - 48.979047 - ], - [ - 130.020946, - 49.021058 - ], - [ - 129.937179, - 49.040285 - ], - [ - 129.9187, - 49.060681 - ], - [ - 129.934715, - 49.078717 - ], - [ - 129.913157, - 49.1085 - ], - [ - 129.866962, - 49.113985 - ], - [ - 129.855259, - 49.133567 - ], - [ - 129.864498, - 49.158621 - ], - [ - 129.847867, - 49.181316 - ], - [ - 129.784426, - 49.184054 - ], - [ - 129.753629, - 49.208692 - ], - [ - 129.761636, - 49.25754 - ], - [ - 129.730223, - 49.288387 - ], - [ - 129.696962, - 49.298535 - ], - [ - 129.604571, - 49.279018 - ], - [ - 129.562687, - 49.299706 - ], - [ - 129.546057, - 49.395227 - ], - [ - 129.51834, - 49.423652 - ], - [ - 129.448739, - 49.441167 - ], - [ - 129.390224, - 49.432605 - ], - [ - 129.374826, - 49.414309 - ], - [ - 129.379138, - 49.367175 - ], - [ - 129.358196, - 49.355871 - ], - [ - 129.320623, - 49.3586 - ], - [ - 129.266421, - 49.396006 - ], - [ - 129.215298, - 49.399122 - ], - [ - 129.180805, - 49.386657 - ], - [ - 129.143849, - 49.357431 - ], - [ - 129.084719, - 49.359769 - ], - [ - 129.061929, - 49.374189 - ], - [ - 129.013886, - 49.457119 - ], - [ - 128.932582, - 49.46801 - ], - [ - 128.871604, - 49.492506 - ], - [ - 128.792147, - 49.473065 - ], - [ - 128.76135, - 49.482009 - ], - [ - 128.763198, - 49.515824 - ], - [ - 128.813089, - 49.558157 - ], - [ - 128.802618, - 49.58222 - ], - [ - 128.744104, - 49.595023 - ], - [ - 128.715155, - 49.564756 - ], - [ - 128.656025, - 49.577564 - ], - [ - 128.619684, - 49.593471 - ], - [ - 128.537764, - 49.604332 - ], - [ - 128.500192, - 49.593859 - ], - [ - 128.389939, - 49.58998 - ], - [ - 128.343128, - 49.544956 - ], - [ - 128.287077, - 49.566309 - ], - [ - 128.243345, - 49.563203 - ], - [ - 128.185447, - 49.53952 - ], - [ - 128.122005, - 49.55311 - ], - [ - 128.070882, - 49.556604 - ], - [ - 128.001281, - 49.592307 - ], - [ - 127.949542, - 49.596187 - ], - [ - 127.897804, - 49.579116 - ], - [ - 127.815268, - 49.593859 - ], - [ - 127.782007, - 49.630698 - ], - [ - 127.705015, - 49.665185 - ], - [ - 127.677913, - 49.697712 - ], - [ - 127.674833, - 49.764247 - ], - [ - 127.653892, - 49.780094 - ], - [ - 127.583059, - 49.786277 - ], - [ - 127.531936, - 49.826059 - ], - [ - 127.529472, - 49.864265 - ], - [ - 127.547334, - 49.928645 - ], - [ - 127.543638, - 49.944438 - ], - [ - 127.495595, - 49.994479 - ], - [ - 127.501755, - 50.056764 - ], - [ - 127.58737, - 50.137768 - ], - [ - 127.60708, - 50.178794 - ], - [ - 127.603385, - 50.239309 - ], - [ - 127.44632, - 50.270686 - ], - [ - 127.371791, - 50.29669 - ], - [ - 127.332371, - 50.340634 - ], - [ - 127.369944, - 50.403996 - ], - [ - 127.3644, - 50.438314 - ], - [ - 127.30527, - 50.45432 - ], - [ - 127.293567, - 50.46575 - ], - [ - 127.323132, - 50.52552 - ], - [ - 127.36132, - 50.547582 - ], - [ - 127.370559, - 50.581415 - ], - [ - 127.294799, - 50.663426 - ], - [ - 127.28864, - 50.699451 - ], - [ - 127.305886, - 50.733932 - ], - [ - 127.295415, - 50.755139 - ], - [ - 127.236285, - 50.781256 - ], - [ - 127.143894, - 50.910111 - ], - [ - 127.113713, - 50.93765 - ], - [ - 127.052119, - 50.962911 - ], - [ - 126.985597, - 51.029202 - ], - [ - 126.922772, - 51.061937 - ], - [ - 126.917844, - 51.138977 - ], - [ - 126.899982, - 51.200518 - ], - [ - 126.926467, - 51.246244 - ], - [ - 126.976358, - 51.291551 - ], - [ - 126.98375, - 51.318863 - ], - [ - 126.970815, - 51.332327 - ], - [ - 126.887047, - 51.321856 - ], - [ - 126.877808, - 51.300906 - ], - [ - 126.908605, - 51.283691 - ], - [ - 126.92154, - 51.259729 - ], - [ - 126.908605, - 51.246619 - ], - [ - 126.863025, - 51.248492 - ], - [ - 126.820526, - 51.281071 - ], - [ - 126.813134, - 51.311756 - ], - [ - 126.837156, - 51.345038 - ], - [ - 126.904293, - 51.340552 - ], - [ - 126.930163, - 51.359241 - ], - [ - 126.908605, - 51.407423 - ], - [ - 126.835308, - 51.413769 - ], - [ - 126.791577, - 51.432428 - ], - [ - 126.784185, - 51.448095 - ], - [ - 126.812518, - 51.493948 - ], - [ - 126.843931, - 51.521885 - ], - [ - 126.837156, - 51.536033 - ], - [ - 126.69549, - 51.57845 - ], - [ - 126.67886, - 51.602246 - ], - [ - 126.741069, - 51.642374 - ], - [ - 126.723823, - 51.679126 - ], - [ - 126.734294, - 51.711399 - ], - [ - 126.724439, - 51.7266 - ], - [ - 126.6727, - 51.73179 - ], - [ - 126.658534, - 51.762544 - ], - [ - 126.622809, - 51.777357 - ], - [ - 126.580925, - 51.824728 - ], - [ - 126.555056, - 51.874266 - ], - [ - 126.510092, - 51.922274 - ], - [ - 126.462665, - 51.948471 - ], - [ - 126.468208, - 51.982395 - ], - [ - 126.447882, - 52.009294 - ], - [ - 126.450962, - 52.027709 - ], - [ - 126.487918, - 52.041699 - ], - [ - 126.514404, - 52.037282 - ], - [ - 126.563679, - 52.119302 - ], - [ - 126.556288, - 52.136203 - ], - [ - 126.499005, - 52.16044 - ], - [ - 126.457121, - 52.165212 - ], - [ - 126.403535, - 52.185031 - ], - [ - 126.34502, - 52.192002 - ], - [ - 126.306832, - 52.205574 - ], - [ - 126.312992, - 52.235271 - ], - [ - 126.357955, - 52.264216 - ], - [ - 126.401071, - 52.279597 - ], - [ - 126.436795, - 52.277034 - ], - [ - 126.4331, - 52.298632 - ], - [ - 126.327774, - 52.310342 - ], - [ - 126.320999, - 52.342163 - ], - [ - 126.348716, - 52.357882 - ], - [ - 126.353644, - 52.389304 - ], - [ - 126.326542, - 52.424353 - ], - [ - 126.268644, - 52.475051 - ], - [ - 126.205202, - 52.466302 - ], - [ - 126.192883, - 52.492181 - ], - [ - 126.213209, - 52.525327 - ], - [ - 126.147304, - 52.573 - ], - [ - 126.066616, - 52.603905 - ], - [ - 126.055529, - 52.582455 - ], - [ - 126.030891, - 52.576273 - ], - [ - 125.989008, - 52.603178 - ], - [ - 125.968682, - 52.630429 - ], - [ - 125.971145, - 52.654033 - ], - [ - 125.995783, - 52.675085 - ], - [ - 126.061688, - 52.673271 - ], - [ - 126.072775, - 52.691048 - ], - [ - 126.044442, - 52.739628 - ], - [ - 126.112195, - 52.757016 - ], - [ - 126.116507, - 52.768243 - ], - [ - 126.052449, - 52.800095 - ], - [ - 126.02042, - 52.795753 - ], - [ - 125.985312, - 52.758465 - ], - [ - 125.966834, - 52.759914 - ], - [ - 125.937269, - 52.786705 - ], - [ - 125.923718, - 52.815651 - ], - [ - 125.855349, - 52.866259 - ], - [ - 125.854117, - 52.891542 - ], - [ - 125.827631, - 52.899123 - ], - [ - 125.772197, - 52.89804 - ], - [ - 125.751255, - 52.88143 - ], - [ - 125.722306, - 52.880347 - ], - [ - 125.678574, - 52.86084 - ], - [ - 125.666871, - 52.869872 - ], - [ - 125.665023, - 52.913561 - ], - [ - 125.737088, - 52.943504 - ], - [ - 125.742632, - 52.993964 - ], - [ - 125.684118, - 53.00801 - ], - [ - 125.643466, - 53.039686 - ], - [ - 125.640386, - 53.06199 - ], - [ - 125.613901, - 53.083564 - ], - [ - 125.588647, - 53.081047 - ], - [ - 125.530749, - 53.0512 - ], - [ - 125.504263, - 53.061271 - ], - [ - 125.503647, - 53.095424 - ], - [ - 125.452524, - 53.107641 - ], - [ - 125.343503, - 53.14463 - ], - [ - 125.315786, - 53.144989 - ], - [ - 125.252344, - 53.18051 - ], - [ - 125.195062, - 53.198439 - ], - [ - 125.142091, - 53.204175 - ], - [ - 125.038613, - 53.202741 - ], - [ - 124.970244, - 53.194137 - ], - [ - 124.887708, - 53.164368 - ], - [ - 124.909266, - 53.118059 - ], - [ - 124.87231, - 53.099018 - ], - [ - 124.832889, - 53.145347 - ], - [ - 124.787926, - 53.140681 - ], - [ - 124.734339, - 53.146783 - ], - [ - 124.712165, - 53.162574 - ], - [ - 124.720789, - 53.192344 - ], - [ - 124.678905, - 53.207043 - ], - [ - 124.590209, - 53.208476 - ], - [ - 124.563108, - 53.201666 - ], - [ - 124.496587, - 53.207759 - ], - [ - 124.487348, - 53.217436 - ], - [ - 124.435609, - 53.223886 - ], - [ - 124.412203, - 53.248601 - ], - [ - 124.375863, - 53.258984 - ], - [ - 124.327819, - 53.331954 - ], - [ - 124.239124, - 53.379817 - ], - [ - 124.19416, - 53.37339 - ], - [ - 124.125791, - 53.348033 - ], - [ - 124.058038, - 53.404085 - ], - [ - 124.01369, - 53.403371 - ], - [ - 123.985973, - 53.434401 - ], - [ - 123.865249, - 53.489627 - ], - [ - 123.797495, - 53.489983 - ], - [ - 123.746373, - 53.500308 - ], - [ - 123.698329, - 53.498528 - ], - [ - 123.668764, - 53.533756 - ], - [ - 123.620721, - 53.550115 - ], - [ - 123.58746, - 53.546915 - ], - [ - 123.569598, - 53.505291 - ], - [ - 123.53141, - 53.507071 - ], - [ - 123.557895, - 53.531978 - ], - [ - 123.546808, - 53.551537 - ], - [ - 123.517243, - 53.558292 - ], - [ - 123.490758, - 53.542648 - ], - [ - 123.510468, - 53.509206 - ], - [ - 123.499381, - 53.497816 - ], - [ - 123.47228, - 53.509206 - ], - [ - 123.454417, - 53.536602 - ], - [ - 123.394055, - 53.538024 - ], - [ - 123.309672, - 53.56078 - ], - [ - 123.274563, - 53.563269 - ], - [ - 123.231447, - 53.549404 - ], - [ - 123.179092, - 53.509918 - ], - [ - 123.137209, - 53.498172 - ], - [ - 123.093477, - 53.508138 - ], - [ - 123.052209, - 53.506715 - ], - [ - 122.943804, - 53.483929 - ], - [ - 122.894528, - 53.462914 - ], - [ - 122.826775, - 53.457213 - ], - [ - 122.763949, - 53.463626 - ], - [ - 122.673406, - 53.459351 - ], - [ - 122.608117, - 53.465408 - ], - [ - 122.5379, - 53.453293 - ], - [ - 122.496016, - 53.458638 - ], - [ - 122.435038, - 53.444739 - ], - [ - 122.37406, - 53.47467 - ], - [ - 122.350038, - 53.505647 - ], - [ - 122.266886, - 53.470039 - ], - [ - 122.227466, - 53.461845 - ], - [ - 122.161561, - 53.468614 - ], - [ - 122.111054, - 53.426913 - ], - [ - 122.077177, - 53.422277 - ], - [ - 122.026054, - 53.428339 - ], - [ - 121.875765, - 53.426556 - ], - [ - 121.816019, - 53.41336 - ], - [ - 121.754425, - 53.389454 - ], - [ - 121.697758, - 53.392666 - ], - [ - 121.589969, - 53.350891 - ], - [ - 121.499426, - 53.337314 - ], - [ - 121.504969, - 53.323018 - ], - [ - 121.575802, - 53.29155 - ], - [ - 121.615222, - 53.258984 - ], - [ - 121.642324, - 53.262564 - ], - [ - 121.679896, - 53.240722 - ], - [ - 121.67928, - 53.199515 - ], - [ - 121.660186, - 53.195213 - ], - [ - 121.665114, - 53.170467 - ], - [ - 121.722396, - 53.145706 - ], - [ - 121.753193, - 53.147501 - ], - [ - 121.784606, - 53.104408 - ], - [ - 121.775367, - 53.089674 - ], - [ - 121.817867, - 53.061631 - ], - [ - 121.785838, - 53.018451 - ], - [ - 121.715621, - 52.997926 - ], - [ - 121.677432, - 52.948192 - ], - [ - 121.66265, - 52.912478 - ], - [ - 121.610295, - 52.892264 - ], - [ - 121.604136, - 52.872401 - ], - [ - 121.620766, - 52.853251 - ], - [ - 121.591201, - 52.824693 - ], - [ - 121.537614, - 52.801542 - ], - [ - 121.511129, - 52.779104 - ], - [ - 121.476636, - 52.772225 - ], - [ - 121.455078, - 52.73528 - ], - [ - 121.373158, - 52.683067 - ], - [ - 121.309717, - 52.676173 - ], - [ - 121.29247, - 52.651855 - ], - [ - 121.237036, - 52.619167 - ], - [ - 121.182217, - 52.59918 - ], - [ - 121.225333, - 52.577364 - ], - [ - 121.280151, - 52.586819 - ], - [ - 121.323883, - 52.573727 - ], - [ - 121.353448, - 52.534793 - ], - [ - 121.411963, - 52.52205 - ], - [ - 121.416274, - 52.499468 - ], - [ - 121.474172, - 52.482706 - ], - [ - 121.495114, - 52.484892 - ], - [ - 121.519136, - 52.456821 - ], - [ - 121.565331, - 52.460468 - ], - [ - 121.590585, - 52.443326 - ], - [ - 121.63986, - 52.44442 - ], - [ - 121.678664, - 52.419973 - ], - [ - 121.658338, - 52.3904 - ], - [ - 121.715621, - 52.342894 - ], - [ - 121.714389, - 52.318025 - ], - [ - 121.769207, - 52.308147 - ], - [ - 121.841272, - 52.282526 - ], - [ - 121.901018, - 52.280695 - ], - [ - 121.94783, - 52.298266 - ], - [ - 121.976779, - 52.343626 - ], - [ - 122.035909, - 52.377615 - ], - [ - 122.040837, - 52.413038 - ], - [ - 122.091344, - 52.427272 - ], - [ - 122.080873, - 52.440407 - ], - [ - 122.107358, - 52.452445 - ], - [ - 122.142467, - 52.495096 - ], - [ - 122.140003, - 52.510032 - ], - [ - 122.168952, - 52.513674 - ], - [ - 122.178191, - 52.48963 - ], - [ - 122.207756, - 52.469218 - ], - [ - 122.310618, - 52.475416 - ], - [ - 122.326016, - 52.459374 - ], - [ - 122.342031, - 52.414133 - ], - [ - 122.367284, - 52.413768 - ], - [ - 122.378987, - 52.395512 - ], - [ - 122.419023, - 52.375057 - ], - [ - 122.447356, - 52.394052 - ], - [ - 122.484313, - 52.341432 - ], - [ - 122.478153, - 52.29607 - ], - [ - 122.560689, - 52.282526 - ], - [ - 122.585943, - 52.266413 - ], - [ - 122.67895, - 52.276667 - ], - [ - 122.710979, - 52.256157 - ], - [ - 122.76087, - 52.26678 - ], - [ - 122.787355, - 52.252494 - ], - [ - 122.766413, - 52.232705 - ], - [ - 122.769493, - 52.179893 - ], - [ - 122.73808, - 52.153464 - ], - [ - 122.690653, - 52.140243 - ], - [ - 122.629059, - 52.13657 - ], - [ - 122.643841, - 52.111585 - ], - [ - 122.625363, - 52.067459 - ], - [ - 122.650616, - 52.058997 - ], - [ - 122.664783, - 51.99861 - ], - [ - 122.683877, - 51.974654 - ], - [ - 122.726377, - 51.978709 - ], - [ - 122.729457, - 51.919321 - ], - [ - 122.706051, - 51.890151 - ], - [ - 122.725761, - 51.87833 - ], - [ - 122.732536, - 51.832495 - ], - [ - 122.771957, - 51.779579 - ], - [ - 122.749167, - 51.746613 - ], - [ - 122.778732, - 51.698048 - ], - [ - 122.816304, - 51.655371 - ], - [ - 122.820616, - 51.633088 - ], - [ - 122.85634, - 51.606707 - ], - [ - 122.832935, - 51.581797 - ], - [ - 122.874202, - 51.561339 - ], - [ - 122.880362, - 51.537894 - ], - [ - 122.858804, - 51.524864 - ], - [ - 122.880362, - 51.511085 - ], - [ - 122.854492, - 51.477551 - ], - [ - 122.871123, - 51.455181 - ], - [ - 122.900072, - 51.445112 - ], - [ - 122.903768, - 51.415262 - ], - [ - 122.946267, - 51.405183 - ], - [ - 122.965977, - 51.386886 - ], - [ - 122.965977, - 51.345786 - ], - [ - 123.002934, - 51.31213 - ], - [ - 123.069455, - 51.321108 - ], - [ - 123.127969, - 51.297913 - ], - [ - 123.231447, - 51.279199 - ], - [ - 123.231447, - 51.268716 - ], - [ - 123.294273, - 51.254111 - ], - [ - 123.339853, - 51.27246 - ], - [ - 123.376809, - 51.266844 - ], - [ - 123.414381, - 51.278825 - ], - [ - 123.440251, - 51.270963 - ], - [ - 123.46304, - 51.286686 - ], - [ - 123.582533, - 51.294545 - ], - [ - 123.582533, - 51.306893 - ], - [ - 123.661989, - 51.319237 - ], - [ - 123.660141, - 51.342795 - ], - [ - 123.711264, - 51.398089 - ], - [ - 123.794416, - 51.361109 - ], - [ - 123.842459, - 51.367462 - ], - [ - 123.887423, - 51.320734 - ], - [ - 123.926227, - 51.300532 - ], - [ - 123.939777, - 51.313253 - ], - [ - 123.994596, - 51.322604 - ], - [ - 124.071588, - 51.320734 - ], - [ - 124.090067, - 51.3413 - ], - [ - 124.128255, - 51.347281 - ], - [ - 124.192313, - 51.33943 - ], - [ - 124.239124, - 51.344664 - ], - [ - 124.271769, - 51.308389 - ], - [ - 124.297638, - 51.298661 - ], - [ - 124.339522, - 51.293422 - ], - [ - 124.406659, - 51.272086 - ], - [ - 124.430065, - 51.301281 - ], - [ - 124.426985, - 51.331953 - ], - [ - 124.443616, - 51.35812 - ], - [ - 124.478108, - 51.36223 - ], - [ - 124.490427, - 51.380537 - ], - [ - 124.555717, - 51.375307 - ], - [ - 124.58713, - 51.363725 - ], - [ - 124.62655, - 51.327465 - ], - [ - 124.693687, - 51.3327 - ], - [ - 124.752817, - 51.35812 - ], - [ - 124.76452, - 51.38726 - ], - [ - 124.783614, - 51.392115 - ], - [ - 124.864302, - 51.37979 - ], - [ - 124.885244, - 51.40817 - ], - [ - 124.942527, - 51.447349 - ], - [ - 124.917889, - 51.474196 - ], - [ - 124.928976, - 51.498419 - ], - [ - 124.983795, - 51.508478 - ], - [ - 125.004737, - 51.529332 - ], - [ - 125.047236, - 51.529704 - ], - [ - 125.073106, - 51.553526 - ], - [ - 125.060171, - 51.59667 - ], - [ - 125.098975, - 51.658341 - ], - [ - 125.12854, - 51.659083 - ], - [ - 125.130388, - 51.635317 - ], - [ - 125.175968, - 51.639403 - ], - [ - 125.214772, - 51.627888 - ], - [ - 125.228938, - 51.640517 - ], - [ - 125.289301, - 51.633831 - ], - [ - 125.316402, - 51.610052 - ], - [ - 125.35151, - 51.623801 - ], - [ - 125.38046, - 51.585516 - ], - [ - 125.424807, - 51.562827 - ], - [ - 125.528285, - 51.488359 - ], - [ - 125.559082, - 51.461521 - ], - [ - 125.559082, - 51.461521 - ], - [ - 125.595422, - 51.416755 - ], - [ - 125.595422, - 51.416755 - ], - [ - 125.60035, - 51.413396 - ], - [ - 125.60035, - 51.413396 - ], - [ - 125.600966, - 51.410409 - ], - [ - 125.600966, - 51.410409 - ], - [ - 125.62314, - 51.398089 - ], - [ - 125.62314, - 51.398089 - ], - [ - 125.623756, - 51.387633 - ], - [ - 125.623756, - 51.387633 - ], - [ - 125.626219, - 51.380163 - ], - [ - 125.626219, - 51.380163 - ], - [ - 125.700132, - 51.327465 - ], - [ - 125.700132, - 51.327465 - ], - [ - 125.740784, - 51.27583 - ], - [ - 125.740784, - 51.27583 - ], - [ - 125.76111, - 51.261976 - ], - [ - 125.76111, - 51.261976 - ], - [ - 125.761726, - 51.226385 - ], - [ - 125.819008, - 51.227134 - ], - [ - 125.850421, - 51.21364 - ], - [ - 125.864588, - 51.146487 - ], - [ - 125.909551, - 51.138977 - ], - [ - 125.946508, - 51.108176 - ], - [ - 125.970529, - 51.123955 - ], - [ - 125.993935, - 51.119072 - ], - [ - 125.976073, - 51.084498 - ], - [ - 126.059225, - 51.043503 - ], - [ - 126.033971, - 51.011132 - ], - [ - 126.041978, - 50.981753 - ], - [ - 126.068464, - 50.967434 - ], - [ - 126.042594, - 50.92558 - ], - [ - 126.02042, - 50.927466 - ], - [ - 125.996399, - 50.906715 - ], - [ - 125.997631, - 50.872738 - ], - [ - 125.961906, - 50.901054 - ], - [ - 125.939732, - 50.85423 - ], - [ - 125.913247, - 50.825885 - ], - [ - 125.878138, - 50.816812 - ], - [ - 125.890457, - 50.805845 - ], - [ - 125.836255, - 50.793363 - ], - [ - 125.846726, - 50.769524 - ], - [ - 125.828863, - 50.756654 - ], - [ - 125.804226, - 50.773309 - ], - [ - 125.758646, - 50.746809 - ], - [ - 125.795603, - 50.738856 - ], - [ - 125.78082, - 50.725598 - ], - [ - 125.825784, - 50.70362 - ], - [ - 125.789443, - 50.679735 - ], - [ - 125.804226, - 50.658874 - ], - [ - 125.793139, - 50.643316 - ], - [ - 125.814697, - 50.62092 - ], - [ - 125.807921, - 50.60383 - ], - [ - 125.829479, - 50.56165 - ], - [ - 125.794987, - 50.532748 - ], - [ - 125.770349, - 50.531227 - ], - [ - 125.754335, - 50.506874 - ], - [ - 125.740784, - 50.523237 - ], - [ - 125.699516, - 50.487078 - ], - [ - 125.654553, - 50.471082 - ], - [ - 125.627451, - 50.443268 - ], - [ - 125.580024, - 50.449366 - ], - [ - 125.562162, - 50.438314 - ], - [ - 125.583104, - 50.409717 - ], - [ - 125.567089, - 50.402852 - ], - [ - 125.536292, - 50.420014 - ], - [ - 125.522126, - 50.404759 - ], - [ - 125.546763, - 50.358965 - ], - [ - 125.520278, - 50.3498 - ], - [ - 125.530749, - 50.331085 - ], - [ - 125.463611, - 50.295925 - ], - [ - 125.466075, - 50.266861 - ], - [ - 125.442053, - 50.260357 - ], - [ - 125.448829, - 50.216338 - ], - [ - 125.417416, - 50.195654 - ], - [ - 125.39093, - 50.199868 - ], - [ - 125.382923, - 50.172278 - ], - [ - 125.335496, - 50.161161 - ], - [ - 125.376148, - 50.137385 - ], - [ - 125.311474, - 50.140453 - ], - [ - 125.27883, - 50.127411 - ], - [ - 125.258504, - 50.103618 - ], - [ - 125.287453, - 50.093636 - ], - [ - 125.283757, - 50.070211 - ], - [ - 125.328105, - 50.065985 - ], - [ - 125.315786, - 50.04562 - ], - [ - 125.289916, - 50.057917 - ], - [ - 125.25296, - 50.041393 - ], - [ - 125.283757, - 50.036012 - ], - [ - 125.297924, - 50.014481 - ], - [ - 125.278214, - 49.996402 - ], - [ - 125.241873, - 49.987938 - ], - [ - 125.231402, - 49.957531 - ], - [ - 125.190134, - 49.959841 - ], - [ - 125.199373, - 49.935194 - ], - [ - 125.225859, - 49.922481 - ], - [ - 125.212924, - 49.907452 - ], - [ - 125.245569, - 49.87198 - ], - [ - 125.225243, - 49.867351 - ], - [ - 125.239409, - 49.844587 - ], - [ - 125.177815, - 49.829533 - ], - [ - 125.222779, - 49.799026 - ], - [ - 125.221547, - 49.754969 - ], - [ - 125.204301, - 49.734086 - ], - [ - 125.225243, - 49.726349 - ], - [ - 125.219699, - 49.669058 - ], - [ - 125.185207, - 49.634574 - ], - [ - 125.189518, - 49.652401 - ], - [ - 125.164881, - 49.669446 - ], - [ - 125.132236, - 49.672157 - ], - [ - 125.127308, - 49.655113 - ], - [ - 125.15441, - 49.616741 - ], - [ - 125.16796, - 49.629923 - ], - [ - 125.205533, - 49.593859 - ], - [ - 125.23017, - 49.595411 - ], - [ - 125.233866, - 49.536801 - ], - [ - 125.211076, - 49.539908 - ], - [ - 125.228323, - 49.487063 - ], - [ - 125.270822, - 49.454395 - ], - [ - 125.256656, - 49.437275 - ], - [ - 125.25604, - 49.395227 - ], - [ - 125.277598, - 49.379644 - ], - [ - 125.256656, - 49.359769 - ], - [ - 125.261583, - 49.322336 - ], - [ - 125.214772, - 49.277066 - ], - [ - 125.227707, - 49.248947 - ], - [ - 125.219699, - 49.189139 - ], - [ - 125.187671, - 49.186792 - ], - [ - 125.158721, - 49.144921 - ], - [ - 125.117453, - 49.126127 - ], - [ - 125.034302, - 49.157056 - ], - [ - 125.039845, - 49.17623 - ], - [ - 124.983179, - 49.162535 - ], - [ - 124.906802, - 49.184054 - ], - [ - 124.860607, - 49.166448 - ], - [ - 124.847672, - 49.129651 - ], - [ - 124.809484, - 49.115943 - ], - [ - 124.828578, - 49.077933 - ], - [ - 124.808252, - 49.020666 - ], - [ - 124.756513, - 48.967262 - ], - [ - 124.744194, - 48.920487 - ], - [ - 124.709086, - 48.920487 - ], - [ - 124.715861, - 48.885475 - ], - [ - 124.697383, - 48.841775 - ], - [ - 124.654267, - 48.83429 - ], - [ - 124.644412, - 48.80789 - ], - [ - 124.656115, - 48.783842 - ], - [ - 124.612383, - 48.747945 - ], - [ - 124.624702, - 48.701755 - ], - [ - 124.601912, - 48.632587 - ], - [ - 124.579122, - 48.596582 - ], - [ - 124.520608, - 48.556195 - ], - [ - 124.548941, - 48.535593 - ], - [ - 124.533543, - 48.515379 - ], - [ - 124.555717, - 48.467784 - ], - [ - 124.507674, - 48.445558 - ], - [ - 124.52492, - 48.426897 - ], - [ - 124.51876, - 48.378027 - ], - [ - 124.547094, - 48.35775 - ], - [ - 124.540934, - 48.335476 - ], - [ - 124.579738, - 48.297269 - ], - [ - 124.558796, - 48.268197 - ], - [ - 124.579122, - 48.262221 - ], - [ - 124.547094, - 48.200829 - ], - [ - 124.512601, - 48.164518 - ], - [ - 124.529847, - 48.146951 - ], - [ - 124.505826, - 48.124985 - ], - [ - 124.478108, - 48.123387 - ], - [ - 124.46579, - 48.098213 - ], - [ - 124.415899, - 48.08782 - ], - [ - 124.430065, - 48.12099 - ], - [ - 124.471333, - 48.133373 - ], - [ - 124.475029, - 48.173698 - ], - [ - 124.418978, - 48.181679 - ], - [ - 124.412819, - 48.219175 - ], - [ - 124.422058, - 48.245884 - ], - [ - 124.365392, - 48.283731 - ], - [ - 124.353689, - 48.315978 - ], - [ - 124.317964, - 48.35099 - ], - [ - 124.331515, - 48.380015 - ], - [ - 124.309957, - 48.413393 - ], - [ - 124.330283, - 48.435633 - ], - [ - 124.302566, - 48.456673 - ], - [ - 124.314269, - 48.503881 - ], - [ - 124.25945, - 48.536385 - ], - [ - 124.25945, - 48.536385 - ], - [ - 124.136878, - 48.463023 - ], - [ - 124.07898, - 48.43603 - ], - [ - 124.019234, - 48.39313 - ], - [ - 123.862785, - 48.271782 - ], - [ - 123.746373, - 48.197638 - ], - [ - 123.705105, - 48.152142 - ], - [ - 123.579453, - 48.045427 - ], - [ - 123.537569, - 48.021816 - ], - [ - 123.300432, - 47.953723 - ], - [ - 123.256085, - 47.876711 - ], - [ - 123.214201, - 47.824502 - ], - [ - 123.161846, - 47.781892 - ], - [ - 123.041122, - 47.746492 - ], - [ - 122.926557, - 47.697777 - ], - [ - 122.848949, - 47.67441 - ], - [ - 122.765181, - 47.614333 - ], - [ - 122.59395, - 47.54732 - ], - [ - 122.543443, - 47.495589 - ], - [ - 122.507103, - 47.401291 - ], - [ - 122.418407, - 47.350632 - ], - [ - 122.441197, - 47.310476 - ], - [ - 122.441197, - 47.310476 - ], - [ - 122.462755, - 47.27841 - ], - [ - 122.498479, - 47.255262 - ], - [ - 122.531124, - 47.198771 - ], - [ - 122.582863, - 47.158092 - ], - [ - 122.582863, - 47.158092 - ], - [ - 122.615508, - 47.124306 - ], - [ - 122.679566, - 47.094164 - ], - [ - 122.710363, - 47.093349 - ], - [ - 122.710363, - 47.093349 - ], - [ - 122.821232, - 47.065636 - ], - [ - 122.852645, - 47.072158 - ], - [ - 122.845869, - 47.046881 - ], - [ - 122.778116, - 47.002822 - ], - [ - 122.77442, - 46.973837 - ], - [ - 122.798442, - 46.9575 - ], - [ - 122.791051, - 46.941567 - ], - [ - 122.83971, - 46.937072 - ], - [ - 122.895144, - 46.960359 - ], - [ - 122.893913, - 46.895376 - ], - [ - 122.906847, - 46.80738 - ], - [ - 122.996774, - 46.761483 - ], - [ - 123.00355, - 46.730726 - ], - [ - 123.026339, - 46.718829 - ], - [ - 123.076846, - 46.745082 - ], - [ - 123.103332, - 46.734828 - ], - [ - 123.163694, - 46.74016 - ], - [ - 123.198802, - 46.803283 - ], - [ - 123.22344, - 46.821305 - ], - [ - 123.221592, - 46.850373 - ], - [ - 123.295505, - 46.865105 - ], - [ - 123.341084, - 46.826628 - ], - [ - 123.374345, - 46.837683 - ], - [ - 123.40699, - 46.906416 - ], - [ - 123.404526, - 46.935438 - ], - [ - 123.360179, - 46.970978 - ], - [ - 123.304128, - 46.964852 - ], - [ - 123.301664, - 46.999965 - ], - [ - 123.337389, - 46.988943 - ], - [ - 123.42362, - 46.934212 - ], - [ - 123.487678, - 46.959951 - ], - [ - 123.52833, - 46.944836 - ], - [ - 123.483366, - 46.84587 - ], - [ - 123.506772, - 46.827038 - ], - [ - 123.562823, - 46.82581 - ], - [ - 123.575757, - 46.845461 - ], - [ - 123.576989, - 46.891286 - ], - [ - 123.605322, - 46.891286 - ], - [ - 123.599163, - 46.868378 - ], - [ - 123.625648, - 46.847508 - ], - [ - 123.580069, - 46.827447 - ], - [ - 123.629344, - 46.813524 - ], - [ - 123.631808, - 46.728675 - ], - [ - 123.603475, - 46.68928 - ], - [ - 123.474743, - 46.686817 - ], - [ - 123.366338, - 46.677784 - ], - [ - 123.318295, - 46.662179 - ], - [ - 123.276411, - 46.660947 - ], - [ - 123.279491, - 46.616981 - ], - [ - 123.228368, - 46.588198 - ], - [ - 123.18094, - 46.614103 - ], - [ - 123.098404, - 46.603002 - ], - [ - 123.077462, - 46.622324 - ], - [ - 123.04605, - 46.617803 - ], - [ - 123.052825, - 46.579972 - ], - [ - 123.002318, - 46.574624 - ], - [ - 123.010325, - 46.524823 - ], - [ - 123.011557, - 46.434984 - ], - [ - 123.089781, - 46.347888 - ], - [ - 123.142136, - 46.298293 - ], - [ - 123.178476, - 46.248239 - ], - [ - 123.248078, - 46.273065 - ], - [ - 123.286266, - 46.250308 - ], - [ - 123.320758, - 46.254447 - ], - [ - 123.357099, - 46.232096 - ], - [ - 123.357099, - 46.232096 - ], - [ - 123.430396, - 46.243687 - ], - [ - 123.452569, - 46.233338 - ], - [ - 123.499381, - 46.259826 - ], - [ - 123.569598, - 46.223816 - ], - [ - 123.569598, - 46.223816 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 310000, - "name": "上海市", - "center": [ - 121.472644, - 31.231706 - ], - "centroid": [ - 121.438737, - 31.072559 - ], - "childrenNum": 16, - "cp": [121.4648, 31.2891], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 8, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 120.901349, - 31.017327 - ], - [ - 120.940153, - 31.010146 - ], - [ - 120.949392, - 31.030148 - ], - [ - 120.989428, - 31.01425 - ], - [ - 121.000515, - 30.938309 - ], - [ - 120.993124, - 30.889532 - ], - [ - 121.020225, - 30.872069 - ], - [ - 120.991892, - 30.837133 - ], - [ - 121.038087, - 30.814007 - ], - [ - 121.060261, - 30.845354 - ], - [ - 121.097833, - 30.857171 - ], - [ - 121.13787, - 30.826342 - ], - [ - 121.123087, - 30.77905 - ], - [ - 121.174826, - 30.771851 - ], - [ - 121.21671, - 30.785734 - ], - [ - 121.232108, - 30.755909 - ], - [ - 121.272144, - 30.723504 - ], - [ - 121.274608, - 30.677191 - ], - [ - 121.362071, - 30.679764 - ], - [ - 121.426129, - 30.730192 - ], - [ - 121.517288, - 30.775451 - ], - [ - 121.601056, - 30.805269 - ], - [ - 121.681128, - 30.818633 - ], - [ - 121.904714, - 30.814007 - ], - [ - 121.943518, - 30.776993 - ], - [ - 121.970004, - 30.789333 - ], - [ - 121.954605, - 30.825828 - ], - [ - 121.994025, - 30.862823 - ], - [ - 121.990945, - 30.96859 - ], - [ - 121.977395, - 31.016301 - ], - [ - 121.946598, - 31.066039 - ], - [ - 121.809859, - 31.196669 - ], - [ - 121.722396, - 31.3036 - ], - [ - 121.599208, - 31.37465 - ], - [ - 121.520984, - 31.394575 - ], - [ - 121.404571, - 31.479337 - ], - [ - 121.343593, - 31.511996 - ], - [ - 121.301093, - 31.49873 - ], - [ - 121.301093, - 31.49873 - ], - [ - 121.247507, - 31.476785 - ], - [ - 121.241963, - 31.493117 - ], - [ - 121.174826, - 31.44922 - ], - [ - 121.143413, - 31.392021 - ], - [ - 121.113848, - 31.37465 - ], - [ - 121.130478, - 31.343987 - ], - [ - 121.142797, - 31.275472 - ], - [ - 121.090442, - 31.291838 - ], - [ - 121.060261, - 31.245289 - ], - [ - 121.076892, - 31.158267 - ], - [ - 121.018377, - 31.134194 - ], - [ - 120.930298, - 31.141365 - ], - [ - 120.881023, - 31.134706 - ], - [ - 120.859465, - 31.100379 - ], - [ - 120.890878, - 31.094229 - ], - [ - 120.901349, - 31.017327 - ] - ] - ], - [ - [ - [ - 121.974931, - 31.61704 - ], - [ - 121.715005, - 31.673592 - ], - [ - 121.64294, - 31.697527 - ], - [ - 121.599824, - 31.703128 - ], - [ - 121.49881, - 31.753012 - ], - [ - 121.431673, - 31.769295 - ], - [ - 121.384861, - 31.833382 - ], - [ - 121.323267, - 31.868458 - ], - [ - 121.265369, - 31.863883 - ], - [ - 121.200079, - 31.834907 - ], - [ - 121.118775, - 31.759119 - ], - [ - 121.145261, - 31.75403 - ], - [ - 121.289391, - 31.61653 - ], - [ - 121.371926, - 31.553314 - ], - [ - 121.395332, - 31.585437 - ], - [ - 121.434136, - 31.590535 - ], - [ - 121.547469, - 31.531382 - ], - [ - 121.625693, - 31.501792 - ], - [ - 121.682976, - 31.491075 - ], - [ - 121.819098, - 31.437987 - ], - [ - 121.890547, - 31.428795 - ], - [ - 121.981706, - 31.464024 - ], - [ - 121.995873, - 31.493117 - ], - [ - 121.974931, - 31.61704 - ] - ] - ], - [ - [ - [ - 121.795693, - 31.330186 - ], - [ - 121.792613, - 31.363408 - ], - [ - 121.742106, - 31.407345 - ], - [ - 121.585657, - 31.454836 - ], - [ - 121.567179, - 31.48342 - ], - [ - 121.520984, - 31.494137 - ], - [ - 121.509897, - 31.4824 - ], - [ - 121.572107, - 31.435944 - ], - [ - 121.727939, - 31.35472 - ], - [ - 121.76428, - 31.31536 - ], - [ - 121.785222, - 31.31127 - ], - [ - 121.795693, - 31.330186 - ] - ] - ], - [ - [ - [ - 121.801852, - 31.356765 - ], - [ - 121.8037, - 31.328652 - ], - [ - 121.840656, - 31.295418 - ], - [ - 121.932431, - 31.283144 - ], - [ - 122.016199, - 31.282121 - ], - [ - 122.097503, - 31.255522 - ], - [ - 122.122756, - 31.307179 - ], - [ - 122.116597, - 31.320984 - ], - [ - 122.040837, - 31.324051 - ], - [ - 121.951525, - 31.337343 - ], - [ - 121.845584, - 31.37465 - ], - [ - 121.792613, - 31.377715 - ], - [ - 121.801852, - 31.356765 - ] - ] - ], - [ - [ - [ - 121.626925, - 31.445135 - ], - [ - 121.631853, - 31.456878 - ], - [ - 121.579498, - 31.479848 - ], - [ - 121.626925, - 31.445135 - ] - ] - ], - [ - [ - [ - 121.943518, - 31.215608 - ], - [ - 121.959533, - 31.159291 - ], - [ - 121.995873, - 31.160828 - ], - [ - 122.008808, - 31.221238 - ], - [ - 121.950909, - 31.228915 - ], - [ - 121.943518, - 31.215608 - ] - ] - ], - [ - [ - [ - 121.88254, - 31.240684 - ], - [ - 121.909026, - 31.195133 - ], - [ - 121.923808, - 31.234032 - ], - [ - 121.88254, - 31.240684 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 320000, - "name": "江苏省", - "center": [ - 118.767413, - 32.041544 - ], - "centroid": [ - 119.486506, - 32.983991 - ], - "childrenNum": 13, - "cp": [119.8586, 32.915], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 9, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 117.311654, - 34.561686 - ], - [ - 117.27285, - 34.556757 - ], - [ - 117.303647, - 34.542463 - ], - [ - 117.267923, - 34.532603 - ], - [ - 117.27285, - 34.499565 - ], - [ - 117.252524, - 34.48674 - ], - [ - 117.248213, - 34.451216 - ], - [ - 117.166293, - 34.434435 - ], - [ - 117.139191, - 34.526687 - ], - [ - 117.15151, - 34.559222 - ], - [ - 117.104083, - 34.648874 - ], - [ - 117.073286, - 34.639026 - ], - [ - 117.061583, - 34.675947 - ], - [ - 117.070206, - 34.713835 - ], - [ - 117.022163, - 34.759081 - ], - [ - 116.969192, - 34.771864 - ], - [ - 116.95133, - 34.81069 - ], - [ - 116.979047, - 34.815113 - ], - [ - 116.966113, - 34.844588 - ], - [ - 116.929156, - 34.843114 - ], - [ - 116.922381, - 34.894671 - ], - [ - 116.858323, - 34.928533 - ], - [ - 116.821983, - 34.929515 - ], - [ - 116.815823, - 34.965324 - ], - [ - 116.789338, - 34.975133 - ], - [ - 116.781331, - 34.916757 - ], - [ - 116.677853, - 34.939327 - ], - [ - 116.622418, - 34.939818 - ], - [ - 116.613795, - 34.922645 - ], - [ - 116.557745, - 34.908905 - ], - [ - 116.445028, - 34.895652 - ], - [ - 116.408071, - 34.850972 - ], - [ - 116.403144, - 34.756131 - ], - [ - 116.369267, - 34.749247 - ], - [ - 116.363724, - 34.715311 - ], - [ - 116.392057, - 34.710391 - ], - [ - 116.374195, - 34.640011 - ], - [ - 116.430245, - 34.650843 - ], - [ - 116.432709, - 34.630163 - ], - [ - 116.477057, - 34.614896 - ], - [ - 116.490607, - 34.573513 - ], - [ - 116.594085, - 34.511894 - ], - [ - 116.592237, - 34.493646 - ], - [ - 116.662454, - 34.472927 - ], - [ - 116.722816, - 34.472434 - ], - [ - 116.773939, - 34.453683 - ], - [ - 116.782563, - 34.429993 - ], - [ - 116.828142, - 34.389012 - ], - [ - 116.909446, - 34.408271 - ], - [ - 116.969192, - 34.389012 - ], - [ - 116.960569, - 34.363821 - ], - [ - 116.983359, - 34.348011 - ], - [ - 116.969192, - 34.283753 - ], - [ - 117.051112, - 34.221425 - ], - [ - 117.025243, - 34.167469 - ], - [ - 117.046801, - 34.151622 - ], - [ - 117.123793, - 34.128342 - ], - [ - 117.130568, - 34.101586 - ], - [ - 117.192162, - 34.068873 - ], - [ - 117.257452, - 34.065899 - ], - [ - 117.277162, - 34.078787 - ], - [ - 117.311654, - 34.067882 - ], - [ - 117.357234, - 34.088205 - ], - [ - 117.404045, - 34.03218 - ], - [ - 117.435458, - 34.028212 - ], - [ - 117.514914, - 34.060941 - ], - [ - 117.543248, - 34.038627 - ], - [ - 117.569117, - 33.985051 - ], - [ - 117.612849, - 34.000433 - ], - [ - 117.629479, - 34.028708 - ], - [ - 117.671363, - 33.992494 - ], - [ - 117.672595, - 33.934916 - ], - [ - 117.715095, - 33.879287 - ], - [ - 117.753899, - 33.891211 - ], - [ - 117.759442, - 33.874318 - ], - [ - 117.739732, - 33.758467 - ], - [ - 117.72495, - 33.74951 - ], - [ - 117.750203, - 33.710688 - ], - [ - 117.791471, - 33.733585 - ], - [ - 117.843826, - 33.736074 - ], - [ - 117.901724, - 33.720146 - ], - [ - 117.972557, - 33.74951 - ], - [ - 118.019985, - 33.738562 - ], - [ - 118.065564, - 33.76593 - ], - [ - 118.117919, - 33.766427 - ], - [ - 118.161035, - 33.735576 - ], - [ - 118.16781, - 33.663381 - ], - [ - 118.112376, - 33.617045 - ], - [ - 118.117919, - 33.594615 - ], - [ - 118.107448, - 33.475391 - ], - [ - 118.050782, - 33.491863 - ], - [ - 118.027376, - 33.455421 - ], - [ - 118.016905, - 33.402978 - ], - [ - 118.029224, - 33.374995 - ], - [ - 117.992883, - 33.333005 - ], - [ - 117.974405, - 33.279487 - ], - [ - 117.939297, - 33.262475 - ], - [ - 117.942376, - 33.224936 - ], - [ - 117.977485, - 33.226437 - ], - [ - 117.988572, - 33.180869 - ], - [ - 118.037231, - 33.152314 - ], - [ - 118.038463, - 33.134776 - ], - [ - 118.149332, - 33.169348 - ], - [ - 118.178281, - 33.217926 - ], - [ - 118.217085, - 33.191888 - ], - [ - 118.219549, - 33.114227 - ], - [ - 118.243571, - 33.027967 - ], - [ - 118.244803, - 32.998359 - ], - [ - 118.26944, - 32.969242 - ], - [ - 118.303933, - 32.96874 - ], - [ - 118.291614, - 32.946143 - ], - [ - 118.252194, - 32.936601 - ], - [ - 118.2331, - 32.914498 - ], - [ - 118.250346, - 32.848157 - ], - [ - 118.301469, - 32.846145 - ], - [ - 118.300237, - 32.783275 - ], - [ - 118.334114, - 32.761637 - ], - [ - 118.363063, - 32.770695 - ], - [ - 118.375382, - 32.718849 - ], - [ - 118.411106, - 32.715828 - ], - [ - 118.450526, - 32.743518 - ], - [ - 118.483787, - 32.721367 - ], - [ - 118.560163, - 32.729926 - ], - [ - 118.572482, - 32.719856 - ], - [ - 118.642699, - 32.744525 - ], - [ - 118.707373, - 32.72036 - ], - [ - 118.756648, - 32.737477 - ], - [ - 118.73817, - 32.772708 - ], - [ - 118.743097, - 32.853184 - ], - [ - 118.743097, - 32.853184 - ], - [ - 118.810235, - 32.853687 - ], - [ - 118.821322, - 32.920527 - ], - [ - 118.846575, - 32.922034 - ], - [ - 118.849039, - 32.956689 - ], - [ - 118.89585, - 32.957694 - ], - [ - 118.89585, - 32.957694 - ], - [ - 118.892771, - 32.941121 - ], - [ - 118.934039, - 32.93861 - ], - [ - 118.993169, - 32.958196 - ], - [ - 119.020886, - 32.955685 - ], - [ - 119.054763, - 32.8748 - ], - [ - 119.113277, - 32.823014 - ], - [ - 119.184726, - 32.825529 - ], - [ - 119.211827, - 32.708275 - ], - [ - 119.208748, - 32.641276 - ], - [ - 119.230921, - 32.607001 - ], - [ - 119.22045, - 32.576748 - ], - [ - 119.152697, - 32.557582 - ], - [ - 119.168096, - 32.536394 - ], - [ - 119.142226, - 32.499556 - ], - [ - 119.084944, - 32.452602 - ], - [ - 119.041212, - 32.515201 - ], - [ - 118.975923, - 32.505108 - ], - [ - 118.922336, - 32.557078 - ], - [ - 118.92172, - 32.557078 - ], - [ - 118.922336, - 32.557078 - ], - [ - 118.92172, - 32.557078 - ], - [ - 118.890923, - 32.553042 - ], - [ - 118.908169, - 32.59238 - ], - [ - 118.84288, - 32.56767 - ], - [ - 118.820706, - 32.60448 - ], - [ - 118.784981, - 32.582295 - ], - [ - 118.757264, - 32.603976 - ], - [ - 118.73509, - 32.58885 - ], - [ - 118.719076, - 32.614059 - ], - [ - 118.719076, - 32.614059 - ], - [ - 118.688895, - 32.588346 - ], - [ - 118.658714, - 32.594397 - ], - [ - 118.632844, - 32.578261 - ], - [ - 118.59712, - 32.600951 - ], - [ - 118.568787, - 32.585825 - ], - [ - 118.564475, - 32.562122 - ], - [ - 118.608823, - 32.536899 - ], - [ - 118.592192, - 32.481383 - ], - [ - 118.628533, - 32.467751 - ], - [ - 118.691359, - 32.472295 - ], - [ - 118.685199, - 32.403604 - ], - [ - 118.703061, - 32.328792 - ], - [ - 118.657482, - 32.30148 - ], - [ - 118.674728, - 32.250375 - ], - [ - 118.643931, - 32.209875 - ], - [ - 118.510888, - 32.194176 - ], - [ - 118.49549, - 32.165304 - ], - [ - 118.501033, - 32.121726 - ], - [ - 118.433896, - 32.086746 - ], - [ - 118.394476, - 32.076098 - ], - [ - 118.389548, - 31.985281 - ], - [ - 118.363679, - 31.930443 - ], - [ - 118.472084, - 31.879639 - ], - [ - 118.466541, - 31.857784 - ], - [ - 118.504729, - 31.841516 - ], - [ - 118.481939, - 31.778453 - ], - [ - 118.533678, - 31.76726 - ], - [ - 118.521975, - 31.743343 - ], - [ - 118.5577, - 31.73011 - ], - [ - 118.571866, - 31.746397 - ], - [ - 118.641467, - 31.75861 - ], - [ - 118.653786, - 31.73011 - ], - [ - 118.697518, - 31.709747 - ], - [ - 118.643315, - 31.671555 - ], - [ - 118.643315, - 31.649651 - ], - [ - 118.736322, - 31.633347 - ], - [ - 118.748025, - 31.675629 - ], - [ - 118.773894, - 31.682759 - ], - [ - 118.802844, - 31.619078 - ], - [ - 118.858894, - 31.623665 - ], - [ - 118.881684, - 31.564023 - ], - [ - 118.885995, - 31.519139 - ], - [ - 118.883532, - 31.500261 - ], - [ - 118.852119, - 31.393553 - ], - [ - 118.824401, - 31.375672 - ], - [ - 118.767735, - 31.363919 - ], - [ - 118.745561, - 31.372606 - ], - [ - 118.720924, - 31.322518 - ], - [ - 118.726467, - 31.282121 - ], - [ - 118.756648, - 31.279564 - ], - [ - 118.794836, - 31.229426 - ], - [ - 118.870597, - 31.242219 - ], - [ - 118.984546, - 31.237102 - ], - [ - 119.014727, - 31.241707 - ], - [ - 119.10527, - 31.235055 - ], - [ - 119.107118, - 31.250917 - ], - [ - 119.158241, - 31.294907 - ], - [ - 119.197661, - 31.295418 - ], - [ - 119.198277, - 31.270357 - ], - [ - 119.266646, - 31.250405 - ], - [ - 119.294363, - 31.263195 - ], - [ - 119.338095, - 31.259103 - ], - [ - 119.350414, - 31.301043 - ], - [ - 119.374435, - 31.258591 - ], - [ - 119.360269, - 31.213049 - ], - [ - 119.391682, - 31.174142 - ], - [ - 119.439109, - 31.177214 - ], - [ - 119.461283, - 31.156219 - ], - [ - 119.532732, - 31.159291 - ], - [ - 119.599869, - 31.10909 - ], - [ - 119.623891, - 31.130096 - ], - [ - 119.678093, - 31.167997 - ], - [ - 119.705811, - 31.152634 - ], - [ - 119.715666, - 31.169533 - ], - [ - 119.779723, - 31.17875 - ], - [ - 119.809904, - 31.148536 - ], - [ - 119.827151, - 31.174142 - ], - [ - 119.878274, - 31.160828 - ], - [ - 119.921389, - 31.170045 - ], - [ - 119.946027, - 31.106016 - ], - [ - 119.988527, - 31.059375 - ], - [ - 120.001461, - 31.027071 - ], - [ - 120.052584, - 31.00553 - ], - [ - 120.111099, - 30.955761 - ], - [ - 120.149903, - 30.937283 - ], - [ - 120.223816, - 30.926502 - ], - [ - 120.316206, - 30.933689 - ], - [ - 120.371025, - 30.948575 - ], - [ - 120.35809, - 30.886964 - ], - [ - 120.42338, - 30.902884 - ], - [ - 120.435083, - 30.920855 - ], - [ - 120.441858, - 30.860768 - ], - [ - 120.460336, - 30.839702 - ], - [ - 120.489285, - 30.763624 - ], - [ - 120.504684, - 30.757967 - ], - [ - 120.563814, - 30.835592 - ], - [ - 120.589684, - 30.854089 - ], - [ - 120.654973, - 30.846896 - ], - [ - 120.68269, - 30.882342 - ], - [ - 120.713487, - 30.88491 - ], - [ - 120.709176, - 30.933176 - ], - [ - 120.684538, - 30.955247 - ], - [ - 120.698089, - 30.970643 - ], - [ - 120.746132, - 30.962432 - ], - [ - 120.770154, - 30.996809 - ], - [ - 120.820661, - 31.006556 - ], - [ - 120.865624, - 30.989627 - ], - [ - 120.901349, - 31.017327 - ], - [ - 120.890878, - 31.094229 - ], - [ - 120.859465, - 31.100379 - ], - [ - 120.881023, - 31.134706 - ], - [ - 120.930298, - 31.141365 - ], - [ - 121.018377, - 31.134194 - ], - [ - 121.076892, - 31.158267 - ], - [ - 121.060261, - 31.245289 - ], - [ - 121.090442, - 31.291838 - ], - [ - 121.142797, - 31.275472 - ], - [ - 121.130478, - 31.343987 - ], - [ - 121.113848, - 31.37465 - ], - [ - 121.143413, - 31.392021 - ], - [ - 121.174826, - 31.44922 - ], - [ - 121.241963, - 31.493117 - ], - [ - 121.247507, - 31.476785 - ], - [ - 121.301093, - 31.49873 - ], - [ - 121.301093, - 31.49873 - ], - [ - 121.343593, - 31.511996 - ], - [ - 121.371926, - 31.553314 - ], - [ - 121.289391, - 31.61653 - ], - [ - 121.145261, - 31.75403 - ], - [ - 121.118775, - 31.759119 - ], - [ - 121.200079, - 31.834907 - ], - [ - 121.265369, - 31.863883 - ], - [ - 121.323267, - 31.868458 - ], - [ - 121.384861, - 31.833382 - ], - [ - 121.431673, - 31.769295 - ], - [ - 121.49881, - 31.753012 - ], - [ - 121.599824, - 31.703128 - ], - [ - 121.64294, - 31.697527 - ], - [ - 121.715005, - 31.673592 - ], - [ - 121.974931, - 31.61704 - ], - [ - 121.970004, - 31.718911 - ], - [ - 121.889315, - 31.866425 - ], - [ - 121.856055, - 31.955328 - ], - [ - 121.772287, - 32.032984 - ], - [ - 121.759352, - 32.059362 - ], - [ - 121.525295, - 32.136423 - ], - [ - 121.542542, - 32.152132 - ], - [ - 121.458774, - 32.177462 - ], - [ - 121.499426, - 32.211394 - ], - [ - 121.493882, - 32.263533 - ], - [ - 121.450151, - 32.282256 - ], - [ - 121.425513, - 32.430885 - ], - [ - 121.390405, - 32.460682 - ], - [ - 121.352216, - 32.474315 - ], - [ - 121.269681, - 32.483402 - ], - [ - 121.153268, - 32.52933 - ], - [ - 121.121855, - 32.569183 - ], - [ - 121.076892, - 32.576243 - ], - [ - 121.020225, - 32.605489 - ], - [ - 120.961711, - 32.612042 - ], - [ - 120.979573, - 32.636236 - ], - [ - 120.963559, - 32.68259 - ], - [ - 120.916131, - 32.701225 - ], - [ - 120.953088, - 32.714318 - ], - [ - 120.972182, - 32.761134 - ], - [ - 120.981421, - 32.85972 - ], - [ - 120.957399, - 32.893395 - ], - [ - 120.932762, - 33.005887 - ], - [ - 120.917979, - 33.02596 - ], - [ - 120.871784, - 33.047032 - ], - [ - 120.874247, - 33.093672 - ], - [ - 120.843451, - 33.209915 - ], - [ - 120.819429, - 33.237951 - ], - [ - 120.833595, - 33.274984 - ], - [ - 120.813885, - 33.303499 - ], - [ - 120.769538, - 33.307 - ], - [ - 120.741205, - 33.337505 - ], - [ - 120.717183, - 33.436945 - ], - [ - 120.680227, - 33.520306 - ], - [ - 120.622944, - 33.615051 - ], - [ - 120.611241, - 33.627012 - ], - [ - 120.583524, - 33.668362 - ], - [ - 120.534249, - 33.782346 - ], - [ - 120.48559, - 33.859411 - ], - [ - 120.367329, - 34.091674 - ], - [ - 120.347619, - 34.179352 - ], - [ - 120.314359, - 34.255563 - ], - [ - 120.311895, - 34.306991 - ], - [ - 120.103707, - 34.391481 - ], - [ - 119.962657, - 34.459112 - ], - [ - 119.811752, - 34.485754 - ], - [ - 119.781571, - 34.515839 - ], - [ - 119.641137, - 34.569078 - ], - [ - 119.610956, - 34.592729 - ], - [ - 119.569072, - 34.615389 - ], - [ - 119.465594, - 34.672994 - ], - [ - 119.525956, - 34.73351 - ], - [ - 119.456971, - 34.748264 - ], - [ - 119.381827, - 34.752198 - ], - [ - 119.494543, - 34.754656 - ], - [ - 119.497007, - 34.754164 - ], - [ - 119.439725, - 34.785136 - ], - [ - 119.440957, - 34.769406 - ], - [ - 119.378747, - 34.764489 - ], - [ - 119.312841, - 34.774813 - ], - [ - 119.272189, - 34.797914 - ], - [ - 119.238313, - 34.799388 - ], - [ - 119.217371, - 34.827886 - ], - [ - 119.202588, - 34.890253 - ], - [ - 119.214907, - 34.925589 - ], - [ - 119.211211, - 34.981507 - ], - [ - 119.238313, - 35.048657 - ], - [ - 119.285124, - 35.068252 - ], - [ - 119.291899, - 35.028567 - ], - [ - 119.307298, - 35.032977 - ], - [ - 119.292515, - 35.068742 - ], - [ - 119.306066, - 35.076578 - ], - [ - 119.286972, - 35.115261 - ], - [ - 119.250016, - 35.124562 - ], - [ - 119.217371, - 35.106939 - ], - [ - 119.137915, - 35.096167 - ], - [ - 119.114509, - 35.055026 - ], - [ - 119.027045, - 35.055516 - ], - [ - 118.942662, - 35.040817 - ], - [ - 118.928495, - 35.051106 - ], - [ - 118.86259, - 35.025626 - ], - [ - 118.860742, - 34.944233 - ], - [ - 118.805307, - 34.87307 - ], - [ - 118.80038, - 34.843114 - ], - [ - 118.772047, - 34.794474 - ], - [ - 118.739402, - 34.792508 - ], - [ - 118.719076, - 34.745313 - ], - [ - 118.764039, - 34.740396 - ], - [ - 118.783749, - 34.723181 - ], - [ - 118.739402, - 34.693663 - ], - [ - 118.690127, - 34.678408 - ], - [ - 118.664257, - 34.693663 - ], - [ - 118.607591, - 34.694155 - ], - [ - 118.601431, - 34.714327 - ], - [ - 118.545997, - 34.705964 - ], - [ - 118.460997, - 34.656258 - ], - [ - 118.473932, - 34.623269 - ], - [ - 118.439439, - 34.626223 - ], - [ - 118.424657, - 34.595193 - ], - [ - 118.439439, - 34.507949 - ], - [ - 118.416034, - 34.473914 - ], - [ - 118.404947, - 34.427525 - ], - [ - 118.379693, - 34.415183 - ], - [ - 118.290382, - 34.424563 - ], - [ - 118.277447, - 34.404814 - ], - [ - 118.220165, - 34.405802 - ], - [ - 118.217701, - 34.379134 - ], - [ - 118.179513, - 34.379628 - ], - [ - 118.177665, - 34.45319 - ], - [ - 118.132702, - 34.483287 - ], - [ - 118.16473, - 34.50499 - ], - [ - 118.185056, - 34.543942 - ], - [ - 118.079115, - 34.569571 - ], - [ - 118.114839, - 34.614404 - ], - [ - 118.084042, - 34.655766 - ], - [ - 118.053861, - 34.650843 - ], - [ - 117.951615, - 34.678408 - ], - [ - 117.909732, - 34.670533 - ], - [ - 117.902956, - 34.644443 - ], - [ - 117.793935, - 34.651827 - ], - [ - 117.791471, - 34.583368 - ], - [ - 117.801942, - 34.518798 - ], - [ - 117.684298, - 34.547392 - ], - [ - 117.659044, - 34.501044 - ], - [ - 117.609769, - 34.490686 - ], - [ - 117.592523, - 34.462566 - ], - [ - 117.53832, - 34.467006 - ], - [ - 117.465023, - 34.484767 - ], - [ - 117.402813, - 34.550843 - ], - [ - 117.402813, - 34.569571 - ], - [ - 117.370785, - 34.584846 - ], - [ - 117.325205, - 34.573021 - ], - [ - 117.325205, - 34.573021 - ], - [ - 117.32151, - 34.566614 - ], - [ - 117.32151, - 34.566614 - ], - [ - 117.311654, - 34.561686 - ], - [ - 117.311654, - 34.561686 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 330000, - "name": "浙江省", - "center": [ - 120.153576, - 30.287459 - ], - "centroid": [ - 120.109913, - 29.181466 - ], - "childrenNum": 11, - "cp": [120.498, 29.0918], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 10, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 118.433896, - 28.288335 - ], - [ - 118.444367, - 28.253548 - ], - [ - 118.490562, - 28.238259 - ], - [ - 118.493026, - 28.262509 - ], - [ - 118.588497, - 28.282538 - ], - [ - 118.595272, - 28.258292 - ], - [ - 118.651322, - 28.277267 - ], - [ - 118.674728, - 28.27147 - ], - [ - 118.699366, - 28.309939 - ], - [ - 118.719692, - 28.312047 - ], - [ - 118.756032, - 28.252493 - ], - [ - 118.802228, - 28.240368 - ], - [ - 118.804075, - 28.207675 - ], - [ - 118.771431, - 28.188687 - ], - [ - 118.805923, - 28.154923 - ], - [ - 118.802228, - 28.117453 - ], - [ - 118.767735, - 28.10584 - ], - [ - 118.719076, - 28.063601 - ], - [ - 118.733858, - 28.027684 - ], - [ - 118.730163, - 27.970615 - ], - [ - 118.753568, - 27.947885 - ], - [ - 118.818242, - 27.916689 - ], - [ - 118.829329, - 27.847921 - ], - [ - 118.873677, - 27.733563 - ], - [ - 118.879836, - 27.667859 - ], - [ - 118.913713, - 27.619616 - ], - [ - 118.909401, - 27.568168 - ], - [ - 118.869365, - 27.540047 - ], - [ - 118.907553, - 27.460952 - ], - [ - 118.955597, - 27.4498 - ], - [ - 118.986393, - 27.47582 - ], - [ - 118.983314, - 27.498649 - ], - [ - 119.020886, - 27.498118 - ], - [ - 119.03998, - 27.478475 - ], - [ - 119.092335, - 27.466262 - ], - [ - 119.129907, - 27.475289 - ], - [ - 119.121284, - 27.438115 - ], - [ - 119.14777, - 27.424836 - ], - [ - 119.224146, - 27.416868 - ], - [ - 119.26911, - 27.42218 - ], - [ - 119.285124, - 27.457766 - ], - [ - 119.334399, - 27.480067 - ], - [ - 119.360269, - 27.524657 - ], - [ - 119.416935, - 27.539517 - ], - [ - 119.438493, - 27.508734 - ], - [ - 119.466826, - 27.526249 - ], - [ - 119.501935, - 27.610601 - ], - [ - 119.501319, - 27.649837 - ], - [ - 119.541971, - 27.666799 - ], - [ - 119.606028, - 27.674749 - ], - [ - 119.644217, - 27.663619 - ], - [ - 119.626354, - 27.620676 - ], - [ - 119.630666, - 27.582491 - ], - [ - 119.675014, - 27.574534 - ], - [ - 119.659615, - 27.540578 - ], - [ - 119.690412, - 27.537394 - ], - [ - 119.70889, - 27.514042 - ], - [ - 119.703347, - 27.446613 - ], - [ - 119.685485, - 27.438646 - ], - [ - 119.711354, - 27.403054 - ], - [ - 119.750774, - 27.373829 - ], - [ - 119.739687, - 27.362668 - ], - [ - 119.782187, - 27.330241 - ], - [ - 119.768636, - 27.307909 - ], - [ - 119.843165, - 27.300464 - ], - [ - 119.938636, - 27.329709 - ], - [ - 119.960194, - 27.365857 - ], - [ - 120.008237, - 27.375423 - ], - [ - 120.026099, - 27.344063 - ], - [ - 120.052584, - 27.338747 - ], - [ - 120.096316, - 27.390302 - ], - [ - 120.136968, - 27.402523 - ], - [ - 120.134504, - 27.420055 - ], - [ - 120.221352, - 27.420055 - ], - [ - 120.26262, - 27.432804 - ], - [ - 120.273091, - 27.38924 - ], - [ - 120.340844, - 27.399867 - ], - [ - 120.343924, - 27.363199 - ], - [ - 120.430155, - 27.258976 - ], - [ - 120.401822, - 27.250996 - ], - [ - 120.404286, - 27.204166 - ], - [ - 120.461568, - 27.142407 - ], - [ - 120.492365, - 27.136016 - ], - [ - 120.545952, - 27.156785 - ], - [ - 120.574901, - 27.234501 - ], - [ - 120.554575, - 27.25206 - ], - [ - 120.580444, - 27.321203 - ], - [ - 120.665444, - 27.357884 - ], - [ - 120.673451, - 27.420055 - ], - [ - 120.703016, - 27.478475 - ], - [ - 120.637111, - 27.561271 - ], - [ - 120.634647, - 27.577186 - ], - [ - 120.685154, - 27.622797 - ], - [ - 120.709176, - 27.682699 - ], - [ - 120.771386, - 27.734623 - ], - [ - 120.777545, - 27.774873 - ], - [ - 120.809574, - 27.775402 - ], - [ - 120.840371, - 27.758986 - ], - [ - 120.910588, - 27.864852 - ], - [ - 120.942001, - 27.896592 - ], - [ - 120.97403, - 27.887071 - ], - [ - 121.027616, - 27.832574 - ], - [ - 121.070116, - 27.834162 - ], - [ - 121.107688, - 27.81352 - ], - [ - 121.152036, - 27.815638 - ], - [ - 121.134174, - 27.787051 - ], - [ - 121.13479, - 27.787051 - ], - [ - 121.149572, - 27.801345 - ], - [ - 121.149572, - 27.801875 - ], - [ - 121.153268, - 27.809815 - ], - [ - 121.152652, - 27.810344 - ], - [ - 121.192072, - 27.822518 - ], - [ - 121.193304, - 27.872259 - ], - [ - 121.162507, - 27.879136 - ], - [ - 121.162507, - 27.90717 - ], - [ - 121.099681, - 27.895005 - ], - [ - 121.05595, - 27.900294 - ], - [ - 120.991892, - 27.95 - ], - [ - 121.015298, - 27.981714 - ], - [ - 121.059029, - 28.096338 - ], - [ - 121.108304, - 28.139092 - ], - [ - 121.121239, - 28.12537 - ], - [ - 121.140949, - 28.031382 - ], - [ - 121.176058, - 28.022401 - ], - [ - 121.261057, - 28.034551 - ], - [ - 121.299862, - 28.067297 - ], - [ - 121.328195, - 28.134343 - ], - [ - 121.373774, - 28.133287 - ], - [ - 121.402107, - 28.197127 - ], - [ - 121.45631, - 28.250385 - ], - [ - 121.488955, - 28.301509 - ], - [ - 121.538846, - 28.299401 - ], - [ - 121.571491, - 28.279376 - ], - [ - 121.580114, - 28.240368 - ], - [ - 121.627541, - 28.251966 - ], - [ - 121.669425, - 28.33312 - ], - [ - 121.660186, - 28.355768 - ], - [ - 121.634317, - 28.347868 - ], - [ - 121.658954, - 28.392628 - ], - [ - 121.692831, - 28.407368 - ], - [ - 121.671273, - 28.472621 - ], - [ - 121.646019, - 28.511544 - ], - [ - 121.634317, - 28.562542 - ], - [ - 121.596128, - 28.575156 - ], - [ - 121.557324, - 28.645033 - ], - [ - 121.540694, - 28.655537 - ], - [ - 121.646019, - 28.682842 - ], - [ - 121.689135, - 28.719062 - ], - [ - 121.704534, - 28.804577 - ], - [ - 121.687287, - 28.863294 - ], - [ - 121.774751, - 28.863818 - ], - [ - 121.772287, - 28.898404 - ], - [ - 121.743338, - 28.954451 - ], - [ - 121.711309, - 28.985865 - ], - [ - 121.712541, - 29.028783 - ], - [ - 121.658954, - 29.058606 - ], - [ - 121.660186, - 29.118226 - ], - [ - 121.616454, - 29.143318 - ], - [ - 121.608447, - 29.168927 - ], - [ - 121.715621, - 29.125022 - ], - [ - 121.750113, - 29.136523 - ], - [ - 121.767975, - 29.166837 - ], - [ - 121.780294, - 29.10986 - ], - [ - 121.811091, - 29.10986 - ], - [ - 121.85975, - 29.086328 - ], - [ - 121.884388, - 29.105677 - ], - [ - 121.966308, - 29.052852 - ], - [ - 121.970004, - 29.092604 - ], - [ - 121.988482, - 29.110906 - ], - [ - 121.986634, - 29.154817 - ], - [ - 121.948446, - 29.193485 - ], - [ - 121.971851, - 29.193485 - ], - [ - 121.966924, - 29.249894 - ], - [ - 122.002032, - 29.260336 - ], - [ - 122.000185, - 29.278608 - ], - [ - 121.94475, - 29.28435 - ], - [ - 121.958301, - 29.334448 - ], - [ - 121.936127, - 29.348012 - ], - [ - 121.937975, - 29.384 - ], - [ - 121.975547, - 29.411113 - ], - [ - 121.993409, - 29.45229 - ], - [ - 121.973083, - 29.477821 - ], - [ - 121.968772, - 29.515846 - ], - [ - 121.995257, - 29.545007 - ], - [ - 122.000185, - 29.582486 - ], - [ - 121.966308, - 29.636078 - ], - [ - 121.909641, - 29.650122 - ], - [ - 121.872685, - 29.632437 - ], - [ - 121.833265, - 29.653242 - ], - [ - 121.937359, - 29.748373 - ], - [ - 122.003264, - 29.762401 - ], - [ - 122.043916, - 29.822647 - ], - [ - 122.10243, - 29.859504 - ], - [ - 122.143082, - 29.877668 - ], - [ - 122.140003, - 29.901535 - ], - [ - 122.00696, - 29.891678 - ], - [ - 122.00388, - 29.92021 - ], - [ - 121.971235, - 29.955476 - ], - [ - 121.919497, - 29.920729 - ], - [ - 121.835113, - 29.958068 - ], - [ - 121.78399, - 29.99332 - ], - [ - 121.721164, - 29.992802 - ], - [ - 121.699606, - 30.007832 - ], - [ - 121.652795, - 30.071037 - ], - [ - 121.635548, - 30.070002 - ], - [ - 121.561636, - 30.184395 - ], - [ - 121.497578, - 30.258861 - ], - [ - 121.395332, - 30.338435 - ], - [ - 121.371926, - 30.37097 - ], - [ - 121.328195, - 30.397299 - ], - [ - 121.225333, - 30.404526 - ], - [ - 121.183449, - 30.434458 - ], - [ - 121.092906, - 30.515952 - ], - [ - 121.058413, - 30.563888 - ], - [ - 121.148956, - 30.599953 - ], - [ - 121.188992, - 30.632916 - ], - [ - 121.239499, - 30.648878 - ], - [ - 121.274608, - 30.677191 - ], - [ - 121.272144, - 30.723504 - ], - [ - 121.232108, - 30.755909 - ], - [ - 121.21671, - 30.785734 - ], - [ - 121.174826, - 30.771851 - ], - [ - 121.123087, - 30.77905 - ], - [ - 121.13787, - 30.826342 - ], - [ - 121.097833, - 30.857171 - ], - [ - 121.060261, - 30.845354 - ], - [ - 121.038087, - 30.814007 - ], - [ - 120.991892, - 30.837133 - ], - [ - 121.020225, - 30.872069 - ], - [ - 120.993124, - 30.889532 - ], - [ - 121.000515, - 30.938309 - ], - [ - 120.989428, - 31.01425 - ], - [ - 120.949392, - 31.030148 - ], - [ - 120.940153, - 31.010146 - ], - [ - 120.901349, - 31.017327 - ], - [ - 120.865624, - 30.989627 - ], - [ - 120.820661, - 31.006556 - ], - [ - 120.770154, - 30.996809 - ], - [ - 120.746132, - 30.962432 - ], - [ - 120.698089, - 30.970643 - ], - [ - 120.684538, - 30.955247 - ], - [ - 120.709176, - 30.933176 - ], - [ - 120.713487, - 30.88491 - ], - [ - 120.68269, - 30.882342 - ], - [ - 120.654973, - 30.846896 - ], - [ - 120.589684, - 30.854089 - ], - [ - 120.563814, - 30.835592 - ], - [ - 120.504684, - 30.757967 - ], - [ - 120.489285, - 30.763624 - ], - [ - 120.460336, - 30.839702 - ], - [ - 120.441858, - 30.860768 - ], - [ - 120.435083, - 30.920855 - ], - [ - 120.42338, - 30.902884 - ], - [ - 120.35809, - 30.886964 - ], - [ - 120.371025, - 30.948575 - ], - [ - 120.316206, - 30.933689 - ], - [ - 120.223816, - 30.926502 - ], - [ - 120.149903, - 30.937283 - ], - [ - 120.111099, - 30.955761 - ], - [ - 120.052584, - 31.00553 - ], - [ - 120.001461, - 31.027071 - ], - [ - 119.988527, - 31.059375 - ], - [ - 119.946027, - 31.106016 - ], - [ - 119.921389, - 31.170045 - ], - [ - 119.878274, - 31.160828 - ], - [ - 119.827151, - 31.174142 - ], - [ - 119.809904, - 31.148536 - ], - [ - 119.779723, - 31.17875 - ], - [ - 119.715666, - 31.169533 - ], - [ - 119.705811, - 31.152634 - ], - [ - 119.678093, - 31.167997 - ], - [ - 119.623891, - 31.130096 - ], - [ - 119.649144, - 31.104991 - ], - [ - 119.629434, - 31.085517 - ], - [ - 119.633746, - 31.019379 - ], - [ - 119.580159, - 30.967051 - ], - [ - 119.582007, - 30.932149 - ], - [ - 119.563529, - 30.919315 - ], - [ - 119.557369, - 30.874124 - ], - [ - 119.575847, - 30.829939 - ], - [ - 119.55429, - 30.825828 - ], - [ - 119.527188, - 30.77905 - ], - [ - 119.479761, - 30.772365 - ], - [ - 119.482841, - 30.704467 - ], - [ - 119.444652, - 30.650422 - ], - [ - 119.408312, - 30.645274 - ], - [ - 119.39045, - 30.685941 - ], - [ - 119.343022, - 30.664322 - ], - [ - 119.323312, - 30.630341 - ], - [ - 119.238929, - 30.609225 - ], - [ - 119.265414, - 30.574709 - ], - [ - 119.237081, - 30.546881 - ], - [ - 119.272189, - 30.510281 - ], - [ - 119.326392, - 30.532964 - ], - [ - 119.336247, - 30.508734 - ], - [ - 119.335015, - 30.448389 - ], - [ - 119.36766, - 30.38491 - ], - [ - 119.402768, - 30.374584 - ], - [ - 119.349182, - 30.349281 - ], - [ - 119.326392, - 30.372002 - ], - [ - 119.277117, - 30.341018 - ], - [ - 119.246936, - 30.341018 - ], - [ - 119.236465, - 30.297106 - ], - [ - 119.201356, - 30.290905 - ], - [ - 119.126828, - 30.304856 - ], - [ - 119.091719, - 30.323972 - ], - [ - 119.06277, - 30.304856 - ], - [ - 118.988857, - 30.332237 - ], - [ - 118.954365, - 30.360126 - ], - [ - 118.880452, - 30.31519 - ], - [ - 118.877988, - 30.282637 - ], - [ - 118.905089, - 30.216464 - ], - [ - 118.929727, - 30.2025 - ], - [ - 118.852735, - 30.166805 - ], - [ - 118.852119, - 30.149729 - ], - [ - 118.895234, - 30.148694 - ], - [ - 118.873677, - 30.11505 - ], - [ - 118.878604, - 30.064822 - ], - [ - 118.902626, - 30.029078 - ], - [ - 118.894619, - 29.937845 - ], - [ - 118.838568, - 29.934733 - ], - [ - 118.841032, - 29.891159 - ], - [ - 118.740634, - 29.814859 - ], - [ - 118.744945, - 29.73902 - ], - [ - 118.700598, - 29.706277 - ], - [ - 118.647011, - 29.64336 - ], - [ - 118.61991, - 29.654282 - ], - [ - 118.573714, - 29.638159 - ], - [ - 118.532446, - 29.588731 - ], - [ - 118.500417, - 29.57572 - ], - [ - 118.496106, - 29.519492 - ], - [ - 118.381541, - 29.504909 - ], - [ - 118.347664, - 29.474174 - ], - [ - 118.329802, - 29.495012 - ], - [ - 118.306396, - 29.479384 - ], - [ - 118.316252, - 29.422581 - ], - [ - 118.248498, - 29.431443 - ], - [ - 118.193064, - 29.395472 - ], - [ - 118.205382, - 29.343839 - ], - [ - 118.166578, - 29.314099 - ], - [ - 118.178281, - 29.297921 - ], - [ - 118.138861, - 29.283828 - ], - [ - 118.077883, - 29.290614 - ], - [ - 118.073571, - 29.216993 - ], - [ - 118.042159, - 29.210202 - ], - [ - 118.027992, - 29.167882 - ], - [ - 118.045238, - 29.149068 - ], - [ - 118.037847, - 29.102017 - ], - [ - 118.076035, - 29.074822 - ], - [ - 118.066796, - 29.053898 - ], - [ - 118.097593, - 28.998952 - ], - [ - 118.115455, - 29.009944 - ], - [ - 118.115455, - 29.009944 - ], - [ - 118.133933, - 28.983771 - ], - [ - 118.165346, - 28.986912 - ], - [ - 118.227556, - 28.942406 - ], - [ - 118.195527, - 28.904167 - ], - [ - 118.270056, - 28.918836 - ], - [ - 118.300237, - 28.826075 - ], - [ - 118.364295, - 28.813491 - ], - [ - 118.403099, - 28.702791 - ], - [ - 118.428352, - 28.681267 - ], - [ - 118.428352, - 28.617193 - ], - [ - 118.428352, - 28.617193 - ], - [ - 118.412338, - 28.55676 - ], - [ - 118.4302, - 28.515225 - ], - [ - 118.414802, - 28.497344 - ], - [ - 118.474548, - 28.478934 - ], - [ - 118.456686, - 28.424738 - ], - [ - 118.432048, - 28.402104 - ], - [ - 118.455454, - 28.384204 - ], - [ - 118.480091, - 28.327325 - ], - [ - 118.433896, - 28.288335 - ] - ] - ], - [ - [ - [ - 122.163408, - 29.988137 - ], - [ - 122.239785, - 29.962735 - ], - [ - 122.279205, - 29.937326 - ], - [ - 122.322321, - 29.940438 - ], - [ - 122.341415, - 29.976733 - ], - [ - 122.343879, - 30.020269 - ], - [ - 122.310002, - 30.039958 - ], - [ - 122.290908, - 30.074663 - ], - [ - 122.301379, - 30.086574 - ], - [ - 122.293988, - 30.100554 - ], - [ - 122.152938, - 30.113497 - ], - [ - 122.095655, - 30.158008 - ], - [ - 122.048844, - 30.147141 - ], - [ - 121.955221, - 30.183878 - ], - [ - 121.934895, - 30.161631 - ], - [ - 121.983554, - 30.100554 - ], - [ - 121.989714, - 30.077252 - ], - [ - 121.978011, - 30.059125 - ], - [ - 122.027902, - 29.991247 - ], - [ - 122.106742, - 30.005759 - ], - [ - 122.118445, - 29.986582 - ], - [ - 122.163408, - 29.988137 - ] - ] - ], - [ - [ - [ - 122.213915, - 30.186464 - ], - [ - 122.178807, - 30.199396 - ], - [ - 122.152938, - 30.19112 - ], - [ - 122.143698, - 30.163183 - ], - [ - 122.168336, - 30.138343 - ], - [ - 122.213915, - 30.186464 - ] - ] - ], - [ - [ - [ - 122.229314, - 29.711995 - ], - [ - 122.210836, - 29.700559 - ], - [ - 122.269966, - 29.685482 - ], - [ - 122.231162, - 29.710435 - ], - [ - 122.229314, - 29.711995 - ] - ] - ], - [ - [ - [ - 122.427646, - 30.738422 - ], - [ - 122.427031, - 30.697777 - ], - [ - 122.532972, - 30.696748 - ], - [ - 122.528045, - 30.725047 - ], - [ - 122.475074, - 30.714243 - ], - [ - 122.445509, - 30.745109 - ], - [ - 122.427646, - 30.738422 - ] - ] - ], - [ - [ - [ - 122.162793, - 30.329654 - ], - [ - 122.058083, - 30.291938 - ], - [ - 122.154169, - 30.244903 - ], - [ - 122.231778, - 30.234562 - ], - [ - 122.247176, - 30.30124 - ], - [ - 122.228082, - 30.329654 - ], - [ - 122.191126, - 30.329654 - ], - [ - 122.176343, - 30.351863 - ], - [ - 122.162793, - 30.329654 - ] - ] - ], - [ - [ - [ - 122.317393, - 30.249556 - ], - [ - 122.277973, - 30.242835 - ], - [ - 122.358661, - 30.236113 - ], - [ - 122.365437, - 30.255242 - ], - [ - 122.417175, - 30.238699 - ], - [ - 122.40732, - 30.272817 - ], - [ - 122.333408, - 30.272817 - ], - [ - 122.317393, - 30.249556 - ] - ] - ], - [ - [ - [ - 122.026054, - 29.178333 - ], - [ - 122.013119, - 29.151681 - ], - [ - 122.056851, - 29.158476 - ], - [ - 122.075945, - 29.176243 - ], - [ - 122.036525, - 29.20759 - ], - [ - 122.026054, - 29.178333 - ] - ] - ], - [ - [ - [ - 122.372212, - 29.893234 - ], - [ - 122.386379, - 29.834069 - ], - [ - 122.415944, - 29.828877 - ], - [ - 122.401777, - 29.869884 - ], - [ - 122.433806, - 29.883376 - ], - [ - 122.43319, - 29.919173 - ], - [ - 122.411632, - 29.951846 - ], - [ - 122.398081, - 29.9394 - ], - [ - 122.351886, - 29.959105 - ], - [ - 122.330944, - 29.937845 - ], - [ - 122.338951, - 29.911911 - ], - [ - 122.353734, - 29.89946 - ], - [ - 122.362973, - 29.894272 - ], - [ - 122.372212, - 29.893234 - ] - ] - ], - [ - [ - [ - 122.43011, - 30.408655 - ], - [ - 122.432574, - 30.445294 - ], - [ - 122.37406, - 30.461802 - ], - [ - 122.277973, - 30.471603 - ], - [ - 122.281669, - 30.418461 - ], - [ - 122.318625, - 30.407106 - ], - [ - 122.352502, - 30.422074 - ], - [ - 122.43011, - 30.408655 - ] - ] - ], - [ - [ - [ - 121.837577, - 28.770484 - ], - [ - 121.86283, - 28.782024 - ], - [ - 121.861598, - 28.814016 - ], - [ - 121.837577, - 28.770484 - ] - ] - ], - [ - [ - [ - 122.265038, - 29.84549 - ], - [ - 122.221307, - 29.832512 - ], - [ - 122.248408, - 29.804473 - ], - [ - 122.310002, - 29.766557 - ], - [ - 122.325401, - 29.781621 - ], - [ - 122.299531, - 29.819532 - ], - [ - 122.319241, - 29.829397 - ], - [ - 122.265038, - 29.84549 - ] - ] - ], - [ - [ - [ - 121.790765, - 29.082144 - ], - [ - 121.832649, - 29.050236 - ], - [ - 121.84312, - 29.082144 - ], - [ - 121.82033, - 29.099402 - ], - [ - 121.790765, - 29.082144 - ] - ] - ], - [ - [ - [ - 121.201311, - 27.623328 - ], - [ - 121.197616, - 27.618025 - ], - [ - 121.198848, - 27.616964 - ], - [ - 121.203775, - 27.625979 - ], - [ - 121.201311, - 27.623328 - ] - ] - ], - [ - [ - [ - 121.943518, - 30.776993 - ], - [ - 121.968156, - 30.688514 - ], - [ - 121.997105, - 30.658659 - ], - [ - 122.087032, - 30.602014 - ], - [ - 122.133227, - 30.595317 - ], - [ - 122.075329, - 30.647848 - ], - [ - 122.011271, - 30.66947 - ], - [ - 121.992793, - 30.695204 - ], - [ - 121.987866, - 30.753338 - ], - [ - 121.970004, - 30.789333 - ], - [ - 121.943518, - 30.776993 - ] - ] - ], - [ - [ - [ - 121.889315, - 28.471569 - ], - [ - 121.918881, - 28.497344 - ], - [ - 121.881924, - 28.502603 - ], - [ - 121.889315, - 28.471569 - ] - ] - ], - [ - [ - [ - 122.182503, - 29.650642 - ], - [ - 122.211452, - 29.692241 - ], - [ - 122.200365, - 29.712515 - ], - [ - 122.146778, - 29.749412 - ], - [ - 122.13138, - 29.788893 - ], - [ - 122.083952, - 29.78318 - ], - [ - 122.047612, - 29.719791 - ], - [ - 122.074097, - 29.701599 - ], - [ - 122.095655, - 29.716673 - ], - [ - 122.138155, - 29.662083 - ], - [ - 122.182503, - 29.650642 - ] - ] - ], - [ - [ - [ - 122.461523, - 29.944068 - ], - [ - 122.459675, - 29.944586 - ], - [ - 122.460291, - 29.947179 - ], - [ - 122.451668, - 29.943031 - ], - [ - 122.451052, - 29.940956 - ], - [ - 122.450436, - 29.940956 - ], - [ - 122.449204, - 29.9394 - ], - [ - 122.4529, - 29.936807 - ], - [ - 122.452284, - 29.935252 - ], - [ - 122.45598, - 29.926435 - ], - [ - 122.457827, - 29.927472 - ], - [ - 122.462755, - 29.927991 - ], - [ - 122.467067, - 29.928509 - ], - [ - 122.459059, - 29.938882 - ], - [ - 122.461523, - 29.944068 - ] - ] - ], - [ - [ - [ - 122.570544, - 30.644244 - ], - [ - 122.559457, - 30.679764 - ], - [ - 122.546523, - 30.651967 - ], - [ - 122.570544, - 30.644244 - ] - ] - ], - [ - [ - [ - 121.869605, - 28.423685 - ], - [ - 121.910873, - 28.44 - ], - [ - 121.889931, - 28.45105 - ], - [ - 121.869605, - 28.423685 - ] - ] - ], - [ - [ - [ - 122.065474, - 30.179739 - ], - [ - 122.055619, - 30.200431 - ], - [ - 122.017431, - 30.186464 - ], - [ - 122.025438, - 30.161631 - ], - [ - 122.065474, - 30.179739 - ] - ] - ], - [ - [ - [ - 122.391306, - 29.970512 - ], - [ - 122.411632, - 30.025969 - ], - [ - 122.378371, - 30.023896 - ], - [ - 122.3679, - 29.980361 - ], - [ - 122.391306, - 29.970512 - ] - ] - ], - [ - [ - [ - 121.850511, - 29.977251 - ], - [ - 121.874533, - 29.964809 - ], - [ - 121.933047, - 29.994875 - ], - [ - 121.924424, - 30.052391 - ], - [ - 121.88562, - 30.094859 - ], - [ - 121.848663, - 30.101072 - ], - [ - 121.84004, - 30.047211 - ], - [ - 121.844968, - 29.982953 - ], - [ - 121.850511, - 29.977251 - ] - ] - ], - [ - [ - [ - 121.066421, - 27.478475 - ], - [ - 121.066421, - 27.461483 - ], - [ - 121.107073, - 27.443958 - ], - [ - 121.067036, - 27.478475 - ], - [ - 121.066421, - 27.478475 - ] - ] - ], - [ - [ - [ - 121.952141, - 29.187738 - ], - [ - 121.979243, - 29.160043 - ], - [ - 121.976779, - 29.191918 - ], - [ - 121.952141, - 29.187738 - ] - ] - ], - [ - [ - [ - 122.038373, - 29.759284 - ], - [ - 122.011271, - 29.746294 - ], - [ - 122.02975, - 29.716673 - ], - [ - 122.038373, - 29.759284 - ] - ] - ], - [ - [ - [ - 121.940438, - 30.114533 - ], - [ - 121.910257, - 30.089163 - ], - [ - 121.945982, - 30.064304 - ], - [ - 121.962612, - 30.106249 - ], - [ - 121.940438, - 30.114533 - ] - ] - ], - [ - [ - [ - 121.957685, - 30.287804 - ], - [ - 122.0008, - 30.308473 - ], - [ - 121.989098, - 30.339985 - ], - [ - 121.94167, - 30.33327 - ], - [ - 121.921344, - 30.30744 - ], - [ - 121.957685, - 30.287804 - ] - ] - ], - [ - [ - [ - 122.192974, - 29.965327 - ], - [ - 122.163408, - 29.988137 - ], - [ - 122.152322, - 29.97103 - ], - [ - 122.154169, - 29.97103 - ], - [ - 122.155401, - 29.970512 - ], - [ - 122.18435, - 29.955476 - ], - [ - 122.192974, - 29.965327 - ] - ] - ], - [ - [ - [ - 122.287828, - 29.723949 - ], - [ - 122.301379, - 29.748373 - ], - [ - 122.258263, - 29.753569 - ], - [ - 122.241633, - 29.784738 - ], - [ - 122.2133, - 29.771752 - ], - [ - 122.251488, - 29.731225 - ], - [ - 122.287828, - 29.723949 - ] - ] - ], - [ - [ - [ - 121.134174, - 27.787051 - ], - [ - 121.134174, - 27.785992 - ], - [ - 121.13479, - 27.787051 - ], - [ - 121.134174, - 27.787051 - ] - ] - ], - [ - [ - [ - 122.760254, - 30.141966 - ], - [ - 122.784275, - 30.130062 - ], - [ - 122.781196, - 30.13265 - ], - [ - 122.778116, - 30.13679 - ], - [ - 122.770725, - 30.138861 - ], - [ - 122.763333, - 30.141966 - ], - [ - 122.762101, - 30.142484 - ], - [ - 122.760254, - 30.141966 - ] - ] - ], - [ - [ - [ - 122.264423, - 30.269716 - ], - [ - 122.253952, - 30.237147 - ], - [ - 122.315545, - 30.250073 - ], - [ - 122.300147, - 30.271266 - ], - [ - 122.264423, - 30.269716 - ] - ] - ], - [ - [ - [ - 122.282901, - 29.860542 - ], - [ - 122.30877, - 29.849642 - ], - [ - 122.343263, - 29.860542 - ], - [ - 122.343263, - 29.882857 - ], - [ - 122.301379, - 29.883895 - ], - [ - 122.282901, - 29.860542 - ] - ] - ], - [ - [ - [ - 122.781196, - 30.694175 - ], - [ - 122.799674, - 30.716301 - ], - [ - 122.778732, - 30.729677 - ], - [ - 122.757174, - 30.713728 - ], - [ - 122.781196, - 30.694175 - ] - ] - ], - [ - [ - [ - 121.098449, - 27.937311 - ], - [ - 121.152652, - 27.961629 - ], - [ - 121.120623, - 27.986471 - ], - [ - 121.0695, - 27.984357 - ], - [ - 121.038087, - 27.948942 - ], - [ - 121.098449, - 27.937311 - ] - ] - ], - [ - [ - [ - 121.185913, - 27.963215 - ], - [ - 121.237652, - 27.988056 - ], - [ - 121.197616, - 28.000739 - ], - [ - 121.17113, - 27.978543 - ], - [ - 121.185913, - 27.963215 - ] - ] - ], - [ - [ - [ - 122.454132, - 29.956513 - ], - [ - 122.447972, - 29.955994 - ], - [ - 122.445509, - 29.952365 - ], - [ - 122.446741, - 29.951327 - ], - [ - 122.447972, - 29.947698 - ], - [ - 122.459059, - 29.950809 - ], - [ - 122.458443, - 29.951846 - ], - [ - 122.455364, - 29.955994 - ], - [ - 122.454132, - 29.956513 - ] - ] - ], - [ - [ - [ - 122.836014, - 30.698806 - ], - [ - 122.831087, - 30.728648 - ], - [ - 122.807681, - 30.714243 - ], - [ - 122.836014, - 30.698806 - ] - ] - ], - [ - [ - [ - 122.200365, - 29.969475 - ], - [ - 122.233626, - 29.946661 - ], - [ - 122.273662, - 29.93214 - ], - [ - 122.239785, - 29.960142 - ], - [ - 122.200365, - 29.969475 - ] - ] - ], - [ - [ - [ - 122.029134, - 29.954957 - ], - [ - 122.043916, - 29.930584 - ], - [ - 122.058699, - 29.955994 - ], - [ - 122.029134, - 29.954957 - ] - ] - ], - [ - [ - [ - 121.044247, - 27.979072 - ], - [ - 121.089826, - 27.998625 - ], - [ - 121.073812, - 28.007608 - ], - [ - 121.044247, - 27.979072 - ] - ] - ], - [ - [ - [ - 122.471378, - 29.927472 - ], - [ - 122.470762, - 29.925916 - ], - [ - 122.473226, - 29.925397 - ], - [ - 122.47261, - 29.927472 - ], - [ - 122.471378, - 29.927472 - ] - ] - ], - [ - [ - [ - 122.152322, - 29.97103 - ], - [ - 122.155401, - 29.970512 - ], - [ - 122.154169, - 29.97103 - ], - [ - 122.152322, - 29.97103 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 340000, - "name": "安徽省", - "center": [ - 117.283042, - 31.86119 - ], - "centroid": [ - 117.226884, - 31.849254 - ], - "childrenNum": 16, - "cp": [117.2461, 31.0361], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 11, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 116.599629, - 34.014324 - ], - [ - 116.641512, - 33.978103 - ], - [ - 116.64336, - 33.896675 - ], - [ - 116.631042, - 33.887733 - ], - [ - 116.566984, - 33.9081 - ], - [ - 116.558361, - 33.881274 - ], - [ - 116.486296, - 33.869846 - ], - [ - 116.437637, - 33.846489 - ], - [ - 116.437021, - 33.801246 - ], - [ - 116.408071, - 33.805721 - ], - [ - 116.393905, - 33.782843 - ], - [ - 116.316912, - 33.771402 - ], - [ - 116.263326, - 33.730101 - ], - [ - 116.230065, - 33.735078 - ], - [ - 116.155536, - 33.709693 - ], - [ - 116.132747, - 33.751501 - ], - [ - 116.100102, - 33.782843 - ], - [ - 116.074232, - 33.781351 - ], - [ - 116.055754, - 33.804727 - ], - [ - 116.05945, - 33.860902 - ], - [ - 115.982457, - 33.917039 - ], - [ - 116.00032, - 33.965199 - ], - [ - 115.95782, - 34.007875 - ], - [ - 115.904233, - 34.009859 - ], - [ - 115.876516, - 34.028708 - ], - [ - 115.877132, - 34.002913 - ], - [ - 115.85003, - 34.004898 - ], - [ - 115.846335, - 34.028708 - ], - [ - 115.809378, - 34.062428 - ], - [ - 115.768726, - 34.061932 - ], - [ - 115.736082, - 34.076805 - ], - [ - 115.705901, - 34.059949 - ], - [ - 115.658473, - 34.061437 - ], - [ - 115.642459, - 34.03218 - ], - [ - 115.60735, - 34.030196 - ], - [ - 115.579017, - 33.974133 - ], - [ - 115.577785, - 33.950307 - ], - [ - 115.547604, - 33.874815 - ], - [ - 115.631988, - 33.869846 - ], - [ - 115.614126, - 33.775879 - ], - [ - 115.576553, - 33.787817 - ], - [ - 115.563003, - 33.772895 - ], - [ - 115.601807, - 33.718653 - ], - [ - 115.601191, - 33.658898 - ], - [ - 115.639995, - 33.585143 - ], - [ - 115.564851, - 33.576169 - ], - [ - 115.511264, - 33.55323 - ], - [ - 115.463837, - 33.567193 - ], - [ - 115.422569, - 33.557219 - ], - [ - 115.394851, - 33.506335 - ], - [ - 115.366518, - 33.5233 - ], - [ - 115.345576, - 33.502842 - ], - [ - 115.345576, - 33.449928 - ], - [ - 115.324634, - 33.457418 - ], - [ - 115.315395, - 33.431451 - ], - [ - 115.328946, - 33.403477 - ], - [ - 115.313547, - 33.376994 - ], - [ - 115.341881, - 33.370997 - ], - [ - 115.365286, - 33.336005 - ], - [ - 115.361591, - 33.298497 - ], - [ - 115.335105, - 33.297997 - ], - [ - 115.340033, - 33.260973 - ], - [ - 115.300613, - 33.204407 - ], - [ - 115.303692, - 33.149809 - ], - [ - 115.289526, - 33.131769 - ], - [ - 115.245178, - 33.135778 - ], - [ - 115.194671, - 33.120743 - ], - [ - 115.168186, - 33.088658 - ], - [ - 115.041302, - 33.086653 - ], - [ - 114.990795, - 33.102195 - ], - [ - 114.966158, - 33.147304 - ], - [ - 114.932897, - 33.153817 - ], - [ - 114.902716, - 33.129764 - ], - [ - 114.897172, - 33.086653 - ], - [ - 114.913187, - 33.083143 - ], - [ - 114.925506, - 33.016928 - ], - [ - 114.891629, - 33.020441 - ], - [ - 114.883006, - 32.990328 - ], - [ - 114.916266, - 32.971251 - ], - [ - 114.943368, - 32.935094 - ], - [ - 115.009273, - 32.940117 - ], - [ - 115.035143, - 32.932582 - ], - [ - 115.029599, - 32.906962 - ], - [ - 115.139237, - 32.897917 - ], - [ - 115.155867, - 32.864747 - ], - [ - 115.197135, - 32.856201 - ], - [ - 115.189744, - 32.812452 - ], - [ - 115.211301, - 32.785791 - ], - [ - 115.189744, - 32.770695 - ], - [ - 115.179273, - 32.726402 - ], - [ - 115.182968, - 32.666973 - ], - [ - 115.20083, - 32.591876 - ], - [ - 115.24333, - 32.593388 - ], - [ - 115.267352, - 32.578261 - ], - [ - 115.30554, - 32.583303 - ], - [ - 115.304924, - 32.553042 - ], - [ - 115.411482, - 32.575235 - ], - [ - 115.409018, - 32.549007 - ], - [ - 115.497713, - 32.492489 - ], - [ - 115.5088, - 32.468761 - ], - [ - 115.510648, - 32.468761 - ], - [ - 115.510648, - 32.468256 - ], - [ - 115.510648, - 32.467751 - ], - [ - 115.509416, - 32.466741 - ], - [ - 115.522967, - 32.441997 - ], - [ - 115.57101, - 32.419266 - ], - [ - 115.604271, - 32.425833 - ], - [ - 115.626445, - 32.40512 - ], - [ - 115.657857, - 32.428864 - ], - [ - 115.667712, - 32.409667 - ], - [ - 115.704669, - 32.495013 - ], - [ - 115.742241, - 32.476335 - ], - [ - 115.771806, - 32.505108 - ], - [ - 115.789052, - 32.468761 - ], - [ - 115.861117, - 32.537403 - ], - [ - 115.891298, - 32.576243 - ], - [ - 115.910393, - 32.567165 - ], - [ - 115.8759, - 32.542448 - ], - [ - 115.845719, - 32.501575 - ], - [ - 115.883291, - 32.487946 - ], - [ - 115.865429, - 32.458662 - ], - [ - 115.899306, - 32.390971 - ], - [ - 115.912856, - 32.227596 - ], - [ - 115.941805, - 32.166318 - ], - [ - 115.922095, - 32.049725 - ], - [ - 115.928871, - 32.003046 - ], - [ - 115.909161, - 31.94314 - ], - [ - 115.920248, - 31.920285 - ], - [ - 115.894994, - 31.8649 - ], - [ - 115.893762, - 31.832365 - ], - [ - 115.914704, - 31.814567 - ], - [ - 115.886371, - 31.776418 - ], - [ - 115.851878, - 31.786593 - ], - [ - 115.808147, - 31.770313 - ], - [ - 115.808147, - 31.770313 - ], - [ - 115.767495, - 31.78761 - ], - [ - 115.731154, - 31.76726 - ], - [ - 115.676336, - 31.778453 - ], - [ - 115.553764, - 31.69549 - ], - [ - 115.534054, - 31.698545 - ], - [ - 115.495249, - 31.673083 - ], - [ - 115.476771, - 31.643028 - ], - [ - 115.485394, - 31.608885 - ], - [ - 115.439815, - 31.588496 - ], - [ - 115.415793, - 31.525771 - ], - [ - 115.371446, - 31.495668 - ], - [ - 115.389924, - 31.450241 - ], - [ - 115.373909, - 31.405813 - ], - [ - 115.393004, - 31.389977 - ], - [ - 115.372062, - 31.349098 - ], - [ - 115.40717, - 31.337854 - ], - [ - 115.443511, - 31.344498 - ], - [ - 115.473076, - 31.265242 - ], - [ - 115.507568, - 31.267799 - ], - [ - 115.539597, - 31.231985 - ], - [ - 115.540213, - 31.194621 - ], - [ - 115.585793, - 31.143926 - ], - [ - 115.603655, - 31.17363 - ], - [ - 115.655394, - 31.211002 - ], - [ - 115.700973, - 31.201276 - ], - [ - 115.778582, - 31.112164 - ], - [ - 115.797676, - 31.128047 - ], - [ - 115.837712, - 31.127022 - ], - [ - 115.867277, - 31.147512 - ], - [ - 115.887603, - 31.10909 - ], - [ - 115.939958, - 31.071678 - ], - [ - 115.938726, - 31.04707 - ], - [ - 116.006479, - 31.034764 - ], - [ - 116.015102, - 31.011685 - ], - [ - 116.058834, - 31.012711 - ], - [ - 116.071769, - 30.956787 - ], - [ - 116.03974, - 30.957813 - ], - [ - 115.976298, - 30.931636 - ], - [ - 115.932566, - 30.889532 - ], - [ - 115.865429, - 30.864364 - ], - [ - 115.848799, - 30.828397 - ], - [ - 115.863581, - 30.815549 - ], - [ - 115.851262, - 30.756938 - ], - [ - 115.782893, - 30.751795 - ], - [ - 115.762567, - 30.685426 - ], - [ - 115.81369, - 30.637035 - ], - [ - 115.819234, - 30.597893 - ], - [ - 115.848799, - 30.602014 - ], - [ - 115.876516, - 30.582438 - ], - [ - 115.887603, - 30.542758 - ], - [ - 115.910393, - 30.519046 - ], - [ - 115.894994, - 30.452517 - ], - [ - 115.921479, - 30.416397 - ], - [ - 115.885139, - 30.379747 - ], - [ - 115.91532, - 30.337919 - ], - [ - 115.903001, - 30.31364 - ], - [ - 115.985537, - 30.290905 - ], - [ - 115.997856, - 30.252657 - ], - [ - 116.065609, - 30.204569 - ], - [ - 116.055754, - 30.180774 - ], - [ - 116.088399, - 30.110391 - ], - [ - 116.078544, - 30.062233 - ], - [ - 116.091479, - 30.036331 - ], - [ - 116.073616, - 29.969993 - ], - [ - 116.128435, - 29.897904 - ], - [ - 116.13521, - 29.819532 - ], - [ - 116.172783, - 29.828358 - ], - [ - 116.227601, - 29.816936 - ], - [ - 116.250391, - 29.785777 - ], - [ - 116.280572, - 29.788893 - ], - [ - 116.342782, - 29.835626 - ], - [ - 116.467818, - 29.896347 - ], - [ - 116.525716, - 29.897385 - ], - [ - 116.552201, - 29.909836 - ], - [ - 116.585462, - 30.045657 - ], - [ - 116.620571, - 30.073109 - ], - [ - 116.666766, - 30.076734 - ], - [ - 116.720353, - 30.053945 - ], - [ - 116.747454, - 30.057053 - ], - [ - 116.783794, - 30.030632 - ], - [ - 116.802889, - 29.99643 - ], - [ - 116.830606, - 30.004723 - ], - [ - 116.83307, - 29.95755 - ], - [ - 116.868794, - 29.980361 - ], - [ - 116.900207, - 29.949253 - ], - [ - 116.882961, - 29.893753 - ], - [ - 116.780715, - 29.792529 - ], - [ - 116.762237, - 29.802396 - ], - [ - 116.673541, - 29.709916 - ], - [ - 116.698795, - 29.707836 - ], - [ - 116.70557, - 29.69692 - ], - [ - 116.706802, - 29.6964 - ], - [ - 116.704954, - 29.688602 - ], - [ - 116.680317, - 29.681323 - ], - [ - 116.651983, - 29.637118 - ], - [ - 116.716657, - 29.590813 - ], - [ - 116.721585, - 29.564789 - ], - [ - 116.760389, - 29.599139 - ], - [ - 116.780715, - 29.569994 - ], - [ - 116.849084, - 29.57624 - ], - [ - 116.873722, - 29.609546 - ], - [ - 116.939627, - 29.648561 - ], - [ - 116.974736, - 29.657403 - ], - [ - 116.996294, - 29.683403 - ], - [ - 117.041873, - 29.680803 - ], - [ - 117.112706, - 29.711995 - ], - [ - 117.108395, - 29.75201 - ], - [ - 117.136728, - 29.775388 - ], - [ - 117.123177, - 29.798761 - ], - [ - 117.073286, - 29.831992 - ], - [ - 117.127489, - 29.86158 - ], - [ - 117.129952, - 29.89946 - ], - [ - 117.171836, - 29.920729 - ], - [ - 117.2168, - 29.926953 - ], - [ - 117.246365, - 29.915023 - ], - [ - 117.261763, - 29.880781 - ], - [ - 117.25314, - 29.834588 - ], - [ - 117.29256, - 29.822647 - ], - [ - 117.338756, - 29.848085 - ], - [ - 117.359082, - 29.812782 - ], - [ - 117.382487, - 29.840818 - ], - [ - 117.415132, - 29.85068 - ], - [ - 117.408973, - 29.802396 - ], - [ - 117.455168, - 29.749412 - ], - [ - 117.453936, - 29.688082 - ], - [ - 117.490277, - 29.660003 - ], - [ - 117.530313, - 29.654282 - ], - [ - 117.523538, - 29.630356 - ], - [ - 117.543248, - 29.588731 - ], - [ - 117.608537, - 29.591333 - ], - [ - 117.647957, - 29.614749 - ], - [ - 117.678754, - 29.595496 - ], - [ - 117.690457, - 29.555939 - ], - [ - 117.729877, - 29.550213 - ], - [ - 117.795167, - 29.570515 - ], - [ - 117.872775, - 29.54761 - ], - [ - 117.933753, - 29.549172 - ], - [ - 118.00397, - 29.578322 - ], - [ - 118.042774, - 29.566351 - ], - [ - 118.050782, - 29.542924 - ], - [ - 118.095129, - 29.534072 - ], - [ - 118.143788, - 29.489803 - ], - [ - 118.127774, - 29.47209 - ], - [ - 118.136397, - 29.418932 - ], - [ - 118.193064, - 29.395472 - ], - [ - 118.248498, - 29.431443 - ], - [ - 118.316252, - 29.422581 - ], - [ - 118.306396, - 29.479384 - ], - [ - 118.329802, - 29.495012 - ], - [ - 118.347664, - 29.474174 - ], - [ - 118.381541, - 29.504909 - ], - [ - 118.496106, - 29.519492 - ], - [ - 118.500417, - 29.57572 - ], - [ - 118.532446, - 29.588731 - ], - [ - 118.573714, - 29.638159 - ], - [ - 118.61991, - 29.654282 - ], - [ - 118.647011, - 29.64336 - ], - [ - 118.700598, - 29.706277 - ], - [ - 118.744945, - 29.73902 - ], - [ - 118.740634, - 29.814859 - ], - [ - 118.841032, - 29.891159 - ], - [ - 118.838568, - 29.934733 - ], - [ - 118.894619, - 29.937845 - ], - [ - 118.902626, - 30.029078 - ], - [ - 118.878604, - 30.064822 - ], - [ - 118.873677, - 30.11505 - ], - [ - 118.895234, - 30.148694 - ], - [ - 118.852119, - 30.149729 - ], - [ - 118.852735, - 30.166805 - ], - [ - 118.929727, - 30.2025 - ], - [ - 118.905089, - 30.216464 - ], - [ - 118.877988, - 30.282637 - ], - [ - 118.880452, - 30.31519 - ], - [ - 118.954365, - 30.360126 - ], - [ - 118.988857, - 30.332237 - ], - [ - 119.06277, - 30.304856 - ], - [ - 119.091719, - 30.323972 - ], - [ - 119.126828, - 30.304856 - ], - [ - 119.201356, - 30.290905 - ], - [ - 119.236465, - 30.297106 - ], - [ - 119.246936, - 30.341018 - ], - [ - 119.277117, - 30.341018 - ], - [ - 119.326392, - 30.372002 - ], - [ - 119.349182, - 30.349281 - ], - [ - 119.402768, - 30.374584 - ], - [ - 119.36766, - 30.38491 - ], - [ - 119.335015, - 30.448389 - ], - [ - 119.336247, - 30.508734 - ], - [ - 119.326392, - 30.532964 - ], - [ - 119.272189, - 30.510281 - ], - [ - 119.237081, - 30.546881 - ], - [ - 119.265414, - 30.574709 - ], - [ - 119.238929, - 30.609225 - ], - [ - 119.323312, - 30.630341 - ], - [ - 119.343022, - 30.664322 - ], - [ - 119.39045, - 30.685941 - ], - [ - 119.408312, - 30.645274 - ], - [ - 119.444652, - 30.650422 - ], - [ - 119.482841, - 30.704467 - ], - [ - 119.479761, - 30.772365 - ], - [ - 119.527188, - 30.77905 - ], - [ - 119.55429, - 30.825828 - ], - [ - 119.575847, - 30.829939 - ], - [ - 119.557369, - 30.874124 - ], - [ - 119.563529, - 30.919315 - ], - [ - 119.582007, - 30.932149 - ], - [ - 119.580159, - 30.967051 - ], - [ - 119.633746, - 31.019379 - ], - [ - 119.629434, - 31.085517 - ], - [ - 119.649144, - 31.104991 - ], - [ - 119.623891, - 31.130096 - ], - [ - 119.599869, - 31.10909 - ], - [ - 119.532732, - 31.159291 - ], - [ - 119.461283, - 31.156219 - ], - [ - 119.439109, - 31.177214 - ], - [ - 119.391682, - 31.174142 - ], - [ - 119.360269, - 31.213049 - ], - [ - 119.374435, - 31.258591 - ], - [ - 119.350414, - 31.301043 - ], - [ - 119.338095, - 31.259103 - ], - [ - 119.294363, - 31.263195 - ], - [ - 119.266646, - 31.250405 - ], - [ - 119.198277, - 31.270357 - ], - [ - 119.197661, - 31.295418 - ], - [ - 119.158241, - 31.294907 - ], - [ - 119.107118, - 31.250917 - ], - [ - 119.10527, - 31.235055 - ], - [ - 119.014727, - 31.241707 - ], - [ - 118.984546, - 31.237102 - ], - [ - 118.870597, - 31.242219 - ], - [ - 118.794836, - 31.229426 - ], - [ - 118.756648, - 31.279564 - ], - [ - 118.726467, - 31.282121 - ], - [ - 118.720924, - 31.322518 - ], - [ - 118.745561, - 31.372606 - ], - [ - 118.767735, - 31.363919 - ], - [ - 118.824401, - 31.375672 - ], - [ - 118.852119, - 31.393553 - ], - [ - 118.883532, - 31.500261 - ], - [ - 118.857046, - 31.506384 - ], - [ - 118.865669, - 31.519139 - ], - [ - 118.885995, - 31.519139 - ], - [ - 118.881684, - 31.564023 - ], - [ - 118.858894, - 31.623665 - ], - [ - 118.802844, - 31.619078 - ], - [ - 118.773894, - 31.682759 - ], - [ - 118.748025, - 31.675629 - ], - [ - 118.736322, - 31.633347 - ], - [ - 118.643315, - 31.649651 - ], - [ - 118.643315, - 31.671555 - ], - [ - 118.697518, - 31.709747 - ], - [ - 118.653786, - 31.73011 - ], - [ - 118.641467, - 31.75861 - ], - [ - 118.571866, - 31.746397 - ], - [ - 118.5577, - 31.73011 - ], - [ - 118.521975, - 31.743343 - ], - [ - 118.533678, - 31.76726 - ], - [ - 118.481939, - 31.778453 - ], - [ - 118.504729, - 31.841516 - ], - [ - 118.466541, - 31.857784 - ], - [ - 118.472084, - 31.879639 - ], - [ - 118.363679, - 31.930443 - ], - [ - 118.389548, - 31.985281 - ], - [ - 118.394476, - 32.076098 - ], - [ - 118.433896, - 32.086746 - ], - [ - 118.501033, - 32.121726 - ], - [ - 118.49549, - 32.165304 - ], - [ - 118.510888, - 32.194176 - ], - [ - 118.643931, - 32.209875 - ], - [ - 118.674728, - 32.250375 - ], - [ - 118.657482, - 32.30148 - ], - [ - 118.703061, - 32.328792 - ], - [ - 118.685199, - 32.403604 - ], - [ - 118.691359, - 32.472295 - ], - [ - 118.628533, - 32.467751 - ], - [ - 118.592192, - 32.481383 - ], - [ - 118.608823, - 32.536899 - ], - [ - 118.564475, - 32.562122 - ], - [ - 118.568787, - 32.585825 - ], - [ - 118.59712, - 32.600951 - ], - [ - 118.632844, - 32.578261 - ], - [ - 118.658714, - 32.594397 - ], - [ - 118.688895, - 32.588346 - ], - [ - 118.719076, - 32.614059 - ], - [ - 118.719076, - 32.614059 - ], - [ - 118.73509, - 32.58885 - ], - [ - 118.757264, - 32.603976 - ], - [ - 118.784981, - 32.582295 - ], - [ - 118.820706, - 32.60448 - ], - [ - 118.84288, - 32.56767 - ], - [ - 118.908169, - 32.59238 - ], - [ - 118.890923, - 32.553042 - ], - [ - 118.92172, - 32.557078 - ], - [ - 118.922336, - 32.557078 - ], - [ - 118.92172, - 32.557078 - ], - [ - 118.922336, - 32.557078 - ], - [ - 118.975923, - 32.505108 - ], - [ - 119.041212, - 32.515201 - ], - [ - 119.084944, - 32.452602 - ], - [ - 119.142226, - 32.499556 - ], - [ - 119.168096, - 32.536394 - ], - [ - 119.152697, - 32.557582 - ], - [ - 119.22045, - 32.576748 - ], - [ - 119.230921, - 32.607001 - ], - [ - 119.208748, - 32.641276 - ], - [ - 119.211827, - 32.708275 - ], - [ - 119.184726, - 32.825529 - ], - [ - 119.113277, - 32.823014 - ], - [ - 119.054763, - 32.8748 - ], - [ - 119.020886, - 32.955685 - ], - [ - 118.993169, - 32.958196 - ], - [ - 118.934039, - 32.93861 - ], - [ - 118.892771, - 32.941121 - ], - [ - 118.89585, - 32.957694 - ], - [ - 118.89585, - 32.957694 - ], - [ - 118.849039, - 32.956689 - ], - [ - 118.846575, - 32.922034 - ], - [ - 118.821322, - 32.920527 - ], - [ - 118.810235, - 32.853687 - ], - [ - 118.743097, - 32.853184 - ], - [ - 118.743097, - 32.853184 - ], - [ - 118.73817, - 32.772708 - ], - [ - 118.756648, - 32.737477 - ], - [ - 118.707373, - 32.72036 - ], - [ - 118.642699, - 32.744525 - ], - [ - 118.572482, - 32.719856 - ], - [ - 118.560163, - 32.729926 - ], - [ - 118.483787, - 32.721367 - ], - [ - 118.450526, - 32.743518 - ], - [ - 118.411106, - 32.715828 - ], - [ - 118.375382, - 32.718849 - ], - [ - 118.363063, - 32.770695 - ], - [ - 118.334114, - 32.761637 - ], - [ - 118.300237, - 32.783275 - ], - [ - 118.301469, - 32.846145 - ], - [ - 118.250346, - 32.848157 - ], - [ - 118.2331, - 32.914498 - ], - [ - 118.252194, - 32.936601 - ], - [ - 118.291614, - 32.946143 - ], - [ - 118.303933, - 32.96874 - ], - [ - 118.26944, - 32.969242 - ], - [ - 118.244803, - 32.998359 - ], - [ - 118.243571, - 33.027967 - ], - [ - 118.219549, - 33.114227 - ], - [ - 118.217085, - 33.191888 - ], - [ - 118.178281, - 33.217926 - ], - [ - 118.149332, - 33.169348 - ], - [ - 118.038463, - 33.134776 - ], - [ - 118.037231, - 33.152314 - ], - [ - 117.988572, - 33.180869 - ], - [ - 117.977485, - 33.226437 - ], - [ - 117.942376, - 33.224936 - ], - [ - 117.939297, - 33.262475 - ], - [ - 117.974405, - 33.279487 - ], - [ - 117.992883, - 33.333005 - ], - [ - 118.029224, - 33.374995 - ], - [ - 118.016905, - 33.402978 - ], - [ - 118.027376, - 33.455421 - ], - [ - 118.050782, - 33.491863 - ], - [ - 118.107448, - 33.475391 - ], - [ - 118.117919, - 33.594615 - ], - [ - 118.112376, - 33.617045 - ], - [ - 118.16781, - 33.663381 - ], - [ - 118.161035, - 33.735576 - ], - [ - 118.117919, - 33.766427 - ], - [ - 118.065564, - 33.76593 - ], - [ - 118.019985, - 33.738562 - ], - [ - 117.972557, - 33.74951 - ], - [ - 117.901724, - 33.720146 - ], - [ - 117.843826, - 33.736074 - ], - [ - 117.791471, - 33.733585 - ], - [ - 117.750203, - 33.710688 - ], - [ - 117.72495, - 33.74951 - ], - [ - 117.739732, - 33.758467 - ], - [ - 117.759442, - 33.874318 - ], - [ - 117.753899, - 33.891211 - ], - [ - 117.715095, - 33.879287 - ], - [ - 117.672595, - 33.934916 - ], - [ - 117.671363, - 33.992494 - ], - [ - 117.629479, - 34.028708 - ], - [ - 117.612849, - 34.000433 - ], - [ - 117.569117, - 33.985051 - ], - [ - 117.543248, - 34.038627 - ], - [ - 117.514914, - 34.060941 - ], - [ - 117.435458, - 34.028212 - ], - [ - 117.404045, - 34.03218 - ], - [ - 117.357234, - 34.088205 - ], - [ - 117.311654, - 34.067882 - ], - [ - 117.277162, - 34.078787 - ], - [ - 117.257452, - 34.065899 - ], - [ - 117.192162, - 34.068873 - ], - [ - 117.130568, - 34.101586 - ], - [ - 117.123793, - 34.128342 - ], - [ - 117.046801, - 34.151622 - ], - [ - 117.025243, - 34.167469 - ], - [ - 117.051112, - 34.221425 - ], - [ - 116.969192, - 34.283753 - ], - [ - 116.983359, - 34.348011 - ], - [ - 116.960569, - 34.363821 - ], - [ - 116.969192, - 34.389012 - ], - [ - 116.909446, - 34.408271 - ], - [ - 116.828142, - 34.389012 - ], - [ - 116.782563, - 34.429993 - ], - [ - 116.773939, - 34.453683 - ], - [ - 116.722816, - 34.472434 - ], - [ - 116.662454, - 34.472927 - ], - [ - 116.592237, - 34.493646 - ], - [ - 116.594085, - 34.511894 - ], - [ - 116.490607, - 34.573513 - ], - [ - 116.477057, - 34.614896 - ], - [ - 116.432709, - 34.630163 - ], - [ - 116.430245, - 34.650843 - ], - [ - 116.374195, - 34.640011 - ], - [ - 116.334159, - 34.620806 - ], - [ - 116.32492, - 34.601104 - ], - [ - 116.286116, - 34.608986 - ], - [ - 116.247927, - 34.551829 - ], - [ - 116.196804, - 34.575977 - ], - [ - 116.191261, - 34.535561 - ], - [ - 116.204196, - 34.508442 - ], - [ - 116.178326, - 34.496112 - ], - [ - 116.162312, - 34.459605 - ], - [ - 116.178942, - 34.430487 - ], - [ - 116.215898, - 34.403333 - ], - [ - 116.213435, - 34.382098 - ], - [ - 116.255934, - 34.376665 - ], - [ - 116.301514, - 34.342082 - ], - [ - 116.357564, - 34.319843 - ], - [ - 116.372347, - 34.26595 - ], - [ - 116.409303, - 34.273863 - ], - [ - 116.409303, - 34.273863 - ], - [ - 116.456731, - 34.268917 - ], - [ - 116.516477, - 34.296114 - ], - [ - 116.562056, - 34.285731 - ], - [ - 116.582382, - 34.266444 - ], - [ - 116.545426, - 34.241711 - ], - [ - 116.542962, - 34.203608 - ], - [ - 116.565752, - 34.16945 - ], - [ - 116.536187, - 34.151127 - ], - [ - 116.52818, - 34.122892 - ], - [ - 116.576223, - 34.068873 - ], - [ - 116.576223, - 34.068873 - ], - [ - 116.599629, - 34.014324 - ], - [ - 116.599629, - 34.014324 - ] - ] - ], - [ - [ - [ - 118.865669, - 31.519139 - ], - [ - 118.857046, - 31.506384 - ], - [ - 118.883532, - 31.500261 - ], - [ - 118.885995, - 31.519139 - ], - [ - 118.865669, - 31.519139 - ] - ] - ], - [ - [ - [ - 116.698795, - 29.707836 - ], - [ - 116.673541, - 29.709916 - ], - [ - 116.653831, - 29.694841 - ], - [ - 116.680317, - 29.681323 - ], - [ - 116.704954, - 29.688602 - ], - [ - 116.706802, - 29.6964 - ], - [ - 116.70557, - 29.69692 - ], - [ - 116.698795, - 29.707836 - ] - ] - ], - [ - [ - [ - 115.5088, - 32.468761 - ], - [ - 115.509416, - 32.466741 - ], - [ - 115.510648, - 32.467751 - ], - [ - 115.510648, - 32.468256 - ], - [ - 115.510648, - 32.468761 - ], - [ - 115.5088, - 32.468761 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 350000, - "name": "福建省", - "center": [ - 119.306239, - 26.075302 - ], - "centroid": [ - 118.006468, - 26.069925 - ], - "childrenNum": 9, - "cp": [118.3008, 25.9277], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 12, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 119.004872, - 24.970009 - ], - [ - 118.989473, - 24.973807 - ], - [ - 119.023966, - 25.04377 - ], - [ - 119.016575, - 25.058409 - ], - [ - 118.974691, - 25.024792 - ], - [ - 118.945126, - 25.028588 - ], - [ - 118.892155, - 25.092558 - ], - [ - 118.974691, - 25.115319 - ], - [ - 118.951901, - 25.15162 - ], - [ - 118.985162, - 25.168954 - ], - [ - 118.985162, - 25.19495 - ], - [ - 118.942046, - 25.211195 - ], - [ - 118.940198, - 25.21715 - ], - [ - 118.943278, - 25.221482 - ], - [ - 118.903242, - 25.239347 - ], - [ - 118.900162, - 25.242595 - ], - [ - 118.919256, - 25.248008 - ], - [ - 118.91556, - 25.256668 - ], - [ - 118.918024, - 25.25721 - ], - [ - 118.956212, - 25.272905 - ], - [ - 118.996864, - 25.266411 - ], - [ - 118.975307, - 25.237723 - ], - [ - 118.990089, - 25.20199 - ], - [ - 119.055379, - 25.219316 - ], - [ - 119.074473, - 25.211195 - ], - [ - 119.054147, - 25.168412 - ], - [ - 119.032589, - 25.17437 - ], - [ - 119.028893, - 25.139702 - ], - [ - 119.06585, - 25.102855 - ], - [ - 119.075705, - 25.099604 - ], - [ - 119.134219, - 25.106107 - ], - [ - 119.107118, - 25.075214 - ], - [ - 119.119436, - 25.012861 - ], - [ - 119.146538, - 25.056782 - ], - [ - 119.165632, - 25.145661 - ], - [ - 119.137299, - 25.15487 - ], - [ - 119.108349, - 25.193867 - ], - [ - 119.131755, - 25.223106 - ], - [ - 119.190269, - 25.175995 - ], - [ - 119.231537, - 25.188993 - ], - [ - 119.26911, - 25.159746 - ], - [ - 119.314689, - 25.190076 - ], - [ - 119.294979, - 25.237182 - ], - [ - 119.331935, - 25.230685 - ], - [ - 119.380595, - 25.250173 - ], - [ - 119.333167, - 25.287516 - ], - [ - 119.299291, - 25.328634 - ], - [ - 119.247552, - 25.333502 - ], - [ - 119.240776, - 25.316733 - ], - [ - 119.218603, - 25.368115 - ], - [ - 119.14469, - 25.388121 - ], - [ - 119.151465, - 25.426503 - ], - [ - 119.191501, - 25.424341 - ], - [ - 119.232153, - 25.442176 - ], - [ - 119.219834, - 25.468654 - ], - [ - 119.256175, - 25.488643 - ], - [ - 119.275269, - 25.476758 - ], - [ - 119.26295, - 25.428124 - ], - [ - 119.288204, - 25.410827 - ], - [ - 119.353493, - 25.411908 - ], - [ - 119.343638, - 25.472436 - ], - [ - 119.359037, - 25.521592 - ], - [ - 119.400921, - 25.493505 - ], - [ - 119.45266, - 25.493505 - ], - [ - 119.438493, - 25.412449 - ], - [ - 119.463131, - 25.448661 - ], - [ - 119.491464, - 25.443257 - ], - [ - 119.48592, - 25.418935 - ], - [ - 119.507478, - 25.396231 - ], - [ - 119.486536, - 25.369737 - ], - [ - 119.548746, - 25.365952 - ], - [ - 119.578927, - 25.400556 - ], - [ - 119.555521, - 25.429205 - ], - [ - 119.577695, - 25.445959 - ], - [ - 119.59063, - 25.398394 - ], - [ - 119.582623, - 25.374063 - ], - [ - 119.597405, - 25.334584 - ], - [ - 119.649144, - 25.342697 - ], - [ - 119.665159, - 25.3719 - ], - [ - 119.656535, - 25.396772 - ], - [ - 119.670086, - 25.435691 - ], - [ - 119.622659, - 25.434069 - ], - [ - 119.675014, - 25.468113 - ], - [ - 119.682405, - 25.445959 - ], - [ - 119.688564, - 25.441095 - ], - [ - 119.773564, - 25.395691 - ], - [ - 119.764325, - 25.433529 - ], - [ - 119.804977, - 25.457847 - ], - [ - 119.866571, - 25.455145 - ], - [ - 119.864107, - 25.469734 - ], - [ - 119.862875, - 25.474597 - ], - [ - 119.811136, - 25.507009 - ], - [ - 119.81668, - 25.532393 - ], - [ - 119.861027, - 25.531313 - ], - [ - 119.883817, - 25.546432 - ], - [ - 119.831462, - 25.579905 - ], - [ - 119.843165, - 25.597717 - ], - [ - 119.790194, - 25.614447 - ], - [ - 119.785883, - 25.66786 - ], - [ - 119.700267, - 25.616606 - ], - [ - 119.683637, - 25.592859 - ], - [ - 119.716898, - 25.551292 - ], - [ - 119.715666, - 25.51187 - ], - [ - 119.680557, - 25.497827 - ], - [ - 119.675014, - 25.475137 - ], - [ - 119.634362, - 25.475137 - ], - [ - 119.611572, - 25.519972 - ], - [ - 119.616499, - 25.556691 - ], - [ - 119.586934, - 25.59232 - ], - [ - 119.534579, - 25.585303 - ], - [ - 119.541355, - 25.6247 - ], - [ - 119.478529, - 25.631715 - ], - [ - 119.472986, - 25.662466 - ], - [ - 119.543819, - 25.684581 - ], - [ - 119.602949, - 25.68512 - ], - [ - 119.602949, - 25.714779 - ], - [ - 119.626354, - 25.723406 - ], - [ - 119.628202, - 25.87212 - ], - [ - 119.638057, - 25.889888 - ], - [ - 119.69534, - 25.904424 - ], - [ - 119.723673, - 26.011503 - ], - [ - 119.700267, - 26.032477 - ], - [ - 119.668854, - 26.026024 - ], - [ - 119.654688, - 26.090002 - ], - [ - 119.618963, - 26.11956 - ], - [ - 119.604181, - 26.168985 - ], - [ - 119.664543, - 26.202282 - ], - [ - 119.676246, - 26.262943 - ], - [ - 119.7711, - 26.285481 - ], - [ - 119.802513, - 26.268846 - ], - [ - 119.806825, - 26.307479 - ], - [ - 119.845013, - 26.323036 - ], - [ - 119.862875, - 26.307479 - ], - [ - 119.904143, - 26.308552 - ], - [ - 119.95465, - 26.352534 - ], - [ - 119.946027, - 26.374519 - ], - [ - 119.893672, - 26.355752 - ], - [ - 119.835774, - 26.434019 - ], - [ - 119.83639, - 26.454381 - ], - [ - 119.788346, - 26.583435 - ], - [ - 119.740303, - 26.610727 - ], - [ - 119.670086, - 26.618218 - ], - [ - 119.605412, - 26.595744 - ], - [ - 119.577695, - 26.622498 - ], - [ - 119.619579, - 26.649246 - ], - [ - 119.637441, - 26.703256 - ], - [ - 119.664543, - 26.726243 - ], - [ - 119.711354, - 26.686681 - ], - [ - 119.833926, - 26.690959 - ], - [ - 119.864107, - 26.671174 - ], - [ - 119.873962, - 26.642827 - ], - [ - 119.908455, - 26.661547 - ], - [ - 119.899216, - 26.693098 - ], - [ - 119.938636, - 26.747088 - ], - [ - 119.942947, - 26.784492 - ], - [ - 120.052584, - 26.786629 - ], - [ - 120.061824, - 26.768997 - ], - [ - 119.99407, - 26.720363 - ], - [ - 119.969433, - 26.686681 - ], - [ - 119.972512, - 26.654594 - ], - [ - 119.949107, - 26.624638 - ], - [ - 119.901679, - 26.624638 - ], - [ - 119.851788, - 26.595209 - ], - [ - 119.828383, - 26.524013 - ], - [ - 119.867187, - 26.509019 - ], - [ - 119.947875, - 26.56042 - ], - [ - 119.93802, - 26.576478 - ], - [ - 119.967585, - 26.597885 - ], - [ - 120.007621, - 26.595744 - ], - [ - 120.063671, - 26.627848 - ], - [ - 120.093852, - 26.613938 - ], - [ - 120.1382, - 26.638012 - ], - [ - 120.110483, - 26.692563 - ], - [ - 120.162222, - 26.717691 - ], - [ - 120.151135, - 26.750829 - ], - [ - 120.106787, - 26.752966 - ], - [ - 120.136352, - 26.797847 - ], - [ - 120.103707, - 26.794642 - ], - [ - 120.102476, - 26.82669 - ], - [ - 120.073526, - 26.823485 - ], - [ - 120.054432, - 26.863533 - ], - [ - 120.117874, - 26.882751 - ], - [ - 120.126497, - 26.920644 - ], - [ - 120.130193, - 26.917976 - ], - [ - 120.1807, - 26.920644 - ], - [ - 120.233055, - 26.907837 - ], - [ - 120.25954, - 26.982526 - ], - [ - 120.279866, - 26.987326 - ], - [ - 120.275554, - 27.027315 - ], - [ - 120.29588, - 27.035845 - ], - [ - 120.282946, - 27.089671 - ], - [ - 120.391967, - 27.081146 - ], - [ - 120.403054, - 27.10086 - ], - [ - 120.461568, - 27.142407 - ], - [ - 120.404286, - 27.204166 - ], - [ - 120.401822, - 27.250996 - ], - [ - 120.430155, - 27.258976 - ], - [ - 120.343924, - 27.363199 - ], - [ - 120.340844, - 27.399867 - ], - [ - 120.273091, - 27.38924 - ], - [ - 120.26262, - 27.432804 - ], - [ - 120.221352, - 27.420055 - ], - [ - 120.134504, - 27.420055 - ], - [ - 120.136968, - 27.402523 - ], - [ - 120.096316, - 27.390302 - ], - [ - 120.052584, - 27.338747 - ], - [ - 120.026099, - 27.344063 - ], - [ - 120.008237, - 27.375423 - ], - [ - 119.960194, - 27.365857 - ], - [ - 119.938636, - 27.329709 - ], - [ - 119.843165, - 27.300464 - ], - [ - 119.768636, - 27.307909 - ], - [ - 119.782187, - 27.330241 - ], - [ - 119.739687, - 27.362668 - ], - [ - 119.750774, - 27.373829 - ], - [ - 119.711354, - 27.403054 - ], - [ - 119.685485, - 27.438646 - ], - [ - 119.703347, - 27.446613 - ], - [ - 119.70889, - 27.514042 - ], - [ - 119.690412, - 27.537394 - ], - [ - 119.659615, - 27.540578 - ], - [ - 119.675014, - 27.574534 - ], - [ - 119.630666, - 27.582491 - ], - [ - 119.626354, - 27.620676 - ], - [ - 119.644217, - 27.663619 - ], - [ - 119.606028, - 27.674749 - ], - [ - 119.541971, - 27.666799 - ], - [ - 119.501319, - 27.649837 - ], - [ - 119.501935, - 27.610601 - ], - [ - 119.466826, - 27.526249 - ], - [ - 119.438493, - 27.508734 - ], - [ - 119.416935, - 27.539517 - ], - [ - 119.360269, - 27.524657 - ], - [ - 119.334399, - 27.480067 - ], - [ - 119.285124, - 27.457766 - ], - [ - 119.26911, - 27.42218 - ], - [ - 119.224146, - 27.416868 - ], - [ - 119.14777, - 27.424836 - ], - [ - 119.121284, - 27.438115 - ], - [ - 119.129907, - 27.475289 - ], - [ - 119.092335, - 27.466262 - ], - [ - 119.03998, - 27.478475 - ], - [ - 119.020886, - 27.498118 - ], - [ - 118.983314, - 27.498649 - ], - [ - 118.986393, - 27.47582 - ], - [ - 118.955597, - 27.4498 - ], - [ - 118.907553, - 27.460952 - ], - [ - 118.869365, - 27.540047 - ], - [ - 118.909401, - 27.568168 - ], - [ - 118.913713, - 27.619616 - ], - [ - 118.879836, - 27.667859 - ], - [ - 118.873677, - 27.733563 - ], - [ - 118.829329, - 27.847921 - ], - [ - 118.818242, - 27.916689 - ], - [ - 118.753568, - 27.947885 - ], - [ - 118.730163, - 27.970615 - ], - [ - 118.733858, - 28.027684 - ], - [ - 118.719076, - 28.063601 - ], - [ - 118.767735, - 28.10584 - ], - [ - 118.802228, - 28.117453 - ], - [ - 118.805923, - 28.154923 - ], - [ - 118.771431, - 28.188687 - ], - [ - 118.804075, - 28.207675 - ], - [ - 118.802228, - 28.240368 - ], - [ - 118.756032, - 28.252493 - ], - [ - 118.719692, - 28.312047 - ], - [ - 118.699366, - 28.309939 - ], - [ - 118.674728, - 28.27147 - ], - [ - 118.651322, - 28.277267 - ], - [ - 118.595272, - 28.258292 - ], - [ - 118.588497, - 28.282538 - ], - [ - 118.493026, - 28.262509 - ], - [ - 118.490562, - 28.238259 - ], - [ - 118.444367, - 28.253548 - ], - [ - 118.433896, - 28.288335 - ], - [ - 118.424041, - 28.291497 - ], - [ - 118.314404, - 28.221913 - ], - [ - 118.339041, - 28.193962 - ], - [ - 118.375382, - 28.186577 - ], - [ - 118.361215, - 28.155978 - ], - [ - 118.356288, - 28.091586 - ], - [ - 118.242339, - 28.075746 - ], - [ - 118.199839, - 28.049869 - ], - [ - 118.153644, - 28.062016 - ], - [ - 118.120999, - 28.041946 - ], - [ - 118.129006, - 28.017118 - ], - [ - 118.094513, - 28.003909 - ], - [ - 118.096977, - 27.970615 - ], - [ - 117.999043, - 27.991227 - ], - [ - 117.965166, - 27.962687 - ], - [ - 117.942992, - 27.974315 - ], - [ - 117.910963, - 27.949471 - ], - [ - 117.856145, - 27.94577 - ], - [ - 117.78716, - 27.896063 - ], - [ - 117.788392, - 27.855858 - ], - [ - 117.740348, - 27.800286 - ], - [ - 117.704624, - 27.834162 - ], - [ - 117.68245, - 27.823577 - ], - [ - 117.649805, - 27.851625 - ], - [ - 117.609769, - 27.863265 - ], - [ - 117.556182, - 27.966387 - ], - [ - 117.52169, - 27.982243 - ], - [ - 117.477958, - 27.930966 - ], - [ - 117.453936, - 27.939955 - ], - [ - 117.407741, - 27.893948 - ], - [ - 117.366473, - 27.88231 - ], - [ - 117.341836, - 27.855858 - ], - [ - 117.334444, - 27.8876 - ], - [ - 117.280242, - 27.871201 - ], - [ - 117.276546, - 27.847921 - ], - [ - 117.303031, - 27.833103 - ], - [ - 117.296256, - 27.764282 - ], - [ - 117.245133, - 27.71926 - ], - [ - 117.205097, - 27.714492 - ], - [ - 117.204481, - 27.683759 - ], - [ - 117.174916, - 27.677399 - ], - [ - 117.114554, - 27.692238 - ], - [ - 117.096076, - 27.667329 - ], - [ - 117.11209, - 27.645596 - ], - [ - 117.094228, - 27.627569 - ], - [ - 117.065279, - 27.665739 - ], - [ - 117.040641, - 27.669979 - ], - [ - 117.003685, - 27.625449 - ], - [ - 117.024627, - 27.592569 - ], - [ - 117.01662, - 27.563393 - ], - [ - 117.054808, - 27.5427 - ], - [ - 117.076982, - 27.566046 - ], - [ - 117.103467, - 27.533149 - ], - [ - 117.110242, - 27.458828 - ], - [ - 117.133032, - 27.42218 - ], - [ - 117.107163, - 27.393491 - ], - [ - 117.104699, - 27.330773 - ], - [ - 117.140423, - 27.322798 - ], - [ - 117.136728, - 27.303123 - ], - [ - 117.171836, - 27.29036 - ], - [ - 117.149662, - 27.241419 - ], - [ - 117.044953, - 27.146667 - ], - [ - 117.05296, - 27.100327 - ], - [ - 116.967344, - 27.061962 - ], - [ - 116.936547, - 27.019319 - ], - [ - 116.910062, - 27.034779 - ], - [ - 116.851548, - 27.009188 - ], - [ - 116.817671, - 27.018252 - ], - [ - 116.679085, - 26.978259 - ], - [ - 116.632889, - 26.933984 - ], - [ - 116.602092, - 26.888623 - ], - [ - 116.548506, - 26.84004 - ], - [ - 116.543578, - 26.803723 - ], - [ - 116.557745, - 26.773806 - ], - [ - 116.515245, - 26.720898 - ], - [ - 116.520172, - 26.684543 - ], - [ - 116.566368, - 26.650315 - ], - [ - 116.553433, - 26.575942 - ], - [ - 116.539267, - 26.559349 - ], - [ - 116.597165, - 26.512768 - ], - [ - 116.610716, - 26.476882 - ], - [ - 116.638433, - 26.477418 - ], - [ - 116.608252, - 26.429732 - ], - [ - 116.601476, - 26.372911 - ], - [ - 116.553433, - 26.365404 - ], - [ - 116.553433, - 26.400253 - ], - [ - 116.519557, - 26.410437 - ], - [ - 116.499846, - 26.361651 - ], - [ - 116.459194, - 26.345026 - ], - [ - 116.437021, - 26.308016 - ], - [ - 116.412999, - 26.297822 - ], - [ - 116.385282, - 26.238253 - ], - [ - 116.400064, - 26.202819 - ], - [ - 116.392057, - 26.171133 - ], - [ - 116.435789, - 26.159854 - ], - [ - 116.476441, - 26.172745 - ], - [ - 116.489375, - 26.113649 - ], - [ - 116.384666, - 26.030864 - ], - [ - 116.360028, - 25.991601 - ], - [ - 116.369883, - 25.963088 - ], - [ - 116.326152, - 25.956631 - ], - [ - 116.303362, - 25.924341 - ], - [ - 116.258398, - 25.902809 - ], - [ - 116.225138, - 25.908731 - ], - [ - 116.17771, - 25.894195 - ], - [ - 116.132131, - 25.860273 - ], - [ - 116.131515, - 25.824185 - ], - [ - 116.18079, - 25.778926 - ], - [ - 116.129667, - 25.758985 - ], - [ - 116.106877, - 25.701299 - ], - [ - 116.067457, - 25.703995 - ], - [ - 116.068689, - 25.646282 - ], - [ - 116.041588, - 25.62416 - ], - [ - 116.063145, - 25.56317 - ], - [ - 116.040356, - 25.548052 - ], - [ - 116.03666, - 25.514571 - ], - [ - 116.005247, - 25.490264 - ], - [ - 116.023109, - 25.435691 - ], - [ - 115.992928, - 25.374063 - ], - [ - 116.008327, - 25.319437 - ], - [ - 115.987385, - 25.290221 - ], - [ - 115.949813, - 25.292386 - ], - [ - 115.930719, - 25.236099 - ], - [ - 115.855574, - 25.20957 - ], - [ - 115.860501, - 25.165704 - ], - [ - 115.888219, - 25.128866 - ], - [ - 115.880212, - 25.092016 - ], - [ - 115.908545, - 25.084428 - ], - [ - 115.928255, - 25.050276 - ], - [ - 115.873436, - 25.019911 - ], - [ - 115.925175, - 24.960786 - ], - [ - 115.870356, - 24.959701 - ], - [ - 115.89253, - 24.936911 - ], - [ - 115.907929, - 24.923343 - ], - [ - 115.985537, - 24.899461 - ], - [ - 116.015102, - 24.905975 - ], - [ - 116.068073, - 24.850053 - ], - [ - 116.153073, - 24.846795 - ], - [ - 116.191877, - 24.877203 - ], - [ - 116.221442, - 24.829959 - ], - [ - 116.251007, - 24.82507 - ], - [ - 116.244232, - 24.793563 - ], - [ - 116.297202, - 24.801712 - ], - [ - 116.345862, - 24.828872 - ], - [ - 116.363724, - 24.87123 - ], - [ - 116.395137, - 24.877746 - ], - [ - 116.417927, - 24.840821 - ], - [ - 116.381586, - 24.82507 - ], - [ - 116.375427, - 24.803885 - ], - [ - 116.419158, - 24.767482 - ], - [ - 116.416079, - 24.744113 - ], - [ - 116.44626, - 24.714216 - ], - [ - 116.485064, - 24.720196 - ], - [ - 116.517709, - 24.652225 - ], - [ - 116.506622, - 24.621218 - ], - [ - 116.530027, - 24.604895 - ], - [ - 116.570679, - 24.621762 - ], - [ - 116.600861, - 24.654401 - ], - [ - 116.623034, - 24.64189 - ], - [ - 116.667382, - 24.658752 - ], - [ - 116.777635, - 24.679418 - ], - [ - 116.815207, - 24.654944 - ], - [ - 116.761005, - 24.583128 - ], - [ - 116.759157, - 24.545572 - ], - [ - 116.796729, - 24.502014 - ], - [ - 116.83307, - 24.496568 - ], - [ - 116.860787, - 24.460075 - ], - [ - 116.839229, - 24.442097 - ], - [ - 116.903903, - 24.369614 - ], - [ - 116.895895, - 24.350533 - ], - [ - 116.919301, - 24.321087 - ], - [ - 116.914374, - 24.287817 - ], - [ - 116.938395, - 24.28127 - ], - [ - 116.933468, - 24.220157 - ], - [ - 116.956257, - 24.216883 - ], - [ - 116.998757, - 24.179217 - ], - [ - 116.9347, - 24.126794 - ], - [ - 116.930388, - 24.064514 - ], - [ - 116.953178, - 24.008218 - ], - [ - 116.981511, - 23.999471 - ], - [ - 116.976583, - 23.931659 - ], - [ - 116.955642, - 23.922359 - ], - [ - 116.981511, - 23.855602 - ], - [ - 117.012308, - 23.855054 - ], - [ - 117.019083, - 23.801952 - ], - [ - 117.048032, - 23.758687 - ], - [ - 117.055424, - 23.694038 - ], - [ - 117.123793, - 23.647448 - ], - [ - 117.147199, - 23.654027 - ], - [ - 117.192778, - 23.629356 - ], - [ - 117.192778, - 23.5619 - ], - [ - 117.291328, - 23.571225 - ], - [ - 117.302415, - 23.550379 - ], - [ - 117.387415, - 23.555317 - ], - [ - 117.463791, - 23.584937 - ], - [ - 117.454552, - 23.628259 - ], - [ - 117.493357, - 23.642514 - ], - [ - 117.501364, - 23.70445 - ], - [ - 117.54448, - 23.715956 - ], - [ - 117.601762, - 23.70171 - ], - [ - 117.660276, - 23.789357 - ], - [ - 117.651653, - 23.815093 - ], - [ - 117.671979, - 23.878041 - ], - [ - 117.691073, - 23.888985 - ], - [ - 117.762522, - 23.886796 - ], - [ - 117.792703, - 23.906494 - ], - [ - 117.807486, - 23.947521 - ], - [ - 117.864768, - 24.004938 - ], - [ - 117.910347, - 24.012045 - ], - [ - 117.927594, - 24.039922 - ], - [ - 117.936217, - 24.100029 - ], - [ - 118.000275, - 24.152462 - ], - [ - 118.019369, - 24.197232 - ], - [ - 118.074803, - 24.225615 - ], - [ - 118.115455, - 24.229435 - ], - [ - 118.158571, - 24.269814 - ], - [ - 118.112376, - 24.357075 - ], - [ - 118.081579, - 24.35653 - ], - [ - 118.088354, - 24.408858 - ], - [ - 118.048934, - 24.418122 - ], - [ - 118.084042, - 24.528695 - ], - [ - 118.121615, - 24.570067 - ], - [ - 118.150564, - 24.583673 - ], - [ - 118.169042, - 24.559725 - ], - [ - 118.242955, - 24.51236 - ], - [ - 118.375382, - 24.536317 - ], - [ - 118.363679, - 24.567889 - ], - [ - 118.444367, - 24.614689 - ], - [ - 118.512736, - 24.60816 - ], - [ - 118.557084, - 24.572788 - ], - [ - 118.558316, - 24.51236 - ], - [ - 118.614366, - 24.521617 - ], - [ - 118.680272, - 24.58204 - ], - [ - 118.687047, - 24.63373 - ], - [ - 118.661178, - 24.622306 - ], - [ - 118.652554, - 24.653857 - ], - [ - 118.670417, - 24.679962 - ], - [ - 118.703677, - 24.665278 - ], - [ - 118.778822, - 24.743569 - ], - [ - 118.786213, - 24.77672 - ], - [ - 118.650707, - 24.808774 - ], - [ - 118.647627, - 24.843536 - ], - [ - 118.702445, - 24.865258 - ], - [ - 118.69875, - 24.848967 - ], - [ - 118.748641, - 24.84245 - ], - [ - 118.807771, - 24.870687 - ], - [ - 118.834256, - 24.854397 - ], - [ - 118.864437, - 24.887518 - ], - [ - 118.933423, - 24.870687 - ], - [ - 118.988857, - 24.878831 - ], - [ - 118.987009, - 24.898375 - ], - [ - 118.932807, - 24.906518 - ], - [ - 118.91864, - 24.932569 - ], - [ - 118.945741, - 24.954275 - ], - [ - 119.014111, - 24.941252 - ], - [ - 119.032589, - 24.961328 - ], - [ - 119.032589, - 24.961871 - ], - [ - 119.007335, - 24.963499 - ], - [ - 119.004872, - 24.970009 - ] - ] - ], - [ - [ - [ - 118.412338, - 24.514538 - ], - [ - 118.374766, - 24.458986 - ], - [ - 118.318715, - 24.486765 - ], - [ - 118.298389, - 24.477506 - ], - [ - 118.31194, - 24.424661 - ], - [ - 118.282375, - 24.413218 - ], - [ - 118.329802, - 24.382152 - ], - [ - 118.353208, - 24.415398 - ], - [ - 118.405563, - 24.427931 - ], - [ - 118.457918, - 24.412128 - ], - [ - 118.477012, - 24.437738 - ], - [ - 118.451758, - 24.506915 - ], - [ - 118.412338, - 24.514538 - ] - ] - ], - [ - [ - [ - 119.471138, - 25.197116 - ], - [ - 119.507478, - 25.183036 - ], - [ - 119.52534, - 25.157579 - ], - [ - 119.549362, - 25.161912 - ], - [ - 119.566608, - 25.210112 - ], - [ - 119.540739, - 25.20199 - ], - [ - 119.501319, - 25.21715 - ], - [ - 119.473601, - 25.259916 - ], - [ - 119.44342, - 25.238806 - ], - [ - 119.444036, - 25.20199 - ], - [ - 119.471138, - 25.197116 - ] - ] - ], - [ - [ - [ - 119.580159, - 25.627398 - ], - [ - 119.611572, - 25.669479 - ], - [ - 119.580775, - 25.650059 - ], - [ - 119.580159, - 25.627398 - ] - ] - ], - [ - [ - [ - 119.976824, - 26.191005 - ], - [ - 120.016244, - 26.217316 - ], - [ - 119.998998, - 26.235569 - ], - [ - 119.970665, - 26.217852 - ], - [ - 119.976824, - 26.191005 - ] - ] - ], - [ - [ - [ - 118.230636, - 24.401228 - ], - [ - 118.273752, - 24.441007 - ], - [ - 118.233716, - 24.445911 - ], - [ - 118.230636, - 24.401228 - ] - ] - ], - [ - [ - [ - 119.906607, - 26.68989 - ], - [ - 119.926933, - 26.664756 - ], - [ - 119.950954, - 26.692563 - ], - [ - 119.906607, - 26.68989 - ] - ] - ], - [ - [ - [ - 118.204151, - 24.504737 - ], - [ - 118.191832, - 24.536861 - ], - [ - 118.14502, - 24.560814 - ], - [ - 118.093281, - 24.540672 - ], - [ - 118.068644, - 24.463344 - ], - [ - 118.084042, - 24.435559 - ], - [ - 118.143173, - 24.420847 - ], - [ - 118.19368, - 24.463344 - ], - [ - 118.204151, - 24.504737 - ] - ] - ], - [ - [ - [ - 119.929397, - 26.134067 - ], - [ - 119.960194, - 26.146961 - ], - [ - 119.919542, - 26.172208 - ], - [ - 119.929397, - 26.134067 - ] - ] - ], - [ - [ - [ - 119.642985, - 26.129231 - ], - [ - 119.665159, - 26.155556 - ], - [ - 119.62697, - 26.173282 - ], - [ - 119.606028, - 26.15287 - ], - [ - 119.642985, - 26.129231 - ] - ] - ], - [ - [ - [ - 120.034106, - 26.488667 - ], - [ - 120.066751, - 26.498308 - ], - [ - 120.071679, - 26.521336 - ], - [ - 120.035954, - 26.515981 - ], - [ - 120.034106, - 26.488667 - ] - ] - ], - [ - [ - [ - 119.662079, - 25.646822 - ], - [ - 119.673782, - 25.632794 - ], - [ - 119.718745, - 25.634952 - ], - [ - 119.716898, - 25.664624 - ], - [ - 119.662079, - 25.646822 - ] - ] - ], - [ - [ - [ - 119.760629, - 26.613402 - ], - [ - 119.776644, - 26.600025 - ], - [ - 119.818527, - 26.616613 - ], - [ - 119.796354, - 26.630523 - ], - [ - 119.760629, - 26.613402 - ] - ] - ], - [ - [ - [ - 120.135736, - 26.550784 - ], - [ - 120.167149, - 26.571661 - ], - [ - 120.153598, - 26.604841 - ], - [ - 120.117874, - 26.568984 - ], - [ - 120.135736, - 26.550784 - ] - ] - ], - [ - [ - [ - 120.360554, - 26.916909 - ], - [ - 120.394431, - 26.933984 - ], - [ - 120.363018, - 26.967592 - ], - [ - 120.327909, - 26.963858 - ], - [ - 120.319286, - 26.944654 - ], - [ - 120.360554, - 26.916909 - ] - ] - ], - [ - [ - [ - 120.150519, - 26.798916 - ], - [ - 120.140048, - 26.795176 - ], - [ - 120.163454, - 26.798381 - ], - [ - 120.161606, - 26.803189 - ], - [ - 120.150519, - 26.798916 - ] - ] - ], - [ - [ - [ - 119.668238, - 26.628383 - ], - [ - 119.720593, - 26.635873 - ], - [ - 119.758781, - 26.659408 - ], - [ - 119.748926, - 26.681334 - ], - [ - 119.712586, - 26.6685 - ], - [ - 119.673782, - 26.680799 - ], - [ - 119.651608, - 26.657269 - ], - [ - 119.668238, - 26.628383 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 360000, - "name": "江西省", - "center": [ - 115.892151, - 28.676493 - ], - "centroid": [ - 115.732975, - 27.636112 - ], - "childrenNum": 11, - "cp": [115.7156, 27.99], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 13, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 118.193064, - 29.395472 - ], - [ - 118.136397, - 29.418932 - ], - [ - 118.127774, - 29.47209 - ], - [ - 118.143788, - 29.489803 - ], - [ - 118.095129, - 29.534072 - ], - [ - 118.050782, - 29.542924 - ], - [ - 118.042774, - 29.566351 - ], - [ - 118.00397, - 29.578322 - ], - [ - 117.933753, - 29.549172 - ], - [ - 117.872775, - 29.54761 - ], - [ - 117.795167, - 29.570515 - ], - [ - 117.729877, - 29.550213 - ], - [ - 117.690457, - 29.555939 - ], - [ - 117.678754, - 29.595496 - ], - [ - 117.647957, - 29.614749 - ], - [ - 117.608537, - 29.591333 - ], - [ - 117.543248, - 29.588731 - ], - [ - 117.523538, - 29.630356 - ], - [ - 117.530313, - 29.654282 - ], - [ - 117.490277, - 29.660003 - ], - [ - 117.453936, - 29.688082 - ], - [ - 117.455168, - 29.749412 - ], - [ - 117.408973, - 29.802396 - ], - [ - 117.415132, - 29.85068 - ], - [ - 117.382487, - 29.840818 - ], - [ - 117.359082, - 29.812782 - ], - [ - 117.338756, - 29.848085 - ], - [ - 117.29256, - 29.822647 - ], - [ - 117.25314, - 29.834588 - ], - [ - 117.261763, - 29.880781 - ], - [ - 117.246365, - 29.915023 - ], - [ - 117.2168, - 29.926953 - ], - [ - 117.171836, - 29.920729 - ], - [ - 117.129952, - 29.89946 - ], - [ - 117.127489, - 29.86158 - ], - [ - 117.073286, - 29.831992 - ], - [ - 117.123177, - 29.798761 - ], - [ - 117.136728, - 29.775388 - ], - [ - 117.108395, - 29.75201 - ], - [ - 117.112706, - 29.711995 - ], - [ - 117.041873, - 29.680803 - ], - [ - 116.996294, - 29.683403 - ], - [ - 116.974736, - 29.657403 - ], - [ - 116.939627, - 29.648561 - ], - [ - 116.873722, - 29.609546 - ], - [ - 116.849084, - 29.57624 - ], - [ - 116.780715, - 29.569994 - ], - [ - 116.760389, - 29.599139 - ], - [ - 116.721585, - 29.564789 - ], - [ - 116.716657, - 29.590813 - ], - [ - 116.651983, - 29.637118 - ], - [ - 116.680317, - 29.681323 - ], - [ - 116.653831, - 29.694841 - ], - [ - 116.673541, - 29.709916 - ], - [ - 116.762237, - 29.802396 - ], - [ - 116.780715, - 29.792529 - ], - [ - 116.882961, - 29.893753 - ], - [ - 116.900207, - 29.949253 - ], - [ - 116.868794, - 29.980361 - ], - [ - 116.83307, - 29.95755 - ], - [ - 116.830606, - 30.004723 - ], - [ - 116.802889, - 29.99643 - ], - [ - 116.783794, - 30.030632 - ], - [ - 116.747454, - 30.057053 - ], - [ - 116.720353, - 30.053945 - ], - [ - 116.666766, - 30.076734 - ], - [ - 116.620571, - 30.073109 - ], - [ - 116.585462, - 30.045657 - ], - [ - 116.552201, - 29.909836 - ], - [ - 116.525716, - 29.897385 - ], - [ - 116.467818, - 29.896347 - ], - [ - 116.342782, - 29.835626 - ], - [ - 116.280572, - 29.788893 - ], - [ - 116.250391, - 29.785777 - ], - [ - 116.227601, - 29.816936 - ], - [ - 116.172783, - 29.828358 - ], - [ - 116.13521, - 29.819532 - ], - [ - 116.087167, - 29.795125 - ], - [ - 116.049595, - 29.761881 - ], - [ - 115.965827, - 29.724469 - ], - [ - 115.909777, - 29.723949 - ], - [ - 115.837096, - 29.748373 - ], - [ - 115.762567, - 29.793048 - ], - [ - 115.706517, - 29.837703 - ], - [ - 115.667712, - 29.850161 - ], - [ - 115.611662, - 29.841337 - ], - [ - 115.51188, - 29.840299 - ], - [ - 115.479235, - 29.811224 - ], - [ - 115.470612, - 29.739539 - ], - [ - 115.412714, - 29.688602 - ], - [ - 115.355431, - 29.649602 - ], - [ - 115.304924, - 29.637118 - ], - [ - 115.28583, - 29.618391 - ], - [ - 115.250722, - 29.660003 - ], - [ - 115.176809, - 29.654803 - ], - [ - 115.113367, - 29.684963 - ], - [ - 115.117679, - 29.655843 - ], - [ - 115.143548, - 29.645961 - ], - [ - 115.120142, - 29.597578 - ], - [ - 115.157099, - 29.584568 - ], - [ - 115.154019, - 29.510117 - ], - [ - 115.086266, - 29.525741 - ], - [ - 115.087498, - 29.560104 - ], - [ - 115.033295, - 29.546568 - ], - [ - 115.00065, - 29.572076 - ], - [ - 114.947679, - 29.542924 - ], - [ - 114.966773, - 29.522096 - ], - [ - 114.940288, - 29.493971 - ], - [ - 114.900868, - 29.505951 - ], - [ - 114.860216, - 29.476258 - ], - [ - 114.888549, - 29.436134 - ], - [ - 114.918114, - 29.454374 - ], - [ - 114.90518, - 29.473132 - ], - [ - 114.935977, - 29.486678 - ], - [ - 114.947063, - 29.465317 - ], - [ - 114.931049, - 29.422581 - ], - [ - 114.895325, - 29.397557 - ], - [ - 114.866375, - 29.404335 - ], - [ - 114.812173, - 29.383478 - ], - [ - 114.784455, - 29.386086 - ], - [ - 114.759818, - 29.363139 - ], - [ - 114.740724, - 29.386607 - ], - [ - 114.67297, - 29.395993 - ], - [ - 114.621847, - 29.379828 - ], - [ - 114.589819, - 29.352707 - ], - [ - 114.519602, - 29.325578 - ], - [ - 114.466015, - 29.324013 - ], - [ - 114.440145, - 29.341752 - ], - [ - 114.376088, - 29.322969 - ], - [ - 114.341595, - 29.327665 - ], - [ - 114.307102, - 29.365225 - ], - [ - 114.259059, - 29.343839 - ], - [ - 114.252284, - 29.23475 - ], - [ - 114.169748, - 29.216993 - ], - [ - 114.063191, - 29.204978 - ], - [ - 114.034857, - 29.152204 - ], - [ - 113.98743, - 29.126068 - ], - [ - 113.952321, - 29.092604 - ], - [ - 113.94185, - 29.047097 - ], - [ - 113.961561, - 28.999476 - ], - [ - 113.955401, - 28.978536 - ], - [ - 113.973879, - 28.937692 - ], - [ - 114.008988, - 28.955498 - ], - [ - 114.005292, - 28.917788 - ], - [ - 114.028082, - 28.891069 - ], - [ - 114.060111, - 28.902596 - ], - [ - 114.056415, - 28.872204 - ], - [ - 114.076741, - 28.834464 - ], - [ - 114.124784, - 28.843376 - ], - [ - 114.153734, - 28.829221 - ], - [ - 114.137719, - 28.779926 - ], - [ - 114.157429, - 28.761566 - ], - [ - 114.122321, - 28.623497 - ], - [ - 114.132176, - 28.607211 - ], - [ - 114.08598, - 28.558337 - ], - [ - 114.138335, - 28.533629 - ], - [ - 114.15435, - 28.507337 - ], - [ - 114.218407, - 28.48472 - ], - [ - 114.217175, - 28.466308 - ], - [ - 114.172212, - 28.432632 - ], - [ - 114.214712, - 28.403157 - ], - [ - 114.252284, - 28.395787 - ], - [ - 114.2529, - 28.319423 - ], - [ - 114.198081, - 28.29097 - ], - [ - 114.182067, - 28.249858 - ], - [ - 114.143879, - 28.246694 - ], - [ - 114.109386, - 28.205038 - ], - [ - 114.107538, - 28.182885 - ], - [ - 114.068734, - 28.171806 - ], - [ - 114.012068, - 28.174972 - ], - [ - 113.992357, - 28.161255 - ], - [ - 114.025002, - 28.080499 - ], - [ - 114.047176, - 28.057263 - ], - [ - 114.025618, - 28.031382 - ], - [ - 113.970184, - 28.041418 - ], - [ - 113.966488, - 28.017646 - ], - [ - 113.936307, - 28.018703 - ], - [ - 113.914133, - 27.991227 - ], - [ - 113.864242, - 28.004966 - ], - [ - 113.845148, - 27.971672 - ], - [ - 113.822974, - 27.982243 - ], - [ - 113.752141, - 27.93361 - ], - [ - 113.72812, - 27.874904 - ], - [ - 113.756453, - 27.860091 - ], - [ - 113.763228, - 27.799228 - ], - [ - 113.69917, - 27.740979 - ], - [ - 113.696707, - 27.71979 - ], - [ - 113.652359, - 27.663619 - ], - [ - 113.607395, - 27.625449 - ], - [ - 113.608627, - 27.585143 - ], - [ - 113.579062, - 27.545354 - ], - [ - 113.583374, - 27.524657 - ], - [ - 113.627105, - 27.49971 - ], - [ - 113.591381, - 27.467855 - ], - [ - 113.59754, - 27.428554 - ], - [ - 113.632033, - 27.40518 - ], - [ - 113.605548, - 27.38924 - ], - [ - 113.616635, - 27.345658 - ], - [ - 113.657902, - 27.347253 - ], - [ - 113.699786, - 27.331836 - ], - [ - 113.72812, - 27.350442 - ], - [ - 113.872865, - 27.384988 - ], - [ - 113.872865, - 27.346721 - ], - [ - 113.854387, - 27.30525 - ], - [ - 113.872865, - 27.289828 - ], - [ - 113.846996, - 27.222262 - ], - [ - 113.779242, - 27.137081 - ], - [ - 113.771851, - 27.096598 - ], - [ - 113.803264, - 27.099261 - ], - [ - 113.824206, - 27.036378 - ], - [ - 113.86301, - 27.018252 - ], - [ - 113.892575, - 26.964925 - ], - [ - 113.927068, - 26.948922 - ], - [ - 113.890112, - 26.895562 - ], - [ - 113.877177, - 26.859262 - ], - [ - 113.835909, - 26.806394 - ], - [ - 113.853771, - 26.769532 - ], - [ - 113.860546, - 26.664221 - ], - [ - 113.912901, - 26.613938 - ], - [ - 113.996669, - 26.615543 - ], - [ - 114.019459, - 26.587182 - ], - [ - 114.10877, - 26.56952 - ], - [ - 114.07243, - 26.480096 - ], - [ - 114.110002, - 26.482775 - ], - [ - 114.090292, - 26.455988 - ], - [ - 114.085364, - 26.406149 - ], - [ - 114.062575, - 26.406149 - ], - [ - 114.030546, - 26.376664 - ], - [ - 114.047792, - 26.337518 - ], - [ - 114.021307, - 26.288701 - ], - [ - 114.029314, - 26.266163 - ], - [ - 113.978807, - 26.237716 - ], - [ - 113.972647, - 26.20604 - ], - [ - 113.949242, - 26.192616 - ], - [ - 113.962792, - 26.150722 - ], - [ - 114.013299, - 26.184023 - ], - [ - 114.088444, - 26.168448 - ], - [ - 114.102611, - 26.187783 - ], - [ - 114.181451, - 26.214631 - ], - [ - 114.216559, - 26.203355 - ], - [ - 114.237501, - 26.152333 - ], - [ - 114.188842, - 26.121172 - ], - [ - 114.10569, - 26.097526 - ], - [ - 114.121089, - 26.085702 - ], - [ - 114.087828, - 26.06635 - ], - [ - 114.044096, - 26.076564 - ], - [ - 114.008372, - 26.015806 - ], - [ - 114.028082, - 25.98138 - ], - [ - 114.028082, - 25.893119 - ], - [ - 113.971416, - 25.836036 - ], - [ - 113.961561, - 25.77731 - ], - [ - 113.920293, - 25.741197 - ], - [ - 113.913517, - 25.701299 - ], - [ - 113.957249, - 25.611749 - ], - [ - 113.983118, - 25.599336 - ], - [ - 113.986198, - 25.529153 - ], - [ - 113.962792, - 25.528072 - ], - [ - 113.94493, - 25.441635 - ], - [ - 114.003444, - 25.442716 - ], - [ - 113.983118, - 25.415152 - ], - [ - 114.050256, - 25.36433 - ], - [ - 114.029314, - 25.328093 - ], - [ - 114.017611, - 25.273987 - ], - [ - 114.039785, - 25.250714 - ], - [ - 114.055799, - 25.277775 - ], - [ - 114.083517, - 25.275611 - ], - [ - 114.115545, - 25.302125 - ], - [ - 114.190074, - 25.316733 - ], - [ - 114.204857, - 25.29942 - ], - [ - 114.260291, - 25.291845 - ], - [ - 114.2954, - 25.299961 - ], - [ - 114.31511, - 25.33837 - ], - [ - 114.382863, - 25.317274 - ], - [ - 114.43029, - 25.343779 - ], - [ - 114.438914, - 25.376226 - ], - [ - 114.477718, - 25.37136 - ], - [ - 114.541159, - 25.416773 - ], - [ - 114.599674, - 25.385959 - ], - [ - 114.63663, - 25.324306 - ], - [ - 114.714238, - 25.315651 - ], - [ - 114.743188, - 25.274528 - ], - [ - 114.73518, - 25.225813 - ], - [ - 114.693912, - 25.213902 - ], - [ - 114.685905, - 25.173287 - ], - [ - 114.73518, - 25.155954 - ], - [ - 114.735796, - 25.121822 - ], - [ - 114.664963, - 25.10123 - ], - [ - 114.640326, - 25.074129 - ], - [ - 114.604601, - 25.083886 - ], - [ - 114.561485, - 25.077382 - ], - [ - 114.532536, - 25.022623 - ], - [ - 114.506051, - 24.999844 - ], - [ - 114.45616, - 24.99659 - ], - [ - 114.454928, - 24.977062 - ], - [ - 114.395798, - 24.951019 - ], - [ - 114.403189, - 24.877746 - ], - [ - 114.378551, - 24.861457 - ], - [ - 114.342211, - 24.807145 - ], - [ - 114.336052, - 24.749004 - ], - [ - 114.281849, - 24.724001 - ], - [ - 114.27261, - 24.700624 - ], - [ - 114.169132, - 24.689749 - ], - [ - 114.19069, - 24.656576 - ], - [ - 114.258443, - 24.641346 - ], - [ - 114.289856, - 24.619042 - ], - [ - 114.300943, - 24.578775 - ], - [ - 114.363769, - 24.582584 - ], - [ - 114.391486, - 24.563535 - ], - [ - 114.403189, - 24.497657 - ], - [ - 114.429058, - 24.48622 - ], - [ - 114.534384, - 24.559181 - ], - [ - 114.589819, - 24.537406 - ], - [ - 114.627391, - 24.576598 - ], - [ - 114.664963, - 24.583673 - ], - [ - 114.704999, - 24.525973 - ], - [ - 114.73826, - 24.565168 - ], - [ - 114.729637, - 24.608704 - ], - [ - 114.781376, - 24.613057 - ], - [ - 114.827571, - 24.588026 - ], - [ - 114.846665, - 24.602719 - ], - [ - 114.868839, - 24.562446 - ], - [ - 114.893477, - 24.582584 - ], - [ - 114.909491, - 24.661471 - ], - [ - 114.940288, - 24.650049 - ], - [ - 115.00373, - 24.679418 - ], - [ - 115.024672, - 24.669085 - ], - [ - 115.057317, - 24.703343 - ], - [ - 115.083802, - 24.699537 - ], - [ - 115.104744, - 24.667997 - ], - [ - 115.1842, - 24.711498 - ], - [ - 115.258729, - 24.728894 - ], - [ - 115.269816, - 24.749548 - ], - [ - 115.306772, - 24.758787 - ], - [ - 115.358511, - 24.735416 - ], - [ - 115.372678, - 24.774546 - ], - [ - 115.412714, - 24.79302 - ], - [ - 115.476771, - 24.762591 - ], - [ - 115.522967, - 24.702799 - ], - [ - 115.555611, - 24.683768 - ], - [ - 115.569778, - 24.622306 - ], - [ - 115.605503, - 24.62557 - ], - [ - 115.671408, - 24.604895 - ], - [ - 115.68927, - 24.545027 - ], - [ - 115.752712, - 24.546116 - ], - [ - 115.785357, - 24.567345 - ], - [ - 115.843871, - 24.562446 - ], - [ - 115.840791, - 24.584217 - ], - [ - 115.797676, - 24.628834 - ], - [ - 115.780429, - 24.663103 - ], - [ - 115.801371, - 24.705517 - ], - [ - 115.769342, - 24.708236 - ], - [ - 115.756408, - 24.749004 - ], - [ - 115.776734, - 24.774546 - ], - [ - 115.764415, - 24.791933 - ], - [ - 115.790284, - 24.856027 - ], - [ - 115.807531, - 24.862543 - ], - [ - 115.824161, - 24.909232 - ], - [ - 115.863581, - 24.891318 - ], - [ - 115.861733, - 24.863629 - ], - [ - 115.907313, - 24.879917 - ], - [ - 115.885139, - 24.898918 - ], - [ - 115.89253, - 24.936911 - ], - [ - 115.870356, - 24.959701 - ], - [ - 115.925175, - 24.960786 - ], - [ - 115.873436, - 25.019911 - ], - [ - 115.928255, - 25.050276 - ], - [ - 115.908545, - 25.084428 - ], - [ - 115.880212, - 25.092016 - ], - [ - 115.888219, - 25.128866 - ], - [ - 115.860501, - 25.165704 - ], - [ - 115.855574, - 25.20957 - ], - [ - 115.930719, - 25.236099 - ], - [ - 115.949813, - 25.292386 - ], - [ - 115.987385, - 25.290221 - ], - [ - 116.008327, - 25.319437 - ], - [ - 115.992928, - 25.374063 - ], - [ - 116.023109, - 25.435691 - ], - [ - 116.005247, - 25.490264 - ], - [ - 116.03666, - 25.514571 - ], - [ - 116.040356, - 25.548052 - ], - [ - 116.063145, - 25.56317 - ], - [ - 116.041588, - 25.62416 - ], - [ - 116.068689, - 25.646282 - ], - [ - 116.067457, - 25.703995 - ], - [ - 116.106877, - 25.701299 - ], - [ - 116.129667, - 25.758985 - ], - [ - 116.18079, - 25.778926 - ], - [ - 116.131515, - 25.824185 - ], - [ - 116.132131, - 25.860273 - ], - [ - 116.17771, - 25.894195 - ], - [ - 116.225138, - 25.908731 - ], - [ - 116.258398, - 25.902809 - ], - [ - 116.303362, - 25.924341 - ], - [ - 116.326152, - 25.956631 - ], - [ - 116.369883, - 25.963088 - ], - [ - 116.360028, - 25.991601 - ], - [ - 116.384666, - 26.030864 - ], - [ - 116.489375, - 26.113649 - ], - [ - 116.476441, - 26.172745 - ], - [ - 116.435789, - 26.159854 - ], - [ - 116.392057, - 26.171133 - ], - [ - 116.400064, - 26.202819 - ], - [ - 116.385282, - 26.238253 - ], - [ - 116.412999, - 26.297822 - ], - [ - 116.437021, - 26.308016 - ], - [ - 116.459194, - 26.345026 - ], - [ - 116.499846, - 26.361651 - ], - [ - 116.519557, - 26.410437 - ], - [ - 116.553433, - 26.400253 - ], - [ - 116.553433, - 26.365404 - ], - [ - 116.601476, - 26.372911 - ], - [ - 116.608252, - 26.429732 - ], - [ - 116.638433, - 26.477418 - ], - [ - 116.610716, - 26.476882 - ], - [ - 116.597165, - 26.512768 - ], - [ - 116.539267, - 26.559349 - ], - [ - 116.553433, - 26.575942 - ], - [ - 116.566368, - 26.650315 - ], - [ - 116.520172, - 26.684543 - ], - [ - 116.515245, - 26.720898 - ], - [ - 116.557745, - 26.773806 - ], - [ - 116.543578, - 26.803723 - ], - [ - 116.548506, - 26.84004 - ], - [ - 116.602092, - 26.888623 - ], - [ - 116.632889, - 26.933984 - ], - [ - 116.679085, - 26.978259 - ], - [ - 116.817671, - 27.018252 - ], - [ - 116.851548, - 27.009188 - ], - [ - 116.910062, - 27.034779 - ], - [ - 116.936547, - 27.019319 - ], - [ - 116.967344, - 27.061962 - ], - [ - 117.05296, - 27.100327 - ], - [ - 117.044953, - 27.146667 - ], - [ - 117.149662, - 27.241419 - ], - [ - 117.171836, - 27.29036 - ], - [ - 117.136728, - 27.303123 - ], - [ - 117.140423, - 27.322798 - ], - [ - 117.104699, - 27.330773 - ], - [ - 117.107163, - 27.393491 - ], - [ - 117.133032, - 27.42218 - ], - [ - 117.110242, - 27.458828 - ], - [ - 117.103467, - 27.533149 - ], - [ - 117.076982, - 27.566046 - ], - [ - 117.054808, - 27.5427 - ], - [ - 117.01662, - 27.563393 - ], - [ - 117.024627, - 27.592569 - ], - [ - 117.003685, - 27.625449 - ], - [ - 117.040641, - 27.669979 - ], - [ - 117.065279, - 27.665739 - ], - [ - 117.094228, - 27.627569 - ], - [ - 117.11209, - 27.645596 - ], - [ - 117.096076, - 27.667329 - ], - [ - 117.114554, - 27.692238 - ], - [ - 117.174916, - 27.677399 - ], - [ - 117.204481, - 27.683759 - ], - [ - 117.205097, - 27.714492 - ], - [ - 117.245133, - 27.71926 - ], - [ - 117.296256, - 27.764282 - ], - [ - 117.303031, - 27.833103 - ], - [ - 117.276546, - 27.847921 - ], - [ - 117.280242, - 27.871201 - ], - [ - 117.334444, - 27.8876 - ], - [ - 117.341836, - 27.855858 - ], - [ - 117.366473, - 27.88231 - ], - [ - 117.407741, - 27.893948 - ], - [ - 117.453936, - 27.939955 - ], - [ - 117.477958, - 27.930966 - ], - [ - 117.52169, - 27.982243 - ], - [ - 117.556182, - 27.966387 - ], - [ - 117.609769, - 27.863265 - ], - [ - 117.649805, - 27.851625 - ], - [ - 117.68245, - 27.823577 - ], - [ - 117.704624, - 27.834162 - ], - [ - 117.740348, - 27.800286 - ], - [ - 117.788392, - 27.855858 - ], - [ - 117.78716, - 27.896063 - ], - [ - 117.856145, - 27.94577 - ], - [ - 117.910963, - 27.949471 - ], - [ - 117.942992, - 27.974315 - ], - [ - 117.965166, - 27.962687 - ], - [ - 117.999043, - 27.991227 - ], - [ - 118.096977, - 27.970615 - ], - [ - 118.094513, - 28.003909 - ], - [ - 118.129006, - 28.017118 - ], - [ - 118.120999, - 28.041946 - ], - [ - 118.153644, - 28.062016 - ], - [ - 118.199839, - 28.049869 - ], - [ - 118.242339, - 28.075746 - ], - [ - 118.356288, - 28.091586 - ], - [ - 118.361215, - 28.155978 - ], - [ - 118.375382, - 28.186577 - ], - [ - 118.339041, - 28.193962 - ], - [ - 118.314404, - 28.221913 - ], - [ - 118.424041, - 28.291497 - ], - [ - 118.433896, - 28.288335 - ], - [ - 118.480091, - 28.327325 - ], - [ - 118.455454, - 28.384204 - ], - [ - 118.432048, - 28.402104 - ], - [ - 118.456686, - 28.424738 - ], - [ - 118.474548, - 28.478934 - ], - [ - 118.414802, - 28.497344 - ], - [ - 118.4302, - 28.515225 - ], - [ - 118.412338, - 28.55676 - ], - [ - 118.428352, - 28.617193 - ], - [ - 118.428352, - 28.617193 - ], - [ - 118.428352, - 28.681267 - ], - [ - 118.403099, - 28.702791 - ], - [ - 118.364295, - 28.813491 - ], - [ - 118.300237, - 28.826075 - ], - [ - 118.270056, - 28.918836 - ], - [ - 118.195527, - 28.904167 - ], - [ - 118.227556, - 28.942406 - ], - [ - 118.165346, - 28.986912 - ], - [ - 118.133933, - 28.983771 - ], - [ - 118.115455, - 29.009944 - ], - [ - 118.115455, - 29.009944 - ], - [ - 118.097593, - 28.998952 - ], - [ - 118.066796, - 29.053898 - ], - [ - 118.076035, - 29.074822 - ], - [ - 118.037847, - 29.102017 - ], - [ - 118.045238, - 29.149068 - ], - [ - 118.027992, - 29.167882 - ], - [ - 118.042159, - 29.210202 - ], - [ - 118.073571, - 29.216993 - ], - [ - 118.077883, - 29.290614 - ], - [ - 118.138861, - 29.283828 - ], - [ - 118.178281, - 29.297921 - ], - [ - 118.166578, - 29.314099 - ], - [ - 118.205382, - 29.343839 - ], - [ - 118.193064, - 29.395472 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 370000, - "name": "山东省", - "center": [ - 117.000923, - 36.675807 - ], - "centroid": [ - 118.187759, - 36.376092 - ], - "childrenNum": 16, - "cp": [118.2402, 36.2307], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 14, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 116.374195, - 34.640011 - ], - [ - 116.392057, - 34.710391 - ], - [ - 116.363724, - 34.715311 - ], - [ - 116.369267, - 34.749247 - ], - [ - 116.403144, - 34.756131 - ], - [ - 116.408071, - 34.850972 - ], - [ - 116.445028, - 34.895652 - ], - [ - 116.557745, - 34.908905 - ], - [ - 116.613795, - 34.922645 - ], - [ - 116.622418, - 34.939818 - ], - [ - 116.677853, - 34.939327 - ], - [ - 116.781331, - 34.916757 - ], - [ - 116.789338, - 34.975133 - ], - [ - 116.815823, - 34.965324 - ], - [ - 116.821983, - 34.929515 - ], - [ - 116.858323, - 34.928533 - ], - [ - 116.922381, - 34.894671 - ], - [ - 116.929156, - 34.843114 - ], - [ - 116.966113, - 34.844588 - ], - [ - 116.979047, - 34.815113 - ], - [ - 116.95133, - 34.81069 - ], - [ - 116.969192, - 34.771864 - ], - [ - 117.022163, - 34.759081 - ], - [ - 117.070206, - 34.713835 - ], - [ - 117.061583, - 34.675947 - ], - [ - 117.073286, - 34.639026 - ], - [ - 117.104083, - 34.648874 - ], - [ - 117.15151, - 34.559222 - ], - [ - 117.139191, - 34.526687 - ], - [ - 117.166293, - 34.434435 - ], - [ - 117.248213, - 34.451216 - ], - [ - 117.252524, - 34.48674 - ], - [ - 117.27285, - 34.499565 - ], - [ - 117.267923, - 34.532603 - ], - [ - 117.303647, - 34.542463 - ], - [ - 117.27285, - 34.556757 - ], - [ - 117.311654, - 34.561686 - ], - [ - 117.311654, - 34.561686 - ], - [ - 117.32151, - 34.566614 - ], - [ - 117.32151, - 34.566614 - ], - [ - 117.325205, - 34.573021 - ], - [ - 117.325205, - 34.573021 - ], - [ - 117.370785, - 34.584846 - ], - [ - 117.402813, - 34.569571 - ], - [ - 117.402813, - 34.550843 - ], - [ - 117.465023, - 34.484767 - ], - [ - 117.53832, - 34.467006 - ], - [ - 117.592523, - 34.462566 - ], - [ - 117.609769, - 34.490686 - ], - [ - 117.659044, - 34.501044 - ], - [ - 117.684298, - 34.547392 - ], - [ - 117.801942, - 34.518798 - ], - [ - 117.791471, - 34.583368 - ], - [ - 117.793935, - 34.651827 - ], - [ - 117.902956, - 34.644443 - ], - [ - 117.909732, - 34.670533 - ], - [ - 117.951615, - 34.678408 - ], - [ - 118.053861, - 34.650843 - ], - [ - 118.084042, - 34.655766 - ], - [ - 118.114839, - 34.614404 - ], - [ - 118.079115, - 34.569571 - ], - [ - 118.185056, - 34.543942 - ], - [ - 118.16473, - 34.50499 - ], - [ - 118.132702, - 34.483287 - ], - [ - 118.177665, - 34.45319 - ], - [ - 118.179513, - 34.379628 - ], - [ - 118.217701, - 34.379134 - ], - [ - 118.220165, - 34.405802 - ], - [ - 118.277447, - 34.404814 - ], - [ - 118.290382, - 34.424563 - ], - [ - 118.379693, - 34.415183 - ], - [ - 118.404947, - 34.427525 - ], - [ - 118.416034, - 34.473914 - ], - [ - 118.439439, - 34.507949 - ], - [ - 118.424657, - 34.595193 - ], - [ - 118.439439, - 34.626223 - ], - [ - 118.473932, - 34.623269 - ], - [ - 118.460997, - 34.656258 - ], - [ - 118.545997, - 34.705964 - ], - [ - 118.601431, - 34.714327 - ], - [ - 118.607591, - 34.694155 - ], - [ - 118.664257, - 34.693663 - ], - [ - 118.690127, - 34.678408 - ], - [ - 118.739402, - 34.693663 - ], - [ - 118.783749, - 34.723181 - ], - [ - 118.764039, - 34.740396 - ], - [ - 118.719076, - 34.745313 - ], - [ - 118.739402, - 34.792508 - ], - [ - 118.772047, - 34.794474 - ], - [ - 118.80038, - 34.843114 - ], - [ - 118.805307, - 34.87307 - ], - [ - 118.860742, - 34.944233 - ], - [ - 118.86259, - 35.025626 - ], - [ - 118.928495, - 35.051106 - ], - [ - 118.942662, - 35.040817 - ], - [ - 119.027045, - 35.055516 - ], - [ - 119.114509, - 35.055026 - ], - [ - 119.137915, - 35.096167 - ], - [ - 119.217371, - 35.106939 - ], - [ - 119.250016, - 35.124562 - ], - [ - 119.286972, - 35.115261 - ], - [ - 119.306066, - 35.076578 - ], - [ - 119.354109, - 35.080007 - ], - [ - 119.373819, - 35.078538 - ], - [ - 119.428022, - 35.121136 - ], - [ - 119.397841, - 35.137777 - ], - [ - 119.411392, - 35.231689 - ], - [ - 119.450812, - 35.285443 - ], - [ - 119.493312, - 35.318655 - ], - [ - 119.538275, - 35.296678 - ], - [ - 119.543819, - 35.347949 - ], - [ - 119.590014, - 35.37284 - ], - [ - 119.579543, - 35.406504 - ], - [ - 119.618963, - 35.459655 - ], - [ - 119.663311, - 35.562931 - ], - [ - 119.662079, - 35.589215 - ], - [ - 119.718129, - 35.615492 - ], - [ - 119.75139, - 35.617924 - ], - [ - 119.772332, - 35.578995 - ], - [ - 119.780339, - 35.584835 - ], - [ - 119.792658, - 35.615492 - ], - [ - 119.824071, - 35.646136 - ], - [ - 119.83023, - 35.620357 - ], - [ - 119.868419, - 35.60868 - ], - [ - 119.925085, - 35.637382 - ], - [ - 119.91215, - 35.660725 - ], - [ - 119.950339, - 35.729741 - ], - [ - 119.920157, - 35.739943 - ], - [ - 119.926317, - 35.759856 - ], - [ - 119.958346, - 35.760342 - ], - [ - 120.01378, - 35.714193 - ], - [ - 120.049505, - 35.786562 - ], - [ - 120.032258, - 35.812288 - ], - [ - 120.064287, - 35.873414 - ], - [ - 120.112331, - 35.885052 - ], - [ - 120.125265, - 35.906868 - ], - [ - 120.152983, - 35.907353 - ], - [ - 120.207801, - 35.947575 - ], - [ - 120.169613, - 35.888446 - ], - [ - 120.202258, - 35.89184 - ], - [ - 120.209033, - 35.917531 - ], - [ - 120.265699, - 35.966468 - ], - [ - 120.30512, - 35.971796 - ], - [ - 120.316206, - 36.002304 - ], - [ - 120.289721, - 36.017311 - ], - [ - 120.285409, - 36.01247 - ], - [ - 120.249069, - 35.992136 - ], - [ - 120.257076, - 36.025055 - ], - [ - 120.198562, - 35.995525 - ], - [ - 120.234902, - 36.030863 - ], - [ - 120.239214, - 36.062316 - ], - [ - 120.181316, - 36.066669 - ], - [ - 120.152367, - 36.095206 - ], - [ - 120.116642, - 36.102943 - ], - [ - 120.108635, - 36.127599 - ], - [ - 120.142512, - 36.143549 - ], - [ - 120.140664, - 36.173507 - ], - [ - 120.181316, - 36.203936 - ], - [ - 120.22012, - 36.209248 - ], - [ - 120.224432, - 36.19138 - ], - [ - 120.260772, - 36.198624 - ], - [ - 120.263236, - 36.182202 - ], - [ - 120.310047, - 36.185101 - ], - [ - 120.297112, - 36.225664 - ], - [ - 120.319902, - 36.232423 - ], - [ - 120.362402, - 36.196209 - ], - [ - 120.35809, - 36.174956 - ], - [ - 120.286025, - 36.047317 - ], - [ - 120.337764, - 36.055058 - ], - [ - 120.429539, - 36.056994 - ], - [ - 120.468959, - 36.087952 - ], - [ - 120.546568, - 36.091821 - ], - [ - 120.546568, - 36.107778 - ], - [ - 120.593995, - 36.100525 - ], - [ - 120.615553, - 36.120348 - ], - [ - 120.64327, - 36.114547 - ], - [ - 120.672835, - 36.130016 - ], - [ - 120.712255, - 36.126632 - ], - [ - 120.696857, - 36.15563 - ], - [ - 120.696857, - 36.203936 - ], - [ - 120.680843, - 36.238698 - ], - [ - 120.686386, - 36.279234 - ], - [ - 120.657437, - 36.276339 - ], - [ - 120.66298, - 36.331803 - ], - [ - 120.744284, - 36.327946 - ], - [ - 120.694393, - 36.390118 - ], - [ - 120.759683, - 36.46283 - ], - [ - 120.828668, - 36.46668 - ], - [ - 120.837291, - 36.459942 - ], - [ - 120.858849, - 36.424797 - ], - [ - 120.848994, - 36.403124 - ], - [ - 120.871784, - 36.36699 - ], - [ - 120.911204, - 36.412276 - ], - [ - 120.917979, - 36.417573 - ], - [ - 120.90874, - 36.450315 - ], - [ - 120.938305, - 36.447908 - ], - [ - 120.965407, - 36.466199 - ], - [ - 120.95432, - 36.507578 - ], - [ - 120.983269, - 36.546051 - ], - [ - 120.962327, - 36.562877 - ], - [ - 120.909972, - 36.568645 - ], - [ - 120.884718, - 36.601323 - ], - [ - 120.847146, - 36.618617 - ], - [ - 120.882255, - 36.627262 - ], - [ - 120.926602, - 36.611892 - ], - [ - 120.955551, - 36.575855 - ], - [ - 121.028848, - 36.572971 - ], - [ - 121.078123, - 36.607568 - ], - [ - 121.161275, - 36.651273 - ], - [ - 121.251818, - 36.671436 - ], - [ - 121.29863, - 36.702151 - ], - [ - 121.31218, - 36.702151 - ], - [ - 121.35776, - 36.713186 - ], - [ - 121.400876, - 36.701191 - ], - [ - 121.3941, - 36.738129 - ], - [ - 121.454462, - 36.752515 - ], - [ - 121.496962, - 36.795179 - ], - [ - 121.506817, - 36.803805 - ], - [ - 121.565331, - 36.830635 - ], - [ - 121.548701, - 36.807638 - ], - [ - 121.485259, - 36.786073 - ], - [ - 121.532071, - 36.73621 - ], - [ - 121.575186, - 36.740047 - ], - [ - 121.556092, - 36.764502 - ], - [ - 121.651563, - 36.723739 - ], - [ - 121.631853, - 36.80093 - ], - [ - 121.6762, - 36.819137 - ], - [ - 121.726092, - 36.826323 - ], - [ - 121.762432, - 36.84644 - ], - [ - 121.767975, - 36.874691 - ], - [ - 121.927504, - 36.932597 - ], - [ - 121.965076, - 36.938337 - ], - [ - 122.008808, - 36.96225 - ], - [ - 122.042684, - 36.871819 - ], - [ - 122.051923, - 36.904846 - ], - [ - 122.093191, - 36.913938 - ], - [ - 122.115981, - 36.94025 - ], - [ - 122.124604, - 36.944077 - ], - [ - 122.141235, - 36.938337 - ], - [ - 122.119677, - 36.891924 - ], - [ - 122.175727, - 36.894317 - ], - [ - 122.188662, - 36.866073 - ], - [ - 122.174495, - 36.842609 - ], - [ - 122.220691, - 36.848835 - ], - [ - 122.275509, - 36.83734 - ], - [ - 122.280437, - 36.835904 - ], - [ - 122.344495, - 36.828239 - ], - [ - 122.378371, - 36.844525 - ], - [ - 122.383915, - 36.865595 - ], - [ - 122.415944, - 36.85937 - ], - [ - 122.454748, - 36.879 - ], - [ - 122.452284, - 36.88618 - ], - [ - 122.434422, - 36.914416 - ], - [ - 122.483081, - 36.913938 - ], - [ - 122.48924, - 36.886659 - ], - [ - 122.532356, - 36.901496 - ], - [ - 122.55761, - 36.968467 - ], - [ - 122.544675, - 37.004797 - ], - [ - 122.583479, - 37.037289 - ], - [ - 122.575472, - 37.054485 - ], - [ - 122.494168, - 37.033945 - ], - [ - 122.467067, - 37.037289 - ], - [ - 122.478769, - 37.058784 - ], - [ - 122.484313, - 37.128956 - ], - [ - 122.533588, - 37.153286 - ], - [ - 122.581015, - 37.147562 - ], - [ - 122.573624, - 37.176178 - ], - [ - 122.624131, - 37.190959 - ], - [ - 122.592718, - 37.261485 - ], - [ - 122.567465, - 37.25958 - ], - [ - 122.573624, - 37.296247 - ], - [ - 122.611196, - 37.339558 - ], - [ - 122.607501, - 37.364296 - ], - [ - 122.650616, - 37.388551 - ], - [ - 122.6925, - 37.373809 - ], - [ - 122.714058, - 37.392355 - ], - [ - 122.701739, - 37.418501 - ], - [ - 122.67587, - 37.413273 - ], - [ - 122.641377, - 37.428482 - ], - [ - 122.553914, - 37.407093 - ], - [ - 122.4954, - 37.413748 - ], - [ - 122.487393, - 37.43466 - ], - [ - 122.41656, - 37.414699 - ], - [ - 122.337103, - 37.414223 - ], - [ - 122.281053, - 37.430858 - ], - [ - 122.287212, - 37.445114 - ], - [ - 122.25272, - 37.467917 - ], - [ - 122.194205, - 37.456041 - ], - [ - 122.166488, - 37.438937 - ], - [ - 122.131996, - 37.49926 - ], - [ - 122.163408, - 37.519199 - ], - [ - 122.150474, - 37.557163 - ], - [ - 122.08888, - 37.554316 - ], - [ - 122.075329, - 37.540556 - ], - [ - 122.017431, - 37.531065 - ], - [ - 121.997721, - 37.494512 - ], - [ - 121.923808, - 37.473142 - ], - [ - 121.772903, - 37.466492 - ], - [ - 121.66573, - 37.473617 - ], - [ - 121.635548, - 37.494037 - ], - [ - 121.575802, - 37.460317 - ], - [ - 121.571491, - 37.441313 - ], - [ - 121.477252, - 37.475992 - ], - [ - 121.460006, - 37.522522 - ], - [ - 121.400876, - 37.557638 - ], - [ - 121.395948, - 37.589891 - ], - [ - 121.435368, - 37.592737 - ], - [ - 121.391021, - 37.625449 - ], - [ - 121.349137, - 37.635403 - ], - [ - 121.358376, - 37.597479 - ], - [ - 121.304789, - 37.582778 - ], - [ - 121.217326, - 37.582778 - ], - [ - 121.17421, - 37.597479 - ], - [ - 121.148956, - 37.626397 - ], - [ - 121.161891, - 37.646302 - ], - [ - 121.142797, - 37.661464 - ], - [ - 121.160043, - 37.698882 - ], - [ - 121.136022, - 37.723501 - ], - [ - 121.037471, - 37.718767 - ], - [ - 120.994356, - 37.759468 - ], - [ - 120.943233, - 37.785486 - ], - [ - 120.940769, - 37.819533 - ], - [ - 120.874863, - 37.833241 - ], - [ - 120.845298, - 37.826623 - ], - [ - 120.839139, - 37.82426 - ], - [ - 120.733197, - 37.833714 - ], - [ - 120.656821, - 37.793054 - ], - [ - 120.634031, - 37.796364 - ], - [ - 120.590915, - 37.7642 - ], - [ - 120.517619, - 37.750005 - ], - [ - 120.454793, - 37.757576 - ], - [ - 120.367945, - 37.697935 - ], - [ - 120.227511, - 37.693673 - ], - [ - 120.22012, - 37.671886 - ], - [ - 120.269395, - 37.658622 - ], - [ - 120.272475, - 37.636824 - ], - [ - 120.215192, - 37.621183 - ], - [ - 120.208417, - 37.588469 - ], - [ - 120.246605, - 37.556689 - ], - [ - 120.222584, - 37.532963 - ], - [ - 120.144359, - 37.481691 - ], - [ - 120.086461, - 37.465067 - ], - [ - 120.064903, - 37.448915 - ], - [ - 120.010085, - 37.442263 - ], - [ - 119.949723, - 37.419927 - ], - [ - 119.926933, - 37.386649 - ], - [ - 119.843781, - 37.376662 - ], - [ - 119.837006, - 37.346695 - ], - [ - 119.883201, - 37.311004 - ], - [ - 119.89244, - 37.263866 - ], - [ - 119.865339, - 37.233854 - ], - [ - 119.83023, - 37.225754 - ], - [ - 119.808057, - 37.196203 - ], - [ - 119.740303, - 37.133727 - ], - [ - 119.687332, - 37.143746 - ], - [ - 119.678709, - 37.158056 - ], - [ - 119.576463, - 37.127524 - ], - [ - 119.489616, - 37.134681 - ], - [ - 119.428022, - 37.125616 - ], - [ - 119.361501, - 37.125616 - ], - [ - 119.327624, - 37.115595 - ], - [ - 119.301138, - 37.139452 - ], - [ - 119.298675, - 37.197156 - ], - [ - 119.2069, - 37.223371 - ], - [ - 119.190885, - 37.25958 - ], - [ - 119.204436, - 37.280058 - ], - [ - 119.136683, - 37.230995 - ], - [ - 119.12806, - 37.254816 - ], - [ - 119.091103, - 37.257674 - ], - [ - 119.084328, - 37.239572 - ], - [ - 119.054147, - 37.254816 - ], - [ - 119.03998, - 37.30434 - ], - [ - 119.001176, - 37.31862 - ], - [ - 118.942662, - 37.497361 - ], - [ - 118.939582, - 37.527268 - ], - [ - 118.988857, - 37.620709 - ], - [ - 119.023966, - 37.642037 - ], - [ - 119.153313, - 37.655305 - ], - [ - 119.236465, - 37.651988 - ], - [ - 119.262334, - 37.660517 - ], - [ - 119.280197, - 37.692726 - ], - [ - 119.309146, - 37.805349 - ], - [ - 119.291899, - 37.869627 - ], - [ - 119.24016, - 37.878131 - ], - [ - 119.212443, - 37.838913 - ], - [ - 119.16132, - 37.81906 - ], - [ - 119.12806, - 37.847892 - ], - [ - 119.110813, - 37.921577 - ], - [ - 119.001792, - 37.99613 - ], - [ - 118.974075, - 38.094162 - ], - [ - 118.908169, - 38.139362 - ], - [ - 118.811467, - 38.157717 - ], - [ - 118.703677, - 38.151129 - ], - [ - 118.626069, - 38.138421 - ], - [ - 118.607591, - 38.129006 - ], - [ - 118.597736, - 38.079088 - ], - [ - 118.552156, - 38.05553 - ], - [ - 118.534294, - 38.063541 - ], - [ - 118.517048, - 38.088509 - ], - [ - 118.504729, - 38.11394 - ], - [ - 118.44991, - 38.124299 - ], - [ - 118.431432, - 38.106406 - ], - [ - 118.404331, - 38.121003 - ], - [ - 118.331034, - 38.12524 - ], - [ - 118.217085, - 38.146893 - ], - [ - 118.177665, - 38.186417 - ], - [ - 118.112376, - 38.210403 - ], - [ - 118.045238, - 38.214165 - ], - [ - 118.018753, - 38.202409 - ], - [ - 117.896797, - 38.279495 - ], - [ - 117.895565, - 38.301572 - ], - [ - 117.848754, - 38.255062 - ], - [ - 117.808718, - 38.22827 - ], - [ - 117.789007, - 38.180772 - ], - [ - 117.766834, - 38.158658 - ], - [ - 117.771145, - 38.134655 - ], - [ - 117.746508, - 38.12524 - ], - [ - 117.704624, - 38.076262 - ], - [ - 117.586979, - 38.071551 - ], - [ - 117.557414, - 38.046105 - ], - [ - 117.557414, - 38.046105 - ], - [ - 117.524154, - 37.989527 - ], - [ - 117.513067, - 37.94329 - ], - [ - 117.481038, - 37.914967 - ], - [ - 117.438538, - 37.854035 - ], - [ - 117.400966, - 37.844584 - ], - [ - 117.320278, - 37.861596 - ], - [ - 117.271618, - 37.839858 - ], - [ - 117.185387, - 37.849783 - ], - [ - 117.150278, - 37.839385 - ], - [ - 117.074518, - 37.848837 - ], - [ - 117.027091, - 37.832296 - ], - [ - 116.919301, - 37.846002 - ], - [ - 116.837997, - 37.835132 - ], - [ - 116.804736, - 37.848837 - ], - [ - 116.753613, - 37.793054 - ], - [ - 116.753613, - 37.77035 - ], - [ - 116.724664, - 37.744327 - ], - [ - 116.679085, - 37.728708 - ], - [ - 116.66307, - 37.686096 - ], - [ - 116.604556, - 37.624975 - ], - [ - 116.575607, - 37.610754 - ], - [ - 116.4826, - 37.521573 - ], - [ - 116.448108, - 37.503059 - ], - [ - 116.433941, - 37.473142 - ], - [ - 116.38097, - 37.522522 - ], - [ - 116.379738, - 37.522047 - ], - [ - 116.38097, - 37.522522 - ], - [ - 116.379738, - 37.522047 - ], - [ - 116.36742, - 37.566177 - ], - [ - 116.336007, - 37.581355 - ], - [ - 116.295355, - 37.554316 - ], - [ - 116.278724, - 37.524895 - ], - [ - 116.290427, - 37.484065 - ], - [ - 116.27626, - 37.466967 - ], - [ - 116.240536, - 37.489764 - ], - [ - 116.240536, - 37.489764 - ], - [ - 116.224522, - 37.479791 - ], - [ - 116.243, - 37.447965 - ], - [ - 116.226369, - 37.428007 - ], - [ - 116.2855, - 37.404241 - ], - [ - 116.236224, - 37.361442 - ], - [ - 116.193109, - 37.365723 - ], - [ - 116.169087, - 37.384271 - ], - [ - 116.106261, - 37.368577 - ], - [ - 116.085935, - 37.373809 - ], - [ - 116.024341, - 37.360015 - ], - [ - 115.975682, - 37.337179 - ], - [ - 115.969523, - 37.239572 - ], - [ - 115.909777, - 37.20669 - ], - [ - 115.91224, - 37.177132 - ], - [ - 115.879596, - 37.150901 - ], - [ - 115.888219, - 37.112254 - ], - [ - 115.85619, - 37.060694 - ], - [ - 115.776734, - 36.992848 - ], - [ - 115.79706, - 36.968945 - ], - [ - 115.75764, - 36.902453 - ], - [ - 115.71206, - 36.883308 - ], - [ - 115.683727, - 36.808117 - ], - [ - 115.524815, - 36.763543 - ], - [ - 115.479851, - 36.760187 - ], - [ - 115.451518, - 36.702151 - ], - [ - 115.420105, - 36.686795 - ], - [ - 115.365902, - 36.621979 - ], - [ - 115.355431, - 36.627262 - ], - [ - 115.33141, - 36.550378 - ], - [ - 115.272895, - 36.497476 - ], - [ - 115.291374, - 36.460423 - ], - [ - 115.317243, - 36.454166 - ], - [ - 115.297533, - 36.413239 - ], - [ - 115.340033, - 36.398307 - ], - [ - 115.368982, - 36.342409 - ], - [ - 115.366518, - 36.30914 - ], - [ - 115.423185, - 36.32216 - ], - [ - 115.417025, - 36.292742 - ], - [ - 115.462605, - 36.276339 - ], - [ - 115.466916, - 36.258969 - ], - [ - 115.466916, - 36.258969 - ], - [ - 115.474923, - 36.248352 - ], - [ - 115.483547, - 36.148865 - ], - [ - 115.484163, - 36.125666 - ], - [ - 115.449054, - 36.047317 - ], - [ - 115.447822, - 36.01247 - ], - [ - 115.362822, - 35.971796 - ], - [ - 115.353583, - 35.938854 - ], - [ - 115.364054, - 35.894264 - ], - [ - 115.335105, - 35.796756 - ], - [ - 115.363438, - 35.779765 - ], - [ - 115.407786, - 35.80889 - ], - [ - 115.460141, - 35.867594 - ], - [ - 115.487858, - 35.880688 - ], - [ - 115.495249, - 35.896203 - ], - [ - 115.505104, - 35.899112 - ], - [ - 115.513112, - 35.890385 - ], - [ - 115.583945, - 35.921893 - ], - [ - 115.648618, - 35.922863 - ], - [ - 115.699125, - 35.966468 - ], - [ - 115.774886, - 35.974702 - ], - [ - 115.779813, - 35.993588 - ], - [ - 115.817386, - 36.012954 - ], - [ - 115.859886, - 36.003756 - ], - [ - 115.89869, - 36.026507 - ], - [ - 115.989849, - 36.045381 - ], - [ - 116.057602, - 36.104877 - ], - [ - 116.099486, - 36.112129 - ], - [ - 116.063145, - 36.028927 - ], - [ - 116.048979, - 35.970343 - ], - [ - 115.984921, - 35.974218 - ], - [ - 115.911624, - 35.960171 - ], - [ - 115.907929, - 35.92674 - ], - [ - 115.873436, - 35.918985 - ], - [ - 115.882675, - 35.879718 - ], - [ - 115.859886, - 35.857894 - ], - [ - 115.81677, - 35.844312 - ], - [ - 115.773654, - 35.854014 - ], - [ - 115.73485, - 35.833154 - ], - [ - 115.696046, - 35.788989 - ], - [ - 115.693582, - 35.754028 - ], - [ - 115.622749, - 35.739457 - ], - [ - 115.52851, - 35.733628 - ], - [ - 115.48601, - 35.710306 - ], - [ - 115.383148, - 35.568772 - ], - [ - 115.34496, - 35.55368 - ], - [ - 115.356047, - 35.490359 - ], - [ - 115.307388, - 35.480126 - ], - [ - 115.237171, - 35.423087 - ], - [ - 115.172497, - 35.426501 - ], - [ - 115.126302, - 35.41821 - ], - [ - 115.117679, - 35.400163 - ], - [ - 115.091809, - 35.416259 - ], - [ - 115.073947, - 35.374304 - ], - [ - 115.04315, - 35.376744 - ], - [ - 114.957534, - 35.261014 - ], - [ - 114.929201, - 35.244886 - ], - [ - 114.932281, - 35.198441 - ], - [ - 114.861448, - 35.182301 - ], - [ - 114.841738, - 35.15099 - ], - [ - 114.883006, - 35.098615 - ], - [ - 114.835578, - 35.076578 - ], - [ - 114.818948, - 35.051596 - ], - [ - 114.852209, - 35.041797 - ], - [ - 114.824492, - 35.012393 - ], - [ - 114.880542, - 35.00357 - ], - [ - 114.923658, - 34.968757 - ], - [ - 114.950759, - 34.989843 - ], - [ - 115.008041, - 34.988372 - ], - [ - 115.028983, - 34.9717 - ], - [ - 115.075179, - 35.000628 - ], - [ - 115.12815, - 35.00455 - ], - [ - 115.157099, - 34.957968 - ], - [ - 115.219309, - 34.96042 - ], - [ - 115.205142, - 34.914303 - ], - [ - 115.251953, - 34.906451 - ], - [ - 115.239019, - 34.87798 - ], - [ - 115.256265, - 34.845079 - ], - [ - 115.317243, - 34.859321 - ], - [ - 115.42688, - 34.805285 - ], - [ - 115.449054, - 34.74433 - ], - [ - 115.433655, - 34.725149 - ], - [ - 115.461373, - 34.637057 - ], - [ - 115.515575, - 34.582383 - ], - [ - 115.553148, - 34.568586 - ], - [ - 115.622749, - 34.574499 - ], - [ - 115.685575, - 34.556265 - ], - [ - 115.697278, - 34.594207 - ], - [ - 115.787821, - 34.580905 - ], - [ - 115.827241, - 34.558236 - ], - [ - 115.838328, - 34.5676 - ], - [ - 115.984305, - 34.589281 - ], - [ - 115.991081, - 34.615389 - ], - [ - 116.037276, - 34.593222 - ], - [ - 116.101334, - 34.60603 - ], - [ - 116.134594, - 34.559715 - ], - [ - 116.156768, - 34.5538 - ], - [ - 116.196804, - 34.575977 - ], - [ - 116.247927, - 34.551829 - ], - [ - 116.286116, - 34.608986 - ], - [ - 116.32492, - 34.601104 - ], - [ - 116.334159, - 34.620806 - ], - [ - 116.374195, - 34.640011 - ] - ] - ], - [ - [ - [ - 120.729502, - 37.947065 - ], - [ - 120.721495, - 37.917328 - ], - [ - 120.76461, - 37.895134 - ], - [ - 120.76461, - 37.923937 - ], - [ - 120.729502, - 37.947065 - ] - ] - ], - [ - [ - [ - 120.692545, - 37.983867 - ], - [ - 120.732581, - 37.961694 - ], - [ - 120.724574, - 37.987641 - ], - [ - 120.692545, - 37.983867 - ] - ] - ], - [ - [ - [ - 120.990044, - 36.413239 - ], - [ - 120.978341, - 36.428649 - ], - [ - 120.950624, - 36.414684 - ], - [ - 120.990044, - 36.413239 - ] - ] - ], - [ - [ - [ - 120.750444, - 38.150188 - ], - [ - 120.7874, - 38.158658 - ], - [ - 120.742436, - 38.199116 - ], - [ - 120.750444, - 38.150188 - ] - ] - ], - [ - [ - [ - 120.918595, - 38.345236 - ], - [ - 120.914899, - 38.373393 - ], - [ - 120.895189, - 38.36307 - ], - [ - 120.918595, - 38.345236 - ] - ] - ], - [ - [ - [ - 120.159142, - 35.765198 - ], - [ - 120.169613, - 35.740428 - ], - [ - 120.193019, - 35.756942 - ], - [ - 120.172077, - 35.785591 - ], - [ - 120.159142, - 35.765198 - ] - ] - ], - [ - [ - [ - 120.62664, - 37.94565 - ], - [ - 120.631567, - 37.981037 - ], - [ - 120.602002, - 37.978678 - ], - [ - 120.62664, - 37.94565 - ] - ] - ], - [ - [ - [ - 120.802183, - 38.284193 - ], - [ - 120.848378, - 38.305799 - ], - [ - 120.816349, - 38.318008 - ], - [ - 120.802183, - 38.284193 - ] - ] - ], - [ - [ - [ - 121.489571, - 37.577086 - ], - [ - 121.489571, - 37.577561 - ], - [ - 121.489571, - 37.578509 - ], - [ - 121.488955, - 37.578035 - ], - [ - 121.489571, - 37.577086 - ] - ] - ], - [ - [ - [ - 121.485875, - 37.578509 - ], - [ - 121.487723, - 37.578035 - ], - [ - 121.487723, - 37.578509 - ], - [ - 121.485875, - 37.578509 - ] - ] - ], - [ - [ - [ - 121.487723, - 37.578509 - ], - [ - 121.487723, - 37.577561 - ], - [ - 121.488955, - 37.578035 - ], - [ - 121.488955, - 37.578509 - ], - [ - 121.488339, - 37.578509 - ], - [ - 121.487723, - 37.578509 - ] - ] - ], - [ - [ - [ - 115.495249, - 35.896203 - ], - [ - 115.487858, - 35.880688 - ], - [ - 115.513112, - 35.890385 - ], - [ - 115.505104, - 35.899112 - ], - [ - 115.495249, - 35.896203 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 410000, - "name": "河南省", - "center": [ - 113.665412, - 34.757975 - ], - "centroid": [ - 113.619717, - 33.902648 - ], - "childrenNum": 18, - "cp": [113.0668, 33.8818], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 15, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 112.716747, - 32.357612 - ], - [ - 112.735841, - 32.356095 - ], - [ - 112.776493, - 32.358623 - ], - [ - 112.860877, - 32.396024 - ], - [ - 112.888594, - 32.37682 - ], - [ - 112.912, - 32.390971 - ], - [ - 112.992072, - 32.378336 - ], - [ - 113.000695, - 32.41674 - ], - [ - 113.025949, - 32.425328 - ], - [ - 113.078919, - 32.394508 - ], - [ - 113.107869, - 32.398551 - ], - [ - 113.118956, - 32.375809 - ], - [ - 113.155912, - 32.380863 - ], - [ - 113.158992, - 32.410677 - ], - [ - 113.211962, - 32.431895 - ], - [ - 113.2366, - 32.407141 - ], - [ - 113.333918, - 32.336377 - ], - [ - 113.317904, - 32.327275 - ], - [ - 113.353628, - 32.294904 - ], - [ - 113.376418, - 32.298445 - ], - [ - 113.428773, - 32.270618 - ], - [ - 113.511925, - 32.316654 - ], - [ - 113.624642, - 32.36115 - ], - [ - 113.650511, - 32.412698 - ], - [ - 113.700402, - 32.420782 - ], - [ - 113.735511, - 32.410677 - ], - [ - 113.76754, - 32.370249 - ], - [ - 113.753989, - 32.328286 - ], - [ - 113.768772, - 32.30148 - ], - [ - 113.768156, - 32.284279 - ], - [ - 113.758301, - 32.27669 - ], - [ - 113.749061, - 32.272642 - ], - [ - 113.73859, - 32.255942 - ], - [ - 113.752757, - 32.215951 - ], - [ - 113.782322, - 32.184553 - ], - [ - 113.750293, - 32.11615 - ], - [ - 113.722576, - 32.12426 - ], - [ - 113.728735, - 32.083197 - ], - [ - 113.791561, - 32.036028 - ], - [ - 113.757685, - 31.98985 - ], - [ - 113.817431, - 31.964467 - ], - [ - 113.805728, - 31.929428 - ], - [ - 113.832213, - 31.918761 - ], - [ - 113.830981, - 31.87913 - ], - [ - 113.854387, - 31.843042 - ], - [ - 113.893807, - 31.847109 - ], - [ - 113.914749, - 31.877098 - ], - [ - 113.957865, - 31.852701 - ], - [ - 113.952321, - 31.793714 - ], - [ - 113.988662, - 31.749959 - ], - [ - 114.017611, - 31.770822 - ], - [ - 114.086596, - 31.782014 - ], - [ - 114.121705, - 31.809482 - ], - [ - 114.134024, - 31.843042 - ], - [ - 114.191922, - 31.852192 - ], - [ - 114.235654, - 31.833382 - ], - [ - 114.292936, - 31.752503 - ], - [ - 114.350218, - 31.755557 - ], - [ - 114.403189, - 31.746906 - ], - [ - 114.443841, - 31.728074 - ], - [ - 114.530688, - 31.742834 - ], - [ - 114.549783, - 31.766751 - ], - [ - 114.586123, - 31.762172 - ], - [ - 114.57134, - 31.660858 - ], - [ - 114.547935, - 31.623665 - ], - [ - 114.560869, - 31.560963 - ], - [ - 114.572572, - 31.553824 - ], - [ - 114.61692, - 31.585437 - ], - [ - 114.641558, - 31.582378 - ], - [ - 114.696376, - 31.525771 - ], - [ - 114.778912, - 31.520669 - ], - [ - 114.789383, - 31.480358 - ], - [ - 114.830035, - 31.45892 - ], - [ - 114.870071, - 31.479337 - ], - [ - 114.884238, - 31.469129 - ], - [ - 114.962462, - 31.494648 - ], - [ - 114.995107, - 31.471171 - ], - [ - 115.022824, - 31.527811 - ], - [ - 115.096121, - 31.508425 - ], - [ - 115.114599, - 31.530362 - ], - [ - 115.106592, - 31.567592 - ], - [ - 115.12507, - 31.599201 - ], - [ - 115.16449, - 31.604808 - ], - [ - 115.212533, - 31.555354 - ], - [ - 115.235939, - 31.555354 - ], - [ - 115.218077, - 31.515057 - ], - [ - 115.211301, - 31.442072 - ], - [ - 115.252569, - 31.421646 - ], - [ - 115.250722, - 31.392021 - ], - [ - 115.301229, - 31.383846 - ], - [ - 115.338801, - 31.40428 - ], - [ - 115.373909, - 31.405813 - ], - [ - 115.389924, - 31.450241 - ], - [ - 115.371446, - 31.495668 - ], - [ - 115.415793, - 31.525771 - ], - [ - 115.439815, - 31.588496 - ], - [ - 115.485394, - 31.608885 - ], - [ - 115.476771, - 31.643028 - ], - [ - 115.495249, - 31.673083 - ], - [ - 115.534054, - 31.698545 - ], - [ - 115.553764, - 31.69549 - ], - [ - 115.676336, - 31.778453 - ], - [ - 115.731154, - 31.76726 - ], - [ - 115.767495, - 31.78761 - ], - [ - 115.808147, - 31.770313 - ], - [ - 115.808147, - 31.770313 - ], - [ - 115.851878, - 31.786593 - ], - [ - 115.886371, - 31.776418 - ], - [ - 115.914704, - 31.814567 - ], - [ - 115.893762, - 31.832365 - ], - [ - 115.894994, - 31.8649 - ], - [ - 115.920248, - 31.920285 - ], - [ - 115.909161, - 31.94314 - ], - [ - 115.928871, - 32.003046 - ], - [ - 115.922095, - 32.049725 - ], - [ - 115.941805, - 32.166318 - ], - [ - 115.912856, - 32.227596 - ], - [ - 115.899306, - 32.390971 - ], - [ - 115.865429, - 32.458662 - ], - [ - 115.883291, - 32.487946 - ], - [ - 115.845719, - 32.501575 - ], - [ - 115.8759, - 32.542448 - ], - [ - 115.910393, - 32.567165 - ], - [ - 115.891298, - 32.576243 - ], - [ - 115.861117, - 32.537403 - ], - [ - 115.789052, - 32.468761 - ], - [ - 115.771806, - 32.505108 - ], - [ - 115.742241, - 32.476335 - ], - [ - 115.704669, - 32.495013 - ], - [ - 115.667712, - 32.409667 - ], - [ - 115.657857, - 32.428864 - ], - [ - 115.626445, - 32.40512 - ], - [ - 115.604271, - 32.425833 - ], - [ - 115.57101, - 32.419266 - ], - [ - 115.522967, - 32.441997 - ], - [ - 115.509416, - 32.466741 - ], - [ - 115.5088, - 32.468761 - ], - [ - 115.497713, - 32.492489 - ], - [ - 115.409018, - 32.549007 - ], - [ - 115.411482, - 32.575235 - ], - [ - 115.304924, - 32.553042 - ], - [ - 115.30554, - 32.583303 - ], - [ - 115.267352, - 32.578261 - ], - [ - 115.24333, - 32.593388 - ], - [ - 115.20083, - 32.591876 - ], - [ - 115.182968, - 32.666973 - ], - [ - 115.179273, - 32.726402 - ], - [ - 115.189744, - 32.770695 - ], - [ - 115.211301, - 32.785791 - ], - [ - 115.189744, - 32.812452 - ], - [ - 115.197135, - 32.856201 - ], - [ - 115.155867, - 32.864747 - ], - [ - 115.139237, - 32.897917 - ], - [ - 115.029599, - 32.906962 - ], - [ - 115.035143, - 32.932582 - ], - [ - 115.009273, - 32.940117 - ], - [ - 114.943368, - 32.935094 - ], - [ - 114.916266, - 32.971251 - ], - [ - 114.883006, - 32.990328 - ], - [ - 114.891629, - 33.020441 - ], - [ - 114.925506, - 33.016928 - ], - [ - 114.913187, - 33.083143 - ], - [ - 114.897172, - 33.086653 - ], - [ - 114.902716, - 33.129764 - ], - [ - 114.932897, - 33.153817 - ], - [ - 114.966158, - 33.147304 - ], - [ - 114.990795, - 33.102195 - ], - [ - 115.041302, - 33.086653 - ], - [ - 115.168186, - 33.088658 - ], - [ - 115.194671, - 33.120743 - ], - [ - 115.245178, - 33.135778 - ], - [ - 115.289526, - 33.131769 - ], - [ - 115.303692, - 33.149809 - ], - [ - 115.300613, - 33.204407 - ], - [ - 115.340033, - 33.260973 - ], - [ - 115.335105, - 33.297997 - ], - [ - 115.361591, - 33.298497 - ], - [ - 115.365286, - 33.336005 - ], - [ - 115.341881, - 33.370997 - ], - [ - 115.313547, - 33.376994 - ], - [ - 115.328946, - 33.403477 - ], - [ - 115.315395, - 33.431451 - ], - [ - 115.324634, - 33.457418 - ], - [ - 115.345576, - 33.449928 - ], - [ - 115.345576, - 33.502842 - ], - [ - 115.366518, - 33.5233 - ], - [ - 115.394851, - 33.506335 - ], - [ - 115.422569, - 33.557219 - ], - [ - 115.463837, - 33.567193 - ], - [ - 115.511264, - 33.55323 - ], - [ - 115.564851, - 33.576169 - ], - [ - 115.639995, - 33.585143 - ], - [ - 115.601191, - 33.658898 - ], - [ - 115.601807, - 33.718653 - ], - [ - 115.563003, - 33.772895 - ], - [ - 115.576553, - 33.787817 - ], - [ - 115.614126, - 33.775879 - ], - [ - 115.631988, - 33.869846 - ], - [ - 115.547604, - 33.874815 - ], - [ - 115.577785, - 33.950307 - ], - [ - 115.579017, - 33.974133 - ], - [ - 115.60735, - 34.030196 - ], - [ - 115.642459, - 34.03218 - ], - [ - 115.658473, - 34.061437 - ], - [ - 115.705901, - 34.059949 - ], - [ - 115.736082, - 34.076805 - ], - [ - 115.768726, - 34.061932 - ], - [ - 115.809378, - 34.062428 - ], - [ - 115.846335, - 34.028708 - ], - [ - 115.85003, - 34.004898 - ], - [ - 115.877132, - 34.002913 - ], - [ - 115.876516, - 34.028708 - ], - [ - 115.904233, - 34.009859 - ], - [ - 115.95782, - 34.007875 - ], - [ - 116.00032, - 33.965199 - ], - [ - 115.982457, - 33.917039 - ], - [ - 116.05945, - 33.860902 - ], - [ - 116.055754, - 33.804727 - ], - [ - 116.074232, - 33.781351 - ], - [ - 116.100102, - 33.782843 - ], - [ - 116.132747, - 33.751501 - ], - [ - 116.155536, - 33.709693 - ], - [ - 116.230065, - 33.735078 - ], - [ - 116.263326, - 33.730101 - ], - [ - 116.316912, - 33.771402 - ], - [ - 116.393905, - 33.782843 - ], - [ - 116.408071, - 33.805721 - ], - [ - 116.437021, - 33.801246 - ], - [ - 116.437637, - 33.846489 - ], - [ - 116.486296, - 33.869846 - ], - [ - 116.558361, - 33.881274 - ], - [ - 116.566984, - 33.9081 - ], - [ - 116.631042, - 33.887733 - ], - [ - 116.64336, - 33.896675 - ], - [ - 116.641512, - 33.978103 - ], - [ - 116.599629, - 34.014324 - ], - [ - 116.599629, - 34.014324 - ], - [ - 116.576223, - 34.068873 - ], - [ - 116.576223, - 34.068873 - ], - [ - 116.52818, - 34.122892 - ], - [ - 116.536187, - 34.151127 - ], - [ - 116.565752, - 34.16945 - ], - [ - 116.542962, - 34.203608 - ], - [ - 116.545426, - 34.241711 - ], - [ - 116.582382, - 34.266444 - ], - [ - 116.562056, - 34.285731 - ], - [ - 116.516477, - 34.296114 - ], - [ - 116.456731, - 34.268917 - ], - [ - 116.409303, - 34.273863 - ], - [ - 116.409303, - 34.273863 - ], - [ - 116.372347, - 34.26595 - ], - [ - 116.357564, - 34.319843 - ], - [ - 116.301514, - 34.342082 - ], - [ - 116.255934, - 34.376665 - ], - [ - 116.213435, - 34.382098 - ], - [ - 116.215898, - 34.403333 - ], - [ - 116.178942, - 34.430487 - ], - [ - 116.162312, - 34.459605 - ], - [ - 116.178326, - 34.496112 - ], - [ - 116.204196, - 34.508442 - ], - [ - 116.191261, - 34.535561 - ], - [ - 116.196804, - 34.575977 - ], - [ - 116.156768, - 34.5538 - ], - [ - 116.134594, - 34.559715 - ], - [ - 116.101334, - 34.60603 - ], - [ - 116.037276, - 34.593222 - ], - [ - 115.991081, - 34.615389 - ], - [ - 115.984305, - 34.589281 - ], - [ - 115.838328, - 34.5676 - ], - [ - 115.827241, - 34.558236 - ], - [ - 115.787821, - 34.580905 - ], - [ - 115.697278, - 34.594207 - ], - [ - 115.685575, - 34.556265 - ], - [ - 115.622749, - 34.574499 - ], - [ - 115.553148, - 34.568586 - ], - [ - 115.515575, - 34.582383 - ], - [ - 115.461373, - 34.637057 - ], - [ - 115.433655, - 34.725149 - ], - [ - 115.449054, - 34.74433 - ], - [ - 115.42688, - 34.805285 - ], - [ - 115.317243, - 34.859321 - ], - [ - 115.256265, - 34.845079 - ], - [ - 115.239019, - 34.87798 - ], - [ - 115.251953, - 34.906451 - ], - [ - 115.205142, - 34.914303 - ], - [ - 115.219309, - 34.96042 - ], - [ - 115.157099, - 34.957968 - ], - [ - 115.12815, - 35.00455 - ], - [ - 115.075179, - 35.000628 - ], - [ - 115.028983, - 34.9717 - ], - [ - 115.008041, - 34.988372 - ], - [ - 114.950759, - 34.989843 - ], - [ - 114.923658, - 34.968757 - ], - [ - 114.880542, - 35.00357 - ], - [ - 114.824492, - 35.012393 - ], - [ - 114.852209, - 35.041797 - ], - [ - 114.818948, - 35.051596 - ], - [ - 114.835578, - 35.076578 - ], - [ - 114.883006, - 35.098615 - ], - [ - 114.841738, - 35.15099 - ], - [ - 114.861448, - 35.182301 - ], - [ - 114.932281, - 35.198441 - ], - [ - 114.929201, - 35.244886 - ], - [ - 114.957534, - 35.261014 - ], - [ - 115.04315, - 35.376744 - ], - [ - 115.073947, - 35.374304 - ], - [ - 115.091809, - 35.416259 - ], - [ - 115.117679, - 35.400163 - ], - [ - 115.126302, - 35.41821 - ], - [ - 115.172497, - 35.426501 - ], - [ - 115.237171, - 35.423087 - ], - [ - 115.307388, - 35.480126 - ], - [ - 115.356047, - 35.490359 - ], - [ - 115.34496, - 35.55368 - ], - [ - 115.383148, - 35.568772 - ], - [ - 115.48601, - 35.710306 - ], - [ - 115.52851, - 35.733628 - ], - [ - 115.622749, - 35.739457 - ], - [ - 115.693582, - 35.754028 - ], - [ - 115.696046, - 35.788989 - ], - [ - 115.73485, - 35.833154 - ], - [ - 115.773654, - 35.854014 - ], - [ - 115.81677, - 35.844312 - ], - [ - 115.859886, - 35.857894 - ], - [ - 115.882675, - 35.879718 - ], - [ - 115.873436, - 35.918985 - ], - [ - 115.907929, - 35.92674 - ], - [ - 115.911624, - 35.960171 - ], - [ - 115.984921, - 35.974218 - ], - [ - 116.048979, - 35.970343 - ], - [ - 116.063145, - 36.028927 - ], - [ - 116.099486, - 36.112129 - ], - [ - 116.057602, - 36.104877 - ], - [ - 115.989849, - 36.045381 - ], - [ - 115.89869, - 36.026507 - ], - [ - 115.859886, - 36.003756 - ], - [ - 115.817386, - 36.012954 - ], - [ - 115.779813, - 35.993588 - ], - [ - 115.774886, - 35.974702 - ], - [ - 115.699125, - 35.966468 - ], - [ - 115.648618, - 35.922863 - ], - [ - 115.583945, - 35.921893 - ], - [ - 115.513112, - 35.890385 - ], - [ - 115.487858, - 35.880688 - ], - [ - 115.460141, - 35.867594 - ], - [ - 115.407786, - 35.80889 - ], - [ - 115.363438, - 35.779765 - ], - [ - 115.335105, - 35.796756 - ], - [ - 115.364054, - 35.894264 - ], - [ - 115.353583, - 35.938854 - ], - [ - 115.362822, - 35.971796 - ], - [ - 115.447822, - 36.01247 - ], - [ - 115.449054, - 36.047317 - ], - [ - 115.484163, - 36.125666 - ], - [ - 115.483547, - 36.148865 - ], - [ - 115.465068, - 36.170125 - ], - [ - 115.450902, - 36.152248 - ], - [ - 115.376989, - 36.128083 - ], - [ - 115.365902, - 36.099074 - ], - [ - 115.312931, - 36.088436 - ], - [ - 115.30246, - 36.127599 - ], - [ - 115.279055, - 36.13775 - ], - [ - 115.242098, - 36.19138 - ], - [ - 115.202678, - 36.208765 - ], - [ - 115.202678, - 36.208765 - ], - [ - 115.202678, - 36.209248 - ], - [ - 115.202678, - 36.209248 - ], - [ - 115.201446, - 36.210214 - ], - [ - 115.201446, - 36.210214 - ], - [ - 115.1842, - 36.193312 - ], - [ - 115.12507, - 36.209731 - ], - [ - 115.104744, - 36.172058 - ], - [ - 115.06286, - 36.178338 - ], - [ - 115.048693, - 36.161912 - ], - [ - 115.04623, - 36.112613 - ], - [ - 114.998186, - 36.069572 - ], - [ - 114.914419, - 36.052155 - ], - [ - 114.926737, - 36.089403 - ], - [ - 114.912571, - 36.140649 - ], - [ - 114.858368, - 36.144516 - ], - [ - 114.857752, - 36.127599 - ], - [ - 114.771521, - 36.124699 - ], - [ - 114.734564, - 36.15563 - ], - [ - 114.720398, - 36.140166 - ], - [ - 114.640326, - 36.137266 - ], - [ - 114.588587, - 36.118414 - ], - [ - 114.586739, - 36.141133 - ], - [ - 114.533152, - 36.171575 - ], - [ - 114.480181, - 36.177855 - ], - [ - 114.466015, - 36.197658 - ], - [ - 114.417356, - 36.205868 - ], - [ - 114.408117, - 36.224699 - ], - [ - 114.356378, - 36.230492 - ], - [ - 114.345291, - 36.255591 - ], - [ - 114.299095, - 36.245938 - ], - [ - 114.257827, - 36.263794 - ], - [ - 114.241197, - 36.251247 - ], - [ - 114.2104, - 36.272962 - ], - [ - 114.203009, - 36.245456 - ], - [ - 114.170364, - 36.245938 - ], - [ - 114.170364, - 36.245938 - ], - [ - 114.175907, - 36.264759 - ], - [ - 114.129096, - 36.280199 - ], - [ - 114.080437, - 36.269585 - ], - [ - 114.04348, - 36.303353 - ], - [ - 114.056415, - 36.329392 - ], - [ - 114.002828, - 36.334214 - ], - [ - 113.981887, - 36.31782 - ], - [ - 113.962792, - 36.353977 - ], - [ - 113.911054, - 36.314927 - ], - [ - 113.882104, - 36.353977 - ], - [ - 113.84946, - 36.347711 - ], - [ - 113.856851, - 36.329392 - ], - [ - 113.813119, - 36.332285 - ], - [ - 113.755221, - 36.366026 - ], - [ - 113.731199, - 36.363135 - ], - [ - 113.736127, - 36.324571 - ], - [ - 113.712105, - 36.303353 - ], - [ - 113.716417, - 36.262347 - ], - [ - 113.681924, - 36.216491 - ], - [ - 113.697939, - 36.181719 - ], - [ - 113.651127, - 36.174473 - ], - [ - 113.705946, - 36.148865 - ], - [ - 113.712721, - 36.129533 - ], - [ - 113.655439, - 36.125182 - ], - [ - 113.671453, - 36.115514 - ], - [ - 113.68562, - 36.056026 - ], - [ - 113.660366, - 36.034735 - ], - [ - 113.694859, - 36.026991 - ], - [ - 113.678844, - 35.985841 - ], - [ - 113.648663, - 35.994073 - ], - [ - 113.654207, - 35.931586 - ], - [ - 113.637576, - 35.870019 - ], - [ - 113.660982, - 35.837035 - ], - [ - 113.582758, - 35.818111 - ], - [ - 113.604932, - 35.797727 - ], - [ - 113.587685, - 35.736542 - ], - [ - 113.592613, - 35.691838 - ], - [ - 113.622794, - 35.674825 - ], - [ - 113.625258, - 35.632518 - ], - [ - 113.578446, - 35.633491 - ], - [ - 113.547649, - 35.656835 - ], - [ - 113.55812, - 35.621816 - ], - [ - 113.513773, - 35.57364 - ], - [ - 113.49899, - 35.532254 - ], - [ - 113.439244, - 35.507412 - ], - [ - 113.391817, - 35.506925 - ], - [ - 113.348085, - 35.468429 - ], - [ - 113.31236, - 35.481101 - ], - [ - 113.304353, - 35.426989 - ], - [ - 113.243375, - 35.449418 - ], - [ - 113.189789, - 35.44893 - ], - [ - 113.185477, - 35.409431 - ], - [ - 113.165151, - 35.412845 - ], - [ - 113.149137, - 35.350878 - ], - [ - 113.126347, - 35.332327 - ], - [ - 113.067217, - 35.353806 - ], - [ - 112.996384, - 35.362104 - ], - [ - 112.985913, - 35.33965 - ], - [ - 112.992072, - 35.29619 - ], - [ - 112.936022, - 35.284466 - ], - [ - 112.934174, - 35.262968 - ], - [ - 112.884283, - 35.243909 - ], - [ - 112.822073, - 35.258082 - ], - [ - 112.772798, - 35.207732 - ], - [ - 112.720443, - 35.206265 - ], - [ - 112.628052, - 35.263457 - ], - [ - 112.637291, - 35.225822 - ], - [ - 112.513487, - 35.218489 - ], - [ - 112.390915, - 35.239021 - ], - [ - 112.36751, - 35.219956 - ], - [ - 112.288053, - 35.219956 - ], - [ - 112.304684, - 35.251728 - ], - [ - 112.242474, - 35.234622 - ], - [ - 112.21722, - 35.253195 - ], - [ - 112.13838, - 35.271275 - ], - [ - 112.058924, - 35.280069 - ], - [ - 112.078634, - 35.219467 - ], - [ - 112.03983, - 35.194039 - ], - [ - 112.066315, - 35.153437 - ], - [ - 112.05646, - 35.098615 - ], - [ - 112.062004, - 35.056005 - ], - [ - 112.039214, - 35.045717 - ], - [ - 112.018888, - 35.068742 - ], - [ - 111.97762, - 35.067272 - ], - [ - 111.933272, - 35.083435 - ], - [ - 111.810084, - 35.062374 - ], - [ - 111.807005, - 35.032977 - ], - [ - 111.740483, - 35.00455 - ], - [ - 111.664107, - 34.984449 - ], - [ - 111.681969, - 34.9511 - ], - [ - 111.646861, - 34.938836 - ], - [ - 111.617911, - 34.894671 - ], - [ - 111.592042, - 34.881416 - ], - [ - 111.570484, - 34.843114 - ], - [ - 111.543999, - 34.853428 - ], - [ - 111.502731, - 34.829851 - ], - [ - 111.439289, - 34.838202 - ], - [ - 111.389398, - 34.815113 - ], - [ - 111.345666, - 34.831816 - ], - [ - 111.29208, - 34.806759 - ], - [ - 111.255123, - 34.819535 - ], - [ - 111.232949, - 34.789559 - ], - [ - 111.148566, - 34.807742 - ], - [ - 111.118385, - 34.756623 - ], - [ - 111.035233, - 34.740887 - ], - [ - 110.976103, - 34.706456 - ], - [ - 110.920052, - 34.730068 - ], - [ - 110.903422, - 34.669056 - ], - [ - 110.883712, - 34.64395 - ], - [ - 110.824582, - 34.615881 - ], - [ - 110.791937, - 34.649858 - ], - [ - 110.749437, - 34.65232 - ], - [ - 110.710017, - 34.605045 - ], - [ - 110.610851, - 34.607508 - ], - [ - 110.533242, - 34.583368 - ], - [ - 110.488279, - 34.610956 - ], - [ - 110.424837, - 34.588295 - ], - [ - 110.379257, - 34.600612 - ], - [ - 110.366939, - 34.566614 - ], - [ - 110.404511, - 34.557743 - ], - [ - 110.372482, - 34.544435 - ], - [ - 110.360779, - 34.516825 - ], - [ - 110.403279, - 34.433448 - ], - [ - 110.403279, - 34.433448 - ], - [ - 110.473496, - 34.393457 - ], - [ - 110.503677, - 34.33714 - ], - [ - 110.451938, - 34.292653 - ], - [ - 110.428533, - 34.288203 - ], - [ - 110.43962, - 34.243196 - ], - [ - 110.507989, - 34.217466 - ], - [ - 110.55172, - 34.213012 - ], - [ - 110.55788, - 34.193214 - ], - [ - 110.621938, - 34.177372 - ], - [ - 110.642264, - 34.161032 - ], - [ - 110.61393, - 34.113478 - ], - [ - 110.591757, - 34.101586 - ], - [ - 110.587445, - 34.023252 - ], - [ - 110.620706, - 34.035652 - ], - [ - 110.671213, - 33.966192 - ], - [ - 110.665669, - 33.937895 - ], - [ - 110.627481, - 33.925482 - ], - [ - 110.628713, - 33.910086 - ], - [ - 110.587445, - 33.887733 - ], - [ - 110.612083, - 33.852453 - ], - [ - 110.66259, - 33.85295 - ], - [ - 110.712481, - 33.833564 - ], - [ - 110.74143, - 33.798759 - ], - [ - 110.782082, - 33.796272 - ], - [ - 110.81719, - 33.751003 - ], - [ - 110.831973, - 33.713675 - ], - [ - 110.823966, - 33.685793 - ], - [ - 110.878784, - 33.634486 - ], - [ - 110.966864, - 33.609071 - ], - [ - 111.00382, - 33.578662 - ], - [ - 111.002588, - 33.535772 - ], - [ - 111.02661, - 33.478386 - ], - [ - 111.02661, - 33.467903 - ], - [ - 110.996429, - 33.435946 - ], - [ - 111.025994, - 33.375495 - ], - [ - 111.025994, - 33.330504 - ], - [ - 110.984726, - 33.255469 - ], - [ - 111.046936, - 33.202905 - ], - [ - 111.045704, - 33.169849 - ], - [ - 111.08882, - 33.181871 - ], - [ - 111.12824, - 33.15532 - ], - [ - 111.146102, - 33.12375 - ], - [ - 111.179363, - 33.115229 - ], - [ - 111.192913, - 33.071609 - ], - [ - 111.152877, - 33.039507 - ], - [ - 111.221862, - 33.042517 - ], - [ - 111.258819, - 33.006389 - ], - [ - 111.273601, - 32.971753 - ], - [ - 111.242804, - 32.930573 - ], - [ - 111.255123, - 32.883846 - ], - [ - 111.276065, - 32.903445 - ], - [ - 111.293311, - 32.859217 - ], - [ - 111.380159, - 32.829049 - ], - [ - 111.41342, - 32.757108 - ], - [ - 111.475629, - 32.760127 - ], - [ - 111.458383, - 32.726402 - ], - [ - 111.513202, - 32.674026 - ], - [ - 111.530448, - 32.628172 - ], - [ - 111.577875, - 32.593388 - ], - [ - 111.640701, - 32.634724 - ], - [ - 111.646245, - 32.605993 - ], - [ - 111.713382, - 32.606497 - ], - [ - 111.808853, - 32.536899 - ], - [ - 111.858128, - 32.528826 - ], - [ - 111.890157, - 32.503089 - ], - [ - 111.948671, - 32.51722 - ], - [ - 111.975772, - 32.471791 - ], - [ - 112.014576, - 32.450077 - ], - [ - 112.063851, - 32.474315 - ], - [ - 112.081098, - 32.425833 - ], - [ - 112.155626, - 32.377326 - ], - [ - 112.150083, - 32.411688 - ], - [ - 112.172873, - 32.385412 - ], - [ - 112.206133, - 32.392992 - ], - [ - 112.328089, - 32.321712 - ], - [ - 112.360118, - 32.3657 - ], - [ - 112.390915, - 32.37126 - ], - [ - 112.448814, - 32.34295 - ], - [ - 112.477147, - 32.380863 - ], - [ - 112.530733, - 32.37682 - ], - [ - 112.545516, - 32.404109 - ], - [ - 112.589248, - 32.381369 - ], - [ - 112.612037, - 32.386928 - ], - [ - 112.645298, - 32.368227 - ], - [ - 112.716747, - 32.357612 - ] - ] - ], - [ - [ - [ - 113.768156, - 32.284279 - ], - [ - 113.768772, - 32.30148 - ], - [ - 113.749061, - 32.272642 - ], - [ - 113.758301, - 32.27669 - ], - [ - 113.768156, - 32.284279 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 420000, - "name": "湖北省", - "center": [ - 114.298572, - 30.584355 - ], - "centroid": [ - 112.271301, - 30.987527 - ], - "childrenNum": 17, - "cp": [112.2363, 30.8572], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 16, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 111.045704, - 33.169849 - ], - [ - 111.034001, - 33.177864 - ], - [ - 111.035849, - 33.187881 - ], - [ - 111.046936, - 33.202905 - ], - [ - 110.984726, - 33.255469 - ], - [ - 110.960704, - 33.253967 - ], - [ - 110.9219, - 33.203907 - ], - [ - 110.865234, - 33.213921 - ], - [ - 110.828893, - 33.201403 - ], - [ - 110.824582, - 33.158327 - ], - [ - 110.753133, - 33.15031 - ], - [ - 110.702626, - 33.097182 - ], - [ - 110.650887, - 33.157324 - ], - [ - 110.623785, - 33.143796 - ], - [ - 110.59422, - 33.168346 - ], - [ - 110.57759, - 33.250464 - ], - [ - 110.54125, - 33.255469 - ], - [ - 110.471032, - 33.171352 - ], - [ - 110.398352, - 33.176862 - ], - [ - 110.398352, - 33.176862 - ], - [ - 110.372482, - 33.186379 - ], - [ - 110.33799, - 33.160331 - ], - [ - 110.285635, - 33.171352 - ], - [ - 110.218497, - 33.163336 - ], - [ - 110.164911, - 33.209415 - ], - [ - 110.031252, - 33.191888 - ], - [ - 109.999223, - 33.212419 - ], - [ - 109.973353, - 33.203907 - ], - [ - 109.916687, - 33.229942 - ], - [ - 109.852013, - 33.247961 - ], - [ - 109.813209, - 33.236449 - ], - [ - 109.732521, - 33.231443 - ], - [ - 109.693101, - 33.254468 - ], - [ - 109.649985, - 33.251465 - ], - [ - 109.619804, - 33.275484 - ], - [ - 109.60687, - 33.235949 - ], - [ - 109.514479, - 33.237951 - ], - [ - 109.498464, - 33.207412 - ], - [ - 109.438718, - 33.152314 - ], - [ - 109.468283, - 33.140288 - ], - [ - 109.522486, - 33.138785 - ], - [ - 109.576073, - 33.110216 - ], - [ - 109.688174, - 33.116733 - ], - [ - 109.704188, - 33.101694 - ], - [ - 109.794731, - 33.067095 - ], - [ - 109.785492, - 32.987316 - ], - [ - 109.76455, - 32.909474 - ], - [ - 109.789804, - 32.882339 - ], - [ - 109.847702, - 32.893395 - ], - [ - 109.856941, - 32.910479 - ], - [ - 109.907448, - 32.903947 - ], - [ - 109.927158, - 32.887364 - ], - [ - 109.988752, - 32.886359 - ], - [ - 110.051578, - 32.851676 - ], - [ - 110.105164, - 32.832569 - ], - [ - 110.142121, - 32.802895 - ], - [ - 110.127338, - 32.77774 - ], - [ - 110.159367, - 32.767173 - ], - [ - 110.156903, - 32.683093 - ], - [ - 110.206179, - 32.633212 - ], - [ - 110.153824, - 32.593388 - ], - [ - 110.124259, - 32.616579 - ], - [ - 110.090382, - 32.617083 - ], - [ - 110.084223, - 32.580782 - ], - [ - 110.017701, - 32.546989 - ], - [ - 109.97089, - 32.577756 - ], - [ - 109.910528, - 32.592884 - ], - [ - 109.816905, - 32.577252 - ], - [ - 109.746072, - 32.594901 - ], - [ - 109.726978, - 32.608513 - ], - [ - 109.631507, - 32.599943 - ], - [ - 109.619804, - 32.56767 - ], - [ - 109.637051, - 32.540935 - ], - [ - 109.575457, - 32.506622 - ], - [ - 109.526797, - 32.43341 - ], - [ - 109.529877, - 32.405625 - ], - [ - 109.502776, - 32.38895 - ], - [ - 109.513247, - 32.342444 - ], - [ - 109.495385, - 32.300468 - ], - [ - 109.528645, - 32.270112 - ], - [ - 109.550203, - 32.225065 - ], - [ - 109.592703, - 32.219495 - ], - [ - 109.604406, - 32.199241 - ], - [ - 109.58716, - 32.161251 - ], - [ - 109.621652, - 32.106519 - ], - [ - 109.590855, - 32.047696 - ], - [ - 109.590855, - 32.012688 - ], - [ - 109.631507, - 31.962436 - ], - [ - 109.62042, - 31.928412 - ], - [ - 109.584696, - 31.900472 - ], - [ - 109.60379, - 31.885737 - ], - [ - 109.633971, - 31.824738 - ], - [ - 109.633971, - 31.804396 - ], - [ - 109.592087, - 31.789136 - ], - [ - 109.585928, - 31.726546 - ], - [ - 109.622268, - 31.711783 - ], - [ - 109.683246, - 31.719929 - ], - [ - 109.731289, - 31.700582 - ], - [ - 109.737449, - 31.628761 - ], - [ - 109.76455, - 31.602769 - ], - [ - 109.745456, - 31.598182 - ], - [ - 109.727594, - 31.548214 - ], - [ - 109.837847, - 31.555354 - ], - [ - 109.894513, - 31.519139 - ], - [ - 109.969658, - 31.508935 - ], - [ - 109.94502, - 31.47066 - ], - [ - 109.98752, - 31.474744 - ], - [ - 110.036795, - 31.436966 - ], - [ - 110.054042, - 31.410921 - ], - [ - 110.118715, - 31.409899 - ], - [ - 110.161831, - 31.314338 - ], - [ - 110.155671, - 31.279564 - ], - [ - 110.180309, - 31.179774 - ], - [ - 110.200019, - 31.158779 - ], - [ - 110.180309, - 31.121899 - ], - [ - 110.147048, - 31.116776 - ], - [ - 110.119947, - 31.088592 - ], - [ - 110.120563, - 31.0322 - ], - [ - 110.140273, - 31.030661 - ], - [ - 110.140889, - 30.987062 - ], - [ - 110.172918, - 30.978853 - ], - [ - 110.153824, - 30.953708 - ], - [ - 110.151976, - 30.911613 - ], - [ - 110.082375, - 30.799614 - ], - [ - 110.048498, - 30.800642 - ], - [ - 110.019549, - 30.829425 - ], - [ - 110.008462, - 30.883369 - ], - [ - 109.943788, - 30.878746 - ], - [ - 109.894513, - 30.899803 - ], - [ - 109.828608, - 30.864364 - ], - [ - 109.780564, - 30.848437 - ], - [ - 109.701724, - 30.783677 - ], - [ - 109.656761, - 30.760538 - ], - [ - 109.661072, - 30.738936 - ], - [ - 109.625348, - 30.702923 - ], - [ - 109.590855, - 30.69366 - ], - [ - 109.574225, - 30.646818 - ], - [ - 109.543428, - 30.63961 - ], - [ - 109.535421, - 30.664837 - ], - [ - 109.435638, - 30.595832 - ], - [ - 109.418392, - 30.559766 - ], - [ - 109.35495, - 30.487076 - ], - [ - 109.337088, - 30.521623 - ], - [ - 109.36111, - 30.551004 - ], - [ - 109.314298, - 30.599953 - ], - [ - 109.299516, - 30.630341 - ], - [ - 109.245313, - 30.580892 - ], - [ - 109.191726, - 30.545851 - ], - [ - 109.191726, - 30.545851 - ], - [ - 109.143683, - 30.521108 - ], - [ - 109.103647, - 30.565949 - ], - [ - 109.09256, - 30.578831 - ], - [ - 109.106111, - 30.61077 - ], - [ - 109.111654, - 30.646303 - ], - [ - 109.071002, - 30.640125 - ], - [ - 109.042669, - 30.655571 - ], - [ - 109.006329, - 30.626736 - ], - [ - 108.971836, - 30.627766 - ], - [ - 108.893612, - 30.565434 - ], - [ - 108.838793, - 30.503062 - ], - [ - 108.808612, - 30.491202 - ], - [ - 108.789518, - 30.513374 - ], - [ - 108.743939, - 30.494812 - ], - [ - 108.698975, - 30.54482 - ], - [ - 108.688504, - 30.58759 - ], - [ - 108.642925, - 30.578831 - ], - [ - 108.6497, - 30.53915 - ], - [ - 108.56778, - 30.468508 - ], - [ - 108.556077, - 30.487592 - ], - [ - 108.512961, - 30.501515 - ], - [ - 108.472925, - 30.487076 - ], - [ - 108.42673, - 30.492233 - ], - [ - 108.411331, - 30.438586 - ], - [ - 108.430425, - 30.416397 - ], - [ - 108.402092, - 30.376649 - ], - [ - 108.431041, - 30.354446 - ], - [ - 108.460606, - 30.35961 - ], - [ - 108.501258, - 30.314673 - ], - [ - 108.524048, - 30.309506 - ], - [ - 108.54499, - 30.269716 - ], - [ - 108.581947, - 30.255759 - ], - [ - 108.551766, - 30.1637 - ], - [ - 108.56778, - 30.157491 - ], - [ - 108.546222, - 30.104178 - ], - [ - 108.513577, - 30.057571 - ], - [ - 108.532055, - 30.051873 - ], - [ - 108.536367, - 29.983472 - ], - [ - 108.517889, - 29.9394 - ], - [ - 108.516041, - 29.885451 - ], - [ - 108.467998, - 29.864175 - ], - [ - 108.433505, - 29.880262 - ], - [ - 108.371295, - 29.841337 - ], - [ - 108.424266, - 29.815897 - ], - [ - 108.422418, - 29.772791 - ], - [ - 108.442744, - 29.778505 - ], - [ - 108.437201, - 29.741098 - ], - [ - 108.460606, - 29.741098 - ], - [ - 108.504338, - 29.707836 - ], - [ - 108.504954, - 29.728626 - ], - [ - 108.548686, - 29.749412 - ], - [ - 108.52528, - 29.770713 - ], - [ - 108.556077, - 29.818493 - ], - [ - 108.601041, - 29.863656 - ], - [ - 108.658939, - 29.854833 - ], - [ - 108.680497, - 29.800319 - ], - [ - 108.676801, - 29.749412 - ], - [ - 108.690968, - 29.689642 - ], - [ - 108.752562, - 29.649082 - ], - [ - 108.786438, - 29.691721 - ], - [ - 108.797525, - 29.660003 - ], - [ - 108.781511, - 29.635558 - ], - [ - 108.844337, - 29.658443 - ], - [ - 108.888068, - 29.628795 - ], - [ - 108.870206, - 29.596537 - ], - [ - 108.901003, - 29.604863 - ], - [ - 108.913322, - 29.574679 - ], - [ - 108.878213, - 29.539279 - ], - [ - 108.888684, - 29.502305 - ], - [ - 108.866511, - 29.470527 - ], - [ - 108.884373, - 29.440824 - ], - [ - 108.927488, - 29.435612 - ], - [ - 108.934264, - 29.399643 - ], - [ - 108.919481, - 29.3261 - ], - [ - 108.983539, - 29.332883 - ], - [ - 108.999553, - 29.36366 - ], - [ - 109.034662, - 29.360531 - ], - [ - 109.060531, - 29.403292 - ], - [ - 109.11227, - 29.361053 - ], - [ - 109.106727, - 29.288526 - ], - [ - 109.141835, - 29.270256 - ], - [ - 109.110422, - 29.21647 - ], - [ - 109.139372, - 29.168927 - ], - [ - 109.162777, - 29.180946 - ], - [ - 109.215748, - 29.145409 - ], - [ - 109.232378, - 29.119271 - ], - [ - 109.274262, - 29.121885 - ], - [ - 109.261328, - 29.161089 - ], - [ - 109.275494, - 29.202366 - ], - [ - 109.257632, - 29.222738 - ], - [ - 109.312451, - 29.25146 - ], - [ - 109.352487, - 29.284872 - ], - [ - 109.343863, - 29.369398 - ], - [ - 109.391291, - 29.372005 - ], - [ - 109.368501, - 29.413719 - ], - [ - 109.418392, - 29.453332 - ], - [ - 109.415928, - 29.497617 - ], - [ - 109.436254, - 29.488761 - ], - [ - 109.433791, - 29.530948 - ], - [ - 109.458428, - 29.513242 - ], - [ - 109.467051, - 29.560104 - ], - [ - 109.488609, - 29.553336 - ], - [ - 109.516326, - 29.626194 - ], - [ - 109.558826, - 29.606944 - ], - [ - 109.578536, - 29.629836 - ], - [ - 109.651833, - 29.625674 - ], - [ - 109.664768, - 29.599659 - ], - [ - 109.717739, - 29.615269 - ], - [ - 109.701108, - 29.636078 - ], - [ - 109.714659, - 29.673524 - ], - [ - 109.760238, - 29.689122 - ], - [ - 109.755311, - 29.733304 - ], - [ - 109.779333, - 29.757725 - ], - [ - 109.869876, - 29.774869 - ], - [ - 109.908064, - 29.763959 - ], - [ - 109.941325, - 29.774349 - ], - [ - 110.02386, - 29.769674 - ], - [ - 110.113788, - 29.789932 - ], - [ - 110.160599, - 29.753569 - ], - [ - 110.219729, - 29.746814 - ], - [ - 110.289946, - 29.6964 - ], - [ - 110.302265, - 29.661563 - ], - [ - 110.339221, - 29.668324 - ], - [ - 110.372482, - 29.633477 - ], - [ - 110.447011, - 29.664684 - ], - [ - 110.467337, - 29.713034 - ], - [ - 110.507373, - 29.692241 - ], - [ - 110.562807, - 29.712515 - ], - [ - 110.642879, - 29.775907 - ], - [ - 110.60038, - 29.839779 - ], - [ - 110.549873, - 29.848085 - ], - [ - 110.538786, - 29.895828 - ], - [ - 110.49875, - 29.91243 - ], - [ - 110.517228, - 29.961179 - ], - [ - 110.557264, - 29.988137 - ], - [ - 110.491358, - 30.019751 - ], - [ - 110.497518, - 30.055499 - ], - [ - 110.531394, - 30.061197 - ], - [ - 110.600996, - 30.054463 - ], - [ - 110.650887, - 30.07777 - ], - [ - 110.712481, - 30.033223 - ], - [ - 110.756212, - 30.054463 - ], - [ - 110.746973, - 30.112979 - ], - [ - 110.851067, - 30.126439 - ], - [ - 110.924364, - 30.111426 - ], - [ - 110.929907, - 30.063268 - ], - [ - 111.031537, - 30.048765 - ], - [ - 111.242188, - 30.040476 - ], - [ - 111.266826, - 30.01146 - ], - [ - 111.3315, - 29.970512 - ], - [ - 111.342587, - 29.944586 - ], - [ - 111.382623, - 29.95029 - ], - [ - 111.394325, - 29.912948 - ], - [ - 111.436825, - 29.930065 - ], - [ - 111.475629, - 29.918654 - ], - [ - 111.527368, - 29.925916 - ], - [ - 111.553854, - 29.894272 - ], - [ - 111.669034, - 29.888565 - ], - [ - 111.669034, - 29.888565 - ], - [ - 111.705375, - 29.890121 - ], - [ - 111.723853, - 29.909317 - ], - [ - 111.723853, - 29.909317 - ], - [ - 111.75773, - 29.92021 - ], - [ - 111.8107, - 29.901017 - ], - [ - 111.861207, - 29.856909 - ], - [ - 111.899396, - 29.855871 - ], - [ - 111.899396, - 29.855871 - ], - [ - 111.925881, - 29.836665 - ], - [ - 111.965917, - 29.832512 - ], - [ - 111.95483, - 29.796683 - ], - [ - 112.008417, - 29.778505 - ], - [ - 112.07617, - 29.743696 - ], - [ - 112.065699, - 29.681323 - ], - [ - 112.089721, - 29.685482 - ], - [ - 112.111279, - 29.659483 - ], - [ - 112.178416, - 29.656883 - ], - [ - 112.202438, - 29.633997 - ], - [ - 112.244322, - 29.659483 - ], - [ - 112.233851, - 29.61631 - ], - [ - 112.303452, - 29.585609 - ], - [ - 112.281278, - 29.536676 - ], - [ - 112.291133, - 29.517409 - ], - [ - 112.333017, - 29.545007 - ], - [ - 112.368741, - 29.541362 - ], - [ - 112.424792, - 29.598619 - ], - [ - 112.439574, - 29.633997 - ], - [ - 112.499321, - 29.629316 - ], - [ - 112.54182, - 29.60122 - ], - [ - 112.572001, - 29.624113 - ], - [ - 112.640371, - 29.607985 - ], - [ - 112.650842, - 29.592374 - ], - [ - 112.693957, - 29.601741 - ], - [ - 112.714283, - 29.648561 - ], - [ - 112.733378, - 29.645441 - ], - [ - 112.788812, - 29.681323 - ], - [ - 112.79374, - 29.735902 - ], - [ - 112.861493, - 29.78318 - ], - [ - 112.894138, - 29.783699 - ], - [ - 112.902145, - 29.79149 - ], - [ - 112.929246, - 29.77383 - ], - [ - 112.923703, - 29.766557 - ], - [ - 112.926782, - 29.692241 - ], - [ - 112.944645, - 29.682883 - ], - [ - 112.974826, - 29.732784 - ], - [ - 113.025949, - 29.772791 - ], - [ - 113.005007, - 29.693801 - ], - [ - 112.915696, - 29.620992 - ], - [ - 112.912, - 29.606944 - ], - [ - 112.950188, - 29.473132 - ], - [ - 113.034572, - 29.523658 - ], - [ - 113.057362, - 29.522616 - ], - [ - 113.078304, - 29.438218 - ], - [ - 113.099861, - 29.459585 - ], - [ - 113.145441, - 29.449163 - ], - [ - 113.181781, - 29.485636 - ], - [ - 113.222433, - 29.543965 - ], - [ - 113.277252, - 29.594976 - ], - [ - 113.37765, - 29.703158 - ], - [ - 113.571671, - 29.849123 - ], - [ - 113.575367, - 29.809147 - ], - [ - 113.550729, - 29.768115 - ], - [ - 113.558736, - 29.727067 - ], - [ - 113.540258, - 29.699519 - ], - [ - 113.547033, - 29.675603 - ], - [ - 113.606164, - 29.666764 - ], - [ - 113.663446, - 29.684443 - ], - [ - 113.680692, - 29.64336 - ], - [ - 113.704098, - 29.634518 - ], - [ - 113.73859, - 29.579363 - ], - [ - 113.710257, - 29.555419 - ], - [ - 113.630801, - 29.523137 - ], - [ - 113.677613, - 29.513763 - ], - [ - 113.755221, - 29.446557 - ], - [ - 113.731199, - 29.393907 - ], - [ - 113.674533, - 29.388172 - ], - [ - 113.660982, - 29.333405 - ], - [ - 113.632033, - 29.316186 - ], - [ - 113.609859, - 29.25146 - ], - [ - 113.651743, - 29.225872 - ], - [ - 113.693011, - 29.226394 - ], - [ - 113.691779, - 29.19662 - ], - [ - 113.66283, - 29.16945 - ], - [ - 113.690547, - 29.114566 - ], - [ - 113.696091, - 29.077437 - ], - [ - 113.722576, - 29.104631 - ], - [ - 113.749677, - 29.060699 - ], - [ - 113.775547, - 29.095219 - ], - [ - 113.816199, - 29.105154 - ], - [ - 113.852539, - 29.058606 - ], - [ - 113.882104, - 29.065407 - ], - [ - 113.876561, - 29.038202 - ], - [ - 113.898119, - 29.029307 - ], - [ - 113.94185, - 29.047097 - ], - [ - 113.952321, - 29.092604 - ], - [ - 113.98743, - 29.126068 - ], - [ - 114.034857, - 29.152204 - ], - [ - 114.063191, - 29.204978 - ], - [ - 114.169748, - 29.216993 - ], - [ - 114.252284, - 29.23475 - ], - [ - 114.259059, - 29.343839 - ], - [ - 114.307102, - 29.365225 - ], - [ - 114.341595, - 29.327665 - ], - [ - 114.376088, - 29.322969 - ], - [ - 114.440145, - 29.341752 - ], - [ - 114.466015, - 29.324013 - ], - [ - 114.519602, - 29.325578 - ], - [ - 114.589819, - 29.352707 - ], - [ - 114.621847, - 29.379828 - ], - [ - 114.67297, - 29.395993 - ], - [ - 114.740724, - 29.386607 - ], - [ - 114.759818, - 29.363139 - ], - [ - 114.784455, - 29.386086 - ], - [ - 114.812173, - 29.383478 - ], - [ - 114.866375, - 29.404335 - ], - [ - 114.895325, - 29.397557 - ], - [ - 114.931049, - 29.422581 - ], - [ - 114.947063, - 29.465317 - ], - [ - 114.935977, - 29.486678 - ], - [ - 114.90518, - 29.473132 - ], - [ - 114.918114, - 29.454374 - ], - [ - 114.888549, - 29.436134 - ], - [ - 114.860216, - 29.476258 - ], - [ - 114.900868, - 29.505951 - ], - [ - 114.940288, - 29.493971 - ], - [ - 114.966773, - 29.522096 - ], - [ - 114.947679, - 29.542924 - ], - [ - 115.00065, - 29.572076 - ], - [ - 115.033295, - 29.546568 - ], - [ - 115.087498, - 29.560104 - ], - [ - 115.086266, - 29.525741 - ], - [ - 115.154019, - 29.510117 - ], - [ - 115.157099, - 29.584568 - ], - [ - 115.120142, - 29.597578 - ], - [ - 115.143548, - 29.645961 - ], - [ - 115.117679, - 29.655843 - ], - [ - 115.113367, - 29.684963 - ], - [ - 115.176809, - 29.654803 - ], - [ - 115.250722, - 29.660003 - ], - [ - 115.28583, - 29.618391 - ], - [ - 115.304924, - 29.637118 - ], - [ - 115.355431, - 29.649602 - ], - [ - 115.412714, - 29.688602 - ], - [ - 115.470612, - 29.739539 - ], - [ - 115.479235, - 29.811224 - ], - [ - 115.51188, - 29.840299 - ], - [ - 115.611662, - 29.841337 - ], - [ - 115.667712, - 29.850161 - ], - [ - 115.706517, - 29.837703 - ], - [ - 115.762567, - 29.793048 - ], - [ - 115.837096, - 29.748373 - ], - [ - 115.909777, - 29.723949 - ], - [ - 115.965827, - 29.724469 - ], - [ - 116.049595, - 29.761881 - ], - [ - 116.087167, - 29.795125 - ], - [ - 116.13521, - 29.819532 - ], - [ - 116.128435, - 29.897904 - ], - [ - 116.073616, - 29.969993 - ], - [ - 116.091479, - 30.036331 - ], - [ - 116.078544, - 30.062233 - ], - [ - 116.088399, - 30.110391 - ], - [ - 116.055754, - 30.180774 - ], - [ - 116.065609, - 30.204569 - ], - [ - 115.997856, - 30.252657 - ], - [ - 115.985537, - 30.290905 - ], - [ - 115.903001, - 30.31364 - ], - [ - 115.91532, - 30.337919 - ], - [ - 115.885139, - 30.379747 - ], - [ - 115.921479, - 30.416397 - ], - [ - 115.894994, - 30.452517 - ], - [ - 115.910393, - 30.519046 - ], - [ - 115.887603, - 30.542758 - ], - [ - 115.876516, - 30.582438 - ], - [ - 115.848799, - 30.602014 - ], - [ - 115.819234, - 30.597893 - ], - [ - 115.81369, - 30.637035 - ], - [ - 115.762567, - 30.685426 - ], - [ - 115.782893, - 30.751795 - ], - [ - 115.851262, - 30.756938 - ], - [ - 115.863581, - 30.815549 - ], - [ - 115.848799, - 30.828397 - ], - [ - 115.865429, - 30.864364 - ], - [ - 115.932566, - 30.889532 - ], - [ - 115.976298, - 30.931636 - ], - [ - 116.03974, - 30.957813 - ], - [ - 116.071769, - 30.956787 - ], - [ - 116.058834, - 31.012711 - ], - [ - 116.015102, - 31.011685 - ], - [ - 116.006479, - 31.034764 - ], - [ - 115.938726, - 31.04707 - ], - [ - 115.939958, - 31.071678 - ], - [ - 115.887603, - 31.10909 - ], - [ - 115.867277, - 31.147512 - ], - [ - 115.837712, - 31.127022 - ], - [ - 115.797676, - 31.128047 - ], - [ - 115.778582, - 31.112164 - ], - [ - 115.700973, - 31.201276 - ], - [ - 115.655394, - 31.211002 - ], - [ - 115.603655, - 31.17363 - ], - [ - 115.585793, - 31.143926 - ], - [ - 115.540213, - 31.194621 - ], - [ - 115.539597, - 31.231985 - ], - [ - 115.507568, - 31.267799 - ], - [ - 115.473076, - 31.265242 - ], - [ - 115.443511, - 31.344498 - ], - [ - 115.40717, - 31.337854 - ], - [ - 115.372062, - 31.349098 - ], - [ - 115.393004, - 31.389977 - ], - [ - 115.373909, - 31.405813 - ], - [ - 115.338801, - 31.40428 - ], - [ - 115.301229, - 31.383846 - ], - [ - 115.250722, - 31.392021 - ], - [ - 115.252569, - 31.421646 - ], - [ - 115.211301, - 31.442072 - ], - [ - 115.218077, - 31.515057 - ], - [ - 115.235939, - 31.555354 - ], - [ - 115.212533, - 31.555354 - ], - [ - 115.16449, - 31.604808 - ], - [ - 115.12507, - 31.599201 - ], - [ - 115.106592, - 31.567592 - ], - [ - 115.114599, - 31.530362 - ], - [ - 115.096121, - 31.508425 - ], - [ - 115.022824, - 31.527811 - ], - [ - 114.995107, - 31.471171 - ], - [ - 114.962462, - 31.494648 - ], - [ - 114.884238, - 31.469129 - ], - [ - 114.870071, - 31.479337 - ], - [ - 114.830035, - 31.45892 - ], - [ - 114.789383, - 31.480358 - ], - [ - 114.778912, - 31.520669 - ], - [ - 114.696376, - 31.525771 - ], - [ - 114.641558, - 31.582378 - ], - [ - 114.61692, - 31.585437 - ], - [ - 114.572572, - 31.553824 - ], - [ - 114.560869, - 31.560963 - ], - [ - 114.547935, - 31.623665 - ], - [ - 114.57134, - 31.660858 - ], - [ - 114.586123, - 31.762172 - ], - [ - 114.549783, - 31.766751 - ], - [ - 114.530688, - 31.742834 - ], - [ - 114.443841, - 31.728074 - ], - [ - 114.403189, - 31.746906 - ], - [ - 114.350218, - 31.755557 - ], - [ - 114.292936, - 31.752503 - ], - [ - 114.235654, - 31.833382 - ], - [ - 114.191922, - 31.852192 - ], - [ - 114.134024, - 31.843042 - ], - [ - 114.121705, - 31.809482 - ], - [ - 114.086596, - 31.782014 - ], - [ - 114.017611, - 31.770822 - ], - [ - 113.988662, - 31.749959 - ], - [ - 113.952321, - 31.793714 - ], - [ - 113.957865, - 31.852701 - ], - [ - 113.914749, - 31.877098 - ], - [ - 113.893807, - 31.847109 - ], - [ - 113.854387, - 31.843042 - ], - [ - 113.830981, - 31.87913 - ], - [ - 113.832213, - 31.918761 - ], - [ - 113.805728, - 31.929428 - ], - [ - 113.817431, - 31.964467 - ], - [ - 113.757685, - 31.98985 - ], - [ - 113.791561, - 32.036028 - ], - [ - 113.728735, - 32.083197 - ], - [ - 113.722576, - 32.12426 - ], - [ - 113.750293, - 32.11615 - ], - [ - 113.782322, - 32.184553 - ], - [ - 113.752757, - 32.215951 - ], - [ - 113.73859, - 32.255942 - ], - [ - 113.749061, - 32.272642 - ], - [ - 113.768772, - 32.30148 - ], - [ - 113.753989, - 32.328286 - ], - [ - 113.76754, - 32.370249 - ], - [ - 113.735511, - 32.410677 - ], - [ - 113.700402, - 32.420782 - ], - [ - 113.650511, - 32.412698 - ], - [ - 113.624642, - 32.36115 - ], - [ - 113.511925, - 32.316654 - ], - [ - 113.428773, - 32.270618 - ], - [ - 113.376418, - 32.298445 - ], - [ - 113.353628, - 32.294904 - ], - [ - 113.317904, - 32.327275 - ], - [ - 113.333918, - 32.336377 - ], - [ - 113.2366, - 32.407141 - ], - [ - 113.211962, - 32.431895 - ], - [ - 113.158992, - 32.410677 - ], - [ - 113.155912, - 32.380863 - ], - [ - 113.118956, - 32.375809 - ], - [ - 113.107869, - 32.398551 - ], - [ - 113.078919, - 32.394508 - ], - [ - 113.025949, - 32.425328 - ], - [ - 113.000695, - 32.41674 - ], - [ - 112.992072, - 32.378336 - ], - [ - 112.912, - 32.390971 - ], - [ - 112.888594, - 32.37682 - ], - [ - 112.860877, - 32.396024 - ], - [ - 112.776493, - 32.358623 - ], - [ - 112.735841, - 32.356095 - ], - [ - 112.733993, - 32.356601 - ], - [ - 112.724138, - 32.358623 - ], - [ - 112.716747, - 32.357612 - ], - [ - 112.645298, - 32.368227 - ], - [ - 112.612037, - 32.386928 - ], - [ - 112.589248, - 32.381369 - ], - [ - 112.545516, - 32.404109 - ], - [ - 112.530733, - 32.37682 - ], - [ - 112.477147, - 32.380863 - ], - [ - 112.448814, - 32.34295 - ], - [ - 112.390915, - 32.37126 - ], - [ - 112.360118, - 32.3657 - ], - [ - 112.328089, - 32.321712 - ], - [ - 112.206133, - 32.392992 - ], - [ - 112.172873, - 32.385412 - ], - [ - 112.150083, - 32.411688 - ], - [ - 112.155626, - 32.377326 - ], - [ - 112.081098, - 32.425833 - ], - [ - 112.063851, - 32.474315 - ], - [ - 112.014576, - 32.450077 - ], - [ - 111.975772, - 32.471791 - ], - [ - 111.948671, - 32.51722 - ], - [ - 111.890157, - 32.503089 - ], - [ - 111.858128, - 32.528826 - ], - [ - 111.808853, - 32.536899 - ], - [ - 111.713382, - 32.606497 - ], - [ - 111.646245, - 32.605993 - ], - [ - 111.640701, - 32.634724 - ], - [ - 111.577875, - 32.593388 - ], - [ - 111.530448, - 32.628172 - ], - [ - 111.513202, - 32.674026 - ], - [ - 111.458383, - 32.726402 - ], - [ - 111.475629, - 32.760127 - ], - [ - 111.41342, - 32.757108 - ], - [ - 111.380159, - 32.829049 - ], - [ - 111.293311, - 32.859217 - ], - [ - 111.276065, - 32.903445 - ], - [ - 111.255123, - 32.883846 - ], - [ - 111.242804, - 32.930573 - ], - [ - 111.273601, - 32.971753 - ], - [ - 111.258819, - 33.006389 - ], - [ - 111.221862, - 33.042517 - ], - [ - 111.152877, - 33.039507 - ], - [ - 111.192913, - 33.071609 - ], - [ - 111.179363, - 33.115229 - ], - [ - 111.146102, - 33.12375 - ], - [ - 111.12824, - 33.15532 - ], - [ - 111.08882, - 33.181871 - ], - [ - 111.045704, - 33.169849 - ] - ] - ], - [ - [ - [ - 109.106111, - 30.570587 - ], - [ - 109.101183, - 30.579346 - ], - [ - 109.09872, - 30.579346 - ], - [ - 109.106111, - 30.570587 - ] - ] - ], - [ - [ - [ - 111.046936, - 33.202905 - ], - [ - 111.035849, - 33.187881 - ], - [ - 111.034001, - 33.177864 - ], - [ - 111.045704, - 33.169849 - ], - [ - 111.046936, - 33.202905 - ] - ] - ], - [ - [ - [ - 112.716747, - 32.357612 - ], - [ - 112.735841, - 32.356095 - ], - [ - 112.733993, - 32.356601 - ], - [ - 112.724138, - 32.358623 - ], - [ - 112.716747, - 32.357612 - ] - ] - ], - [ - [ - [ - 112.902145, - 29.79149 - ], - [ - 112.894138, - 29.783699 - ], - [ - 112.923703, - 29.766557 - ], - [ - 112.929246, - 29.77383 - ], - [ - 112.902145, - 29.79149 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 430000, - "name": "湖南省", - "center": [ - 112.982279, - 28.19409 - ], - "centroid": [ - 111.711649, - 27.629216 - ], - "childrenNum": 14, - "cp": [111.5332, 27.3779], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 17, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 112.024431, - 24.740308 - ], - [ - 112.03367, - 24.771286 - ], - [ - 112.124214, - 24.841364 - ], - [ - 112.149467, - 24.837019 - ], - [ - 112.167329, - 24.859828 - ], - [ - 112.175337, - 24.927685 - ], - [ - 112.119902, - 24.963499 - ], - [ - 112.12175, - 24.989538 - ], - [ - 112.155626, - 25.026419 - ], - [ - 112.151931, - 25.055698 - ], - [ - 112.177184, - 25.106649 - ], - [ - 112.187039, - 25.182494 - ], - [ - 112.246785, - 25.185202 - ], - [ - 112.256025, - 25.159204 - ], - [ - 112.302836, - 25.157037 - ], - [ - 112.315771, - 25.175453 - ], - [ - 112.365046, - 25.191701 - ], - [ - 112.414937, - 25.14241 - ], - [ - 112.44327, - 25.185744 - ], - [ - 112.458053, - 25.152162 - ], - [ - 112.562762, - 25.124531 - ], - [ - 112.628052, - 25.140785 - ], - [ - 112.660081, - 25.132658 - ], - [ - 112.712436, - 25.083344 - ], - [ - 112.714899, - 25.025876 - ], - [ - 112.742001, - 24.99876 - ], - [ - 112.743233, - 24.959701 - ], - [ - 112.778341, - 24.947764 - ], - [ - 112.780805, - 24.896747 - ], - [ - 112.873812, - 24.896747 - ], - [ - 112.904609, - 24.921715 - ], - [ - 112.941565, - 24.915745 - ], - [ - 112.994536, - 24.927142 - ], - [ - 113.009934, - 24.977604 - ], - [ - 112.979137, - 25.03401 - ], - [ - 113.004391, - 25.089306 - ], - [ - 112.96805, - 25.141869 - ], - [ - 112.97421, - 25.168412 - ], - [ - 113.034572, - 25.198199 - ], - [ - 112.992688, - 25.247467 - ], - [ - 112.958195, - 25.254503 - ], - [ - 112.897833, - 25.238264 - ], - [ - 112.867036, - 25.249632 - ], - [ - 112.854718, - 25.337829 - ], - [ - 112.891058, - 25.339993 - ], - [ - 112.924319, - 25.296714 - ], - [ - 112.93479, - 25.325929 - ], - [ - 112.969898, - 25.350269 - ], - [ - 113.013014, - 25.352432 - ], - [ - 113.078304, - 25.382174 - ], - [ - 113.096782, - 25.412449 - ], - [ - 113.131274, - 25.414611 - ], - [ - 113.11834, - 25.445418 - ], - [ - 113.176854, - 25.471355 - ], - [ - 113.226129, - 25.50971 - ], - [ - 113.248919, - 25.514031 - ], - [ - 113.311129, - 25.490264 - ], - [ - 113.314208, - 25.442716 - ], - [ - 113.341926, - 25.448661 - ], - [ - 113.373338, - 25.402719 - ], - [ - 113.407215, - 25.401637 - ], - [ - 113.449715, - 25.359463 - ], - [ - 113.479896, - 25.375145 - ], - [ - 113.535946, - 25.368656 - ], - [ - 113.579062, - 25.34432 - ], - [ - 113.584606, - 25.306453 - ], - [ - 113.611707, - 25.327552 - ], - [ - 113.680076, - 25.334584 - ], - [ - 113.686852, - 25.351891 - ], - [ - 113.753373, - 25.362707 - ], - [ - 113.76446, - 25.333502 - ], - [ - 113.814967, - 25.328634 - ], - [ - 113.839605, - 25.363248 - ], - [ - 113.877177, - 25.380552 - ], - [ - 113.887032, - 25.436772 - ], - [ - 113.94493, - 25.441635 - ], - [ - 113.962792, - 25.528072 - ], - [ - 113.986198, - 25.529153 - ], - [ - 113.983118, - 25.599336 - ], - [ - 113.957249, - 25.611749 - ], - [ - 113.913517, - 25.701299 - ], - [ - 113.920293, - 25.741197 - ], - [ - 113.961561, - 25.77731 - ], - [ - 113.971416, - 25.836036 - ], - [ - 114.028082, - 25.893119 - ], - [ - 114.028082, - 25.98138 - ], - [ - 114.008372, - 26.015806 - ], - [ - 114.044096, - 26.076564 - ], - [ - 114.087828, - 26.06635 - ], - [ - 114.121089, - 26.085702 - ], - [ - 114.10569, - 26.097526 - ], - [ - 114.188842, - 26.121172 - ], - [ - 114.237501, - 26.152333 - ], - [ - 114.216559, - 26.203355 - ], - [ - 114.181451, - 26.214631 - ], - [ - 114.102611, - 26.187783 - ], - [ - 114.088444, - 26.168448 - ], - [ - 114.013299, - 26.184023 - ], - [ - 113.962792, - 26.150722 - ], - [ - 113.949242, - 26.192616 - ], - [ - 113.972647, - 26.20604 - ], - [ - 113.978807, - 26.237716 - ], - [ - 114.029314, - 26.266163 - ], - [ - 114.021307, - 26.288701 - ], - [ - 114.047792, - 26.337518 - ], - [ - 114.030546, - 26.376664 - ], - [ - 114.062575, - 26.406149 - ], - [ - 114.085364, - 26.406149 - ], - [ - 114.090292, - 26.455988 - ], - [ - 114.110002, - 26.482775 - ], - [ - 114.07243, - 26.480096 - ], - [ - 114.10877, - 26.56952 - ], - [ - 114.019459, - 26.587182 - ], - [ - 113.996669, - 26.615543 - ], - [ - 113.912901, - 26.613938 - ], - [ - 113.860546, - 26.664221 - ], - [ - 113.853771, - 26.769532 - ], - [ - 113.835909, - 26.806394 - ], - [ - 113.877177, - 26.859262 - ], - [ - 113.890112, - 26.895562 - ], - [ - 113.927068, - 26.948922 - ], - [ - 113.892575, - 26.964925 - ], - [ - 113.86301, - 27.018252 - ], - [ - 113.824206, - 27.036378 - ], - [ - 113.803264, - 27.099261 - ], - [ - 113.771851, - 27.096598 - ], - [ - 113.779242, - 27.137081 - ], - [ - 113.846996, - 27.222262 - ], - [ - 113.872865, - 27.289828 - ], - [ - 113.854387, - 27.30525 - ], - [ - 113.872865, - 27.346721 - ], - [ - 113.872865, - 27.384988 - ], - [ - 113.72812, - 27.350442 - ], - [ - 113.699786, - 27.331836 - ], - [ - 113.657902, - 27.347253 - ], - [ - 113.616635, - 27.345658 - ], - [ - 113.605548, - 27.38924 - ], - [ - 113.632033, - 27.40518 - ], - [ - 113.59754, - 27.428554 - ], - [ - 113.591381, - 27.467855 - ], - [ - 113.627105, - 27.49971 - ], - [ - 113.583374, - 27.524657 - ], - [ - 113.579062, - 27.545354 - ], - [ - 113.608627, - 27.585143 - ], - [ - 113.607395, - 27.625449 - ], - [ - 113.652359, - 27.663619 - ], - [ - 113.696707, - 27.71979 - ], - [ - 113.69917, - 27.740979 - ], - [ - 113.763228, - 27.799228 - ], - [ - 113.756453, - 27.860091 - ], - [ - 113.72812, - 27.874904 - ], - [ - 113.752141, - 27.93361 - ], - [ - 113.822974, - 27.982243 - ], - [ - 113.845148, - 27.971672 - ], - [ - 113.864242, - 28.004966 - ], - [ - 113.914133, - 27.991227 - ], - [ - 113.936307, - 28.018703 - ], - [ - 113.966488, - 28.017646 - ], - [ - 113.970184, - 28.041418 - ], - [ - 114.025618, - 28.031382 - ], - [ - 114.047176, - 28.057263 - ], - [ - 114.025002, - 28.080499 - ], - [ - 113.992357, - 28.161255 - ], - [ - 114.012068, - 28.174972 - ], - [ - 114.068734, - 28.171806 - ], - [ - 114.107538, - 28.182885 - ], - [ - 114.109386, - 28.205038 - ], - [ - 114.143879, - 28.246694 - ], - [ - 114.182067, - 28.249858 - ], - [ - 114.198081, - 28.29097 - ], - [ - 114.2529, - 28.319423 - ], - [ - 114.252284, - 28.395787 - ], - [ - 114.214712, - 28.403157 - ], - [ - 114.172212, - 28.432632 - ], - [ - 114.217175, - 28.466308 - ], - [ - 114.218407, - 28.48472 - ], - [ - 114.15435, - 28.507337 - ], - [ - 114.138335, - 28.533629 - ], - [ - 114.08598, - 28.558337 - ], - [ - 114.132176, - 28.607211 - ], - [ - 114.122321, - 28.623497 - ], - [ - 114.157429, - 28.761566 - ], - [ - 114.137719, - 28.779926 - ], - [ - 114.153734, - 28.829221 - ], - [ - 114.124784, - 28.843376 - ], - [ - 114.076741, - 28.834464 - ], - [ - 114.056415, - 28.872204 - ], - [ - 114.060111, - 28.902596 - ], - [ - 114.028082, - 28.891069 - ], - [ - 114.005292, - 28.917788 - ], - [ - 114.008988, - 28.955498 - ], - [ - 113.973879, - 28.937692 - ], - [ - 113.955401, - 28.978536 - ], - [ - 113.961561, - 28.999476 - ], - [ - 113.94185, - 29.047097 - ], - [ - 113.898119, - 29.029307 - ], - [ - 113.876561, - 29.038202 - ], - [ - 113.882104, - 29.065407 - ], - [ - 113.852539, - 29.058606 - ], - [ - 113.816199, - 29.105154 - ], - [ - 113.775547, - 29.095219 - ], - [ - 113.749677, - 29.060699 - ], - [ - 113.722576, - 29.104631 - ], - [ - 113.696091, - 29.077437 - ], - [ - 113.690547, - 29.114566 - ], - [ - 113.66283, - 29.16945 - ], - [ - 113.691779, - 29.19662 - ], - [ - 113.693011, - 29.226394 - ], - [ - 113.651743, - 29.225872 - ], - [ - 113.609859, - 29.25146 - ], - [ - 113.632033, - 29.316186 - ], - [ - 113.660982, - 29.333405 - ], - [ - 113.674533, - 29.388172 - ], - [ - 113.731199, - 29.393907 - ], - [ - 113.755221, - 29.446557 - ], - [ - 113.677613, - 29.513763 - ], - [ - 113.630801, - 29.523137 - ], - [ - 113.710257, - 29.555419 - ], - [ - 113.73859, - 29.579363 - ], - [ - 113.704098, - 29.634518 - ], - [ - 113.680692, - 29.64336 - ], - [ - 113.663446, - 29.684443 - ], - [ - 113.606164, - 29.666764 - ], - [ - 113.547033, - 29.675603 - ], - [ - 113.540258, - 29.699519 - ], - [ - 113.558736, - 29.727067 - ], - [ - 113.550729, - 29.768115 - ], - [ - 113.575367, - 29.809147 - ], - [ - 113.571671, - 29.849123 - ], - [ - 113.37765, - 29.703158 - ], - [ - 113.277252, - 29.594976 - ], - [ - 113.222433, - 29.543965 - ], - [ - 113.181781, - 29.485636 - ], - [ - 113.145441, - 29.449163 - ], - [ - 113.099861, - 29.459585 - ], - [ - 113.078304, - 29.438218 - ], - [ - 113.057362, - 29.522616 - ], - [ - 113.034572, - 29.523658 - ], - [ - 112.950188, - 29.473132 - ], - [ - 112.912, - 29.606944 - ], - [ - 112.915696, - 29.620992 - ], - [ - 113.005007, - 29.693801 - ], - [ - 113.025949, - 29.772791 - ], - [ - 112.974826, - 29.732784 - ], - [ - 112.944645, - 29.682883 - ], - [ - 112.926782, - 29.692241 - ], - [ - 112.923703, - 29.766557 - ], - [ - 112.894138, - 29.783699 - ], - [ - 112.861493, - 29.78318 - ], - [ - 112.79374, - 29.735902 - ], - [ - 112.788812, - 29.681323 - ], - [ - 112.733378, - 29.645441 - ], - [ - 112.714283, - 29.648561 - ], - [ - 112.693957, - 29.601741 - ], - [ - 112.650842, - 29.592374 - ], - [ - 112.640371, - 29.607985 - ], - [ - 112.572001, - 29.624113 - ], - [ - 112.54182, - 29.60122 - ], - [ - 112.499321, - 29.629316 - ], - [ - 112.439574, - 29.633997 - ], - [ - 112.424792, - 29.598619 - ], - [ - 112.368741, - 29.541362 - ], - [ - 112.333017, - 29.545007 - ], - [ - 112.291133, - 29.517409 - ], - [ - 112.281278, - 29.536676 - ], - [ - 112.303452, - 29.585609 - ], - [ - 112.233851, - 29.61631 - ], - [ - 112.244322, - 29.659483 - ], - [ - 112.202438, - 29.633997 - ], - [ - 112.178416, - 29.656883 - ], - [ - 112.111279, - 29.659483 - ], - [ - 112.089721, - 29.685482 - ], - [ - 112.065699, - 29.681323 - ], - [ - 112.07617, - 29.743696 - ], - [ - 112.008417, - 29.778505 - ], - [ - 111.95483, - 29.796683 - ], - [ - 111.965917, - 29.832512 - ], - [ - 111.925881, - 29.836665 - ], - [ - 111.899396, - 29.855871 - ], - [ - 111.899396, - 29.855871 - ], - [ - 111.861207, - 29.856909 - ], - [ - 111.8107, - 29.901017 - ], - [ - 111.75773, - 29.92021 - ], - [ - 111.723853, - 29.909317 - ], - [ - 111.723853, - 29.909317 - ], - [ - 111.705375, - 29.890121 - ], - [ - 111.669034, - 29.888565 - ], - [ - 111.669034, - 29.888565 - ], - [ - 111.553854, - 29.894272 - ], - [ - 111.527368, - 29.925916 - ], - [ - 111.475629, - 29.918654 - ], - [ - 111.436825, - 29.930065 - ], - [ - 111.394325, - 29.912948 - ], - [ - 111.382623, - 29.95029 - ], - [ - 111.342587, - 29.944586 - ], - [ - 111.3315, - 29.970512 - ], - [ - 111.266826, - 30.01146 - ], - [ - 111.242188, - 30.040476 - ], - [ - 111.031537, - 30.048765 - ], - [ - 110.929907, - 30.063268 - ], - [ - 110.924364, - 30.111426 - ], - [ - 110.851067, - 30.126439 - ], - [ - 110.746973, - 30.112979 - ], - [ - 110.756212, - 30.054463 - ], - [ - 110.712481, - 30.033223 - ], - [ - 110.650887, - 30.07777 - ], - [ - 110.600996, - 30.054463 - ], - [ - 110.531394, - 30.061197 - ], - [ - 110.497518, - 30.055499 - ], - [ - 110.491358, - 30.019751 - ], - [ - 110.557264, - 29.988137 - ], - [ - 110.517228, - 29.961179 - ], - [ - 110.49875, - 29.91243 - ], - [ - 110.538786, - 29.895828 - ], - [ - 110.549873, - 29.848085 - ], - [ - 110.60038, - 29.839779 - ], - [ - 110.642879, - 29.775907 - ], - [ - 110.562807, - 29.712515 - ], - [ - 110.507373, - 29.692241 - ], - [ - 110.467337, - 29.713034 - ], - [ - 110.447011, - 29.664684 - ], - [ - 110.372482, - 29.633477 - ], - [ - 110.339221, - 29.668324 - ], - [ - 110.302265, - 29.661563 - ], - [ - 110.289946, - 29.6964 - ], - [ - 110.219729, - 29.746814 - ], - [ - 110.160599, - 29.753569 - ], - [ - 110.113788, - 29.789932 - ], - [ - 110.02386, - 29.769674 - ], - [ - 109.941325, - 29.774349 - ], - [ - 109.908064, - 29.763959 - ], - [ - 109.869876, - 29.774869 - ], - [ - 109.779333, - 29.757725 - ], - [ - 109.755311, - 29.733304 - ], - [ - 109.760238, - 29.689122 - ], - [ - 109.714659, - 29.673524 - ], - [ - 109.701108, - 29.636078 - ], - [ - 109.717739, - 29.615269 - ], - [ - 109.664768, - 29.599659 - ], - [ - 109.651833, - 29.625674 - ], - [ - 109.578536, - 29.629836 - ], - [ - 109.558826, - 29.606944 - ], - [ - 109.516326, - 29.626194 - ], - [ - 109.488609, - 29.553336 - ], - [ - 109.467051, - 29.560104 - ], - [ - 109.458428, - 29.513242 - ], - [ - 109.433791, - 29.530948 - ], - [ - 109.436254, - 29.488761 - ], - [ - 109.415928, - 29.497617 - ], - [ - 109.418392, - 29.453332 - ], - [ - 109.368501, - 29.413719 - ], - [ - 109.391291, - 29.372005 - ], - [ - 109.343863, - 29.369398 - ], - [ - 109.352487, - 29.284872 - ], - [ - 109.312451, - 29.25146 - ], - [ - 109.257632, - 29.222738 - ], - [ - 109.275494, - 29.202366 - ], - [ - 109.261328, - 29.161089 - ], - [ - 109.274262, - 29.121885 - ], - [ - 109.232378, - 29.119271 - ], - [ - 109.240386, - 29.086328 - ], - [ - 109.312451, - 29.066453 - ], - [ - 109.319842, - 29.042388 - ], - [ - 109.294588, - 29.015177 - ], - [ - 109.292741, - 28.987436 - ], - [ - 109.261328, - 28.952356 - ], - [ - 109.235458, - 28.882161 - ], - [ - 109.246545, - 28.80143 - ], - [ - 109.241002, - 28.776779 - ], - [ - 109.2989, - 28.7474 - ], - [ - 109.294588, - 28.722211 - ], - [ - 109.252704, - 28.691767 - ], - [ - 109.271183, - 28.671816 - ], - [ - 109.192958, - 28.636104 - ], - [ - 109.201581, - 28.597753 - ], - [ - 109.235458, - 28.61982 - ], - [ - 109.252089, - 28.606685 - ], - [ - 109.306907, - 28.62087 - ], - [ - 109.319842, - 28.579886 - ], - [ - 109.273646, - 28.53836 - ], - [ - 109.274262, - 28.494714 - ], - [ - 109.260712, - 28.46473 - ], - [ - 109.264407, - 28.392628 - ], - [ - 109.289045, - 28.373673 - ], - [ - 109.268719, - 28.33786 - ], - [ - 109.275494, - 28.313101 - ], - [ - 109.317994, - 28.277795 - ], - [ - 109.33524, - 28.293605 - ], - [ - 109.388211, - 28.268307 - ], - [ - 109.367885, - 28.254602 - ], - [ - 109.340168, - 28.19027 - ], - [ - 109.33832, - 28.141731 - ], - [ - 109.314298, - 28.103729 - ], - [ - 109.298284, - 28.036136 - ], - [ - 109.335856, - 28.063073 - ], - [ - 109.378972, - 28.034551 - ], - [ - 109.362342, - 28.007608 - ], - [ - 109.319842, - 27.988585 - ], - [ - 109.30198, - 27.956343 - ], - [ - 109.32169, - 27.868027 - ], - [ - 109.346943, - 27.838396 - ], - [ - 109.332777, - 27.782815 - ], - [ - 109.37774, - 27.736741 - ], - [ - 109.366653, - 27.721909 - ], - [ - 109.414081, - 27.725087 - ], - [ - 109.470747, - 27.680049 - ], - [ - 109.45658, - 27.673689 - ], - [ - 109.470131, - 27.62863 - ], - [ - 109.451037, - 27.586204 - ], - [ - 109.461508, - 27.567637 - ], - [ - 109.404841, - 27.55066 - ], - [ - 109.303211, - 27.47582 - ], - [ - 109.300132, - 27.423774 - ], - [ - 109.245313, - 27.41793 - ], - [ - 109.202197, - 27.450331 - ], - [ - 109.167089, - 27.41793 - ], - [ - 109.141835, - 27.448207 - ], - [ - 109.142451, - 27.418461 - ], - [ - 109.103647, - 27.336621 - ], - [ - 109.044517, - 27.331304 - ], - [ - 109.053756, - 27.293551 - ], - [ - 108.983539, - 27.26802 - ], - [ - 108.963213, - 27.235565 - ], - [ - 108.907778, - 27.204699 - ], - [ - 108.926873, - 27.160512 - ], - [ - 108.878829, - 27.106187 - ], - [ - 108.79075, - 27.084343 - ], - [ - 108.877597, - 27.01612 - ], - [ - 108.942887, - 27.017186 - ], - [ - 108.942887, - 27.017186 - ], - [ - 108.940423, - 27.044907 - ], - [ - 109.007561, - 27.08008 - ], - [ - 109.032814, - 27.104056 - ], - [ - 109.128901, - 27.122701 - ], - [ - 109.101183, - 27.06889 - ], - [ - 109.165857, - 27.066758 - ], - [ - 109.21698, - 27.114711 - ], - [ - 109.239154, - 27.14933 - ], - [ - 109.264407, - 27.131755 - ], - [ - 109.33524, - 27.139212 - ], - [ - 109.358646, - 27.153058 - ], - [ - 109.415312, - 27.154123 - ], - [ - 109.441182, - 27.117907 - ], - [ - 109.472595, - 27.134951 - ], - [ - 109.454733, - 27.069423 - ], - [ - 109.486761, - 27.053968 - ], - [ - 109.497848, - 27.079548 - ], - [ - 109.520022, - 27.058764 - ], - [ - 109.555131, - 26.946788 - ], - [ - 109.436254, - 26.892359 - ], - [ - 109.452885, - 26.861932 - ], - [ - 109.486761, - 26.895562 - ], - [ - 109.509551, - 26.877947 - ], - [ - 109.513247, - 26.84004 - ], - [ - 109.497232, - 26.815474 - ], - [ - 109.522486, - 26.749226 - ], - [ - 109.528645, - 26.743881 - ], - [ - 109.554515, - 26.73533 - ], - [ - 109.597015, - 26.756173 - ], - [ - 109.568065, - 26.726243 - ], - [ - 109.528645, - 26.743881 - ], - [ - 109.52187, - 26.749226 - ], - [ - 109.486761, - 26.759913 - ], - [ - 109.447957, - 26.759913 - ], - [ - 109.407305, - 26.719829 - ], - [ - 109.35495, - 26.693098 - ], - [ - 109.283501, - 26.698445 - ], - [ - 109.306291, - 26.661012 - ], - [ - 109.334008, - 26.646036 - ], - [ - 109.35495, - 26.658873 - ], - [ - 109.390675, - 26.598955 - ], - [ - 109.407305, - 26.533116 - ], - [ - 109.381436, - 26.518659 - ], - [ - 109.385747, - 26.493487 - ], - [ - 109.362342, - 26.472061 - ], - [ - 109.38082, - 26.454381 - ], - [ - 109.319842, - 26.418477 - ], - [ - 109.29582, - 26.350389 - ], - [ - 109.271183, - 26.327863 - ], - [ - 109.285965, - 26.295676 - ], - [ - 109.325385, - 26.29031 - ], - [ - 109.351255, - 26.264016 - ], - [ - 109.369733, - 26.277432 - ], - [ - 109.442414, - 26.289774 - ], - [ - 109.467051, - 26.313917 - ], - [ - 109.439334, - 26.238789 - ], - [ - 109.47629, - 26.148035 - ], - [ - 109.513863, - 26.128157 - ], - [ - 109.502776, - 26.096451 - ], - [ - 109.449805, - 26.101826 - ], - [ - 109.452885, - 26.055598 - ], - [ - 109.48245, - 26.029788 - ], - [ - 109.513247, - 25.998056 - ], - [ - 109.560058, - 26.021184 - ], - [ - 109.588391, - 26.019571 - ], - [ - 109.635203, - 26.047533 - ], - [ - 109.649369, - 26.016882 - ], - [ - 109.730057, - 25.989988 - ], - [ - 109.710963, - 25.954478 - ], - [ - 109.693717, - 25.959321 - ], - [ - 109.67955, - 25.921649 - ], - [ - 109.685094, - 25.880197 - ], - [ - 109.768246, - 25.890427 - ], - [ - 109.779333, - 25.866196 - ], - [ - 109.811361, - 25.877504 - ], - [ - 109.826144, - 25.911422 - ], - [ - 109.806434, - 25.973848 - ], - [ - 109.782412, - 25.996981 - ], - [ - 109.814441, - 26.041081 - ], - [ - 109.864332, - 26.027637 - ], - [ - 109.898825, - 26.095377 - ], - [ - 109.904368, - 26.135679 - ], - [ - 109.970274, - 26.195301 - ], - [ - 110.03002, - 26.166299 - ], - [ - 110.099005, - 26.168985 - ], - [ - 110.100853, - 26.132455 - ], - [ - 110.065128, - 26.050221 - ], - [ - 110.100853, - 26.020108 - ], - [ - 110.168606, - 26.028713 - ], - [ - 110.181541, - 26.060437 - ], - [ - 110.24991, - 26.010965 - ], - [ - 110.257301, - 25.961473 - ], - [ - 110.325671, - 25.975462 - ], - [ - 110.373098, - 26.088927 - ], - [ - 110.437772, - 26.153945 - ], - [ - 110.477808, - 26.179727 - ], - [ - 110.495054, - 26.166299 - ], - [ - 110.546793, - 26.233421 - ], - [ - 110.552952, - 26.283335 - ], - [ - 110.584365, - 26.296749 - ], - [ - 110.612083, - 26.333764 - ], - [ - 110.643495, - 26.308552 - ], - [ - 110.673676, - 26.317135 - ], - [ - 110.721104, - 26.294066 - ], - [ - 110.742046, - 26.313917 - ], - [ - 110.73527, - 26.270993 - ], - [ - 110.759292, - 26.248451 - ], - [ - 110.836284, - 26.255966 - ], - [ - 110.939762, - 26.286554 - ], - [ - 110.926212, - 26.320354 - ], - [ - 110.944074, - 26.326791 - ], - [ - 110.94469, - 26.373447 - ], - [ - 110.974255, - 26.385778 - ], - [ - 111.008747, - 26.35897 - ], - [ - 111.008132, - 26.336982 - ], - [ - 111.090667, - 26.308016 - ], - [ - 111.208928, - 26.30426 - ], - [ - 111.204616, - 26.276359 - ], - [ - 111.228022, - 26.261333 - ], - [ - 111.277913, - 26.272066 - ], - [ - 111.293311, - 26.222148 - ], - [ - 111.271754, - 26.217316 - ], - [ - 111.274833, - 26.183486 - ], - [ - 111.258203, - 26.151796 - ], - [ - 111.26621, - 26.095914 - ], - [ - 111.244652, - 26.078177 - ], - [ - 111.267442, - 26.058824 - ], - [ - 111.235413, - 26.048071 - ], - [ - 111.189834, - 25.953402 - ], - [ - 111.230486, - 25.916267 - ], - [ - 111.251428, - 25.864581 - ], - [ - 111.29208, - 25.854349 - ], - [ - 111.297007, - 25.874274 - ], - [ - 111.346282, - 25.906577 - ], - [ - 111.376463, - 25.906039 - ], - [ - 111.383239, - 25.881812 - ], - [ - 111.460231, - 25.885042 - ], - [ - 111.4861, - 25.859196 - ], - [ - 111.43313, - 25.84627 - ], - [ - 111.442369, - 25.77192 - ], - [ - 111.399869, - 25.744431 - ], - [ - 111.30871, - 25.720171 - ], - [ - 111.309942, - 25.645203 - ], - [ - 111.343202, - 25.602574 - ], - [ - 111.324724, - 25.564249 - ], - [ - 111.32842, - 25.521592 - ], - [ - 111.279145, - 25.42326 - ], - [ - 111.210776, - 25.363248 - ], - [ - 111.184906, - 25.367034 - ], - [ - 111.138711, - 25.303748 - ], - [ - 111.103602, - 25.285351 - ], - [ - 111.112841, - 25.21715 - ], - [ - 110.998892, - 25.161371 - ], - [ - 110.98411, - 25.101772 - ], - [ - 110.951465, - 25.04377 - ], - [ - 110.968711, - 24.975434 - ], - [ - 111.009363, - 24.921172 - ], - [ - 111.100522, - 24.945593 - ], - [ - 111.101754, - 25.035095 - ], - [ - 111.139943, - 25.042144 - ], - [ - 111.200921, - 25.074672 - ], - [ - 111.221862, - 25.106649 - ], - [ - 111.274833, - 25.151078 - ], - [ - 111.321645, - 25.105023 - ], - [ - 111.36784, - 25.108817 - ], - [ - 111.375231, - 25.128324 - ], - [ - 111.435593, - 25.093642 - ], - [ - 111.416499, - 25.047566 - ], - [ - 111.467622, - 25.02208 - ], - [ - 111.460231, - 24.992793 - ], - [ - 111.43313, - 24.979774 - ], - [ - 111.434977, - 24.951562 - ], - [ - 111.470086, - 24.92877 - ], - [ - 111.447296, - 24.892947 - ], - [ - 111.449144, - 24.857113 - ], - [ - 111.479325, - 24.797366 - ], - [ - 111.461463, - 24.728894 - ], - [ - 111.431282, - 24.687574 - ], - [ - 111.451608, - 24.665822 - ], - [ - 111.499035, - 24.667997 - ], - [ - 111.526752, - 24.637538 - ], - [ - 111.570484, - 24.64461 - ], - [ - 111.588962, - 24.690837 - ], - [ - 111.641933, - 24.684856 - ], - [ - 111.637621, - 24.715303 - ], - [ - 111.666571, - 24.760961 - ], - [ - 111.708455, - 24.788673 - ], - [ - 111.783599, - 24.785957 - ], - [ - 111.814396, - 24.770199 - ], - [ - 111.868599, - 24.771829 - ], - [ - 111.875374, - 24.756613 - ], - [ - 111.929577, - 24.75607 - ], - [ - 111.951135, - 24.769655 - ], - [ - 112.024431, - 24.740308 - ] - ] - ], - [ - [ - [ - 109.528645, - 26.743881 - ], - [ - 109.522486, - 26.749226 - ], - [ - 109.52187, - 26.749226 - ], - [ - 109.528645, - 26.743881 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 440000, - "name": "广东省", - "center": [ - 113.280637, - 23.125178 - ], - "centroid": [ - 113.429919, - 23.334643 - ], - "childrenNum": 21, - "cp": [113.8668, 22.8076], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 18, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 113.558736, - 22.212244 - ], - [ - 113.594461, - 22.228864 - ], - [ - 113.595693, - 22.304186 - ], - [ - 113.617866, - 22.315259 - ], - [ - 113.604932, - 22.339617 - ], - [ - 113.627721, - 22.349027 - ], - [ - 113.669605, - 22.416539 - ], - [ - 113.66591, - 22.438667 - ], - [ - 113.624642, - 22.443092 - ], - [ - 113.608627, - 22.408793 - ], - [ - 113.573519, - 22.41156 - ], - [ - 113.631417, - 22.475723 - ], - [ - 113.668373, - 22.4807 - ], - [ - 113.691779, - 22.514981 - ], - [ - 113.740438, - 22.534329 - ], - [ - 113.717033, - 22.645391 - ], - [ - 113.678228, - 22.726007 - ], - [ - 113.733663, - 22.736494 - ], - [ - 113.758301, - 22.683496 - ], - [ - 113.765692, - 22.665825 - ], - [ - 113.803264, - 22.593463 - ], - [ - 113.856851, - 22.539857 - ], - [ - 113.869786, - 22.459685 - ], - [ - 113.893807, - 22.442539 - ], - [ - 113.952937, - 22.486783 - ], - [ - 113.954785, - 22.491206 - ], - [ - 113.976343, - 22.510558 - ], - [ - 114.031778, - 22.503923 - ], - [ - 114.082285, - 22.512216 - ], - [ - 114.095219, - 22.534329 - ], - [ - 114.156813, - 22.543726 - ], - [ - 114.166052, - 22.559201 - ], - [ - 114.222719, - 22.553122 - ], - [ - 114.232574, - 22.539857 - ], - [ - 114.294784, - 22.563623 - ], - [ - 114.321885, - 22.587385 - ], - [ - 114.381631, - 22.60175 - ], - [ - 114.427211, - 22.589042 - ], - [ - 114.472174, - 22.522168 - ], - [ - 114.476486, - 22.459132 - ], - [ - 114.506667, - 22.438667 - ], - [ - 114.549167, - 22.465769 - ], - [ - 114.611377, - 22.481806 - ], - [ - 114.628623, - 22.513875 - ], - [ - 114.614456, - 22.545384 - ], - [ - 114.568261, - 22.560859 - ], - [ - 114.559022, - 22.583517 - ], - [ - 114.603369, - 22.638763 - ], - [ - 114.579964, - 22.661407 - ], - [ - 114.51529, - 22.655332 - ], - [ - 114.567029, - 22.685705 - ], - [ - 114.591666, - 22.690122 - ], - [ - 114.601521, - 22.730975 - ], - [ - 114.689601, - 22.7674 - ], - [ - 114.709927, - 22.787817 - ], - [ - 114.749963, - 22.764089 - ], - [ - 114.73518, - 22.724351 - ], - [ - 114.728405, - 22.651466 - ], - [ - 114.743803, - 22.632687 - ], - [ - 114.746267, - 22.581859 - ], - [ - 114.866375, - 22.591805 - ], - [ - 114.88547, - 22.538751 - ], - [ - 114.922426, - 22.549253 - ], - [ - 114.927969, - 22.621639 - ], - [ - 114.945216, - 22.645391 - ], - [ - 115.039454, - 22.713862 - ], - [ - 115.02344, - 22.726007 - ], - [ - 115.053621, - 22.747533 - ], - [ - 115.076411, - 22.788368 - ], - [ - 115.154635, - 22.80161 - ], - [ - 115.190975, - 22.77347 - ], - [ - 115.190359, - 22.818711 - ], - [ - 115.236555, - 22.82533 - ], - [ - 115.230396, - 22.776781 - ], - [ - 115.319091, - 22.783402 - ], - [ - 115.338185, - 22.776781 - ], - [ - 115.349272, - 22.712206 - ], - [ - 115.381301, - 22.684048 - ], - [ - 115.430576, - 22.684048 - ], - [ - 115.471844, - 22.697852 - ], - [ - 115.575322, - 22.650914 - ], - [ - 115.565467, - 22.684048 - ], - [ - 115.609198, - 22.753052 - ], - [ - 115.541445, - 22.755259 - ], - [ - 115.570394, - 22.786713 - ], - [ - 115.583945, - 22.82864 - ], - [ - 115.654162, - 22.865591 - ], - [ - 115.696046, - 22.84298 - ], - [ - 115.760103, - 22.834707 - ], - [ - 115.788437, - 22.809885 - ], - [ - 115.796444, - 22.739254 - ], - [ - 115.829089, - 22.734838 - ], - [ - 115.883291, - 22.78561 - ], - [ - 115.931334, - 22.802713 - ], - [ - 115.965211, - 22.800506 - ], - [ - 115.99724, - 22.826985 - ], - [ - 116.05637, - 22.844635 - ], - [ - 116.104413, - 22.816505 - ], - [ - 116.14137, - 22.835259 - ], - [ - 116.239304, - 22.921275 - ], - [ - 116.259014, - 22.932298 - ], - [ - 116.302746, - 22.951588 - ], - [ - 116.382818, - 22.91907 - ], - [ - 116.449955, - 22.936707 - ], - [ - 116.50539, - 22.930645 - ], - [ - 116.544194, - 22.996769 - ], - [ - 116.576839, - 23.014397 - ], - [ - 116.557129, - 23.056253 - ], - [ - 116.566368, - 23.088738 - ], - [ - 116.550969, - 23.109656 - ], - [ - 116.566368, - 23.134424 - ], - [ - 116.665534, - 23.158086 - ], - [ - 116.701259, - 23.198248 - ], - [ - 116.74499, - 23.215299 - ], - [ - 116.806584, - 23.200998 - ], - [ - 116.821367, - 23.240597 - ], - [ - 116.798577, - 23.244996 - ], - [ - 116.782563, - 23.313714 - ], - [ - 116.871874, - 23.4159 - ], - [ - 116.871258, - 23.416449 - ], - [ - 116.874338, - 23.447199 - ], - [ - 116.874953, - 23.447748 - ], - [ - 116.895895, - 23.476295 - ], - [ - 116.888504, - 23.501543 - ], - [ - 116.92854, - 23.530079 - ], - [ - 116.963649, - 23.507031 - ], - [ - 117.01046, - 23.502641 - ], - [ - 117.044953, - 23.539955 - ], - [ - 117.085605, - 23.536663 - ], - [ - 117.192778, - 23.5619 - ], - [ - 117.192778, - 23.629356 - ], - [ - 117.147199, - 23.654027 - ], - [ - 117.123793, - 23.647448 - ], - [ - 117.055424, - 23.694038 - ], - [ - 117.048032, - 23.758687 - ], - [ - 117.019083, - 23.801952 - ], - [ - 117.012308, - 23.855054 - ], - [ - 116.981511, - 23.855602 - ], - [ - 116.955642, - 23.922359 - ], - [ - 116.976583, - 23.931659 - ], - [ - 116.981511, - 23.999471 - ], - [ - 116.953178, - 24.008218 - ], - [ - 116.930388, - 24.064514 - ], - [ - 116.9347, - 24.126794 - ], - [ - 116.998757, - 24.179217 - ], - [ - 116.956257, - 24.216883 - ], - [ - 116.933468, - 24.220157 - ], - [ - 116.938395, - 24.28127 - ], - [ - 116.914374, - 24.287817 - ], - [ - 116.919301, - 24.321087 - ], - [ - 116.895895, - 24.350533 - ], - [ - 116.903903, - 24.369614 - ], - [ - 116.839229, - 24.442097 - ], - [ - 116.860787, - 24.460075 - ], - [ - 116.83307, - 24.496568 - ], - [ - 116.796729, - 24.502014 - ], - [ - 116.759157, - 24.545572 - ], - [ - 116.761005, - 24.583128 - ], - [ - 116.815207, - 24.654944 - ], - [ - 116.777635, - 24.679418 - ], - [ - 116.667382, - 24.658752 - ], - [ - 116.623034, - 24.64189 - ], - [ - 116.600861, - 24.654401 - ], - [ - 116.570679, - 24.621762 - ], - [ - 116.530027, - 24.604895 - ], - [ - 116.506622, - 24.621218 - ], - [ - 116.517709, - 24.652225 - ], - [ - 116.485064, - 24.720196 - ], - [ - 116.44626, - 24.714216 - ], - [ - 116.416079, - 24.744113 - ], - [ - 116.419158, - 24.767482 - ], - [ - 116.375427, - 24.803885 - ], - [ - 116.381586, - 24.82507 - ], - [ - 116.417927, - 24.840821 - ], - [ - 116.395137, - 24.877746 - ], - [ - 116.363724, - 24.87123 - ], - [ - 116.345862, - 24.828872 - ], - [ - 116.297202, - 24.801712 - ], - [ - 116.244232, - 24.793563 - ], - [ - 116.251007, - 24.82507 - ], - [ - 116.221442, - 24.829959 - ], - [ - 116.191877, - 24.877203 - ], - [ - 116.153073, - 24.846795 - ], - [ - 116.068073, - 24.850053 - ], - [ - 116.015102, - 24.905975 - ], - [ - 115.985537, - 24.899461 - ], - [ - 115.907929, - 24.923343 - ], - [ - 115.89253, - 24.936911 - ], - [ - 115.885139, - 24.898918 - ], - [ - 115.907313, - 24.879917 - ], - [ - 115.861733, - 24.863629 - ], - [ - 115.863581, - 24.891318 - ], - [ - 115.824161, - 24.909232 - ], - [ - 115.807531, - 24.862543 - ], - [ - 115.790284, - 24.856027 - ], - [ - 115.764415, - 24.791933 - ], - [ - 115.776734, - 24.774546 - ], - [ - 115.756408, - 24.749004 - ], - [ - 115.769342, - 24.708236 - ], - [ - 115.801371, - 24.705517 - ], - [ - 115.780429, - 24.663103 - ], - [ - 115.797676, - 24.628834 - ], - [ - 115.840791, - 24.584217 - ], - [ - 115.843871, - 24.562446 - ], - [ - 115.785357, - 24.567345 - ], - [ - 115.752712, - 24.546116 - ], - [ - 115.68927, - 24.545027 - ], - [ - 115.671408, - 24.604895 - ], - [ - 115.605503, - 24.62557 - ], - [ - 115.569778, - 24.622306 - ], - [ - 115.555611, - 24.683768 - ], - [ - 115.522967, - 24.702799 - ], - [ - 115.476771, - 24.762591 - ], - [ - 115.412714, - 24.79302 - ], - [ - 115.372678, - 24.774546 - ], - [ - 115.358511, - 24.735416 - ], - [ - 115.306772, - 24.758787 - ], - [ - 115.269816, - 24.749548 - ], - [ - 115.258729, - 24.728894 - ], - [ - 115.1842, - 24.711498 - ], - [ - 115.104744, - 24.667997 - ], - [ - 115.083802, - 24.699537 - ], - [ - 115.057317, - 24.703343 - ], - [ - 115.024672, - 24.669085 - ], - [ - 115.00373, - 24.679418 - ], - [ - 114.940288, - 24.650049 - ], - [ - 114.909491, - 24.661471 - ], - [ - 114.893477, - 24.582584 - ], - [ - 114.868839, - 24.562446 - ], - [ - 114.846665, - 24.602719 - ], - [ - 114.827571, - 24.588026 - ], - [ - 114.781376, - 24.613057 - ], - [ - 114.729637, - 24.608704 - ], - [ - 114.73826, - 24.565168 - ], - [ - 114.704999, - 24.525973 - ], - [ - 114.664963, - 24.583673 - ], - [ - 114.627391, - 24.576598 - ], - [ - 114.589819, - 24.537406 - ], - [ - 114.534384, - 24.559181 - ], - [ - 114.429058, - 24.48622 - ], - [ - 114.403189, - 24.497657 - ], - [ - 114.391486, - 24.563535 - ], - [ - 114.363769, - 24.582584 - ], - [ - 114.300943, - 24.578775 - ], - [ - 114.289856, - 24.619042 - ], - [ - 114.258443, - 24.641346 - ], - [ - 114.19069, - 24.656576 - ], - [ - 114.169132, - 24.689749 - ], - [ - 114.27261, - 24.700624 - ], - [ - 114.281849, - 24.724001 - ], - [ - 114.336052, - 24.749004 - ], - [ - 114.342211, - 24.807145 - ], - [ - 114.378551, - 24.861457 - ], - [ - 114.403189, - 24.877746 - ], - [ - 114.395798, - 24.951019 - ], - [ - 114.454928, - 24.977062 - ], - [ - 114.45616, - 24.99659 - ], - [ - 114.506051, - 24.999844 - ], - [ - 114.532536, - 25.022623 - ], - [ - 114.561485, - 25.077382 - ], - [ - 114.604601, - 25.083886 - ], - [ - 114.640326, - 25.074129 - ], - [ - 114.664963, - 25.10123 - ], - [ - 114.735796, - 25.121822 - ], - [ - 114.73518, - 25.155954 - ], - [ - 114.685905, - 25.173287 - ], - [ - 114.693912, - 25.213902 - ], - [ - 114.73518, - 25.225813 - ], - [ - 114.743188, - 25.274528 - ], - [ - 114.714238, - 25.315651 - ], - [ - 114.63663, - 25.324306 - ], - [ - 114.599674, - 25.385959 - ], - [ - 114.541159, - 25.416773 - ], - [ - 114.477718, - 25.37136 - ], - [ - 114.438914, - 25.376226 - ], - [ - 114.43029, - 25.343779 - ], - [ - 114.382863, - 25.317274 - ], - [ - 114.31511, - 25.33837 - ], - [ - 114.2954, - 25.299961 - ], - [ - 114.260291, - 25.291845 - ], - [ - 114.204857, - 25.29942 - ], - [ - 114.190074, - 25.316733 - ], - [ - 114.115545, - 25.302125 - ], - [ - 114.083517, - 25.275611 - ], - [ - 114.055799, - 25.277775 - ], - [ - 114.039785, - 25.250714 - ], - [ - 114.017611, - 25.273987 - ], - [ - 114.029314, - 25.328093 - ], - [ - 114.050256, - 25.36433 - ], - [ - 113.983118, - 25.415152 - ], - [ - 114.003444, - 25.442716 - ], - [ - 113.94493, - 25.441635 - ], - [ - 113.887032, - 25.436772 - ], - [ - 113.877177, - 25.380552 - ], - [ - 113.839605, - 25.363248 - ], - [ - 113.814967, - 25.328634 - ], - [ - 113.76446, - 25.333502 - ], - [ - 113.753373, - 25.362707 - ], - [ - 113.686852, - 25.351891 - ], - [ - 113.680076, - 25.334584 - ], - [ - 113.611707, - 25.327552 - ], - [ - 113.584606, - 25.306453 - ], - [ - 113.579062, - 25.34432 - ], - [ - 113.535946, - 25.368656 - ], - [ - 113.479896, - 25.375145 - ], - [ - 113.449715, - 25.359463 - ], - [ - 113.407215, - 25.401637 - ], - [ - 113.373338, - 25.402719 - ], - [ - 113.341926, - 25.448661 - ], - [ - 113.314208, - 25.442716 - ], - [ - 113.311129, - 25.490264 - ], - [ - 113.248919, - 25.514031 - ], - [ - 113.226129, - 25.50971 - ], - [ - 113.176854, - 25.471355 - ], - [ - 113.11834, - 25.445418 - ], - [ - 113.131274, - 25.414611 - ], - [ - 113.096782, - 25.412449 - ], - [ - 113.078304, - 25.382174 - ], - [ - 113.013014, - 25.352432 - ], - [ - 112.969898, - 25.350269 - ], - [ - 112.93479, - 25.325929 - ], - [ - 112.924319, - 25.296714 - ], - [ - 112.891058, - 25.339993 - ], - [ - 112.854718, - 25.337829 - ], - [ - 112.867036, - 25.249632 - ], - [ - 112.897833, - 25.238264 - ], - [ - 112.958195, - 25.254503 - ], - [ - 112.992688, - 25.247467 - ], - [ - 113.034572, - 25.198199 - ], - [ - 112.97421, - 25.168412 - ], - [ - 112.96805, - 25.141869 - ], - [ - 113.004391, - 25.089306 - ], - [ - 112.979137, - 25.03401 - ], - [ - 113.009934, - 24.977604 - ], - [ - 112.994536, - 24.927142 - ], - [ - 112.941565, - 24.915745 - ], - [ - 112.904609, - 24.921715 - ], - [ - 112.873812, - 24.896747 - ], - [ - 112.780805, - 24.896747 - ], - [ - 112.778341, - 24.947764 - ], - [ - 112.743233, - 24.959701 - ], - [ - 112.742001, - 24.99876 - ], - [ - 112.714899, - 25.025876 - ], - [ - 112.712436, - 25.083344 - ], - [ - 112.660081, - 25.132658 - ], - [ - 112.628052, - 25.140785 - ], - [ - 112.562762, - 25.124531 - ], - [ - 112.458053, - 25.152162 - ], - [ - 112.44327, - 25.185744 - ], - [ - 112.414937, - 25.14241 - ], - [ - 112.365046, - 25.191701 - ], - [ - 112.315771, - 25.175453 - ], - [ - 112.302836, - 25.157037 - ], - [ - 112.256025, - 25.159204 - ], - [ - 112.246785, - 25.185202 - ], - [ - 112.187039, - 25.182494 - ], - [ - 112.177184, - 25.106649 - ], - [ - 112.151931, - 25.055698 - ], - [ - 112.155626, - 25.026419 - ], - [ - 112.12175, - 24.989538 - ], - [ - 112.119902, - 24.963499 - ], - [ - 112.175337, - 24.927685 - ], - [ - 112.167329, - 24.859828 - ], - [ - 112.149467, - 24.837019 - ], - [ - 112.124214, - 24.841364 - ], - [ - 112.03367, - 24.771286 - ], - [ - 112.024431, - 24.740308 - ], - [ - 111.961606, - 24.721283 - ], - [ - 111.939432, - 24.686487 - ], - [ - 111.953598, - 24.64733 - ], - [ - 111.927729, - 24.629378 - ], - [ - 111.936968, - 24.595645 - ], - [ - 111.972077, - 24.578775 - ], - [ - 112.007185, - 24.534684 - ], - [ - 112.009649, - 24.503103 - ], - [ - 111.985011, - 24.467701 - ], - [ - 112.025047, - 24.438828 - ], - [ - 112.057692, - 24.387057 - ], - [ - 112.05954, - 24.339628 - ], - [ - 112.026279, - 24.294908 - ], - [ - 111.990555, - 24.279634 - ], - [ - 111.986243, - 24.25672 - ], - [ - 111.958526, - 24.263813 - ], - [ - 111.912946, - 24.221795 - ], - [ - 111.877222, - 24.227252 - ], - [ - 111.871062, - 24.176487 - ], - [ - 111.886461, - 24.163929 - ], - [ - 111.878454, - 24.109862 - ], - [ - 111.92157, - 24.012045 - ], - [ - 111.940664, - 23.987989 - ], - [ - 111.911714, - 23.943693 - ], - [ - 111.854432, - 23.947521 - ], - [ - 111.845809, - 23.904305 - ], - [ - 111.812548, - 23.887343 - ], - [ - 111.824867, - 23.832612 - ], - [ - 111.8107, - 23.80688 - ], - [ - 111.722621, - 23.823305 - ], - [ - 111.683201, - 23.822758 - ], - [ - 111.683201, - 23.822758 - ], - [ - 111.654868, - 23.833159 - ], - [ - 111.627766, - 23.78881 - ], - [ - 111.621607, - 23.725819 - ], - [ - 111.666571, - 23.718696 - ], - [ - 111.614832, - 23.65896 - ], - [ - 111.615448, - 23.639225 - ], - [ - 111.555702, - 23.64087 - ], - [ - 111.487332, - 23.626615 - ], - [ - 111.479941, - 23.532822 - ], - [ - 111.428818, - 23.466414 - ], - [ - 111.399869, - 23.469159 - ], - [ - 111.383239, - 23.399423 - ], - [ - 111.389398, - 23.375804 - ], - [ - 111.363528, - 23.340641 - ], - [ - 111.376463, - 23.30437 - ], - [ - 111.353058, - 23.284582 - ], - [ - 111.36476, - 23.240047 - ], - [ - 111.388782, - 23.210349 - ], - [ - 111.38447, - 23.16744 - ], - [ - 111.365992, - 23.14488 - ], - [ - 111.377695, - 23.082132 - ], - [ - 111.402333, - 23.066165 - ], - [ - 111.43313, - 23.073322 - ], - [ - 111.433746, - 23.036428 - ], - [ - 111.389398, - 23.005583 - ], - [ - 111.403565, - 22.99126 - ], - [ - 111.362913, - 22.967568 - ], - [ - 111.374615, - 22.938361 - ], - [ - 111.358601, - 22.889301 - ], - [ - 111.218167, - 22.748085 - ], - [ - 111.185522, - 22.735942 - ], - [ - 111.118385, - 22.744773 - ], - [ - 111.058023, - 22.729871 - ], - [ - 111.089435, - 22.695643 - ], - [ - 111.055559, - 22.648705 - ], - [ - 110.997045, - 22.631582 - ], - [ - 110.958856, - 22.636553 - ], - [ - 110.950233, - 22.61059 - ], - [ - 110.896031, - 22.613352 - ], - [ - 110.897878, - 22.591805 - ], - [ - 110.812263, - 22.576333 - ], - [ - 110.778386, - 22.585174 - ], - [ - 110.749437, - 22.556991 - ], - [ - 110.762988, - 22.518298 - ], - [ - 110.740198, - 22.498947 - ], - [ - 110.74143, - 22.464109 - ], - [ - 110.688459, - 22.477935 - ], - [ - 110.712481, - 22.440879 - ], - [ - 110.711249, - 22.369506 - ], - [ - 110.74143, - 22.361757 - ], - [ - 110.749437, - 22.329653 - ], - [ - 110.787009, - 22.28259 - ], - [ - 110.759292, - 22.274837 - ], - [ - 110.725415, - 22.29588 - ], - [ - 110.687843, - 22.249914 - ], - [ - 110.646575, - 22.220554 - ], - [ - 110.678604, - 22.172901 - ], - [ - 110.629329, - 22.149068 - ], - [ - 110.598532, - 22.162924 - ], - [ - 110.602843, - 22.18343 - ], - [ - 110.55788, - 22.196175 - ], - [ - 110.505525, - 22.14297 - ], - [ - 110.456866, - 22.189526 - ], - [ - 110.414366, - 22.208365 - ], - [ - 110.378026, - 22.164587 - ], - [ - 110.34846, - 22.195621 - ], - [ - 110.326287, - 22.152393 - ], - [ - 110.364475, - 22.125785 - ], - [ - 110.35154, - 22.097508 - ], - [ - 110.359547, - 22.015973 - ], - [ - 110.352772, - 21.97602 - ], - [ - 110.374946, - 21.967695 - ], - [ - 110.374946, - 21.967695 - ], - [ - 110.378642, - 21.939942 - ], - [ - 110.378642, - 21.939942 - ], - [ - 110.391576, - 21.89386 - ], - [ - 110.337374, - 21.887751 - ], - [ - 110.290562, - 21.917736 - ], - [ - 110.283787, - 21.892194 - ], - [ - 110.224041, - 21.882198 - ], - [ - 110.224041, - 21.882198 - ], - [ - 110.212338, - 21.886085 - ], - [ - 110.212338, - 21.886085 - ], - [ - 110.196323, - 21.899968 - ], - [ - 110.12857, - 21.902744 - ], - [ - 110.101469, - 21.86998 - ], - [ - 110.050962, - 21.857205 - ], - [ - 109.999839, - 21.881643 - ], - [ - 109.94502, - 21.84443 - ], - [ - 109.940093, - 21.769419 - ], - [ - 109.916071, - 21.668787 - ], - [ - 109.888354, - 21.652101 - ], - [ - 109.888354, - 21.652101 - ], - [ - 109.839695, - 21.636525 - ], - [ - 109.786108, - 21.637638 - ], - [ - 109.778101, - 21.670455 - ], - [ - 109.742992, - 21.616497 - ], - [ - 109.754695, - 21.556396 - ], - [ - 109.788572, - 21.490702 - ], - [ - 109.785492, - 21.45673 - ], - [ - 109.819369, - 21.445033 - ], - [ - 109.894513, - 21.442248 - ], - [ - 109.904368, - 21.429992 - ], - [ - 109.868644, - 21.365913 - ], - [ - 109.770709, - 21.359783 - ], - [ - 109.757775, - 21.346963 - ], - [ - 109.763934, - 21.226514 - ], - [ - 109.674623, - 21.136671 - ], - [ - 109.674007, - 21.067997 - ], - [ - 109.655529, - 20.929435 - ], - [ - 109.664768, - 20.862343 - ], - [ - 109.711579, - 20.774519 - ], - [ - 109.730057, - 20.719673 - ], - [ - 109.74484, - 20.621124 - ], - [ - 109.793499, - 20.615522 - ], - [ - 109.813825, - 20.574627 - ], - [ - 109.811977, - 20.541566 - ], - [ - 109.839695, - 20.489439 - ], - [ - 109.888354, - 20.475423 - ], - [ - 109.895745, - 20.42776 - ], - [ - 109.864948, - 20.40196 - ], - [ - 109.861252, - 20.376717 - ], - [ - 109.916071, - 20.316677 - ], - [ - 109.909296, - 20.236961 - ], - [ - 109.929006, - 20.211691 - ], - [ - 109.993679, - 20.254368 - ], - [ - 110.082375, - 20.258859 - ], - [ - 110.118099, - 20.219553 - ], - [ - 110.168606, - 20.219553 - ], - [ - 110.220345, - 20.25156 - ], - [ - 110.296722, - 20.249314 - ], - [ - 110.349076, - 20.258859 - ], - [ - 110.384185, - 20.293103 - ], - [ - 110.425453, - 20.291419 - ], - [ - 110.452554, - 20.311064 - ], - [ - 110.491358, - 20.373912 - ], - [ - 110.54125, - 20.42047 - ], - [ - 110.550489, - 20.47262 - ], - [ - 110.499982, - 20.572386 - ], - [ - 110.487047, - 20.640167 - ], - [ - 110.466105, - 20.680485 - ], - [ - 110.411286, - 20.670966 - ], - [ - 110.392192, - 20.682724 - ], - [ - 110.407591, - 20.731987 - ], - [ - 110.393424, - 20.816479 - ], - [ - 110.350924, - 20.84165 - ], - [ - 110.327519, - 20.847802 - ], - [ - 110.269004, - 20.839972 - ], - [ - 110.209874, - 20.860106 - ], - [ - 110.184005, - 20.891979 - ], - [ - 110.180925, - 20.98197 - ], - [ - 110.204947, - 21.003202 - ], - [ - 110.208642, - 21.050684 - ], - [ - 110.241903, - 21.016051 - ], - [ - 110.24991, - 21.045098 - ], - [ - 110.296722, - 21.093684 - ], - [ - 110.39096, - 21.124949 - ], - [ - 110.422373, - 21.190807 - ], - [ - 110.451322, - 21.186343 - ], - [ - 110.501213, - 21.217588 - ], - [ - 110.534474, - 21.204198 - ], - [ - 110.626249, - 21.215915 - ], - [ - 110.65951, - 21.239902 - ], - [ - 110.713097, - 21.3124 - ], - [ - 110.768531, - 21.364799 - ], - [ - 110.796248, - 21.37483 - ], - [ - 110.888639, - 21.367585 - ], - [ - 110.929291, - 21.375945 - ], - [ - 111.034617, - 21.438906 - ], - [ - 111.103602, - 21.455616 - ], - [ - 111.171355, - 21.458401 - ], - [ - 111.28284, - 21.485691 - ], - [ - 111.276065, - 21.443362 - ], - [ - 111.250196, - 21.45116 - ], - [ - 111.257587, - 21.41495 - ], - [ - 111.28592, - 21.41885 - ], - [ - 111.353058, - 21.464528 - ], - [ - 111.382623, - 21.495714 - ], - [ - 111.444217, - 21.514088 - ], - [ - 111.494724, - 21.501282 - ], - [ - 111.521825, - 21.517429 - ], - [ - 111.560629, - 21.50518 - ], - [ - 111.609904, - 21.530234 - ], - [ - 111.650556, - 21.512418 - ], - [ - 111.677658, - 21.529677 - ], - [ - 111.693672, - 21.590345 - ], - [ - 111.736788, - 21.609821 - ], - [ - 111.794686, - 21.61149 - ], - [ - 111.832258, - 21.578659 - ], - [ - 111.810084, - 21.555283 - ], - [ - 111.887693, - 21.578659 - ], - [ - 111.941896, - 21.607039 - ], - [ - 111.972692, - 21.603144 - ], - [ - 112.026895, - 21.633744 - ], - [ - 111.997946, - 21.657107 - ], - [ - 111.954214, - 21.667674 - ], - [ - 111.956062, - 21.710494 - ], - [ - 112.036134, - 21.761637 - ], - [ - 112.136532, - 21.793871 - ], - [ - 112.192583, - 21.789425 - ], - [ - 112.196894, - 21.736624 - ], - [ - 112.236315, - 21.727173 - ], - [ - 112.238778, - 21.702153 - ], - [ - 112.353343, - 21.707157 - ], - [ - 112.415553, - 21.734956 - ], - [ - 112.427256, - 21.789981 - ], - [ - 112.445734, - 21.803317 - ], - [ - 112.497473, - 21.785535 - ], - [ - 112.535661, - 21.753856 - ], - [ - 112.647146, - 21.758302 - ], - [ - 112.68595, - 21.810541 - ], - [ - 112.792508, - 21.921067 - ], - [ - 112.841167, - 21.920512 - ], - [ - 112.893522, - 21.84443 - ], - [ - 112.929862, - 21.838875 - ], - [ - 112.989608, - 21.869424 - ], - [ - 113.047507, - 21.956595 - ], - [ - 113.053666, - 22.012089 - ], - [ - 113.032108, - 22.04593 - ], - [ - 113.045659, - 22.088636 - ], - [ - 113.086927, - 22.12634 - ], - [ - 113.091854, - 22.065344 - ], - [ - 113.142977, - 22.012089 - ], - [ - 113.1516, - 21.979905 - ], - [ - 113.235368, - 21.887751 - ], - [ - 113.266781, - 21.871646 - ], - [ - 113.319752, - 21.909407 - ], - [ - 113.330223, - 21.96159 - ], - [ - 113.442324, - 22.009315 - ], - [ - 113.45957, - 22.043711 - ], - [ - 113.527939, - 22.073663 - ], - [ - 113.567359, - 22.075327 - ], - [ - 113.554425, - 22.107489 - ], - [ - 113.554425, - 22.142416 - ], - [ - 113.534715, - 22.174009 - ], - [ - 113.53841, - 22.209473 - ], - [ - 113.558736, - 22.212244 - ] - ] - ], - [ - [ - [ - 117.024627, - 23.437865 - ], - [ - 116.982743, - 23.460924 - ], - [ - 116.944555, - 23.440061 - ], - [ - 116.951946, - 23.419744 - ], - [ - 117.027091, - 23.41535 - ], - [ - 117.050496, - 23.400522 - ], - [ - 117.081909, - 23.409309 - ], - [ - 117.124409, - 23.389537 - ], - [ - 117.142887, - 23.400522 - ], - [ - 117.142887, - 23.459826 - ], - [ - 117.129336, - 23.483431 - ], - [ - 117.093612, - 23.459277 - ], - [ - 117.058503, - 23.47355 - ], - [ - 117.029554, - 23.443356 - ], - [ - 117.024627, - 23.437865 - ] - ] - ], - [ - [ - [ - 112.853486, - 21.740515 - ], - [ - 112.876275, - 21.772753 - ], - [ - 112.840551, - 21.776644 - ], - [ - 112.782653, - 21.739959 - ], - [ - 112.724138, - 21.719945 - ], - [ - 112.70566, - 21.679354 - ], - [ - 112.734609, - 21.666562 - ], - [ - 112.780189, - 21.671568 - ], - [ - 112.730914, - 21.613715 - ], - [ - 112.775261, - 21.564189 - ], - [ - 112.817145, - 21.590345 - ], - [ - 112.798667, - 21.610933 - ], - [ - 112.821457, - 21.655994 - ], - [ - 112.804826, - 21.686583 - ], - [ - 112.83316, - 21.736624 - ], - [ - 112.853486, - 21.740515 - ] - ] - ], - [ - [ - [ - 112.530733, - 21.583667 - ], - [ - 112.563378, - 21.591458 - ], - [ - 112.571385, - 21.619835 - ], - [ - 112.621277, - 21.606482 - ], - [ - 112.665624, - 21.642644 - ], - [ - 112.639139, - 21.67268 - ], - [ - 112.66624, - 21.683803 - ], - [ - 112.663776, - 21.714386 - ], - [ - 112.592327, - 21.693256 - ], - [ - 112.560299, - 21.666562 - ], - [ - 112.57077, - 21.645982 - ], - [ - 112.535045, - 21.628737 - ], - [ - 112.530733, - 21.583667 - ] - ] - ], - [ - [ - [ - 114.231342, - 22.016528 - ], - [ - 114.311414, - 22.041493 - ], - [ - 114.302791, - 22.050368 - ], - [ - 114.239965, - 22.03539 - ], - [ - 114.231342, - 22.016528 - ] - ] - ], - [ - [ - [ - 110.43346, - 21.171276 - ], - [ - 110.489511, - 21.138904 - ], - [ - 110.508605, - 21.140579 - ], - [ - 110.544945, - 21.083633 - ], - [ - 110.582517, - 21.094801 - ], - [ - 110.632409, - 21.210893 - ], - [ - 110.589293, - 21.194713 - ], - [ - 110.525235, - 21.190249 - ], - [ - 110.499366, - 21.213125 - ], - [ - 110.445163, - 21.184669 - ], - [ - 110.431612, - 21.180763 - ], - [ - 110.43346, - 21.171276 - ] - ] - ], - [ - [ - [ - 112.435263, - 21.663781 - ], - [ - 112.456205, - 21.648763 - ], - [ - 112.458669, - 21.68992 - ], - [ - 112.435263, - 21.663781 - ] - ] - ], - [ - [ - [ - 110.517844, - 21.079166 - ], - [ - 110.459946, - 21.062971 - ], - [ - 110.398352, - 21.096476 - ], - [ - 110.352772, - 21.079724 - ], - [ - 110.305961, - 21.0881 - ], - [ - 110.27578, - 21.033369 - ], - [ - 110.211106, - 20.986999 - ], - [ - 110.201251, - 20.938378 - ], - [ - 110.309656, - 20.963529 - ], - [ - 110.347845, - 20.984763 - ], - [ - 110.407591, - 20.990351 - ], - [ - 110.47288, - 20.983087 - ], - [ - 110.511684, - 20.916578 - ], - [ - 110.535706, - 20.922727 - ], - [ - 110.539402, - 20.987557 - ], - [ - 110.560344, - 21.061295 - ], - [ - 110.517844, - 21.079166 - ] - ] - ], - [ - [ - [ - 113.765076, - 21.962145 - ], - [ - 113.774315, - 21.998218 - ], - [ - 113.74167, - 21.991559 - ], - [ - 113.765076, - 21.962145 - ] - ] - ], - [ - [ - [ - 113.723192, - 21.922177 - ], - [ - 113.742902, - 21.950489 - ], - [ - 113.71888, - 21.951599 - ], - [ - 113.723192, - 21.922177 - ] - ] - ], - [ - [ - [ - 113.142977, - 21.831653 - ], - [ - 113.162071, - 21.853873 - ], - [ - 113.203955, - 21.861093 - ], - [ - 113.167615, - 21.876644 - ], - [ - 113.136818, - 21.868869 - ], - [ - 113.142977, - 21.831653 - ] - ] - ], - [ - [ - [ - 113.819894, - 22.396068 - ], - [ - 113.813735, - 22.419858 - ], - [ - 113.786634, - 22.413773 - ], - [ - 113.819894, - 22.396068 - ] - ] - ], - [ - [ - [ - 114.190074, - 21.986564 - ], - [ - 114.229494, - 21.995443 - ], - [ - 114.180835, - 22.00987 - ], - [ - 114.190074, - 21.986564 - ] - ] - ], - [ - [ - [ - 114.153734, - 21.97491 - ], - [ - 114.171596, - 22.000437 - ], - [ - 114.124169, - 21.985455 - ], - [ - 114.153734, - 21.97491 - ] - ] - ], - [ - [ - [ - 116.769628, - 20.771721 - ], - [ - 116.761005, - 20.750456 - ], - [ - 116.87249, - 20.738143 - ], - [ - 116.889736, - 20.683284 - ], - [ - 116.849084, - 20.628405 - ], - [ - 116.749302, - 20.600958 - ], - [ - 116.796113, - 20.582471 - ], - [ - 116.862635, - 20.588633 - ], - [ - 116.905135, - 20.619443 - ], - [ - 116.934084, - 20.676565 - ], - [ - 116.925461, - 20.726949 - ], - [ - 116.88604, - 20.775638 - ], - [ - 116.820135, - 20.780674 - ], - [ - 116.769628, - 20.771721 - ] - ] - ], - [ - [ - [ - 113.025333, - 21.847762 - ], - [ - 113.045659, - 21.882753 - ], - [ - 113.007471, - 21.869424 - ], - [ - 113.025333, - 21.847762 - ] - ] - ], - [ - [ - [ - 110.405127, - 20.678245 - ], - [ - 110.437772, - 20.677685 - ], - [ - 110.414366, - 20.710157 - ], - [ - 110.405127, - 20.678245 - ] - ] - ], - [ - [ - [ - 110.644727, - 20.935584 - ], - [ - 110.584365, - 20.948998 - ], - [ - 110.548641, - 20.908752 - ], - [ - 110.562807, - 20.861224 - ], - [ - 110.611467, - 20.860106 - ], - [ - 110.646575, - 20.917137 - ], - [ - 110.644727, - 20.935584 - ] - ] - ], - [ - [ - [ - 110.556648, - 20.32734 - ], - [ - 110.593604, - 20.360447 - ], - [ - 110.586213, - 20.381205 - ], - [ - 110.556648, - 20.32734 - ] - ] - ], - [ - [ - [ - 115.943037, - 21.097592 - ], - [ - 115.953508, - 21.064088 - ], - [ - 115.989233, - 21.035603 - ], - [ - 116.040356, - 21.02052 - ], - [ - 116.067457, - 21.04063 - ], - [ - 116.044051, - 21.110434 - ], - [ - 116.024341, - 21.12439 - ], - [ - 115.965211, - 21.123832 - ], - [ - 115.943037, - 21.097592 - ] - ] - ], - [ - [ - [ - 115.926407, - 20.981411 - ], - [ - 115.939342, - 20.945644 - ], - [ - 115.970139, - 20.919373 - ], - [ - 115.999088, - 20.922727 - ], - [ - 116.000936, - 20.948439 - ], - [ - 115.954124, - 20.99985 - ], - [ - 115.926407, - 20.981411 - ] - ] - ], - [ - [ - [ - 115.834632, - 22.722695 - ], - [ - 115.834632, - 22.722143 - ], - [ - 115.835248, - 22.722695 - ], - [ - 115.834632, - 22.722695 - ] - ] - ], - [ - [ - [ - 115.834632, - 22.723247 - ], - [ - 115.834632, - 22.722695 - ], - [ - 115.835248, - 22.722695 - ], - [ - 115.834632, - 22.723247 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 450000, - "name": "广西壮族自治区", - "center": [ - 108.320004, - 22.82402 - ], - "centroid": [ - 108.7944, - 23.833381 - ], - "childrenNum": 14, - "cp": [108.7813, 23.6426], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 19, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 109.48245, - 26.029788 - ], - [ - 109.473211, - 26.006663 - ], - [ - 109.408537, - 25.967392 - ], - [ - 109.435022, - 25.93349 - ], - [ - 109.396834, - 25.900117 - ], - [ - 109.359262, - 25.836036 - ], - [ - 109.339552, - 25.83442 - ], - [ - 109.327849, - 25.76168 - ], - [ - 109.340168, - 25.731493 - ], - [ - 109.296436, - 25.71424 - ], - [ - 109.207125, - 25.740119 - ], - [ - 109.206509, - 25.788087 - ], - [ - 109.147995, - 25.741736 - ], - [ - 109.13198, - 25.762758 - ], - [ - 109.143683, - 25.795092 - ], - [ - 109.095024, - 25.80533 - ], - [ - 109.077778, - 25.776771 - ], - [ - 109.048213, - 25.790781 - ], - [ - 108.989698, - 25.778926 - ], - [ - 108.999553, - 25.765453 - ], - [ - 108.963829, - 25.732572 - ], - [ - 108.940423, - 25.740119 - ], - [ - 108.896076, - 25.71424 - ], - [ - 108.900387, - 25.682423 - ], - [ - 108.953974, - 25.686738 - ], - [ - 108.953974, - 25.686738 - ], - [ - 109.007561, - 25.734728 - ], - [ - 109.043285, - 25.738502 - ], - [ - 109.07901, - 25.72071 - ], - [ - 109.075314, - 25.693749 - ], - [ - 109.030966, - 25.629556 - ], - [ - 109.051908, - 25.566949 - ], - [ - 109.088249, - 25.550752 - ], - [ - 109.024807, - 25.51241 - ], - [ - 108.949046, - 25.557231 - ], - [ - 108.8893, - 25.543193 - ], - [ - 108.890532, - 25.556151 - ], - [ - 108.826474, - 25.550212 - ], - [ - 108.814772, - 25.526992 - ], - [ - 108.781511, - 25.554531 - ], - [ - 108.799989, - 25.576666 - ], - [ - 108.783975, - 25.628477 - ], - [ - 108.724844, - 25.634952 - ], - [ - 108.68912, - 25.623081 - ], - [ - 108.68604, - 25.587462 - ], - [ - 108.660787, - 25.584763 - ], - [ - 108.658323, - 25.550212 - ], - [ - 108.68912, - 25.533473 - ], - [ - 108.634917, - 25.520512 - ], - [ - 108.6072, - 25.491885 - ], - [ - 108.600425, - 25.432448 - ], - [ - 108.62999, - 25.335666 - ], - [ - 108.625062, - 25.308076 - ], - [ - 108.589338, - 25.335125 - ], - [ - 108.585642, - 25.365952 - ], - [ - 108.471693, - 25.458928 - ], - [ - 108.418723, - 25.443257 - ], - [ - 108.400244, - 25.491344 - ], - [ - 108.359592, - 25.513491 - ], - [ - 108.348506, - 25.536173 - ], - [ - 108.308469, - 25.525912 - ], - [ - 108.280752, - 25.48 - ], - [ - 108.241332, - 25.46217 - ], - [ - 108.251803, - 25.430286 - ], - [ - 108.192673, - 25.458928 - ], - [ - 108.162492, - 25.444878 - ], - [ - 108.193289, - 25.405421 - ], - [ - 108.142782, - 25.390825 - ], - [ - 108.152021, - 25.324306 - ], - [ - 108.143398, - 25.269658 - ], - [ - 108.115065, - 25.210112 - ], - [ - 108.080572, - 25.193867 - ], - [ - 108.001732, - 25.196574 - ], - [ - 107.928435, - 25.155954 - ], - [ - 107.872384, - 25.141327 - ], - [ - 107.839124, - 25.115861 - ], - [ - 107.762747, - 25.125073 - ], - [ - 107.789233, - 25.15487 - ], - [ - 107.760283, - 25.188451 - ], - [ - 107.762131, - 25.229061 - ], - [ - 107.741805, - 25.24043 - ], - [ - 107.700537, - 25.194408 - ], - [ - 107.696226, - 25.219858 - ], - [ - 107.661733, - 25.258833 - ], - [ - 107.659885, - 25.316192 - ], - [ - 107.632168, - 25.310241 - ], - [ - 107.599523, - 25.250714 - ], - [ - 107.576734, - 25.256668 - ], - [ - 107.512676, - 25.209029 - ], - [ - 107.472024, - 25.213902 - ], - [ - 107.489886, - 25.276693 - ], - [ - 107.481263, - 25.299961 - ], - [ - 107.432604, - 25.289139 - ], - [ - 107.409198, - 25.347024 - ], - [ - 107.420901, - 25.392987 - ], - [ - 107.375937, - 25.411908 - ], - [ - 107.358691, - 25.393528 - ], - [ - 107.318039, - 25.401637 - ], - [ - 107.308184, - 25.432988 - ], - [ - 107.336517, - 25.461089 - ], - [ - 107.263836, - 25.543193 - ], - [ - 107.232423, - 25.556691 - ], - [ - 107.228728, - 25.604733 - ], - [ - 107.205322, - 25.607971 - ], - [ - 107.185612, - 25.578825 - ], - [ - 107.064272, - 25.559391 - ], - [ - 107.066736, - 25.50917 - ], - [ - 107.015613, - 25.495666 - ], - [ - 106.996519, - 25.442716 - ], - [ - 106.963874, - 25.437852 - ], - [ - 106.987896, - 25.358922 - ], - [ - 107.012533, - 25.352973 - ], - [ - 107.013765, - 25.275611 - ], - [ - 106.975577, - 25.232851 - ], - [ - 106.933077, - 25.250714 - ], - [ - 106.904128, - 25.231768 - ], - [ - 106.888113, - 25.181953 - ], - [ - 106.853005, - 25.186827 - ], - [ - 106.787715, - 25.17112 - ], - [ - 106.764926, - 25.183036 - ], - [ - 106.732281, - 25.162454 - ], - [ - 106.691013, - 25.179245 - ], - [ - 106.644817, - 25.164621 - ], - [ - 106.63989, - 25.132658 - ], - [ - 106.590615, - 25.08768 - ], - [ - 106.551195, - 25.082802 - ], - [ - 106.519782, - 25.054072 - ], - [ - 106.450181, - 25.033468 - ], - [ - 106.442173, - 25.019369 - ], - [ - 106.332536, - 24.988454 - ], - [ - 106.304819, - 24.973807 - ], - [ - 106.253696, - 24.971094 - ], - [ - 106.215508, - 24.981944 - ], - [ - 106.191486, - 24.95319 - ], - [ - 106.145291, - 24.954275 - ], - [ - 106.197645, - 24.885889 - ], - [ - 106.206269, - 24.851139 - ], - [ - 106.173008, - 24.760417 - ], - [ - 106.150218, - 24.762591 - ], - [ - 106.113878, - 24.714216 - ], - [ - 106.047356, - 24.684312 - ], - [ - 106.024566, - 24.633186 - ], - [ - 105.961741, - 24.677786 - ], - [ - 105.942031, - 24.725088 - ], - [ - 105.863806, - 24.729437 - ], - [ - 105.827466, - 24.702799 - ], - [ - 105.767104, - 24.719109 - ], - [ - 105.70551, - 24.768569 - ], - [ - 105.617431, - 24.78161 - ], - [ - 105.607576, - 24.803885 - ], - [ - 105.573083, - 24.797366 - ], - [ - 105.497322, - 24.809318 - ], - [ - 105.493011, - 24.833217 - ], - [ - 105.457286, - 24.87123 - ], - [ - 105.428337, - 24.930941 - ], - [ - 105.365511, - 24.943423 - ], - [ - 105.334099, - 24.9266 - ], - [ - 105.267577, - 24.929313 - ], - [ - 105.251563, - 24.967296 - ], - [ - 105.212758, - 24.995505 - ], - [ - 105.178266, - 24.985199 - ], - [ - 105.157324, - 24.958616 - ], - [ - 105.131454, - 24.959701 - ], - [ - 105.09573, - 24.92877 - ], - [ - 105.096346, - 24.928228 - ], - [ - 105.082179, - 24.915745 - ], - [ - 105.077868, - 24.918459 - ], - [ - 105.039064, - 24.872859 - ], - [ - 105.026745, - 24.815836 - ], - [ - 105.03352, - 24.787586 - ], - [ - 104.899245, - 24.752809 - ], - [ - 104.865985, - 24.730524 - ], - [ - 104.841963, - 24.676155 - ], - [ - 104.771746, - 24.659839 - ], - [ - 104.729246, - 24.617953 - ], - [ - 104.703377, - 24.645698 - ], - [ - 104.628848, - 24.660927 - ], - [ - 104.595587, - 24.709323 - ], - [ - 104.529682, - 24.731611 - ], - [ - 104.489646, - 24.653313 - ], - [ - 104.520443, - 24.535228 - ], - [ - 104.550008, - 24.518894 - ], - [ - 104.575877, - 24.424661 - ], - [ - 104.616529, - 24.421937 - ], - [ - 104.63008, - 24.397958 - ], - [ - 104.610986, - 24.377246 - ], - [ - 104.641783, - 24.367979 - ], - [ - 104.70892, - 24.321087 - ], - [ - 104.721239, - 24.340173 - ], - [ - 104.703377, - 24.419757 - ], - [ - 104.715695, - 24.441552 - ], - [ - 104.74834, - 24.435559 - ], - [ - 104.765587, - 24.45953 - ], - [ - 104.784681, - 24.443732 - ], - [ - 104.83642, - 24.446456 - ], - [ - 104.914028, - 24.426296 - ], - [ - 104.930042, - 24.411038 - ], - [ - 104.979933, - 24.412673 - ], - [ - 105.042759, - 24.442097 - ], - [ - 105.106817, - 24.414853 - ], - [ - 105.111744, - 24.37234 - ], - [ - 105.138846, - 24.376701 - ], - [ - 105.188121, - 24.347261 - ], - [ - 105.196744, - 24.326541 - ], - [ - 105.164715, - 24.288362 - ], - [ - 105.215222, - 24.214699 - ], - [ - 105.24294, - 24.208695 - ], - [ - 105.229389, - 24.165567 - ], - [ - 105.182577, - 24.167205 - ], - [ - 105.20044, - 24.105491 - ], - [ - 105.260186, - 24.061236 - ], - [ - 105.292831, - 24.074896 - ], - [ - 105.273121, - 24.092927 - ], - [ - 105.320548, - 24.116416 - ], - [ - 105.334099, - 24.094566 - ], - [ - 105.395692, - 24.065607 - ], - [ - 105.406163, - 24.043748 - ], - [ - 105.493011, - 24.016965 - ], - [ - 105.533663, - 24.130071 - ], - [ - 105.594641, - 24.137718 - ], - [ - 105.628518, - 24.126794 - ], - [ - 105.649459, - 24.032816 - ], - [ - 105.704278, - 24.0667 - ], - [ - 105.739387, - 24.059596 - ], - [ - 105.765256, - 24.073804 - ], - [ - 105.802212, - 24.051945 - ], - [ - 105.796669, - 24.023524 - ], - [ - 105.841633, - 24.03063 - ], - [ - 105.859495, - 24.056864 - ], - [ - 105.89214, - 24.040468 - ], - [ - 105.908154, - 24.069432 - ], - [ - 105.901995, - 24.099482 - ], - [ - 105.919241, - 24.122425 - ], - [ - 105.963589, - 24.110954 - ], - [ - 105.998081, - 24.120786 - ], - [ - 106.011632, - 24.099482 - ], - [ - 106.04982, - 24.089649 - ], - [ - 106.053516, - 24.051399 - ], - [ - 106.096631, - 24.018058 - ], - [ - 106.091088, - 23.998924 - ], - [ - 106.128044, - 23.956819 - ], - [ - 106.157609, - 23.891174 - ], - [ - 106.192718, - 23.879135 - ], - [ - 106.173008, - 23.861622 - ], - [ - 106.192102, - 23.824947 - ], - [ - 106.136667, - 23.795381 - ], - [ - 106.157609, - 23.724175 - ], - [ - 106.149602, - 23.665538 - ], - [ - 106.120653, - 23.605229 - ], - [ - 106.141595, - 23.569579 - ], - [ - 106.08616, - 23.524043 - ], - [ - 106.071994, - 23.495506 - ], - [ - 106.039965, - 23.484529 - ], - [ - 105.999929, - 23.447748 - ], - [ - 105.986378, - 23.489469 - ], - [ - 105.935871, - 23.508678 - ], - [ - 105.913081, - 23.499348 - ], - [ - 105.89214, - 23.52514 - ], - [ - 105.852103, - 23.526786 - ], - [ - 105.815763, - 23.507031 - ], - [ - 105.805908, - 23.467512 - ], - [ - 105.758481, - 23.459826 - ], - [ - 105.699966, - 23.40162 - ], - [ - 105.637757, - 23.404366 - ], - [ - 105.694423, - 23.363168 - ], - [ - 105.699966, - 23.327453 - ], - [ - 105.649459, - 23.346136 - ], - [ - 105.593409, - 23.312614 - ], - [ - 105.560148, - 23.257093 - ], - [ - 105.526272, - 23.234548 - ], - [ - 105.542902, - 23.184495 - ], - [ - 105.558916, - 23.177893 - ], - [ - 105.574931, - 23.066165 - ], - [ - 105.625438, - 23.064513 - ], - [ - 105.648844, - 23.078828 - ], - [ - 105.724604, - 23.06231 - ], - [ - 105.74185, - 23.030921 - ], - [ - 105.780039, - 23.022659 - ], - [ - 105.805908, - 22.994565 - ], - [ - 105.839169, - 22.987403 - ], - [ - 105.879205, - 22.916865 - ], - [ - 105.893987, - 22.936707 - ], - [ - 105.959277, - 22.948832 - ], - [ - 105.994385, - 22.93781 - ], - [ - 106.019639, - 22.990709 - ], - [ - 106.08616, - 22.996218 - ], - [ - 106.106486, - 22.980792 - ], - [ - 106.153914, - 22.988505 - ], - [ - 106.206885, - 22.978588 - ], - [ - 106.270326, - 22.907494 - ], - [ - 106.258007, - 22.889852 - ], - [ - 106.286957, - 22.867245 - ], - [ - 106.366413, - 22.857871 - ], - [ - 106.37134, - 22.878273 - ], - [ - 106.41384, - 22.877171 - ], - [ - 106.504383, - 22.91025 - ], - [ - 106.525941, - 22.946628 - ], - [ - 106.562282, - 22.923479 - ], - [ - 106.606013, - 22.925684 - ], - [ - 106.631267, - 22.88103 - ], - [ - 106.657136, - 22.863385 - ], - [ - 106.674998, - 22.891506 - ], - [ - 106.716882, - 22.881582 - ], - [ - 106.709491, - 22.866142 - ], - [ - 106.774781, - 22.812643 - ], - [ - 106.776012, - 22.813746 - ], - [ - 106.778476, - 22.814298 - ], - [ - 106.779092, - 22.813746 - ], - [ - 106.779708, - 22.813195 - ], - [ - 106.78094, - 22.813195 - ], - [ - 106.784636, - 22.812643 - ], - [ - 106.796338, - 22.812091 - ], - [ - 106.801882, - 22.815401 - ], - [ - 106.804346, - 22.816505 - ], - [ - 106.808657, - 22.817608 - ], - [ - 106.813585, - 22.817608 - ], - [ - 106.838838, - 22.803265 - ], - [ - 106.820976, - 22.768504 - ], - [ - 106.768621, - 22.739254 - ], - [ - 106.780324, - 22.708894 - ], - [ - 106.756302, - 22.68957 - ], - [ - 106.711955, - 22.575228 - ], - [ - 106.650361, - 22.575228 - ], - [ - 106.61402, - 22.602303 - ], - [ - 106.585071, - 22.517192 - ], - [ - 106.588151, - 22.472958 - ], - [ - 106.560434, - 22.455813 - ], - [ - 106.588767, - 22.374486 - ], - [ - 106.562897, - 22.345706 - ], - [ - 106.663296, - 22.33076 - ], - [ - 106.670071, - 22.283144 - ], - [ - 106.688549, - 22.260438 - ], - [ - 106.7021, - 22.207257 - ], - [ - 106.673151, - 22.182322 - ], - [ - 106.706411, - 22.160707 - ], - [ - 106.691629, - 22.13521 - ], - [ - 106.71565, - 22.089745 - ], - [ - 106.706411, - 22.021521 - ], - [ - 106.683006, - 21.999882 - ], - [ - 106.698404, - 21.959925 - ], - [ - 106.73844, - 22.008205 - ], - [ - 106.790179, - 22.004876 - ], - [ - 106.802498, - 21.98157 - ], - [ - 106.859164, - 21.986009 - ], - [ - 106.926302, - 21.967695 - ], - [ - 106.935541, - 21.933836 - ], - [ - 106.974345, - 21.923288 - ], - [ - 106.999598, - 21.947714 - ], - [ - 107.05996, - 21.914959 - ], - [ - 107.058729, - 21.887196 - ], - [ - 107.018693, - 21.859427 - ], - [ - 107.018077, - 21.81943 - ], - [ - 107.093837, - 21.803317 - ], - [ - 107.148656, - 21.758858 - ], - [ - 107.194851, - 21.736624 - ], - [ - 107.199163, - 21.718833 - ], - [ - 107.242279, - 21.703265 - ], - [ - 107.271844, - 21.727173 - ], - [ - 107.310648, - 21.733844 - ], - [ - 107.356843, - 21.667674 - ], - [ - 107.363619, - 21.602031 - ], - [ - 107.388256, - 21.594241 - ], - [ - 107.431372, - 21.642088 - ], - [ - 107.477567, - 21.659888 - ], - [ - 107.500973, - 21.613715 - ], - [ - 107.486806, - 21.59591 - ], - [ - 107.547168, - 21.58645 - ], - [ - 107.584741, - 21.614828 - ], - [ - 107.603219, - 21.597579 - ], - [ - 107.712856, - 21.616497 - ], - [ - 107.807711, - 21.655438 - ], - [ - 107.837892, - 21.640419 - ], - [ - 107.863761, - 21.650988 - ], - [ - 107.892095, - 21.622617 - ], - [ - 107.893942, - 21.596466 - ], - [ - 107.929051, - 21.585893 - ], - [ - 107.958, - 21.534131 - ], - [ - 108.034376, - 21.545821 - ], - [ - 108.108289, - 21.508521 - ], - [ - 108.193905, - 21.519656 - ], - [ - 108.156332, - 21.55083 - ], - [ - 108.205608, - 21.597579 - ], - [ - 108.241332, - 21.599805 - ], - [ - 108.249955, - 21.561406 - ], - [ - 108.210535, - 21.505737 - ], - [ - 108.230245, - 21.491259 - ], - [ - 108.330027, - 21.540254 - ], - [ - 108.397781, - 21.533017 - ], - [ - 108.492635, - 21.554727 - ], - [ - 108.591802, - 21.677129 - ], - [ - 108.626294, - 21.67991 - ], - [ - 108.658939, - 21.643757 - ], - [ - 108.678033, - 21.659331 - ], - [ - 108.735931, - 21.628181 - ], - [ - 108.734084, - 21.626512 - ], - [ - 108.745786, - 21.602587 - ], - [ - 108.801837, - 21.626512 - ], - [ - 108.83325, - 21.610933 - ], - [ - 108.881293, - 21.627068 - ], - [ - 108.937959, - 21.589789 - ], - [ - 109.093792, - 21.579215 - ], - [ - 109.09872, - 21.571424 - ], - [ - 109.110422, - 21.568085 - ], - [ - 109.138756, - 21.567528 - ], - [ - 109.142451, - 21.511861 - ], - [ - 109.074698, - 21.489589 - ], - [ - 109.039589, - 21.457844 - ], - [ - 109.046365, - 21.424421 - ], - [ - 109.095024, - 21.419407 - ], - [ - 109.138756, - 21.388762 - ], - [ - 109.186183, - 21.390991 - ], - [ - 109.245929, - 21.425536 - ], - [ - 109.41716, - 21.438906 - ], - [ - 109.484914, - 21.453388 - ], - [ - 109.529877, - 21.437234 - ], - [ - 109.540964, - 21.466199 - ], - [ - 109.576689, - 21.493487 - ], - [ - 109.604406, - 21.523553 - ], - [ - 109.612413, - 21.556953 - ], - [ - 109.654913, - 21.493487 - ], - [ - 109.704188, - 21.462857 - ], - [ - 109.785492, - 21.45673 - ], - [ - 109.788572, - 21.490702 - ], - [ - 109.754695, - 21.556396 - ], - [ - 109.742992, - 21.616497 - ], - [ - 109.778101, - 21.670455 - ], - [ - 109.786108, - 21.637638 - ], - [ - 109.839695, - 21.636525 - ], - [ - 109.888354, - 21.652101 - ], - [ - 109.888354, - 21.652101 - ], - [ - 109.916071, - 21.668787 - ], - [ - 109.940093, - 21.769419 - ], - [ - 109.94502, - 21.84443 - ], - [ - 109.999839, - 21.881643 - ], - [ - 110.050962, - 21.857205 - ], - [ - 110.101469, - 21.86998 - ], - [ - 110.12857, - 21.902744 - ], - [ - 110.196323, - 21.899968 - ], - [ - 110.212338, - 21.886085 - ], - [ - 110.212338, - 21.886085 - ], - [ - 110.224041, - 21.882198 - ], - [ - 110.224041, - 21.882198 - ], - [ - 110.283787, - 21.892194 - ], - [ - 110.290562, - 21.917736 - ], - [ - 110.337374, - 21.887751 - ], - [ - 110.391576, - 21.89386 - ], - [ - 110.378642, - 21.939942 - ], - [ - 110.378642, - 21.939942 - ], - [ - 110.374946, - 21.967695 - ], - [ - 110.374946, - 21.967695 - ], - [ - 110.352772, - 21.97602 - ], - [ - 110.359547, - 22.015973 - ], - [ - 110.35154, - 22.097508 - ], - [ - 110.364475, - 22.125785 - ], - [ - 110.326287, - 22.152393 - ], - [ - 110.34846, - 22.195621 - ], - [ - 110.378026, - 22.164587 - ], - [ - 110.414366, - 22.208365 - ], - [ - 110.456866, - 22.189526 - ], - [ - 110.505525, - 22.14297 - ], - [ - 110.55788, - 22.196175 - ], - [ - 110.602843, - 22.18343 - ], - [ - 110.598532, - 22.162924 - ], - [ - 110.629329, - 22.149068 - ], - [ - 110.678604, - 22.172901 - ], - [ - 110.646575, - 22.220554 - ], - [ - 110.687843, - 22.249914 - ], - [ - 110.725415, - 22.29588 - ], - [ - 110.759292, - 22.274837 - ], - [ - 110.787009, - 22.28259 - ], - [ - 110.749437, - 22.329653 - ], - [ - 110.74143, - 22.361757 - ], - [ - 110.711249, - 22.369506 - ], - [ - 110.712481, - 22.440879 - ], - [ - 110.688459, - 22.477935 - ], - [ - 110.74143, - 22.464109 - ], - [ - 110.740198, - 22.498947 - ], - [ - 110.762988, - 22.518298 - ], - [ - 110.749437, - 22.556991 - ], - [ - 110.778386, - 22.585174 - ], - [ - 110.812263, - 22.576333 - ], - [ - 110.897878, - 22.591805 - ], - [ - 110.896031, - 22.613352 - ], - [ - 110.950233, - 22.61059 - ], - [ - 110.958856, - 22.636553 - ], - [ - 110.997045, - 22.631582 - ], - [ - 111.055559, - 22.648705 - ], - [ - 111.089435, - 22.695643 - ], - [ - 111.058023, - 22.729871 - ], - [ - 111.118385, - 22.744773 - ], - [ - 111.185522, - 22.735942 - ], - [ - 111.218167, - 22.748085 - ], - [ - 111.358601, - 22.889301 - ], - [ - 111.374615, - 22.938361 - ], - [ - 111.362913, - 22.967568 - ], - [ - 111.403565, - 22.99126 - ], - [ - 111.389398, - 23.005583 - ], - [ - 111.433746, - 23.036428 - ], - [ - 111.43313, - 23.073322 - ], - [ - 111.402333, - 23.066165 - ], - [ - 111.377695, - 23.082132 - ], - [ - 111.365992, - 23.14488 - ], - [ - 111.38447, - 23.16744 - ], - [ - 111.388782, - 23.210349 - ], - [ - 111.36476, - 23.240047 - ], - [ - 111.353058, - 23.284582 - ], - [ - 111.376463, - 23.30437 - ], - [ - 111.363528, - 23.340641 - ], - [ - 111.389398, - 23.375804 - ], - [ - 111.383239, - 23.399423 - ], - [ - 111.399869, - 23.469159 - ], - [ - 111.428818, - 23.466414 - ], - [ - 111.479941, - 23.532822 - ], - [ - 111.487332, - 23.626615 - ], - [ - 111.555702, - 23.64087 - ], - [ - 111.615448, - 23.639225 - ], - [ - 111.614832, - 23.65896 - ], - [ - 111.666571, - 23.718696 - ], - [ - 111.621607, - 23.725819 - ], - [ - 111.627766, - 23.78881 - ], - [ - 111.654868, - 23.833159 - ], - [ - 111.683201, - 23.822758 - ], - [ - 111.683201, - 23.822758 - ], - [ - 111.722621, - 23.823305 - ], - [ - 111.8107, - 23.80688 - ], - [ - 111.824867, - 23.832612 - ], - [ - 111.812548, - 23.887343 - ], - [ - 111.845809, - 23.904305 - ], - [ - 111.854432, - 23.947521 - ], - [ - 111.911714, - 23.943693 - ], - [ - 111.940664, - 23.987989 - ], - [ - 111.92157, - 24.012045 - ], - [ - 111.878454, - 24.109862 - ], - [ - 111.886461, - 24.163929 - ], - [ - 111.871062, - 24.176487 - ], - [ - 111.877222, - 24.227252 - ], - [ - 111.912946, - 24.221795 - ], - [ - 111.958526, - 24.263813 - ], - [ - 111.986243, - 24.25672 - ], - [ - 111.990555, - 24.279634 - ], - [ - 112.026279, - 24.294908 - ], - [ - 112.05954, - 24.339628 - ], - [ - 112.057692, - 24.387057 - ], - [ - 112.025047, - 24.438828 - ], - [ - 111.985011, - 24.467701 - ], - [ - 112.009649, - 24.503103 - ], - [ - 112.007185, - 24.534684 - ], - [ - 111.972077, - 24.578775 - ], - [ - 111.936968, - 24.595645 - ], - [ - 111.927729, - 24.629378 - ], - [ - 111.953598, - 24.64733 - ], - [ - 111.939432, - 24.686487 - ], - [ - 111.961606, - 24.721283 - ], - [ - 112.024431, - 24.740308 - ], - [ - 111.951135, - 24.769655 - ], - [ - 111.929577, - 24.75607 - ], - [ - 111.875374, - 24.756613 - ], - [ - 111.868599, - 24.771829 - ], - [ - 111.814396, - 24.770199 - ], - [ - 111.783599, - 24.785957 - ], - [ - 111.708455, - 24.788673 - ], - [ - 111.666571, - 24.760961 - ], - [ - 111.637621, - 24.715303 - ], - [ - 111.641933, - 24.684856 - ], - [ - 111.588962, - 24.690837 - ], - [ - 111.570484, - 24.64461 - ], - [ - 111.526752, - 24.637538 - ], - [ - 111.499035, - 24.667997 - ], - [ - 111.451608, - 24.665822 - ], - [ - 111.431282, - 24.687574 - ], - [ - 111.461463, - 24.728894 - ], - [ - 111.479325, - 24.797366 - ], - [ - 111.449144, - 24.857113 - ], - [ - 111.447296, - 24.892947 - ], - [ - 111.470086, - 24.92877 - ], - [ - 111.434977, - 24.951562 - ], - [ - 111.43313, - 24.979774 - ], - [ - 111.460231, - 24.992793 - ], - [ - 111.467622, - 25.02208 - ], - [ - 111.416499, - 25.047566 - ], - [ - 111.435593, - 25.093642 - ], - [ - 111.375231, - 25.128324 - ], - [ - 111.36784, - 25.108817 - ], - [ - 111.321645, - 25.105023 - ], - [ - 111.274833, - 25.151078 - ], - [ - 111.221862, - 25.106649 - ], - [ - 111.200921, - 25.074672 - ], - [ - 111.139943, - 25.042144 - ], - [ - 111.101754, - 25.035095 - ], - [ - 111.100522, - 24.945593 - ], - [ - 111.009363, - 24.921172 - ], - [ - 110.968711, - 24.975434 - ], - [ - 110.951465, - 25.04377 - ], - [ - 110.98411, - 25.101772 - ], - [ - 110.998892, - 25.161371 - ], - [ - 111.112841, - 25.21715 - ], - [ - 111.103602, - 25.285351 - ], - [ - 111.138711, - 25.303748 - ], - [ - 111.184906, - 25.367034 - ], - [ - 111.210776, - 25.363248 - ], - [ - 111.279145, - 25.42326 - ], - [ - 111.32842, - 25.521592 - ], - [ - 111.324724, - 25.564249 - ], - [ - 111.343202, - 25.602574 - ], - [ - 111.309942, - 25.645203 - ], - [ - 111.30871, - 25.720171 - ], - [ - 111.399869, - 25.744431 - ], - [ - 111.442369, - 25.77192 - ], - [ - 111.43313, - 25.84627 - ], - [ - 111.4861, - 25.859196 - ], - [ - 111.460231, - 25.885042 - ], - [ - 111.383239, - 25.881812 - ], - [ - 111.376463, - 25.906039 - ], - [ - 111.346282, - 25.906577 - ], - [ - 111.297007, - 25.874274 - ], - [ - 111.29208, - 25.854349 - ], - [ - 111.251428, - 25.864581 - ], - [ - 111.230486, - 25.916267 - ], - [ - 111.189834, - 25.953402 - ], - [ - 111.235413, - 26.048071 - ], - [ - 111.267442, - 26.058824 - ], - [ - 111.244652, - 26.078177 - ], - [ - 111.26621, - 26.095914 - ], - [ - 111.258203, - 26.151796 - ], - [ - 111.274833, - 26.183486 - ], - [ - 111.271754, - 26.217316 - ], - [ - 111.293311, - 26.222148 - ], - [ - 111.277913, - 26.272066 - ], - [ - 111.228022, - 26.261333 - ], - [ - 111.204616, - 26.276359 - ], - [ - 111.208928, - 26.30426 - ], - [ - 111.090667, - 26.308016 - ], - [ - 111.008132, - 26.336982 - ], - [ - 111.008747, - 26.35897 - ], - [ - 110.974255, - 26.385778 - ], - [ - 110.94469, - 26.373447 - ], - [ - 110.944074, - 26.326791 - ], - [ - 110.926212, - 26.320354 - ], - [ - 110.939762, - 26.286554 - ], - [ - 110.836284, - 26.255966 - ], - [ - 110.759292, - 26.248451 - ], - [ - 110.73527, - 26.270993 - ], - [ - 110.742046, - 26.313917 - ], - [ - 110.721104, - 26.294066 - ], - [ - 110.673676, - 26.317135 - ], - [ - 110.643495, - 26.308552 - ], - [ - 110.612083, - 26.333764 - ], - [ - 110.584365, - 26.296749 - ], - [ - 110.552952, - 26.283335 - ], - [ - 110.546793, - 26.233421 - ], - [ - 110.495054, - 26.166299 - ], - [ - 110.477808, - 26.179727 - ], - [ - 110.437772, - 26.153945 - ], - [ - 110.373098, - 26.088927 - ], - [ - 110.325671, - 25.975462 - ], - [ - 110.257301, - 25.961473 - ], - [ - 110.24991, - 26.010965 - ], - [ - 110.181541, - 26.060437 - ], - [ - 110.168606, - 26.028713 - ], - [ - 110.100853, - 26.020108 - ], - [ - 110.065128, - 26.050221 - ], - [ - 110.100853, - 26.132455 - ], - [ - 110.099005, - 26.168985 - ], - [ - 110.03002, - 26.166299 - ], - [ - 109.970274, - 26.195301 - ], - [ - 109.904368, - 26.135679 - ], - [ - 109.898825, - 26.095377 - ], - [ - 109.864332, - 26.027637 - ], - [ - 109.814441, - 26.041081 - ], - [ - 109.782412, - 25.996981 - ], - [ - 109.806434, - 25.973848 - ], - [ - 109.826144, - 25.911422 - ], - [ - 109.811361, - 25.877504 - ], - [ - 109.779333, - 25.866196 - ], - [ - 109.768246, - 25.890427 - ], - [ - 109.685094, - 25.880197 - ], - [ - 109.67955, - 25.921649 - ], - [ - 109.693717, - 25.959321 - ], - [ - 109.710963, - 25.954478 - ], - [ - 109.730057, - 25.989988 - ], - [ - 109.649369, - 26.016882 - ], - [ - 109.635203, - 26.047533 - ], - [ - 109.588391, - 26.019571 - ], - [ - 109.560058, - 26.021184 - ], - [ - 109.513247, - 25.998056 - ], - [ - 109.48245, - 26.029788 - ] - ] - ], - [ - [ - [ - 105.096346, - 24.928228 - ], - [ - 105.09573, - 24.92877 - ], - [ - 105.077868, - 24.918459 - ], - [ - 105.082179, - 24.915745 - ], - [ - 105.096346, - 24.928228 - ] - ] - ], - [ - [ - [ - 109.088249, - 21.014934 - ], - [ - 109.11227, - 21.02499 - ], - [ - 109.117814, - 21.017727 - ], - [ - 109.144299, - 21.041189 - ], - [ - 109.138756, - 21.067439 - ], - [ - 109.09256, - 21.057386 - ], - [ - 109.088865, - 21.031134 - ], - [ - 109.088249, - 21.014934 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 460000, - "name": "海南省", - "center": [ - 110.33119, - 20.031971 - ], - "centroid": [ - 109.754859, - 19.189767 - ], - "childrenNum": 19, - "cp": [109.9512, 19.2041], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 20, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 110.106396, - 20.026812 - ], - [ - 110.042339, - 19.991384 - ], - [ - 109.997375, - 19.980136 - ], - [ - 109.965346, - 19.993634 - ], - [ - 109.898825, - 19.994196 - ], - [ - 109.855093, - 19.984073 - ], - [ - 109.814441, - 19.993072 - ], - [ - 109.76147, - 19.981261 - ], - [ - 109.712195, - 20.017253 - ], - [ - 109.657993, - 20.01163 - ], - [ - 109.585312, - 19.98801 - ], - [ - 109.526797, - 19.943573 - ], - [ - 109.498464, - 19.873236 - ], - [ - 109.411001, - 19.895184 - ], - [ - 109.349407, - 19.898561 - ], - [ - 109.300748, - 19.917693 - ], - [ - 109.25948, - 19.898561 - ], - [ - 109.255784, - 19.867045 - ], - [ - 109.231147, - 19.863105 - ], - [ - 109.159082, - 19.79048 - ], - [ - 109.169553, - 19.736411 - ], - [ - 109.147379, - 19.704863 - ], - [ - 109.093792, - 19.68965 - ], - [ - 109.048829, - 19.619764 - ], - [ - 108.993394, - 19.587065 - ], - [ - 108.92872, - 19.524468 - ], - [ - 108.855424, - 19.469182 - ], - [ - 108.806148, - 19.450561 - ], - [ - 108.765496, - 19.400894 - ], - [ - 108.694047, - 19.387346 - ], - [ - 108.644772, - 19.349518 - ], - [ - 108.609048, - 19.276661 - ], - [ - 108.591186, - 19.141592 - ], - [ - 108.598577, - 19.055633 - ], - [ - 108.630606, - 19.003017 - ], - [ - 108.637997, - 18.924346 - ], - [ - 108.595497, - 18.872256 - ], - [ - 108.593033, - 18.809386 - ], - [ - 108.65278, - 18.740258 - ], - [ - 108.663866, - 18.67337 - ], - [ - 108.641077, - 18.565614 - ], - [ - 108.644772, - 18.486738 - ], - [ - 108.68912, - 18.447571 - ], - [ - 108.776583, - 18.441894 - ], - [ - 108.881293, - 18.416344 - ], - [ - 108.905315, - 18.389087 - ], - [ - 108.944735, - 18.314107 - ], - [ - 109.006329, - 18.323198 - ], - [ - 109.108575, - 18.323766 - ], - [ - 109.138756, - 18.268081 - ], - [ - 109.17448, - 18.260125 - ], - [ - 109.287813, - 18.264671 - ], - [ - 109.355566, - 18.215221 - ], - [ - 109.441182, - 18.199303 - ], - [ - 109.467051, - 18.173718 - ], - [ - 109.527413, - 18.169169 - ], - [ - 109.584696, - 18.143579 - ], - [ - 109.661688, - 18.175424 - ], - [ - 109.726362, - 18.177698 - ], - [ - 109.749767, - 18.193618 - ], - [ - 109.785492, - 18.339672 - ], - [ - 109.919767, - 18.375457 - ], - [ - 110.022629, - 18.360121 - ], - [ - 110.070672, - 18.376025 - ], - [ - 110.090382, - 18.399309 - ], - [ - 110.116867, - 18.506602 - ], - [ - 110.214186, - 18.578662 - ], - [ - 110.246215, - 18.609859 - ], - [ - 110.329366, - 18.642185 - ], - [ - 110.367555, - 18.631977 - ], - [ - 110.499366, - 18.651824 - ], - [ - 110.499366, - 18.751592 - ], - [ - 110.578206, - 18.784458 - ], - [ - 110.590525, - 18.838841 - ], - [ - 110.585597, - 18.88075 - ], - [ - 110.619474, - 19.152334 - ], - [ - 110.676756, - 19.286264 - ], - [ - 110.706321, - 19.320153 - ], - [ - 110.729727, - 19.378878 - ], - [ - 110.787009, - 19.399765 - ], - [ - 110.844292, - 19.449996 - ], - [ - 110.888023, - 19.518827 - ], - [ - 110.920668, - 19.552668 - ], - [ - 111.008747, - 19.60398 - ], - [ - 111.061718, - 19.612436 - ], - [ - 111.071573, - 19.628784 - ], - [ - 111.043856, - 19.763448 - ], - [ - 111.013675, - 19.850159 - ], - [ - 110.966248, - 20.018377 - ], - [ - 110.940994, - 20.028499 - ], - [ - 110.871393, - 20.01163 - ], - [ - 110.808567, - 20.035808 - ], - [ - 110.778386, - 20.068415 - ], - [ - 110.744509, - 20.074036 - ], - [ - 110.717408, - 20.148778 - ], - [ - 110.687843, - 20.163947 - ], - [ - 110.655814, - 20.134169 - ], - [ - 110.562191, - 20.110006 - ], - [ - 110.526467, - 20.07516 - ], - [ - 110.495054, - 20.077408 - ], - [ - 110.387265, - 20.113378 - ], - [ - 110.318279, - 20.108882 - ], - [ - 110.28933, - 20.056047 - ], - [ - 110.243135, - 20.077408 - ], - [ - 110.144585, - 20.074598 - ], - [ - 110.106396, - 20.026812 - ] - ] - ], - [ - [ - [ - 112.208597, - 3.876129 - ], - [ - 112.241858, - 3.845677 - ], - [ - 112.280046, - 3.86777 - ], - [ - 112.260336, - 3.917925 - ], - [ - 112.219068, - 3.908969 - ], - [ - 112.208597, - 3.876129 - ] - ] - ], - [ - [ - [ - 113.266165, - 8.125929 - ], - [ - 113.311129, - 8.177469 - ], - [ - 113.343157, - 8.193463 - ], - [ - 113.288955, - 8.119412 - ], - [ - 113.349933, - 8.172137 - ], - [ - 113.386273, - 8.238479 - ], - [ - 113.386273, - 8.289412 - ], - [ - 113.354244, - 8.304217 - ], - [ - 113.353628, - 8.237887 - ], - [ - 113.293882, - 8.176284 - ], - [ - 113.266165, - 8.125929 - ] - ] - ], - [ - [ - [ - 111.99733, - 3.848065 - ], - [ - 112.015192, - 3.823583 - ], - [ - 112.064467, - 3.830152 - ], - [ - 112.073707, - 3.865979 - ], - [ - 112.03367, - 3.892251 - ], - [ - 111.99733, - 3.848065 - ] - ] - ], - [ - [ - [ - 111.463311, - 17.077491 - ], - [ - 111.536607, - 17.104949 - ], - [ - 111.4861, - 17.058039 - ], - [ - 111.559397, - 17.087788 - ], - [ - 111.542151, - 17.11982 - ], - [ - 111.452224, - 17.092936 - ], - [ - 111.463311, - 17.077491 - ] - ] - ], - [ - [ - [ - 117.708319, - 15.182712 - ], - [ - 117.712631, - 15.118592 - ], - [ - 117.726798, - 15.105303 - ], - [ - 117.827812, - 15.111659 - ], - [ - 117.72495, - 15.131302 - ], - [ - 117.720638, - 15.195418 - ], - [ - 117.74466, - 15.217941 - ], - [ - 117.784696, - 15.16885 - ], - [ - 117.838899, - 15.15903 - ], - [ - 117.782848, - 15.187333 - ], - [ - 117.748355, - 15.230068 - ], - [ - 117.715095, - 15.222561 - ], - [ - 117.708319, - 15.182712 - ] - ] - ], - [ - [ - [ - 112.241858, - 3.942404 - ], - [ - 112.292365, - 3.946583 - ], - [ - 112.288053, - 3.97345 - ], - [ - 112.254177, - 3.97942 - ], - [ - 112.241858, - 3.942404 - ] - ] - ], - [ - [ - [ - 111.734324, - 16.19732 - ], - [ - 111.779903, - 16.19732 - ], - [ - 111.81686, - 16.224329 - ], - [ - 111.813164, - 16.261676 - ], - [ - 111.782367, - 16.273741 - ], - [ - 111.716462, - 16.249036 - ], - [ - 111.789758, - 16.250186 - ], - [ - 111.790374, - 16.220307 - ], - [ - 111.734324, - 16.19732 - ] - ] - ], - [ - [ - [ - 111.649324, - 16.255931 - ], - [ - 111.577875, - 16.208239 - ], - [ - 111.56802, - 16.162834 - ], - [ - 111.611136, - 16.156511 - ], - [ - 111.690592, - 16.211112 - ], - [ - 111.606825, - 16.177779 - ], - [ - 111.598817, - 16.198469 - ], - [ - 111.681353, - 16.262251 - ], - [ - 111.649324, - 16.255931 - ] - ] - ], - [ - [ - [ - 113.896887, - 7.607204 - ], - [ - 113.919677, - 7.566865 - ], - [ - 113.98743, - 7.536014 - ], - [ - 114.058879, - 7.537794 - ], - [ - 114.157429, - 7.561525 - ], - [ - 114.289856, - 7.617288 - ], - [ - 114.368696, - 7.638642 - ], - [ - 114.407501, - 7.683126 - ], - [ - 114.419819, - 7.765557 - ], - [ - 114.464167, - 7.814771 - ], - [ - 114.540543, - 7.862201 - ], - [ - 114.555326, - 7.891249 - ], - [ - 114.540543, - 7.945783 - ], - [ - 114.511594, - 7.966527 - ], - [ - 114.47279, - 7.968898 - ], - [ - 114.414892, - 7.952895 - ], - [ - 114.268298, - 7.870501 - ], - [ - 114.211632, - 7.786904 - ], - [ - 114.095219, - 7.721082 - ], - [ - 114.029314, - 7.670078 - ], - [ - 113.921524, - 7.639235 - ], - [ - 113.896887, - 7.607204 - ] - ] - ], - [ - [ - [ - 113.976959, - 8.872888 - ], - [ - 114.013299, - 8.836817 - ], - [ - 114.035473, - 8.783591 - ], - [ - 114.060111, - 8.816119 - ], - [ - 114.041017, - 8.843913 - ], - [ - 113.989894, - 8.878801 - ], - [ - 113.976959, - 8.872888 - ] - ] - ], - [ - [ - [ - 113.956017, - 8.840365 - ], - [ - 113.975111, - 8.793054 - ], - [ - 114.012068, - 8.798376 - ], - [ - 113.977575, - 8.841548 - ], - [ - 113.956017, - 8.840365 - ] - ] - ], - [ - [ - [ - 111.97454, - 16.323715 - ], - [ - 112.002258, - 16.306484 - ], - [ - 112.07617, - 16.323715 - ], - [ - 112.074938, - 16.349558 - ], - [ - 112.047221, - 16.360469 - ], - [ - 112.002874, - 16.350707 - ], - [ - 111.97454, - 16.323715 - ] - ] - ], - [ - [ - [ - 111.739251, - 16.452898 - ], - [ - 111.766969, - 16.470116 - ], - [ - 111.786679, - 16.520039 - ], - [ - 111.759577, - 16.545857 - ], - [ - 111.765737, - 16.495366 - ], - [ - 111.739251, - 16.452898 - ] - ] - ], - [ - [ - [ - 112.216604, - 8.866383 - ], - [ - 112.206133, - 8.88767 - ], - [ - 112.180264, - 8.862244 - ], - [ - 112.216604, - 8.866383 - ] - ] - ], - [ - [ - [ - 113.792177, - 7.373422 - ], - [ - 113.828518, - 7.362145 - ], - [ - 113.829134, - 7.383511 - ], - [ - 113.792177, - 7.373422 - ] - ] - ], - [ - [ - [ - 114.194386, - 8.764664 - ], - [ - 114.201161, - 8.727991 - ], - [ - 114.248588, - 8.724442 - ], - [ - 114.222103, - 8.784773 - ], - [ - 114.194386, - 8.764664 - ] - ] - ], - [ - [ - [ - 112.232619, - 16.996239 - ], - [ - 112.207981, - 16.987081 - ], - [ - 112.222764, - 16.960751 - ], - [ - 112.292981, - 16.96762 - ], - [ - 112.266496, - 16.993949 - ], - [ - 112.232619, - 16.996239 - ] - ] - ], - [ - [ - [ - 114.689601, - 10.345648 - ], - [ - 114.702536, - 10.312677 - ], - [ - 114.725941, - 10.319154 - ], - [ - 114.747499, - 10.37214 - ], - [ - 114.717318, - 10.380381 - ], - [ - 114.689601, - 10.345648 - ] - ] - ], - [ - [ - [ - 115.837712, - 9.709775 - ], - [ - 115.861117, - 9.694438 - ], - [ - 115.867277, - 9.650191 - ], - [ - 115.901153, - 9.67084 - ], - [ - 115.925791, - 9.781734 - ], - [ - 115.901153, - 9.795888 - ], - [ - 115.870972, - 9.778785 - ], - [ - 115.837712, - 9.709775 - ] - ] - ], - [ - [ - [ - 114.617536, - 9.965688 - ], - [ - 114.642173, - 9.917351 - ], - [ - 114.672355, - 9.927963 - ], - [ - 114.685905, - 9.979245 - ], - [ - 114.617536, - 9.965688 - ] - ] - ], - [ - [ - [ - 113.769387, - 7.636862 - ], - [ - 113.773699, - 7.601865 - ], - [ - 113.814967, - 7.603051 - ], - [ - 113.831597, - 7.644573 - ], - [ - 113.769387, - 7.636862 - ] - ] - ], - [ - [ - [ - 109.463972, - 7.344339 - ], - [ - 109.463972, - 7.315254 - ], - [ - 109.513247, - 7.320002 - ], - [ - 109.571761, - 7.373422 - ], - [ - 109.654297, - 7.479648 - ], - [ - 109.709115, - 7.511095 - ], - [ - 109.791651, - 7.524742 - ], - [ - 109.938861, - 7.504569 - ], - [ - 109.948716, - 7.522962 - ], - [ - 109.904984, - 7.55144 - ], - [ - 109.816289, - 7.572797 - ], - [ - 109.72205, - 7.575763 - ], - [ - 109.653065, - 7.559745 - ], - [ - 109.536037, - 7.448792 - ], - [ - 109.463972, - 7.344339 - ] - ] - ], - [ - [ - [ - 116.273181, - 8.879392 - ], - [ - 116.294123, - 8.858105 - ], - [ - 116.332311, - 8.901269 - ], - [ - 116.305826, - 8.917233 - ], - [ - 116.273181, - 8.879392 - ] - ] - ], - [ - [ - [ - 112.476531, - 16.001247 - ], - [ - 112.570154, - 16.011027 - ], - [ - 112.612037, - 16.039212 - ], - [ - 112.588016, - 16.070844 - ], - [ - 112.462364, - 16.043813 - ], - [ - 112.448814, - 16.005274 - ], - [ - 112.476531, - 16.001247 - ] - ] - ], - [ - [ - [ - 112.537509, - 8.846278 - ], - [ - 112.57077, - 8.815527 - ], - [ - 112.639755, - 8.818484 - ], - [ - 112.598487, - 8.859288 - ], - [ - 112.537509, - 8.846278 - ] - ] - ], - [ - [ - [ - 114.469095, - 10.836261 - ], - [ - 114.475254, - 10.814512 - ], - [ - 114.513442, - 10.848605 - ], - [ - 114.565181, - 10.836261 - ], - [ - 114.593514, - 10.856245 - ], - [ - 114.587355, - 10.909138 - ], - [ - 114.55471, - 10.900911 - ], - [ - 114.469095, - 10.836261 - ] - ] - ], - [ - [ - [ - 112.409393, - 16.294996 - ], - [ - 112.383524, - 16.265698 - ], - [ - 112.411241, - 16.2634 - ], - [ - 112.475915, - 16.288677 - ], - [ - 112.531349, - 16.285805 - ], - [ - 112.536893, - 16.312228 - ], - [ - 112.509176, - 16.317397 - ], - [ - 112.409393, - 16.294996 - ] - ] - ], - [ - [ - [ - 116.48876, - 10.395686 - ], - [ - 116.461658, - 10.34918 - ], - [ - 116.467202, - 10.309144 - ], - [ - 116.511549, - 10.297957 - ], - [ - 116.566368, - 10.304434 - ], - [ - 116.644592, - 10.335051 - ], - [ - 116.637817, - 10.365076 - ], - [ - 116.514629, - 10.34918 - ], - [ - 116.542346, - 10.41982 - ], - [ - 116.526332, - 10.426883 - ], - [ - 116.48876, - 10.395686 - ] - ] - ], - [ - [ - [ - 112.349031, - 16.912088 - ], - [ - 112.360734, - 16.925257 - ], - [ - 112.334249, - 16.962469 - ], - [ - 112.30222, - 16.963041 - ], - [ - 112.349031, - 16.912088 - ] - ] - ], - [ - [ - [ - 111.500267, - 16.45175 - ], - [ - 111.49534, - 16.4374 - ], - [ - 111.545847, - 16.43453 - ], - [ - 111.538455, - 16.461507 - ], - [ - 111.500267, - 16.45175 - ] - ] - ], - [ - [ - [ - 115.500177, - 9.897897 - ], - [ - 115.54822, - 9.869007 - ], - [ - 115.585177, - 9.896128 - ], - [ - 115.581481, - 9.917351 - ], - [ - 115.518039, - 9.933857 - ], - [ - 115.500177, - 9.897897 - ] - ] - ], - [ - [ - [ - 114.669891, - 8.210048 - ], - [ - 114.691449, - 8.18517 - ], - [ - 114.74134, - 8.189316 - ], - [ - 114.726557, - 8.21064 - ], - [ - 114.669891, - 8.210048 - ] - ] - ], - [ - [ - [ - 114.507899, - 8.120004 - ], - [ - 114.530073, - 8.103415 - ], - [ - 114.595978, - 8.120596 - ], - [ - 114.624311, - 8.149626 - ], - [ - 114.595978, - 8.15792 - ], - [ - 114.507899, - 8.120004 - ] - ] - ], - [ - [ - [ - 115.16757, - 8.386523 - ], - [ - 115.18112, - 8.345668 - ], - [ - 115.235939, - 8.321982 - ], - [ - 115.285214, - 8.314876 - ], - [ - 115.315395, - 8.356326 - ], - [ - 115.299381, - 8.370537 - ], - [ - 115.202678, - 8.395403 - ], - [ - 115.16757, - 8.386523 - ] - ] - ], - [ - [ - [ - 113.895039, - 8.00505 - ], - [ - 113.904894, - 7.963564 - ], - [ - 113.9708, - 7.944597 - ], - [ - 113.969568, - 7.974825 - ], - [ - 113.940003, - 8.018088 - ], - [ - 113.895039, - 8.00505 - ] - ] - ], - [ - [ - [ - 115.436119, - 9.393447 - ], - [ - 115.450286, - 9.345028 - ], - [ - 115.469996, - 9.3592 - ], - [ - 115.456445, - 9.417064 - ], - [ - 115.436119, - 9.393447 - ] - ] - ], - [ - [ - [ - 116.457347, - 9.174326 - ], - [ - 116.477057, - 9.137103 - ], - [ - 116.500462, - 9.164282 - ], - [ - 116.457347, - 9.174326 - ] - ] - ], - [ - [ - [ - 113.638192, - 8.976942 - ], - [ - 113.654823, - 8.962163 - ], - [ - 113.730583, - 9.004133 - ], - [ - 113.719496, - 9.020092 - ], - [ - 113.644968, - 8.989355 - ], - [ - 113.638192, - 8.976942 - ] - ] - ], - [ - [ - [ - 114.696992, - 11.004322 - ], - [ - 114.710543, - 11.001972 - ], - [ - 114.793079, - 11.07657 - ], - [ - 114.799854, - 11.10476 - ], - [ - 114.766593, - 11.110045 - ], - [ - 114.710543, - 11.039567 - ], - [ - 114.696992, - 11.004322 - ] - ] - ], - [ - [ - [ - 114.62, - 11.432264 - ], - [ - 114.652644, - 11.436957 - ], - [ - 114.661884, - 11.522584 - ], - [ - 114.621232, - 11.518479 - ], - [ - 114.62, - 11.432264 - ] - ] - ], - [ - [ - [ - 114.910723, - 10.863298 - ], - [ - 114.931049, - 10.841551 - ], - [ - 114.959998, - 10.902087 - ], - [ - 114.934129, - 10.902674 - ], - [ - 114.910723, - 10.863298 - ] - ] - ], - [ - [ - [ - 111.572948, - 16.470116 - ], - [ - 111.578491, - 16.447158 - ], - [ - 111.614216, - 16.44027 - ], - [ - 111.592658, - 16.490775 - ], - [ - 111.572948, - 16.470116 - ] - ] - ], - [ - [ - [ - 113.939387, - 8.875253 - ], - [ - 113.912285, - 8.888853 - ], - [ - 113.893807, - 8.862836 - ], - [ - 113.916597, - 8.837999 - ], - [ - 113.939387, - 8.875253 - ] - ] - ], - [ - [ - [ - 109.936397, - 7.848566 - ], - [ - 109.936397, - 7.823665 - ], - [ - 109.988136, - 7.8124 - ], - [ - 110.050346, - 7.846194 - ], - [ - 110.082991, - 7.896584 - ], - [ - 110.078063, - 7.949339 - ], - [ - 110.0331, - 7.944597 - ], - [ - 109.953027, - 7.888878 - ], - [ - 109.936397, - 7.848566 - ] - ] - ], - [ - [ - [ - 116.727128, - 11.501473 - ], - [ - 116.765316, - 11.430504 - ], - [ - 116.772092, - 11.445755 - ], - [ - 116.738215, - 11.514961 - ], - [ - 116.727128, - 11.501473 - ] - ] - ], - [ - [ - [ - 111.690592, - 16.587731 - ], - [ - 111.724469, - 16.560198 - ], - [ - 111.717078, - 16.59404 - ], - [ - 111.690592, - 16.587731 - ] - ] - ], - [ - [ - [ - 112.507328, - 16.466098 - ], - [ - 112.586784, - 16.525777 - ], - [ - 112.575081, - 16.537251 - ], - [ - 112.499321, - 16.493645 - ], - [ - 112.507328, - 16.466098 - ] - ] - ], - [ - [ - [ - 111.761425, - 16.061642 - ], - [ - 111.791606, - 16.028859 - ], - [ - 111.828563, - 16.049565 - ], - [ - 111.829795, - 16.070844 - ], - [ - 111.761425, - 16.061642 - ] - ] - ], - [ - [ - [ - 113.845764, - 10.018733 - ], - [ - 113.865474, - 10.00341 - ], - [ - 113.872249, - 10.123029 - ], - [ - 113.856851, - 10.12185 - ], - [ - 113.845764, - 10.018733 - ] - ] - ], - [ - [ - [ - 114.791847, - 8.160882 - ], - [ - 114.777064, - 8.114079 - ], - [ - 114.812173, - 8.110524 - ], - [ - 114.818332, - 8.141332 - ], - [ - 114.791847, - 8.160882 - ] - ] - ], - [ - [ - [ - 116.557129, - 9.745167 - ], - [ - 116.566368, - 9.718623 - ], - [ - 116.593469, - 9.723932 - ], - [ - 116.557129, - 9.745167 - ] - ] - ], - [ - [ - [ - 115.28275, - 10.191951 - ], - [ - 115.288294, - 10.172513 - ], - [ - 115.333257, - 10.200198 - ], - [ - 115.28891, - 10.211388 - ], - [ - 115.28275, - 10.191951 - ] - ] - ], - [ - [ - [ - 116.832454, - 10.476908 - ], - [ - 116.855243, - 10.468669 - ], - [ - 116.868794, - 10.495739 - ], - [ - 116.832454, - 10.476908 - ] - ] - ], - [ - [ - [ - 114.703151, - 16.170307 - ], - [ - 114.816484, - 16.198469 - ], - [ - 114.802934, - 16.215135 - ], - [ - 114.704383, - 16.199044 - ], - [ - 114.703151, - 16.170307 - ] - ] - ], - [ - [ - [ - 115.97753, - 9.321997 - ], - [ - 115.926407, - 9.311366 - ], - [ - 115.943037, - 9.269433 - ], - [ - 115.976298, - 9.268252 - ], - [ - 115.999088, - 9.293649 - ], - [ - 115.97753, - 9.321997 - ] - ] - ], - [ - [ - [ - 113.660366, - 9.231039 - ], - [ - 113.676997, - 9.202683 - ], - [ - 113.697323, - 9.225722 - ], - [ - 113.660366, - 9.231039 - ] - ] - ], - [ - [ - [ - 114.665579, - 7.590001 - ], - [ - 114.671739, - 7.563898 - ], - [ - 114.72163, - 7.59178 - ], - [ - 114.703767, - 7.614915 - ], - [ - 114.665579, - 7.590001 - ] - ] - ], - [ - [ - [ - 114.493116, - 10.717504 - ], - [ - 114.513442, - 10.722208 - ], - [ - 114.562717, - 10.778064 - ], - [ - 114.539312, - 10.793349 - ], - [ - 114.493116, - 10.717504 - ] - ] - ], - [ - [ - [ - 117.770529, - 10.773361 - ], - [ - 117.798862, - 10.753371 - ], - [ - 117.835819, - 10.803931 - ], - [ - 117.831507, - 10.838612 - ], - [ - 117.801942, - 10.839788 - ], - [ - 117.775457, - 10.809222 - ], - [ - 117.770529, - 10.773361 - ] - ] - ], - [ - [ - [ - 114.242429, - 10.242014 - ], - [ - 114.263371, - 10.239658 - ], - [ - 114.326197, - 10.284414 - ], - [ - 114.312646, - 10.300901 - ], - [ - 114.265219, - 10.275581 - ], - [ - 114.242429, - 10.242014 - ] - ] - ], - [ - [ - [ - 114.688985, - 11.469217 - ], - [ - 114.722246, - 11.429331 - ], - [ - 114.737644, - 11.463938 - ], - [ - 114.720398, - 11.49209 - ], - [ - 114.688985, - 11.469217 - ] - ] - ], - [ - [ - [ - 116.638433, - 10.503977 - ], - [ - 116.653215, - 10.491031 - ], - [ - 116.70865, - 10.492797 - ], - [ - 116.699411, - 10.517511 - ], - [ - 116.638433, - 10.503977 - ] - ] - ], - [ - [ - [ - 110.459946, - 8.116449 - ], - [ - 110.471032, - 8.072012 - ], - [ - 110.554184, - 8.093935 - ], - [ - 110.599764, - 8.156735 - ], - [ - 110.568351, - 8.17273 - ], - [ - 110.461793, - 8.128298 - ], - [ - 110.459946, - 8.116449 - ] - ] - ], - [ - [ - [ - 111.463311, - 8.52504 - ], - [ - 111.497187, - 8.523857 - ], - [ - 111.509506, - 8.550489 - ], - [ - 111.463311, - 8.52504 - ] - ] - ], - [ - [ - [ - 115.258113, - 8.509652 - ], - [ - 115.271048, - 8.477098 - ], - [ - 115.296301, - 8.510836 - ], - [ - 115.258113, - 8.509652 - ] - ] - ], - [ - [ - [ - 113.221817, - 8.073789 - ], - [ - 113.235984, - 8.068456 - ], - [ - 113.283411, - 8.111117 - ], - [ - 113.269861, - 8.120004 - ], - [ - 113.221817, - 8.073789 - ] - ] - ], - [ - [ - [ - 114.074893, - 10.929118 - ], - [ - 114.064422, - 10.904437 - ], - [ - 114.110002, - 10.918541 - ], - [ - 114.096451, - 10.947921 - ], - [ - 114.074893, - 10.929118 - ] - ] - ], - [ - [ - [ - 117.258068, - 10.320331 - ], - [ - 117.299336, - 10.313855 - ], - [ - 117.299952, - 10.343293 - ], - [ - 117.274698, - 10.358011 - ], - [ - 117.258068, - 10.320331 - ] - ] - ], - [ - [ - [ - 114.212864, - 16.040937 - ], - [ - 114.31203, - 16.034611 - ], - [ - 114.306487, - 16.057616 - ], - [ - 114.268914, - 16.059342 - ], - [ - 114.212864, - 16.040937 - ] - ] - ], - [ - [ - [ - 110.609003, - 8.010976 - ], - [ - 110.642879, - 7.989049 - ], - [ - 110.641648, - 8.031125 - ], - [ - 110.622553, - 8.041199 - ], - [ - 110.609003, - 8.010976 - ] - ] - ], - [ - [ - [ - 115.509416, - 8.490712 - ], - [ - 115.521735, - 8.460523 - ], - [ - 115.55438, - 8.461115 - ], - [ - 115.569162, - 8.49012 - ], - [ - 115.558691, - 8.523265 - ], - [ - 115.514344, - 8.519122 - ], - [ - 115.509416, - 8.490712 - ] - ] - ], - [ - [ - [ - 111.539071, - 7.54432 - ], - [ - 111.542767, - 7.524742 - ], - [ - 111.583419, - 7.543134 - ], - [ - 111.612368, - 7.592374 - ], - [ - 111.566788, - 7.606017 - ], - [ - 111.539071, - 7.54432 - ] - ] - ], - [ - [ - [ - 111.657947, - 8.672974 - ], - [ - 111.665955, - 8.622683 - ], - [ - 111.717694, - 8.6499 - ], - [ - 111.697368, - 8.67889 - ], - [ - 111.657947, - 8.672974 - ] - ] - ], - [ - [ - [ - 110.460561, - 7.799948 - ], - [ - 110.487663, - 7.783346 - ], - [ - 110.511684, - 7.805878 - ], - [ - 110.485199, - 7.827815 - ], - [ - 110.460561, - 7.799948 - ] - ] - ], - [ - [ - [ - 112.345952, - 8.926101 - ], - [ - 112.392763, - 8.919598 - ], - [ - 112.384756, - 8.946793 - ], - [ - 112.345952, - 8.926101 - ] - ] - ], - [ - [ - [ - 116.469665, - 9.810041 - ], - [ - 116.47952, - 9.785272 - ], - [ - 116.50847, - 9.79117 - ], - [ - 116.490607, - 9.821246 - ], - [ - 116.469665, - 9.810041 - ] - ] - ], - [ - [ - [ - 111.925265, - 8.070827 - ], - [ - 111.949287, - 8.05068 - ], - [ - 111.994866, - 8.047125 - ], - [ - 112.018888, - 8.065494 - ], - [ - 112.013344, - 8.093342 - ], - [ - 111.95483, - 8.106377 - ], - [ - 111.925265, - 8.070827 - ] - ] - ], - [ - [ - [ - 114.457392, - 15.599305 - ], - [ - 114.466631, - 15.576823 - ], - [ - 114.491884, - 15.59354 - ], - [ - 114.457392, - 15.599305 - ] - ] - ], - [ - [ - [ - 114.985252, - 11.078332 - ], - [ - 115.013585, - 11.063062 - ], - [ - 115.021592, - 11.085967 - ], - [ - 114.985252, - 11.078332 - ] - ] - ], - [ - [ - [ - 114.10569, - 16.004124 - ], - [ - 114.110618, - 15.978235 - ], - [ - 114.132176, - 16.007575 - ], - [ - 114.10569, - 16.004124 - ] - ] - ], - [ - [ - [ - 116.045283, - 10.095338 - ], - [ - 116.067457, - 10.065876 - ], - [ - 116.09579, - 10.09357 - ], - [ - 116.070537, - 10.12892 - ], - [ - 116.045283, - 10.095338 - ] - ] - ], - [ - [ - [ - 117.266691, - 10.69163 - ], - [ - 117.348611, - 10.672811 - ], - [ - 117.404661, - 10.671047 - ], - [ - 117.418212, - 10.702803 - ], - [ - 117.369553, - 10.7422 - ], - [ - 117.293176, - 10.735144 - ], - [ - 117.266691, - 10.69163 - ] - ] - ], - [ - [ - [ - 114.854057, - 7.244611 - ], - [ - 114.819564, - 7.192957 - ], - [ - 114.869455, - 7.198895 - ], - [ - 114.854057, - 7.244611 - ] - ] - ], - [ - [ - [ - 112.823305, - 8.910729 - ], - [ - 112.859645, - 8.889444 - ], - [ - 112.873196, - 8.908364 - ], - [ - 112.823305, - 8.910729 - ] - ] - ], - [ - [ - [ - 111.670266, - 7.651098 - ], - [ - 111.707223, - 7.648725 - ], - [ - 111.749722, - 7.703884 - ], - [ - 111.726317, - 7.729977 - ], - [ - 111.691208, - 7.711593 - ], - [ - 111.670266, - 7.651098 - ] - ] - ], - [ - [ - [ - 112.207981, - 8.835634 - ], - [ - 112.235699, - 8.827355 - ], - [ - 112.241242, - 8.852783 - ], - [ - 112.207981, - 8.835634 - ] - ] - ], - [ - [ - [ - 112.527654, - 5.79444 - ], - [ - 112.531965, - 5.766455 - ], - [ - 112.562762, - 5.75931 - ], - [ - 112.562146, - 5.820637 - ], - [ - 112.527654, - 5.79444 - ] - ] - ], - [ - [ - [ - 114.599058, - 8.846278 - ], - [ - 114.645869, - 8.844504 - ], - [ - 114.68221, - 8.881166 - ], - [ - 114.665579, - 8.900087 - ], - [ - 114.61692, - 8.881166 - ], - [ - 114.599058, - 8.846278 - ] - ] - ], - [ - [ - [ - 114.868223, - 7.983715 - ], - [ - 114.907643, - 7.951117 - ], - [ - 114.914419, - 8.00742 - ], - [ - 114.883006, - 8.011569 - ], - [ - 114.868223, - 7.983715 - ] - ] - ], - [ - [ - [ - 112.945261, - 8.410204 - ], - [ - 112.985297, - 8.429149 - ], - [ - 112.949572, - 8.432701 - ], - [ - 112.945261, - 8.410204 - ] - ] - ], - [ - [ - [ - 113.600004, - 6.961929 - ], - [ - 113.580294, - 6.920344 - ], - [ - 113.62341, - 6.942325 - ], - [ - 113.600004, - 6.961929 - ] - ] - ], - [ - [ - [ - 116.695099, - 16.345538 - ], - [ - 116.708034, - 16.299591 - ], - [ - 116.738831, - 16.303612 - ], - [ - 116.747454, - 16.360469 - ], - [ - 116.717889, - 16.373676 - ], - [ - 116.695099, - 16.345538 - ] - ] - ], - [ - [ - [ - 117.347995, - 10.090624 - ], - [ - 117.354154, - 10.06293 - ], - [ - 117.385567, - 10.063519 - ], - [ - 117.373864, - 10.106532 - ], - [ - 117.347995, - 10.090624 - ] - ] - ], - [ - [ - [ - 112.993304, - 19.472003 - ], - [ - 113.038883, - 19.480466 - ], - [ - 113.048123, - 19.506417 - ], - [ - 113.029028, - 19.52898 - ], - [ - 112.993304, - 19.52616 - ], - [ - 112.980369, - 19.496263 - ], - [ - 112.993304, - 19.472003 - ] - ] - ], - [ - [ - [ - 114.448153, - 16.034035 - ], - [ - 114.485109, - 16.034611 - ], - [ - 114.521449, - 16.056466 - ], - [ - 114.465399, - 16.067393 - ], - [ - 114.448153, - 16.034035 - ] - ] - ], - [ - [ - [ - 113.832213, - 19.158552 - ], - [ - 113.874097, - 19.151203 - ], - [ - 113.914749, - 19.172119 - ], - [ - 113.920293, - 19.223551 - ], - [ - 113.875945, - 19.237113 - ], - [ - 113.80696, - 19.222986 - ], - [ - 113.799568, - 19.19925 - ], - [ - 113.832213, - 19.158552 - ] - ] - ], - [ - [ - [ - 112.650842, - 5.106941 - ], - [ - 112.655769, - 5.055676 - ], - [ - 112.682871, - 5.048522 - ], - [ - 112.719211, - 5.075944 - ], - [ - 112.678559, - 5.121247 - ], - [ - 112.650842, - 5.106941 - ] - ] - ], - [ - [ - [ - 111.638853, - 7.907254 - ], - [ - 111.665339, - 7.887099 - ], - [ - 111.712766, - 7.887099 - ], - [ - 111.713382, - 7.927408 - ], - [ - 111.651788, - 7.932743 - ], - [ - 111.638853, - 7.907254 - ] - ] - ], - [ - [ - [ - 112.244322, - 8.874662 - ], - [ - 112.281278, - 8.855148 - ], - [ - 112.288669, - 8.885896 - ], - [ - 112.244322, - 8.874662 - ] - ] - ], - [ - [ - [ - 112.89229, - 7.844416 - ], - [ - 112.929862, - 7.827815 - ], - [ - 112.93171, - 7.867537 - ], - [ - 112.89229, - 7.844416 - ] - ] - ], - [ - [ - [ - 112.583088, - 5.56159 - ], - [ - 112.606494, - 5.51751 - ], - [ - 112.614501, - 5.465683 - ], - [ - 112.642834, - 5.489512 - ], - [ - 112.616349, - 5.568737 - ], - [ - 112.583088, - 5.56159 - ] - ] - ], - [ - [ - [ - 112.523342, - 5.656289 - ], - [ - 112.5449, - 5.616386 - ], - [ - 112.565842, - 5.63068 - ], - [ - 112.56153, - 5.677133 - ], - [ - 112.528886, - 5.687257 - ], - [ - 112.523342, - 5.656289 - ] - ] - ], - [ - [ - [ - 115.361591, - 13.948985 - ], - [ - 115.397315, - 13.92517 - ], - [ - 115.438583, - 13.943757 - ], - [ - 115.423185, - 13.977443 - ], - [ - 115.377605, - 13.968732 - ], - [ - 115.361591, - 13.948985 - ] - ] - ], - [ - [ - [ - 113.596924, - 10.240836 - ], - [ - 113.617866, - 10.22199 - ], - [ - 113.638192, - 10.243192 - ], - [ - 113.596924, - 10.240836 - ] - ] - ], - [ - [ - [ - 113.860546, - 15.477068 - ], - [ - 113.893807, - 15.463802 - ], - [ - 113.890112, - 15.490909 - ], - [ - 113.860546, - 15.477068 - ] - ] - ], - [ - [ - [ - 112.907072, - 4.993079 - ], - [ - 112.943413, - 4.991887 - ], - [ - 112.952652, - 5.047926 - ], - [ - 112.910768, - 5.038388 - ], - [ - 112.907072, - 4.993079 - ] - ] - ], - [ - [ - [ - 112.557219, - 5.109326 - ], - [ - 112.568922, - 5.071771 - ], - [ - 112.610806, - 5.091443 - ], - [ - 112.601567, - 5.120055 - ], - [ - 112.557219, - 5.109326 - ] - ] - ], - [ - [ - [ - 112.350263, - 5.621747 - ], - [ - 112.385988, - 5.615791 - ], - [ - 112.385372, - 5.643187 - ], - [ - 112.350263, - 5.621747 - ] - ] - ], - [ - [ - [ - 112.226459, - 16.759147 - ], - [ - 112.254177, - 16.751698 - ], - [ - 112.262184, - 16.778057 - ], - [ - 112.211061, - 16.795819 - ], - [ - 112.226459, - 16.759147 - ] - ] - ], - [ - [ - [ - 112.233851, - 15.69612 - ], - [ - 112.25972, - 15.734718 - ], - [ - 112.240626, - 15.741055 - ], - [ - 112.20367, - 15.71398 - ], - [ - 112.233851, - 15.69612 - ] - ] - ], - [ - [ - [ - 112.612037, - 5.367973 - ], - [ - 112.640371, - 5.347715 - ], - [ - 112.685334, - 5.371548 - ], - [ - 112.690878, - 5.406702 - ], - [ - 112.62374, - 5.401935 - ], - [ - 112.612037, - 5.367973 - ] - ] - ], - [ - [ - [ - 112.472219, - 5.73966 - ], - [ - 112.496857, - 5.736683 - ], - [ - 112.498089, - 5.775387 - ], - [ - 112.472219, - 5.73966 - ] - ] - ], - [ - [ - [ - 113.217506, - 6.306249 - ], - [ - 113.230441, - 6.285429 - ], - [ - 113.243991, - 6.325878 - ], - [ - 113.217506, - 6.306249 - ] - ] - ], - [ - [ - [ - 116.152457, - 9.579384 - ], - [ - 116.189413, - 9.565221 - ], - [ - 116.187565, - 9.595317 - ], - [ - 116.152457, - 9.579384 - ] - ] - ], - [ - [ - [ - 114.948911, - 7.508722 - ], - [ - 114.960614, - 7.484988 - ], - [ - 115.012353, - 7.484988 - ], - [ - 115.013585, - 7.525928 - ], - [ - 114.948911, - 7.508722 - ] - ] - ], - [ - [ - [ - 111.553854, - 7.807656 - ], - [ - 111.585267, - 7.771487 - ], - [ - 111.619759, - 7.840265 - ], - [ - 111.603745, - 7.861608 - ], - [ - 111.553854, - 7.807656 - ] - ] - ], - [ - [ - [ - 113.938771, - 15.8355 - ], - [ - 113.973263, - 15.805558 - ], - [ - 113.9708, - 15.83953 - ], - [ - 113.938771, - 15.8355 - ] - ] - ], - [ - [ - [ - 114.926122, - 16.036911 - ], - [ - 114.895325, - 16.036336 - ], - [ - 114.910723, - 16.001823 - ], - [ - 114.926122, - 16.036911 - ] - ] - ], - [ - [ - [ - 116.749302, - 9.056736 - ], - [ - 116.699411, - 9.049053 - ], - [ - 116.70865, - 9.024229 - ], - [ - 116.740679, - 9.028367 - ], - [ - 116.749302, - 9.056736 - ] - ] - ], - [ - [ - [ - 112.64653, - 16.385733 - ], - [ - 112.681639, - 16.400661 - ], - [ - 112.660081, - 16.426494 - ], - [ - 112.64653, - 16.385733 - ] - ] - ], - [ - [ - [ - 111.203384, - 19.92557 - ], - [ - 111.203384, - 19.925007 - ], - [ - 111.204, - 19.92557 - ], - [ - 111.204, - 19.926132 - ], - [ - 111.203384, - 19.92557 - ] - ] - ], - [ - [ - [ - 115.758256, - 10.461018 - ], - [ - 115.776118, - 10.434534 - ], - [ - 115.801987, - 10.463372 - ], - [ - 115.758256, - 10.461018 - ] - ] - ], - [ - [ - [ - 117.21372, - 10.735144 - ], - [ - 117.187235, - 10.741612 - ], - [ - 117.206945, - 10.707507 - ], - [ - 117.21372, - 10.735144 - ] - ] - ], - [ - [ - [ - 112.671784, - 16.331755 - ], - [ - 112.701349, - 16.331755 - ], - [ - 112.677943, - 16.35932 - ], - [ - 112.671784, - 16.331755 - ] - ] - ], - [ - [ - [ - 115.782277, - 10.541046 - ], - [ - 115.795212, - 10.499858 - ], - [ - 115.805067, - 10.524571 - ], - [ - 115.782277, - 10.541046 - ] - ] - ], - [ - [ - [ - 112.512255, - 9.544566 - ], - [ - 112.50856, - 9.525679 - ], - [ - 112.568922, - 9.516826 - ], - [ - 112.567074, - 9.554008 - ], - [ - 112.512255, - 9.544566 - ] - ] - ], - [ - [ - [ - 114.610145, - 15.649447 - ], - [ - 114.581195, - 15.625242 - ], - [ - 114.610761, - 15.615444 - ], - [ - 114.610145, - 15.649447 - ] - ] - ], - [ - [ - [ - 117.299336, - 11.077745 - ], - [ - 117.264227, - 11.063062 - ], - [ - 117.284553, - 11.02547 - ], - [ - 117.304263, - 11.027232 - ], - [ - 117.299336, - 11.077745 - ] - ] - ], - [ - [ - [ - 117.691073, - 11.048965 - ], - [ - 117.653501, - 11.046029 - ], - [ - 117.655965, - 11.024882 - ], - [ - 117.690457, - 11.016658 - ], - [ - 117.691073, - 11.048965 - ] - ] - ], - [ - [ - [ - 114.166668, - 9.38459 - ], - [ - 114.175291, - 9.342075 - ], - [ - 114.195617, - 9.350933 - ], - [ - 114.194386, - 9.391676 - ], - [ - 114.166668, - 9.38459 - ] - ] - ], - [ - [ - [ - 114.714854, - 9.736909 - ], - [ - 114.693296, - 9.741038 - ], - [ - 114.680978, - 9.707416 - ], - [ - 114.704999, - 9.700337 - ], - [ - 114.714854, - 9.736909 - ] - ] - ], - [ - [ - [ - 112.554139, - 5.97839 - ], - [ - 112.553523, - 5.942676 - ], - [ - 112.575697, - 5.971247 - ], - [ - 112.554139, - 5.97839 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 500000, - "name": "重庆市", - "center": [ - 106.504962, - 29.533155 - ], - "centroid": [ - 107.8839, - 30.067297 - ], - "childrenNum": 38, - "cp": [107.7539, 29.8904], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 21, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 106.37442, - 28.525742 - ], - [ - 106.403369, - 28.569901 - ], - [ - 106.477282, - 28.530474 - ], - [ - 106.504999, - 28.544669 - ], - [ - 106.466811, - 28.586193 - ], - [ - 106.49268, - 28.591448 - ], - [ - 106.502535, - 28.661313 - ], - [ - 106.528405, - 28.677591 - ], - [ - 106.492064, - 28.742153 - ], - [ - 106.461883, - 28.761041 - ], - [ - 106.45326, - 28.817162 - ], - [ - 106.474202, - 28.832891 - ], - [ - 106.561666, - 28.756319 - ], - [ - 106.56105, - 28.719062 - ], - [ - 106.587535, - 28.691767 - ], - [ - 106.6171, - 28.691242 - ], - [ - 106.617716, - 28.66709 - ], - [ - 106.651593, - 28.649235 - ], - [ - 106.618332, - 28.645033 - ], - [ - 106.63681, - 28.622972 - ], - [ - 106.606629, - 28.593024 - ], - [ - 106.615252, - 28.549401 - ], - [ - 106.567825, - 28.523638 - ], - [ - 106.564745, - 28.485247 - ], - [ - 106.632499, - 28.503655 - ], - [ - 106.697788, - 28.47683 - ], - [ - 106.708259, - 28.450524 - ], - [ - 106.747063, - 28.467361 - ], - [ - 106.726121, - 28.51838 - ], - [ - 106.73844, - 28.554657 - ], - [ - 106.77786, - 28.563068 - ], - [ - 106.756918, - 28.607211 - ], - [ - 106.784636, - 28.626649 - ], - [ - 106.807425, - 28.589346 - ], - [ - 106.830831, - 28.623497 - ], - [ - 106.866556, - 28.624548 - ], - [ - 106.889345, - 28.695966 - ], - [ - 106.86594, - 28.690192 - ], - [ - 106.824056, - 28.756319 - ], - [ - 106.845614, - 28.780975 - ], - [ - 106.872099, - 28.777304 - ], - [ - 106.923222, - 28.809821 - ], - [ - 106.951555, - 28.766812 - ], - [ - 106.988512, - 28.776254 - ], - [ - 106.983584, - 28.851239 - ], - [ - 107.019308, - 28.861722 - ], - [ - 107.016229, - 28.882685 - ], - [ - 107.14188, - 28.887925 - ], - [ - 107.206554, - 28.868535 - ], - [ - 107.194851, - 28.838134 - ], - [ - 107.227496, - 28.836037 - ], - [ - 107.210866, - 28.817686 - ], - [ - 107.219489, - 28.772582 - ], - [ - 107.24659, - 28.76209 - ], - [ - 107.261373, - 28.792514 - ], - [ - 107.327894, - 28.810869 - ], - [ - 107.339597, - 28.845997 - ], - [ - 107.383945, - 28.848618 - ], - [ - 107.41351, - 28.911502 - ], - [ - 107.441227, - 28.943977 - ], - [ - 107.412894, - 28.960211 - ], - [ - 107.396879, - 28.993718 - ], - [ - 107.364235, - 29.00942 - ], - [ - 107.395647, - 29.041341 - ], - [ - 107.369778, - 29.091558 - ], - [ - 107.412278, - 29.094696 - ], - [ - 107.427676, - 29.128682 - ], - [ - 107.408582, - 29.138091 - ], - [ - 107.401807, - 29.184603 - ], - [ - 107.441227, - 29.203934 - ], - [ - 107.486806, - 29.174153 - ], - [ - 107.570574, - 29.218037 - ], - [ - 107.589052, - 29.150113 - ], - [ - 107.605683, - 29.164747 - ], - [ - 107.659885, - 29.162656 - ], - [ - 107.700537, - 29.141228 - ], - [ - 107.749197, - 29.199754 - ], - [ - 107.810791, - 29.139137 - ], - [ - 107.784921, - 29.048143 - ], - [ - 107.823725, - 29.034016 - ], - [ - 107.810175, - 28.984295 - ], - [ - 107.867457, - 28.960211 - ], - [ - 107.882855, - 29.00628 - ], - [ - 107.908725, - 29.007327 - ], - [ - 107.925971, - 29.032446 - ], - [ - 108.026369, - 29.039772 - ], - [ - 108.070717, - 29.086328 - ], - [ - 108.150173, - 29.053375 - ], - [ - 108.193289, - 29.072207 - ], - [ - 108.256115, - 29.040295 - ], - [ - 108.277673, - 29.091558 - ], - [ - 108.306622, - 29.079006 - ], - [ - 108.297999, - 29.045527 - ], - [ - 108.319556, - 28.961258 - ], - [ - 108.345426, - 28.943453 - ], - [ - 108.357745, - 28.893165 - ], - [ - 108.346658, - 28.859625 - ], - [ - 108.352817, - 28.815589 - ], - [ - 108.386078, - 28.803003 - ], - [ - 108.385462, - 28.772058 - ], - [ - 108.347274, - 28.736381 - ], - [ - 108.332491, - 28.679166 - ], - [ - 108.439049, - 28.634003 - ], - [ - 108.501258, - 28.626649 - ], - [ - 108.50249, - 28.63768 - ], - [ - 108.575787, - 28.659738 - ], - [ - 108.636149, - 28.621396 - ], - [ - 108.604736, - 28.590922 - ], - [ - 108.610896, - 28.539412 - ], - [ - 108.573939, - 28.531 - ], - [ - 108.586874, - 28.463678 - ], - [ - 108.609664, - 28.43579 - ], - [ - 108.609048, - 28.407368 - ], - [ - 108.576403, - 28.38631 - ], - [ - 108.580099, - 28.343128 - ], - [ - 108.611512, - 28.324691 - ], - [ - 108.667562, - 28.334173 - ], - [ - 108.656475, - 28.359981 - ], - [ - 108.697127, - 28.401051 - ], - [ - 108.688504, - 28.422106 - ], - [ - 108.640461, - 28.456838 - ], - [ - 108.657091, - 28.47683 - ], - [ - 108.700207, - 28.48209 - ], - [ - 108.709446, - 28.501026 - ], - [ - 108.746402, - 28.45105 - ], - [ - 108.780279, - 28.42579 - ], - [ - 108.759953, - 28.389995 - ], - [ - 108.783359, - 28.380518 - ], - [ - 108.761801, - 28.304143 - ], - [ - 108.726692, - 28.282011 - ], - [ - 108.738395, - 28.228241 - ], - [ - 108.772888, - 28.212949 - ], - [ - 108.821547, - 28.245113 - ], - [ - 108.855424, - 28.199764 - ], - [ - 108.89546, - 28.219804 - ], - [ - 108.923793, - 28.217167 - ], - [ - 108.929952, - 28.19027 - ], - [ - 109.005713, - 28.162837 - ], - [ - 109.026655, - 28.220331 - ], - [ - 109.086401, - 28.184467 - ], - [ - 109.101799, - 28.202401 - ], - [ - 109.081473, - 28.247749 - ], - [ - 109.117198, - 28.277795 - ], - [ - 109.152306, - 28.349975 - ], - [ - 109.153538, - 28.417369 - ], - [ - 109.191726, - 28.471043 - ], - [ - 109.23361, - 28.474726 - ], - [ - 109.274262, - 28.494714 - ], - [ - 109.273646, - 28.53836 - ], - [ - 109.319842, - 28.579886 - ], - [ - 109.306907, - 28.62087 - ], - [ - 109.252089, - 28.606685 - ], - [ - 109.235458, - 28.61982 - ], - [ - 109.201581, - 28.597753 - ], - [ - 109.192958, - 28.636104 - ], - [ - 109.271183, - 28.671816 - ], - [ - 109.252704, - 28.691767 - ], - [ - 109.294588, - 28.722211 - ], - [ - 109.2989, - 28.7474 - ], - [ - 109.241002, - 28.776779 - ], - [ - 109.246545, - 28.80143 - ], - [ - 109.235458, - 28.882161 - ], - [ - 109.261328, - 28.952356 - ], - [ - 109.292741, - 28.987436 - ], - [ - 109.294588, - 29.015177 - ], - [ - 109.319842, - 29.042388 - ], - [ - 109.312451, - 29.066453 - ], - [ - 109.240386, - 29.086328 - ], - [ - 109.232378, - 29.119271 - ], - [ - 109.215748, - 29.145409 - ], - [ - 109.162777, - 29.180946 - ], - [ - 109.139372, - 29.168927 - ], - [ - 109.110422, - 29.21647 - ], - [ - 109.141835, - 29.270256 - ], - [ - 109.106727, - 29.288526 - ], - [ - 109.11227, - 29.361053 - ], - [ - 109.060531, - 29.403292 - ], - [ - 109.034662, - 29.360531 - ], - [ - 108.999553, - 29.36366 - ], - [ - 108.983539, - 29.332883 - ], - [ - 108.919481, - 29.3261 - ], - [ - 108.934264, - 29.399643 - ], - [ - 108.927488, - 29.435612 - ], - [ - 108.884373, - 29.440824 - ], - [ - 108.866511, - 29.470527 - ], - [ - 108.888684, - 29.502305 - ], - [ - 108.878213, - 29.539279 - ], - [ - 108.913322, - 29.574679 - ], - [ - 108.901003, - 29.604863 - ], - [ - 108.870206, - 29.596537 - ], - [ - 108.888068, - 29.628795 - ], - [ - 108.844337, - 29.658443 - ], - [ - 108.781511, - 29.635558 - ], - [ - 108.797525, - 29.660003 - ], - [ - 108.786438, - 29.691721 - ], - [ - 108.752562, - 29.649082 - ], - [ - 108.690968, - 29.689642 - ], - [ - 108.676801, - 29.749412 - ], - [ - 108.680497, - 29.800319 - ], - [ - 108.658939, - 29.854833 - ], - [ - 108.601041, - 29.863656 - ], - [ - 108.556077, - 29.818493 - ], - [ - 108.52528, - 29.770713 - ], - [ - 108.548686, - 29.749412 - ], - [ - 108.504954, - 29.728626 - ], - [ - 108.504338, - 29.707836 - ], - [ - 108.460606, - 29.741098 - ], - [ - 108.437201, - 29.741098 - ], - [ - 108.442744, - 29.778505 - ], - [ - 108.422418, - 29.772791 - ], - [ - 108.424266, - 29.815897 - ], - [ - 108.371295, - 29.841337 - ], - [ - 108.433505, - 29.880262 - ], - [ - 108.467998, - 29.864175 - ], - [ - 108.516041, - 29.885451 - ], - [ - 108.517889, - 29.9394 - ], - [ - 108.536367, - 29.983472 - ], - [ - 108.532055, - 30.051873 - ], - [ - 108.513577, - 30.057571 - ], - [ - 108.546222, - 30.104178 - ], - [ - 108.56778, - 30.157491 - ], - [ - 108.551766, - 30.1637 - ], - [ - 108.581947, - 30.255759 - ], - [ - 108.54499, - 30.269716 - ], - [ - 108.524048, - 30.309506 - ], - [ - 108.501258, - 30.314673 - ], - [ - 108.460606, - 30.35961 - ], - [ - 108.431041, - 30.354446 - ], - [ - 108.402092, - 30.376649 - ], - [ - 108.430425, - 30.416397 - ], - [ - 108.411331, - 30.438586 - ], - [ - 108.42673, - 30.492233 - ], - [ - 108.472925, - 30.487076 - ], - [ - 108.512961, - 30.501515 - ], - [ - 108.556077, - 30.487592 - ], - [ - 108.56778, - 30.468508 - ], - [ - 108.6497, - 30.53915 - ], - [ - 108.642925, - 30.578831 - ], - [ - 108.688504, - 30.58759 - ], - [ - 108.698975, - 30.54482 - ], - [ - 108.743939, - 30.494812 - ], - [ - 108.789518, - 30.513374 - ], - [ - 108.808612, - 30.491202 - ], - [ - 108.838793, - 30.503062 - ], - [ - 108.893612, - 30.565434 - ], - [ - 108.971836, - 30.627766 - ], - [ - 109.006329, - 30.626736 - ], - [ - 109.042669, - 30.655571 - ], - [ - 109.071002, - 30.640125 - ], - [ - 109.111654, - 30.646303 - ], - [ - 109.106111, - 30.61077 - ], - [ - 109.105495, - 30.585529 - ], - [ - 109.102415, - 30.580377 - ], - [ - 109.101183, - 30.579346 - ], - [ - 109.106111, - 30.570587 - ], - [ - 109.103647, - 30.565949 - ], - [ - 109.143683, - 30.521108 - ], - [ - 109.191726, - 30.545851 - ], - [ - 109.191726, - 30.545851 - ], - [ - 109.245313, - 30.580892 - ], - [ - 109.299516, - 30.630341 - ], - [ - 109.314298, - 30.599953 - ], - [ - 109.36111, - 30.551004 - ], - [ - 109.337088, - 30.521623 - ], - [ - 109.35495, - 30.487076 - ], - [ - 109.418392, - 30.559766 - ], - [ - 109.435638, - 30.595832 - ], - [ - 109.535421, - 30.664837 - ], - [ - 109.543428, - 30.63961 - ], - [ - 109.574225, - 30.646818 - ], - [ - 109.590855, - 30.69366 - ], - [ - 109.625348, - 30.702923 - ], - [ - 109.661072, - 30.738936 - ], - [ - 109.656761, - 30.760538 - ], - [ - 109.701724, - 30.783677 - ], - [ - 109.780564, - 30.848437 - ], - [ - 109.828608, - 30.864364 - ], - [ - 109.894513, - 30.899803 - ], - [ - 109.943788, - 30.878746 - ], - [ - 110.008462, - 30.883369 - ], - [ - 110.019549, - 30.829425 - ], - [ - 110.048498, - 30.800642 - ], - [ - 110.082375, - 30.799614 - ], - [ - 110.151976, - 30.911613 - ], - [ - 110.153824, - 30.953708 - ], - [ - 110.172918, - 30.978853 - ], - [ - 110.140889, - 30.987062 - ], - [ - 110.140273, - 31.030661 - ], - [ - 110.120563, - 31.0322 - ], - [ - 110.119947, - 31.088592 - ], - [ - 110.147048, - 31.116776 - ], - [ - 110.180309, - 31.121899 - ], - [ - 110.200019, - 31.158779 - ], - [ - 110.180309, - 31.179774 - ], - [ - 110.155671, - 31.279564 - ], - [ - 110.161831, - 31.314338 - ], - [ - 110.118715, - 31.409899 - ], - [ - 110.054042, - 31.410921 - ], - [ - 110.036795, - 31.436966 - ], - [ - 109.98752, - 31.474744 - ], - [ - 109.94502, - 31.47066 - ], - [ - 109.969658, - 31.508935 - ], - [ - 109.894513, - 31.519139 - ], - [ - 109.837847, - 31.555354 - ], - [ - 109.727594, - 31.548214 - ], - [ - 109.745456, - 31.598182 - ], - [ - 109.76455, - 31.602769 - ], - [ - 109.737449, - 31.628761 - ], - [ - 109.731289, - 31.700582 - ], - [ - 109.683246, - 31.719929 - ], - [ - 109.622268, - 31.711783 - ], - [ - 109.585928, - 31.726546 - ], - [ - 109.549587, - 31.73011 - ], - [ - 109.502776, - 31.716365 - ], - [ - 109.446109, - 31.722983 - ], - [ - 109.381436, - 31.705165 - ], - [ - 109.281654, - 31.716874 - ], - [ - 109.282885, - 31.743343 - ], - [ - 109.253936, - 31.759628 - ], - [ - 109.279806, - 31.776418 - ], - [ - 109.27611, - 31.79931 - ], - [ - 109.195422, - 31.817618 - ], - [ - 109.191111, - 31.85575 - ], - [ - 109.123357, - 31.892851 - ], - [ - 109.085785, - 31.929428 - ], - [ - 108.986619, - 31.980205 - ], - [ - 108.902235, - 31.984774 - ], - [ - 108.837561, - 32.039072 - ], - [ - 108.78767, - 32.04871 - ], - [ - 108.75133, - 32.076098 - ], - [ - 108.734084, - 32.106519 - ], - [ - 108.676801, - 32.10297 - ], - [ - 108.585026, - 32.17189 - ], - [ - 108.543758, - 32.177969 - ], - [ - 108.509882, - 32.201266 - ], - [ - 108.480317, - 32.182527 - ], - [ - 108.399013, - 32.194176 - ], - [ - 108.370063, - 32.172397 - ], - [ - 108.379918, - 32.154158 - ], - [ - 108.379918, - 32.154158 - ], - [ - 108.379303, - 32.153652 - ], - [ - 108.379303, - 32.153652 - ], - [ - 108.399628, - 32.147065 - ], - [ - 108.452599, - 32.090296 - ], - [ - 108.42981, - 32.061391 - ], - [ - 108.372527, - 32.077112 - ], - [ - 108.344194, - 32.067477 - ], - [ - 108.362056, - 32.035521 - ], - [ - 108.329411, - 32.020299 - ], - [ - 108.370063, - 31.988835 - ], - [ - 108.351585, - 31.971575 - ], - [ - 108.307238, - 31.997463 - ], - [ - 108.259194, - 31.967006 - ], - [ - 108.343578, - 31.860834 - ], - [ - 108.386078, - 31.854226 - ], - [ - 108.391005, - 31.829822 - ], - [ - 108.429194, - 31.809482 - ], - [ - 108.455063, - 31.814059 - ], - [ - 108.462454, - 31.780488 - ], - [ - 108.535135, - 31.757592 - ], - [ - 108.50557, - 31.734182 - ], - [ - 108.514809, - 31.693963 - ], - [ - 108.546838, - 31.665442 - ], - [ - 108.519121, - 31.665952 - ], - [ - 108.468614, - 31.636404 - ], - [ - 108.442744, - 31.633856 - ], - [ - 108.390389, - 31.591555 - ], - [ - 108.386078, - 31.544134 - ], - [ - 108.339266, - 31.539033 - ], - [ - 108.344194, - 31.512506 - ], - [ - 108.254883, - 31.49873 - ], - [ - 108.233941, - 31.506894 - ], - [ - 108.191441, - 31.492096 - ], - [ - 108.193289, - 31.467598 - ], - [ - 108.224086, - 31.464024 - ], - [ - 108.216079, - 31.41041 - ], - [ - 108.153869, - 31.371073 - ], - [ - 108.185898, - 31.336831 - ], - [ - 108.095354, - 31.268311 - ], - [ - 108.038688, - 31.252964 - ], - [ - 108.031297, - 31.217144 - ], - [ - 108.07626, - 31.231985 - ], - [ - 108.089811, - 31.204859 - ], - [ - 108.025753, - 31.116263 - ], - [ - 108.009123, - 31.109602 - ], - [ - 108.026985, - 31.061938 - ], - [ - 108.060246, - 31.052197 - ], - [ - 108.00358, - 31.025533 - ], - [ - 107.983254, - 30.983983 - ], - [ - 107.942602, - 30.989114 - ], - [ - 107.948145, - 30.918802 - ], - [ - 107.994956, - 30.908533 - ], - [ - 107.956152, - 30.882855 - ], - [ - 107.851443, - 30.792931 - ], - [ - 107.788001, - 30.81966 - ], - [ - 107.763979, - 30.817091 - ], - [ - 107.760899, - 30.862823 - ], - [ - 107.739957, - 30.884396 - ], - [ - 107.693146, - 30.875665 - ], - [ - 107.645103, - 30.821202 - ], - [ - 107.57735, - 30.847924 - ], - [ - 107.515756, - 30.854603 - ], - [ - 107.483111, - 30.838675 - ], - [ - 107.498509, - 30.809381 - ], - [ - 107.454162, - 30.771851 - ], - [ - 107.454162, - 30.771851 - ], - [ - 107.424597, - 30.74048 - ], - [ - 107.458473, - 30.704981 - ], - [ - 107.477567, - 30.664837 - ], - [ - 107.516987, - 30.644759 - ], - [ - 107.485575, - 30.598408 - ], - [ - 107.427676, - 30.547397 - ], - [ - 107.443075, - 30.53348 - ], - [ - 107.408582, - 30.521623 - ], - [ - 107.368546, - 30.468508 - ], - [ - 107.338981, - 30.386459 - ], - [ - 107.288474, - 30.337402 - ], - [ - 107.257677, - 30.267131 - ], - [ - 107.221337, - 30.213878 - ], - [ - 107.103076, - 30.090198 - ], - [ - 107.080286, - 30.094341 - ], - [ - 107.084598, - 30.063786 - ], - [ - 107.058113, - 30.043066 - ], - [ - 107.055649, - 30.040476 - ], - [ - 107.054417, - 30.040994 - ], - [ - 107.053801, - 30.043584 - ], - [ - 107.02054, - 30.036849 - ], - [ - 106.981736, - 30.08502 - ], - [ - 106.976193, - 30.083467 - ], - [ - 106.94478, - 30.037367 - ], - [ - 106.913367, - 30.025451 - ], - [ - 106.862244, - 30.033223 - ], - [ - 106.83699, - 30.049801 - ], - [ - 106.825904, - 30.03115 - ], - [ - 106.825904, - 30.03115 - ], - [ - 106.785252, - 30.01716 - ], - [ - 106.732281, - 30.027005 - ], - [ - 106.724274, - 30.058607 - ], - [ - 106.699636, - 30.074145 - ], - [ - 106.700252, - 30.111944 - ], - [ - 106.672535, - 30.122297 - ], - [ - 106.677462, - 30.156974 - ], - [ - 106.631883, - 30.186464 - ], - [ - 106.611557, - 30.235596 - ], - [ - 106.612173, - 30.235596 - ], - [ - 106.611557, - 30.235596 - ], - [ - 106.612173, - 30.235596 - ], - [ - 106.612173, - 30.235596 - ], - [ - 106.612789, - 30.235596 - ], - [ - 106.612789, - 30.235596 - ], - [ - 106.642354, - 30.246454 - ], - [ - 106.611557, - 30.292455 - ], - [ - 106.560434, - 30.31519 - ], - [ - 106.545035, - 30.296589 - ], - [ - 106.49884, - 30.295556 - ], - [ - 106.43971, - 30.308473 - ], - [ - 106.428623, - 30.254725 - ], - [ - 106.401521, - 30.242318 - ], - [ - 106.349167, - 30.24542 - ], - [ - 106.334384, - 30.225772 - ], - [ - 106.306667, - 30.238182 - ], - [ - 106.296196, - 30.205603 - ], - [ - 106.264167, - 30.20974 - ], - [ - 106.260471, - 30.19681 - ], - [ - 106.232754, - 30.185947 - ], - [ - 106.180399, - 30.233011 - ], - [ - 106.168696, - 30.303823 - ], - [ - 106.132356, - 30.323972 - ], - [ - 106.132972, - 30.30279 - ], - [ - 106.07261, - 30.333786 - ], - [ - 106.031958, - 30.373551 - ], - [ - 105.943263, - 30.372002 - ], - [ - 105.900763, - 30.405042 - ], - [ - 105.84656, - 30.410203 - ], - [ - 105.825618, - 30.436006 - ], - [ - 105.792357, - 30.427234 - ], - [ - 105.760329, - 30.384393 - ], - [ - 105.754785, - 30.342567 - ], - [ - 105.714749, - 30.322939 - ], - [ - 105.720292, - 30.252657 - ], - [ - 105.720292, - 30.252657 - ], - [ - 105.670401, - 30.254208 - ], - [ - 105.624822, - 30.275918 - ], - [ - 105.619894, - 30.234045 - ], - [ - 105.662394, - 30.210258 - ], - [ - 105.642684, - 30.186464 - ], - [ - 105.56138, - 30.183878 - ], - [ - 105.550909, - 30.179222 - ], - [ - 105.536127, - 30.152834 - ], - [ - 105.596489, - 30.159043 - ], - [ - 105.574315, - 30.130579 - ], - [ - 105.580474, - 30.129544 - ], - [ - 105.582938, - 30.127474 - ], - [ - 105.582938, - 30.12385 - ], - [ - 105.642068, - 30.101072 - ], - [ - 105.638988, - 30.076216 - ], - [ - 105.676561, - 30.06793 - ], - [ - 105.687032, - 30.038922 - ], - [ - 105.719677, - 30.042548 - ], - [ - 105.753553, - 30.018196 - ], - [ - 105.723372, - 29.975177 - ], - [ - 105.730763, - 29.95755 - ], - [ - 105.70243, - 29.924879 - ], - [ - 105.717213, - 29.893753 - ], - [ - 105.738771, - 29.891159 - ], - [ - 105.707974, - 29.840818 - ], - [ - 105.610655, - 29.837184 - ], - [ - 105.582938, - 29.819013 - ], - [ - 105.574931, - 29.744216 - ], - [ - 105.529351, - 29.707836 - ], - [ - 105.481924, - 29.718232 - ], - [ - 105.476996, - 29.674564 - ], - [ - 105.419714, - 29.688082 - ], - [ - 105.38091, - 29.628275 - ], - [ - 105.347649, - 29.621512 - ], - [ - 105.332867, - 29.592374 - ], - [ - 105.296526, - 29.571035 - ], - [ - 105.305149, - 29.53199 - ], - [ - 105.337794, - 29.459064 - ], - [ - 105.334099, - 29.441345 - ], - [ - 105.387069, - 29.455416 - ], - [ - 105.387069, - 29.455416 - ], - [ - 105.399388, - 29.43874 - ], - [ - 105.372903, - 29.421018 - ], - [ - 105.426489, - 29.419454 - ], - [ - 105.441888, - 29.400686 - ], - [ - 105.418482, - 29.352185 - ], - [ - 105.42033, - 29.31149 - ], - [ - 105.465294, - 29.322969 - ], - [ - 105.459134, - 29.288526 - ], - [ - 105.513337, - 29.283306 - ], - [ - 105.521344, - 29.264513 - ], - [ - 105.557684, - 29.278608 - ], - [ - 105.631597, - 29.280174 - ], - [ - 105.647612, - 29.253027 - ], - [ - 105.695039, - 29.287482 - ], - [ - 105.712285, - 29.219082 - ], - [ - 105.703662, - 29.176766 - ], - [ - 105.728916, - 29.134432 - ], - [ - 105.752321, - 29.129727 - ], - [ - 105.728916, - 29.1062 - ], - [ - 105.757865, - 29.069068 - ], - [ - 105.74185, - 29.039249 - ], - [ - 105.766488, - 29.013607 - ], - [ - 105.762176, - 28.9911 - ], - [ - 105.801596, - 28.958116 - ], - [ - 105.797285, - 28.936121 - ], - [ - 105.830546, - 28.944501 - ], - [ - 105.852719, - 28.927217 - ], - [ - 105.910002, - 28.920407 - ], - [ - 105.969132, - 28.965971 - ], - [ - 106.001161, - 28.973824 - ], - [ - 106.040581, - 28.955498 - ], - [ - 106.049204, - 28.906263 - ], - [ - 106.070762, - 28.919884 - ], - [ - 106.101559, - 28.898928 - ], - [ - 106.14837, - 28.901548 - ], - [ - 106.173008, - 28.920407 - ], - [ - 106.206885, - 28.904691 - ], - [ - 106.264783, - 28.845997 - ], - [ - 106.245689, - 28.817686 - ], - [ - 106.267863, - 28.779402 - ], - [ - 106.274022, - 28.739004 - ], - [ - 106.305435, - 28.704365 - ], - [ - 106.304203, - 28.64976 - ], - [ - 106.346703, - 28.583565 - ], - [ - 106.33192, - 28.55308 - ], - [ - 106.37442, - 28.525742 - ] - ] - ], - [ - [ - [ - 109.105495, - 30.585529 - ], - [ - 109.106111, - 30.61077 - ], - [ - 109.09256, - 30.578831 - ], - [ - 109.09872, - 30.579346 - ], - [ - 109.101183, - 30.579346 - ], - [ - 109.102415, - 30.580377 - ], - [ - 109.105495, - 30.585529 - ] - ] - ], - [ - [ - [ - 105.582938, - 30.12385 - ], - [ - 105.582938, - 30.127474 - ], - [ - 105.580474, - 30.129544 - ], - [ - 105.574315, - 30.130579 - ], - [ - 105.582938, - 30.12385 - ] - ] - ], - [ - [ - [ - 109.09872, - 30.579346 - ], - [ - 109.09256, - 30.578831 - ], - [ - 109.103647, - 30.565949 - ], - [ - 109.106111, - 30.570587 - ], - [ - 109.09872, - 30.579346 - ] - ] - ], - [ - [ - [ - 107.058113, - 30.043066 - ], - [ - 107.053801, - 30.043584 - ], - [ - 107.054417, - 30.040994 - ], - [ - 107.055649, - 30.040476 - ], - [ - 107.058113, - 30.043066 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 510000, - "name": "四川省", - "center": [ - 104.065735, - 30.659462 - ], - "centroid": [ - 102.693453, - 30.674545 - ], - "childrenNum": 21, - "cp": [102.9199, 30.1904], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 22, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 101.167885, - 27.198311 - ], - [ - 101.170349, - 27.175421 - ], - [ - 101.145095, - 27.103523 - ], - [ - 101.157414, - 27.094999 - ], - [ - 101.136472, - 27.023584 - ], - [ - 101.228863, - 26.981992 - ], - [ - 101.227015, - 26.959057 - ], - [ - 101.264587, - 26.955323 - ], - [ - 101.267667, - 26.903034 - ], - [ - 101.311399, - 26.903034 - ], - [ - 101.365602, - 26.883819 - ], - [ - 101.399478, - 26.841642 - ], - [ - 101.358826, - 26.771669 - ], - [ - 101.387159, - 26.753501 - ], - [ - 101.389623, - 26.723036 - ], - [ - 101.435819, - 26.740675 - ], - [ - 101.458608, - 26.731054 - ], - [ - 101.445674, - 26.77434 - ], - [ - 101.466, - 26.786629 - ], - [ - 101.513427, - 26.768463 - ], - [ - 101.453065, - 26.692563 - ], - [ - 101.481398, - 26.673313 - ], - [ - 101.461072, - 26.640687 - ], - [ - 101.461688, - 26.606447 - ], - [ - 101.402558, - 26.604841 - ], - [ - 101.395783, - 26.591998 - ], - [ - 101.422884, - 26.53151 - ], - [ - 101.458608, - 26.49563 - ], - [ - 101.506652, - 26.499915 - ], - [ - 101.530057, - 26.467239 - ], - [ - 101.565782, - 26.454381 - ], - [ - 101.637847, - 26.388995 - ], - [ - 101.635383, - 26.357361 - ], - [ - 101.660636, - 26.346635 - ], - [ - 101.64031, - 26.318745 - ], - [ - 101.597195, - 26.303187 - ], - [ - 101.586108, - 26.279579 - ], - [ - 101.630455, - 26.224832 - ], - [ - 101.690202, - 26.241473 - ], - [ - 101.737013, - 26.219463 - ], - [ - 101.773353, - 26.168448 - ], - [ - 101.807846, - 26.156093 - ], - [ - 101.796759, - 26.114723 - ], - [ - 101.839875, - 26.082477 - ], - [ - 101.835563, - 26.04592 - ], - [ - 101.857737, - 26.049146 - ], - [ - 101.899621, - 26.099139 - ], - [ - 101.929186, - 26.105588 - ], - [ - 101.954439, - 26.084627 - ], - [ - 102.020961, - 26.096451 - ], - [ - 102.080091, - 26.065275 - ], - [ - 102.107808, - 26.068501 - ], - [ - 102.152156, - 26.10935 - ], - [ - 102.174946, - 26.146961 - ], - [ - 102.242699, - 26.190468 - ], - [ - 102.245163, - 26.212483 - ], - [ - 102.349257, - 26.244694 - ], - [ - 102.392372, - 26.296749 - ], - [ - 102.440416, - 26.300505 - ], - [ - 102.542046, - 26.338591 - ], - [ - 102.570995, - 26.362723 - ], - [ - 102.629509, - 26.336982 - ], - [ - 102.638748, - 26.307479 - ], - [ - 102.60056, - 26.250598 - ], - [ - 102.659074, - 26.221611 - ], - [ - 102.709581, - 26.210336 - ], - [ - 102.739762, - 26.268846 - ], - [ - 102.785342, - 26.298895 - ], - [ - 102.833385, - 26.306406 - ], - [ - 102.878964, - 26.364332 - ], - [ - 102.893131, - 26.338591 - ], - [ - 102.975667, - 26.340736 - ], - [ - 102.998457, - 26.371839 - ], - [ - 102.988602, - 26.413117 - ], - [ - 102.989833, - 26.482775 - ], - [ - 103.030485, - 26.485989 - ], - [ - 103.052659, - 26.514374 - ], - [ - 103.052659, - 26.555602 - ], - [ - 103.035413, - 26.556673 - ], - [ - 103.026174, - 26.664221 - ], - [ - 103.005232, - 26.679195 - ], - [ - 103.008312, - 26.710741 - ], - [ - 102.983674, - 26.76686 - ], - [ - 102.991681, - 26.775409 - ], - [ - 102.966428, - 26.837904 - ], - [ - 102.949181, - 26.843244 - ], - [ - 102.896211, - 26.91264 - ], - [ - 102.894979, - 27.001724 - ], - [ - 102.870957, - 27.026782 - ], - [ - 102.913457, - 27.133886 - ], - [ - 102.904218, - 27.227584 - ], - [ - 102.883276, - 27.258444 - ], - [ - 102.883892, - 27.299401 - ], - [ - 102.899906, - 27.317481 - ], - [ - 102.941174, - 27.405711 - ], - [ - 102.989833, - 27.367983 - ], - [ - 103.055739, - 27.40943 - ], - [ - 103.080992, - 27.396679 - ], - [ - 103.141355, - 27.420586 - ], - [ - 103.144434, - 27.450331 - ], - [ - 103.19063, - 27.523596 - ], - [ - 103.232514, - 27.56976 - ], - [ - 103.2861, - 27.561802 - ], - [ - 103.29226, - 27.632872 - ], - [ - 103.349542, - 27.678459 - ], - [ - 103.369868, - 27.708664 - ], - [ - 103.393274, - 27.709194 - ], - [ - 103.461027, - 27.779638 - ], - [ - 103.487512, - 27.794992 - ], - [ - 103.509686, - 27.843687 - ], - [ - 103.502295, - 27.910343 - ], - [ - 103.55465, - 27.978543 - ], - [ - 103.515846, - 27.965329 - ], - [ - 103.486281, - 28.033495 - ], - [ - 103.459179, - 28.021345 - ], - [ - 103.430846, - 28.044587 - ], - [ - 103.470266, - 28.122204 - ], - [ - 103.533092, - 28.168641 - ], - [ - 103.573128, - 28.230877 - ], - [ - 103.643961, - 28.260401 - ], - [ - 103.692004, - 28.232459 - ], - [ - 103.701859, - 28.198709 - ], - [ - 103.740048, - 28.23615 - ], - [ - 103.770845, - 28.233514 - ], - [ - 103.828743, - 28.285173 - ], - [ - 103.877402, - 28.316262 - ], - [ - 103.85338, - 28.356822 - ], - [ - 103.860156, - 28.383677 - ], - [ - 103.828743, - 28.44 - ], - [ - 103.829975, - 28.459995 - ], - [ - 103.781931, - 28.525216 - ], - [ - 103.802873, - 28.563068 - ], - [ - 103.838598, - 28.587244 - ], - [ - 103.833054, - 28.605109 - ], - [ - 103.850917, - 28.66709 - ], - [ - 103.887873, - 28.61982 - ], - [ - 103.910047, - 28.631377 - ], - [ - 103.953779, - 28.600906 - ], - [ - 104.05972, - 28.6277 - ], - [ - 104.09606, - 28.603533 - ], - [ - 104.117618, - 28.634003 - ], - [ - 104.170589, - 28.642932 - ], - [ - 104.230951, - 28.635579 - ], - [ - 104.252509, - 28.660788 - ], - [ - 104.277147, - 28.631902 - ], - [ - 104.314719, - 28.615617 - ], - [ - 104.372617, - 28.649235 - ], - [ - 104.425588, - 28.626649 - ], - [ - 104.417581, - 28.598279 - ], - [ - 104.375697, - 28.5946 - ], - [ - 104.355987, - 28.555183 - ], - [ - 104.323342, - 28.540989 - ], - [ - 104.260516, - 28.536257 - ], - [ - 104.267908, - 28.499448 - ], - [ - 104.254357, - 28.403683 - ], - [ - 104.282074, - 28.343128 - ], - [ - 104.314103, - 28.306778 - ], - [ - 104.343052, - 28.334173 - ], - [ - 104.384936, - 28.329959 - ], - [ - 104.392943, - 28.291497 - ], - [ - 104.420045, - 28.269889 - ], - [ - 104.44961, - 28.269889 - ], - [ - 104.462544, - 28.241422 - ], - [ - 104.442834, - 28.211366 - ], - [ - 104.402182, - 28.202928 - ], - [ - 104.406494, - 28.173389 - ], - [ - 104.444682, - 28.16231 - ], - [ - 104.448994, - 28.113758 - ], - [ - 104.40095, - 28.091586 - ], - [ - 104.373233, - 28.051454 - ], - [ - 104.304248, - 28.050926 - ], - [ - 104.30856, - 28.036136 - ], - [ - 104.362762, - 28.012891 - ], - [ - 104.40095, - 27.952114 - ], - [ - 104.44961, - 27.927794 - ], - [ - 104.508124, - 27.878078 - ], - [ - 104.52537, - 27.889187 - ], - [ - 104.573413, - 27.840512 - ], - [ - 104.607906, - 27.857974 - ], - [ - 104.63316, - 27.850567 - ], - [ - 104.676275, - 27.880723 - ], - [ - 104.743413, - 27.901881 - ], - [ - 104.761891, - 27.884426 - ], - [ - 104.796999, - 27.901352 - ], - [ - 104.842579, - 27.900294 - ], - [ - 104.888158, - 27.914574 - ], - [ - 104.918339, - 27.938897 - ], - [ - 104.903557, - 27.962158 - ], - [ - 104.975006, - 28.020816 - ], - [ - 104.980549, - 28.063073 - ], - [ - 105.002107, - 28.064129 - ], - [ - 105.061853, - 28.096866 - ], - [ - 105.119752, - 28.07205 - ], - [ - 105.168411, - 28.071522 - ], - [ - 105.186889, - 28.054623 - ], - [ - 105.167795, - 28.021345 - ], - [ - 105.186273, - 27.995454 - ], - [ - 105.218302, - 27.990698 - ], - [ - 105.247867, - 28.009193 - ], - [ - 105.270657, - 27.99704 - ], - [ - 105.284823, - 27.935725 - ], - [ - 105.233084, - 27.895534 - ], - [ - 105.25957, - 27.827811 - ], - [ - 105.313157, - 27.810874 - ], - [ - 105.273736, - 27.794992 - ], - [ - 105.293447, - 27.770637 - ], - [ - 105.290367, - 27.712373 - ], - [ - 105.308229, - 27.704955 - ], - [ - 105.353809, - 27.748924 - ], - [ - 105.44004, - 27.775402 - ], - [ - 105.508409, - 27.769048 - ], - [ - 105.560148, - 27.71979 - ], - [ - 105.605112, - 27.715552 - ], - [ - 105.62359, - 27.666269 - ], - [ - 105.664242, - 27.683759 - ], - [ - 105.720292, - 27.683759 - ], - [ - 105.722756, - 27.706015 - ], - [ - 105.76772, - 27.7182 - ], - [ - 105.848408, - 27.707074 - ], - [ - 105.868118, - 27.732504 - ], - [ - 105.922937, - 27.746805 - ], - [ - 105.92848, - 27.729855 - ], - [ - 105.985146, - 27.749983 - ], - [ - 106.023335, - 27.746805 - ], - [ - 106.063987, - 27.776991 - ], - [ - 106.120653, - 27.779638 - ], - [ - 106.193334, - 27.75422 - ], - [ - 106.242609, - 27.767459 - ], - [ - 106.306667, - 27.808756 - ], - [ - 106.337464, - 27.859033 - ], - [ - 106.325145, - 27.898708 - ], - [ - 106.304819, - 27.899237 - ], - [ - 106.307899, - 27.936782 - ], - [ - 106.328225, - 27.952643 - ], - [ - 106.286341, - 28.007079 - ], - [ - 106.246305, - 28.011835 - ], - [ - 106.266631, - 28.066769 - ], - [ - 106.206885, - 28.134343 - ], - [ - 106.145291, - 28.162837 - ], - [ - 106.093552, - 28.162837 - ], - [ - 105.975907, - 28.107952 - ], - [ - 105.943878, - 28.143314 - ], - [ - 105.895219, - 28.119565 - ], - [ - 105.860727, - 28.159672 - ], - [ - 105.889676, - 28.237732 - ], - [ - 105.848408, - 28.255656 - ], - [ - 105.824386, - 28.306251 - ], - [ - 105.78743, - 28.335753 - ], - [ - 105.76464, - 28.308359 - ], - [ - 105.76464, - 28.308359 - ], - [ - 105.737539, - 28.30309 - ], - [ - 105.730147, - 28.271997 - ], - [ - 105.68888, - 28.284119 - ], - [ - 105.639604, - 28.324164 - ], - [ - 105.655003, - 28.362615 - ], - [ - 105.643916, - 28.431053 - ], - [ - 105.612503, - 28.438947 - ], - [ - 105.62359, - 28.517854 - ], - [ - 105.68272, - 28.534154 - ], - [ - 105.693191, - 28.58882 - ], - [ - 105.712901, - 28.586718 - ], - [ - 105.74493, - 28.616668 - ], - [ - 105.757249, - 28.590397 - ], - [ - 105.78435, - 28.610889 - ], - [ - 105.808372, - 28.599855 - ], - [ - 105.884748, - 28.595126 - ], - [ - 105.889676, - 28.670765 - ], - [ - 105.937719, - 28.686517 - ], - [ - 105.966668, - 28.761041 - ], - [ - 106.001161, - 28.743727 - ], - [ - 106.030726, - 28.694917 - ], - [ - 106.085544, - 28.681792 - ], - [ - 106.103407, - 28.636104 - ], - [ - 106.14837, - 28.642932 - ], - [ - 106.17116, - 28.629275 - ], - [ - 106.184711, - 28.58882 - ], - [ - 106.254928, - 28.539412 - ], - [ - 106.2925, - 28.537309 - ], - [ - 106.304819, - 28.505233 - ], - [ - 106.349167, - 28.473674 - ], - [ - 106.379348, - 28.479986 - ], - [ - 106.37442, - 28.525742 - ], - [ - 106.33192, - 28.55308 - ], - [ - 106.346703, - 28.583565 - ], - [ - 106.304203, - 28.64976 - ], - [ - 106.305435, - 28.704365 - ], - [ - 106.274022, - 28.739004 - ], - [ - 106.267863, - 28.779402 - ], - [ - 106.245689, - 28.817686 - ], - [ - 106.264783, - 28.845997 - ], - [ - 106.206885, - 28.904691 - ], - [ - 106.173008, - 28.920407 - ], - [ - 106.14837, - 28.901548 - ], - [ - 106.101559, - 28.898928 - ], - [ - 106.070762, - 28.919884 - ], - [ - 106.049204, - 28.906263 - ], - [ - 106.040581, - 28.955498 - ], - [ - 106.001161, - 28.973824 - ], - [ - 105.969132, - 28.965971 - ], - [ - 105.910002, - 28.920407 - ], - [ - 105.852719, - 28.927217 - ], - [ - 105.830546, - 28.944501 - ], - [ - 105.797285, - 28.936121 - ], - [ - 105.801596, - 28.958116 - ], - [ - 105.762176, - 28.9911 - ], - [ - 105.766488, - 29.013607 - ], - [ - 105.74185, - 29.039249 - ], - [ - 105.757865, - 29.069068 - ], - [ - 105.728916, - 29.1062 - ], - [ - 105.752321, - 29.129727 - ], - [ - 105.728916, - 29.134432 - ], - [ - 105.703662, - 29.176766 - ], - [ - 105.712285, - 29.219082 - ], - [ - 105.695039, - 29.287482 - ], - [ - 105.647612, - 29.253027 - ], - [ - 105.631597, - 29.280174 - ], - [ - 105.557684, - 29.278608 - ], - [ - 105.521344, - 29.264513 - ], - [ - 105.513337, - 29.283306 - ], - [ - 105.459134, - 29.288526 - ], - [ - 105.465294, - 29.322969 - ], - [ - 105.42033, - 29.31149 - ], - [ - 105.418482, - 29.352185 - ], - [ - 105.441888, - 29.400686 - ], - [ - 105.426489, - 29.419454 - ], - [ - 105.372903, - 29.421018 - ], - [ - 105.399388, - 29.43874 - ], - [ - 105.387069, - 29.455416 - ], - [ - 105.387069, - 29.455416 - ], - [ - 105.334099, - 29.441345 - ], - [ - 105.337794, - 29.459064 - ], - [ - 105.305149, - 29.53199 - ], - [ - 105.296526, - 29.571035 - ], - [ - 105.332867, - 29.592374 - ], - [ - 105.347649, - 29.621512 - ], - [ - 105.38091, - 29.628275 - ], - [ - 105.419714, - 29.688082 - ], - [ - 105.476996, - 29.674564 - ], - [ - 105.481924, - 29.718232 - ], - [ - 105.529351, - 29.707836 - ], - [ - 105.574931, - 29.744216 - ], - [ - 105.582938, - 29.819013 - ], - [ - 105.610655, - 29.837184 - ], - [ - 105.707974, - 29.840818 - ], - [ - 105.738771, - 29.891159 - ], - [ - 105.717213, - 29.893753 - ], - [ - 105.70243, - 29.924879 - ], - [ - 105.730763, - 29.95755 - ], - [ - 105.723372, - 29.975177 - ], - [ - 105.753553, - 30.018196 - ], - [ - 105.719677, - 30.042548 - ], - [ - 105.687032, - 30.038922 - ], - [ - 105.676561, - 30.06793 - ], - [ - 105.638988, - 30.076216 - ], - [ - 105.642068, - 30.101072 - ], - [ - 105.582938, - 30.12385 - ], - [ - 105.574315, - 30.130579 - ], - [ - 105.596489, - 30.159043 - ], - [ - 105.536127, - 30.152834 - ], - [ - 105.550909, - 30.179222 - ], - [ - 105.556453, - 30.187499 - ], - [ - 105.558916, - 30.18543 - ], - [ - 105.56138, - 30.183878 - ], - [ - 105.642684, - 30.186464 - ], - [ - 105.662394, - 30.210258 - ], - [ - 105.619894, - 30.234045 - ], - [ - 105.624822, - 30.275918 - ], - [ - 105.670401, - 30.254208 - ], - [ - 105.720292, - 30.252657 - ], - [ - 105.720292, - 30.252657 - ], - [ - 105.714749, - 30.322939 - ], - [ - 105.754785, - 30.342567 - ], - [ - 105.760329, - 30.384393 - ], - [ - 105.792357, - 30.427234 - ], - [ - 105.825618, - 30.436006 - ], - [ - 105.84656, - 30.410203 - ], - [ - 105.900763, - 30.405042 - ], - [ - 105.943263, - 30.372002 - ], - [ - 106.031958, - 30.373551 - ], - [ - 106.07261, - 30.333786 - ], - [ - 106.132972, - 30.30279 - ], - [ - 106.132356, - 30.323972 - ], - [ - 106.168696, - 30.303823 - ], - [ - 106.180399, - 30.233011 - ], - [ - 106.232754, - 30.185947 - ], - [ - 106.260471, - 30.19681 - ], - [ - 106.260471, - 30.204051 - ], - [ - 106.260471, - 30.207672 - ], - [ - 106.264167, - 30.20974 - ], - [ - 106.296196, - 30.205603 - ], - [ - 106.306667, - 30.238182 - ], - [ - 106.334384, - 30.225772 - ], - [ - 106.349167, - 30.24542 - ], - [ - 106.401521, - 30.242318 - ], - [ - 106.428623, - 30.254725 - ], - [ - 106.43971, - 30.308473 - ], - [ - 106.49884, - 30.295556 - ], - [ - 106.545035, - 30.296589 - ], - [ - 106.560434, - 30.31519 - ], - [ - 106.611557, - 30.292455 - ], - [ - 106.642354, - 30.246454 - ], - [ - 106.612789, - 30.235596 - ], - [ - 106.612789, - 30.235596 - ], - [ - 106.612173, - 30.235596 - ], - [ - 106.612173, - 30.235596 - ], - [ - 106.611557, - 30.235596 - ], - [ - 106.612173, - 30.235596 - ], - [ - 106.611557, - 30.235596 - ], - [ - 106.631883, - 30.186464 - ], - [ - 106.677462, - 30.156974 - ], - [ - 106.672535, - 30.122297 - ], - [ - 106.700252, - 30.111944 - ], - [ - 106.699636, - 30.074145 - ], - [ - 106.724274, - 30.058607 - ], - [ - 106.732281, - 30.027005 - ], - [ - 106.785252, - 30.01716 - ], - [ - 106.825904, - 30.03115 - ], - [ - 106.825904, - 30.03115 - ], - [ - 106.83699, - 30.049801 - ], - [ - 106.862244, - 30.033223 - ], - [ - 106.913367, - 30.025451 - ], - [ - 106.94478, - 30.037367 - ], - [ - 106.976193, - 30.083467 - ], - [ - 106.975577, - 30.088127 - ], - [ - 106.976809, - 30.088127 - ], - [ - 106.977425, - 30.087609 - ], - [ - 106.978656, - 30.087609 - ], - [ - 106.979888, - 30.088127 - ], - [ - 106.980504, - 30.087609 - ], - [ - 106.981736, - 30.08502 - ], - [ - 107.02054, - 30.036849 - ], - [ - 107.053801, - 30.043584 - ], - [ - 107.058113, - 30.043066 - ], - [ - 107.084598, - 30.063786 - ], - [ - 107.080286, - 30.094341 - ], - [ - 107.103076, - 30.090198 - ], - [ - 107.221337, - 30.213878 - ], - [ - 107.257677, - 30.267131 - ], - [ - 107.288474, - 30.337402 - ], - [ - 107.338981, - 30.386459 - ], - [ - 107.368546, - 30.468508 - ], - [ - 107.408582, - 30.521623 - ], - [ - 107.443075, - 30.53348 - ], - [ - 107.427676, - 30.547397 - ], - [ - 107.485575, - 30.598408 - ], - [ - 107.516987, - 30.644759 - ], - [ - 107.477567, - 30.664837 - ], - [ - 107.458473, - 30.704981 - ], - [ - 107.424597, - 30.74048 - ], - [ - 107.454162, - 30.771851 - ], - [ - 107.454162, - 30.771851 - ], - [ - 107.498509, - 30.809381 - ], - [ - 107.483111, - 30.838675 - ], - [ - 107.515756, - 30.854603 - ], - [ - 107.57735, - 30.847924 - ], - [ - 107.645103, - 30.821202 - ], - [ - 107.693146, - 30.875665 - ], - [ - 107.739957, - 30.884396 - ], - [ - 107.760899, - 30.862823 - ], - [ - 107.763979, - 30.817091 - ], - [ - 107.788001, - 30.81966 - ], - [ - 107.851443, - 30.792931 - ], - [ - 107.956152, - 30.882855 - ], - [ - 107.994956, - 30.908533 - ], - [ - 107.948145, - 30.918802 - ], - [ - 107.942602, - 30.989114 - ], - [ - 107.983254, - 30.983983 - ], - [ - 108.00358, - 31.025533 - ], - [ - 108.060246, - 31.052197 - ], - [ - 108.026985, - 31.061938 - ], - [ - 108.009123, - 31.109602 - ], - [ - 108.025753, - 31.116263 - ], - [ - 108.089811, - 31.204859 - ], - [ - 108.07626, - 31.231985 - ], - [ - 108.031297, - 31.217144 - ], - [ - 108.038688, - 31.252964 - ], - [ - 108.095354, - 31.268311 - ], - [ - 108.185898, - 31.336831 - ], - [ - 108.153869, - 31.371073 - ], - [ - 108.216079, - 31.41041 - ], - [ - 108.224086, - 31.464024 - ], - [ - 108.193289, - 31.467598 - ], - [ - 108.191441, - 31.492096 - ], - [ - 108.233941, - 31.506894 - ], - [ - 108.254883, - 31.49873 - ], - [ - 108.344194, - 31.512506 - ], - [ - 108.339266, - 31.539033 - ], - [ - 108.386078, - 31.544134 - ], - [ - 108.390389, - 31.591555 - ], - [ - 108.442744, - 31.633856 - ], - [ - 108.468614, - 31.636404 - ], - [ - 108.519121, - 31.665952 - ], - [ - 108.546838, - 31.665442 - ], - [ - 108.514809, - 31.693963 - ], - [ - 108.50557, - 31.734182 - ], - [ - 108.535135, - 31.757592 - ], - [ - 108.462454, - 31.780488 - ], - [ - 108.455063, - 31.814059 - ], - [ - 108.429194, - 31.809482 - ], - [ - 108.391005, - 31.829822 - ], - [ - 108.386078, - 31.854226 - ], - [ - 108.343578, - 31.860834 - ], - [ - 108.259194, - 31.967006 - ], - [ - 108.307238, - 31.997463 - ], - [ - 108.351585, - 31.971575 - ], - [ - 108.370063, - 31.988835 - ], - [ - 108.329411, - 32.020299 - ], - [ - 108.362056, - 32.035521 - ], - [ - 108.344194, - 32.067477 - ], - [ - 108.372527, - 32.077112 - ], - [ - 108.42981, - 32.061391 - ], - [ - 108.452599, - 32.090296 - ], - [ - 108.399628, - 32.147065 - ], - [ - 108.379303, - 32.153652 - ], - [ - 108.379303, - 32.153652 - ], - [ - 108.379918, - 32.154158 - ], - [ - 108.379918, - 32.154158 - ], - [ - 108.370063, - 32.172397 - ], - [ - 108.399013, - 32.194176 - ], - [ - 108.480317, - 32.182527 - ], - [ - 108.509882, - 32.201266 - ], - [ - 108.507418, - 32.245819 - ], - [ - 108.469846, - 32.270618 - ], - [ - 108.414411, - 32.252399 - ], - [ - 108.389773, - 32.263533 - ], - [ - 108.310933, - 32.232152 - ], - [ - 108.240716, - 32.274666 - ], - [ - 108.179738, - 32.221521 - ], - [ - 108.156948, - 32.239239 - ], - [ - 108.143398, - 32.219495 - ], - [ - 108.086731, - 32.233165 - ], - [ - 108.018362, - 32.2119 - ], - [ - 108.024521, - 32.177462 - ], - [ - 107.979558, - 32.146051 - ], - [ - 107.924739, - 32.197215 - ], - [ - 107.890247, - 32.214432 - ], - [ - 107.864377, - 32.201266 - ], - [ - 107.812022, - 32.247844 - ], - [ - 107.753508, - 32.338399 - ], - [ - 107.707929, - 32.331826 - ], - [ - 107.680827, - 32.397035 - ], - [ - 107.648183, - 32.413709 - ], - [ - 107.598291, - 32.411688 - ], - [ - 107.527458, - 32.38238 - ], - [ - 107.489886, - 32.425328 - ], - [ - 107.456625, - 32.41775 - ], - [ - 107.460937, - 32.453612 - ], - [ - 107.438763, - 32.465732 - ], - [ - 107.436299, - 32.529835 - ], - [ - 107.382097, - 32.54043 - ], - [ - 107.356843, - 32.506622 - ], - [ - 107.313727, - 32.489965 - ], - [ - 107.287858, - 32.457147 - ], - [ - 107.263836, - 32.403099 - ], - [ - 107.212097, - 32.428864 - ], - [ - 107.189924, - 32.468256 - ], - [ - 107.127098, - 32.482393 - ], - [ - 107.080286, - 32.542448 - ], - [ - 107.108004, - 32.600951 - ], - [ - 107.098765, - 32.649338 - ], - [ - 107.05996, - 32.686115 - ], - [ - 107.066736, - 32.708779 - ], - [ - 107.012533, - 32.721367 - ], - [ - 106.912751, - 32.704247 - ], - [ - 106.903512, - 32.721367 - ], - [ - 106.854853, - 32.724388 - ], - [ - 106.82344, - 32.705254 - ], - [ - 106.793259, - 32.712807 - ], - [ - 106.783404, - 32.735967 - ], - [ - 106.733513, - 32.739491 - ], - [ - 106.670071, - 32.694678 - ], - [ - 106.626955, - 32.682086 - ], - [ - 106.585687, - 32.68813 - ], - [ - 106.517934, - 32.668485 - ], - [ - 106.498224, - 32.649338 - ], - [ - 106.451412, - 32.65992 - ], - [ - 106.421231, - 32.616579 - ], - [ - 106.389203, - 32.62666 - ], - [ - 106.347935, - 32.671003 - ], - [ - 106.301123, - 32.680071 - ], - [ - 106.267863, - 32.673522 - ], - [ - 106.254928, - 32.693671 - ], - [ - 106.17424, - 32.6977 - ], - [ - 106.120037, - 32.719856 - ], - [ - 106.071378, - 32.758114 - ], - [ - 106.07261, - 32.76365 - ], - [ - 106.093552, - 32.82402 - ], - [ - 106.071378, - 32.828546 - ], - [ - 106.044277, - 32.864747 - ], - [ - 106.011632, - 32.829552 - ], - [ - 105.969132, - 32.849162 - ], - [ - 105.93156, - 32.826032 - ], - [ - 105.893371, - 32.838603 - ], - [ - 105.849024, - 32.817985 - ], - [ - 105.825002, - 32.824523 - ], - [ - 105.822538, - 32.770192 - ], - [ - 105.779423, - 32.750061 - ], - [ - 105.768952, - 32.767676 - ], - [ - 105.719061, - 32.759624 - ], - [ - 105.677793, - 32.726402 - ], - [ - 105.596489, - 32.69921 - ], - [ - 105.585402, - 32.728919 - ], - [ - 105.563844, - 32.724891 - ], - [ - 105.555221, - 32.794343 - ], - [ - 105.534279, - 32.790822 - ], - [ - 105.524424, - 32.847654 - ], - [ - 105.495475, - 32.873292 - ], - [ - 105.49917, - 32.911986 - ], - [ - 105.467757, - 32.930071 - ], - [ - 105.414171, - 32.922034 - ], - [ - 105.408011, - 32.885857 - ], - [ - 105.38091, - 32.876307 - ], - [ - 105.396308, - 32.85067 - ], - [ - 105.396308, - 32.85067 - ], - [ - 105.427721, - 32.784281 - ], - [ - 105.454207, - 32.767173 - ], - [ - 105.448663, - 32.732946 - ], - [ - 105.368591, - 32.712807 - ], - [ - 105.347033, - 32.68259 - ], - [ - 105.297758, - 32.656897 - ], - [ - 105.263265, - 32.652362 - ], - [ - 105.219534, - 32.666469 - ], - [ - 105.215222, - 32.63674 - ], - [ - 105.185041, - 32.617587 - ], - [ - 105.111128, - 32.593893 - ], - [ - 105.0791, - 32.637244 - ], - [ - 105.026745, - 32.650346 - ], - [ - 104.925115, - 32.607505 - ], - [ - 104.881999, - 32.600951 - ], - [ - 104.845659, - 32.653873 - ], - [ - 104.820405, - 32.662943 - ], - [ - 104.795768, - 32.643292 - ], - [ - 104.739717, - 32.635228 - ], - [ - 104.696601, - 32.673522 - ], - [ - 104.643015, - 32.661935 - ], - [ - 104.592508, - 32.695685 - ], - [ - 104.582653, - 32.722374 - ], - [ - 104.526602, - 32.728416 - ], - [ - 104.51182, - 32.753585 - ], - [ - 104.458849, - 32.748551 - ], - [ - 104.363994, - 32.822511 - ], - [ - 104.294393, - 32.835586 - ], - [ - 104.277147, - 32.90244 - ], - [ - 104.288234, - 32.942628 - ], - [ - 104.345516, - 32.940117 - ], - [ - 104.378161, - 32.953174 - ], - [ - 104.383704, - 32.994343 - ], - [ - 104.426204, - 33.010906 - ], - [ - 104.391711, - 33.035493 - ], - [ - 104.337509, - 33.038002 - ], - [ - 104.378161, - 33.109214 - ], - [ - 104.351059, - 33.158828 - ], - [ - 104.32827, - 33.223934 - ], - [ - 104.323958, - 33.26898 - ], - [ - 104.303632, - 33.304499 - ], - [ - 104.333813, - 33.315502 - ], - [ - 104.386168, - 33.298497 - ], - [ - 104.420045, - 33.327004 - ], - [ - 104.373849, - 33.345004 - ], - [ - 104.292545, - 33.336505 - ], - [ - 104.272219, - 33.391486 - ], - [ - 104.22048, - 33.404477 - ], - [ - 104.213089, - 33.446932 - ], - [ - 104.180444, - 33.472895 - ], - [ - 104.155191, - 33.542755 - ], - [ - 104.176749, - 33.5996 - ], - [ - 104.103452, - 33.663381 - ], - [ - 104.046169, - 33.686291 - ], - [ - 103.980264, - 33.670852 - ], - [ - 103.861388, - 33.682307 - ], - [ - 103.778236, - 33.658898 - ], - [ - 103.690772, - 33.69376 - ], - [ - 103.667983, - 33.685793 - ], - [ - 103.645809, - 33.708697 - ], - [ - 103.593454, - 33.716164 - ], - [ - 103.563889, - 33.699735 - ], - [ - 103.552186, - 33.671351 - ], - [ - 103.520157, - 33.678323 - ], - [ - 103.545411, - 33.719649 - ], - [ - 103.518309, - 33.807213 - ], - [ - 103.464723, - 33.80224 - ], - [ - 103.434542, - 33.752993 - ], - [ - 103.35447, - 33.743539 - ], - [ - 103.278709, - 33.774387 - ], - [ - 103.284868, - 33.80224 - ], - [ - 103.24976, - 33.814175 - ], - [ - 103.228202, - 33.79478 - ], - [ - 103.165376, - 33.805721 - ], - [ - 103.153673, - 33.819147 - ], - [ - 103.181391, - 33.900649 - ], - [ - 103.16476, - 33.929454 - ], - [ - 103.1315, - 33.931937 - ], - [ - 103.120413, - 33.953286 - ], - [ - 103.157369, - 33.998944 - ], - [ - 103.147514, - 34.036644 - ], - [ - 103.119797, - 34.03466 - ], - [ - 103.129652, - 34.065899 - ], - [ - 103.178927, - 34.079779 - ], - [ - 103.121644, - 34.112487 - ], - [ - 103.124108, - 34.162022 - ], - [ - 103.100087, - 34.181828 - ], - [ - 103.052043, - 34.195194 - ], - [ - 103.005848, - 34.184798 - ], - [ - 102.973203, - 34.205588 - ], - [ - 102.977515, - 34.252595 - ], - [ - 102.949181, - 34.292159 - ], - [ - 102.911609, - 34.312923 - ], - [ - 102.85987, - 34.301058 - ], - [ - 102.856791, - 34.270895 - ], - [ - 102.798276, - 34.272874 - ], - [ - 102.779798, - 34.236764 - ], - [ - 102.728675, - 34.235774 - ], - [ - 102.694799, - 34.198659 - ], - [ - 102.664002, - 34.192719 - ], - [ - 102.651067, - 34.165983 - ], - [ - 102.598712, - 34.14766 - ], - [ - 102.655994, - 34.113478 - ], - [ - 102.649219, - 34.080275 - ], - [ - 102.615958, - 34.099604 - ], - [ - 102.511865, - 34.086222 - ], - [ - 102.471213, - 34.072839 - ], - [ - 102.437336, - 34.087214 - ], - [ - 102.406539, - 34.033172 - ], - [ - 102.392372, - 33.971651 - ], - [ - 102.345561, - 33.969666 - ], - [ - 102.315996, - 33.993983 - ], - [ - 102.287047, - 33.977607 - ], - [ - 102.248858, - 33.98654 - ], - [ - 102.226069, - 33.963214 - ], - [ - 102.16817, - 33.983066 - ], - [ - 102.136142, - 33.965199 - ], - [ - 102.25317, - 33.861399 - ], - [ - 102.261177, - 33.821136 - ], - [ - 102.243315, - 33.786823 - ], - [ - 102.296286, - 33.783838 - ], - [ - 102.324619, - 33.754486 - ], - [ - 102.284583, - 33.719151 - ], - [ - 102.342481, - 33.725622 - ], - [ - 102.31538, - 33.665374 - ], - [ - 102.346793, - 33.605582 - ], - [ - 102.440416, - 33.574673 - ], - [ - 102.477988, - 33.543254 - ], - [ - 102.446575, - 33.53228 - ], - [ - 102.461358, - 33.501345 - ], - [ - 102.462589, - 33.449429 - ], - [ - 102.447807, - 33.454922 - ], - [ - 102.392988, - 33.404477 - ], - [ - 102.368967, - 33.41247 - ], - [ - 102.310452, - 33.397982 - ], - [ - 102.296286, - 33.413969 - ], - [ - 102.258098, - 33.409472 - ], - [ - 102.218062, - 33.349503 - ], - [ - 102.192192, - 33.337005 - ], - [ - 102.217446, - 33.247961 - ], - [ - 102.200815, - 33.223434 - ], - [ - 102.160163, - 33.242956 - ], - [ - 102.144765, - 33.273983 - ], - [ - 102.117047, - 33.288492 - ], - [ - 102.08933, - 33.227439 - ], - [ - 102.08933, - 33.204908 - ], - [ - 102.054838, - 33.189884 - ], - [ - 101.99386, - 33.1999 - ], - [ - 101.935345, - 33.186879 - ], - [ - 101.921795, - 33.153817 - ], - [ - 101.887302, - 33.135778 - ], - [ - 101.865744, - 33.103198 - ], - [ - 101.825708, - 33.119239 - ], - [ - 101.841723, - 33.184876 - ], - [ - 101.83002, - 33.213921 - ], - [ - 101.770274, - 33.248962 - ], - [ - 101.769658, - 33.26898 - ], - [ - 101.877447, - 33.314502 - ], - [ - 101.887302, - 33.383991 - ], - [ - 101.915635, - 33.425957 - ], - [ - 101.946432, - 33.442937 - ], - [ - 101.906396, - 33.48188 - ], - [ - 101.907012, - 33.539264 - ], - [ - 101.884222, - 33.578163 - ], - [ - 101.844186, - 33.602591 - ], - [ - 101.831252, - 33.554726 - ], - [ - 101.783208, - 33.556721 - ], - [ - 101.769042, - 33.538765 - ], - [ - 101.777665, - 33.533776 - ], - [ - 101.769042, - 33.45592 - ], - [ - 101.695745, - 33.433948 - ], - [ - 101.663716, - 33.383991 - ], - [ - 101.64955, - 33.323004 - ], - [ - 101.677883, - 33.297497 - ], - [ - 101.735781, - 33.279987 - ], - [ - 101.709912, - 33.21292 - ], - [ - 101.653861, - 33.162835 - ], - [ - 101.661252, - 33.135778 - ], - [ - 101.633535, - 33.101193 - ], - [ - 101.557775, - 33.167344 - ], - [ - 101.515275, - 33.192889 - ], - [ - 101.487557, - 33.226938 - ], - [ - 101.403174, - 33.225436 - ], - [ - 101.386543, - 33.207412 - ], - [ - 101.393935, - 33.157826 - ], - [ - 101.381616, - 33.153316 - ], - [ - 101.297232, - 33.262475 - ], - [ - 101.217776, - 33.256469 - ], - [ - 101.182668, - 33.26948 - ], - [ - 101.156798, - 33.236449 - ], - [ - 101.124769, - 33.221431 - ], - [ - 101.11553, - 33.194893 - ], - [ - 101.169733, - 33.10019 - ], - [ - 101.143863, - 33.086151 - ], - [ - 101.146327, - 33.056563 - ], - [ - 101.184515, - 33.041514 - ], - [ - 101.171581, - 33.009902 - ], - [ - 101.183899, - 32.984304 - ], - [ - 101.129081, - 32.989324 - ], - [ - 101.134624, - 32.95217 - ], - [ - 101.124153, - 32.909976 - ], - [ - 101.178356, - 32.892892 - ], - [ - 101.223935, - 32.855698 - ], - [ - 101.237486, - 32.825026 - ], - [ - 101.22332, - 32.725898 - ], - [ - 101.157414, - 32.661431 - ], - [ - 101.124769, - 32.658408 - ], - [ - 101.077342, - 32.68259 - ], - [ - 101.030531, - 32.660424 - ], - [ - 100.99727, - 32.627668 - ], - [ - 100.956618, - 32.621116 - ], - [ - 100.93198, - 32.600447 - ], - [ - 100.887633, - 32.632708 - ], - [ - 100.834046, - 32.648835 - ], - [ - 100.77122, - 32.643795 - ], - [ - 100.690532, - 32.678056 - ], - [ - 100.71209, - 32.645307 - ], - [ - 100.710242, - 32.610026 - ], - [ - 100.673286, - 32.628172 - ], - [ - 100.661583, - 32.616075 - ], - [ - 100.657887, - 32.546484 - ], - [ - 100.645568, - 32.526303 - ], - [ - 100.603069, - 32.553547 - ], - [ - 100.54517, - 32.569687 - ], - [ - 100.516837, - 32.632204 - ], - [ - 100.470026, - 32.694678 - ], - [ - 100.450932, - 32.694678 - ], - [ - 100.420135, - 32.73194 - ], - [ - 100.378251, - 32.698707 - ], - [ - 100.399193, - 32.756101 - ], - [ - 100.339447, - 32.719353 - ], - [ - 100.258759, - 32.742511 - ], - [ - 100.231041, - 32.696189 - ], - [ - 100.229809, - 32.650346 - ], - [ - 100.208252, - 32.606497 - ], - [ - 100.189773, - 32.630692 - ], - [ - 100.109701, - 32.640268 - ], - [ - 100.088143, - 32.668988 - ], - [ - 100.139266, - 32.724388 - ], - [ - 100.117093, - 32.802392 - ], - [ - 100.123252, - 32.837095 - ], - [ - 100.064738, - 32.895907 - ], - [ - 100.029629, - 32.895907 - ], - [ - 100.038252, - 32.929066 - ], - [ - 99.956332, - 32.948152 - ], - [ - 99.947709, - 32.986814 - ], - [ - 99.877492, - 33.045527 - ], - [ - 99.877492, - 32.993339 - ], - [ - 99.851007, - 32.941623 - ], - [ - 99.805427, - 32.940619 - ], - [ - 99.788181, - 32.956689 - ], - [ - 99.764159, - 32.924545 - ], - [ - 99.791877, - 32.883344 - ], - [ - 99.766623, - 32.826032 - ], - [ - 99.760464, - 32.769689 - ], - [ - 99.717964, - 32.732443 - ], - [ - 99.700718, - 32.76667 - ], - [ - 99.646515, - 32.774721 - ], - [ - 99.640355, - 32.790822 - ], - [ - 99.589233, - 32.789312 - ], - [ - 99.558436, - 32.839106 - ], - [ - 99.45311, - 32.862233 - ], - [ - 99.376118, - 32.899927 - ], - [ - 99.353944, - 32.885354 - ], - [ - 99.268944, - 32.878318 - ], - [ - 99.24677, - 32.924043 - ], - [ - 99.235067, - 32.982296 - ], - [ - 99.214741, - 32.991332 - ], - [ - 99.196263, - 33.035493 - ], - [ - 99.124814, - 33.046028 - ], - [ - 99.090322, - 33.079131 - ], - [ - 99.024416, - 33.094675 - ], - [ - 99.014561, - 33.081137 - ], - [ - 98.971445, - 33.098185 - ], - [ - 98.967134, - 33.115229 - ], - [ - 98.92217, - 33.118738 - ], - [ - 98.858728, - 33.150811 - ], - [ - 98.804526, - 33.219428 - ], - [ - 98.802062, - 33.270481 - ], - [ - 98.759562, - 33.276985 - ], - [ - 98.779888, - 33.370497 - ], - [ - 98.736157, - 33.406975 - ], - [ - 98.742316, - 33.477887 - ], - [ - 98.725686, - 33.503341 - ], - [ - 98.678258, - 33.522801 - ], - [ - 98.648077, - 33.548741 - ], - [ - 98.652389, - 33.595114 - ], - [ - 98.622824, - 33.610067 - ], - [ - 98.61728, - 33.637476 - ], - [ - 98.6567, - 33.64744 - ], - [ - 98.610505, - 33.682805 - ], - [ - 98.582788, - 33.731595 - ], - [ - 98.539672, - 33.746525 - ], - [ - 98.51873, - 33.77389 - ], - [ - 98.494092, - 33.768915 - ], - [ - 98.492861, - 33.796272 - ], - [ - 98.463295, - 33.848477 - ], - [ - 98.434962, - 33.843009 - ], - [ - 98.407245, - 33.867362 - ], - [ - 98.425723, - 33.913066 - ], - [ - 98.415252, - 33.956761 - ], - [ - 98.440506, - 33.981577 - ], - [ - 98.428187, - 34.029204 - ], - [ - 98.396774, - 34.053008 - ], - [ - 98.399854, - 34.085231 - ], - [ - 98.344419, - 34.094648 - ], - [ - 98.258188, - 34.083249 - ], - [ - 98.206449, - 34.08424 - ], - [ - 98.158405, - 34.107037 - ], - [ - 98.098043, - 34.122892 - ], - [ - 98.028442, - 34.122892 - ], - [ - 97.95453, - 34.190739 - ], - [ - 97.898479, - 34.209548 - ], - [ - 97.8104, - 34.207568 - ], - [ - 97.796849, - 34.199154 - ], - [ - 97.796849, - 34.199154 - ], - [ - 97.789458, - 34.182818 - ], - [ - 97.789458, - 34.182818 - ], - [ - 97.766668, - 34.158555 - ], - [ - 97.665654, - 34.126855 - ], - [ - 97.70261, - 34.036644 - ], - [ - 97.652719, - 33.998448 - ], - [ - 97.660111, - 33.956264 - ], - [ - 97.629314, - 33.919523 - ], - [ - 97.601596, - 33.929951 - ], - [ - 97.52214, - 33.903133 - ], - [ - 97.503662, - 33.912073 - ], - [ - 97.460546, - 33.887236 - ], - [ - 97.395257, - 33.889224 - ], - [ - 97.398336, - 33.848477 - ], - [ - 97.371851, - 33.842015 - ], - [ - 97.373083, - 33.817655 - ], - [ - 97.406344, - 33.795278 - ], - [ - 97.422974, - 33.754984 - ], - [ - 97.418046, - 33.728608 - ], - [ - 97.435293, - 33.682307 - ], - [ - 97.415583, - 33.605582 - ], - [ - 97.450075, - 33.582152 - ], - [ - 97.523372, - 33.577166 - ], - [ - 97.511669, - 33.520805 - ], - [ - 97.552321, - 33.465906 - ], - [ - 97.625618, - 33.461412 - ], - [ - 97.674893, - 33.432949 - ], - [ - 97.754349, - 33.409972 - ], - [ - 97.676125, - 33.341004 - ], - [ - 97.622538, - 33.337005 - ], - [ - 97.607756, - 33.263976 - ], - [ - 97.548626, - 33.203907 - ], - [ - 97.487648, - 33.168346 - ], - [ - 97.498119, - 33.137783 - ], - [ - 97.487032, - 33.107209 - ], - [ - 97.517213, - 33.097683 - ], - [ - 97.542466, - 33.035995 - ], - [ - 97.499966, - 33.011408 - ], - [ - 97.523988, - 32.988822 - ], - [ - 97.438372, - 32.976271 - ], - [ - 97.375547, - 32.956689 - ], - [ - 97.347829, - 32.895907 - ], - [ - 97.376163, - 32.886359 - ], - [ - 97.392793, - 32.828546 - ], - [ - 97.386018, - 32.77925 - ], - [ - 97.429133, - 32.714318 - ], - [ - 97.42359, - 32.70475 - ], - [ - 97.48272, - 32.654377 - ], - [ - 97.535075, - 32.638252 - ], - [ - 97.543698, - 32.62162 - ], - [ - 97.607756, - 32.614059 - ], - [ - 97.616995, - 32.586329 - ], - [ - 97.700763, - 32.53488 - ], - [ - 97.730944, - 32.527312 - ], - [ - 97.795617, - 32.521257 - ], - [ - 97.80732, - 32.50006 - ], - [ - 97.863986, - 32.499051 - ], - [ - 97.880001, - 32.486431 - ], - [ - 97.940363, - 32.482393 - ], - [ - 98.079565, - 32.415224 - ], - [ - 98.107283, - 32.391476 - ], - [ - 98.125145, - 32.401077 - ], - [ - 98.218768, - 32.342444 - ], - [ - 98.208913, - 32.318171 - ], - [ - 98.23047, - 32.262521 - ], - [ - 98.218768, - 32.234683 - ], - [ - 98.260035, - 32.208862 - ], - [ - 98.303151, - 32.121726 - ], - [ - 98.357354, - 32.087253 - ], - [ - 98.404781, - 32.045159 - ], - [ - 98.402933, - 32.026896 - ], - [ - 98.434962, - 32.007613 - ], - [ - 98.432498, - 31.922825 - ], - [ - 98.399238, - 31.895899 - ], - [ - 98.426339, - 31.856767 - ], - [ - 98.414636, - 31.832365 - ], - [ - 98.461448, - 31.800327 - ], - [ - 98.508875, - 31.751995 - ], - [ - 98.516882, - 31.717383 - ], - [ - 98.545831, - 31.717383 - ], - [ - 98.553839, - 31.660349 - ], - [ - 98.619128, - 31.591555 - ], - [ - 98.651157, - 31.57881 - ], - [ - 98.696736, - 31.538523 - ], - [ - 98.714599, - 31.508935 - ], - [ - 98.844562, - 31.429817 - ], - [ - 98.84333, - 31.416028 - ], - [ - 98.887062, - 31.37465 - ], - [ - 98.810685, - 31.306668 - ], - [ - 98.805758, - 31.279052 - ], - [ - 98.773113, - 31.249382 - ], - [ - 98.691809, - 31.333253 - ], - [ - 98.643766, - 31.338876 - ], - [ - 98.616048, - 31.3036 - ], - [ - 98.60373, - 31.257568 - ], - [ - 98.62344, - 31.221238 - ], - [ - 98.602498, - 31.192062 - ], - [ - 98.675179, - 31.15417 - ], - [ - 98.710287, - 31.1178 - ], - [ - 98.712135, - 31.082954 - ], - [ - 98.736772, - 31.049121 - ], - [ - 98.774961, - 31.031174 - ], - [ - 98.806374, - 30.995783 - ], - [ - 98.797135, - 30.948575 - ], - [ - 98.774345, - 30.908019 - ], - [ - 98.797135, - 30.87926 - ], - [ - 98.850105, - 30.849465 - ], - [ - 98.904924, - 30.782649 - ], - [ - 98.957895, - 30.765166 - ], - [ - 98.963438, - 30.728134 - ], - [ - 98.907388, - 30.698292 - ], - [ - 98.92217, - 30.609225 - ], - [ - 98.939417, - 30.598923 - ], - [ - 98.926482, - 30.569556 - ], - [ - 98.932025, - 30.521623 - ], - [ - 98.965286, - 30.449937 - ], - [ - 98.967134, - 30.33482 - ], - [ - 98.986844, - 30.280569 - ], - [ - 98.970829, - 30.260928 - ], - [ - 98.993003, - 30.215429 - ], - [ - 98.9813, - 30.182843 - ], - [ - 98.989308, - 30.151799 - ], - [ - 99.044742, - 30.079842 - ], - [ - 99.036735, - 30.053945 - ], - [ - 99.055213, - 29.958587 - ], - [ - 99.068148, - 29.931621 - ], - [ - 99.0238, - 29.846009 - ], - [ - 99.018873, - 29.792009 - ], - [ - 98.992387, - 29.677163 - ], - [ - 99.014561, - 29.607464 - ], - [ - 99.052133, - 29.563748 - ], - [ - 99.044742, - 29.520013 - ], - [ - 99.066916, - 29.421018 - ], - [ - 99.058909, - 29.417368 - ], - [ - 99.075539, - 29.316186 - ], - [ - 99.114343, - 29.243628 - ], - [ - 99.113727, - 29.221171 - ], - [ - 99.105104, - 29.162656 - ], - [ - 99.118039, - 29.100971 - ], - [ - 99.113727, - 29.07273 - ], - [ - 99.132206, - 28.94869 - ], - [ - 99.123582, - 28.890021 - ], - [ - 99.103872, - 28.841803 - ], - [ - 99.114343, - 28.765763 - ], - [ - 99.134053, - 28.734806 - ], - [ - 99.126662, - 28.698066 - ], - [ - 99.147604, - 28.640831 - ], - [ - 99.183944, - 28.58882 - ], - [ - 99.170394, - 28.566221 - ], - [ - 99.191952, - 28.494714 - ], - [ - 99.187024, - 28.44 - ], - [ - 99.16485, - 28.425264 - ], - [ - 99.200575, - 28.365774 - ], - [ - 99.229524, - 28.350502 - ], - [ - 99.237531, - 28.317842 - ], - [ - 99.28927, - 28.286227 - ], - [ - 99.306516, - 28.227714 - ], - [ - 99.374886, - 28.18183 - ], - [ - 99.412458, - 28.295186 - ], - [ - 99.392748, - 28.318369 - ], - [ - 99.437095, - 28.398419 - ], - [ - 99.404451, - 28.44421 - ], - [ - 99.426625, - 28.454207 - ], - [ - 99.396444, - 28.491032 - ], - [ - 99.403219, - 28.546246 - ], - [ - 99.463581, - 28.549401 - ], - [ - 99.466045, - 28.579886 - ], - [ - 99.504233, - 28.619294 - ], - [ - 99.540573, - 28.623497 - ], - [ - 99.53195, - 28.677591 - ], - [ - 99.553508, - 28.710664 - ], - [ - 99.614486, - 28.740054 - ], - [ - 99.609559, - 28.784122 - ], - [ - 99.625573, - 28.81454 - ], - [ - 99.676696, - 28.810345 - ], - [ - 99.717964, - 28.846521 - ], - [ - 99.722275, - 28.757369 - ], - [ - 99.755536, - 28.701216 - ], - [ - 99.79434, - 28.699116 - ], - [ - 99.834992, - 28.660788 - ], - [ - 99.834376, - 28.628225 - ], - [ - 99.873181, - 28.631902 - ], - [ - 99.875644, - 28.611939 - ], - [ - 99.91876, - 28.599329 - ], - [ - 99.985281, - 28.529422 - ], - [ - 99.990209, - 28.47683 - ], - [ - 100.073977, - 28.426317 - ], - [ - 100.057346, - 28.368934 - ], - [ - 100.136803, - 28.349975 - ], - [ - 100.176223, - 28.325218 - ], - [ - 100.147274, - 28.288862 - ], - [ - 100.188541, - 28.252493 - ], - [ - 100.153433, - 28.208202 - ], - [ - 100.102926, - 28.201873 - ], - [ - 100.091223, - 28.181302 - ], - [ - 100.062274, - 28.193962 - ], - [ - 100.033325, - 28.184467 - ], - [ - 100.021006, - 28.147008 - ], - [ - 100.05673, - 28.097922 - ], - [ - 100.088759, - 28.029269 - ], - [ - 100.120788, - 28.018703 - ], - [ - 100.196549, - 27.936254 - ], - [ - 100.170063, - 27.907699 - ], - [ - 100.210715, - 27.87702 - ], - [ - 100.30865, - 27.861149 - ], - [ - 100.30865, - 27.830457 - ], - [ - 100.28586, - 27.80611 - ], - [ - 100.304954, - 27.788639 - ], - [ - 100.311729, - 27.724028 - ], - [ - 100.327744, - 27.72032 - ], - [ - 100.350534, - 27.755809 - ], - [ - 100.412127, - 27.816167 - ], - [ - 100.442924, - 27.86644 - ], - [ - 100.504518, - 27.852154 - ], - [ - 100.511294, - 27.827811 - ], - [ - 100.54517, - 27.809286 - ], - [ - 100.609228, - 27.859033 - ], - [ - 100.634482, - 27.915631 - ], - [ - 100.681293, - 27.923035 - ], - [ - 100.719481, - 27.858503 - ], - [ - 100.707162, - 27.800816 - ], - [ - 100.757053, - 27.770107 - ], - [ - 100.775532, - 27.743098 - ], - [ - 100.782307, - 27.691708 - ], - [ - 100.848212, - 27.672099 - ], - [ - 100.827886, - 27.615904 - ], - [ - 100.854988, - 27.623858 - ], - [ - 100.91227, - 27.521473 - ], - [ - 100.901183, - 27.453517 - ], - [ - 100.936908, - 27.469448 - ], - [ - 100.95169, - 27.426961 - ], - [ - 101.021907, - 27.332899 - ], - [ - 101.026219, - 27.270679 - ], - [ - 101.042233, - 27.22173 - ], - [ - 101.071798, - 27.194585 - ], - [ - 101.119226, - 27.208957 - ], - [ - 101.167885, - 27.198311 - ], - [ - 101.167885, - 27.198311 - ] - ] - ], - [ - [ - [ - 106.264167, - 30.20974 - ], - [ - 106.260471, - 30.207672 - ], - [ - 106.260471, - 30.204051 - ], - [ - 106.260471, - 30.19681 - ], - [ - 106.264167, - 30.20974 - ] - ] - ], - [ - [ - [ - 106.976809, - 30.088127 - ], - [ - 106.975577, - 30.088127 - ], - [ - 106.976193, - 30.083467 - ], - [ - 106.981736, - 30.08502 - ], - [ - 106.980504, - 30.087609 - ], - [ - 106.979888, - 30.088127 - ], - [ - 106.978656, - 30.087609 - ], - [ - 106.977425, - 30.087609 - ], - [ - 106.976809, - 30.088127 - ] - ] - ], - [ - [ - [ - 105.558916, - 30.18543 - ], - [ - 105.556453, - 30.187499 - ], - [ - 105.550909, - 30.179222 - ], - [ - 105.56138, - 30.183878 - ], - [ - 105.558916, - 30.18543 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 520000, - "name": "贵州省", - "center": [ - 106.713478, - 26.578343 - ], - "centroid": [ - 106.880455, - 26.826368 - ], - "childrenNum": 9, - "cp": [106.6113, 26.6385], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 23, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 109.274262, - 28.494714 - ], - [ - 109.23361, - 28.474726 - ], - [ - 109.191726, - 28.471043 - ], - [ - 109.153538, - 28.417369 - ], - [ - 109.152306, - 28.349975 - ], - [ - 109.117198, - 28.277795 - ], - [ - 109.081473, - 28.247749 - ], - [ - 109.101799, - 28.202401 - ], - [ - 109.086401, - 28.184467 - ], - [ - 109.026655, - 28.220331 - ], - [ - 109.005713, - 28.162837 - ], - [ - 108.929952, - 28.19027 - ], - [ - 108.923793, - 28.217167 - ], - [ - 108.89546, - 28.219804 - ], - [ - 108.855424, - 28.199764 - ], - [ - 108.821547, - 28.245113 - ], - [ - 108.772888, - 28.212949 - ], - [ - 108.738395, - 28.228241 - ], - [ - 108.726692, - 28.282011 - ], - [ - 108.761801, - 28.304143 - ], - [ - 108.783359, - 28.380518 - ], - [ - 108.759953, - 28.389995 - ], - [ - 108.780279, - 28.42579 - ], - [ - 108.746402, - 28.45105 - ], - [ - 108.709446, - 28.501026 - ], - [ - 108.700207, - 28.48209 - ], - [ - 108.657091, - 28.47683 - ], - [ - 108.640461, - 28.456838 - ], - [ - 108.688504, - 28.422106 - ], - [ - 108.697127, - 28.401051 - ], - [ - 108.656475, - 28.359981 - ], - [ - 108.667562, - 28.334173 - ], - [ - 108.611512, - 28.324691 - ], - [ - 108.580099, - 28.343128 - ], - [ - 108.576403, - 28.38631 - ], - [ - 108.609048, - 28.407368 - ], - [ - 108.609664, - 28.43579 - ], - [ - 108.586874, - 28.463678 - ], - [ - 108.573939, - 28.531 - ], - [ - 108.610896, - 28.539412 - ], - [ - 108.604736, - 28.590922 - ], - [ - 108.636149, - 28.621396 - ], - [ - 108.575787, - 28.659738 - ], - [ - 108.50249, - 28.63768 - ], - [ - 108.501258, - 28.626649 - ], - [ - 108.439049, - 28.634003 - ], - [ - 108.332491, - 28.679166 - ], - [ - 108.347274, - 28.736381 - ], - [ - 108.385462, - 28.772058 - ], - [ - 108.386078, - 28.803003 - ], - [ - 108.352817, - 28.815589 - ], - [ - 108.346658, - 28.859625 - ], - [ - 108.357745, - 28.893165 - ], - [ - 108.345426, - 28.943453 - ], - [ - 108.319556, - 28.961258 - ], - [ - 108.297999, - 29.045527 - ], - [ - 108.306622, - 29.079006 - ], - [ - 108.277673, - 29.091558 - ], - [ - 108.256115, - 29.040295 - ], - [ - 108.193289, - 29.072207 - ], - [ - 108.150173, - 29.053375 - ], - [ - 108.070717, - 29.086328 - ], - [ - 108.026369, - 29.039772 - ], - [ - 107.925971, - 29.032446 - ], - [ - 107.908725, - 29.007327 - ], - [ - 107.882855, - 29.00628 - ], - [ - 107.867457, - 28.960211 - ], - [ - 107.810175, - 28.984295 - ], - [ - 107.823725, - 29.034016 - ], - [ - 107.784921, - 29.048143 - ], - [ - 107.810791, - 29.139137 - ], - [ - 107.749197, - 29.199754 - ], - [ - 107.700537, - 29.141228 - ], - [ - 107.659885, - 29.162656 - ], - [ - 107.605683, - 29.164747 - ], - [ - 107.589052, - 29.150113 - ], - [ - 107.570574, - 29.218037 - ], - [ - 107.486806, - 29.174153 - ], - [ - 107.441227, - 29.203934 - ], - [ - 107.401807, - 29.184603 - ], - [ - 107.408582, - 29.138091 - ], - [ - 107.427676, - 29.128682 - ], - [ - 107.412278, - 29.094696 - ], - [ - 107.369778, - 29.091558 - ], - [ - 107.395647, - 29.041341 - ], - [ - 107.364235, - 29.00942 - ], - [ - 107.396879, - 28.993718 - ], - [ - 107.412894, - 28.960211 - ], - [ - 107.441227, - 28.943977 - ], - [ - 107.41351, - 28.911502 - ], - [ - 107.383945, - 28.848618 - ], - [ - 107.339597, - 28.845997 - ], - [ - 107.327894, - 28.810869 - ], - [ - 107.261373, - 28.792514 - ], - [ - 107.24659, - 28.76209 - ], - [ - 107.219489, - 28.772582 - ], - [ - 107.210866, - 28.817686 - ], - [ - 107.227496, - 28.836037 - ], - [ - 107.194851, - 28.838134 - ], - [ - 107.206554, - 28.868535 - ], - [ - 107.14188, - 28.887925 - ], - [ - 107.016229, - 28.882685 - ], - [ - 107.019308, - 28.861722 - ], - [ - 106.983584, - 28.851239 - ], - [ - 106.988512, - 28.776254 - ], - [ - 106.951555, - 28.766812 - ], - [ - 106.923222, - 28.809821 - ], - [ - 106.872099, - 28.777304 - ], - [ - 106.845614, - 28.780975 - ], - [ - 106.824056, - 28.756319 - ], - [ - 106.86594, - 28.690192 - ], - [ - 106.889345, - 28.695966 - ], - [ - 106.866556, - 28.624548 - ], - [ - 106.830831, - 28.623497 - ], - [ - 106.807425, - 28.589346 - ], - [ - 106.784636, - 28.626649 - ], - [ - 106.756918, - 28.607211 - ], - [ - 106.77786, - 28.563068 - ], - [ - 106.73844, - 28.554657 - ], - [ - 106.726121, - 28.51838 - ], - [ - 106.747063, - 28.467361 - ], - [ - 106.708259, - 28.450524 - ], - [ - 106.697788, - 28.47683 - ], - [ - 106.632499, - 28.503655 - ], - [ - 106.564745, - 28.485247 - ], - [ - 106.567825, - 28.523638 - ], - [ - 106.615252, - 28.549401 - ], - [ - 106.606629, - 28.593024 - ], - [ - 106.63681, - 28.622972 - ], - [ - 106.618332, - 28.645033 - ], - [ - 106.651593, - 28.649235 - ], - [ - 106.617716, - 28.66709 - ], - [ - 106.6171, - 28.691242 - ], - [ - 106.587535, - 28.691767 - ], - [ - 106.56105, - 28.719062 - ], - [ - 106.561666, - 28.756319 - ], - [ - 106.474202, - 28.832891 - ], - [ - 106.45326, - 28.817162 - ], - [ - 106.461883, - 28.761041 - ], - [ - 106.492064, - 28.742153 - ], - [ - 106.528405, - 28.677591 - ], - [ - 106.502535, - 28.661313 - ], - [ - 106.49268, - 28.591448 - ], - [ - 106.466811, - 28.586193 - ], - [ - 106.504999, - 28.544669 - ], - [ - 106.477282, - 28.530474 - ], - [ - 106.403369, - 28.569901 - ], - [ - 106.37442, - 28.525742 - ], - [ - 106.379348, - 28.479986 - ], - [ - 106.349167, - 28.473674 - ], - [ - 106.304819, - 28.505233 - ], - [ - 106.2925, - 28.537309 - ], - [ - 106.254928, - 28.539412 - ], - [ - 106.184711, - 28.58882 - ], - [ - 106.17116, - 28.629275 - ], - [ - 106.14837, - 28.642932 - ], - [ - 106.103407, - 28.636104 - ], - [ - 106.085544, - 28.681792 - ], - [ - 106.030726, - 28.694917 - ], - [ - 106.001161, - 28.743727 - ], - [ - 105.966668, - 28.761041 - ], - [ - 105.937719, - 28.686517 - ], - [ - 105.889676, - 28.670765 - ], - [ - 105.884748, - 28.595126 - ], - [ - 105.808372, - 28.599855 - ], - [ - 105.78435, - 28.610889 - ], - [ - 105.757249, - 28.590397 - ], - [ - 105.74493, - 28.616668 - ], - [ - 105.712901, - 28.586718 - ], - [ - 105.693191, - 28.58882 - ], - [ - 105.68272, - 28.534154 - ], - [ - 105.62359, - 28.517854 - ], - [ - 105.612503, - 28.438947 - ], - [ - 105.643916, - 28.431053 - ], - [ - 105.655003, - 28.362615 - ], - [ - 105.639604, - 28.324164 - ], - [ - 105.68888, - 28.284119 - ], - [ - 105.730147, - 28.271997 - ], - [ - 105.737539, - 28.30309 - ], - [ - 105.76464, - 28.308359 - ], - [ - 105.76464, - 28.308359 - ], - [ - 105.78743, - 28.335753 - ], - [ - 105.824386, - 28.306251 - ], - [ - 105.848408, - 28.255656 - ], - [ - 105.889676, - 28.237732 - ], - [ - 105.860727, - 28.159672 - ], - [ - 105.895219, - 28.119565 - ], - [ - 105.943878, - 28.143314 - ], - [ - 105.975907, - 28.107952 - ], - [ - 106.093552, - 28.162837 - ], - [ - 106.145291, - 28.162837 - ], - [ - 106.206885, - 28.134343 - ], - [ - 106.266631, - 28.066769 - ], - [ - 106.246305, - 28.011835 - ], - [ - 106.286341, - 28.007079 - ], - [ - 106.328225, - 27.952643 - ], - [ - 106.307899, - 27.936782 - ], - [ - 106.304819, - 27.899237 - ], - [ - 106.325145, - 27.898708 - ], - [ - 106.337464, - 27.859033 - ], - [ - 106.306667, - 27.808756 - ], - [ - 106.242609, - 27.767459 - ], - [ - 106.193334, - 27.75422 - ], - [ - 106.120653, - 27.779638 - ], - [ - 106.063987, - 27.776991 - ], - [ - 106.023335, - 27.746805 - ], - [ - 105.985146, - 27.749983 - ], - [ - 105.92848, - 27.729855 - ], - [ - 105.922937, - 27.746805 - ], - [ - 105.868118, - 27.732504 - ], - [ - 105.848408, - 27.707074 - ], - [ - 105.76772, - 27.7182 - ], - [ - 105.722756, - 27.706015 - ], - [ - 105.720292, - 27.683759 - ], - [ - 105.664242, - 27.683759 - ], - [ - 105.62359, - 27.666269 - ], - [ - 105.605112, - 27.715552 - ], - [ - 105.560148, - 27.71979 - ], - [ - 105.508409, - 27.769048 - ], - [ - 105.44004, - 27.775402 - ], - [ - 105.353809, - 27.748924 - ], - [ - 105.308229, - 27.704955 - ], - [ - 105.29591, - 27.631811 - ], - [ - 105.304533, - 27.611661 - ], - [ - 105.25649, - 27.582491 - ], - [ - 105.232469, - 27.546945 - ], - [ - 105.260186, - 27.514573 - ], - [ - 105.234316, - 27.489093 - ], - [ - 105.233084, - 27.436522 - ], - [ - 105.182577, - 27.367451 - ], - [ - 105.184425, - 27.392959 - ], - [ - 105.120984, - 27.418461 - ], - [ - 105.068013, - 27.418461 - ], - [ - 105.01073, - 27.379143 - ], - [ - 104.913412, - 27.327051 - ], - [ - 104.871528, - 27.290891 - ], - [ - 104.851818, - 27.299401 - ], - [ - 104.856746, - 27.332368 - ], - [ - 104.824717, - 27.3531 - ], - [ - 104.77113, - 27.317481 - ], - [ - 104.7545, - 27.345658 - ], - [ - 104.611602, - 27.306846 - ], - [ - 104.570334, - 27.331836 - ], - [ - 104.539537, - 27.327583 - ], - [ - 104.497037, - 27.414743 - ], - [ - 104.467472, - 27.414211 - ], - [ - 104.363378, - 27.467855 - ], - [ - 104.30856, - 27.407305 - ], - [ - 104.295625, - 27.37436 - ], - [ - 104.247582, - 27.336621 - ], - [ - 104.248813, - 27.291955 - ], - [ - 104.210625, - 27.297273 - ], - [ - 104.173053, - 27.263232 - ], - [ - 104.113923, - 27.338216 - ], - [ - 104.084358, - 27.330773 - ], - [ - 104.01722, - 27.383926 - ], - [ - 104.015372, - 27.429086 - ], - [ - 103.956242, - 27.425367 - ], - [ - 103.932221, - 27.443958 - ], - [ - 103.905119, - 27.38552 - ], - [ - 103.903271, - 27.347785 - ], - [ - 103.874322, - 27.331304 - ], - [ - 103.865699, - 27.28185 - ], - [ - 103.80041, - 27.26536 - ], - [ - 103.801641, - 27.250464 - ], - [ - 103.748671, - 27.210021 - ], - [ - 103.696316, - 27.126429 - ], - [ - 103.63349, - 27.12057 - ], - [ - 103.620555, - 27.096598 - ], - [ - 103.652584, - 27.092868 - ], - [ - 103.659975, - 27.065692 - ], - [ - 103.614396, - 27.079548 - ], - [ - 103.601461, - 27.061962 - ], - [ - 103.623635, - 27.035312 - ], - [ - 103.623019, - 27.007056 - ], - [ - 103.675374, - 27.051836 - ], - [ - 103.704939, - 27.049171 - ], - [ - 103.73204, - 27.018785 - ], - [ - 103.753598, - 26.963858 - ], - [ - 103.775156, - 26.951056 - ], - [ - 103.763453, - 26.905702 - ], - [ - 103.779468, - 26.87421 - ], - [ - 103.722185, - 26.851253 - ], - [ - 103.705555, - 26.794642 - ], - [ - 103.725265, - 26.742812 - ], - [ - 103.773308, - 26.716621 - ], - [ - 103.759142, - 26.689355 - ], - [ - 103.748671, - 26.623568 - ], - [ - 103.763453, - 26.585041 - ], - [ - 103.815808, - 26.55239 - ], - [ - 103.819504, - 26.529903 - ], - [ - 103.865699, - 26.512232 - ], - [ - 103.953163, - 26.521336 - ], - [ - 104.008597, - 26.511697 - ], - [ - 104.067727, - 26.51491 - ], - [ - 104.068343, - 26.573266 - ], - [ - 104.121314, - 26.638012 - ], - [ - 104.160734, - 26.646571 - ], - [ - 104.222328, - 26.620358 - ], - [ - 104.268524, - 26.617683 - ], - [ - 104.274683, - 26.633733 - ], - [ - 104.313487, - 26.612867 - ], - [ - 104.353523, - 26.620893 - ], - [ - 104.398487, - 26.686147 - ], - [ - 104.424356, - 26.709137 - ], - [ - 104.468088, - 26.644431 - ], - [ - 104.459465, - 26.602701 - ], - [ - 104.488414, - 26.579689 - ], - [ - 104.556783, - 26.590393 - ], - [ - 104.579573, - 26.568449 - ], - [ - 104.57095, - 26.524549 - ], - [ - 104.598667, - 26.520801 - ], - [ - 104.638703, - 26.477954 - ], - [ - 104.631928, - 26.451702 - ], - [ - 104.665804, - 26.434019 - ], - [ - 104.664572, - 26.397572 - ], - [ - 104.684283, - 26.3772 - ], - [ - 104.659645, - 26.335373 - ], - [ - 104.592508, - 26.317672 - ], - [ - 104.542616, - 26.253282 - ], - [ - 104.548776, - 26.226979 - ], - [ - 104.518595, - 26.165762 - ], - [ - 104.52845, - 26.114186 - ], - [ - 104.499501, - 26.070651 - ], - [ - 104.460081, - 26.085702 - ], - [ - 104.470552, - 26.009352 - ], - [ - 104.438523, - 25.92757 - ], - [ - 104.414501, - 25.909807 - ], - [ - 104.441602, - 25.868889 - ], - [ - 104.42374, - 25.841961 - ], - [ - 104.397871, - 25.76168 - ], - [ - 104.370769, - 25.730415 - ], - [ - 104.328886, - 25.760602 - ], - [ - 104.310407, - 25.647901 - ], - [ - 104.332581, - 25.598796 - ], - [ - 104.389248, - 25.595558 - ], - [ - 104.428668, - 25.576126 - ], - [ - 104.436059, - 25.520512 - ], - [ - 104.418813, - 25.499447 - ], - [ - 104.434827, - 25.472436 - ], - [ - 104.44961, - 25.495126 - ], - [ - 104.483486, - 25.494585 - ], - [ - 104.524138, - 25.526992 - ], - [ - 104.556783, - 25.524832 - ], - [ - 104.543232, - 25.400556 - ], - [ - 104.566638, - 25.402719 - ], - [ - 104.615913, - 25.364871 - ], - [ - 104.646094, - 25.356759 - ], - [ - 104.639935, - 25.295632 - ], - [ - 104.689826, - 25.296173 - ], - [ - 104.736021, - 25.268034 - ], - [ - 104.816094, - 25.262622 - ], - [ - 104.826565, - 25.235558 - ], - [ - 104.806854, - 25.224189 - ], - [ - 104.822869, - 25.170037 - ], - [ - 104.801927, - 25.163537 - ], - [ - 104.753884, - 25.214443 - ], - [ - 104.724319, - 25.195491 - ], - [ - 104.732326, - 25.167871 - ], - [ - 104.695369, - 25.122364 - ], - [ - 104.685514, - 25.078466 - ], - [ - 104.619609, - 25.060577 - ], - [ - 104.684898, - 25.054072 - ], - [ - 104.713232, - 24.996048 - ], - [ - 104.663957, - 24.964584 - ], - [ - 104.635623, - 24.903803 - ], - [ - 104.586964, - 24.872859 - ], - [ - 104.539537, - 24.813663 - ], - [ - 104.542616, - 24.75607 - ], - [ - 104.529682, - 24.731611 - ], - [ - 104.595587, - 24.709323 - ], - [ - 104.628848, - 24.660927 - ], - [ - 104.703377, - 24.645698 - ], - [ - 104.729246, - 24.617953 - ], - [ - 104.771746, - 24.659839 - ], - [ - 104.841963, - 24.676155 - ], - [ - 104.865985, - 24.730524 - ], - [ - 104.899245, - 24.752809 - ], - [ - 105.03352, - 24.787586 - ], - [ - 105.026745, - 24.815836 - ], - [ - 105.039064, - 24.872859 - ], - [ - 105.077868, - 24.918459 - ], - [ - 105.09573, - 24.92877 - ], - [ - 105.131454, - 24.959701 - ], - [ - 105.157324, - 24.958616 - ], - [ - 105.178266, - 24.985199 - ], - [ - 105.212758, - 24.995505 - ], - [ - 105.251563, - 24.967296 - ], - [ - 105.267577, - 24.929313 - ], - [ - 105.334099, - 24.9266 - ], - [ - 105.365511, - 24.943423 - ], - [ - 105.428337, - 24.930941 - ], - [ - 105.457286, - 24.87123 - ], - [ - 105.493011, - 24.833217 - ], - [ - 105.497322, - 24.809318 - ], - [ - 105.573083, - 24.797366 - ], - [ - 105.607576, - 24.803885 - ], - [ - 105.617431, - 24.78161 - ], - [ - 105.70551, - 24.768569 - ], - [ - 105.767104, - 24.719109 - ], - [ - 105.827466, - 24.702799 - ], - [ - 105.863806, - 24.729437 - ], - [ - 105.942031, - 24.725088 - ], - [ - 105.961741, - 24.677786 - ], - [ - 106.024566, - 24.633186 - ], - [ - 106.047356, - 24.684312 - ], - [ - 106.113878, - 24.714216 - ], - [ - 106.150218, - 24.762591 - ], - [ - 106.173008, - 24.760417 - ], - [ - 106.206269, - 24.851139 - ], - [ - 106.197645, - 24.885889 - ], - [ - 106.145291, - 24.954275 - ], - [ - 106.191486, - 24.95319 - ], - [ - 106.215508, - 24.981944 - ], - [ - 106.253696, - 24.971094 - ], - [ - 106.304819, - 24.973807 - ], - [ - 106.332536, - 24.988454 - ], - [ - 106.442173, - 25.019369 - ], - [ - 106.450181, - 25.033468 - ], - [ - 106.519782, - 25.054072 - ], - [ - 106.551195, - 25.082802 - ], - [ - 106.590615, - 25.08768 - ], - [ - 106.63989, - 25.132658 - ], - [ - 106.644817, - 25.164621 - ], - [ - 106.691013, - 25.179245 - ], - [ - 106.732281, - 25.162454 - ], - [ - 106.764926, - 25.183036 - ], - [ - 106.787715, - 25.17112 - ], - [ - 106.853005, - 25.186827 - ], - [ - 106.888113, - 25.181953 - ], - [ - 106.904128, - 25.231768 - ], - [ - 106.933077, - 25.250714 - ], - [ - 106.975577, - 25.232851 - ], - [ - 107.013765, - 25.275611 - ], - [ - 107.012533, - 25.352973 - ], - [ - 106.987896, - 25.358922 - ], - [ - 106.963874, - 25.437852 - ], - [ - 106.996519, - 25.442716 - ], - [ - 107.015613, - 25.495666 - ], - [ - 107.066736, - 25.50917 - ], - [ - 107.064272, - 25.559391 - ], - [ - 107.185612, - 25.578825 - ], - [ - 107.205322, - 25.607971 - ], - [ - 107.228728, - 25.604733 - ], - [ - 107.232423, - 25.556691 - ], - [ - 107.263836, - 25.543193 - ], - [ - 107.336517, - 25.461089 - ], - [ - 107.308184, - 25.432988 - ], - [ - 107.318039, - 25.401637 - ], - [ - 107.358691, - 25.393528 - ], - [ - 107.375937, - 25.411908 - ], - [ - 107.420901, - 25.392987 - ], - [ - 107.409198, - 25.347024 - ], - [ - 107.432604, - 25.289139 - ], - [ - 107.481263, - 25.299961 - ], - [ - 107.489886, - 25.276693 - ], - [ - 107.472024, - 25.213902 - ], - [ - 107.512676, - 25.209029 - ], - [ - 107.576734, - 25.256668 - ], - [ - 107.599523, - 25.250714 - ], - [ - 107.632168, - 25.310241 - ], - [ - 107.659885, - 25.316192 - ], - [ - 107.661733, - 25.258833 - ], - [ - 107.696226, - 25.219858 - ], - [ - 107.700537, - 25.194408 - ], - [ - 107.741805, - 25.24043 - ], - [ - 107.762131, - 25.229061 - ], - [ - 107.760283, - 25.188451 - ], - [ - 107.789233, - 25.15487 - ], - [ - 107.762747, - 25.125073 - ], - [ - 107.839124, - 25.115861 - ], - [ - 107.872384, - 25.141327 - ], - [ - 107.928435, - 25.155954 - ], - [ - 108.001732, - 25.196574 - ], - [ - 108.080572, - 25.193867 - ], - [ - 108.115065, - 25.210112 - ], - [ - 108.143398, - 25.269658 - ], - [ - 108.152021, - 25.324306 - ], - [ - 108.142782, - 25.390825 - ], - [ - 108.193289, - 25.405421 - ], - [ - 108.162492, - 25.444878 - ], - [ - 108.192673, - 25.458928 - ], - [ - 108.251803, - 25.430286 - ], - [ - 108.241332, - 25.46217 - ], - [ - 108.280752, - 25.48 - ], - [ - 108.308469, - 25.525912 - ], - [ - 108.348506, - 25.536173 - ], - [ - 108.359592, - 25.513491 - ], - [ - 108.400244, - 25.491344 - ], - [ - 108.418723, - 25.443257 - ], - [ - 108.471693, - 25.458928 - ], - [ - 108.585642, - 25.365952 - ], - [ - 108.589338, - 25.335125 - ], - [ - 108.625062, - 25.308076 - ], - [ - 108.62999, - 25.335666 - ], - [ - 108.600425, - 25.432448 - ], - [ - 108.6072, - 25.491885 - ], - [ - 108.634917, - 25.520512 - ], - [ - 108.68912, - 25.533473 - ], - [ - 108.658323, - 25.550212 - ], - [ - 108.660787, - 25.584763 - ], - [ - 108.68604, - 25.587462 - ], - [ - 108.68912, - 25.623081 - ], - [ - 108.724844, - 25.634952 - ], - [ - 108.783975, - 25.628477 - ], - [ - 108.799989, - 25.576666 - ], - [ - 108.781511, - 25.554531 - ], - [ - 108.814772, - 25.526992 - ], - [ - 108.826474, - 25.550212 - ], - [ - 108.890532, - 25.556151 - ], - [ - 108.8893, - 25.543193 - ], - [ - 108.949046, - 25.557231 - ], - [ - 109.024807, - 25.51241 - ], - [ - 109.088249, - 25.550752 - ], - [ - 109.051908, - 25.566949 - ], - [ - 109.030966, - 25.629556 - ], - [ - 109.075314, - 25.693749 - ], - [ - 109.07901, - 25.72071 - ], - [ - 109.043285, - 25.738502 - ], - [ - 109.007561, - 25.734728 - ], - [ - 108.953974, - 25.686738 - ], - [ - 108.953974, - 25.686738 - ], - [ - 108.900387, - 25.682423 - ], - [ - 108.896076, - 25.71424 - ], - [ - 108.940423, - 25.740119 - ], - [ - 108.963829, - 25.732572 - ], - [ - 108.999553, - 25.765453 - ], - [ - 108.989698, - 25.778926 - ], - [ - 109.048213, - 25.790781 - ], - [ - 109.077778, - 25.776771 - ], - [ - 109.095024, - 25.80533 - ], - [ - 109.143683, - 25.795092 - ], - [ - 109.13198, - 25.762758 - ], - [ - 109.147995, - 25.741736 - ], - [ - 109.206509, - 25.788087 - ], - [ - 109.207125, - 25.740119 - ], - [ - 109.296436, - 25.71424 - ], - [ - 109.340168, - 25.731493 - ], - [ - 109.327849, - 25.76168 - ], - [ - 109.339552, - 25.83442 - ], - [ - 109.359262, - 25.836036 - ], - [ - 109.396834, - 25.900117 - ], - [ - 109.435022, - 25.93349 - ], - [ - 109.408537, - 25.967392 - ], - [ - 109.473211, - 26.006663 - ], - [ - 109.48245, - 26.029788 - ], - [ - 109.452885, - 26.055598 - ], - [ - 109.449805, - 26.101826 - ], - [ - 109.502776, - 26.096451 - ], - [ - 109.513863, - 26.128157 - ], - [ - 109.47629, - 26.148035 - ], - [ - 109.439334, - 26.238789 - ], - [ - 109.467051, - 26.313917 - ], - [ - 109.442414, - 26.289774 - ], - [ - 109.369733, - 26.277432 - ], - [ - 109.351255, - 26.264016 - ], - [ - 109.325385, - 26.29031 - ], - [ - 109.285965, - 26.295676 - ], - [ - 109.271183, - 26.327863 - ], - [ - 109.29582, - 26.350389 - ], - [ - 109.319842, - 26.418477 - ], - [ - 109.38082, - 26.454381 - ], - [ - 109.362342, - 26.472061 - ], - [ - 109.385747, - 26.493487 - ], - [ - 109.381436, - 26.518659 - ], - [ - 109.407305, - 26.533116 - ], - [ - 109.390675, - 26.598955 - ], - [ - 109.35495, - 26.658873 - ], - [ - 109.334008, - 26.646036 - ], - [ - 109.306291, - 26.661012 - ], - [ - 109.283501, - 26.698445 - ], - [ - 109.35495, - 26.693098 - ], - [ - 109.407305, - 26.719829 - ], - [ - 109.447957, - 26.759913 - ], - [ - 109.486761, - 26.759913 - ], - [ - 109.47629, - 26.829894 - ], - [ - 109.467051, - 26.83203 - ], - [ - 109.452885, - 26.861932 - ], - [ - 109.436254, - 26.892359 - ], - [ - 109.555131, - 26.946788 - ], - [ - 109.520022, - 27.058764 - ], - [ - 109.497848, - 27.079548 - ], - [ - 109.486761, - 27.053968 - ], - [ - 109.454733, - 27.069423 - ], - [ - 109.472595, - 27.134951 - ], - [ - 109.441182, - 27.117907 - ], - [ - 109.415312, - 27.154123 - ], - [ - 109.358646, - 27.153058 - ], - [ - 109.33524, - 27.139212 - ], - [ - 109.264407, - 27.131755 - ], - [ - 109.239154, - 27.14933 - ], - [ - 109.21698, - 27.114711 - ], - [ - 109.165857, - 27.066758 - ], - [ - 109.101183, - 27.06889 - ], - [ - 109.128901, - 27.122701 - ], - [ - 109.032814, - 27.104056 - ], - [ - 109.007561, - 27.08008 - ], - [ - 108.940423, - 27.044907 - ], - [ - 108.942887, - 27.017186 - ], - [ - 108.942887, - 27.017186 - ], - [ - 108.877597, - 27.01612 - ], - [ - 108.79075, - 27.084343 - ], - [ - 108.878829, - 27.106187 - ], - [ - 108.926873, - 27.160512 - ], - [ - 108.907778, - 27.204699 - ], - [ - 108.963213, - 27.235565 - ], - [ - 108.983539, - 27.26802 - ], - [ - 109.053756, - 27.293551 - ], - [ - 109.044517, - 27.331304 - ], - [ - 109.103647, - 27.336621 - ], - [ - 109.142451, - 27.418461 - ], - [ - 109.141835, - 27.448207 - ], - [ - 109.167089, - 27.41793 - ], - [ - 109.202197, - 27.450331 - ], - [ - 109.245313, - 27.41793 - ], - [ - 109.300132, - 27.423774 - ], - [ - 109.303211, - 27.47582 - ], - [ - 109.404841, - 27.55066 - ], - [ - 109.461508, - 27.567637 - ], - [ - 109.451037, - 27.586204 - ], - [ - 109.470131, - 27.62863 - ], - [ - 109.45658, - 27.673689 - ], - [ - 109.470747, - 27.680049 - ], - [ - 109.414081, - 27.725087 - ], - [ - 109.366653, - 27.721909 - ], - [ - 109.37774, - 27.736741 - ], - [ - 109.332777, - 27.782815 - ], - [ - 109.346943, - 27.838396 - ], - [ - 109.32169, - 27.868027 - ], - [ - 109.30198, - 27.956343 - ], - [ - 109.319842, - 27.988585 - ], - [ - 109.362342, - 28.007608 - ], - [ - 109.378972, - 28.034551 - ], - [ - 109.335856, - 28.063073 - ], - [ - 109.298284, - 28.036136 - ], - [ - 109.314298, - 28.103729 - ], - [ - 109.33832, - 28.141731 - ], - [ - 109.340168, - 28.19027 - ], - [ - 109.367885, - 28.254602 - ], - [ - 109.388211, - 28.268307 - ], - [ - 109.33524, - 28.293605 - ], - [ - 109.317994, - 28.277795 - ], - [ - 109.275494, - 28.313101 - ], - [ - 109.268719, - 28.33786 - ], - [ - 109.289045, - 28.373673 - ], - [ - 109.264407, - 28.392628 - ], - [ - 109.260712, - 28.46473 - ], - [ - 109.274262, - 28.494714 - ] - ] - ], - [ - [ - [ - 109.47629, - 26.829894 - ], - [ - 109.486761, - 26.759913 - ], - [ - 109.52187, - 26.749226 - ], - [ - 109.522486, - 26.749226 - ], - [ - 109.497232, - 26.815474 - ], - [ - 109.513247, - 26.84004 - ], - [ - 109.509551, - 26.877947 - ], - [ - 109.486761, - 26.895562 - ], - [ - 109.452885, - 26.861932 - ], - [ - 109.467051, - 26.83203 - ], - [ - 109.47629, - 26.829894 - ] - ] - ], - [ - [ - [ - 109.528645, - 26.743881 - ], - [ - 109.568065, - 26.726243 - ], - [ - 109.597015, - 26.756173 - ], - [ - 109.554515, - 26.73533 - ], - [ - 109.528645, - 26.743881 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 530000, - "name": "云南省", - "center": [ - 102.712251, - 25.040609 - ], - "centroid": [ - 101.485106, - 25.008643 - ], - "childrenNum": 16, - "cp": [101.0652, 24.6807], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 24, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 105.308229, - 27.704955 - ], - [ - 105.290367, - 27.712373 - ], - [ - 105.293447, - 27.770637 - ], - [ - 105.273736, - 27.794992 - ], - [ - 105.313157, - 27.810874 - ], - [ - 105.25957, - 27.827811 - ], - [ - 105.233084, - 27.895534 - ], - [ - 105.284823, - 27.935725 - ], - [ - 105.270657, - 27.99704 - ], - [ - 105.247867, - 28.009193 - ], - [ - 105.218302, - 27.990698 - ], - [ - 105.186273, - 27.995454 - ], - [ - 105.167795, - 28.021345 - ], - [ - 105.186889, - 28.054623 - ], - [ - 105.168411, - 28.071522 - ], - [ - 105.119752, - 28.07205 - ], - [ - 105.061853, - 28.096866 - ], - [ - 105.002107, - 28.064129 - ], - [ - 104.980549, - 28.063073 - ], - [ - 104.975006, - 28.020816 - ], - [ - 104.903557, - 27.962158 - ], - [ - 104.918339, - 27.938897 - ], - [ - 104.888158, - 27.914574 - ], - [ - 104.842579, - 27.900294 - ], - [ - 104.796999, - 27.901352 - ], - [ - 104.761891, - 27.884426 - ], - [ - 104.743413, - 27.901881 - ], - [ - 104.676275, - 27.880723 - ], - [ - 104.63316, - 27.850567 - ], - [ - 104.607906, - 27.857974 - ], - [ - 104.573413, - 27.840512 - ], - [ - 104.52537, - 27.889187 - ], - [ - 104.508124, - 27.878078 - ], - [ - 104.44961, - 27.927794 - ], - [ - 104.40095, - 27.952114 - ], - [ - 104.362762, - 28.012891 - ], - [ - 104.30856, - 28.036136 - ], - [ - 104.304248, - 28.050926 - ], - [ - 104.373233, - 28.051454 - ], - [ - 104.40095, - 28.091586 - ], - [ - 104.448994, - 28.113758 - ], - [ - 104.444682, - 28.16231 - ], - [ - 104.406494, - 28.173389 - ], - [ - 104.402182, - 28.202928 - ], - [ - 104.442834, - 28.211366 - ], - [ - 104.462544, - 28.241422 - ], - [ - 104.44961, - 28.269889 - ], - [ - 104.420045, - 28.269889 - ], - [ - 104.392943, - 28.291497 - ], - [ - 104.384936, - 28.329959 - ], - [ - 104.343052, - 28.334173 - ], - [ - 104.314103, - 28.306778 - ], - [ - 104.282074, - 28.343128 - ], - [ - 104.254357, - 28.403683 - ], - [ - 104.267908, - 28.499448 - ], - [ - 104.260516, - 28.536257 - ], - [ - 104.323342, - 28.540989 - ], - [ - 104.355987, - 28.555183 - ], - [ - 104.375697, - 28.5946 - ], - [ - 104.417581, - 28.598279 - ], - [ - 104.425588, - 28.626649 - ], - [ - 104.372617, - 28.649235 - ], - [ - 104.314719, - 28.615617 - ], - [ - 104.277147, - 28.631902 - ], - [ - 104.252509, - 28.660788 - ], - [ - 104.230951, - 28.635579 - ], - [ - 104.170589, - 28.642932 - ], - [ - 104.117618, - 28.634003 - ], - [ - 104.09606, - 28.603533 - ], - [ - 104.05972, - 28.6277 - ], - [ - 103.953779, - 28.600906 - ], - [ - 103.910047, - 28.631377 - ], - [ - 103.887873, - 28.61982 - ], - [ - 103.850917, - 28.66709 - ], - [ - 103.833054, - 28.605109 - ], - [ - 103.838598, - 28.587244 - ], - [ - 103.802873, - 28.563068 - ], - [ - 103.781931, - 28.525216 - ], - [ - 103.829975, - 28.459995 - ], - [ - 103.828743, - 28.44 - ], - [ - 103.860156, - 28.383677 - ], - [ - 103.85338, - 28.356822 - ], - [ - 103.877402, - 28.316262 - ], - [ - 103.828743, - 28.285173 - ], - [ - 103.770845, - 28.233514 - ], - [ - 103.740048, - 28.23615 - ], - [ - 103.701859, - 28.198709 - ], - [ - 103.692004, - 28.232459 - ], - [ - 103.643961, - 28.260401 - ], - [ - 103.573128, - 28.230877 - ], - [ - 103.533092, - 28.168641 - ], - [ - 103.470266, - 28.122204 - ], - [ - 103.430846, - 28.044587 - ], - [ - 103.459179, - 28.021345 - ], - [ - 103.486281, - 28.033495 - ], - [ - 103.515846, - 27.965329 - ], - [ - 103.55465, - 27.978543 - ], - [ - 103.502295, - 27.910343 - ], - [ - 103.509686, - 27.843687 - ], - [ - 103.487512, - 27.794992 - ], - [ - 103.461027, - 27.779638 - ], - [ - 103.393274, - 27.709194 - ], - [ - 103.369868, - 27.708664 - ], - [ - 103.349542, - 27.678459 - ], - [ - 103.29226, - 27.632872 - ], - [ - 103.2861, - 27.561802 - ], - [ - 103.232514, - 27.56976 - ], - [ - 103.19063, - 27.523596 - ], - [ - 103.144434, - 27.450331 - ], - [ - 103.141355, - 27.420586 - ], - [ - 103.080992, - 27.396679 - ], - [ - 103.055739, - 27.40943 - ], - [ - 102.989833, - 27.367983 - ], - [ - 102.941174, - 27.405711 - ], - [ - 102.899906, - 27.317481 - ], - [ - 102.883892, - 27.299401 - ], - [ - 102.883276, - 27.258444 - ], - [ - 102.904218, - 27.227584 - ], - [ - 102.913457, - 27.133886 - ], - [ - 102.870957, - 27.026782 - ], - [ - 102.894979, - 27.001724 - ], - [ - 102.896211, - 26.91264 - ], - [ - 102.949181, - 26.843244 - ], - [ - 102.966428, - 26.837904 - ], - [ - 102.991681, - 26.775409 - ], - [ - 102.983674, - 26.76686 - ], - [ - 103.008312, - 26.710741 - ], - [ - 103.005232, - 26.679195 - ], - [ - 103.026174, - 26.664221 - ], - [ - 103.035413, - 26.556673 - ], - [ - 103.052659, - 26.555602 - ], - [ - 103.052659, - 26.514374 - ], - [ - 103.030485, - 26.485989 - ], - [ - 102.989833, - 26.482775 - ], - [ - 102.988602, - 26.413117 - ], - [ - 102.998457, - 26.371839 - ], - [ - 102.975667, - 26.340736 - ], - [ - 102.893131, - 26.338591 - ], - [ - 102.878964, - 26.364332 - ], - [ - 102.833385, - 26.306406 - ], - [ - 102.785342, - 26.298895 - ], - [ - 102.739762, - 26.268846 - ], - [ - 102.709581, - 26.210336 - ], - [ - 102.659074, - 26.221611 - ], - [ - 102.60056, - 26.250598 - ], - [ - 102.638748, - 26.307479 - ], - [ - 102.629509, - 26.336982 - ], - [ - 102.570995, - 26.362723 - ], - [ - 102.542046, - 26.338591 - ], - [ - 102.440416, - 26.300505 - ], - [ - 102.392372, - 26.296749 - ], - [ - 102.349257, - 26.244694 - ], - [ - 102.245163, - 26.212483 - ], - [ - 102.242699, - 26.190468 - ], - [ - 102.174946, - 26.146961 - ], - [ - 102.152156, - 26.10935 - ], - [ - 102.107808, - 26.068501 - ], - [ - 102.080091, - 26.065275 - ], - [ - 102.020961, - 26.096451 - ], - [ - 101.954439, - 26.084627 - ], - [ - 101.929186, - 26.105588 - ], - [ - 101.899621, - 26.099139 - ], - [ - 101.857737, - 26.049146 - ], - [ - 101.835563, - 26.04592 - ], - [ - 101.839875, - 26.082477 - ], - [ - 101.796759, - 26.114723 - ], - [ - 101.807846, - 26.156093 - ], - [ - 101.773353, - 26.168448 - ], - [ - 101.737013, - 26.219463 - ], - [ - 101.690202, - 26.241473 - ], - [ - 101.630455, - 26.224832 - ], - [ - 101.586108, - 26.279579 - ], - [ - 101.597195, - 26.303187 - ], - [ - 101.64031, - 26.318745 - ], - [ - 101.660636, - 26.346635 - ], - [ - 101.635383, - 26.357361 - ], - [ - 101.637847, - 26.388995 - ], - [ - 101.565782, - 26.454381 - ], - [ - 101.530057, - 26.467239 - ], - [ - 101.506652, - 26.499915 - ], - [ - 101.458608, - 26.49563 - ], - [ - 101.422884, - 26.53151 - ], - [ - 101.395783, - 26.591998 - ], - [ - 101.402558, - 26.604841 - ], - [ - 101.461688, - 26.606447 - ], - [ - 101.461072, - 26.640687 - ], - [ - 101.481398, - 26.673313 - ], - [ - 101.453065, - 26.692563 - ], - [ - 101.513427, - 26.768463 - ], - [ - 101.466, - 26.786629 - ], - [ - 101.445674, - 26.77434 - ], - [ - 101.458608, - 26.731054 - ], - [ - 101.435819, - 26.740675 - ], - [ - 101.389623, - 26.723036 - ], - [ - 101.387159, - 26.753501 - ], - [ - 101.358826, - 26.771669 - ], - [ - 101.399478, - 26.841642 - ], - [ - 101.365602, - 26.883819 - ], - [ - 101.311399, - 26.903034 - ], - [ - 101.267667, - 26.903034 - ], - [ - 101.264587, - 26.955323 - ], - [ - 101.227015, - 26.959057 - ], - [ - 101.228863, - 26.981992 - ], - [ - 101.136472, - 27.023584 - ], - [ - 101.157414, - 27.094999 - ], - [ - 101.145095, - 27.103523 - ], - [ - 101.170349, - 27.175421 - ], - [ - 101.167885, - 27.198311 - ], - [ - 101.167885, - 27.198311 - ], - [ - 101.119226, - 27.208957 - ], - [ - 101.071798, - 27.194585 - ], - [ - 101.042233, - 27.22173 - ], - [ - 101.026219, - 27.270679 - ], - [ - 101.021907, - 27.332899 - ], - [ - 100.95169, - 27.426961 - ], - [ - 100.936908, - 27.469448 - ], - [ - 100.901183, - 27.453517 - ], - [ - 100.91227, - 27.521473 - ], - [ - 100.854988, - 27.623858 - ], - [ - 100.827886, - 27.615904 - ], - [ - 100.848212, - 27.672099 - ], - [ - 100.782307, - 27.691708 - ], - [ - 100.775532, - 27.743098 - ], - [ - 100.757053, - 27.770107 - ], - [ - 100.707162, - 27.800816 - ], - [ - 100.719481, - 27.858503 - ], - [ - 100.681293, - 27.923035 - ], - [ - 100.634482, - 27.915631 - ], - [ - 100.609228, - 27.859033 - ], - [ - 100.54517, - 27.809286 - ], - [ - 100.511294, - 27.827811 - ], - [ - 100.504518, - 27.852154 - ], - [ - 100.442924, - 27.86644 - ], - [ - 100.412127, - 27.816167 - ], - [ - 100.350534, - 27.755809 - ], - [ - 100.327744, - 27.72032 - ], - [ - 100.311729, - 27.724028 - ], - [ - 100.304954, - 27.788639 - ], - [ - 100.28586, - 27.80611 - ], - [ - 100.30865, - 27.830457 - ], - [ - 100.30865, - 27.861149 - ], - [ - 100.210715, - 27.87702 - ], - [ - 100.170063, - 27.907699 - ], - [ - 100.196549, - 27.936254 - ], - [ - 100.120788, - 28.018703 - ], - [ - 100.088759, - 28.029269 - ], - [ - 100.05673, - 28.097922 - ], - [ - 100.021006, - 28.147008 - ], - [ - 100.033325, - 28.184467 - ], - [ - 100.062274, - 28.193962 - ], - [ - 100.091223, - 28.181302 - ], - [ - 100.102926, - 28.201873 - ], - [ - 100.153433, - 28.208202 - ], - [ - 100.188541, - 28.252493 - ], - [ - 100.147274, - 28.288862 - ], - [ - 100.176223, - 28.325218 - ], - [ - 100.136803, - 28.349975 - ], - [ - 100.057346, - 28.368934 - ], - [ - 100.073977, - 28.426317 - ], - [ - 99.990209, - 28.47683 - ], - [ - 99.985281, - 28.529422 - ], - [ - 99.91876, - 28.599329 - ], - [ - 99.875644, - 28.611939 - ], - [ - 99.873181, - 28.631902 - ], - [ - 99.834376, - 28.628225 - ], - [ - 99.834992, - 28.660788 - ], - [ - 99.79434, - 28.699116 - ], - [ - 99.755536, - 28.701216 - ], - [ - 99.722275, - 28.757369 - ], - [ - 99.717964, - 28.846521 - ], - [ - 99.676696, - 28.810345 - ], - [ - 99.625573, - 28.81454 - ], - [ - 99.609559, - 28.784122 - ], - [ - 99.614486, - 28.740054 - ], - [ - 99.553508, - 28.710664 - ], - [ - 99.53195, - 28.677591 - ], - [ - 99.540573, - 28.623497 - ], - [ - 99.504233, - 28.619294 - ], - [ - 99.466045, - 28.579886 - ], - [ - 99.463581, - 28.549401 - ], - [ - 99.403219, - 28.546246 - ], - [ - 99.396444, - 28.491032 - ], - [ - 99.426625, - 28.454207 - ], - [ - 99.404451, - 28.44421 - ], - [ - 99.437095, - 28.398419 - ], - [ - 99.392748, - 28.318369 - ], - [ - 99.412458, - 28.295186 - ], - [ - 99.374886, - 28.18183 - ], - [ - 99.306516, - 28.227714 - ], - [ - 99.28927, - 28.286227 - ], - [ - 99.237531, - 28.317842 - ], - [ - 99.229524, - 28.350502 - ], - [ - 99.200575, - 28.365774 - ], - [ - 99.16485, - 28.425264 - ], - [ - 99.187024, - 28.44 - ], - [ - 99.191952, - 28.494714 - ], - [ - 99.170394, - 28.566221 - ], - [ - 99.183944, - 28.58882 - ], - [ - 99.147604, - 28.640831 - ], - [ - 99.126662, - 28.698066 - ], - [ - 99.134053, - 28.734806 - ], - [ - 99.114343, - 28.765763 - ], - [ - 99.103872, - 28.841803 - ], - [ - 99.123582, - 28.890021 - ], - [ - 99.132206, - 28.94869 - ], - [ - 99.113727, - 29.07273 - ], - [ - 99.118039, - 29.100971 - ], - [ - 99.105104, - 29.162656 - ], - [ - 99.113727, - 29.221171 - ], - [ - 99.037351, - 29.20759 - ], - [ - 99.024416, - 29.188783 - ], - [ - 98.9813, - 29.204978 - ], - [ - 98.960974, - 29.165792 - ], - [ - 98.967134, - 29.128159 - ], - [ - 98.991771, - 29.105677 - ], - [ - 99.013329, - 29.036632 - ], - [ - 98.925866, - 28.978536 - ], - [ - 98.917859, - 28.886877 - ], - [ - 98.973909, - 28.864867 - ], - [ - 98.972677, - 28.832367 - ], - [ - 98.922786, - 28.823978 - ], - [ - 98.912931, - 28.800906 - ], - [ - 98.852569, - 28.798283 - ], - [ - 98.827932, - 28.821356 - ], - [ - 98.821772, - 28.920931 - ], - [ - 98.786048, - 28.998952 - ], - [ - 98.757714, - 29.004186 - ], - [ - 98.70228, - 28.9644 - ], - [ - 98.655469, - 28.976966 - ], - [ - 98.624056, - 28.95864 - ], - [ - 98.6567, - 28.910454 - ], - [ - 98.643766, - 28.895261 - ], - [ - 98.668403, - 28.843376 - ], - [ - 98.652389, - 28.817162 - ], - [ - 98.683802, - 28.740054 - ], - [ - 98.666555, - 28.712239 - ], - [ - 98.594491, - 28.667615 - ], - [ - 98.637606, - 28.552029 - ], - [ - 98.619128, - 28.50944 - ], - [ - 98.625903, - 28.489455 - ], - [ - 98.673947, - 28.478934 - ], - [ - 98.693041, - 28.43158 - ], - [ - 98.740468, - 28.348395 - ], - [ - 98.746628, - 28.321003 - ], - [ - 98.710287, - 28.288862 - ], - [ - 98.712135, - 28.229296 - ], - [ - 98.649925, - 28.200291 - ], - [ - 98.625903, - 28.165475 - ], - [ - 98.559382, - 28.182885 - ], - [ - 98.494092, - 28.141203 - ], - [ - 98.464527, - 28.151229 - ], - [ - 98.428803, - 28.104785 - ], - [ - 98.389383, - 28.114814 - ], - [ - 98.389999, - 28.16442 - ], - [ - 98.370289, - 28.18394 - ], - [ - 98.37768, - 28.246167 - ], - [ - 98.353042, - 28.293078 - ], - [ - 98.317934, - 28.324691 - ], - [ - 98.301303, - 28.384204 - ], - [ - 98.208913, - 28.358401 - ], - [ - 98.207681, - 28.330486 - ], - [ - 98.231702, - 28.314681 - ], - [ - 98.266811, - 28.242477 - ], - [ - 98.21692, - 28.212949 - ], - [ - 98.169492, - 28.206093 - ], - [ - 98.17442, - 28.163365 - ], - [ - 98.139311, - 28.142259 - ], - [ - 98.160253, - 28.101089 - ], - [ - 98.133152, - 27.990698 - ], - [ - 98.143007, - 27.948942 - ], - [ - 98.187355, - 27.939426 - ], - [ - 98.205217, - 27.889716 - ], - [ - 98.169492, - 27.851096 - ], - [ - 98.215688, - 27.810874 - ], - [ - 98.234166, - 27.690648 - ], - [ - 98.283441, - 27.654608 - ], - [ - 98.310542, - 27.583552 - ], - [ - 98.317318, - 27.51935 - ], - [ - 98.337644, - 27.508734 - ], - [ - 98.388767, - 27.515104 - ], - [ - 98.429419, - 27.549068 - ], - [ - 98.430035, - 27.653547 - ], - [ - 98.444201, - 27.665209 - ], - [ - 98.474998, - 27.634462 - ], - [ - 98.53536, - 27.620676 - ], - [ - 98.554454, - 27.646126 - ], - [ - 98.587099, - 27.587265 - ], - [ - 98.583404, - 27.571351 - ], - [ - 98.650541, - 27.567637 - ], - [ - 98.662244, - 27.586734 - ], - [ - 98.706591, - 27.553313 - ], - [ - 98.685034, - 27.484315 - ], - [ - 98.704744, - 27.462014 - ], - [ - 98.686881, - 27.425367 - ], - [ - 98.702896, - 27.412618 - ], - [ - 98.706591, - 27.362136 - ], - [ - 98.741084, - 27.330241 - ], - [ - 98.734925, - 27.287168 - ], - [ - 98.717062, - 27.271211 - ], - [ - 98.723222, - 27.221198 - ], - [ - 98.696121, - 27.211086 - ], - [ - 98.713983, - 27.139744 - ], - [ - 98.712751, - 27.075817 - ], - [ - 98.765722, - 27.05077 - ], - [ - 98.762642, - 27.018252 - ], - [ - 98.732461, - 27.002257 - ], - [ - 98.757098, - 26.877947 - ], - [ - 98.730613, - 26.851253 - ], - [ - 98.762026, - 26.798916 - ], - [ - 98.746012, - 26.696841 - ], - [ - 98.770033, - 26.690424 - ], - [ - 98.762642, - 26.660478 - ], - [ - 98.781736, - 26.620893 - ], - [ - 98.773113, - 26.578083 - ], - [ - 98.753403, - 26.559349 - ], - [ - 98.757098, - 26.491881 - ], - [ - 98.741084, - 26.432947 - ], - [ - 98.750323, - 26.424372 - ], - [ - 98.733693, - 26.350926 - ], - [ - 98.681338, - 26.308016 - ], - [ - 98.672715, - 26.239863 - ], - [ - 98.713367, - 26.231274 - ], - [ - 98.735541, - 26.185097 - ], - [ - 98.712751, - 26.156093 - ], - [ - 98.720142, - 26.127082 - ], - [ - 98.661012, - 26.087852 - ], - [ - 98.656084, - 26.139977 - ], - [ - 98.632679, - 26.145887 - ], - [ - 98.575396, - 26.118485 - ], - [ - 98.602498, - 26.054523 - ], - [ - 98.614201, - 25.968468 - ], - [ - 98.637606, - 25.971696 - ], - [ - 98.686881, - 25.925955 - ], - [ - 98.705976, - 25.855426 - ], - [ - 98.677642, - 25.816105 - ], - [ - 98.640686, - 25.798864 - ], - [ - 98.553839, - 25.845731 - ], - [ - 98.529201, - 25.840884 - ], - [ - 98.476846, - 25.77731 - ], - [ - 98.461448, - 25.735267 - ], - [ - 98.457752, - 25.682963 - ], - [ - 98.409709, - 25.664084 - ], - [ - 98.402317, - 25.593939 - ], - [ - 98.326557, - 25.566409 - ], - [ - 98.314854, - 25.543193 - ], - [ - 98.247717, - 25.607971 - ], - [ - 98.170724, - 25.620383 - ], - [ - 98.189818, - 25.569108 - ], - [ - 98.163949, - 25.524292 - ], - [ - 98.131304, - 25.51025 - ], - [ - 98.15779, - 25.457307 - ], - [ - 98.137464, - 25.381633 - ], - [ - 98.101123, - 25.388662 - ], - [ - 98.099891, - 25.354055 - ], - [ - 98.06971, - 25.311864 - ], - [ - 98.006884, - 25.298338 - ], - [ - 98.0075, - 25.279399 - ], - [ - 97.940363, - 25.214985 - ], - [ - 97.904023, - 25.216609 - ], - [ - 97.875689, - 25.25721 - ], - [ - 97.839349, - 25.27074 - ], - [ - 97.796233, - 25.155954 - ], - [ - 97.743262, - 25.078466 - ], - [ - 97.719857, - 25.080634 - ], - [ - 97.727864, - 25.04377 - ], - [ - 97.716777, - 24.978147 - ], - [ - 97.729712, - 24.908689 - ], - [ - 97.785762, - 24.876117 - ], - [ - 97.797465, - 24.845709 - ], - [ - 97.765436, - 24.823984 - ], - [ - 97.680437, - 24.827243 - ], - [ - 97.652103, - 24.790846 - ], - [ - 97.569567, - 24.765852 - ], - [ - 97.547394, - 24.739221 - ], - [ - 97.569567, - 24.708236 - ], - [ - 97.570799, - 24.602719 - ], - [ - 97.554785, - 24.490577 - ], - [ - 97.530147, - 24.443187 - ], - [ - 97.588662, - 24.435559 - ], - [ - 97.669966, - 24.452993 - ], - [ - 97.679821, - 24.401228 - ], - [ - 97.716161, - 24.358711 - ], - [ - 97.662574, - 24.339083 - ], - [ - 97.665038, - 24.296544 - ], - [ - 97.721089, - 24.295999 - ], - [ - 97.767284, - 24.258357 - ], - [ - 97.729712, - 24.227252 - ], - [ - 97.72848, - 24.183585 - ], - [ - 97.754349, - 24.163929 - ], - [ - 97.748806, - 24.160653 - ], - [ - 97.743262, - 24.159561 - ], - [ - 97.730944, - 24.113685 - ], - [ - 97.700763, - 24.093473 - ], - [ - 97.697067, - 24.092927 - ], - [ - 97.637321, - 24.04812 - ], - [ - 97.628698, - 24.004938 - ], - [ - 97.572647, - 23.983068 - ], - [ - 97.529531, - 23.943146 - ], - [ - 97.5283, - 23.926736 - ], - [ - 97.618227, - 23.888438 - ], - [ - 97.640401, - 23.866001 - ], - [ - 97.647176, - 23.840823 - ], - [ - 97.684132, - 23.876946 - ], - [ - 97.718009, - 23.867643 - ], - [ - 97.72848, - 23.895551 - ], - [ - 97.763588, - 23.907041 - ], - [ - 97.795617, - 23.951897 - ], - [ - 97.8104, - 23.943146 - ], - [ - 97.863371, - 23.978693 - ], - [ - 97.896015, - 23.974319 - ], - [ - 97.902175, - 24.014231 - ], - [ - 97.984095, - 24.031177 - ], - [ - 97.995182, - 24.04648 - ], - [ - 98.091268, - 24.085824 - ], - [ - 98.096196, - 24.08637 - ], - [ - 98.123297, - 24.092927 - ], - [ - 98.125761, - 24.092927 - ], - [ - 98.132536, - 24.09238 - ], - [ - 98.19721, - 24.09839 - ], - [ - 98.219999, - 24.113685 - ], - [ - 98.343187, - 24.098936 - ], - [ - 98.37768, - 24.114232 - ], - [ - 98.48239, - 24.122425 - ], - [ - 98.487933, - 24.123517 - ], - [ - 98.547063, - 24.128433 - ], - [ - 98.593875, - 24.08036 - ], - [ - 98.646229, - 24.106038 - ], - [ - 98.681954, - 24.100029 - ], - [ - 98.71891, - 24.127887 - ], - [ - 98.818692, - 24.133348 - ], - [ - 98.841482, - 24.126794 - ], - [ - 98.876591, - 24.15137 - ], - [ - 98.895069, - 24.098936 - ], - [ - 98.807606, - 24.025164 - ], - [ - 98.773729, - 24.022431 - ], - [ - 98.727533, - 23.970491 - ], - [ - 98.701048, - 23.981427 - ], - [ - 98.673331, - 23.960647 - ], - [ - 98.701048, - 23.946427 - ], - [ - 98.68565, - 23.90157 - ], - [ - 98.701664, - 23.834254 - ], - [ - 98.669019, - 23.800857 - ], - [ - 98.696121, - 23.784429 - ], - [ - 98.784816, - 23.781691 - ], - [ - 98.824236, - 23.727462 - ], - [ - 98.811917, - 23.703354 - ], - [ - 98.835939, - 23.683625 - ], - [ - 98.847026, - 23.632097 - ], - [ - 98.882134, - 23.620035 - ], - [ - 98.882134, - 23.595358 - ], - [ - 98.844562, - 23.578904 - ], - [ - 98.80391, - 23.540504 - ], - [ - 98.826084, - 23.470257 - ], - [ - 98.874743, - 23.483431 - ], - [ - 98.912315, - 23.426333 - ], - [ - 98.920938, - 23.360971 - ], - [ - 98.872895, - 23.329651 - ], - [ - 98.906772, - 23.331849 - ], - [ - 98.936953, - 23.309866 - ], - [ - 98.928946, - 23.26589 - ], - [ - 98.889525, - 23.209249 - ], - [ - 98.906772, - 23.185595 - ], - [ - 99.002242, - 23.160287 - ], - [ - 99.057677, - 23.164689 - ], - [ - 99.048438, - 23.11461 - ], - [ - 99.106336, - 23.086536 - ], - [ - 99.187024, - 23.100299 - ], - [ - 99.255393, - 23.077727 - ], - [ - 99.281879, - 23.101399 - ], - [ - 99.3484, - 23.12892 - ], - [ - 99.380429, - 23.099748 - ], - [ - 99.440791, - 23.079379 - ], - [ - 99.477747, - 23.083233 - ], - [ - 99.528255, - 23.065614 - ], - [ - 99.517168, - 23.006685 - ], - [ - 99.533798, - 22.961507 - ], - [ - 99.563363, - 22.925684 - ], - [ - 99.531334, - 22.897019 - ], - [ - 99.446951, - 22.934503 - ], - [ - 99.43648, - 22.913557 - ], - [ - 99.462965, - 22.844635 - ], - [ - 99.401371, - 22.826434 - ], - [ - 99.385357, - 22.761882 - ], - [ - 99.326842, - 22.751396 - ], - [ - 99.31514, - 22.737598 - ], - [ - 99.339777, - 22.708894 - ], - [ - 99.385973, - 22.57136 - ], - [ - 99.359487, - 22.535435 - ], - [ - 99.382277, - 22.493418 - ], - [ - 99.297277, - 22.41156 - ], - [ - 99.251698, - 22.393301 - ], - [ - 99.278183, - 22.34626 - ], - [ - 99.233836, - 22.296434 - ], - [ - 99.235683, - 22.250468 - ], - [ - 99.207966, - 22.232188 - ], - [ - 99.175321, - 22.185647 - ], - [ - 99.188256, - 22.162924 - ], - [ - 99.156227, - 22.159599 - ], - [ - 99.219669, - 22.110816 - ], - [ - 99.294814, - 22.109152 - ], - [ - 99.35456, - 22.095845 - ], - [ - 99.400139, - 22.100281 - ], - [ - 99.486987, - 22.128557 - ], - [ - 99.516552, - 22.099726 - ], - [ - 99.562747, - 22.113034 - ], - [ - 99.578762, - 22.098617 - ], - [ - 99.581841, - 22.103053 - ], - [ - 99.648979, - 22.100835 - ], - [ - 99.696406, - 22.067562 - ], - [ - 99.762927, - 22.068117 - ], - [ - 99.870101, - 22.029288 - ], - [ - 99.871333, - 22.067007 - ], - [ - 99.972347, - 22.053141 - ], - [ - 99.965571, - 22.014309 - ], - [ - 100.000064, - 21.973245 - ], - [ - 99.982202, - 21.919401 - ], - [ - 99.960028, - 21.907186 - ], - [ - 99.944014, - 21.821097 - ], - [ - 99.991441, - 21.703821 - ], - [ - 100.049339, - 21.669899 - ], - [ - 100.094303, - 21.702709 - ], - [ - 100.131875, - 21.699929 - ], - [ - 100.169447, - 21.663225 - ], - [ - 100.107853, - 21.585337 - ], - [ - 100.123252, - 21.565302 - ], - [ - 100.131259, - 21.504066 - ], - [ - 100.168831, - 21.482906 - ], - [ - 100.184846, - 21.516315 - ], - [ - 100.206404, - 21.509634 - ], - [ - 100.235353, - 21.466756 - ], - [ - 100.298795, - 21.477894 - ], - [ - 100.349302, - 21.528564 - ], - [ - 100.437381, - 21.533017 - ], - [ - 100.48296, - 21.458958 - ], - [ - 100.526692, - 21.471211 - ], - [ - 100.579047, - 21.451717 - ], - [ - 100.691764, - 21.510748 - ], - [ - 100.730568, - 21.518542 - ], - [ - 100.753358, - 21.555283 - ], - [ - 100.789082, - 21.570867 - ], - [ - 100.804481, - 21.609821 - ], - [ - 100.847597, - 21.634856 - ], - [ - 100.870386, - 21.67268 - ], - [ - 100.896872, - 21.68269 - ], - [ - 100.899335, - 21.684915 - ], - [ - 100.936292, - 21.694368 - ], - [ - 100.937524, - 21.693812 - ], - [ - 101.015132, - 21.707157 - ], - [ - 101.089661, - 21.773865 - ], - [ - 101.123537, - 21.771642 - ], - [ - 101.111835, - 21.746074 - ], - [ - 101.116762, - 21.691032 - ], - [ - 101.153102, - 21.669343 - ], - [ - 101.169117, - 21.590345 - ], - [ - 101.146943, - 21.560293 - ], - [ - 101.209153, - 21.55751 - ], - [ - 101.210385, - 21.509077 - ], - [ - 101.225167, - 21.499055 - ], - [ - 101.193138, - 21.473996 - ], - [ - 101.194986, - 21.424979 - ], - [ - 101.142631, - 21.409379 - ], - [ - 101.183899, - 21.334699 - ], - [ - 101.244877, - 21.302364 - ], - [ - 101.246725, - 21.275598 - ], - [ - 101.222088, - 21.234324 - ], - [ - 101.290457, - 21.17853 - ], - [ - 101.387775, - 21.225956 - ], - [ - 101.439514, - 21.227072 - ], - [ - 101.532521, - 21.252174 - ], - [ - 101.601506, - 21.233208 - ], - [ - 101.588572, - 21.191365 - ], - [ - 101.605818, - 21.172392 - ], - [ - 101.672339, - 21.194713 - ], - [ - 101.703136, - 21.14616 - ], - [ - 101.76473, - 21.147835 - ], - [ - 101.794911, - 21.208104 - ], - [ - 101.834331, - 21.204756 - ], - [ - 101.833715, - 21.252731 - ], - [ - 101.791832, - 21.285636 - ], - [ - 101.745636, - 21.297345 - ], - [ - 101.730238, - 21.336929 - ], - [ - 101.749948, - 21.409379 - ], - [ - 101.741324, - 21.482906 - ], - [ - 101.772737, - 21.512975 - ], - [ - 101.755491, - 21.538027 - ], - [ - 101.754875, - 21.58478 - ], - [ - 101.804766, - 21.577546 - ], - [ - 101.828788, - 21.617054 - ], - [ - 101.807846, - 21.644313 - ], - [ - 101.780129, - 21.640975 - ], - [ - 101.76781, - 21.716054 - ], - [ - 101.747484, - 21.729953 - ], - [ - 101.771506, - 21.833319 - ], - [ - 101.740093, - 21.845541 - ], - [ - 101.735165, - 21.875534 - ], - [ - 101.700057, - 21.897191 - ], - [ - 101.701288, - 21.938832 - ], - [ - 101.666796, - 21.934391 - ], - [ - 101.606434, - 21.967695 - ], - [ - 101.626144, - 22.005986 - ], - [ - 101.573789, - 22.115251 - ], - [ - 101.602738, - 22.131883 - ], - [ - 101.596579, - 22.161262 - ], - [ - 101.547304, - 22.238282 - ], - [ - 101.56455, - 22.269299 - ], - [ - 101.625528, - 22.28259 - ], - [ - 101.671723, - 22.372826 - ], - [ - 101.648318, - 22.400494 - ], - [ - 101.672339, - 22.47517 - ], - [ - 101.715455, - 22.477935 - ], - [ - 101.774585, - 22.506135 - ], - [ - 101.824476, - 22.45692 - ], - [ - 101.823244, - 22.42705 - ], - [ - 101.862665, - 22.389427 - ], - [ - 101.901469, - 22.384447 - ], - [ - 101.907628, - 22.437007 - ], - [ - 101.978461, - 22.427603 - ], - [ - 102.046214, - 22.458026 - ], - [ - 102.131214, - 22.430922 - ], - [ - 102.145381, - 22.397727 - ], - [ - 102.179257, - 22.430369 - ], - [ - 102.270416, - 22.419858 - ], - [ - 102.25625, - 22.457473 - ], - [ - 102.322771, - 22.554227 - ], - [ - 102.356648, - 22.563623 - ], - [ - 102.404691, - 22.629925 - ], - [ - 102.384365, - 22.679631 - ], - [ - 102.43672, - 22.699508 - ], - [ - 102.45951, - 22.762986 - ], - [ - 102.510633, - 22.774574 - ], - [ - 102.551285, - 22.743669 - ], - [ - 102.569763, - 22.701164 - ], - [ - 102.607335, - 22.730975 - ], - [ - 102.657226, - 22.687913 - ], - [ - 102.688639, - 22.70006 - ], - [ - 102.80074, - 22.620534 - ], - [ - 102.82353, - 22.623296 - ], - [ - 102.880196, - 22.586832 - ], - [ - 102.892515, - 22.533223 - ], - [ - 102.930703, - 22.482359 - ], - [ - 102.986754, - 22.477935 - ], - [ - 103.030485, - 22.441432 - ], - [ - 103.081608, - 22.454154 - ], - [ - 103.071753, - 22.488441 - ], - [ - 103.183238, - 22.558649 - ], - [ - 103.161065, - 22.590147 - ], - [ - 103.195557, - 22.648153 - ], - [ - 103.220195, - 22.643734 - ], - [ - 103.283021, - 22.678526 - ], - [ - 103.288564, - 22.732078 - ], - [ - 103.321209, - 22.777885 - ], - [ - 103.323057, - 22.807678 - ], - [ - 103.375411, - 22.794989 - ], - [ - 103.441317, - 22.753052 - ], - [ - 103.436389, - 22.6973 - ], - [ - 103.457947, - 22.658646 - ], - [ - 103.50907, - 22.601198 - ], - [ - 103.529396, - 22.59291 - ], - [ - 103.580519, - 22.66693 - ], - [ - 103.567585, - 22.701164 - ], - [ - 103.642113, - 22.794989 - ], - [ - 103.740048, - 22.709446 - ], - [ - 103.743127, - 22.697852 - ], - [ - 103.766533, - 22.688465 - ], - [ - 103.825047, - 22.615562 - ], - [ - 103.863851, - 22.584069 - ], - [ - 103.875554, - 22.565833 - ], - [ - 103.894032, - 22.564728 - ], - [ - 103.964865, - 22.502265 - ], - [ - 104.009213, - 22.517745 - ], - [ - 104.009213, - 22.575228 - ], - [ - 104.022148, - 22.593463 - ], - [ - 104.04309, - 22.67687 - ], - [ - 104.045553, - 22.728215 - ], - [ - 104.089901, - 22.768504 - ], - [ - 104.117618, - 22.808781 - ], - [ - 104.224176, - 22.826434 - ], - [ - 104.261748, - 22.841877 - ], - [ - 104.274067, - 22.828088 - ], - [ - 104.256821, - 22.77347 - ], - [ - 104.272835, - 22.73815 - ], - [ - 104.323342, - 22.728767 - ], - [ - 104.375697, - 22.690122 - ], - [ - 104.422508, - 22.734838 - ], - [ - 104.498885, - 22.774574 - ], - [ - 104.527834, - 22.814298 - ], - [ - 104.596203, - 22.846289 - ], - [ - 104.674428, - 22.817056 - ], - [ - 104.737869, - 22.825882 - ], - [ - 104.732942, - 22.852356 - ], - [ - 104.760659, - 22.862282 - ], - [ - 104.772362, - 22.893711 - ], - [ - 104.846275, - 22.926235 - ], - [ - 104.860441, - 22.970874 - ], - [ - 104.821021, - 23.032022 - ], - [ - 104.804391, - 23.110207 - ], - [ - 104.874608, - 23.123417 - ], - [ - 104.882615, - 23.163589 - ], - [ - 104.912796, - 23.175693 - ], - [ - 104.949136, - 23.152033 - ], - [ - 104.958991, - 23.188896 - ], - [ - 105.093266, - 23.260942 - ], - [ - 105.122215, - 23.247745 - ], - [ - 105.181962, - 23.279084 - ], - [ - 105.238012, - 23.26424 - ], - [ - 105.260186, - 23.31811 - ], - [ - 105.325475, - 23.390086 - ], - [ - 105.353809, - 23.362069 - ], - [ - 105.372903, - 23.317561 - ], - [ - 105.416018, - 23.283482 - ], - [ - 105.445584, - 23.292827 - ], - [ - 105.50225, - 23.202648 - ], - [ - 105.542902, - 23.184495 - ], - [ - 105.526272, - 23.234548 - ], - [ - 105.560148, - 23.257093 - ], - [ - 105.593409, - 23.312614 - ], - [ - 105.649459, - 23.346136 - ], - [ - 105.699966, - 23.327453 - ], - [ - 105.694423, - 23.363168 - ], - [ - 105.637757, - 23.404366 - ], - [ - 105.699966, - 23.40162 - ], - [ - 105.758481, - 23.459826 - ], - [ - 105.805908, - 23.467512 - ], - [ - 105.815763, - 23.507031 - ], - [ - 105.852103, - 23.526786 - ], - [ - 105.89214, - 23.52514 - ], - [ - 105.913081, - 23.499348 - ], - [ - 105.935871, - 23.508678 - ], - [ - 105.986378, - 23.489469 - ], - [ - 105.999929, - 23.447748 - ], - [ - 106.039965, - 23.484529 - ], - [ - 106.071994, - 23.495506 - ], - [ - 106.08616, - 23.524043 - ], - [ - 106.141595, - 23.569579 - ], - [ - 106.120653, - 23.605229 - ], - [ - 106.149602, - 23.665538 - ], - [ - 106.157609, - 23.724175 - ], - [ - 106.136667, - 23.795381 - ], - [ - 106.192102, - 23.824947 - ], - [ - 106.173008, - 23.861622 - ], - [ - 106.192718, - 23.879135 - ], - [ - 106.157609, - 23.891174 - ], - [ - 106.128044, - 23.956819 - ], - [ - 106.091088, - 23.998924 - ], - [ - 106.096631, - 24.018058 - ], - [ - 106.053516, - 24.051399 - ], - [ - 106.04982, - 24.089649 - ], - [ - 106.011632, - 24.099482 - ], - [ - 105.998081, - 24.120786 - ], - [ - 105.963589, - 24.110954 - ], - [ - 105.919241, - 24.122425 - ], - [ - 105.901995, - 24.099482 - ], - [ - 105.908154, - 24.069432 - ], - [ - 105.89214, - 24.040468 - ], - [ - 105.859495, - 24.056864 - ], - [ - 105.841633, - 24.03063 - ], - [ - 105.796669, - 24.023524 - ], - [ - 105.802212, - 24.051945 - ], - [ - 105.765256, - 24.073804 - ], - [ - 105.739387, - 24.059596 - ], - [ - 105.704278, - 24.0667 - ], - [ - 105.649459, - 24.032816 - ], - [ - 105.628518, - 24.126794 - ], - [ - 105.594641, - 24.137718 - ], - [ - 105.533663, - 24.130071 - ], - [ - 105.493011, - 24.016965 - ], - [ - 105.406163, - 24.043748 - ], - [ - 105.395692, - 24.065607 - ], - [ - 105.334099, - 24.094566 - ], - [ - 105.320548, - 24.116416 - ], - [ - 105.273121, - 24.092927 - ], - [ - 105.292831, - 24.074896 - ], - [ - 105.260186, - 24.061236 - ], - [ - 105.20044, - 24.105491 - ], - [ - 105.182577, - 24.167205 - ], - [ - 105.229389, - 24.165567 - ], - [ - 105.24294, - 24.208695 - ], - [ - 105.215222, - 24.214699 - ], - [ - 105.164715, - 24.288362 - ], - [ - 105.196744, - 24.326541 - ], - [ - 105.188121, - 24.347261 - ], - [ - 105.138846, - 24.376701 - ], - [ - 105.111744, - 24.37234 - ], - [ - 105.106817, - 24.414853 - ], - [ - 105.042759, - 24.442097 - ], - [ - 104.979933, - 24.412673 - ], - [ - 104.930042, - 24.411038 - ], - [ - 104.914028, - 24.426296 - ], - [ - 104.83642, - 24.446456 - ], - [ - 104.784681, - 24.443732 - ], - [ - 104.765587, - 24.45953 - ], - [ - 104.74834, - 24.435559 - ], - [ - 104.715695, - 24.441552 - ], - [ - 104.703377, - 24.419757 - ], - [ - 104.721239, - 24.340173 - ], - [ - 104.70892, - 24.321087 - ], - [ - 104.641783, - 24.367979 - ], - [ - 104.610986, - 24.377246 - ], - [ - 104.63008, - 24.397958 - ], - [ - 104.616529, - 24.421937 - ], - [ - 104.575877, - 24.424661 - ], - [ - 104.550008, - 24.518894 - ], - [ - 104.520443, - 24.535228 - ], - [ - 104.489646, - 24.653313 - ], - [ - 104.529682, - 24.731611 - ], - [ - 104.542616, - 24.75607 - ], - [ - 104.539537, - 24.813663 - ], - [ - 104.586964, - 24.872859 - ], - [ - 104.635623, - 24.903803 - ], - [ - 104.663957, - 24.964584 - ], - [ - 104.713232, - 24.996048 - ], - [ - 104.684898, - 25.054072 - ], - [ - 104.619609, - 25.060577 - ], - [ - 104.685514, - 25.078466 - ], - [ - 104.695369, - 25.122364 - ], - [ - 104.732326, - 25.167871 - ], - [ - 104.724319, - 25.195491 - ], - [ - 104.753884, - 25.214443 - ], - [ - 104.801927, - 25.163537 - ], - [ - 104.822869, - 25.170037 - ], - [ - 104.806854, - 25.224189 - ], - [ - 104.826565, - 25.235558 - ], - [ - 104.816094, - 25.262622 - ], - [ - 104.736021, - 25.268034 - ], - [ - 104.689826, - 25.296173 - ], - [ - 104.639935, - 25.295632 - ], - [ - 104.646094, - 25.356759 - ], - [ - 104.615913, - 25.364871 - ], - [ - 104.566638, - 25.402719 - ], - [ - 104.543232, - 25.400556 - ], - [ - 104.556783, - 25.524832 - ], - [ - 104.524138, - 25.526992 - ], - [ - 104.483486, - 25.494585 - ], - [ - 104.44961, - 25.495126 - ], - [ - 104.434827, - 25.472436 - ], - [ - 104.418813, - 25.499447 - ], - [ - 104.436059, - 25.520512 - ], - [ - 104.428668, - 25.576126 - ], - [ - 104.389248, - 25.595558 - ], - [ - 104.332581, - 25.598796 - ], - [ - 104.310407, - 25.647901 - ], - [ - 104.328886, - 25.760602 - ], - [ - 104.370769, - 25.730415 - ], - [ - 104.397871, - 25.76168 - ], - [ - 104.42374, - 25.841961 - ], - [ - 104.441602, - 25.868889 - ], - [ - 104.414501, - 25.909807 - ], - [ - 104.438523, - 25.92757 - ], - [ - 104.470552, - 26.009352 - ], - [ - 104.460081, - 26.085702 - ], - [ - 104.499501, - 26.070651 - ], - [ - 104.52845, - 26.114186 - ], - [ - 104.518595, - 26.165762 - ], - [ - 104.548776, - 26.226979 - ], - [ - 104.542616, - 26.253282 - ], - [ - 104.592508, - 26.317672 - ], - [ - 104.659645, - 26.335373 - ], - [ - 104.684283, - 26.3772 - ], - [ - 104.664572, - 26.397572 - ], - [ - 104.665804, - 26.434019 - ], - [ - 104.631928, - 26.451702 - ], - [ - 104.638703, - 26.477954 - ], - [ - 104.598667, - 26.520801 - ], - [ - 104.57095, - 26.524549 - ], - [ - 104.579573, - 26.568449 - ], - [ - 104.556783, - 26.590393 - ], - [ - 104.488414, - 26.579689 - ], - [ - 104.459465, - 26.602701 - ], - [ - 104.468088, - 26.644431 - ], - [ - 104.424356, - 26.709137 - ], - [ - 104.398487, - 26.686147 - ], - [ - 104.353523, - 26.620893 - ], - [ - 104.313487, - 26.612867 - ], - [ - 104.274683, - 26.633733 - ], - [ - 104.268524, - 26.617683 - ], - [ - 104.222328, - 26.620358 - ], - [ - 104.160734, - 26.646571 - ], - [ - 104.121314, - 26.638012 - ], - [ - 104.068343, - 26.573266 - ], - [ - 104.067727, - 26.51491 - ], - [ - 104.008597, - 26.511697 - ], - [ - 103.953163, - 26.521336 - ], - [ - 103.865699, - 26.512232 - ], - [ - 103.819504, - 26.529903 - ], - [ - 103.815808, - 26.55239 - ], - [ - 103.763453, - 26.585041 - ], - [ - 103.748671, - 26.623568 - ], - [ - 103.759142, - 26.689355 - ], - [ - 103.773308, - 26.716621 - ], - [ - 103.725265, - 26.742812 - ], - [ - 103.705555, - 26.794642 - ], - [ - 103.722185, - 26.851253 - ], - [ - 103.779468, - 26.87421 - ], - [ - 103.763453, - 26.905702 - ], - [ - 103.775156, - 26.951056 - ], - [ - 103.753598, - 26.963858 - ], - [ - 103.73204, - 27.018785 - ], - [ - 103.704939, - 27.049171 - ], - [ - 103.675374, - 27.051836 - ], - [ - 103.623019, - 27.007056 - ], - [ - 103.623635, - 27.035312 - ], - [ - 103.601461, - 27.061962 - ], - [ - 103.614396, - 27.079548 - ], - [ - 103.659975, - 27.065692 - ], - [ - 103.652584, - 27.092868 - ], - [ - 103.620555, - 27.096598 - ], - [ - 103.63349, - 27.12057 - ], - [ - 103.696316, - 27.126429 - ], - [ - 103.748671, - 27.210021 - ], - [ - 103.801641, - 27.250464 - ], - [ - 103.80041, - 27.26536 - ], - [ - 103.865699, - 27.28185 - ], - [ - 103.874322, - 27.331304 - ], - [ - 103.903271, - 27.347785 - ], - [ - 103.905119, - 27.38552 - ], - [ - 103.932221, - 27.443958 - ], - [ - 103.956242, - 27.425367 - ], - [ - 104.015372, - 27.429086 - ], - [ - 104.01722, - 27.383926 - ], - [ - 104.084358, - 27.330773 - ], - [ - 104.113923, - 27.338216 - ], - [ - 104.173053, - 27.263232 - ], - [ - 104.210625, - 27.297273 - ], - [ - 104.248813, - 27.291955 - ], - [ - 104.247582, - 27.336621 - ], - [ - 104.295625, - 27.37436 - ], - [ - 104.30856, - 27.407305 - ], - [ - 104.363378, - 27.467855 - ], - [ - 104.467472, - 27.414211 - ], - [ - 104.497037, - 27.414743 - ], - [ - 104.539537, - 27.327583 - ], - [ - 104.570334, - 27.331836 - ], - [ - 104.611602, - 27.306846 - ], - [ - 104.7545, - 27.345658 - ], - [ - 104.77113, - 27.317481 - ], - [ - 104.824717, - 27.3531 - ], - [ - 104.856746, - 27.332368 - ], - [ - 104.851818, - 27.299401 - ], - [ - 104.871528, - 27.290891 - ], - [ - 104.913412, - 27.327051 - ], - [ - 105.01073, - 27.379143 - ], - [ - 105.068013, - 27.418461 - ], - [ - 105.120984, - 27.418461 - ], - [ - 105.184425, - 27.392959 - ], - [ - 105.182577, - 27.367451 - ], - [ - 105.233084, - 27.436522 - ], - [ - 105.234316, - 27.489093 - ], - [ - 105.260186, - 27.514573 - ], - [ - 105.232469, - 27.546945 - ], - [ - 105.25649, - 27.582491 - ], - [ - 105.304533, - 27.611661 - ], - [ - 105.29591, - 27.631811 - ], - [ - 105.308229, - 27.704955 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 540000, - "name": "西藏自治区", - "center": [ - 91.132212, - 29.660361 - ], - "centroid": [ - 88.388277, - 31.56375 - ], - "childrenNum": 7, - "cp": [87.8695, 31.6846], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 25, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 89.711414, - 36.093272 - ], - [ - 89.614711, - 36.109712 - ], - [ - 89.594385, - 36.126632 - ], - [ - 89.490291, - 36.151281 - ], - [ - 89.375727, - 36.228078 - ], - [ - 89.335075, - 36.23725 - ], - [ - 89.292575, - 36.231457 - ], - [ - 89.232213, - 36.295636 - ], - [ - 89.198952, - 36.260417 - ], - [ - 89.126887, - 36.254626 - ], - [ - 89.10225, - 36.281164 - ], - [ - 89.054822, - 36.291777 - ], - [ - 89.013554, - 36.315409 - ], - [ - 88.964279, - 36.318785 - ], - [ - 88.926091, - 36.36458 - ], - [ - 88.870657, - 36.348193 - ], - [ - 88.838628, - 36.353496 - ], - [ - 88.802903, - 36.33807 - ], - [ - 88.783809, - 36.291777 - ], - [ - 88.766563, - 36.292259 - ], - [ - 88.690186, - 36.367954 - ], - [ - 88.623665, - 36.389636 - ], - [ - 88.618121, - 36.428168 - ], - [ - 88.573158, - 36.461386 - ], - [ - 88.498629, - 36.446463 - ], - [ - 88.470912, - 36.48208 - ], - [ - 88.41055, - 36.473418 - ], - [ - 88.356963, - 36.477268 - ], - [ - 88.366202, - 36.458016 - ], - [ - 88.282434, - 36.470049 - ], - [ - 88.241782, - 36.468605 - ], - [ - 88.222688, - 36.447426 - ], - [ - 88.182652, - 36.452721 - ], - [ - 88.134609, - 36.427205 - ], - [ - 88.092109, - 36.43539 - ], - [ - 88.006494, - 36.430575 - ], - [ - 87.983088, - 36.437797 - ], - [ - 87.95845, - 36.408423 - ], - [ - 87.919646, - 36.39349 - ], - [ - 87.838342, - 36.383855 - ], - [ - 87.826023, - 36.391563 - ], - [ - 87.767509, - 36.3747 - ], - [ - 87.731785, - 36.384818 - ], - [ - 87.6203, - 36.360243 - ], - [ - 87.570409, - 36.342409 - ], - [ - 87.470626, - 36.354459 - ], - [ - 87.460155, - 36.409868 - ], - [ - 87.426895, - 36.42576 - ], - [ - 87.386859, - 36.412757 - ], - [ - 87.363453, - 36.420463 - ], - [ - 87.348055, - 36.393008 - ], - [ - 87.292004, - 36.358797 - ], - [ - 87.193454, - 36.349158 - ], - [ - 87.161425, - 36.325535 - ], - [ - 87.149106, - 36.297565 - ], - [ - 87.08628, - 36.310587 - ], - [ - 87.051788, - 36.2966 - ], - [ - 86.996353, - 36.308658 - ], - [ - 86.943998, - 36.284058 - ], - [ - 86.931064, - 36.265242 - ], - [ - 86.887332, - 36.262829 - ], - [ - 86.86331, - 36.299977 - ], - [ - 86.836209, - 36.291294 - ], - [ - 86.746282, - 36.291777 - ], - [ - 86.69947, - 36.24449 - ], - [ - 86.599072, - 36.222285 - ], - [ - 86.531935, - 36.227113 - ], - [ - 86.515305, - 36.205385 - ], - [ - 86.454943, - 36.221319 - ], - [ - 86.392733, - 36.206834 - ], - [ - 86.35824, - 36.168676 - ], - [ - 86.2794, - 36.170608 - ], - [ - 86.248603, - 36.141616 - ], - [ - 86.187625, - 36.130983 - ], - [ - 86.182081, - 36.064734 - ], - [ - 86.199944, - 36.047801 - ], - [ - 86.173458, - 36.008113 - ], - [ - 86.150668, - 36.00424 - ], - [ - 86.129111, - 35.941761 - ], - [ - 86.093386, - 35.906868 - ], - [ - 86.090306, - 35.876809 - ], - [ - 86.05335, - 35.842857 - ], - [ - 86.035488, - 35.846738 - ], - [ - 85.949256, - 35.778794 - ], - [ - 85.903677, - 35.78462 - ], - [ - 85.835308, - 35.771996 - ], - [ - 85.811286, - 35.778794 - ], - [ - 85.691178, - 35.751114 - ], - [ - 85.65299, - 35.731199 - ], - [ - 85.612953, - 35.651486 - ], - [ - 85.566142, - 35.6403 - ], - [ - 85.518715, - 35.680658 - ], - [ - 85.373969, - 35.700101 - ], - [ - 85.341324, - 35.753543 - ], - [ - 85.271107, - 35.788989 - ], - [ - 85.146071, - 35.742371 - ], - [ - 85.053065, - 35.752086 - ], - [ - 84.99455, - 35.737028 - ], - [ - 84.973608, - 35.709334 - ], - [ - 84.920022, - 35.696213 - ], - [ - 84.798066, - 35.647595 - ], - [ - 84.729081, - 35.613546 - ], - [ - 84.704443, - 35.616951 - ], - [ - 84.628067, - 35.595055 - ], - [ - 84.570168, - 35.588242 - ], - [ - 84.513502, - 35.564391 - ], - [ - 84.448828, - 35.550272 - ], - [ - 84.475929, - 35.516181 - ], - [ - 84.45314, - 35.473303 - ], - [ - 84.424191, - 35.466479 - ], - [ - 84.333032, - 35.413821 - ], - [ - 84.274517, - 35.404065 - ], - [ - 84.200605, - 35.381135 - ], - [ - 84.160569, - 35.359663 - ], - [ - 84.140859, - 35.379184 - ], - [ - 84.095895, - 35.362592 - ], - [ - 84.077417, - 35.400163 - ], - [ - 84.005968, - 35.422599 - ], - [ - 83.906186, - 35.40309 - ], - [ - 83.885244, - 35.367472 - ], - [ - 83.79778, - 35.354783 - ], - [ - 83.785462, - 35.36308 - ], - [ - 83.677672, - 35.361128 - ], - [ - 83.622238, - 35.335256 - ], - [ - 83.599448, - 35.351366 - ], - [ - 83.54155, - 35.341603 - ], - [ - 83.540318, - 35.364056 - ], - [ - 83.502745, - 35.360639 - ], - [ - 83.449159, - 35.382111 - ], - [ - 83.405427, - 35.380648 - ], - [ - 83.333978, - 35.397236 - ], - [ - 83.280391, - 35.401138 - ], - [ - 83.251442, - 35.417722 - ], - [ - 83.178145, - 35.38943 - ], - [ - 83.127022, - 35.398699 - ], - [ - 83.088834, - 35.425526 - ], - [ - 83.067892, - 35.46258 - ], - [ - 82.998907, - 35.484512 - ], - [ - 82.971806, - 35.548324 - ], - [ - 82.981661, - 35.599922 - ], - [ - 82.956407, - 35.636409 - ], - [ - 82.967494, - 35.667532 - ], - [ - 82.894813, - 35.673852 - ], - [ - 82.873871, - 35.688922 - ], - [ - 82.795031, - 35.688436 - ], - [ - 82.780249, - 35.666073 - ], - [ - 82.731589, - 35.637868 - ], - [ - 82.652133, - 35.67288 - ], - [ - 82.628727, - 35.692324 - ], - [ - 82.546192, - 35.708362 - ], - [ - 82.501844, - 35.701073 - ], - [ - 82.468583, - 35.717595 - ], - [ - 82.424852, - 35.712736 - ], - [ - 82.392823, - 35.656349 - ], - [ - 82.336156, - 35.651486 - ], - [ - 82.350323, - 35.611113 - ], - [ - 82.328149, - 35.559523 - ], - [ - 82.2992, - 35.544916 - ], - [ - 82.263475, - 35.547837 - ], - [ - 82.234526, - 35.520565 - ], - [ - 82.189563, - 35.513258 - ], - [ - 82.164925, - 35.495719 - ], - [ - 82.086701, - 35.467454 - ], - [ - 82.071302, - 35.450393 - ], - [ - 82.034346, - 35.451855 - ], - [ - 82.029419, - 35.426013 - ], - [ - 82.05344, - 35.35039 - ], - [ - 82.030034, - 35.321585 - ], - [ - 81.99123, - 35.30547 - ], - [ - 81.955506, - 35.307423 - ], - [ - 81.927789, - 35.271275 - ], - [ - 81.853876, - 35.25857 - ], - [ - 81.804601, - 35.270786 - ], - [ - 81.736847, - 35.26248 - ], - [ - 81.68634, - 35.235599 - ], - [ - 81.513261, - 35.23511 - ], - [ - 81.504638, - 35.279092 - ], - [ - 81.447972, - 35.318167 - ], - [ - 81.441196, - 35.333303 - ], - [ - 81.385762, - 35.335256 - ], - [ - 81.363588, - 35.354783 - ], - [ - 81.314313, - 35.337209 - ], - [ - 81.285364, - 35.345508 - ], - [ - 81.26627, - 35.322562 - ], - [ - 81.219458, - 35.319144 - ], - [ - 81.191741, - 35.36552 - ], - [ - 81.142466, - 35.365032 - ], - [ - 81.103662, - 35.386015 - ], - [ - 81.09935, - 35.40748 - ], - [ - 81.054387, - 35.402602 - ], - [ - 81.031597, - 35.380648 - ], - [ - 81.030981, - 35.337209 - ], - [ - 81.002648, - 35.334768 - ], - [ - 81.026053, - 35.31133 - ], - [ - 80.963844, - 35.310842 - ], - [ - 80.924423, - 35.330862 - ], - [ - 80.894242, - 35.324027 - ], - [ - 80.844351, - 35.345508 - ], - [ - 80.759968, - 35.334768 - ], - [ - 80.689135, - 35.339162 - ], - [ - 80.690982, - 35.364544 - ], - [ - 80.65649, - 35.393821 - ], - [ - 80.599823, - 35.409431 - ], - [ - 80.56841, - 35.391381 - ], - [ - 80.532686, - 35.404553 - ], - [ - 80.514824, - 35.391869 - ], - [ - 80.444607, - 35.417235 - ], - [ - 80.432904, - 35.449418 - ], - [ - 80.375006, - 35.387966 - ], - [ - 80.321419, - 35.38699 - ], - [ - 80.286926, - 35.35283 - ], - [ - 80.267832, - 35.295701 - ], - [ - 80.362687, - 35.20871 - ], - [ - 80.257977, - 35.203331 - ], - [ - 80.223484, - 35.177409 - ], - [ - 80.23026, - 35.147565 - ], - [ - 80.118159, - 35.066293 - ], - [ - 80.078123, - 35.076578 - ], - [ - 80.031311, - 35.034447 - ], - [ - 80.04363, - 35.022196 - ], - [ - 80.02392, - 34.971209 - ], - [ - 80.041782, - 34.943252 - ], - [ - 80.034391, - 34.902033 - ], - [ - 80.003594, - 34.895162 - ], - [ - 79.996819, - 34.856375 - ], - [ - 79.961094, - 34.862759 - ], - [ - 79.926602, - 34.849499 - ], - [ - 79.947544, - 34.821008 - ], - [ - 79.898268, - 34.732035 - ], - [ - 79.906892, - 34.683821 - ], - [ - 79.866856, - 34.671517 - ], - [ - 79.88595, - 34.642965 - ], - [ - 79.84345, - 34.55725 - ], - [ - 79.861312, - 34.528166 - ], - [ - 79.801566, - 34.478847 - ], - [ - 79.735661, - 34.471447 - ], - [ - 79.699936, - 34.477861 - ], - [ - 79.675914, - 34.451216 - ], - [ - 79.58106, - 34.456151 - ], - [ - 79.545335, - 34.476381 - ], - [ - 79.504683, - 34.45467 - ], - [ - 79.435082, - 34.447761 - ], - [ - 79.363017, - 34.428018 - ], - [ - 79.326677, - 34.44332 - ], - [ - 79.274322, - 34.435916 - ], - [ - 79.241677, - 34.415183 - ], - [ - 79.179467, - 34.422588 - ], - [ - 79.161605, - 34.441345 - ], - [ - 79.072294, - 34.412714 - ], - [ - 79.039033, - 34.421601 - ], - [ - 79.0107, - 34.399877 - ], - [ - 79.048888, - 34.348506 - ], - [ - 79.039649, - 34.33467 - ], - [ - 79.019939, - 34.313417 - ], - [ - 78.981751, - 34.31836 - ], - [ - 78.958345, - 34.230827 - ], - [ - 78.941099, - 34.212022 - ], - [ - 78.9257, - 34.155584 - ], - [ - 78.910302, - 34.143202 - ], - [ - 78.878273, - 34.163012 - ], - [ - 78.828998, - 34.125369 - ], - [ - 78.801897, - 34.137258 - ], - [ - 78.737223, - 34.089692 - ], - [ - 78.661462, - 34.086718 - ], - [ - 78.656535, - 34.030196 - ], - [ - 78.736607, - 33.999937 - ], - [ - 78.744614, - 33.980585 - ], - [ - 78.734143, - 33.918529 - ], - [ - 78.762476, - 33.90959 - ], - [ - 78.756317, - 33.8773 - ], - [ - 78.766172, - 33.823124 - ], - [ - 78.758165, - 33.790802 - ], - [ - 78.779723, - 33.73259 - ], - [ - 78.692259, - 33.676331 - ], - [ - 78.684868, - 33.654415 - ], - [ - 78.713201, - 33.623025 - ], - [ - 78.755085, - 33.623025 - ], - [ - 78.74215, - 33.55323 - ], - [ - 78.816679, - 33.480882 - ], - [ - 78.84994, - 33.419963 - ], - [ - 78.896751, - 33.41247 - ], - [ - 78.949722, - 33.376495 - ], - [ - 78.9682, - 33.334505 - ], - [ - 79.022403, - 33.323504 - ], - [ - 79.041497, - 33.268479 - ], - [ - 79.083997, - 33.245459 - ], - [ - 79.072294, - 33.22844 - ], - [ - 79.10925, - 33.200401 - ], - [ - 79.152366, - 33.184375 - ], - [ - 79.162221, - 33.165841 - ], - [ - 79.139431, - 33.117735 - ], - [ - 79.162837, - 33.01191 - ], - [ - 79.204721, - 32.964724 - ], - [ - 79.255844, - 32.942628 - ], - [ - 79.227511, - 32.89038 - ], - [ - 79.237982, - 32.846145 - ], - [ - 79.225047, - 32.784281 - ], - [ - 79.275554, - 32.778746 - ], - [ - 79.301423, - 32.728919 - ], - [ - 79.27309, - 32.678056 - ], - [ - 79.299575, - 32.637244 - ], - [ - 79.308199, - 32.596918 - ], - [ - 79.272474, - 32.561113 - ], - [ - 79.252148, - 32.516715 - ], - [ - 79.190554, - 32.511669 - ], - [ - 79.180083, - 32.492994 - ], - [ - 79.135736, - 32.472295 - ], - [ - 79.124649, - 32.416235 - ], - [ - 79.103091, - 32.369744 - ], - [ - 79.067982, - 32.380863 - ], - [ - 79.005772, - 32.375304 - ], - [ - 78.970664, - 32.331826 - ], - [ - 78.904142, - 32.374798 - ], - [ - 78.87273, - 32.40512 - ], - [ - 78.81052, - 32.436441 - ], - [ - 78.782186, - 32.480373 - ], - [ - 78.760629, - 32.563635 - ], - [ - 78.781571, - 32.608009 - ], - [ - 78.74215, - 32.654881 - ], - [ - 78.741534, - 32.703743 - ], - [ - 78.6861, - 32.680071 - ], - [ - 78.675013, - 32.658408 - ], - [ - 78.628202, - 32.630188 - ], - [ - 78.588782, - 32.637748 - ], - [ - 78.577695, - 32.615067 - ], - [ - 78.518564, - 32.605993 - ], - [ - 78.500086, - 32.580782 - ], - [ - 78.424942, - 32.565652 - ], - [ - 78.395377, - 32.530339 - ], - [ - 78.426174, - 32.502584 - ], - [ - 78.472985, - 32.435431 - ], - [ - 78.458818, - 32.379853 - ], - [ - 78.483456, - 32.357106 - ], - [ - 78.480992, - 32.329297 - ], - [ - 78.508709, - 32.297939 - ], - [ - 78.475449, - 32.236708 - ], - [ - 78.430485, - 32.212407 - ], - [ - 78.429869, - 32.194683 - ], - [ - 78.469905, - 32.127808 - ], - [ - 78.509941, - 32.147065 - ], - [ - 78.527188, - 32.11463 - ], - [ - 78.609107, - 32.052768 - ], - [ - 78.60726, - 32.023851 - ], - [ - 78.705194, - 31.988835 - ], - [ - 78.762476, - 31.947203 - ], - [ - 78.768636, - 31.92638 - ], - [ - 78.739687, - 31.885228 - ], - [ - 78.665158, - 31.851684 - ], - [ - 78.654687, - 31.819144 - ], - [ - 78.706426, - 31.778453 - ], - [ - 78.763092, - 31.668499 - ], - [ - 78.798817, - 31.675629 - ], - [ - 78.806824, - 31.64099 - ], - [ - 78.845628, - 31.609905 - ], - [ - 78.833925, - 31.584927 - ], - [ - 78.779723, - 31.545154 - ], - [ - 78.740303, - 31.532912 - ], - [ - 78.729832, - 31.478316 - ], - [ - 78.755701, - 31.478316 - ], - [ - 78.792041, - 31.435944 - ], - [ - 78.760013, - 31.392531 - ], - [ - 78.755085, - 31.355742 - ], - [ - 78.795121, - 31.301043 - ], - [ - 78.859179, - 31.289281 - ], - [ - 78.865338, - 31.312804 - ], - [ - 78.884432, - 31.277006 - ], - [ - 78.923852, - 31.246824 - ], - [ - 78.930628, - 31.220726 - ], - [ - 78.997765, - 31.158779 - ], - [ - 78.97436, - 31.115751 - ], - [ - 79.010084, - 31.043994 - ], - [ - 79.059359, - 31.028097 - ], - [ - 79.096931, - 30.992192 - ], - [ - 79.181931, - 31.015788 - ], - [ - 79.205953, - 31.0004 - ], - [ - 79.227511, - 30.949088 - ], - [ - 79.33222, - 30.969103 - ], - [ - 79.316206, - 31.01784 - ], - [ - 79.35809, - 31.031174 - ], - [ - 79.404901, - 31.071678 - ], - [ - 79.424611, - 31.061425 - ], - [ - 79.427075, - 31.018353 - ], - [ - 79.505915, - 31.027584 - ], - [ - 79.550879, - 30.957813 - ], - [ - 79.59769, - 30.925989 - ], - [ - 79.660516, - 30.956787 - ], - [ - 79.668523, - 30.980392 - ], - [ - 79.729501, - 30.941389 - ], - [ - 79.75845, - 30.936769 - ], - [ - 79.835443, - 30.851006 - ], - [ - 79.890877, - 30.855116 - ], - [ - 79.913051, - 30.833022 - ], - [ - 79.900732, - 30.7991 - ], - [ - 79.961094, - 30.771337 - ], - [ - 79.955551, - 30.738422 - ], - [ - 79.970333, - 30.685941 - ], - [ - 80.014065, - 30.661748 - ], - [ - 80.04363, - 30.603559 - ], - [ - 80.143412, - 30.55822 - ], - [ - 80.214245, - 30.586044 - ], - [ - 80.261673, - 30.566465 - ], - [ - 80.322035, - 30.564403 - ], - [ - 80.357759, - 30.520592 - ], - [ - 80.43044, - 30.515952 - ], - [ - 80.446454, - 30.495327 - ], - [ - 80.504969, - 30.483466 - ], - [ - 80.549316, - 30.448905 - ], - [ - 80.585041, - 30.463866 - ], - [ - 80.633084, - 30.458707 - ], - [ - 80.692214, - 30.416913 - ], - [ - 80.719316, - 30.414848 - ], - [ - 80.81725, - 30.321389 - ], - [ - 80.910873, - 30.30279 - ], - [ - 80.933662, - 30.266614 - ], - [ - 80.996488, - 30.267648 - ], - [ - 81.034677, - 30.246971 - ], - [ - 81.038372, - 30.205086 - ], - [ - 81.082104, - 30.151281 - ], - [ - 81.085799, - 30.100554 - ], - [ - 81.110437, - 30.085538 - ], - [ - 81.09627, - 30.052909 - ], - [ - 81.131995, - 30.016124 - ], - [ - 81.225618, - 30.005759 - ], - [ - 81.256415, - 30.011978 - ], - [ - 81.247792, - 30.032705 - ], - [ - 81.2829, - 30.061197 - ], - [ - 81.293371, - 30.094859 - ], - [ - 81.269349, - 30.153351 - ], - [ - 81.335871, - 30.149729 - ], - [ - 81.393769, - 30.199396 - ], - [ - 81.397465, - 30.240767 - ], - [ - 81.419023, - 30.270232 - ], - [ - 81.406088, - 30.291938 - ], - [ - 81.427646, - 30.305373 - ], - [ - 81.399929, - 30.319323 - ], - [ - 81.406088, - 30.369421 - ], - [ - 81.432573, - 30.379231 - ], - [ - 81.406704, - 30.40401 - ], - [ - 81.418407, - 30.420525 - ], - [ - 81.454131, - 30.412268 - ], - [ - 81.494783, - 30.381296 - ], - [ - 81.555761, - 30.369421 - ], - [ - 81.566232, - 30.428782 - ], - [ - 81.613044, - 30.412784 - ], - [ - 81.63029, - 30.446842 - ], - [ - 81.723913, - 30.407623 - ], - [ - 81.759021, - 30.385426 - ], - [ - 81.872354, - 30.373035 - ], - [ - 81.939491, - 30.344633 - ], - [ - 81.954274, - 30.355995 - ], - [ - 81.99123, - 30.322939 - ], - [ - 82.022027, - 30.339468 - ], - [ - 82.060215, - 30.332237 - ], - [ - 82.104563, - 30.346182 - ], - [ - 82.132896, - 30.30434 - ], - [ - 82.11873, - 30.279019 - ], - [ - 82.114418, - 30.226806 - ], - [ - 82.142135, - 30.200948 - ], - [ - 82.188947, - 30.18543 - ], - [ - 82.207425, - 30.143519 - ], - [ - 82.183403, - 30.12178 - ], - [ - 82.17786, - 30.06793 - ], - [ - 82.246845, - 30.071555 - ], - [ - 82.311519, - 30.035813 - ], - [ - 82.333693, - 30.045138 - ], - [ - 82.368185, - 30.014051 - ], - [ - 82.412533, - 30.011978 - ], - [ - 82.431011, - 29.989692 - ], - [ - 82.474743, - 29.973622 - ], - [ - 82.498148, - 29.947698 - ], - [ - 82.560974, - 29.955476 - ], - [ - 82.609017, - 29.886489 - ], - [ - 82.64351, - 29.868846 - ], - [ - 82.6238, - 29.834588 - ], - [ - 82.703872, - 29.847566 - ], - [ - 82.737749, - 29.80655 - ], - [ - 82.691553, - 29.766037 - ], - [ - 82.757459, - 29.761881 - ], - [ - 82.774089, - 29.726548 - ], - [ - 82.816589, - 29.717192 - ], - [ - 82.830756, - 29.687562 - ], - [ - 82.885574, - 29.689122 - ], - [ - 82.9484, - 29.704718 - ], - [ - 82.966878, - 29.658963 - ], - [ - 83.011226, - 29.667804 - ], - [ - 83.088834, - 29.604863 - ], - [ - 83.12887, - 29.623593 - ], - [ - 83.159667, - 29.61735 - ], - [ - 83.164595, - 29.595496 - ], - [ - 83.217565, - 29.60018 - ], - [ - 83.266841, - 29.571035 - ], - [ - 83.27608, - 29.505951 - ], - [ - 83.325355, - 29.502826 - ], - [ - 83.383253, - 29.42206 - ], - [ - 83.415898, - 29.420496 - ], - [ - 83.423289, - 29.361053 - ], - [ - 83.450391, - 29.332883 - ], - [ - 83.463941, - 29.285916 - ], - [ - 83.492274, - 29.280174 - ], - [ - 83.548941, - 29.201322 - ], - [ - 83.57789, - 29.203934 - ], - [ - 83.596368, - 29.174153 - ], - [ - 83.656114, - 29.16736 - ], - [ - 83.667201, - 29.200277 - ], - [ - 83.727563, - 29.244672 - ], - [ - 83.800244, - 29.249372 - ], - [ - 83.82057, - 29.294267 - ], - [ - 83.851367, - 29.294789 - ], - [ - 83.911729, - 29.323491 - ], - [ - 83.949301, - 29.312533 - ], - [ - 83.986874, - 29.325057 - ], - [ - 84.002272, - 29.291658 - ], - [ - 84.052163, - 29.296877 - ], - [ - 84.116837, - 29.286438 - ], - [ - 84.130388, - 29.239972 - ], - [ - 84.203068, - 29.239972 - ], - [ - 84.197525, - 29.210202 - ], - [ - 84.17104, - 29.19453 - ], - [ - 84.176583, - 29.133909 - ], - [ - 84.20738, - 29.118749 - ], - [ - 84.192597, - 29.084236 - ], - [ - 84.194445, - 29.045004 - ], - [ - 84.224626, - 29.049189 - ], - [ - 84.248648, - 29.030353 - ], - [ - 84.228322, - 28.949738 - ], - [ - 84.234481, - 28.889497 - ], - [ - 84.268358, - 28.895261 - ], - [ - 84.330568, - 28.859101 - ], - [ - 84.340423, - 28.866963 - ], - [ - 84.408176, - 28.85386 - ], - [ - 84.404481, - 28.828173 - ], - [ - 84.434046, - 28.823978 - ], - [ - 84.445133, - 28.764189 - ], - [ - 84.483321, - 28.735331 - ], - [ - 84.557233, - 28.74635 - ], - [ - 84.620059, - 28.732182 - ], - [ - 84.650856, - 28.714338 - ], - [ - 84.669334, - 28.680742 - ], - [ - 84.699515, - 28.671816 - ], - [ - 84.698284, - 28.633478 - ], - [ - 84.773428, - 28.610363 - ], - [ - 84.857196, - 28.567798 - ], - [ - 84.896616, - 28.587244 - ], - [ - 84.981616, - 28.586193 - ], - [ - 84.995782, - 28.611414 - ], - [ - 85.05676, - 28.674441 - ], - [ - 85.126361, - 28.676016 - ], - [ - 85.155926, - 28.643983 - ], - [ - 85.195963, - 28.624022 - ], - [ - 85.18426, - 28.587244 - ], - [ - 85.189803, - 28.544669 - ], - [ - 85.160238, - 28.49261 - ], - [ - 85.108499, - 28.461047 - ], - [ - 85.129441, - 28.377885 - ], - [ - 85.113427, - 28.344708 - ], - [ - 85.179948, - 28.324164 - ], - [ - 85.209513, - 28.338914 - ], - [ - 85.272339, - 28.282538 - ], - [ - 85.349947, - 28.298347 - ], - [ - 85.379512, - 28.274105 - ], - [ - 85.415853, - 28.321003 - ], - [ - 85.458969, - 28.332593 - ], - [ - 85.520563, - 28.326798 - ], - [ - 85.602483, - 28.295712 - ], - [ - 85.601251, - 28.254075 - ], - [ - 85.650526, - 28.283592 - ], - [ - 85.682555, - 28.375779 - ], - [ - 85.720743, - 28.372093 - ], - [ - 85.753388, - 28.227714 - ], - [ - 85.791576, - 28.195544 - ], - [ - 85.854402, - 28.172334 - ], - [ - 85.871648, - 28.124843 - ], - [ - 85.898749, - 28.101617 - ], - [ - 85.901213, - 28.053566 - ], - [ - 85.980053, - 27.984357 - ], - [ - 85.949256, - 27.937311 - ], - [ - 86.002227, - 27.90717 - ], - [ - 86.053966, - 27.900823 - ], - [ - 86.125415, - 27.923035 - ], - [ - 86.082915, - 28.018175 - ], - [ - 86.086611, - 28.090002 - ], - [ - 86.128495, - 28.086835 - ], - [ - 86.140198, - 28.114814 - ], - [ - 86.19132, - 28.167058 - ], - [ - 86.223965, - 28.092642 - ], - [ - 86.206103, - 28.084195 - ], - [ - 86.231972, - 27.974315 - ], - [ - 86.27324, - 27.976958 - ], - [ - 86.308965, - 27.950528 - ], - [ - 86.393349, - 27.926736 - ], - [ - 86.414906, - 27.904526 - ], - [ - 86.450015, - 27.908757 - ], - [ - 86.475884, - 27.944713 - ], - [ - 86.514689, - 27.954757 - ], - [ - 86.513457, - 27.996511 - ], - [ - 86.537478, - 28.044587 - ], - [ - 86.55842, - 28.047757 - ], - [ - 86.568891, - 28.103201 - ], - [ - 86.60092, - 28.097922 - ], - [ - 86.611391, - 28.069938 - ], - [ - 86.647732, - 28.06941 - ], - [ - 86.662514, - 28.092114 - ], - [ - 86.700086, - 28.101617 - ], - [ - 86.74813, - 28.089474 - ], - [ - 86.768456, - 28.06941 - ], - [ - 86.756753, - 28.032967 - ], - [ - 86.827586, - 28.012363 - ], - [ - 86.864542, - 28.022401 - ], - [ - 86.885484, - 27.995983 - ], - [ - 86.926752, - 27.985942 - ], - [ - 86.935375, - 27.955286 - ], - [ - 87.035157, - 27.946299 - ], - [ - 87.080737, - 27.910872 - ], - [ - 87.118309, - 27.840512 - ], - [ - 87.173744, - 27.818284 - ], - [ - 87.227946, - 27.812991 - ], - [ - 87.249504, - 27.839454 - ], - [ - 87.280917, - 27.845275 - ], - [ - 87.317258, - 27.826753 - ], - [ - 87.364069, - 27.824106 - ], - [ - 87.421967, - 27.856916 - ], - [ - 87.418272, - 27.825694 - ], - [ - 87.45954, - 27.820931 - ], - [ - 87.58088, - 27.859562 - ], - [ - 87.598126, - 27.814579 - ], - [ - 87.670191, - 27.832045 - ], - [ - 87.668343, - 27.809815 - ], - [ - 87.727473, - 27.802933 - ], - [ - 87.77798, - 27.860091 - ], - [ - 87.782292, - 27.890774 - ], - [ - 87.826639, - 27.927794 - ], - [ - 87.930733, - 27.909285 - ], - [ - 87.982472, - 27.884426 - ], - [ - 88.037291, - 27.901881 - ], - [ - 88.090877, - 27.885484 - ], - [ - 88.111819, - 27.864852 - ], - [ - 88.137689, - 27.878607 - ], - [ - 88.120442, - 27.915103 - ], - [ - 88.156783, - 27.957929 - ], - [ - 88.203594, - 27.943127 - ], - [ - 88.242398, - 27.967444 - ], - [ - 88.254101, - 27.939426 - ], - [ - 88.357579, - 27.986471 - ], - [ - 88.401311, - 27.976958 - ], - [ - 88.43334, - 28.002852 - ], - [ - 88.469064, - 28.009721 - ], - [ - 88.498013, - 28.04089 - ], - [ - 88.554064, - 28.027684 - ], - [ - 88.565151, - 28.083139 - ], - [ - 88.620585, - 28.091586 - ], - [ - 88.645223, - 28.111119 - ], - [ - 88.67602, - 28.068353 - ], - [ - 88.764099, - 28.068353 - ], - [ - 88.812142, - 28.018175 - ], - [ - 88.842939, - 28.006023 - ], - [ - 88.846635, - 27.921448 - ], - [ - 88.864497, - 27.921448 - ], - [ - 88.888519, - 27.846863 - ], - [ - 88.863265, - 27.811932 - ], - [ - 88.870657, - 27.743098 - ], - [ - 88.850331, - 27.710783 - ], - [ - 88.852178, - 27.671039 - ], - [ - 88.816454, - 27.641354 - ], - [ - 88.813374, - 27.606889 - ], - [ - 88.770874, - 27.563924 - ], - [ - 88.797976, - 27.521473 - ], - [ - 88.783193, - 27.467324 - ], - [ - 88.809063, - 27.405711 - ], - [ - 88.838012, - 27.37808 - ], - [ - 88.867577, - 27.3818 - ], - [ - 88.901453, - 27.327583 - ], - [ - 88.920548, - 27.325456 - ], - [ - 88.911924, - 27.272807 - ], - [ - 88.942105, - 27.261636 - ], - [ - 88.984605, - 27.208957 - ], - [ - 89.067757, - 27.240354 - ], - [ - 89.077612, - 27.287168 - ], - [ - 89.152757, - 27.319076 - ], - [ - 89.182938, - 27.373829 - ], - [ - 89.132431, - 27.441302 - ], - [ - 89.095474, - 27.471572 - ], - [ - 89.109025, - 27.537925 - ], - [ - 89.163228, - 27.574534 - ], - [ - 89.128735, - 27.611131 - ], - [ - 89.131815, - 27.633402 - ], - [ - 89.184786, - 27.673689 - ], - [ - 89.238988, - 27.796581 - ], - [ - 89.295655, - 27.84845 - ], - [ - 89.375727, - 27.875962 - ], - [ - 89.44348, - 27.968501 - ], - [ - 89.461958, - 28.03191 - ], - [ - 89.511233, - 28.086307 - ], - [ - 89.541414, - 28.088418 - ], - [ - 89.605472, - 28.161782 - ], - [ - 89.720037, - 28.170224 - ], - [ - 89.779167, - 28.197127 - ], - [ - 89.789638, - 28.240895 - ], - [ - 89.869094, - 28.221386 - ], - [ - 89.901739, - 28.18183 - ], - [ - 89.976268, - 28.189215 - ], - [ - 90.017536, - 28.162837 - ], - [ - 90.03355, - 28.136981 - ], - [ - 90.07297, - 28.155451 - ], - [ - 90.103151, - 28.141731 - ], - [ - 90.124709, - 28.190797 - ], - [ - 90.166593, - 28.187632 - ], - [ - 90.189999, - 28.161782 - ], - [ - 90.231882, - 28.144897 - ], - [ - 90.297172, - 28.153868 - ], - [ - 90.367389, - 28.088946 - ], - [ - 90.384019, - 28.06096 - ], - [ - 90.43699, - 28.063073 - ], - [ - 90.47949, - 28.044587 - ], - [ - 90.513983, - 28.062016 - ], - [ - 90.569417, - 28.044059 - ], - [ - 90.591591, - 28.021345 - ], - [ - 90.701844, - 28.076274 - ], - [ - 90.741264, - 28.053038 - ], - [ - 90.802242, - 28.040362 - ], - [ - 90.806554, - 28.015005 - ], - [ - 90.853365, - 27.969029 - ], - [ - 90.896481, - 27.946299 - ], - [ - 90.96177, - 27.9537 - ], - [ - 90.976553, - 27.935725 - ], - [ - 90.96485, - 27.900294 - ], - [ - 91.025828, - 27.857445 - ], - [ - 91.113292, - 27.846333 - ], - [ - 91.155175, - 27.894476 - ], - [ - 91.147784, - 27.927794 - ], - [ - 91.162567, - 27.968501 - ], - [ - 91.216153, - 27.989113 - ], - [ - 91.251878, - 27.970615 - ], - [ - 91.309776, - 28.057791 - ], - [ - 91.464993, - 28.002852 - ], - [ - 91.490246, - 27.971672 - ], - [ - 91.486551, - 27.937311 - ], - [ - 91.552456, - 27.90717 - ], - [ - 91.611586, - 27.891303 - ], - [ - 91.618978, - 27.856916 - ], - [ - 91.561079, - 27.855329 - ], - [ - 91.544449, - 27.820401 - ], - [ - 91.610355, - 27.819343 - ], - [ - 91.642383, - 27.7664 - ], - [ - 91.622673, - 27.692238 - ], - [ - 91.570934, - 27.650897 - ], - [ - 91.562311, - 27.627569 - ], - [ - 91.582637, - 27.598933 - ], - [ - 91.564775, - 27.58196 - ], - [ - 91.585101, - 27.540578 - ], - [ - 91.626985, - 27.509265 - ], - [ - 91.663325, - 27.507142 - ], - [ - 91.71876, - 27.467324 - ], - [ - 91.753868, - 27.462545 - ], - [ - 91.839484, - 27.489624 - ], - [ - 91.946657, - 27.464138 - ], - [ - 92.010715, - 27.474758 - ], - [ - 92.021802, - 27.444489 - ], - [ - 92.064918, - 27.391365 - ], - [ - 92.125896, - 27.273339 - ], - [ - 92.091403, - 27.264296 - ], - [ - 92.071077, - 27.237694 - ], - [ - 92.061222, - 27.190327 - ], - [ - 92.032273, - 27.167967 - ], - [ - 92.02673, - 27.108318 - ], - [ - 92.043976, - 27.052902 - ], - [ - 92.076005, - 27.041175 - ], - [ - 92.124664, - 26.960124 - ], - [ - 92.109265, - 26.854991 - ], - [ - 92.197961, - 26.86994 - ], - [ - 92.28604, - 26.892359 - ], - [ - 92.404916, - 26.9025 - ], - [ - 92.496691, - 26.921711 - ], - [ - 92.549046, - 26.941453 - ], - [ - 92.64698, - 26.952656 - ], - [ - 92.682089, - 26.947855 - ], - [ - 92.802813, - 26.895028 - ], - [ - 92.909371, - 26.914241 - ], - [ - 93.050421, - 26.883819 - ], - [ - 93.111399, - 26.880082 - ], - [ - 93.232739, - 26.906769 - ], - [ - 93.56781, - 26.938252 - ], - [ - 93.625092, - 26.955323 - ], - [ - 93.747048, - 27.015587 - ], - [ - 93.817265, - 27.025183 - ], - [ - 93.841903, - 27.045973 - ], - [ - 93.849294, - 27.168499 - ], - [ - 93.970634, - 27.30525 - ], - [ - 94.056866, - 27.375423 - ], - [ - 94.147409, - 27.458297 - ], - [ - 94.220705, - 27.536333 - ], - [ - 94.277372, - 27.58143 - ], - [ - 94.353132, - 27.578778 - ], - [ - 94.399944, - 27.589386 - ], - [ - 94.443675, - 27.585143 - ], - [ - 94.478168, - 27.602116 - ], - [ - 94.524979, - 27.596282 - ], - [ - 94.660486, - 27.650367 - ], - [ - 94.722696, - 27.683759 - ], - [ - 94.78121, - 27.699127 - ], - [ - 94.836645, - 27.728796 - ], - [ - 94.88592, - 27.743098 - ], - [ - 94.947514, - 27.792345 - ], - [ - 95.015267, - 27.82887 - ], - [ - 95.067006, - 27.840512 - ], - [ - 95.28628, - 27.939955 - ], - [ - 95.32878, - 28.017646 - ], - [ - 95.352802, - 28.04089 - ], - [ - 95.371896, - 28.110063 - ], - [ - 95.39715, - 28.142259 - ], - [ - 95.437802, - 28.161782 - ], - [ - 95.528345, - 28.182885 - ], - [ - 95.674322, - 28.254075 - ], - [ - 95.740228, - 28.275159 - ], - [ - 95.787655, - 28.270416 - ], - [ - 95.832003, - 28.295186 - ], - [ - 95.874502, - 28.29782 - ], - [ - 95.899756, - 28.278322 - ], - [ - 95.907763, - 28.241422 - ], - [ - 95.936096, - 28.240368 - ], - [ - 95.989067, - 28.198181 - ], - [ - 96.074683, - 28.193434 - ], - [ - 96.098088, - 28.212421 - ], - [ - 96.194175, - 28.212949 - ], - [ - 96.275479, - 28.228241 - ], - [ - 96.298269, - 28.140148 - ], - [ - 96.367254, - 28.118509 - ], - [ - 96.398667, - 28.118509 - ], - [ - 96.395587, - 28.143842 - ], - [ - 96.426384, - 28.161782 - ], - [ - 96.46334, - 28.143314 - ], - [ - 96.499681, - 28.067297 - ], - [ - 96.538485, - 28.075218 - ], - [ - 96.623485, - 28.024514 - ], - [ - 96.635188, - 27.994926 - ], - [ - 96.690622, - 27.948942 - ], - [ - 96.711564, - 27.9574 - ], - [ - 96.784245, - 27.931495 - ], - [ - 96.810114, - 27.890245 - ], - [ - 96.849534, - 27.874375 - ], - [ - 96.908049, - 27.884426 - ], - [ - 96.972722, - 27.861149 - ], - [ - 97.008447, - 27.807698 - ], - [ - 97.049099, - 27.81405 - ], - [ - 97.062649, - 27.742568 - ], - [ - 97.097758, - 27.740979 - ], - [ - 97.103301, - 27.780697 - ], - [ - 97.167975, - 27.811932 - ], - [ - 97.253591, - 27.891832 - ], - [ - 97.303482, - 27.913516 - ], - [ - 97.324424, - 27.880723 - ], - [ - 97.386634, - 27.882839 - ], - [ - 97.372467, - 27.907699 - ], - [ - 97.379242, - 27.970087 - ], - [ - 97.413119, - 28.01342 - ], - [ - 97.378626, - 28.031382 - ], - [ - 97.375547, - 28.062545 - ], - [ - 97.320728, - 28.054095 - ], - [ - 97.305945, - 28.071522 - ], - [ - 97.340438, - 28.104785 - ], - [ - 97.326887, - 28.132759 - ], - [ - 97.352757, - 28.149646 - ], - [ - 97.362612, - 28.199236 - ], - [ - 97.349677, - 28.235623 - ], - [ - 97.398336, - 28.238786 - ], - [ - 97.402032, - 28.279903 - ], - [ - 97.422358, - 28.297293 - ], - [ - 97.461162, - 28.26778 - ], - [ - 97.469169, - 28.30309 - ], - [ - 97.518445, - 28.327852 - ], - [ - 97.488879, - 28.347341 - ], - [ - 97.485184, - 28.38631 - ], - [ - 97.499966, - 28.428948 - ], - [ - 97.521524, - 28.444736 - ], - [ - 97.507974, - 28.46473 - ], - [ - 97.521524, - 28.495766 - ], - [ - 97.569567, - 28.541515 - ], - [ - 97.60406, - 28.515225 - ], - [ - 97.634857, - 28.532051 - ], - [ - 97.68598, - 28.519958 - ], - [ - 97.737103, - 28.465782 - ], - [ - 97.738335, - 28.396313 - ], - [ - 97.769748, - 28.3742 - ], - [ - 97.801161, - 28.326798 - ], - [ - 97.842429, - 28.326798 - ], - [ - 97.871378, - 28.361561 - ], - [ - 97.907718, - 28.363141 - ], - [ - 98.020435, - 28.253548 - ], - [ - 98.008116, - 28.214003 - ], - [ - 98.03337, - 28.187105 - ], - [ - 98.056775, - 28.202401 - ], - [ - 98.090036, - 28.195544 - ], - [ - 98.097427, - 28.166531 - ], - [ - 98.139311, - 28.142259 - ], - [ - 98.17442, - 28.163365 - ], - [ - 98.169492, - 28.206093 - ], - [ - 98.21692, - 28.212949 - ], - [ - 98.266811, - 28.242477 - ], - [ - 98.231702, - 28.314681 - ], - [ - 98.207681, - 28.330486 - ], - [ - 98.208913, - 28.358401 - ], - [ - 98.301303, - 28.384204 - ], - [ - 98.317934, - 28.324691 - ], - [ - 98.353042, - 28.293078 - ], - [ - 98.37768, - 28.246167 - ], - [ - 98.370289, - 28.18394 - ], - [ - 98.389999, - 28.16442 - ], - [ - 98.389383, - 28.114814 - ], - [ - 98.428803, - 28.104785 - ], - [ - 98.464527, - 28.151229 - ], - [ - 98.494092, - 28.141203 - ], - [ - 98.559382, - 28.182885 - ], - [ - 98.625903, - 28.165475 - ], - [ - 98.649925, - 28.200291 - ], - [ - 98.712135, - 28.229296 - ], - [ - 98.710287, - 28.288862 - ], - [ - 98.746628, - 28.321003 - ], - [ - 98.740468, - 28.348395 - ], - [ - 98.693041, - 28.43158 - ], - [ - 98.673947, - 28.478934 - ], - [ - 98.625903, - 28.489455 - ], - [ - 98.619128, - 28.50944 - ], - [ - 98.637606, - 28.552029 - ], - [ - 98.594491, - 28.667615 - ], - [ - 98.666555, - 28.712239 - ], - [ - 98.683802, - 28.740054 - ], - [ - 98.652389, - 28.817162 - ], - [ - 98.668403, - 28.843376 - ], - [ - 98.643766, - 28.895261 - ], - [ - 98.6567, - 28.910454 - ], - [ - 98.624056, - 28.95864 - ], - [ - 98.655469, - 28.976966 - ], - [ - 98.70228, - 28.9644 - ], - [ - 98.757714, - 29.004186 - ], - [ - 98.786048, - 28.998952 - ], - [ - 98.821772, - 28.920931 - ], - [ - 98.827932, - 28.821356 - ], - [ - 98.852569, - 28.798283 - ], - [ - 98.912931, - 28.800906 - ], - [ - 98.922786, - 28.823978 - ], - [ - 98.972677, - 28.832367 - ], - [ - 98.973909, - 28.864867 - ], - [ - 98.917859, - 28.886877 - ], - [ - 98.925866, - 28.978536 - ], - [ - 99.013329, - 29.036632 - ], - [ - 98.991771, - 29.105677 - ], - [ - 98.967134, - 29.128159 - ], - [ - 98.960974, - 29.165792 - ], - [ - 98.9813, - 29.204978 - ], - [ - 99.024416, - 29.188783 - ], - [ - 99.037351, - 29.20759 - ], - [ - 99.113727, - 29.221171 - ], - [ - 99.114343, - 29.243628 - ], - [ - 99.075539, - 29.316186 - ], - [ - 99.058909, - 29.417368 - ], - [ - 99.066916, - 29.421018 - ], - [ - 99.044742, - 29.520013 - ], - [ - 99.052133, - 29.563748 - ], - [ - 99.014561, - 29.607464 - ], - [ - 98.992387, - 29.677163 - ], - [ - 99.018873, - 29.792009 - ], - [ - 99.0238, - 29.846009 - ], - [ - 99.068148, - 29.931621 - ], - [ - 99.055213, - 29.958587 - ], - [ - 99.036735, - 30.053945 - ], - [ - 99.044742, - 30.079842 - ], - [ - 98.989308, - 30.151799 - ], - [ - 98.9813, - 30.182843 - ], - [ - 98.993003, - 30.215429 - ], - [ - 98.970829, - 30.260928 - ], - [ - 98.986844, - 30.280569 - ], - [ - 98.967134, - 30.33482 - ], - [ - 98.965286, - 30.449937 - ], - [ - 98.932025, - 30.521623 - ], - [ - 98.926482, - 30.569556 - ], - [ - 98.939417, - 30.598923 - ], - [ - 98.92217, - 30.609225 - ], - [ - 98.907388, - 30.698292 - ], - [ - 98.963438, - 30.728134 - ], - [ - 98.957895, - 30.765166 - ], - [ - 98.904924, - 30.782649 - ], - [ - 98.850105, - 30.849465 - ], - [ - 98.797135, - 30.87926 - ], - [ - 98.774345, - 30.908019 - ], - [ - 98.797135, - 30.948575 - ], - [ - 98.806374, - 30.995783 - ], - [ - 98.774961, - 31.031174 - ], - [ - 98.736772, - 31.049121 - ], - [ - 98.712135, - 31.082954 - ], - [ - 98.710287, - 31.1178 - ], - [ - 98.675179, - 31.15417 - ], - [ - 98.602498, - 31.192062 - ], - [ - 98.62344, - 31.221238 - ], - [ - 98.60373, - 31.257568 - ], - [ - 98.616048, - 31.3036 - ], - [ - 98.643766, - 31.338876 - ], - [ - 98.691809, - 31.333253 - ], - [ - 98.773113, - 31.249382 - ], - [ - 98.805758, - 31.279052 - ], - [ - 98.810685, - 31.306668 - ], - [ - 98.887062, - 31.37465 - ], - [ - 98.84333, - 31.416028 - ], - [ - 98.844562, - 31.429817 - ], - [ - 98.714599, - 31.508935 - ], - [ - 98.696736, - 31.538523 - ], - [ - 98.651157, - 31.57881 - ], - [ - 98.619128, - 31.591555 - ], - [ - 98.553839, - 31.660349 - ], - [ - 98.545831, - 31.717383 - ], - [ - 98.516882, - 31.717383 - ], - [ - 98.508875, - 31.751995 - ], - [ - 98.461448, - 31.800327 - ], - [ - 98.414636, - 31.832365 - ], - [ - 98.426339, - 31.856767 - ], - [ - 98.399238, - 31.895899 - ], - [ - 98.432498, - 31.922825 - ], - [ - 98.434962, - 32.007613 - ], - [ - 98.402933, - 32.026896 - ], - [ - 98.404781, - 32.045159 - ], - [ - 98.357354, - 32.087253 - ], - [ - 98.303151, - 32.121726 - ], - [ - 98.260035, - 32.208862 - ], - [ - 98.218768, - 32.234683 - ], - [ - 98.23047, - 32.262521 - ], - [ - 98.208913, - 32.318171 - ], - [ - 98.218768, - 32.342444 - ], - [ - 98.125145, - 32.401077 - ], - [ - 98.107283, - 32.391476 - ], - [ - 98.079565, - 32.415224 - ], - [ - 97.940363, - 32.482393 - ], - [ - 97.880001, - 32.486431 - ], - [ - 97.863986, - 32.499051 - ], - [ - 97.80732, - 32.50006 - ], - [ - 97.795617, - 32.521257 - ], - [ - 97.730944, - 32.527312 - ], - [ - 97.684132, - 32.530339 - ], - [ - 97.670582, - 32.51722 - ], - [ - 97.540618, - 32.536899 - ], - [ - 97.50243, - 32.530844 - ], - [ - 97.463626, - 32.55506 - ], - [ - 97.448843, - 32.586833 - ], - [ - 97.411887, - 32.575235 - ], - [ - 97.374315, - 32.546484 - ], - [ - 97.3583, - 32.563635 - ], - [ - 97.332431, - 32.542448 - ], - [ - 97.334895, - 32.514192 - ], - [ - 97.388481, - 32.501575 - ], - [ - 97.341054, - 32.440987 - ], - [ - 97.387865, - 32.427349 - ], - [ - 97.424822, - 32.322723 - ], - [ - 97.415583, - 32.296421 - ], - [ - 97.371235, - 32.273148 - ], - [ - 97.32196, - 32.303503 - ], - [ - 97.299786, - 32.294904 - ], - [ - 97.264062, - 32.182527 - ], - [ - 97.271453, - 32.139971 - ], - [ - 97.313953, - 32.130342 - ], - [ - 97.293011, - 32.096887 - ], - [ - 97.308409, - 32.076605 - ], - [ - 97.258518, - 32.072041 - ], - [ - 97.219714, - 32.109054 - ], - [ - 97.201852, - 32.090296 - ], - [ - 97.233881, - 32.063927 - ], - [ - 97.214786, - 32.042623 - ], - [ - 97.188301, - 32.055304 - ], - [ - 97.169823, - 32.032984 - ], - [ - 97.127323, - 32.044145 - ], - [ - 97.028773, - 32.04871 - ], - [ - 97.006599, - 32.067984 - ], - [ - 96.935766, - 32.048203 - ], - [ - 96.965947, - 32.008628 - ], - [ - 96.941925, - 31.986297 - ], - [ - 96.894498, - 32.013703 - ], - [ - 96.863085, - 31.996448 - ], - [ - 96.868629, - 31.964975 - ], - [ - 96.824281, - 32.007613 - ], - [ - 96.722651, - 32.013195 - ], - [ - 96.742977, - 32.001016 - ], - [ - 96.753448, - 31.944156 - ], - [ - 96.776238, - 31.935015 - ], - [ - 96.81073, - 31.894375 - ], - [ - 96.794716, - 31.869474 - ], - [ - 96.760223, - 31.860325 - ], - [ - 96.765767, - 31.819144 - ], - [ - 96.799027, - 31.792188 - ], - [ - 96.840295, - 31.720438 - ], - [ - 96.790404, - 31.698545 - ], - [ - 96.778701, - 31.675629 - ], - [ - 96.722651, - 31.686833 - ], - [ - 96.691854, - 31.722474 - ], - [ - 96.661057, - 31.705674 - ], - [ - 96.615477, - 31.737236 - ], - [ - 96.56805, - 31.711783 - ], - [ - 96.519391, - 31.74945 - ], - [ - 96.468884, - 31.769804 - ], - [ - 96.435623, - 31.796258 - ], - [ - 96.407906, - 31.845583 - ], - [ - 96.389428, - 31.919777 - ], - [ - 96.288414, - 31.919777 - ], - [ - 96.253305, - 31.929936 - ], - [ - 96.220044, - 31.905553 - ], - [ - 96.188632, - 31.904028 - ], - [ - 96.214501, - 31.876589 - ], - [ - 96.202798, - 31.841008 - ], - [ - 96.183088, - 31.835924 - ], - [ - 96.178161, - 31.775401 - ], - [ - 96.231131, - 31.749959 - ], - [ - 96.222508, - 31.733164 - ], - [ - 96.252073, - 31.697527 - ], - [ - 96.245298, - 31.657802 - ], - [ - 96.221892, - 31.647613 - ], - [ - 96.207726, - 31.598691 - ], - [ - 96.156603, - 31.602769 - ], - [ - 96.148595, - 31.686324 - ], - [ - 96.135661, - 31.70211 - ], - [ - 96.064828, - 31.720438 - ], - [ - 95.989067, - 31.78761 - ], - [ - 95.983524, - 31.816601 - ], - [ - 95.89914, - 31.81711 - ], - [ - 95.846169, - 31.736218 - ], - [ - 95.853561, - 31.714329 - ], - [ - 95.823995, - 31.68225 - ], - [ - 95.779648, - 31.748941 - ], - [ - 95.634286, - 31.782523 - ], - [ - 95.580083, - 31.76726 - ], - [ - 95.546823, - 31.73978 - ], - [ - 95.511714, - 31.750468 - ], - [ - 95.480301, - 31.795749 - ], - [ - 95.456896, - 31.801853 - ], - [ - 95.406389, - 31.896915 - ], - [ - 95.408852, - 31.918761 - ], - [ - 95.3682, - 31.92892 - ], - [ - 95.360809, - 31.95939 - ], - [ - 95.395918, - 32.001523 - ], - [ - 95.454432, - 32.007613 - ], - [ - 95.421171, - 32.033999 - ], - [ - 95.454432, - 32.061898 - ], - [ - 95.440265, - 32.157705 - ], - [ - 95.406389, - 32.182021 - ], - [ - 95.367584, - 32.178982 - ], - [ - 95.366968, - 32.151118 - ], - [ - 95.31523, - 32.148585 - ], - [ - 95.270266, - 32.194683 - ], - [ - 95.270266, - 32.194683 - ], - [ - 95.239469, - 32.287315 - ], - [ - 95.241317, - 32.3207 - ], - [ - 95.214216, - 32.321712 - ], - [ - 95.20744, - 32.297433 - ], - [ - 95.10581, - 32.258979 - ], - [ - 95.079325, - 32.279726 - ], - [ - 95.096571, - 32.322217 - ], - [ - 95.193274, - 32.332331 - ], - [ - 95.261643, - 32.348006 - ], - [ - 95.228382, - 32.363678 - ], - [ - 95.218527, - 32.397035 - ], - [ - 95.153853, - 32.386423 - ], - [ - 95.081789, - 32.384907 - ], - [ - 95.075013, - 32.376315 - ], - [ - 95.075013, - 32.376315 - ], - [ - 95.057151, - 32.395014 - ], - [ - 94.988166, - 32.422802 - ], - [ - 94.944434, - 32.404109 - ], - [ - 94.912405, - 32.41573 - ], - [ - 94.889616, - 32.472295 - ], - [ - 94.852043, - 32.463712 - ], - [ - 94.80708, - 32.486431 - ], - [ - 94.78737, - 32.522266 - ], - [ - 94.762116, - 32.526303 - ], - [ - 94.737479, - 32.587338 - ], - [ - 94.638312, - 32.645307 - ], - [ - 94.614291, - 32.673522 - ], - [ - 94.591501, - 32.640772 - ], - [ - 94.522516, - 32.595909 - ], - [ - 94.459074, - 32.599439 - ], - [ - 94.463386, - 32.572209 - ], - [ - 94.435052, - 32.562626 - ], - [ - 94.395016, - 32.594397 - ], - [ - 94.371611, - 32.524789 - ], - [ - 94.350053, - 32.533871 - ], - [ - 94.294002, - 32.519743 - ], - [ - 94.292154, - 32.502584 - ], - [ - 94.250886, - 32.51722 - ], - [ - 94.196684, - 32.51621 - ], - [ - 94.176974, - 32.454117 - ], - [ - 94.137554, - 32.433915 - ], - [ - 94.091974, - 32.463207 - ], - [ - 94.049474, - 32.469771 - ], - [ - 94.03038, - 32.448057 - ], - [ - 93.978641, - 32.459672 - ], - [ - 93.960163, - 32.484917 - ], - [ - 93.90904, - 32.463207 - ], - [ - 93.861613, - 32.466237 - ], - [ - 93.851142, - 32.50965 - ], - [ - 93.820345, - 32.549511 - ], - [ - 93.75136, - 32.56313 - ], - [ - 93.721795, - 32.578261 - ], - [ - 93.651577, - 32.571705 - ], - [ - 93.618933, - 32.522771 - ], - [ - 93.516687, - 32.47583 - ], - [ - 93.501904, - 32.503593 - ], - [ - 93.476651, - 32.504603 - ], - [ - 93.4631, - 32.556069 - ], - [ - 93.411977, - 32.558086 - ], - [ - 93.385492, - 32.525294 - ], - [ - 93.33868, - 32.5712 - ], - [ - 93.308499, - 32.580278 - ], - [ - 93.300492, - 32.619604 - ], - [ - 93.260456, - 32.62666 - ], - [ - 93.239514, - 32.662439 - ], - [ - 93.210565, - 32.655385 - ], - [ - 93.176688, - 32.6705 - ], - [ - 93.159442, - 32.644803 - ], - [ - 93.087993, - 32.63674 - ], - [ - 93.069515, - 32.626156 - ], - [ - 93.023935, - 32.703239 - ], - [ - 93.019624, - 32.737477 - ], - [ - 93.00053, - 32.741001 - ], - [ - 92.964189, - 32.714821 - ], - [ - 92.933392, - 32.719353 - ], - [ - 92.866871, - 32.698203 - ], - [ - 92.822523, - 32.729926 - ], - [ - 92.789262, - 32.719856 - ], - [ - 92.756618, - 32.743014 - ], - [ - 92.686401, - 32.76516 - ], - [ - 92.667922, - 32.73194 - ], - [ - 92.634662, - 32.720863 - ], - [ - 92.574916, - 32.741001 - ], - [ - 92.56814, - 32.73194 - ], - [ - 92.484372, - 32.745028 - ], - [ - 92.459119, - 32.76365 - ], - [ - 92.411076, - 32.748048 - ], - [ - 92.355641, - 32.764657 - ], - [ - 92.343938, - 32.738484 - ], - [ - 92.310062, - 32.751571 - ], - [ - 92.255243, - 32.720863 - ], - [ - 92.198577, - 32.754591 - ], - [ - 92.211511, - 32.788306 - ], - [ - 92.193649, - 32.801889 - ], - [ - 92.227526, - 32.821003 - ], - [ - 92.205352, - 32.866255 - ], - [ - 92.145606, - 32.885857 - ], - [ - 92.101874, - 32.860222 - ], - [ - 92.038432, - 32.860725 - ], - [ - 92.018722, - 32.829552 - ], - [ - 91.955897, - 32.8205 - ], - [ - 91.896766, - 32.907967 - ], - [ - 91.857962, - 32.90244 - ], - [ - 91.839484, - 32.948152 - ], - [ - 91.799448, - 32.942126 - ], - [ - 91.752637, - 32.969242 - ], - [ - 91.685499, - 32.989324 - ], - [ - 91.664557, - 33.012913 - ], - [ - 91.583253, - 33.0375 - ], - [ - 91.55492, - 33.060074 - ], - [ - 91.535826, - 33.10019 - ], - [ - 91.49579, - 33.109214 - ], - [ - 91.436044, - 33.066092 - ], - [ - 91.370138, - 33.100691 - ], - [ - 91.311624, - 33.108211 - ], - [ - 91.261733, - 33.141291 - ], - [ - 91.226624, - 33.141792 - ], - [ - 91.18782, - 33.106206 - ], - [ - 91.161335, - 33.108712 - ], - [ - 91.147784, - 33.07211 - ], - [ - 91.072024, - 33.113224 - ], - [ - 91.037531, - 33.098686 - ], - [ - 91.001807, - 33.11573 - ], - [ - 90.927894, - 33.120241 - ], - [ - 90.902024, - 33.083143 - ], - [ - 90.88293, - 33.120241 - ], - [ - 90.803474, - 33.114227 - ], - [ - 90.740032, - 33.142293 - ], - [ - 90.704308, - 33.135778 - ], - [ - 90.627315, - 33.180368 - ], - [ - 90.562642, - 33.229441 - ], - [ - 90.490577, - 33.264977 - ], - [ - 90.405577, - 33.260473 - ], - [ - 90.363077, - 33.279487 - ], - [ - 90.332896, - 33.310501 - ], - [ - 90.246665, - 33.423959 - ], - [ - 90.22018, - 33.437943 - ], - [ - 90.107463, - 33.460913 - ], - [ - 90.088984, - 33.478885 - ], - [ - 90.083441, - 33.525295 - ], - [ - 90.01076, - 33.553728 - ], - [ - 89.984275, - 33.612061 - ], - [ - 90.008296, - 33.687785 - ], - [ - 89.981195, - 33.70322 - ], - [ - 89.983659, - 33.725622 - ], - [ - 89.907282, - 33.741051 - ], - [ - 89.902355, - 33.758467 - ], - [ - 89.942391, - 33.801246 - ], - [ - 89.899891, - 33.80771 - ], - [ - 89.837065, - 33.868853 - ], - [ - 89.795181, - 33.865374 - ], - [ - 89.73174, - 33.921509 - ], - [ - 89.718805, - 33.946832 - ], - [ - 89.688008, - 33.959739 - ], - [ - 89.684928, - 33.990013 - ], - [ - 89.635037, - 34.049537 - ], - [ - 89.656595, - 34.057966 - ], - [ - 89.655979, - 34.097126 - ], - [ - 89.71203, - 34.131809 - ], - [ - 89.756993, - 34.124874 - ], - [ - 89.760073, - 34.152613 - ], - [ - 89.789638, - 34.150632 - ], - [ - 89.816739, - 34.16945 - ], - [ - 89.838297, - 34.263477 - ], - [ - 89.825362, - 34.293642 - ], - [ - 89.86663, - 34.324785 - ], - [ - 89.858623, - 34.359375 - ], - [ - 89.820435, - 34.369255 - ], - [ - 89.799493, - 34.39642 - ], - [ - 89.819819, - 34.420614 - ], - [ - 89.823515, - 34.455657 - ], - [ - 89.814891, - 34.548871 - ], - [ - 89.777935, - 34.574499 - ], - [ - 89.798877, - 34.628686 - ], - [ - 89.74837, - 34.641981 - ], - [ - 89.72558, - 34.660689 - ], - [ - 89.732356, - 34.732035 - ], - [ - 89.799493, - 34.743838 - ], - [ - 89.825978, - 34.796931 - ], - [ - 89.867862, - 34.81069 - ], - [ - 89.838913, - 34.865705 - ], - [ - 89.814891, - 34.86816 - ], - [ - 89.821051, - 34.902033 - ], - [ - 89.78779, - 34.921664 - ], - [ - 89.747138, - 34.903506 - ], - [ - 89.707102, - 34.919701 - ], - [ - 89.670146, - 34.887798 - ], - [ - 89.578987, - 34.895162 - ], - [ - 89.560509, - 34.938836 - ], - [ - 89.59069, - 35.057965 - ], - [ - 89.593153, - 35.104491 - ], - [ - 89.579603, - 35.118688 - ], - [ - 89.519241, - 35.133862 - ], - [ - 89.46935, - 35.214577 - ], - [ - 89.450255, - 35.223867 - ], - [ - 89.48598, - 35.256616 - ], - [ - 89.531559, - 35.276161 - ], - [ - 89.494603, - 35.298632 - ], - [ - 89.516161, - 35.330862 - ], - [ - 89.497067, - 35.361128 - ], - [ - 89.58761, - 35.383575 - ], - [ - 89.619639, - 35.412357 - ], - [ - 89.658443, - 35.425526 - ], - [ - 89.685544, - 35.416259 - ], - [ - 89.739131, - 35.468429 - ], - [ - 89.765, - 35.482563 - ], - [ - 89.740979, - 35.507412 - ], - [ - 89.720037, - 35.501566 - ], - [ - 89.699711, - 35.544916 - ], - [ - 89.71203, - 35.581915 - ], - [ - 89.75145, - 35.580942 - ], - [ - 89.765616, - 35.599922 - ], - [ - 89.726196, - 35.648082 - ], - [ - 89.748986, - 35.66267 - ], - [ - 89.747138, - 35.7516 - ], - [ - 89.782863, - 35.773453 - ], - [ - 89.767464, - 35.799183 - ], - [ - 89.801957, - 35.848193 - ], - [ - 89.778551, - 35.861775 - ], - [ - 89.707718, - 35.849163 - ], - [ - 89.654747, - 35.848193 - ], - [ - 89.62395, - 35.859349 - ], - [ - 89.550654, - 35.856924 - ], - [ - 89.554965, - 35.873414 - ], - [ - 89.489676, - 35.903475 - ], - [ - 89.428082, - 35.917531 - ], - [ - 89.434857, - 35.992136 - ], - [ - 89.404676, - 36.016827 - ], - [ - 89.417611, - 36.044897 - ], - [ - 89.474893, - 36.022151 - ], - [ - 89.605472, - 36.038123 - ], - [ - 89.688624, - 36.091337 - ], - [ - 89.711414, - 36.093272 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 610000, - "name": "陕西省", - "center": [ - 108.948024, - 34.263161 - ], - "centroid": [ - 108.887114, - 35.263661 - ], - "childrenNum": 10, - "cp": [108.5996, 33.7396], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 26, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 110.379257, - 34.600612 - ], - [ - 110.29549, - 34.610956 - ], - [ - 110.269004, - 34.629671 - ], - [ - 110.229584, - 34.692679 - ], - [ - 110.243135, - 34.725641 - ], - [ - 110.246831, - 34.789068 - ], - [ - 110.230816, - 34.880925 - ], - [ - 110.262229, - 34.944233 - ], - [ - 110.320743, - 35.00504 - ], - [ - 110.373714, - 35.134351 - ], - [ - 110.364475, - 35.197952 - ], - [ - 110.378642, - 35.210666 - ], - [ - 110.374946, - 35.251728 - ], - [ - 110.45009, - 35.327933 - ], - [ - 110.477808, - 35.413821 - ], - [ - 110.531394, - 35.511309 - ], - [ - 110.567735, - 35.539559 - ], - [ - 110.589293, - 35.602355 - ], - [ - 110.609619, - 35.632031 - ], - [ - 110.57759, - 35.701559 - ], - [ - 110.571431, - 35.800639 - ], - [ - 110.550489, - 35.838005 - ], - [ - 110.549257, - 35.877778 - ], - [ - 110.511684, - 35.879718 - ], - [ - 110.516612, - 35.918501 - ], - [ - 110.502445, - 35.947575 - ], - [ - 110.516612, - 35.971796 - ], - [ - 110.49259, - 35.994073 - ], - [ - 110.491974, - 36.034735 - ], - [ - 110.467953, - 36.074893 - ], - [ - 110.447011, - 36.164328 - ], - [ - 110.45625, - 36.22663 - ], - [ - 110.474112, - 36.248352 - ], - [ - 110.474112, - 36.306729 - ], - [ - 110.459946, - 36.327946 - ], - [ - 110.487047, - 36.393972 - ], - [ - 110.489511, - 36.430094 - ], - [ - 110.47288, - 36.453203 - ], - [ - 110.503677, - 36.488335 - ], - [ - 110.488895, - 36.556628 - ], - [ - 110.496902, - 36.582102 - ], - [ - 110.447627, - 36.621018 - ], - [ - 110.426685, - 36.657514 - ], - [ - 110.394656, - 36.676716 - ], - [ - 110.402663, - 36.697352 - ], - [ - 110.438388, - 36.685835 - ], - [ - 110.447011, - 36.737649 - ], - [ - 110.407591, - 36.776007 - ], - [ - 110.423605, - 36.818179 - ], - [ - 110.406975, - 36.824886 - ], - [ - 110.424221, - 36.855539 - ], - [ - 110.376178, - 36.882351 - ], - [ - 110.408823, - 36.892403 - ], - [ - 110.424221, - 36.963685 - ], - [ - 110.381721, - 37.002408 - ], - [ - 110.382953, - 37.022001 - ], - [ - 110.426685, - 37.008621 - ], - [ - 110.417446, - 37.027257 - ], - [ - 110.460561, - 37.044932 - ], - [ - 110.49567, - 37.086956 - ], - [ - 110.535706, - 37.115118 - ], - [ - 110.53509, - 37.138021 - ], - [ - 110.590525, - 37.187145 - ], - [ - 110.651503, - 37.256722 - ], - [ - 110.661974, - 37.281963 - ], - [ - 110.690307, - 37.287201 - ], - [ - 110.678604, - 37.317668 - ], - [ - 110.695234, - 37.34955 - ], - [ - 110.641648, - 37.360015 - ], - [ - 110.630561, - 37.372858 - ], - [ - 110.644111, - 37.435135 - ], - [ - 110.740198, - 37.44939 - ], - [ - 110.759292, - 37.474567 - ], - [ - 110.770995, - 37.538184 - ], - [ - 110.795017, - 37.558586 - ], - [ - 110.771611, - 37.594634 - ], - [ - 110.763604, - 37.639668 - ], - [ - 110.793169, - 37.650567 - ], - [ - 110.775306, - 37.680886 - ], - [ - 110.706321, - 37.705511 - ], - [ - 110.716792, - 37.728708 - ], - [ - 110.750669, - 37.736281 - ], - [ - 110.735886, - 37.77035 - ], - [ - 110.680452, - 37.790216 - ], - [ - 110.59422, - 37.922049 - ], - [ - 110.522771, - 37.955088 - ], - [ - 110.528315, - 37.990471 - ], - [ - 110.507989, - 38.013107 - ], - [ - 110.501829, - 38.097929 - ], - [ - 110.519692, - 38.130889 - ], - [ - 110.509221, - 38.192061 - ], - [ - 110.528315, - 38.211814 - ], - [ - 110.565887, - 38.215105 - ], - [ - 110.57759, - 38.297345 - ], - [ - 110.601612, - 38.308147 - ], - [ - 110.661358, - 38.308617 - ], - [ - 110.701394, - 38.353215 - ], - [ - 110.746973, - 38.366355 - ], - [ - 110.77777, - 38.440924 - ], - [ - 110.796864, - 38.453579 - ], - [ - 110.840596, - 38.439986 - ], - [ - 110.874473, - 38.453579 - ], - [ - 110.870777, - 38.510265 - ], - [ - 110.907733, - 38.521035 - ], - [ - 110.920052, - 38.581878 - ], - [ - 110.898494, - 38.587024 - ], - [ - 110.880632, - 38.626776 - ], - [ - 110.916357, - 38.673981 - ], - [ - 110.915125, - 38.704345 - ], - [ - 110.965016, - 38.755699 - ], - [ - 111.009363, - 38.847579 - ], - [ - 110.995813, - 38.868084 - ], - [ - 111.016755, - 38.889981 - ], - [ - 111.009979, - 38.932823 - ], - [ - 110.980414, - 38.970056 - ], - [ - 110.998276, - 38.998433 - ], - [ - 111.038313, - 39.020289 - ], - [ - 111.094363, - 39.030053 - ], - [ - 111.138095, - 39.064447 - ], - [ - 111.147334, - 39.100681 - ], - [ - 111.173819, - 39.135041 - ], - [ - 111.163348, - 39.152678 - ], - [ - 111.219399, - 39.244044 - ], - [ - 111.213239, - 39.257021 - ], - [ - 111.247732, - 39.302419 - ], - [ - 111.202152, - 39.305197 - ], - [ - 111.179363, - 39.326959 - ], - [ - 111.186138, - 39.35149 - ], - [ - 111.155341, - 39.338531 - ], - [ - 111.159037, - 39.362596 - ], - [ - 111.125776, - 39.366297 - ], - [ - 111.087588, - 39.376013 - ], - [ - 111.098059, - 39.401914 - ], - [ - 111.064182, - 39.400989 - ], - [ - 111.058639, - 39.447681 - ], - [ - 111.10545, - 39.472631 - ], - [ - 111.10545, - 39.497573 - ], - [ - 111.148566, - 39.531277 - ], - [ - 111.154725, - 39.569116 - ], - [ - 111.136863, - 39.587106 - ], - [ - 111.101138, - 39.559428 - ], - [ - 111.017371, - 39.552045 - ], - [ - 110.958856, - 39.519275 - ], - [ - 110.891103, - 39.509118 - ], - [ - 110.869545, - 39.494341 - ], - [ - 110.782698, - 39.38804 - ], - [ - 110.73835, - 39.348713 - ], - [ - 110.731575, - 39.30705 - ], - [ - 110.702626, - 39.273701 - ], - [ - 110.626249, - 39.266751 - ], - [ - 110.596684, - 39.282966 - ], - [ - 110.566503, - 39.320014 - ], - [ - 110.559728, - 39.351027 - ], - [ - 110.524003, - 39.382952 - ], - [ - 110.482735, - 39.360745 - ], - [ - 110.434692, - 39.381101 - ], - [ - 110.429764, - 39.341308 - ], - [ - 110.385417, - 39.310291 - ], - [ - 110.257917, - 39.407001 - ], - [ - 110.243751, - 39.423645 - ], - [ - 110.152592, - 39.45415 - ], - [ - 110.12549, - 39.432891 - ], - [ - 110.136577, - 39.39174 - ], - [ - 110.161831, - 39.387115 - ], - [ - 110.184005, - 39.355192 - ], - [ - 110.217881, - 39.281113 - ], - [ - 110.109476, - 39.249606 - ], - [ - 110.041107, - 39.21623 - ], - [ - 109.962267, - 39.212056 - ], - [ - 109.90252, - 39.271848 - ], - [ - 109.871723, - 39.243581 - ], - [ - 109.961035, - 39.191651 - ], - [ - 109.893897, - 39.141075 - ], - [ - 109.92223, - 39.107183 - ], - [ - 109.890818, - 39.103932 - ], - [ - 109.851397, - 39.122971 - ], - [ - 109.793499, - 39.074204 - ], - [ - 109.762086, - 39.057476 - ], - [ - 109.72513, - 39.018429 - ], - [ - 109.665384, - 38.981687 - ], - [ - 109.685094, - 38.968195 - ], - [ - 109.672159, - 38.928167 - ], - [ - 109.624116, - 38.85457 - ], - [ - 109.549587, - 38.805618 - ], - [ - 109.511399, - 38.833595 - ], - [ - 109.444262, - 38.782763 - ], - [ - 109.404226, - 38.720689 - ], - [ - 109.338936, - 38.701542 - ], - [ - 109.329081, - 38.66043 - ], - [ - 109.367269, - 38.627711 - ], - [ - 109.331545, - 38.597783 - ], - [ - 109.276726, - 38.623035 - ], - [ - 109.196654, - 38.552867 - ], - [ - 109.175712, - 38.518694 - ], - [ - 109.128901, - 38.480288 - ], - [ - 109.054372, - 38.433892 - ], - [ - 109.051292, - 38.385122 - ], - [ - 109.007561, - 38.359316 - ], - [ - 108.961981, - 38.26493 - ], - [ - 108.976148, - 38.245192 - ], - [ - 108.938575, - 38.207582 - ], - [ - 108.964445, - 38.154894 - ], - [ - 109.069155, - 38.091336 - ], - [ - 109.050676, - 38.055059 - ], - [ - 109.06977, - 38.023008 - ], - [ - 109.037742, - 38.021593 - ], - [ - 109.018648, - 37.971602 - ], - [ - 108.982923, - 37.964053 - ], - [ - 108.9743, - 37.931962 - ], - [ - 108.93488, - 37.922521 - ], - [ - 108.893612, - 37.978207 - ], - [ - 108.883141, - 38.01405 - ], - [ - 108.830786, - 38.049875 - ], - [ - 108.797525, - 38.04799 - ], - [ - 108.82709, - 37.989056 - ], - [ - 108.798141, - 37.93385 - ], - [ - 108.791982, - 37.872934 - ], - [ - 108.799989, - 37.784068 - ], - [ - 108.784591, - 37.764673 - ], - [ - 108.791982, - 37.700303 - ], - [ - 108.777815, - 37.683728 - ], - [ - 108.720533, - 37.683728 - ], - [ - 108.699591, - 37.669518 - ], - [ - 108.628142, - 37.651988 - ], - [ - 108.532671, - 37.690832 - ], - [ - 108.485244, - 37.678044 - ], - [ - 108.422418, - 37.648672 - ], - [ - 108.301078, - 37.640616 - ], - [ - 108.293071, - 37.656726 - ], - [ - 108.24626, - 37.665728 - ], - [ - 108.205608, - 37.655779 - ], - [ - 108.193905, - 37.638246 - ], - [ - 108.134159, - 37.622131 - ], - [ - 108.055318, - 37.652462 - ], - [ - 108.025137, - 37.649619 - ], - [ - 108.012819, - 37.66857 - ], - [ - 108.025753, - 37.696041 - ], - [ - 107.993109, - 37.735335 - ], - [ - 107.982022, - 37.787378 - ], - [ - 107.884703, - 37.808186 - ], - [ - 107.842819, - 37.828987 - ], - [ - 107.732566, - 37.84931 - ], - [ - 107.684523, - 37.888522 - ], - [ - 107.65003, - 37.86443 - ], - [ - 107.659269, - 37.844112 - ], - [ - 107.646335, - 37.805349 - ], - [ - 107.620465, - 37.776026 - ], - [ - 107.599523, - 37.791162 - ], - [ - 107.57119, - 37.776499 - ], - [ - 107.499125, - 37.765619 - ], - [ - 107.484959, - 37.706458 - ], - [ - 107.425828, - 37.684201 - ], - [ - 107.387024, - 37.691305 - ], - [ - 107.389488, - 37.671413 - ], - [ - 107.422133, - 37.665254 - ], - [ - 107.361155, - 37.613125 - ], - [ - 107.311264, - 37.609806 - ], - [ - 107.330358, - 37.584201 - ], - [ - 107.369162, - 37.58752 - ], - [ - 107.345756, - 37.518725 - ], - [ - 107.284162, - 37.481691 - ], - [ - 107.282931, - 37.437036 - ], - [ - 107.257677, - 37.337179 - ], - [ - 107.273075, - 37.29101 - ], - [ - 107.309416, - 37.239095 - ], - [ - 107.270612, - 37.229089 - ], - [ - 107.317423, - 37.200017 - ], - [ - 107.336517, - 37.165687 - ], - [ - 107.334669, - 37.138975 - ], - [ - 107.306952, - 37.100799 - ], - [ - 107.281083, - 37.127047 - ], - [ - 107.268764, - 37.099367 - ], - [ - 107.28601, - 37.054963 - ], - [ - 107.288474, - 37.008143 - ], - [ - 107.288474, - 37.008143 - ], - [ - 107.291554, - 36.979463 - ], - [ - 107.291554, - 36.979463 - ], - [ - 107.310032, - 36.912502 - ], - [ - 107.336517, - 36.925899 - ], - [ - 107.365466, - 36.905324 - ], - [ - 107.478183, - 36.908196 - ], - [ - 107.533618, - 36.867031 - ], - [ - 107.540393, - 36.828718 - ], - [ - 107.5909, - 36.836382 - ], - [ - 107.642023, - 36.819137 - ], - [ - 107.670356, - 36.83303 - ], - [ - 107.722095, - 36.802367 - ], - [ - 107.742421, - 36.811951 - ], - [ - 107.768291, - 36.792783 - ], - [ - 107.866841, - 36.766899 - ], - [ - 107.907493, - 36.750118 - ], - [ - 107.914268, - 36.720861 - ], - [ - 107.940754, - 36.694953 - ], - [ - 107.938906, - 36.655594 - ], - [ - 108.006659, - 36.683435 - ], - [ - 108.02329, - 36.647912 - ], - [ - 108.001732, - 36.639269 - ], - [ - 108.060862, - 36.592194 - ], - [ - 108.079956, - 36.614294 - ], - [ - 108.092891, - 36.587388 - ], - [ - 108.163724, - 36.563839 - ], - [ - 108.1976, - 36.630144 - ], - [ - 108.222854, - 36.631105 - ], - [ - 108.204992, - 36.606607 - ], - [ - 108.204992, - 36.606607 - ], - [ - 108.210535, - 36.577296 - ], - [ - 108.245644, - 36.571048 - ], - [ - 108.262274, - 36.549417 - ], - [ - 108.340498, - 36.559032 - ], - [ - 108.365136, - 36.519603 - ], - [ - 108.391621, - 36.505654 - ], - [ - 108.408252, - 36.45946 - ], - [ - 108.460606, - 36.422871 - ], - [ - 108.495099, - 36.422389 - ], - [ - 108.514809, - 36.445501 - ], - [ - 108.510498, - 36.47438 - ], - [ - 108.562852, - 36.43876 - ], - [ - 108.618903, - 36.433946 - ], - [ - 108.651548, - 36.384818 - ], - [ - 108.641693, - 36.359279 - ], - [ - 108.646004, - 36.254143 - ], - [ - 108.712526, - 36.138716 - ], - [ - 108.682345, - 36.062316 - ], - [ - 108.688504, - 36.021183 - ], - [ - 108.659555, - 35.990683 - ], - [ - 108.652164, - 35.94806 - ], - [ - 108.593649, - 35.950967 - ], - [ - 108.562852, - 35.921409 - ], - [ - 108.518505, - 35.905414 - ], - [ - 108.499411, - 35.872444 - ], - [ - 108.527744, - 35.82442 - ], - [ - 108.533903, - 35.746257 - ], - [ - 108.517889, - 35.699615 - ], - [ - 108.539447, - 35.605761 - ], - [ - 108.618287, - 35.557088 - ], - [ - 108.625678, - 35.537124 - ], - [ - 108.605968, - 35.503028 - ], - [ - 108.631222, - 35.418698 - ], - [ - 108.61028, - 35.355271 - ], - [ - 108.614591, - 35.328909 - ], - [ - 108.583178, - 35.294724 - ], - [ - 108.547454, - 35.304981 - ], - [ - 108.48894, - 35.275184 - ], - [ - 108.36144, - 35.279581 - ], - [ - 108.345426, - 35.300586 - ], - [ - 108.296767, - 35.267855 - ], - [ - 108.239484, - 35.256127 - ], - [ - 108.221622, - 35.296678 - ], - [ - 108.174811, - 35.304981 - ], - [ - 108.094739, - 35.280069 - ], - [ - 108.049159, - 35.253683 - ], - [ - 107.949993, - 35.245375 - ], - [ - 107.960464, - 35.263457 - ], - [ - 107.867457, - 35.256127 - ], - [ - 107.841587, - 35.276649 - ], - [ - 107.745501, - 35.311819 - ], - [ - 107.737494, - 35.267366 - ], - [ - 107.667277, - 35.257104 - ], - [ - 107.652494, - 35.244886 - ], - [ - 107.686371, - 35.218 - ], - [ - 107.715936, - 35.168114 - ], - [ - 107.727639, - 35.120157 - ], - [ - 107.769523, - 35.064333 - ], - [ - 107.769523, - 35.064333 - ], - [ - 107.773218, - 35.060904 - ], - [ - 107.773218, - 35.060904 - ], - [ - 107.814486, - 35.024646 - ], - [ - 107.846515, - 35.024646 - ], - [ - 107.863145, - 34.999158 - ], - [ - 107.842203, - 34.979056 - ], - [ - 107.741805, - 34.953553 - ], - [ - 107.675284, - 34.9511 - ], - [ - 107.638943, - 34.935402 - ], - [ - 107.619849, - 34.964834 - ], - [ - 107.564415, - 34.968757 - ], - [ - 107.523763, - 34.909886 - ], - [ - 107.455394, - 34.916757 - ], - [ - 107.400575, - 34.932949 - ], - [ - 107.369162, - 34.917738 - ], - [ - 107.350068, - 34.93393 - ], - [ - 107.286626, - 34.931968 - ], - [ - 107.252749, - 34.880925 - ], - [ - 107.189308, - 34.893198 - ], - [ - 107.162206, - 34.944233 - ], - [ - 107.119707, - 34.950119 - ], - [ - 107.089526, - 34.976604 - ], - [ - 107.08275, - 35.024156 - ], - [ - 107.012533, - 35.029547 - ], - [ - 106.990975, - 35.068252 - ], - [ - 106.950323, - 35.066782 - ], - [ - 106.901664, - 35.094698 - ], - [ - 106.838222, - 35.080007 - ], - [ - 106.710723, - 35.100574 - ], - [ - 106.706411, - 35.081966 - ], - [ - 106.615252, - 35.071191 - ], - [ - 106.577064, - 35.089312 - ], - [ - 106.541956, - 35.083925 - ], - [ - 106.52163, - 35.027587 - ], - [ - 106.494528, - 35.006021 - ], - [ - 106.494528, - 35.006021 - ], - [ - 106.484673, - 34.983959 - ], - [ - 106.493296, - 34.941289 - ], - [ - 106.527789, - 34.876507 - ], - [ - 106.556122, - 34.861285 - ], - [ - 106.550579, - 34.82936 - ], - [ - 106.575216, - 34.769897 - ], - [ - 106.539492, - 34.745805 - ], - [ - 106.505615, - 34.746789 - ], - [ - 106.487137, - 34.715311 - ], - [ - 106.456956, - 34.703996 - ], - [ - 106.442173, - 34.675455 - ], - [ - 106.471122, - 34.634102 - ], - [ - 106.419384, - 34.643458 - ], - [ - 106.314058, - 34.578934 - ], - [ - 106.341159, - 34.568093 - ], - [ - 106.334384, - 34.517811 - ], - [ - 106.455108, - 34.531617 - ], - [ - 106.514238, - 34.511894 - ], - [ - 106.513622, - 34.498085 - ], - [ - 106.558586, - 34.48822 - ], - [ - 106.610941, - 34.454177 - ], - [ - 106.638042, - 34.391481 - ], - [ - 106.717498, - 34.369255 - ], - [ - 106.691013, - 34.337635 - ], - [ - 106.705179, - 34.299575 - ], - [ - 106.68239, - 34.256057 - ], - [ - 106.652825, - 34.24369 - ], - [ - 106.63373, - 34.260014 - ], - [ - 106.589383, - 34.253584 - ], - [ - 106.577064, - 34.280786 - ], - [ - 106.526557, - 34.292159 - ], - [ - 106.496376, - 34.238248 - ], - [ - 106.5321, - 34.254079 - ], - [ - 106.55797, - 34.229837 - ], - [ - 106.585071, - 34.149641 - ], - [ - 106.560434, - 34.109514 - ], - [ - 106.501919, - 34.105055 - ], - [ - 106.505615, - 34.056479 - ], - [ - 106.471738, - 34.024244 - ], - [ - 106.474202, - 33.970659 - ], - [ - 106.41076, - 33.909093 - ], - [ - 106.428007, - 33.866368 - ], - [ - 106.475434, - 33.875809 - ], - [ - 106.491448, - 33.834559 - ], - [ - 106.461883, - 33.789807 - ], - [ - 106.488369, - 33.757969 - ], - [ - 106.482825, - 33.707203 - ], - [ - 106.534564, - 33.695254 - ], - [ - 106.575832, - 33.631497 - ], - [ - 106.58076, - 33.576169 - ], - [ - 106.540108, - 33.512822 - ], - [ - 106.456956, - 33.532779 - ], - [ - 106.447101, - 33.613058 - ], - [ - 106.384891, - 33.612061 - ], - [ - 106.35163, - 33.587137 - ], - [ - 106.303587, - 33.604585 - ], - [ - 106.237681, - 33.564201 - ], - [ - 106.187174, - 33.546746 - ], - [ - 106.108334, - 33.569686 - ], - [ - 106.117573, - 33.602591 - ], - [ - 106.086776, - 33.617045 - ], - [ - 106.047356, - 33.610067 - ], - [ - 105.971596, - 33.613058 - ], - [ - 105.940183, - 33.570684 - ], - [ - 105.902611, - 33.556222 - ], - [ - 105.871198, - 33.511325 - ], - [ - 105.842248, - 33.489866 - ], - [ - 105.831162, - 33.451926 - ], - [ - 105.837937, - 33.410971 - ], - [ - 105.827466, - 33.379993 - ], - [ - 105.709822, - 33.382991 - ], - [ - 105.755401, - 33.329004 - ], - [ - 105.752937, - 33.291994 - ], - [ - 105.791741, - 33.278486 - ], - [ - 105.799133, - 33.258471 - ], - [ - 105.862574, - 33.234447 - ], - [ - 105.917393, - 33.237951 - ], - [ - 105.965436, - 33.204407 - ], - [ - 105.968516, - 33.154318 - ], - [ - 105.93156, - 33.178365 - ], - [ - 105.897067, - 33.146803 - ], - [ - 105.923552, - 33.147805 - ], - [ - 105.934639, - 33.112221 - ], - [ - 105.914929, - 33.066092 - ], - [ - 105.926632, - 33.042517 - ], - [ - 105.917393, - 32.993841 - ], - [ - 105.861959, - 32.939112 - ], - [ - 105.82685, - 32.950663 - ], - [ - 105.735691, - 32.905454 - ], - [ - 105.656851, - 32.895405 - ], - [ - 105.638373, - 32.879323 - ], - [ - 105.590329, - 32.87681 - ], - [ - 105.565692, - 32.906962 - ], - [ - 105.528119, - 32.919019 - ], - [ - 105.49917, - 32.911986 - ], - [ - 105.495475, - 32.873292 - ], - [ - 105.524424, - 32.847654 - ], - [ - 105.534279, - 32.790822 - ], - [ - 105.555221, - 32.794343 - ], - [ - 105.563844, - 32.724891 - ], - [ - 105.585402, - 32.728919 - ], - [ - 105.596489, - 32.69921 - ], - [ - 105.677793, - 32.726402 - ], - [ - 105.719061, - 32.759624 - ], - [ - 105.768952, - 32.767676 - ], - [ - 105.779423, - 32.750061 - ], - [ - 105.822538, - 32.770192 - ], - [ - 105.825002, - 32.824523 - ], - [ - 105.849024, - 32.817985 - ], - [ - 105.893371, - 32.838603 - ], - [ - 105.93156, - 32.826032 - ], - [ - 105.969132, - 32.849162 - ], - [ - 106.011632, - 32.829552 - ], - [ - 106.044277, - 32.864747 - ], - [ - 106.071378, - 32.828546 - ], - [ - 106.093552, - 32.82402 - ], - [ - 106.07261, - 32.76365 - ], - [ - 106.076921, - 32.76365 - ], - [ - 106.076305, - 32.759121 - ], - [ - 106.071378, - 32.758114 - ], - [ - 106.120037, - 32.719856 - ], - [ - 106.17424, - 32.6977 - ], - [ - 106.254928, - 32.693671 - ], - [ - 106.267863, - 32.673522 - ], - [ - 106.301123, - 32.680071 - ], - [ - 106.347935, - 32.671003 - ], - [ - 106.389203, - 32.62666 - ], - [ - 106.421231, - 32.616579 - ], - [ - 106.451412, - 32.65992 - ], - [ - 106.498224, - 32.649338 - ], - [ - 106.517934, - 32.668485 - ], - [ - 106.585687, - 32.68813 - ], - [ - 106.626955, - 32.682086 - ], - [ - 106.670071, - 32.694678 - ], - [ - 106.733513, - 32.739491 - ], - [ - 106.783404, - 32.735967 - ], - [ - 106.793259, - 32.712807 - ], - [ - 106.82344, - 32.705254 - ], - [ - 106.854853, - 32.724388 - ], - [ - 106.903512, - 32.721367 - ], - [ - 106.912751, - 32.704247 - ], - [ - 107.012533, - 32.721367 - ], - [ - 107.066736, - 32.708779 - ], - [ - 107.05996, - 32.686115 - ], - [ - 107.098765, - 32.649338 - ], - [ - 107.108004, - 32.600951 - ], - [ - 107.080286, - 32.542448 - ], - [ - 107.127098, - 32.482393 - ], - [ - 107.189924, - 32.468256 - ], - [ - 107.212097, - 32.428864 - ], - [ - 107.263836, - 32.403099 - ], - [ - 107.287858, - 32.457147 - ], - [ - 107.313727, - 32.489965 - ], - [ - 107.356843, - 32.506622 - ], - [ - 107.382097, - 32.54043 - ], - [ - 107.436299, - 32.529835 - ], - [ - 107.438763, - 32.465732 - ], - [ - 107.460937, - 32.453612 - ], - [ - 107.456625, - 32.41775 - ], - [ - 107.489886, - 32.425328 - ], - [ - 107.527458, - 32.38238 - ], - [ - 107.598291, - 32.411688 - ], - [ - 107.648183, - 32.413709 - ], - [ - 107.680827, - 32.397035 - ], - [ - 107.707929, - 32.331826 - ], - [ - 107.753508, - 32.338399 - ], - [ - 107.812022, - 32.247844 - ], - [ - 107.864377, - 32.201266 - ], - [ - 107.890247, - 32.214432 - ], - [ - 107.924739, - 32.197215 - ], - [ - 107.979558, - 32.146051 - ], - [ - 108.024521, - 32.177462 - ], - [ - 108.018362, - 32.2119 - ], - [ - 108.086731, - 32.233165 - ], - [ - 108.143398, - 32.219495 - ], - [ - 108.156948, - 32.239239 - ], - [ - 108.179738, - 32.221521 - ], - [ - 108.240716, - 32.274666 - ], - [ - 108.310933, - 32.232152 - ], - [ - 108.389773, - 32.263533 - ], - [ - 108.414411, - 32.252399 - ], - [ - 108.469846, - 32.270618 - ], - [ - 108.507418, - 32.245819 - ], - [ - 108.509882, - 32.201266 - ], - [ - 108.543758, - 32.177969 - ], - [ - 108.585026, - 32.17189 - ], - [ - 108.676801, - 32.10297 - ], - [ - 108.734084, - 32.106519 - ], - [ - 108.75133, - 32.076098 - ], - [ - 108.78767, - 32.04871 - ], - [ - 108.837561, - 32.039072 - ], - [ - 108.902235, - 31.984774 - ], - [ - 108.986619, - 31.980205 - ], - [ - 109.085785, - 31.929428 - ], - [ - 109.123357, - 31.892851 - ], - [ - 109.191111, - 31.85575 - ], - [ - 109.195422, - 31.817618 - ], - [ - 109.27611, - 31.79931 - ], - [ - 109.279806, - 31.776418 - ], - [ - 109.253936, - 31.759628 - ], - [ - 109.282885, - 31.743343 - ], - [ - 109.281654, - 31.716874 - ], - [ - 109.381436, - 31.705165 - ], - [ - 109.446109, - 31.722983 - ], - [ - 109.502776, - 31.716365 - ], - [ - 109.549587, - 31.73011 - ], - [ - 109.585928, - 31.726546 - ], - [ - 109.592087, - 31.789136 - ], - [ - 109.633971, - 31.804396 - ], - [ - 109.633971, - 31.824738 - ], - [ - 109.60379, - 31.885737 - ], - [ - 109.584696, - 31.900472 - ], - [ - 109.62042, - 31.928412 - ], - [ - 109.631507, - 31.962436 - ], - [ - 109.590855, - 32.012688 - ], - [ - 109.590855, - 32.047696 - ], - [ - 109.621652, - 32.106519 - ], - [ - 109.58716, - 32.161251 - ], - [ - 109.604406, - 32.199241 - ], - [ - 109.592703, - 32.219495 - ], - [ - 109.550203, - 32.225065 - ], - [ - 109.528645, - 32.270112 - ], - [ - 109.495385, - 32.300468 - ], - [ - 109.513247, - 32.342444 - ], - [ - 109.502776, - 32.38895 - ], - [ - 109.529877, - 32.405625 - ], - [ - 109.526797, - 32.43341 - ], - [ - 109.575457, - 32.506622 - ], - [ - 109.637051, - 32.540935 - ], - [ - 109.619804, - 32.56767 - ], - [ - 109.631507, - 32.599943 - ], - [ - 109.726978, - 32.608513 - ], - [ - 109.746072, - 32.594901 - ], - [ - 109.816905, - 32.577252 - ], - [ - 109.910528, - 32.592884 - ], - [ - 109.97089, - 32.577756 - ], - [ - 110.017701, - 32.546989 - ], - [ - 110.084223, - 32.580782 - ], - [ - 110.090382, - 32.617083 - ], - [ - 110.124259, - 32.616579 - ], - [ - 110.153824, - 32.593388 - ], - [ - 110.206179, - 32.633212 - ], - [ - 110.156903, - 32.683093 - ], - [ - 110.159367, - 32.767173 - ], - [ - 110.127338, - 32.77774 - ], - [ - 110.142121, - 32.802895 - ], - [ - 110.105164, - 32.832569 - ], - [ - 110.051578, - 32.851676 - ], - [ - 109.988752, - 32.886359 - ], - [ - 109.927158, - 32.887364 - ], - [ - 109.907448, - 32.903947 - ], - [ - 109.856941, - 32.910479 - ], - [ - 109.847702, - 32.893395 - ], - [ - 109.789804, - 32.882339 - ], - [ - 109.76455, - 32.909474 - ], - [ - 109.785492, - 32.987316 - ], - [ - 109.794731, - 33.067095 - ], - [ - 109.704188, - 33.101694 - ], - [ - 109.688174, - 33.116733 - ], - [ - 109.576073, - 33.110216 - ], - [ - 109.522486, - 33.138785 - ], - [ - 109.468283, - 33.140288 - ], - [ - 109.438718, - 33.152314 - ], - [ - 109.498464, - 33.207412 - ], - [ - 109.514479, - 33.237951 - ], - [ - 109.60687, - 33.235949 - ], - [ - 109.619804, - 33.275484 - ], - [ - 109.649985, - 33.251465 - ], - [ - 109.693101, - 33.254468 - ], - [ - 109.732521, - 33.231443 - ], - [ - 109.813209, - 33.236449 - ], - [ - 109.852013, - 33.247961 - ], - [ - 109.916687, - 33.229942 - ], - [ - 109.973353, - 33.203907 - ], - [ - 109.999223, - 33.212419 - ], - [ - 110.031252, - 33.191888 - ], - [ - 110.164911, - 33.209415 - ], - [ - 110.218497, - 33.163336 - ], - [ - 110.285635, - 33.171352 - ], - [ - 110.33799, - 33.160331 - ], - [ - 110.372482, - 33.186379 - ], - [ - 110.398352, - 33.176862 - ], - [ - 110.398352, - 33.176862 - ], - [ - 110.471032, - 33.171352 - ], - [ - 110.54125, - 33.255469 - ], - [ - 110.57759, - 33.250464 - ], - [ - 110.59422, - 33.168346 - ], - [ - 110.623785, - 33.143796 - ], - [ - 110.650887, - 33.157324 - ], - [ - 110.702626, - 33.097182 - ], - [ - 110.753133, - 33.15031 - ], - [ - 110.824582, - 33.158327 - ], - [ - 110.828893, - 33.201403 - ], - [ - 110.865234, - 33.213921 - ], - [ - 110.9219, - 33.203907 - ], - [ - 110.960704, - 33.253967 - ], - [ - 110.984726, - 33.255469 - ], - [ - 111.025994, - 33.330504 - ], - [ - 111.025994, - 33.375495 - ], - [ - 110.996429, - 33.435946 - ], - [ - 111.02661, - 33.467903 - ], - [ - 111.021066, - 33.471397 - ], - [ - 111.021682, - 33.476389 - ], - [ - 111.02661, - 33.478386 - ], - [ - 111.002588, - 33.535772 - ], - [ - 111.00382, - 33.578662 - ], - [ - 110.966864, - 33.609071 - ], - [ - 110.878784, - 33.634486 - ], - [ - 110.823966, - 33.685793 - ], - [ - 110.831973, - 33.713675 - ], - [ - 110.81719, - 33.751003 - ], - [ - 110.782082, - 33.796272 - ], - [ - 110.74143, - 33.798759 - ], - [ - 110.712481, - 33.833564 - ], - [ - 110.66259, - 33.85295 - ], - [ - 110.612083, - 33.852453 - ], - [ - 110.587445, - 33.887733 - ], - [ - 110.628713, - 33.910086 - ], - [ - 110.627481, - 33.925482 - ], - [ - 110.665669, - 33.937895 - ], - [ - 110.671213, - 33.966192 - ], - [ - 110.620706, - 34.035652 - ], - [ - 110.587445, - 34.023252 - ], - [ - 110.591757, - 34.101586 - ], - [ - 110.61393, - 34.113478 - ], - [ - 110.642264, - 34.161032 - ], - [ - 110.621938, - 34.177372 - ], - [ - 110.55788, - 34.193214 - ], - [ - 110.55172, - 34.213012 - ], - [ - 110.507989, - 34.217466 - ], - [ - 110.43962, - 34.243196 - ], - [ - 110.428533, - 34.288203 - ], - [ - 110.451938, - 34.292653 - ], - [ - 110.503677, - 34.33714 - ], - [ - 110.473496, - 34.393457 - ], - [ - 110.403279, - 34.433448 - ], - [ - 110.403279, - 34.433448 - ], - [ - 110.360779, - 34.516825 - ], - [ - 110.372482, - 34.544435 - ], - [ - 110.404511, - 34.557743 - ], - [ - 110.366939, - 34.566614 - ], - [ - 110.379257, - 34.600612 - ] - ] - ], - [ - [ - [ - 111.02661, - 33.478386 - ], - [ - 111.021682, - 33.476389 - ], - [ - 111.021066, - 33.471397 - ], - [ - 111.02661, - 33.467903 - ], - [ - 111.02661, - 33.478386 - ] - ] - ], - [ - [ - [ - 106.076921, - 32.76365 - ], - [ - 106.07261, - 32.76365 - ], - [ - 106.071378, - 32.758114 - ], - [ - 106.076305, - 32.759121 - ], - [ - 106.076921, - 32.76365 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 620000, - "name": "甘肃省", - "center": [ - 103.823557, - 36.058039 - ], - "childrenNum": 14, - "cp": [102.7129, 38.166], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 27, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 106.506231, - 35.737514 - ], - [ - 106.504383, - 35.736057 - ], - [ - 106.498224, - 35.732656 - ], - [ - 106.49268, - 35.732656 - ], - [ - 106.434782, - 35.688436 - ], - [ - 106.460036, - 35.643705 - ], - [ - 106.47913, - 35.575101 - ], - [ - 106.460036, - 35.578995 - ], - [ - 106.440941, - 35.52641 - ], - [ - 106.465579, - 35.481101 - ], - [ - 106.490217, - 35.480613 - ], - [ - 106.483441, - 35.450393 - ], - [ - 106.503767, - 35.415284 - ], - [ - 106.501304, - 35.364056 - ], - [ - 106.472354, - 35.310842 - ], - [ - 106.415688, - 35.276161 - ], - [ - 106.368261, - 35.273718 - ], - [ - 106.363333, - 35.238532 - ], - [ - 106.319601, - 35.265411 - ], - [ - 106.241377, - 35.358687 - ], - [ - 106.237681, - 35.409431 - ], - [ - 106.196414, - 35.409919 - ], - [ - 106.173008, - 35.437716 - ], - [ - 106.129892, - 35.393333 - ], - [ - 106.113262, - 35.361616 - ], - [ - 106.083081, - 35.421624 - ], - [ - 106.073226, - 35.420649 - ], - [ - 106.067682, - 35.436254 - ], - [ - 106.073226, - 35.447468 - ], - [ - 106.071378, - 35.449418 - ], - [ - 106.06953, - 35.458193 - ], - [ - 106.071994, - 35.463555 - ], - [ - 106.054132, - 35.45478 - ], - [ - 106.034422, - 35.469404 - ], - [ - 106.002393, - 35.438692 - ], - [ - 105.894603, - 35.413821 - ], - [ - 105.897683, - 35.451368 - ], - [ - 106.048588, - 35.488898 - ], - [ - 106.047356, - 35.498155 - ], - [ - 106.023335, - 35.49377 - ], - [ - 106.017175, - 35.519103 - ], - [ - 105.900147, - 35.54735 - ], - [ - 105.868734, - 35.540046 - ], - [ - 105.847176, - 35.490359 - ], - [ - 105.816379, - 35.575101 - ], - [ - 105.800365, - 35.564878 - ], - [ - 105.762176, - 35.602841 - ], - [ - 105.759097, - 35.634464 - ], - [ - 105.713517, - 35.650513 - ], - [ - 105.722756, - 35.673366 - ], - [ - 105.690727, - 35.698643 - ], - [ - 105.723988, - 35.725854 - ], - [ - 105.740618, - 35.698643 - ], - [ - 105.759097, - 35.724883 - ], - [ - 105.70243, - 35.733142 - ], - [ - 105.667322, - 35.749657 - ], - [ - 105.595873, - 35.715651 - ], - [ - 105.481924, - 35.727312 - ], - [ - 105.457286, - 35.771511 - ], - [ - 105.432033, - 35.787533 - ], - [ - 105.428953, - 35.819082 - ], - [ - 105.408627, - 35.822479 - ], - [ - 105.38091, - 35.792873 - ], - [ - 105.371055, - 35.844312 - ], - [ - 105.39754, - 35.857409 - ], - [ - 105.350113, - 35.875839 - ], - [ - 105.324859, - 35.941761 - ], - [ - 105.343954, - 36.033767 - ], - [ - 105.406163, - 36.074409 - ], - [ - 105.430801, - 36.10391 - ], - [ - 105.491163, - 36.101009 - ], - [ - 105.515185, - 36.147415 - ], - [ - 105.478844, - 36.213111 - ], - [ - 105.460366, - 36.223733 - ], - [ - 105.45975, - 36.268137 - ], - [ - 105.476381, - 36.293224 - ], - [ - 105.455439, - 36.321678 - ], - [ - 105.425873, - 36.330357 - ], - [ - 105.401236, - 36.369881 - ], - [ - 105.398156, - 36.430575 - ], - [ - 105.363048, - 36.443093 - ], - [ - 105.362432, - 36.496514 - ], - [ - 105.322396, - 36.535954 - ], - [ - 105.281744, - 36.522489 - ], - [ - 105.252179, - 36.553263 - ], - [ - 105.2762, - 36.563358 - ], - [ - 105.261418, - 36.602764 - ], - [ - 105.22015, - 36.631105 - ], - [ - 105.225693, - 36.664716 - ], - [ - 105.201056, - 36.700711 - ], - [ - 105.218302, - 36.730455 - ], - [ - 105.272505, - 36.739567 - ], - [ - 105.275584, - 36.752515 - ], - [ - 105.319932, - 36.742924 - ], - [ - 105.340874, - 36.764502 - ], - [ - 105.334714, - 36.80093 - ], - [ - 105.303302, - 36.820575 - ], - [ - 105.279896, - 36.86751 - ], - [ - 105.244787, - 36.894796 - ], - [ - 105.178882, - 36.892403 - ], - [ - 105.185657, - 36.942164 - ], - [ - 105.165331, - 36.99476 - ], - [ - 105.128991, - 36.996194 - ], - [ - 105.05939, - 37.022956 - ], - [ - 105.03968, - 37.007187 - ], - [ - 105.004571, - 37.035378 - ], - [ - 104.95468, - 37.040156 - ], - [ - 104.954064, - 37.077407 - ], - [ - 104.914644, - 37.097935 - ], - [ - 104.888158, - 37.15901 - ], - [ - 104.864753, - 37.17284 - ], - [ - 104.85613, - 37.211933 - ], - [ - 104.776673, - 37.246718 - ], - [ - 104.717543, - 37.208597 - ], - [ - 104.638087, - 37.201923 - ], - [ - 104.600515, - 37.242907 - ], - [ - 104.624536, - 37.298627 - ], - [ - 104.651022, - 37.290534 - ], - [ - 104.673812, - 37.317668 - ], - [ - 104.713848, - 37.329566 - ], - [ - 104.662109, - 37.367626 - ], - [ - 104.679971, - 37.408044 - ], - [ - 104.521059, - 37.43466 - ], - [ - 104.499501, - 37.421353 - ], - [ - 104.448994, - 37.42468 - ], - [ - 104.437907, - 37.445589 - ], - [ - 104.365226, - 37.418026 - ], - [ - 104.298705, - 37.414223 - ], - [ - 104.287002, - 37.428007 - ], - [ - 104.237727, - 37.411847 - ], - [ - 104.183524, - 37.406618 - ], - [ - 104.089285, - 37.465067 - ], - [ - 103.935916, - 37.572818 - ], - [ - 103.874938, - 37.604117 - ], - [ - 103.841062, - 37.64725 - ], - [ - 103.683381, - 37.777919 - ], - [ - 103.627947, - 37.797783 - ], - [ - 103.40744, - 37.860651 - ], - [ - 103.362477, - 38.037621 - ], - [ - 103.368636, - 38.08898 - ], - [ - 103.53494, - 38.156776 - ], - [ - 103.507838, - 38.280905 - ], - [ - 103.465339, - 38.353215 - ], - [ - 103.416063, - 38.404821 - ], - [ - 103.85954, - 38.64454 - ], - [ - 104.011677, - 38.85923 - ], - [ - 104.044322, - 38.895105 - ], - [ - 104.173053, - 38.94446 - ], - [ - 104.196459, - 38.9882 - ], - [ - 104.190915, - 39.042139 - ], - [ - 104.207546, - 39.083495 - ], - [ - 104.171205, - 39.160567 - ], - [ - 104.047401, - 39.297788 - ], - [ - 104.073271, - 39.351953 - ], - [ - 104.089901, - 39.419947 - ], - [ - 103.955626, - 39.456923 - ], - [ - 103.85338, - 39.461543 - ], - [ - 103.728961, - 39.430117 - ], - [ - 103.595302, - 39.386652 - ], - [ - 103.428998, - 39.353341 - ], - [ - 103.344615, - 39.331588 - ], - [ - 103.259615, - 39.263971 - ], - [ - 103.188166, - 39.215302 - ], - [ - 103.133347, - 39.192579 - ], - [ - 103.007696, - 39.099753 - ], - [ - 102.883892, - 39.120649 - ], - [ - 102.616574, - 39.171703 - ], - [ - 102.579002, - 39.183301 - ], - [ - 102.45335, - 39.255167 - ], - [ - 102.3548, - 39.231993 - ], - [ - 102.276576, - 39.188868 - ], - [ - 102.050526, - 39.141075 - ], - [ - 102.012338, - 39.127149 - ], - [ - 101.902701, - 39.111827 - ], - [ - 101.833715, - 39.08907 - ], - [ - 101.926106, - 39.000758 - ], - [ - 101.955055, - 38.985874 - ], - [ - 102.045599, - 38.904885 - ], - [ - 102.075164, - 38.891378 - ], - [ - 101.941505, - 38.808883 - ], - [ - 101.873751, - 38.733761 - ], - [ - 101.777049, - 38.66043 - ], - [ - 101.672955, - 38.6908 - ], - [ - 101.601506, - 38.65529 - ], - [ - 101.562702, - 38.713218 - ], - [ - 101.412413, - 38.764099 - ], - [ - 101.331109, - 38.777164 - ], - [ - 101.307087, - 38.80282 - ], - [ - 101.34158, - 38.822406 - ], - [ - 101.33542, - 38.847113 - ], - [ - 101.24303, - 38.860628 - ], - [ - 101.237486, - 38.907214 - ], - [ - 101.198682, - 38.943064 - ], - [ - 101.228863, - 39.020754 - ], - [ - 101.117378, - 38.975174 - ], - [ - 100.969553, - 38.946788 - ], - [ - 100.961545, - 39.005874 - ], - [ - 100.901799, - 39.030053 - ], - [ - 100.875314, - 39.002619 - ], - [ - 100.835278, - 39.025869 - ], - [ - 100.829118, - 39.075133 - ], - [ - 100.864227, - 39.106719 - ], - [ - 100.842669, - 39.199999 - ], - [ - 100.842053, - 39.405614 - ], - [ - 100.707778, - 39.404689 - ], - [ - 100.606764, - 39.387577 - ], - [ - 100.498975, - 39.400527 - ], - [ - 100.500823, - 39.481408 - ], - [ - 100.44354, - 39.485565 - ], - [ - 100.326512, - 39.509118 - ], - [ - 100.301258, - 39.572345 - ], - [ - 100.314193, - 39.606935 - ], - [ - 100.250135, - 39.685274 - ], - [ - 100.128179, - 39.702312 - ], - [ - 100.040716, - 39.757083 - ], - [ - 99.958796, - 39.769504 - ], - [ - 99.904593, - 39.785601 - ], - [ - 99.822058, - 39.860063 - ], - [ - 99.672384, - 39.888079 - ], - [ - 99.469124, - 39.875221 - ], - [ - 99.440791, - 39.885783 - ], - [ - 99.459885, - 39.898181 - ], - [ - 99.491298, - 39.884406 - ], - [ - 99.533182, - 39.891753 - ], - [ - 99.714268, - 39.972061 - ], - [ - 99.751225, - 40.006909 - ], - [ - 99.841152, - 40.013326 - ], - [ - 99.927383, - 40.063727 - ], - [ - 99.955716, - 40.150695 - ], - [ - 100.007455, - 40.20008 - ], - [ - 100.169447, - 40.277743 - ], - [ - 100.169447, - 40.541131 - ], - [ - 100.242744, - 40.618855 - ], - [ - 100.237201, - 40.716905 - ], - [ - 100.224882, - 40.727337 - ], - [ - 100.107853, - 40.875475 - ], - [ - 100.057346, - 40.908049 - ], - [ - 99.985897, - 40.909858 - ], - [ - 99.673, - 40.93292 - ], - [ - 99.565827, - 40.846961 - ], - [ - 99.174705, - 40.858278 - ], - [ - 99.172858, - 40.747289 - ], - [ - 99.12543, - 40.715091 - ], - [ - 99.102025, - 40.676522 - ], - [ - 99.041662, - 40.693767 - ], - [ - 98.984996, - 40.782644 - ], - [ - 98.790975, - 40.705564 - ], - [ - 98.80699, - 40.660181 - ], - [ - 98.802678, - 40.607043 - ], - [ - 98.762642, - 40.639748 - ], - [ - 98.72199, - 40.657911 - ], - [ - 98.689345, - 40.691952 - ], - [ - 98.668403, - 40.773128 - ], - [ - 98.569853, - 40.746836 - ], - [ - 98.627751, - 40.677884 - ], - [ - 98.344419, - 40.568413 - ], - [ - 98.333332, - 40.918903 - ], - [ - 98.25018, - 40.93925 - ], - [ - 98.184891, - 40.988056 - ], - [ - 98.142391, - 41.001607 - ], - [ - 97.971776, - 41.09774 - ], - [ - 97.903407, - 41.168057 - ], - [ - 97.629314, - 41.440498 - ], - [ - 97.613915, - 41.477276 - ], - [ - 97.84674, - 41.656379 - ], - [ - 97.653335, - 41.986856 - ], - [ - 97.500582, - 42.243894 - ], - [ - 97.371235, - 42.457076 - ], - [ - 97.172903, - 42.795257 - ], - [ - 96.968411, - 42.756161 - ], - [ - 96.742361, - 42.75704 - ], - [ - 96.386348, - 42.727592 - ], - [ - 96.166458, - 42.623314 - ], - [ - 96.103632, - 42.604375 - ], - [ - 96.072219, - 42.569566 - ], - [ - 96.02356, - 42.542675 - ], - [ - 96.0174, - 42.482239 - ], - [ - 95.978596, - 42.436762 - ], - [ - 96.06606, - 42.414674 - ], - [ - 96.042038, - 42.352787 - ], - [ - 96.040806, - 42.326688 - ], - [ - 96.178161, - 42.21775 - ], - [ - 96.077147, - 42.149457 - ], - [ - 96.13874, - 42.05399 - ], - [ - 96.137509, - 42.019765 - ], - [ - 96.117183, - 41.985966 - ], - [ - 96.054973, - 41.936124 - ], - [ - 95.998306, - 41.906289 - ], - [ - 95.855408, - 41.849699 - ], - [ - 95.801206, - 41.848361 - ], - [ - 95.759322, - 41.835878 - ], - [ - 95.65646, - 41.826067 - ], - [ - 95.57146, - 41.796181 - ], - [ - 95.445193, - 41.719841 - ], - [ - 95.39407, - 41.693481 - ], - [ - 95.335556, - 41.644305 - ], - [ - 95.299831, - 41.565994 - ], - [ - 95.247476, - 41.61344 - ], - [ - 95.194505, - 41.694821 - ], - [ - 95.199433, - 41.719395 - ], - [ - 95.16494, - 41.735474 - ], - [ - 95.135991, - 41.772976 - ], - [ - 95.110738, - 41.768513 - ], - [ - 95.011572, - 41.726541 - ], - [ - 94.969072, - 41.718948 - ], - [ - 94.861898, - 41.668451 - ], - [ - 94.809543, - 41.619256 - ], - [ - 94.750413, - 41.538227 - ], - [ - 94.534219, - 41.505966 - ], - [ - 94.184365, - 41.268444 - ], - [ - 94.01067, - 41.114875 - ], - [ - 93.908424, - 40.983539 - ], - [ - 93.809874, - 40.879548 - ], - [ - 93.820961, - 40.793519 - ], - [ - 93.760599, - 40.664721 - ], - [ - 93.506216, - 40.648376 - ], - [ - 92.928465, - 40.572504 - ], - [ - 92.920458, - 40.391792 - ], - [ - 92.906907, - 40.310609 - ], - [ - 92.796654, - 40.153897 - ], - [ - 92.745531, - 39.868331 - ], - [ - 92.687632, - 39.657174 - ], - [ - 92.639589, - 39.514196 - ], - [ - 92.52564, - 39.368611 - ], - [ - 92.378431, - 39.258411 - ], - [ - 92.339011, - 39.236628 - ], - [ - 92.343938, - 39.146181 - ], - [ - 92.366112, - 39.096037 - ], - [ - 92.366728, - 39.059335 - ], - [ - 92.41046, - 39.03842 - ], - [ - 92.459119, - 39.042604 - ], - [ - 92.459119, - 39.063982 - ], - [ - 92.489916, - 39.099753 - ], - [ - 92.545966, - 39.111362 - ], - [ - 92.659299, - 39.109969 - ], - [ - 92.765857, - 39.136898 - ], - [ - 92.866871, - 39.138754 - ], - [ - 92.889045, - 39.160103 - ], - [ - 92.938936, - 39.169848 - ], - [ - 92.978356, - 39.143396 - ], - [ - 93.043029, - 39.146645 - ], - [ - 93.115094, - 39.17959 - ], - [ - 93.142196, - 39.160567 - ], - [ - 93.131725, - 39.108112 - ], - [ - 93.165601, - 39.090928 - ], - [ - 93.198246, - 39.045857 - ], - [ - 93.179152, - 38.923977 - ], - [ - 93.237666, - 38.916062 - ], - [ - 93.274007, - 38.896036 - ], - [ - 93.453245, - 38.915596 - ], - [ - 93.729186, - 38.924443 - ], - [ - 93.834511, - 38.867618 - ], - [ - 93.884403, - 38.867618 - ], - [ - 93.884403, - 38.826136 - ], - [ - 93.769838, - 38.821007 - ], - [ - 93.756287, - 38.807484 - ], - [ - 93.773533, - 38.771099 - ], - [ - 93.800019, - 38.750566 - ], - [ - 93.885018, - 38.720689 - ], - [ - 93.95154, - 38.715086 - ], - [ - 93.973098, - 38.724891 - ], - [ - 94.281067, - 38.7599 - ], - [ - 94.370379, - 38.7627 - ], - [ - 94.511429, - 38.445142 - ], - [ - 94.527443, - 38.425922 - ], - [ - 94.527443, - 38.365416 - ], - [ - 94.56132, - 38.351807 - ], - [ - 94.582878, - 38.36917 - ], - [ - 94.672805, - 38.386998 - ], - [ - 94.812623, - 38.385591 - ], - [ - 94.861282, - 38.393565 - ], - [ - 94.884072, - 38.414669 - ], - [ - 94.973999, - 38.430142 - ], - [ - 95.045448, - 38.418889 - ], - [ - 95.072549, - 38.402476 - ], - [ - 95.122441, - 38.417014 - ], - [ - 95.140919, - 38.392158 - ], - [ - 95.185266, - 38.379492 - ], - [ - 95.209904, - 38.327868 - ], - [ - 95.229614, - 38.330685 - ], - [ - 95.259179, - 38.302981 - ], - [ - 95.315846, - 38.318947 - ], - [ - 95.408236, - 38.300163 - ], - [ - 95.440881, - 38.310965 - ], - [ - 95.455664, - 38.291709 - ], - [ - 95.487693, - 38.314721 - ], - [ - 95.51849, - 38.294997 - ], - [ - 95.585011, - 38.343359 - ], - [ - 95.608417, - 38.339134 - ], - [ - 95.671858, - 38.388405 - ], - [ - 95.703887, - 38.400131 - ], - [ - 95.723597, - 38.378554 - ], - [ - 95.775952, - 38.356031 - ], - [ - 95.83693, - 38.344298 - ], - [ - 95.852945, - 38.287481 - ], - [ - 95.89606, - 38.2903 - ], - [ - 95.932401, - 38.259291 - ], - [ - 95.93856, - 38.237202 - ], - [ - 96.006929, - 38.207582 - ], - [ - 96.06606, - 38.173245 - ], - [ - 96.109175, - 38.187358 - ], - [ - 96.221892, - 38.149246 - ], - [ - 96.252689, - 38.167599 - ], - [ - 96.264392, - 38.145952 - ], - [ - 96.313051, - 38.161952 - ], - [ - 96.301964, - 38.183124 - ], - [ - 96.335841, - 38.246132 - ], - [ - 96.378341, - 38.277146 - ], - [ - 96.46334, - 38.277616 - ], - [ - 96.665369, - 38.23015 - ], - [ - 96.655514, - 38.295936 - ], - [ - 96.638883, - 38.307208 - ], - [ - 96.626564, - 38.356031 - ], - [ - 96.698013, - 38.422172 - ], - [ - 96.707868, - 38.459203 - ], - [ - 96.6666, - 38.483567 - ], - [ - 96.706637, - 38.505582 - ], - [ - 96.780549, - 38.504177 - ], - [ - 96.800259, - 38.52759 - ], - [ - 96.767614, - 38.552399 - ], - [ - 96.808882, - 38.582346 - ], - [ - 96.7941, - 38.608072 - ], - [ - 96.847071, - 38.599186 - ], - [ - 96.876636, - 38.580475 - ], - [ - 96.961019, - 38.558015 - ], - [ - 97.055874, - 38.594508 - ], - [ - 97.047251, - 38.653888 - ], - [ - 97.057722, - 38.67258 - ], - [ - 97.009063, - 38.702477 - ], - [ - 97.023229, - 38.755699 - ], - [ - 97.00044, - 38.7613 - ], - [ - 96.987505, - 38.793025 - ], - [ - 96.993664, - 38.834993 - ], - [ - 96.983809, - 38.869016 - ], - [ - 96.940693, - 38.90768 - ], - [ - 96.938846, - 38.95563 - ], - [ - 96.965331, - 39.017034 - ], - [ - 96.95794, - 39.041674 - ], - [ - 96.969643, - 39.097895 - ], - [ - 97.012142, - 39.142004 - ], - [ - 96.962251, - 39.198144 - ], - [ - 97.017686, - 39.208347 - ], - [ - 97.060186, - 39.19768 - ], - [ - 97.14149, - 39.199999 - ], - [ - 97.220946, - 39.193042 - ], - [ - 97.315185, - 39.164744 - ], - [ - 97.347213, - 39.167528 - ], - [ - 97.371235, - 39.140611 - ], - [ - 97.401416, - 39.146645 - ], - [ - 97.458698, - 39.117863 - ], - [ - 97.504894, - 39.076527 - ], - [ - 97.58127, - 39.052364 - ], - [ - 97.679205, - 39.010524 - ], - [ - 97.701379, - 38.963076 - ], - [ - 97.828878, - 38.93003 - ], - [ - 97.875689, - 38.898365 - ], - [ - 98.009348, - 38.85923 - ], - [ - 98.029058, - 38.834061 - ], - [ - 98.068478, - 38.816344 - ], - [ - 98.091884, - 38.786495 - ], - [ - 98.167645, - 38.840121 - ], - [ - 98.242173, - 38.880664 - ], - [ - 98.235398, - 38.918855 - ], - [ - 98.276666, - 38.963541 - ], - [ - 98.287753, - 38.992386 - ], - [ - 98.280977, - 39.027263 - ], - [ - 98.316702, - 39.040744 - ], - [ - 98.383839, - 39.029588 - ], - [ - 98.401086, - 39.001688 - ], - [ - 98.432498, - 38.996107 - ], - [ - 98.428187, - 38.976104 - ], - [ - 98.457752, - 38.952838 - ], - [ - 98.526737, - 38.95563 - ], - [ - 98.584635, - 38.93003 - ], - [ - 98.624056, - 38.959353 - ], - [ - 98.612353, - 38.977035 - ], - [ - 98.661628, - 38.993782 - ], - [ - 98.70536, - 39.043533 - ], - [ - 98.730613, - 39.057011 - ], - [ - 98.743548, - 39.086747 - ], - [ - 98.816845, - 39.085818 - ], - [ - 98.818076, - 39.064911 - ], - [ - 98.886446, - 39.040744 - ], - [ - 98.903076, - 39.012384 - ], - [ - 98.951735, - 38.987735 - ], - [ - 99.054597, - 38.97657 - ], - [ - 99.107568, - 38.951907 - ], - [ - 99.071843, - 38.921184 - ], - [ - 99.068764, - 38.896968 - ], - [ - 99.141445, - 38.852706 - ], - [ - 99.222133, - 38.788827 - ], - [ - 99.291118, - 38.765966 - ], - [ - 99.361951, - 38.718354 - ], - [ - 99.375502, - 38.684727 - ], - [ - 99.412458, - 38.665571 - ], - [ - 99.450646, - 38.60433 - ], - [ - 99.501769, - 38.612281 - ], - [ - 99.52887, - 38.546314 - ], - [ - 99.585537, - 38.498556 - ], - [ - 99.63974, - 38.474666 - ], - [ - 99.65945, - 38.449361 - ], - [ - 99.727203, - 38.415607 - ], - [ - 99.758, - 38.410449 - ], - [ - 99.826985, - 38.370109 - ], - [ - 99.960028, - 38.320825 - ], - [ - 100.001912, - 38.315191 - ], - [ - 100.049955, - 38.283254 - ], - [ - 100.071513, - 38.284663 - ], - [ - 100.117093, - 38.253652 - ], - [ - 100.126332, - 38.231561 - ], - [ - 100.182998, - 38.222158 - ], - [ - 100.159592, - 38.291239 - ], - [ - 100.163904, - 38.328337 - ], - [ - 100.136803, - 38.33444 - ], - [ - 100.093071, - 38.407166 - ], - [ - 100.022238, - 38.432017 - ], - [ - 100.001296, - 38.467169 - ], - [ - 100.025933, - 38.507923 - ], - [ - 100.064122, - 38.518694 - ], - [ - 100.086911, - 38.492936 - ], - [ - 100.113397, - 38.497151 - ], - [ - 100.163288, - 38.461546 - ], - [ - 100.24028, - 38.441861 - ], - [ - 100.259374, - 38.366355 - ], - [ - 100.301874, - 38.388405 - ], - [ - 100.331439, - 38.337257 - ], - [ - 100.318505, - 38.329276 - ], - [ - 100.396729, - 38.293118 - ], - [ - 100.424446, - 38.307208 - ], - [ - 100.432453, - 38.275267 - ], - [ - 100.459555, - 38.2654 - ], - [ - 100.474953, - 38.288891 - ], - [ - 100.516837, - 38.272448 - ], - [ - 100.545786, - 38.247072 - ], - [ - 100.595061, - 38.242372 - ], - [ - 100.619083, - 38.26587 - ], - [ - 100.71517, - 38.253652 - ], - [ - 100.752126, - 38.238612 - ], - [ - 100.825423, - 38.158658 - ], - [ - 100.860531, - 38.148305 - ], - [ - 100.913502, - 38.17889 - ], - [ - 100.93814, - 38.16007 - ], - [ - 100.91843, - 38.129006 - ], - [ - 100.922125, - 38.084741 - ], - [ - 100.888864, - 38.056001 - ], - [ - 100.895024, - 38.013107 - ], - [ - 100.91843, - 37.999432 - ], - [ - 100.964009, - 38.011221 - ], - [ - 101.077342, - 37.941874 - ], - [ - 101.103211, - 37.946593 - ], - [ - 101.114298, - 37.92016 - ], - [ - 101.152486, - 37.891356 - ], - [ - 101.159262, - 37.86821 - ], - [ - 101.202994, - 37.84742 - ], - [ - 101.276906, - 37.83655 - ], - [ - 101.362522, - 37.791162 - ], - [ - 101.382848, - 37.822369 - ], - [ - 101.459224, - 37.86632 - ], - [ - 101.551615, - 37.835604 - ], - [ - 101.598427, - 37.827569 - ], - [ - 101.670491, - 37.754264 - ], - [ - 101.659405, - 37.733441 - ], - [ - 101.791832, - 37.696041 - ], - [ - 101.815853, - 37.654357 - ], - [ - 101.854657, - 37.664781 - ], - [ - 101.873135, - 37.686569 - ], - [ - 101.946432, - 37.728235 - ], - [ - 101.998787, - 37.724921 - ], - [ - 102.036359, - 37.685149 - ], - [ - 102.048678, - 37.651515 - ], - [ - 102.035128, - 37.627819 - ], - [ - 102.102265, - 37.582304 - ], - [ - 102.131214, - 37.54625 - ], - [ - 102.103497, - 37.482641 - ], - [ - 102.125055, - 37.48549 - ], - [ - 102.176794, - 37.458892 - ], - [ - 102.19712, - 37.420403 - ], - [ - 102.299981, - 37.391404 - ], - [ - 102.29875, - 37.370004 - ], - [ - 102.368351, - 37.327662 - ], - [ - 102.428097, - 37.308624 - ], - [ - 102.419474, - 37.294343 - ], - [ - 102.45335, - 37.271487 - ], - [ - 102.457662, - 37.248147 - ], - [ - 102.490307, - 37.223371 - ], - [ - 102.533422, - 37.217176 - ], - [ - 102.578386, - 37.17284 - ], - [ - 102.599944, - 37.174748 - ], - [ - 102.642444, - 37.099845 - ], - [ - 102.583314, - 37.104618 - ], - [ - 102.488459, - 37.078362 - ], - [ - 102.506321, - 37.019134 - ], - [ - 102.450271, - 36.968467 - ], - [ - 102.499546, - 36.954599 - ], - [ - 102.526031, - 36.928291 - ], - [ - 102.56114, - 36.91968 - ], - [ - 102.587009, - 36.869904 - ], - [ - 102.639364, - 36.852666 - ], - [ - 102.720052, - 36.767858 - ], - [ - 102.692335, - 36.775528 - ], - [ - 102.639364, - 36.732853 - ], - [ - 102.612879, - 36.738129 - ], - [ - 102.601176, - 36.710307 - ], - [ - 102.630741, - 36.650793 - ], - [ - 102.684328, - 36.619097 - ], - [ - 102.724364, - 36.613813 - ], - [ - 102.714509, - 36.599401 - ], - [ - 102.761936, - 36.568645 - ], - [ - 102.734219, - 36.562396 - ], - [ - 102.753313, - 36.525855 - ], - [ - 102.793349, - 36.497957 - ], - [ - 102.771791, - 36.47438 - ], - [ - 102.829689, - 36.365544 - ], - [ - 102.831537, - 36.365544 - ], - [ - 102.838928, - 36.345783 - ], - [ - 102.836465, - 36.344819 - ], - [ - 102.845704, - 36.331803 - ], - [ - 102.896827, - 36.331803 - ], - [ - 102.922696, - 36.298047 - ], - [ - 103.024942, - 36.256556 - ], - [ - 103.021246, - 36.232906 - ], - [ - 103.066826, - 36.216974 - ], - [ - 103.048964, - 36.199107 - ], - [ - 102.986754, - 36.193312 - ], - [ - 102.965812, - 36.151765 - ], - [ - 102.948566, - 36.150798 - ], - [ - 102.941174, - 36.104877 - ], - [ - 102.882044, - 36.082632 - ], - [ - 102.932551, - 36.048285 - ], - [ - 102.968276, - 36.044414 - ], - [ - 102.951645, - 36.021667 - ], - [ - 102.971971, - 35.995525 - ], - [ - 102.942406, - 35.92674 - ], - [ - 102.954725, - 35.858864 - ], - [ - 102.94487, - 35.829757 - ], - [ - 102.914073, - 35.845282 - ], - [ - 102.81737, - 35.850133 - ], - [ - 102.787189, - 35.862745 - ], - [ - 102.739146, - 35.821023 - ], - [ - 102.715125, - 35.815685 - ], - [ - 102.686175, - 35.771996 - ], - [ - 102.707733, - 35.70496 - ], - [ - 102.744074, - 35.657807 - ], - [ - 102.7644, - 35.653431 - ], - [ - 102.763168, - 35.612086 - ], - [ - 102.808747, - 35.560496 - ], - [ - 102.746537, - 35.545403 - ], - [ - 102.729291, - 35.523487 - ], - [ - 102.782878, - 35.527871 - ], - [ - 102.743458, - 35.494745 - ], - [ - 102.695414, - 35.528358 - ], - [ - 102.570995, - 35.548324 - ], - [ - 102.531575, - 35.580455 - ], - [ - 102.503241, - 35.585322 - ], - [ - 102.49893, - 35.545403 - ], - [ - 102.437952, - 35.455268 - ], - [ - 102.447807, - 35.437229 - ], - [ - 102.408387, - 35.409431 - ], - [ - 102.314764, - 35.434303 - ], - [ - 102.293822, - 35.424063 - ], - [ - 102.287663, - 35.36552 - ], - [ - 102.317844, - 35.343067 - ], - [ - 102.311684, - 35.31426 - ], - [ - 102.280887, - 35.303028 - ], - [ - 102.3123, - 35.282512 - ], - [ - 102.370199, - 35.263946 - ], - [ - 102.365887, - 35.235599 - ], - [ - 102.404075, - 35.179366 - ], - [ - 102.346793, - 35.164201 - ], - [ - 102.310452, - 35.128967 - ], - [ - 102.29567, - 35.071681 - ], - [ - 102.252554, - 35.048657 - ], - [ - 102.218062, - 35.057475 - ], - [ - 102.211286, - 35.034937 - ], - [ - 102.176178, - 35.032977 - ], - [ - 102.157699, - 35.010923 - ], - [ - 102.133678, - 35.014844 - ], - [ - 102.094874, - 34.986901 - ], - [ - 102.048062, - 34.910868 - ], - [ - 102.068388, - 34.887798 - ], - [ - 101.985852, - 34.90007 - ], - [ - 101.916867, - 34.873561 - ], - [ - 101.923027, - 34.835746 - ], - [ - 101.917483, - 34.705964 - ], - [ - 101.919947, - 34.621791 - ], - [ - 101.934729, - 34.58731 - ], - [ - 101.956287, - 34.582876 - ], - [ - 101.97415, - 34.548871 - ], - [ - 102.001867, - 34.538519 - ], - [ - 102.093026, - 34.536547 - ], - [ - 102.139837, - 34.50351 - ], - [ - 102.155852, - 34.507456 - ], - [ - 102.169402, - 34.457631 - ], - [ - 102.205743, - 34.407777 - ], - [ - 102.259329, - 34.355917 - ], - [ - 102.237156, - 34.34307 - ], - [ - 102.237156, - 34.34307 - ], - [ - 102.186649, - 34.352952 - ], - [ - 102.149692, - 34.271885 - ], - [ - 102.067772, - 34.293642 - ], - [ - 102.062229, - 34.227858 - ], - [ - 102.01357, - 34.218456 - ], - [ - 102.030816, - 34.190739 - ], - [ - 102.003099, - 34.162022 - ], - [ - 101.965526, - 34.167469 - ], - [ - 101.955055, - 34.109514 - ], - [ - 101.897773, - 34.133791 - ], - [ - 101.874367, - 34.130323 - ], - [ - 101.851578, - 34.153108 - ], - [ - 101.836795, - 34.124378 - ], - [ - 101.788136, - 34.131809 - ], - [ - 101.764114, - 34.122892 - ], - [ - 101.736397, - 34.080275 - ], - [ - 101.718535, - 34.083249 - ], - [ - 101.703136, - 34.119424 - ], - [ - 101.674187, - 34.110506 - ], - [ - 101.6206, - 34.178857 - ], - [ - 101.53868, - 34.212022 - ], - [ - 101.492485, - 34.195689 - ], - [ - 101.482014, - 34.218951 - ], - [ - 101.417956, - 34.227858 - ], - [ - 101.369913, - 34.248143 - ], - [ - 101.327413, - 34.24468 - ], - [ - 101.325565, - 34.268423 - ], - [ - 101.268899, - 34.278808 - ], - [ - 101.228863, - 34.298586 - ], - [ - 101.235022, - 34.325279 - ], - [ - 101.193754, - 34.336646 - ], - [ - 101.178356, - 34.320831 - ], - [ - 101.098284, - 34.329233 - ], - [ - 101.054552, - 34.322808 - ], - [ - 100.986799, - 34.374689 - ], - [ - 100.951074, - 34.38358 - ], - [ - 100.895024, - 34.375183 - ], - [ - 100.868538, - 34.332693 - ], - [ - 100.821727, - 34.317371 - ], - [ - 100.798321, - 34.260014 - ], - [ - 100.809408, - 34.247153 - ], - [ - 100.764445, - 34.178857 - ], - [ - 100.806329, - 34.155584 - ], - [ - 100.848828, - 34.089692 - ], - [ - 100.870386, - 34.083744 - ], - [ - 100.880857, - 34.036644 - ], - [ - 100.93506, - 33.990013 - ], - [ - 100.927669, - 33.975126 - ], - [ - 100.965857, - 33.946832 - ], - [ - 100.994806, - 33.891707 - ], - [ - 101.023139, - 33.896178 - ], - [ - 101.054552, - 33.863386 - ], - [ - 101.153718, - 33.8445 - ], - [ - 101.153102, - 33.823124 - ], - [ - 101.190675, - 33.791796 - ], - [ - 101.186363, - 33.741051 - ], - [ - 101.162957, - 33.719649 - ], - [ - 101.177124, - 33.685295 - ], - [ - 101.166653, - 33.659894 - ], - [ - 101.217776, - 33.669856 - ], - [ - 101.23687, - 33.685793 - ], - [ - 101.302776, - 33.657902 - ], - [ - 101.385312, - 33.644949 - ], - [ - 101.424732, - 33.655411 - ], - [ - 101.428427, - 33.680315 - ], - [ - 101.501724, - 33.702723 - ], - [ - 101.58426, - 33.674339 - ], - [ - 101.585492, - 33.645448 - ], - [ - 101.616905, - 33.598603 - ], - [ - 101.611977, - 33.565199 - ], - [ - 101.622448, - 33.502343 - ], - [ - 101.718535, - 33.494857 - ], - [ - 101.748716, - 33.505337 - ], - [ - 101.769042, - 33.538765 - ], - [ - 101.783208, - 33.556721 - ], - [ - 101.831252, - 33.554726 - ], - [ - 101.844186, - 33.602591 - ], - [ - 101.884222, - 33.578163 - ], - [ - 101.907012, - 33.539264 - ], - [ - 101.906396, - 33.48188 - ], - [ - 101.946432, - 33.442937 - ], - [ - 101.915635, - 33.425957 - ], - [ - 101.887302, - 33.383991 - ], - [ - 101.877447, - 33.314502 - ], - [ - 101.769658, - 33.26898 - ], - [ - 101.770274, - 33.248962 - ], - [ - 101.83002, - 33.213921 - ], - [ - 101.841723, - 33.184876 - ], - [ - 101.825708, - 33.119239 - ], - [ - 101.865744, - 33.103198 - ], - [ - 101.887302, - 33.135778 - ], - [ - 101.921795, - 33.153817 - ], - [ - 101.935345, - 33.186879 - ], - [ - 101.99386, - 33.1999 - ], - [ - 102.054838, - 33.189884 - ], - [ - 102.08933, - 33.204908 - ], - [ - 102.08933, - 33.227439 - ], - [ - 102.117047, - 33.288492 - ], - [ - 102.144765, - 33.273983 - ], - [ - 102.160163, - 33.242956 - ], - [ - 102.200815, - 33.223434 - ], - [ - 102.217446, - 33.247961 - ], - [ - 102.192192, - 33.337005 - ], - [ - 102.218062, - 33.349503 - ], - [ - 102.258098, - 33.409472 - ], - [ - 102.296286, - 33.413969 - ], - [ - 102.310452, - 33.397982 - ], - [ - 102.368967, - 33.41247 - ], - [ - 102.392988, - 33.404477 - ], - [ - 102.447807, - 33.454922 - ], - [ - 102.462589, - 33.449429 - ], - [ - 102.461358, - 33.501345 - ], - [ - 102.446575, - 33.53228 - ], - [ - 102.477988, - 33.543254 - ], - [ - 102.440416, - 33.574673 - ], - [ - 102.346793, - 33.605582 - ], - [ - 102.31538, - 33.665374 - ], - [ - 102.342481, - 33.725622 - ], - [ - 102.284583, - 33.719151 - ], - [ - 102.324619, - 33.754486 - ], - [ - 102.296286, - 33.783838 - ], - [ - 102.243315, - 33.786823 - ], - [ - 102.261177, - 33.821136 - ], - [ - 102.25317, - 33.861399 - ], - [ - 102.136142, - 33.965199 - ], - [ - 102.16817, - 33.983066 - ], - [ - 102.226069, - 33.963214 - ], - [ - 102.248858, - 33.98654 - ], - [ - 102.287047, - 33.977607 - ], - [ - 102.315996, - 33.993983 - ], - [ - 102.345561, - 33.969666 - ], - [ - 102.392372, - 33.971651 - ], - [ - 102.406539, - 34.033172 - ], - [ - 102.437336, - 34.087214 - ], - [ - 102.471213, - 34.072839 - ], - [ - 102.511865, - 34.086222 - ], - [ - 102.615958, - 34.099604 - ], - [ - 102.649219, - 34.080275 - ], - [ - 102.655994, - 34.113478 - ], - [ - 102.598712, - 34.14766 - ], - [ - 102.651067, - 34.165983 - ], - [ - 102.664002, - 34.192719 - ], - [ - 102.694799, - 34.198659 - ], - [ - 102.728675, - 34.235774 - ], - [ - 102.779798, - 34.236764 - ], - [ - 102.798276, - 34.272874 - ], - [ - 102.856791, - 34.270895 - ], - [ - 102.85987, - 34.301058 - ], - [ - 102.911609, - 34.312923 - ], - [ - 102.949181, - 34.292159 - ], - [ - 102.977515, - 34.252595 - ], - [ - 102.973203, - 34.205588 - ], - [ - 103.005848, - 34.184798 - ], - [ - 103.052043, - 34.195194 - ], - [ - 103.100087, - 34.181828 - ], - [ - 103.124108, - 34.162022 - ], - [ - 103.121644, - 34.112487 - ], - [ - 103.178927, - 34.079779 - ], - [ - 103.129652, - 34.065899 - ], - [ - 103.119797, - 34.03466 - ], - [ - 103.147514, - 34.036644 - ], - [ - 103.157369, - 33.998944 - ], - [ - 103.120413, - 33.953286 - ], - [ - 103.1315, - 33.931937 - ], - [ - 103.16476, - 33.929454 - ], - [ - 103.181391, - 33.900649 - ], - [ - 103.153673, - 33.819147 - ], - [ - 103.165376, - 33.805721 - ], - [ - 103.228202, - 33.79478 - ], - [ - 103.24976, - 33.814175 - ], - [ - 103.284868, - 33.80224 - ], - [ - 103.278709, - 33.774387 - ], - [ - 103.35447, - 33.743539 - ], - [ - 103.434542, - 33.752993 - ], - [ - 103.464723, - 33.80224 - ], - [ - 103.518309, - 33.807213 - ], - [ - 103.545411, - 33.719649 - ], - [ - 103.520157, - 33.678323 - ], - [ - 103.552186, - 33.671351 - ], - [ - 103.563889, - 33.699735 - ], - [ - 103.593454, - 33.716164 - ], - [ - 103.645809, - 33.708697 - ], - [ - 103.667983, - 33.685793 - ], - [ - 103.690772, - 33.69376 - ], - [ - 103.778236, - 33.658898 - ], - [ - 103.861388, - 33.682307 - ], - [ - 103.980264, - 33.670852 - ], - [ - 104.046169, - 33.686291 - ], - [ - 104.103452, - 33.663381 - ], - [ - 104.176749, - 33.5996 - ], - [ - 104.155191, - 33.542755 - ], - [ - 104.180444, - 33.472895 - ], - [ - 104.213089, - 33.446932 - ], - [ - 104.22048, - 33.404477 - ], - [ - 104.272219, - 33.391486 - ], - [ - 104.292545, - 33.336505 - ], - [ - 104.373849, - 33.345004 - ], - [ - 104.420045, - 33.327004 - ], - [ - 104.386168, - 33.298497 - ], - [ - 104.333813, - 33.315502 - ], - [ - 104.303632, - 33.304499 - ], - [ - 104.323958, - 33.26898 - ], - [ - 104.32827, - 33.223934 - ], - [ - 104.351059, - 33.158828 - ], - [ - 104.378161, - 33.109214 - ], - [ - 104.337509, - 33.038002 - ], - [ - 104.391711, - 33.035493 - ], - [ - 104.426204, - 33.010906 - ], - [ - 104.383704, - 32.994343 - ], - [ - 104.378161, - 32.953174 - ], - [ - 104.345516, - 32.940117 - ], - [ - 104.288234, - 32.942628 - ], - [ - 104.277147, - 32.90244 - ], - [ - 104.294393, - 32.835586 - ], - [ - 104.363994, - 32.822511 - ], - [ - 104.458849, - 32.748551 - ], - [ - 104.51182, - 32.753585 - ], - [ - 104.526602, - 32.728416 - ], - [ - 104.582653, - 32.722374 - ], - [ - 104.592508, - 32.695685 - ], - [ - 104.643015, - 32.661935 - ], - [ - 104.696601, - 32.673522 - ], - [ - 104.739717, - 32.635228 - ], - [ - 104.795768, - 32.643292 - ], - [ - 104.820405, - 32.662943 - ], - [ - 104.845659, - 32.653873 - ], - [ - 104.881999, - 32.600951 - ], - [ - 104.925115, - 32.607505 - ], - [ - 105.026745, - 32.650346 - ], - [ - 105.0791, - 32.637244 - ], - [ - 105.111128, - 32.593893 - ], - [ - 105.185041, - 32.617587 - ], - [ - 105.215222, - 32.63674 - ], - [ - 105.219534, - 32.666469 - ], - [ - 105.263265, - 32.652362 - ], - [ - 105.297758, - 32.656897 - ], - [ - 105.347033, - 32.68259 - ], - [ - 105.368591, - 32.712807 - ], - [ - 105.448663, - 32.732946 - ], - [ - 105.454207, - 32.767173 - ], - [ - 105.427721, - 32.784281 - ], - [ - 105.396308, - 32.85067 - ], - [ - 105.396308, - 32.85067 - ], - [ - 105.38091, - 32.876307 - ], - [ - 105.408011, - 32.885857 - ], - [ - 105.414171, - 32.922034 - ], - [ - 105.467757, - 32.930071 - ], - [ - 105.49917, - 32.911986 - ], - [ - 105.528119, - 32.919019 - ], - [ - 105.565692, - 32.906962 - ], - [ - 105.590329, - 32.87681 - ], - [ - 105.638373, - 32.879323 - ], - [ - 105.656851, - 32.895405 - ], - [ - 105.735691, - 32.905454 - ], - [ - 105.82685, - 32.950663 - ], - [ - 105.861959, - 32.939112 - ], - [ - 105.917393, - 32.993841 - ], - [ - 105.926632, - 33.042517 - ], - [ - 105.914929, - 33.066092 - ], - [ - 105.934639, - 33.112221 - ], - [ - 105.923552, - 33.147805 - ], - [ - 105.897067, - 33.146803 - ], - [ - 105.93156, - 33.178365 - ], - [ - 105.968516, - 33.154318 - ], - [ - 105.965436, - 33.204407 - ], - [ - 105.917393, - 33.237951 - ], - [ - 105.862574, - 33.234447 - ], - [ - 105.799133, - 33.258471 - ], - [ - 105.791741, - 33.278486 - ], - [ - 105.752937, - 33.291994 - ], - [ - 105.755401, - 33.329004 - ], - [ - 105.709822, - 33.382991 - ], - [ - 105.827466, - 33.379993 - ], - [ - 105.837937, - 33.410971 - ], - [ - 105.831162, - 33.451926 - ], - [ - 105.842248, - 33.489866 - ], - [ - 105.871198, - 33.511325 - ], - [ - 105.902611, - 33.556222 - ], - [ - 105.940183, - 33.570684 - ], - [ - 105.971596, - 33.613058 - ], - [ - 106.047356, - 33.610067 - ], - [ - 106.086776, - 33.617045 - ], - [ - 106.117573, - 33.602591 - ], - [ - 106.108334, - 33.569686 - ], - [ - 106.187174, - 33.546746 - ], - [ - 106.237681, - 33.564201 - ], - [ - 106.303587, - 33.604585 - ], - [ - 106.35163, - 33.587137 - ], - [ - 106.384891, - 33.612061 - ], - [ - 106.447101, - 33.613058 - ], - [ - 106.456956, - 33.532779 - ], - [ - 106.540108, - 33.512822 - ], - [ - 106.58076, - 33.576169 - ], - [ - 106.575832, - 33.631497 - ], - [ - 106.534564, - 33.695254 - ], - [ - 106.482825, - 33.707203 - ], - [ - 106.488369, - 33.757969 - ], - [ - 106.461883, - 33.789807 - ], - [ - 106.491448, - 33.834559 - ], - [ - 106.475434, - 33.875809 - ], - [ - 106.428007, - 33.866368 - ], - [ - 106.41076, - 33.909093 - ], - [ - 106.474202, - 33.970659 - ], - [ - 106.471738, - 34.024244 - ], - [ - 106.505615, - 34.056479 - ], - [ - 106.501919, - 34.105055 - ], - [ - 106.560434, - 34.109514 - ], - [ - 106.585071, - 34.149641 - ], - [ - 106.55797, - 34.229837 - ], - [ - 106.5321, - 34.254079 - ], - [ - 106.496376, - 34.238248 - ], - [ - 106.526557, - 34.292159 - ], - [ - 106.577064, - 34.280786 - ], - [ - 106.589383, - 34.253584 - ], - [ - 106.63373, - 34.260014 - ], - [ - 106.652825, - 34.24369 - ], - [ - 106.68239, - 34.256057 - ], - [ - 106.705179, - 34.299575 - ], - [ - 106.691013, - 34.337635 - ], - [ - 106.717498, - 34.369255 - ], - [ - 106.638042, - 34.391481 - ], - [ - 106.610941, - 34.454177 - ], - [ - 106.558586, - 34.48822 - ], - [ - 106.513622, - 34.498085 - ], - [ - 106.514238, - 34.511894 - ], - [ - 106.455108, - 34.531617 - ], - [ - 106.334384, - 34.517811 - ], - [ - 106.341159, - 34.568093 - ], - [ - 106.314058, - 34.578934 - ], - [ - 106.419384, - 34.643458 - ], - [ - 106.471122, - 34.634102 - ], - [ - 106.442173, - 34.675455 - ], - [ - 106.456956, - 34.703996 - ], - [ - 106.487137, - 34.715311 - ], - [ - 106.505615, - 34.746789 - ], - [ - 106.539492, - 34.745805 - ], - [ - 106.575216, - 34.769897 - ], - [ - 106.550579, - 34.82936 - ], - [ - 106.556122, - 34.861285 - ], - [ - 106.527789, - 34.876507 - ], - [ - 106.493296, - 34.941289 - ], - [ - 106.484673, - 34.983959 - ], - [ - 106.494528, - 35.006021 - ], - [ - 106.494528, - 35.006021 - ], - [ - 106.52163, - 35.027587 - ], - [ - 106.541956, - 35.083925 - ], - [ - 106.577064, - 35.089312 - ], - [ - 106.615252, - 35.071191 - ], - [ - 106.706411, - 35.081966 - ], - [ - 106.710723, - 35.100574 - ], - [ - 106.838222, - 35.080007 - ], - [ - 106.901664, - 35.094698 - ], - [ - 106.950323, - 35.066782 - ], - [ - 106.990975, - 35.068252 - ], - [ - 107.012533, - 35.029547 - ], - [ - 107.08275, - 35.024156 - ], - [ - 107.089526, - 34.976604 - ], - [ - 107.119707, - 34.950119 - ], - [ - 107.162206, - 34.944233 - ], - [ - 107.189308, - 34.893198 - ], - [ - 107.252749, - 34.880925 - ], - [ - 107.286626, - 34.931968 - ], - [ - 107.350068, - 34.93393 - ], - [ - 107.369162, - 34.917738 - ], - [ - 107.400575, - 34.932949 - ], - [ - 107.455394, - 34.916757 - ], - [ - 107.523763, - 34.909886 - ], - [ - 107.564415, - 34.968757 - ], - [ - 107.619849, - 34.964834 - ], - [ - 107.638943, - 34.935402 - ], - [ - 107.675284, - 34.9511 - ], - [ - 107.741805, - 34.953553 - ], - [ - 107.842203, - 34.979056 - ], - [ - 107.863145, - 34.999158 - ], - [ - 107.846515, - 35.024646 - ], - [ - 107.814486, - 35.024646 - ], - [ - 107.773218, - 35.060904 - ], - [ - 107.773218, - 35.060904 - ], - [ - 107.769523, - 35.064333 - ], - [ - 107.769523, - 35.064333 - ], - [ - 107.727639, - 35.120157 - ], - [ - 107.715936, - 35.168114 - ], - [ - 107.686371, - 35.218 - ], - [ - 107.652494, - 35.244886 - ], - [ - 107.667277, - 35.257104 - ], - [ - 107.737494, - 35.267366 - ], - [ - 107.745501, - 35.311819 - ], - [ - 107.841587, - 35.276649 - ], - [ - 107.867457, - 35.256127 - ], - [ - 107.960464, - 35.263457 - ], - [ - 107.949993, - 35.245375 - ], - [ - 108.049159, - 35.253683 - ], - [ - 108.094739, - 35.280069 - ], - [ - 108.174811, - 35.304981 - ], - [ - 108.221622, - 35.296678 - ], - [ - 108.239484, - 35.256127 - ], - [ - 108.296767, - 35.267855 - ], - [ - 108.345426, - 35.300586 - ], - [ - 108.36144, - 35.279581 - ], - [ - 108.48894, - 35.275184 - ], - [ - 108.547454, - 35.304981 - ], - [ - 108.583178, - 35.294724 - ], - [ - 108.614591, - 35.328909 - ], - [ - 108.61028, - 35.355271 - ], - [ - 108.631222, - 35.418698 - ], - [ - 108.605968, - 35.503028 - ], - [ - 108.625678, - 35.537124 - ], - [ - 108.618287, - 35.557088 - ], - [ - 108.539447, - 35.605761 - ], - [ - 108.517889, - 35.699615 - ], - [ - 108.533903, - 35.746257 - ], - [ - 108.527744, - 35.82442 - ], - [ - 108.499411, - 35.872444 - ], - [ - 108.518505, - 35.905414 - ], - [ - 108.562852, - 35.921409 - ], - [ - 108.593649, - 35.950967 - ], - [ - 108.652164, - 35.94806 - ], - [ - 108.659555, - 35.990683 - ], - [ - 108.688504, - 36.021183 - ], - [ - 108.682345, - 36.062316 - ], - [ - 108.712526, - 36.138716 - ], - [ - 108.646004, - 36.254143 - ], - [ - 108.641693, - 36.359279 - ], - [ - 108.651548, - 36.384818 - ], - [ - 108.618903, - 36.433946 - ], - [ - 108.562852, - 36.43876 - ], - [ - 108.510498, - 36.47438 - ], - [ - 108.514809, - 36.445501 - ], - [ - 108.495099, - 36.422389 - ], - [ - 108.460606, - 36.422871 - ], - [ - 108.408252, - 36.45946 - ], - [ - 108.391621, - 36.505654 - ], - [ - 108.365136, - 36.519603 - ], - [ - 108.340498, - 36.559032 - ], - [ - 108.262274, - 36.549417 - ], - [ - 108.245644, - 36.571048 - ], - [ - 108.210535, - 36.577296 - ], - [ - 108.204992, - 36.606607 - ], - [ - 108.204992, - 36.606607 - ], - [ - 108.222854, - 36.631105 - ], - [ - 108.1976, - 36.630144 - ], - [ - 108.163724, - 36.563839 - ], - [ - 108.092891, - 36.587388 - ], - [ - 108.079956, - 36.614294 - ], - [ - 108.060862, - 36.592194 - ], - [ - 108.001732, - 36.639269 - ], - [ - 108.02329, - 36.647912 - ], - [ - 108.006659, - 36.683435 - ], - [ - 107.938906, - 36.655594 - ], - [ - 107.940754, - 36.694953 - ], - [ - 107.914268, - 36.720861 - ], - [ - 107.907493, - 36.750118 - ], - [ - 107.866841, - 36.766899 - ], - [ - 107.768291, - 36.792783 - ], - [ - 107.742421, - 36.811951 - ], - [ - 107.722095, - 36.802367 - ], - [ - 107.670356, - 36.83303 - ], - [ - 107.642023, - 36.819137 - ], - [ - 107.5909, - 36.836382 - ], - [ - 107.540393, - 36.828718 - ], - [ - 107.533618, - 36.867031 - ], - [ - 107.478183, - 36.908196 - ], - [ - 107.365466, - 36.905324 - ], - [ - 107.336517, - 36.925899 - ], - [ - 107.310032, - 36.912502 - ], - [ - 107.291554, - 36.979463 - ], - [ - 107.291554, - 36.979463 - ], - [ - 107.288474, - 37.008143 - ], - [ - 107.288474, - 37.008143 - ], - [ - 107.28601, - 37.054963 - ], - [ - 107.268764, - 37.099367 - ], - [ - 107.234887, - 37.096503 - ], - [ - 107.181916, - 37.143269 - ], - [ - 107.133873, - 37.134681 - ], - [ - 107.095685, - 37.115595 - ], - [ - 107.030395, - 37.140883 - ], - [ - 107.031011, - 37.108436 - ], - [ - 106.998367, - 37.106527 - ], - [ - 106.905976, - 37.151378 - ], - [ - 106.912135, - 37.110345 - ], - [ - 106.891193, - 37.098413 - ], - [ - 106.818512, - 37.141838 - ], - [ - 106.776012, - 37.158056 - ], - [ - 106.772933, - 37.120367 - ], - [ - 106.750143, - 37.09889 - ], - [ - 106.728585, - 37.121321 - ], - [ - 106.687933, - 37.12991 - ], - [ - 106.673151, - 37.1113 - ], - [ - 106.6171, - 37.135158 - ], - [ - 106.605397, - 37.127524 - ], - [ - 106.645433, - 37.064992 - ], - [ - 106.666991, - 37.016745 - ], - [ - 106.646665, - 37.000496 - ], - [ - 106.64297, - 36.962729 - ], - [ - 106.594926, - 36.967988 - ], - [ - 106.595542, - 36.94025 - ], - [ - 106.540108, - 36.984244 - ], - [ - 106.549347, - 36.941685 - ], - [ - 106.601702, - 36.918244 - ], - [ - 106.609709, - 36.878521 - ], - [ - 106.609709, - 36.878521 - ], - [ - 106.626955, - 36.892403 - ], - [ - 106.637426, - 36.867031 - ], - [ - 106.637426, - 36.867031 - ], - [ - 106.657752, - 36.820575 - ], - [ - 106.627571, - 36.752995 - ], - [ - 106.644817, - 36.72278 - ], - [ - 106.59431, - 36.750118 - ], - [ - 106.514238, - 36.715584 - ], - [ - 106.519782, - 36.708868 - ], - [ - 106.519782, - 36.708868 - ], - [ - 106.530869, - 36.690154 - ], - [ - 106.490833, - 36.685835 - ], - [ - 106.491448, - 36.628703 - ], - [ - 106.444637, - 36.624861 - ], - [ - 106.465579, - 36.583063 - ], - [ - 106.444637, - 36.557109 - ], - [ - 106.397826, - 36.576816 - ], - [ - 106.392282, - 36.556628 - ], - [ - 106.363949, - 36.577296 - ], - [ - 106.37134, - 36.549417 - ], - [ - 106.39721, - 36.548455 - ], - [ - 106.455724, - 36.496995 - ], - [ - 106.494528, - 36.494589 - ], - [ - 106.523477, - 36.468605 - ], - [ - 106.492064, - 36.422389 - ], - [ - 106.510543, - 36.379037 - ], - [ - 106.497608, - 36.31348 - ], - [ - 106.470507, - 36.306246 - ], - [ - 106.504383, - 36.266207 - ], - [ - 106.54134, - 36.25366 - ], - [ - 106.559202, - 36.292259 - ], - [ - 106.647897, - 36.259451 - ], - [ - 106.685469, - 36.273445 - ], - [ - 106.698404, - 36.244008 - ], - [ - 106.735976, - 36.23725 - ], - [ - 106.772933, - 36.212628 - ], - [ - 106.808657, - 36.21118 - ], - [ - 106.833295, - 36.229044 - ], - [ - 106.858548, - 36.206834 - ], - [ - 106.858548, - 36.206834 - ], - [ - 106.873947, - 36.178338 - ], - [ - 106.873947, - 36.178338 - ], - [ - 106.930613, - 36.138716 - ], - [ - 106.925686, - 36.115997 - ], - [ - 106.957715, - 36.091337 - ], - [ - 106.940468, - 36.064734 - ], - [ - 106.928149, - 36.011502 - ], - [ - 106.94786, - 35.988262 - ], - [ - 106.90228, - 35.943699 - ], - [ - 106.93862, - 35.952905 - ], - [ - 106.940468, - 35.931101 - ], - [ - 106.912751, - 35.93207 - ], - [ - 106.849925, - 35.887476 - ], - [ - 106.927534, - 35.810346 - ], - [ - 106.897353, - 35.759856 - ], - [ - 106.868403, - 35.771996 - ], - [ - 106.867171, - 35.738485 - ], - [ - 106.819128, - 35.7448 - ], - [ - 106.806193, - 35.70982 - ], - [ - 106.750759, - 35.725369 - ], - [ - 106.750759, - 35.689408 - ], - [ - 106.674998, - 35.728284 - ], - [ - 106.66268, - 35.70739 - ], - [ - 106.633115, - 35.714679 - ], - [ - 106.620796, - 35.743829 - ], - [ - 106.595542, - 35.727312 - ], - [ - 106.566593, - 35.738971 - ], - [ - 106.506231, - 35.737514 - ] - ] - ], - [ - [ - [ - 106.047356, - 35.498155 - ], - [ - 106.048588, - 35.488898 - ], - [ - 106.054132, - 35.45478 - ], - [ - 106.071994, - 35.463555 - ], - [ - 106.078769, - 35.509848 - ], - [ - 106.047356, - 35.498155 - ] - ] - ], - [ - [ - [ - 102.831537, - 36.365544 - ], - [ - 102.829689, - 36.365544 - ], - [ - 102.836465, - 36.344819 - ], - [ - 102.838928, - 36.345783 - ], - [ - 102.831537, - 36.365544 - ] - ] - ], - [ - [ - [ - 106.073226, - 35.447468 - ], - [ - 106.067682, - 35.436254 - ], - [ - 106.073226, - 35.420649 - ], - [ - 106.083081, - 35.421624 - ], - [ - 106.073226, - 35.447468 - ] - ] - ], - [ - [ - [ - 106.504383, - 35.736057 - ], - [ - 106.506231, - 35.737514 - ], - [ - 106.49268, - 35.732656 - ], - [ - 106.498224, - 35.732656 - ], - [ - 106.504383, - 35.736057 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 630000, - "name": "青海省", - "center": [ - 101.778916, - 36.623178 - ], - "centroid": [ - 96.043533, - 35.726403 - ], - "childrenNum": 8, - "cp": [95.2402, 35.4199], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 28, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 102.829689, - 36.365544 - ], - [ - 102.771791, - 36.47438 - ], - [ - 102.793349, - 36.497957 - ], - [ - 102.753313, - 36.525855 - ], - [ - 102.734219, - 36.562396 - ], - [ - 102.761936, - 36.568645 - ], - [ - 102.714509, - 36.599401 - ], - [ - 102.724364, - 36.613813 - ], - [ - 102.684328, - 36.619097 - ], - [ - 102.630741, - 36.650793 - ], - [ - 102.601176, - 36.710307 - ], - [ - 102.612879, - 36.738129 - ], - [ - 102.639364, - 36.732853 - ], - [ - 102.692335, - 36.775528 - ], - [ - 102.720052, - 36.767858 - ], - [ - 102.639364, - 36.852666 - ], - [ - 102.587009, - 36.869904 - ], - [ - 102.56114, - 36.91968 - ], - [ - 102.526031, - 36.928291 - ], - [ - 102.499546, - 36.954599 - ], - [ - 102.450271, - 36.968467 - ], - [ - 102.506321, - 37.019134 - ], - [ - 102.488459, - 37.078362 - ], - [ - 102.583314, - 37.104618 - ], - [ - 102.642444, - 37.099845 - ], - [ - 102.599944, - 37.174748 - ], - [ - 102.578386, - 37.17284 - ], - [ - 102.533422, - 37.217176 - ], - [ - 102.490307, - 37.223371 - ], - [ - 102.457662, - 37.248147 - ], - [ - 102.45335, - 37.271487 - ], - [ - 102.419474, - 37.294343 - ], - [ - 102.428097, - 37.308624 - ], - [ - 102.368351, - 37.327662 - ], - [ - 102.29875, - 37.370004 - ], - [ - 102.299981, - 37.391404 - ], - [ - 102.19712, - 37.420403 - ], - [ - 102.176794, - 37.458892 - ], - [ - 102.125055, - 37.48549 - ], - [ - 102.103497, - 37.482641 - ], - [ - 102.131214, - 37.54625 - ], - [ - 102.102265, - 37.582304 - ], - [ - 102.035128, - 37.627819 - ], - [ - 102.048678, - 37.651515 - ], - [ - 102.036359, - 37.685149 - ], - [ - 101.998787, - 37.724921 - ], - [ - 101.946432, - 37.728235 - ], - [ - 101.873135, - 37.686569 - ], - [ - 101.854657, - 37.664781 - ], - [ - 101.815853, - 37.654357 - ], - [ - 101.791832, - 37.696041 - ], - [ - 101.659405, - 37.733441 - ], - [ - 101.670491, - 37.754264 - ], - [ - 101.598427, - 37.827569 - ], - [ - 101.551615, - 37.835604 - ], - [ - 101.459224, - 37.86632 - ], - [ - 101.382848, - 37.822369 - ], - [ - 101.362522, - 37.791162 - ], - [ - 101.276906, - 37.83655 - ], - [ - 101.202994, - 37.84742 - ], - [ - 101.159262, - 37.86821 - ], - [ - 101.152486, - 37.891356 - ], - [ - 101.114298, - 37.92016 - ], - [ - 101.103211, - 37.946593 - ], - [ - 101.077342, - 37.941874 - ], - [ - 100.964009, - 38.011221 - ], - [ - 100.91843, - 37.999432 - ], - [ - 100.895024, - 38.013107 - ], - [ - 100.888864, - 38.056001 - ], - [ - 100.922125, - 38.084741 - ], - [ - 100.91843, - 38.129006 - ], - [ - 100.93814, - 38.16007 - ], - [ - 100.913502, - 38.17889 - ], - [ - 100.860531, - 38.148305 - ], - [ - 100.825423, - 38.158658 - ], - [ - 100.752126, - 38.238612 - ], - [ - 100.71517, - 38.253652 - ], - [ - 100.619083, - 38.26587 - ], - [ - 100.595061, - 38.242372 - ], - [ - 100.545786, - 38.247072 - ], - [ - 100.516837, - 38.272448 - ], - [ - 100.474953, - 38.288891 - ], - [ - 100.459555, - 38.2654 - ], - [ - 100.432453, - 38.275267 - ], - [ - 100.424446, - 38.307208 - ], - [ - 100.396729, - 38.293118 - ], - [ - 100.318505, - 38.329276 - ], - [ - 100.331439, - 38.337257 - ], - [ - 100.301874, - 38.388405 - ], - [ - 100.259374, - 38.366355 - ], - [ - 100.24028, - 38.441861 - ], - [ - 100.163288, - 38.461546 - ], - [ - 100.113397, - 38.497151 - ], - [ - 100.086911, - 38.492936 - ], - [ - 100.064122, - 38.518694 - ], - [ - 100.025933, - 38.507923 - ], - [ - 100.001296, - 38.467169 - ], - [ - 100.022238, - 38.432017 - ], - [ - 100.093071, - 38.407166 - ], - [ - 100.136803, - 38.33444 - ], - [ - 100.163904, - 38.328337 - ], - [ - 100.159592, - 38.291239 - ], - [ - 100.182998, - 38.222158 - ], - [ - 100.126332, - 38.231561 - ], - [ - 100.117093, - 38.253652 - ], - [ - 100.071513, - 38.284663 - ], - [ - 100.049955, - 38.283254 - ], - [ - 100.001912, - 38.315191 - ], - [ - 99.960028, - 38.320825 - ], - [ - 99.826985, - 38.370109 - ], - [ - 99.758, - 38.410449 - ], - [ - 99.727203, - 38.415607 - ], - [ - 99.65945, - 38.449361 - ], - [ - 99.63974, - 38.474666 - ], - [ - 99.585537, - 38.498556 - ], - [ - 99.52887, - 38.546314 - ], - [ - 99.501769, - 38.612281 - ], - [ - 99.450646, - 38.60433 - ], - [ - 99.412458, - 38.665571 - ], - [ - 99.375502, - 38.684727 - ], - [ - 99.361951, - 38.718354 - ], - [ - 99.291118, - 38.765966 - ], - [ - 99.222133, - 38.788827 - ], - [ - 99.141445, - 38.852706 - ], - [ - 99.068764, - 38.896968 - ], - [ - 99.071843, - 38.921184 - ], - [ - 99.107568, - 38.951907 - ], - [ - 99.054597, - 38.97657 - ], - [ - 98.951735, - 38.987735 - ], - [ - 98.903076, - 39.012384 - ], - [ - 98.886446, - 39.040744 - ], - [ - 98.818076, - 39.064911 - ], - [ - 98.816845, - 39.085818 - ], - [ - 98.743548, - 39.086747 - ], - [ - 98.730613, - 39.057011 - ], - [ - 98.70536, - 39.043533 - ], - [ - 98.661628, - 38.993782 - ], - [ - 98.612353, - 38.977035 - ], - [ - 98.624056, - 38.959353 - ], - [ - 98.584635, - 38.93003 - ], - [ - 98.526737, - 38.95563 - ], - [ - 98.457752, - 38.952838 - ], - [ - 98.428187, - 38.976104 - ], - [ - 98.432498, - 38.996107 - ], - [ - 98.401086, - 39.001688 - ], - [ - 98.383839, - 39.029588 - ], - [ - 98.316702, - 39.040744 - ], - [ - 98.280977, - 39.027263 - ], - [ - 98.287753, - 38.992386 - ], - [ - 98.276666, - 38.963541 - ], - [ - 98.235398, - 38.918855 - ], - [ - 98.242173, - 38.880664 - ], - [ - 98.167645, - 38.840121 - ], - [ - 98.091884, - 38.786495 - ], - [ - 98.068478, - 38.816344 - ], - [ - 98.029058, - 38.834061 - ], - [ - 98.009348, - 38.85923 - ], - [ - 97.875689, - 38.898365 - ], - [ - 97.828878, - 38.93003 - ], - [ - 97.701379, - 38.963076 - ], - [ - 97.679205, - 39.010524 - ], - [ - 97.58127, - 39.052364 - ], - [ - 97.504894, - 39.076527 - ], - [ - 97.458698, - 39.117863 - ], - [ - 97.401416, - 39.146645 - ], - [ - 97.371235, - 39.140611 - ], - [ - 97.347213, - 39.167528 - ], - [ - 97.315185, - 39.164744 - ], - [ - 97.220946, - 39.193042 - ], - [ - 97.14149, - 39.199999 - ], - [ - 97.060186, - 39.19768 - ], - [ - 97.017686, - 39.208347 - ], - [ - 96.962251, - 39.198144 - ], - [ - 97.012142, - 39.142004 - ], - [ - 96.969643, - 39.097895 - ], - [ - 96.95794, - 39.041674 - ], - [ - 96.965331, - 39.017034 - ], - [ - 96.938846, - 38.95563 - ], - [ - 96.940693, - 38.90768 - ], - [ - 96.983809, - 38.869016 - ], - [ - 96.993664, - 38.834993 - ], - [ - 96.987505, - 38.793025 - ], - [ - 97.00044, - 38.7613 - ], - [ - 97.023229, - 38.755699 - ], - [ - 97.009063, - 38.702477 - ], - [ - 97.057722, - 38.67258 - ], - [ - 97.047251, - 38.653888 - ], - [ - 97.055874, - 38.594508 - ], - [ - 96.961019, - 38.558015 - ], - [ - 96.876636, - 38.580475 - ], - [ - 96.847071, - 38.599186 - ], - [ - 96.7941, - 38.608072 - ], - [ - 96.808882, - 38.582346 - ], - [ - 96.767614, - 38.552399 - ], - [ - 96.800259, - 38.52759 - ], - [ - 96.780549, - 38.504177 - ], - [ - 96.706637, - 38.505582 - ], - [ - 96.6666, - 38.483567 - ], - [ - 96.707868, - 38.459203 - ], - [ - 96.698013, - 38.422172 - ], - [ - 96.626564, - 38.356031 - ], - [ - 96.638883, - 38.307208 - ], - [ - 96.655514, - 38.295936 - ], - [ - 96.665369, - 38.23015 - ], - [ - 96.46334, - 38.277616 - ], - [ - 96.378341, - 38.277146 - ], - [ - 96.335841, - 38.246132 - ], - [ - 96.301964, - 38.183124 - ], - [ - 96.313051, - 38.161952 - ], - [ - 96.264392, - 38.145952 - ], - [ - 96.252689, - 38.167599 - ], - [ - 96.221892, - 38.149246 - ], - [ - 96.109175, - 38.187358 - ], - [ - 96.06606, - 38.173245 - ], - [ - 96.006929, - 38.207582 - ], - [ - 95.93856, - 38.237202 - ], - [ - 95.932401, - 38.259291 - ], - [ - 95.89606, - 38.2903 - ], - [ - 95.852945, - 38.287481 - ], - [ - 95.83693, - 38.344298 - ], - [ - 95.775952, - 38.356031 - ], - [ - 95.723597, - 38.378554 - ], - [ - 95.703887, - 38.400131 - ], - [ - 95.671858, - 38.388405 - ], - [ - 95.608417, - 38.339134 - ], - [ - 95.585011, - 38.343359 - ], - [ - 95.51849, - 38.294997 - ], - [ - 95.487693, - 38.314721 - ], - [ - 95.455664, - 38.291709 - ], - [ - 95.440881, - 38.310965 - ], - [ - 95.408236, - 38.300163 - ], - [ - 95.315846, - 38.318947 - ], - [ - 95.259179, - 38.302981 - ], - [ - 95.229614, - 38.330685 - ], - [ - 95.209904, - 38.327868 - ], - [ - 95.185266, - 38.379492 - ], - [ - 95.140919, - 38.392158 - ], - [ - 95.122441, - 38.417014 - ], - [ - 95.072549, - 38.402476 - ], - [ - 95.045448, - 38.418889 - ], - [ - 94.973999, - 38.430142 - ], - [ - 94.884072, - 38.414669 - ], - [ - 94.861282, - 38.393565 - ], - [ - 94.812623, - 38.385591 - ], - [ - 94.672805, - 38.386998 - ], - [ - 94.582878, - 38.36917 - ], - [ - 94.56132, - 38.351807 - ], - [ - 94.527443, - 38.365416 - ], - [ - 94.527443, - 38.425922 - ], - [ - 94.511429, - 38.445142 - ], - [ - 94.370379, - 38.7627 - ], - [ - 94.281067, - 38.7599 - ], - [ - 93.973098, - 38.724891 - ], - [ - 93.95154, - 38.715086 - ], - [ - 93.885018, - 38.720689 - ], - [ - 93.800019, - 38.750566 - ], - [ - 93.773533, - 38.771099 - ], - [ - 93.756287, - 38.807484 - ], - [ - 93.769838, - 38.821007 - ], - [ - 93.884403, - 38.826136 - ], - [ - 93.884403, - 38.867618 - ], - [ - 93.834511, - 38.867618 - ], - [ - 93.729186, - 38.924443 - ], - [ - 93.453245, - 38.915596 - ], - [ - 93.274007, - 38.896036 - ], - [ - 93.237666, - 38.916062 - ], - [ - 93.179152, - 38.923977 - ], - [ - 93.198246, - 39.045857 - ], - [ - 93.165601, - 39.090928 - ], - [ - 93.131725, - 39.108112 - ], - [ - 93.142196, - 39.160567 - ], - [ - 93.115094, - 39.17959 - ], - [ - 93.043029, - 39.146645 - ], - [ - 92.978356, - 39.143396 - ], - [ - 92.938936, - 39.169848 - ], - [ - 92.889045, - 39.160103 - ], - [ - 92.866871, - 39.138754 - ], - [ - 92.765857, - 39.136898 - ], - [ - 92.659299, - 39.109969 - ], - [ - 92.545966, - 39.111362 - ], - [ - 92.489916, - 39.099753 - ], - [ - 92.459119, - 39.063982 - ], - [ - 92.459119, - 39.042604 - ], - [ - 92.41046, - 39.03842 - ], - [ - 92.416003, - 39.010524 - ], - [ - 92.380279, - 38.999828 - ], - [ - 92.263866, - 39.002153 - ], - [ - 92.197961, - 38.983548 - ], - [ - 92.173323, - 38.960749 - ], - [ - 92.10865, - 38.963541 - ], - [ - 91.966368, - 38.930961 - ], - [ - 91.880752, - 38.899297 - ], - [ - 91.87952, - 38.884391 - ], - [ - 91.806223, - 38.872744 - ], - [ - 91.694738, - 38.86622 - ], - [ - 91.681188, - 38.852706 - ], - [ - 91.501333, - 38.815411 - ], - [ - 91.446515, - 38.813546 - ], - [ - 91.298689, - 38.746365 - ], - [ - 91.242639, - 38.752433 - ], - [ - 91.188436, - 38.73096 - ], - [ - 90.992567, - 38.695003 - ], - [ - 90.970394, - 38.697806 - ], - [ - 90.899561, - 38.679588 - ], - [ - 90.724634, - 38.658094 - ], - [ - 90.65996, - 38.674449 - ], - [ - 90.619308, - 38.664636 - ], - [ - 90.645794, - 38.635191 - ], - [ - 90.606374, - 38.610878 - ], - [ - 90.608837, - 38.594508 - ], - [ - 90.560794, - 38.593573 - ], - [ - 90.525685, - 38.561291 - ], - [ - 90.463476, - 38.556611 - ], - [ - 90.465323, - 38.521971 - ], - [ - 90.427135, - 38.493873 - ], - [ - 90.353222, - 38.482162 - ], - [ - 90.315034, - 38.501835 - ], - [ - 90.248513, - 38.491531 - ], - [ - 90.130868, - 38.494341 - ], - [ - 90.111774, - 38.477945 - ], - [ - 90.111774, - 38.418889 - ], - [ - 90.129636, - 38.400131 - ], - [ - 90.179528, - 38.396848 - ], - [ - 90.137644, - 38.340543 - ], - [ - 90.280542, - 38.238142 - ], - [ - 90.352607, - 38.233441 - ], - [ - 90.361846, - 38.300163 - ], - [ - 90.401882, - 38.311434 - ], - [ - 90.531229, - 38.319886 - ], - [ - 90.516446, - 38.207111 - ], - [ - 90.519526, - 37.730601 - ], - [ - 90.579272, - 37.720661 - ], - [ - 90.586663, - 37.703144 - ], - [ - 90.643946, - 37.696988 - ], - [ - 90.777605, - 37.648672 - ], - [ - 90.820104, - 37.613599 - ], - [ - 90.854597, - 37.604117 - ], - [ - 90.882314, - 37.575664 - ], - [ - 90.865684, - 37.53059 - ], - [ - 90.911879, - 37.519674 - ], - [ - 90.958075, - 37.477891 - ], - [ - 91.019669, - 37.493088 - ], - [ - 91.073256, - 37.475992 - ], - [ - 91.099741, - 37.447965 - ], - [ - 91.113292, - 37.387124 - ], - [ - 91.136081, - 37.355734 - ], - [ - 91.134849, - 37.324331 - ], - [ - 91.194596, - 37.273868 - ], - [ - 91.1909, - 37.205737 - ], - [ - 91.280211, - 37.163779 - ], - [ - 91.286371, - 37.105095 - ], - [ - 91.303617, - 37.083136 - ], - [ - 91.291298, - 37.042544 - ], - [ - 91.303617, - 37.012444 - ], - [ - 91.216153, - 37.010054 - ], - [ - 91.181045, - 37.025345 - ], - [ - 91.133618, - 37.007665 - ], - [ - 91.126842, - 36.978507 - ], - [ - 91.051698, - 36.96751 - ], - [ - 91.036915, - 36.929727 - ], - [ - 90.983944, - 36.913459 - ], - [ - 90.924198, - 36.921115 - ], - [ - 90.853981, - 36.915373 - ], - [ - 90.758511, - 36.825844 - ], - [ - 90.732025, - 36.825844 - ], - [ - 90.727098, - 36.755872 - ], - [ - 90.754815, - 36.721341 - ], - [ - 90.720938, - 36.708868 - ], - [ - 90.706156, - 36.658955 - ], - [ - 90.730793, - 36.655594 - ], - [ - 90.72217, - 36.620058 - ], - [ - 90.741264, - 36.585947 - ], - [ - 90.810865, - 36.585466 - ], - [ - 90.831191, - 36.55807 - ], - [ - 90.905104, - 36.560474 - ], - [ - 91.011662, - 36.539801 - ], - [ - 91.035683, - 36.529703 - ], - [ - 91.039995, - 36.474861 - ], - [ - 91.028292, - 36.443093 - ], - [ - 91.051698, - 36.433946 - ], - [ - 91.026444, - 36.323607 - ], - [ - 91.07264, - 36.299012 - ], - [ - 91.051698, - 36.238215 - ], - [ - 91.096045, - 36.219871 - ], - [ - 91.09235, - 36.163844 - ], - [ - 91.124994, - 36.115514 - ], - [ - 91.081263, - 36.088436 - ], - [ - 90.979017, - 36.106811 - ], - [ - 90.922966, - 36.028927 - ], - [ - 90.850285, - 36.016827 - ], - [ - 90.815793, - 36.035703 - ], - [ - 90.776373, - 36.086501 - ], - [ - 90.659344, - 36.13485 - ], - [ - 90.613149, - 36.126632 - ], - [ - 90.534925, - 36.147899 - ], - [ - 90.478258, - 36.13195 - ], - [ - 90.424055, - 36.133883 - ], - [ - 90.325505, - 36.159496 - ], - [ - 90.23681, - 36.160462 - ], - [ - 90.198006, - 36.187516 - ], - [ - 90.130252, - 36.2078 - ], - [ - 90.145651, - 36.239181 - ], - [ - 90.058188, - 36.255591 - ], - [ - 90.043405, - 36.276822 - ], - [ - 90.003369, - 36.278752 - ], - [ - 90.028006, - 36.258486 - ], - [ - 90.019999, - 36.213594 - ], - [ - 89.997825, - 36.168193 - ], - [ - 89.944855, - 36.140649 - ], - [ - 89.941159, - 36.067637 - ], - [ - 89.914058, - 36.079246 - ], - [ - 89.819819, - 36.080697 - ], - [ - 89.766848, - 36.073925 - ], - [ - 89.711414, - 36.093272 - ], - [ - 89.688624, - 36.091337 - ], - [ - 89.605472, - 36.038123 - ], - [ - 89.474893, - 36.022151 - ], - [ - 89.417611, - 36.044897 - ], - [ - 89.404676, - 36.016827 - ], - [ - 89.434857, - 35.992136 - ], - [ - 89.428082, - 35.917531 - ], - [ - 89.489676, - 35.903475 - ], - [ - 89.554965, - 35.873414 - ], - [ - 89.550654, - 35.856924 - ], - [ - 89.62395, - 35.859349 - ], - [ - 89.654747, - 35.848193 - ], - [ - 89.707718, - 35.849163 - ], - [ - 89.778551, - 35.861775 - ], - [ - 89.801957, - 35.848193 - ], - [ - 89.767464, - 35.799183 - ], - [ - 89.782863, - 35.773453 - ], - [ - 89.747138, - 35.7516 - ], - [ - 89.748986, - 35.66267 - ], - [ - 89.726196, - 35.648082 - ], - [ - 89.765616, - 35.599922 - ], - [ - 89.75145, - 35.580942 - ], - [ - 89.71203, - 35.581915 - ], - [ - 89.699711, - 35.544916 - ], - [ - 89.720037, - 35.501566 - ], - [ - 89.740979, - 35.507412 - ], - [ - 89.765, - 35.482563 - ], - [ - 89.739131, - 35.468429 - ], - [ - 89.685544, - 35.416259 - ], - [ - 89.658443, - 35.425526 - ], - [ - 89.619639, - 35.412357 - ], - [ - 89.58761, - 35.383575 - ], - [ - 89.497067, - 35.361128 - ], - [ - 89.516161, - 35.330862 - ], - [ - 89.494603, - 35.298632 - ], - [ - 89.531559, - 35.276161 - ], - [ - 89.48598, - 35.256616 - ], - [ - 89.450255, - 35.223867 - ], - [ - 89.46935, - 35.214577 - ], - [ - 89.519241, - 35.133862 - ], - [ - 89.579603, - 35.118688 - ], - [ - 89.593153, - 35.104491 - ], - [ - 89.59069, - 35.057965 - ], - [ - 89.560509, - 34.938836 - ], - [ - 89.578987, - 34.895162 - ], - [ - 89.670146, - 34.887798 - ], - [ - 89.707102, - 34.919701 - ], - [ - 89.747138, - 34.903506 - ], - [ - 89.78779, - 34.921664 - ], - [ - 89.821051, - 34.902033 - ], - [ - 89.814891, - 34.86816 - ], - [ - 89.838913, - 34.865705 - ], - [ - 89.867862, - 34.81069 - ], - [ - 89.825978, - 34.796931 - ], - [ - 89.799493, - 34.743838 - ], - [ - 89.732356, - 34.732035 - ], - [ - 89.72558, - 34.660689 - ], - [ - 89.74837, - 34.641981 - ], - [ - 89.798877, - 34.628686 - ], - [ - 89.777935, - 34.574499 - ], - [ - 89.814891, - 34.548871 - ], - [ - 89.823515, - 34.455657 - ], - [ - 89.819819, - 34.420614 - ], - [ - 89.799493, - 34.39642 - ], - [ - 89.820435, - 34.369255 - ], - [ - 89.858623, - 34.359375 - ], - [ - 89.86663, - 34.324785 - ], - [ - 89.825362, - 34.293642 - ], - [ - 89.838297, - 34.263477 - ], - [ - 89.816739, - 34.16945 - ], - [ - 89.789638, - 34.150632 - ], - [ - 89.760073, - 34.152613 - ], - [ - 89.756993, - 34.124874 - ], - [ - 89.71203, - 34.131809 - ], - [ - 89.655979, - 34.097126 - ], - [ - 89.656595, - 34.057966 - ], - [ - 89.635037, - 34.049537 - ], - [ - 89.684928, - 33.990013 - ], - [ - 89.688008, - 33.959739 - ], - [ - 89.718805, - 33.946832 - ], - [ - 89.73174, - 33.921509 - ], - [ - 89.795181, - 33.865374 - ], - [ - 89.837065, - 33.868853 - ], - [ - 89.899891, - 33.80771 - ], - [ - 89.942391, - 33.801246 - ], - [ - 89.902355, - 33.758467 - ], - [ - 89.907282, - 33.741051 - ], - [ - 89.983659, - 33.725622 - ], - [ - 89.981195, - 33.70322 - ], - [ - 90.008296, - 33.687785 - ], - [ - 89.984275, - 33.612061 - ], - [ - 90.01076, - 33.553728 - ], - [ - 90.083441, - 33.525295 - ], - [ - 90.088984, - 33.478885 - ], - [ - 90.107463, - 33.460913 - ], - [ - 90.22018, - 33.437943 - ], - [ - 90.246665, - 33.423959 - ], - [ - 90.332896, - 33.310501 - ], - [ - 90.363077, - 33.279487 - ], - [ - 90.405577, - 33.260473 - ], - [ - 90.490577, - 33.264977 - ], - [ - 90.562642, - 33.229441 - ], - [ - 90.627315, - 33.180368 - ], - [ - 90.704308, - 33.135778 - ], - [ - 90.740032, - 33.142293 - ], - [ - 90.803474, - 33.114227 - ], - [ - 90.88293, - 33.120241 - ], - [ - 90.902024, - 33.083143 - ], - [ - 90.927894, - 33.120241 - ], - [ - 91.001807, - 33.11573 - ], - [ - 91.037531, - 33.098686 - ], - [ - 91.072024, - 33.113224 - ], - [ - 91.147784, - 33.07211 - ], - [ - 91.161335, - 33.108712 - ], - [ - 91.18782, - 33.106206 - ], - [ - 91.226624, - 33.141792 - ], - [ - 91.261733, - 33.141291 - ], - [ - 91.311624, - 33.108211 - ], - [ - 91.370138, - 33.100691 - ], - [ - 91.436044, - 33.066092 - ], - [ - 91.49579, - 33.109214 - ], - [ - 91.535826, - 33.10019 - ], - [ - 91.55492, - 33.060074 - ], - [ - 91.583253, - 33.0375 - ], - [ - 91.664557, - 33.012913 - ], - [ - 91.685499, - 32.989324 - ], - [ - 91.752637, - 32.969242 - ], - [ - 91.799448, - 32.942126 - ], - [ - 91.839484, - 32.948152 - ], - [ - 91.857962, - 32.90244 - ], - [ - 91.896766, - 32.907967 - ], - [ - 91.955897, - 32.8205 - ], - [ - 92.018722, - 32.829552 - ], - [ - 92.038432, - 32.860725 - ], - [ - 92.101874, - 32.860222 - ], - [ - 92.145606, - 32.885857 - ], - [ - 92.205352, - 32.866255 - ], - [ - 92.227526, - 32.821003 - ], - [ - 92.193649, - 32.801889 - ], - [ - 92.211511, - 32.788306 - ], - [ - 92.198577, - 32.754591 - ], - [ - 92.255243, - 32.720863 - ], - [ - 92.310062, - 32.751571 - ], - [ - 92.343938, - 32.738484 - ], - [ - 92.355641, - 32.764657 - ], - [ - 92.411076, - 32.748048 - ], - [ - 92.459119, - 32.76365 - ], - [ - 92.484372, - 32.745028 - ], - [ - 92.56814, - 32.73194 - ], - [ - 92.574916, - 32.741001 - ], - [ - 92.634662, - 32.720863 - ], - [ - 92.667922, - 32.73194 - ], - [ - 92.686401, - 32.76516 - ], - [ - 92.756618, - 32.743014 - ], - [ - 92.789262, - 32.719856 - ], - [ - 92.822523, - 32.729926 - ], - [ - 92.866871, - 32.698203 - ], - [ - 92.933392, - 32.719353 - ], - [ - 92.964189, - 32.714821 - ], - [ - 93.00053, - 32.741001 - ], - [ - 93.019624, - 32.737477 - ], - [ - 93.023935, - 32.703239 - ], - [ - 93.069515, - 32.626156 - ], - [ - 93.087993, - 32.63674 - ], - [ - 93.159442, - 32.644803 - ], - [ - 93.176688, - 32.6705 - ], - [ - 93.210565, - 32.655385 - ], - [ - 93.239514, - 32.662439 - ], - [ - 93.260456, - 32.62666 - ], - [ - 93.300492, - 32.619604 - ], - [ - 93.308499, - 32.580278 - ], - [ - 93.33868, - 32.5712 - ], - [ - 93.385492, - 32.525294 - ], - [ - 93.411977, - 32.558086 - ], - [ - 93.4631, - 32.556069 - ], - [ - 93.476651, - 32.504603 - ], - [ - 93.501904, - 32.503593 - ], - [ - 93.516687, - 32.47583 - ], - [ - 93.618933, - 32.522771 - ], - [ - 93.651577, - 32.571705 - ], - [ - 93.721795, - 32.578261 - ], - [ - 93.75136, - 32.56313 - ], - [ - 93.820345, - 32.549511 - ], - [ - 93.851142, - 32.50965 - ], - [ - 93.861613, - 32.466237 - ], - [ - 93.90904, - 32.463207 - ], - [ - 93.960163, - 32.484917 - ], - [ - 93.978641, - 32.459672 - ], - [ - 94.03038, - 32.448057 - ], - [ - 94.049474, - 32.469771 - ], - [ - 94.091974, - 32.463207 - ], - [ - 94.137554, - 32.433915 - ], - [ - 94.176974, - 32.454117 - ], - [ - 94.196684, - 32.51621 - ], - [ - 94.250886, - 32.51722 - ], - [ - 94.292154, - 32.502584 - ], - [ - 94.294002, - 32.519743 - ], - [ - 94.350053, - 32.533871 - ], - [ - 94.371611, - 32.524789 - ], - [ - 94.395016, - 32.594397 - ], - [ - 94.435052, - 32.562626 - ], - [ - 94.463386, - 32.572209 - ], - [ - 94.459074, - 32.599439 - ], - [ - 94.522516, - 32.595909 - ], - [ - 94.591501, - 32.640772 - ], - [ - 94.614291, - 32.673522 - ], - [ - 94.638312, - 32.645307 - ], - [ - 94.737479, - 32.587338 - ], - [ - 94.762116, - 32.526303 - ], - [ - 94.78737, - 32.522266 - ], - [ - 94.80708, - 32.486431 - ], - [ - 94.852043, - 32.463712 - ], - [ - 94.889616, - 32.472295 - ], - [ - 94.912405, - 32.41573 - ], - [ - 94.944434, - 32.404109 - ], - [ - 94.988166, - 32.422802 - ], - [ - 95.057151, - 32.395014 - ], - [ - 95.075013, - 32.376315 - ], - [ - 95.075013, - 32.376315 - ], - [ - 95.081789, - 32.384907 - ], - [ - 95.153853, - 32.386423 - ], - [ - 95.218527, - 32.397035 - ], - [ - 95.228382, - 32.363678 - ], - [ - 95.261643, - 32.348006 - ], - [ - 95.193274, - 32.332331 - ], - [ - 95.096571, - 32.322217 - ], - [ - 95.079325, - 32.279726 - ], - [ - 95.10581, - 32.258979 - ], - [ - 95.20744, - 32.297433 - ], - [ - 95.214216, - 32.321712 - ], - [ - 95.241317, - 32.3207 - ], - [ - 95.239469, - 32.287315 - ], - [ - 95.270266, - 32.194683 - ], - [ - 95.270266, - 32.194683 - ], - [ - 95.31523, - 32.148585 - ], - [ - 95.366968, - 32.151118 - ], - [ - 95.367584, - 32.178982 - ], - [ - 95.406389, - 32.182021 - ], - [ - 95.440265, - 32.157705 - ], - [ - 95.454432, - 32.061898 - ], - [ - 95.421171, - 32.033999 - ], - [ - 95.454432, - 32.007613 - ], - [ - 95.395918, - 32.001523 - ], - [ - 95.360809, - 31.95939 - ], - [ - 95.3682, - 31.92892 - ], - [ - 95.408852, - 31.918761 - ], - [ - 95.406389, - 31.896915 - ], - [ - 95.456896, - 31.801853 - ], - [ - 95.480301, - 31.795749 - ], - [ - 95.511714, - 31.750468 - ], - [ - 95.546823, - 31.73978 - ], - [ - 95.580083, - 31.76726 - ], - [ - 95.634286, - 31.782523 - ], - [ - 95.779648, - 31.748941 - ], - [ - 95.823995, - 31.68225 - ], - [ - 95.853561, - 31.714329 - ], - [ - 95.846169, - 31.736218 - ], - [ - 95.89914, - 31.81711 - ], - [ - 95.983524, - 31.816601 - ], - [ - 95.989067, - 31.78761 - ], - [ - 96.064828, - 31.720438 - ], - [ - 96.135661, - 31.70211 - ], - [ - 96.148595, - 31.686324 - ], - [ - 96.156603, - 31.602769 - ], - [ - 96.207726, - 31.598691 - ], - [ - 96.221892, - 31.647613 - ], - [ - 96.245298, - 31.657802 - ], - [ - 96.252073, - 31.697527 - ], - [ - 96.222508, - 31.733164 - ], - [ - 96.231131, - 31.749959 - ], - [ - 96.178161, - 31.775401 - ], - [ - 96.183088, - 31.835924 - ], - [ - 96.202798, - 31.841008 - ], - [ - 96.214501, - 31.876589 - ], - [ - 96.188632, - 31.904028 - ], - [ - 96.220044, - 31.905553 - ], - [ - 96.253305, - 31.929936 - ], - [ - 96.288414, - 31.919777 - ], - [ - 96.389428, - 31.919777 - ], - [ - 96.407906, - 31.845583 - ], - [ - 96.435623, - 31.796258 - ], - [ - 96.468884, - 31.769804 - ], - [ - 96.519391, - 31.74945 - ], - [ - 96.56805, - 31.711783 - ], - [ - 96.615477, - 31.737236 - ], - [ - 96.661057, - 31.705674 - ], - [ - 96.691854, - 31.722474 - ], - [ - 96.722651, - 31.686833 - ], - [ - 96.778701, - 31.675629 - ], - [ - 96.790404, - 31.698545 - ], - [ - 96.840295, - 31.720438 - ], - [ - 96.799027, - 31.792188 - ], - [ - 96.765767, - 31.819144 - ], - [ - 96.760223, - 31.860325 - ], - [ - 96.794716, - 31.869474 - ], - [ - 96.81073, - 31.894375 - ], - [ - 96.776238, - 31.935015 - ], - [ - 96.753448, - 31.944156 - ], - [ - 96.742977, - 32.001016 - ], - [ - 96.722651, - 32.013195 - ], - [ - 96.824281, - 32.007613 - ], - [ - 96.868629, - 31.964975 - ], - [ - 96.863085, - 31.996448 - ], - [ - 96.894498, - 32.013703 - ], - [ - 96.941925, - 31.986297 - ], - [ - 96.965947, - 32.008628 - ], - [ - 96.935766, - 32.048203 - ], - [ - 97.006599, - 32.067984 - ], - [ - 97.028773, - 32.04871 - ], - [ - 97.127323, - 32.044145 - ], - [ - 97.169823, - 32.032984 - ], - [ - 97.188301, - 32.055304 - ], - [ - 97.214786, - 32.042623 - ], - [ - 97.233881, - 32.063927 - ], - [ - 97.201852, - 32.090296 - ], - [ - 97.219714, - 32.109054 - ], - [ - 97.258518, - 32.072041 - ], - [ - 97.308409, - 32.076605 - ], - [ - 97.293011, - 32.096887 - ], - [ - 97.313953, - 32.130342 - ], - [ - 97.271453, - 32.139971 - ], - [ - 97.264062, - 32.182527 - ], - [ - 97.299786, - 32.294904 - ], - [ - 97.32196, - 32.303503 - ], - [ - 97.371235, - 32.273148 - ], - [ - 97.415583, - 32.296421 - ], - [ - 97.424822, - 32.322723 - ], - [ - 97.387865, - 32.427349 - ], - [ - 97.341054, - 32.440987 - ], - [ - 97.388481, - 32.501575 - ], - [ - 97.334895, - 32.514192 - ], - [ - 97.332431, - 32.542448 - ], - [ - 97.3583, - 32.563635 - ], - [ - 97.374315, - 32.546484 - ], - [ - 97.411887, - 32.575235 - ], - [ - 97.448843, - 32.586833 - ], - [ - 97.463626, - 32.55506 - ], - [ - 97.50243, - 32.530844 - ], - [ - 97.540618, - 32.536899 - ], - [ - 97.670582, - 32.51722 - ], - [ - 97.684132, - 32.530339 - ], - [ - 97.730944, - 32.527312 - ], - [ - 97.700763, - 32.53488 - ], - [ - 97.616995, - 32.586329 - ], - [ - 97.607756, - 32.614059 - ], - [ - 97.543698, - 32.62162 - ], - [ - 97.535075, - 32.638252 - ], - [ - 97.48272, - 32.654377 - ], - [ - 97.42359, - 32.70475 - ], - [ - 97.429133, - 32.714318 - ], - [ - 97.386018, - 32.77925 - ], - [ - 97.392793, - 32.828546 - ], - [ - 97.376163, - 32.886359 - ], - [ - 97.347829, - 32.895907 - ], - [ - 97.375547, - 32.956689 - ], - [ - 97.438372, - 32.976271 - ], - [ - 97.523988, - 32.988822 - ], - [ - 97.499966, - 33.011408 - ], - [ - 97.542466, - 33.035995 - ], - [ - 97.517213, - 33.097683 - ], - [ - 97.487032, - 33.107209 - ], - [ - 97.498119, - 33.137783 - ], - [ - 97.487648, - 33.168346 - ], - [ - 97.548626, - 33.203907 - ], - [ - 97.607756, - 33.263976 - ], - [ - 97.622538, - 33.337005 - ], - [ - 97.676125, - 33.341004 - ], - [ - 97.754349, - 33.409972 - ], - [ - 97.674893, - 33.432949 - ], - [ - 97.625618, - 33.461412 - ], - [ - 97.552321, - 33.465906 - ], - [ - 97.511669, - 33.520805 - ], - [ - 97.523372, - 33.577166 - ], - [ - 97.450075, - 33.582152 - ], - [ - 97.415583, - 33.605582 - ], - [ - 97.435293, - 33.682307 - ], - [ - 97.418046, - 33.728608 - ], - [ - 97.422974, - 33.754984 - ], - [ - 97.406344, - 33.795278 - ], - [ - 97.373083, - 33.817655 - ], - [ - 97.371851, - 33.842015 - ], - [ - 97.398336, - 33.848477 - ], - [ - 97.395257, - 33.889224 - ], - [ - 97.460546, - 33.887236 - ], - [ - 97.503662, - 33.912073 - ], - [ - 97.52214, - 33.903133 - ], - [ - 97.601596, - 33.929951 - ], - [ - 97.629314, - 33.919523 - ], - [ - 97.660111, - 33.956264 - ], - [ - 97.652719, - 33.998448 - ], - [ - 97.70261, - 34.036644 - ], - [ - 97.665654, - 34.126855 - ], - [ - 97.766668, - 34.158555 - ], - [ - 97.789458, - 34.182818 - ], - [ - 97.789458, - 34.182818 - ], - [ - 97.796849, - 34.199154 - ], - [ - 97.796849, - 34.199154 - ], - [ - 97.8104, - 34.207568 - ], - [ - 97.898479, - 34.209548 - ], - [ - 97.95453, - 34.190739 - ], - [ - 98.028442, - 34.122892 - ], - [ - 98.098043, - 34.122892 - ], - [ - 98.158405, - 34.107037 - ], - [ - 98.206449, - 34.08424 - ], - [ - 98.258188, - 34.083249 - ], - [ - 98.344419, - 34.094648 - ], - [ - 98.399854, - 34.085231 - ], - [ - 98.396774, - 34.053008 - ], - [ - 98.428187, - 34.029204 - ], - [ - 98.440506, - 33.981577 - ], - [ - 98.415252, - 33.956761 - ], - [ - 98.425723, - 33.913066 - ], - [ - 98.407245, - 33.867362 - ], - [ - 98.434962, - 33.843009 - ], - [ - 98.463295, - 33.848477 - ], - [ - 98.492861, - 33.796272 - ], - [ - 98.494092, - 33.768915 - ], - [ - 98.51873, - 33.77389 - ], - [ - 98.539672, - 33.746525 - ], - [ - 98.582788, - 33.731595 - ], - [ - 98.610505, - 33.682805 - ], - [ - 98.6567, - 33.64744 - ], - [ - 98.61728, - 33.637476 - ], - [ - 98.622824, - 33.610067 - ], - [ - 98.652389, - 33.595114 - ], - [ - 98.648077, - 33.548741 - ], - [ - 98.678258, - 33.522801 - ], - [ - 98.725686, - 33.503341 - ], - [ - 98.742316, - 33.477887 - ], - [ - 98.736157, - 33.406975 - ], - [ - 98.779888, - 33.370497 - ], - [ - 98.759562, - 33.276985 - ], - [ - 98.802062, - 33.270481 - ], - [ - 98.804526, - 33.219428 - ], - [ - 98.858728, - 33.150811 - ], - [ - 98.92217, - 33.118738 - ], - [ - 98.967134, - 33.115229 - ], - [ - 98.971445, - 33.098185 - ], - [ - 99.014561, - 33.081137 - ], - [ - 99.024416, - 33.094675 - ], - [ - 99.090322, - 33.079131 - ], - [ - 99.124814, - 33.046028 - ], - [ - 99.196263, - 33.035493 - ], - [ - 99.214741, - 32.991332 - ], - [ - 99.235067, - 32.982296 - ], - [ - 99.24677, - 32.924043 - ], - [ - 99.268944, - 32.878318 - ], - [ - 99.353944, - 32.885354 - ], - [ - 99.376118, - 32.899927 - ], - [ - 99.45311, - 32.862233 - ], - [ - 99.558436, - 32.839106 - ], - [ - 99.589233, - 32.789312 - ], - [ - 99.640355, - 32.790822 - ], - [ - 99.646515, - 32.774721 - ], - [ - 99.700718, - 32.76667 - ], - [ - 99.717964, - 32.732443 - ], - [ - 99.760464, - 32.769689 - ], - [ - 99.766623, - 32.826032 - ], - [ - 99.791877, - 32.883344 - ], - [ - 99.764159, - 32.924545 - ], - [ - 99.788181, - 32.956689 - ], - [ - 99.805427, - 32.940619 - ], - [ - 99.851007, - 32.941623 - ], - [ - 99.877492, - 32.993339 - ], - [ - 99.877492, - 33.045527 - ], - [ - 99.947709, - 32.986814 - ], - [ - 99.956332, - 32.948152 - ], - [ - 100.038252, - 32.929066 - ], - [ - 100.029629, - 32.895907 - ], - [ - 100.064738, - 32.895907 - ], - [ - 100.123252, - 32.837095 - ], - [ - 100.117093, - 32.802392 - ], - [ - 100.139266, - 32.724388 - ], - [ - 100.088143, - 32.668988 - ], - [ - 100.109701, - 32.640268 - ], - [ - 100.189773, - 32.630692 - ], - [ - 100.208252, - 32.606497 - ], - [ - 100.229809, - 32.650346 - ], - [ - 100.231041, - 32.696189 - ], - [ - 100.258759, - 32.742511 - ], - [ - 100.339447, - 32.719353 - ], - [ - 100.399193, - 32.756101 - ], - [ - 100.378251, - 32.698707 - ], - [ - 100.420135, - 32.73194 - ], - [ - 100.450932, - 32.694678 - ], - [ - 100.470026, - 32.694678 - ], - [ - 100.516837, - 32.632204 - ], - [ - 100.54517, - 32.569687 - ], - [ - 100.603069, - 32.553547 - ], - [ - 100.645568, - 32.526303 - ], - [ - 100.657887, - 32.546484 - ], - [ - 100.661583, - 32.616075 - ], - [ - 100.673286, - 32.628172 - ], - [ - 100.710242, - 32.610026 - ], - [ - 100.71209, - 32.645307 - ], - [ - 100.690532, - 32.678056 - ], - [ - 100.77122, - 32.643795 - ], - [ - 100.834046, - 32.648835 - ], - [ - 100.887633, - 32.632708 - ], - [ - 100.93198, - 32.600447 - ], - [ - 100.956618, - 32.621116 - ], - [ - 100.99727, - 32.627668 - ], - [ - 101.030531, - 32.660424 - ], - [ - 101.077342, - 32.68259 - ], - [ - 101.124769, - 32.658408 - ], - [ - 101.157414, - 32.661431 - ], - [ - 101.22332, - 32.725898 - ], - [ - 101.237486, - 32.825026 - ], - [ - 101.223935, - 32.855698 - ], - [ - 101.178356, - 32.892892 - ], - [ - 101.124153, - 32.909976 - ], - [ - 101.134624, - 32.95217 - ], - [ - 101.129081, - 32.989324 - ], - [ - 101.183899, - 32.984304 - ], - [ - 101.171581, - 33.009902 - ], - [ - 101.184515, - 33.041514 - ], - [ - 101.146327, - 33.056563 - ], - [ - 101.143863, - 33.086151 - ], - [ - 101.169733, - 33.10019 - ], - [ - 101.11553, - 33.194893 - ], - [ - 101.124769, - 33.221431 - ], - [ - 101.156798, - 33.236449 - ], - [ - 101.182668, - 33.26948 - ], - [ - 101.217776, - 33.256469 - ], - [ - 101.297232, - 33.262475 - ], - [ - 101.381616, - 33.153316 - ], - [ - 101.393935, - 33.157826 - ], - [ - 101.386543, - 33.207412 - ], - [ - 101.403174, - 33.225436 - ], - [ - 101.487557, - 33.226938 - ], - [ - 101.515275, - 33.192889 - ], - [ - 101.557775, - 33.167344 - ], - [ - 101.633535, - 33.101193 - ], - [ - 101.661252, - 33.135778 - ], - [ - 101.653861, - 33.162835 - ], - [ - 101.709912, - 33.21292 - ], - [ - 101.735781, - 33.279987 - ], - [ - 101.677883, - 33.297497 - ], - [ - 101.64955, - 33.323004 - ], - [ - 101.663716, - 33.383991 - ], - [ - 101.695745, - 33.433948 - ], - [ - 101.769042, - 33.45592 - ], - [ - 101.777665, - 33.533776 - ], - [ - 101.769042, - 33.538765 - ], - [ - 101.748716, - 33.505337 - ], - [ - 101.718535, - 33.494857 - ], - [ - 101.622448, - 33.502343 - ], - [ - 101.611977, - 33.565199 - ], - [ - 101.616905, - 33.598603 - ], - [ - 101.585492, - 33.645448 - ], - [ - 101.58426, - 33.674339 - ], - [ - 101.501724, - 33.702723 - ], - [ - 101.428427, - 33.680315 - ], - [ - 101.424732, - 33.655411 - ], - [ - 101.385312, - 33.644949 - ], - [ - 101.302776, - 33.657902 - ], - [ - 101.23687, - 33.685793 - ], - [ - 101.217776, - 33.669856 - ], - [ - 101.166653, - 33.659894 - ], - [ - 101.177124, - 33.685295 - ], - [ - 101.162957, - 33.719649 - ], - [ - 101.186363, - 33.741051 - ], - [ - 101.190675, - 33.791796 - ], - [ - 101.153102, - 33.823124 - ], - [ - 101.153718, - 33.8445 - ], - [ - 101.054552, - 33.863386 - ], - [ - 101.023139, - 33.896178 - ], - [ - 100.994806, - 33.891707 - ], - [ - 100.965857, - 33.946832 - ], - [ - 100.927669, - 33.975126 - ], - [ - 100.93506, - 33.990013 - ], - [ - 100.880857, - 34.036644 - ], - [ - 100.870386, - 34.083744 - ], - [ - 100.848828, - 34.089692 - ], - [ - 100.806329, - 34.155584 - ], - [ - 100.764445, - 34.178857 - ], - [ - 100.809408, - 34.247153 - ], - [ - 100.798321, - 34.260014 - ], - [ - 100.821727, - 34.317371 - ], - [ - 100.868538, - 34.332693 - ], - [ - 100.895024, - 34.375183 - ], - [ - 100.951074, - 34.38358 - ], - [ - 100.986799, - 34.374689 - ], - [ - 101.054552, - 34.322808 - ], - [ - 101.098284, - 34.329233 - ], - [ - 101.178356, - 34.320831 - ], - [ - 101.193754, - 34.336646 - ], - [ - 101.235022, - 34.325279 - ], - [ - 101.228863, - 34.298586 - ], - [ - 101.268899, - 34.278808 - ], - [ - 101.325565, - 34.268423 - ], - [ - 101.327413, - 34.24468 - ], - [ - 101.369913, - 34.248143 - ], - [ - 101.417956, - 34.227858 - ], - [ - 101.482014, - 34.218951 - ], - [ - 101.492485, - 34.195689 - ], - [ - 101.53868, - 34.212022 - ], - [ - 101.6206, - 34.178857 - ], - [ - 101.674187, - 34.110506 - ], - [ - 101.703136, - 34.119424 - ], - [ - 101.718535, - 34.083249 - ], - [ - 101.736397, - 34.080275 - ], - [ - 101.764114, - 34.122892 - ], - [ - 101.788136, - 34.131809 - ], - [ - 101.836795, - 34.124378 - ], - [ - 101.851578, - 34.153108 - ], - [ - 101.874367, - 34.130323 - ], - [ - 101.897773, - 34.133791 - ], - [ - 101.955055, - 34.109514 - ], - [ - 101.965526, - 34.167469 - ], - [ - 102.003099, - 34.162022 - ], - [ - 102.030816, - 34.190739 - ], - [ - 102.01357, - 34.218456 - ], - [ - 102.062229, - 34.227858 - ], - [ - 102.067772, - 34.293642 - ], - [ - 102.149692, - 34.271885 - ], - [ - 102.186649, - 34.352952 - ], - [ - 102.237156, - 34.34307 - ], - [ - 102.237156, - 34.34307 - ], - [ - 102.259329, - 34.355917 - ], - [ - 102.205743, - 34.407777 - ], - [ - 102.169402, - 34.457631 - ], - [ - 102.155852, - 34.507456 - ], - [ - 102.139837, - 34.50351 - ], - [ - 102.093026, - 34.536547 - ], - [ - 102.001867, - 34.538519 - ], - [ - 101.97415, - 34.548871 - ], - [ - 101.956287, - 34.582876 - ], - [ - 101.934729, - 34.58731 - ], - [ - 101.919947, - 34.621791 - ], - [ - 101.917483, - 34.705964 - ], - [ - 101.923027, - 34.835746 - ], - [ - 101.916867, - 34.873561 - ], - [ - 101.985852, - 34.90007 - ], - [ - 102.068388, - 34.887798 - ], - [ - 102.048062, - 34.910868 - ], - [ - 102.094874, - 34.986901 - ], - [ - 102.133678, - 35.014844 - ], - [ - 102.157699, - 35.010923 - ], - [ - 102.176178, - 35.032977 - ], - [ - 102.211286, - 35.034937 - ], - [ - 102.218062, - 35.057475 - ], - [ - 102.252554, - 35.048657 - ], - [ - 102.29567, - 35.071681 - ], - [ - 102.310452, - 35.128967 - ], - [ - 102.346793, - 35.164201 - ], - [ - 102.404075, - 35.179366 - ], - [ - 102.365887, - 35.235599 - ], - [ - 102.370199, - 35.263946 - ], - [ - 102.3123, - 35.282512 - ], - [ - 102.280887, - 35.303028 - ], - [ - 102.311684, - 35.31426 - ], - [ - 102.317844, - 35.343067 - ], - [ - 102.287663, - 35.36552 - ], - [ - 102.293822, - 35.424063 - ], - [ - 102.314764, - 35.434303 - ], - [ - 102.408387, - 35.409431 - ], - [ - 102.447807, - 35.437229 - ], - [ - 102.437952, - 35.455268 - ], - [ - 102.49893, - 35.545403 - ], - [ - 102.503241, - 35.585322 - ], - [ - 102.531575, - 35.580455 - ], - [ - 102.570995, - 35.548324 - ], - [ - 102.695414, - 35.528358 - ], - [ - 102.743458, - 35.494745 - ], - [ - 102.782878, - 35.527871 - ], - [ - 102.729291, - 35.523487 - ], - [ - 102.746537, - 35.545403 - ], - [ - 102.808747, - 35.560496 - ], - [ - 102.763168, - 35.612086 - ], - [ - 102.7644, - 35.653431 - ], - [ - 102.744074, - 35.657807 - ], - [ - 102.707733, - 35.70496 - ], - [ - 102.686175, - 35.771996 - ], - [ - 102.715125, - 35.815685 - ], - [ - 102.739146, - 35.821023 - ], - [ - 102.787189, - 35.862745 - ], - [ - 102.81737, - 35.850133 - ], - [ - 102.914073, - 35.845282 - ], - [ - 102.94487, - 35.829757 - ], - [ - 102.954725, - 35.858864 - ], - [ - 102.942406, - 35.92674 - ], - [ - 102.971971, - 35.995525 - ], - [ - 102.951645, - 36.021667 - ], - [ - 102.968276, - 36.044414 - ], - [ - 102.932551, - 36.048285 - ], - [ - 102.882044, - 36.082632 - ], - [ - 102.941174, - 36.104877 - ], - [ - 102.948566, - 36.150798 - ], - [ - 102.965812, - 36.151765 - ], - [ - 102.986754, - 36.193312 - ], - [ - 103.048964, - 36.199107 - ], - [ - 103.066826, - 36.216974 - ], - [ - 103.021246, - 36.232906 - ], - [ - 103.024942, - 36.256556 - ], - [ - 102.922696, - 36.298047 - ], - [ - 102.896827, - 36.331803 - ], - [ - 102.845704, - 36.331803 - ], - [ - 102.836465, - 36.344819 - ], - [ - 102.829689, - 36.365544 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 640000, - "name": "宁夏回族自治区", - "center": [ - 106.278179, - 38.46637 - ], - "centroid": [ - 106.169866, - 37.291332 - ], - "childrenNum": 5, - "cp": [105.9961, 37.1096], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 29, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 107.268764, - 37.099367 - ], - [ - 107.281083, - 37.127047 - ], - [ - 107.306952, - 37.100799 - ], - [ - 107.334669, - 37.138975 - ], - [ - 107.336517, - 37.165687 - ], - [ - 107.317423, - 37.200017 - ], - [ - 107.270612, - 37.229089 - ], - [ - 107.309416, - 37.239095 - ], - [ - 107.273075, - 37.29101 - ], - [ - 107.257677, - 37.337179 - ], - [ - 107.282931, - 37.437036 - ], - [ - 107.284162, - 37.481691 - ], - [ - 107.345756, - 37.518725 - ], - [ - 107.369162, - 37.58752 - ], - [ - 107.330358, - 37.584201 - ], - [ - 107.311264, - 37.609806 - ], - [ - 107.361155, - 37.613125 - ], - [ - 107.422133, - 37.665254 - ], - [ - 107.389488, - 37.671413 - ], - [ - 107.387024, - 37.691305 - ], - [ - 107.425828, - 37.684201 - ], - [ - 107.484959, - 37.706458 - ], - [ - 107.499125, - 37.765619 - ], - [ - 107.57119, - 37.776499 - ], - [ - 107.599523, - 37.791162 - ], - [ - 107.620465, - 37.776026 - ], - [ - 107.646335, - 37.805349 - ], - [ - 107.659269, - 37.844112 - ], - [ - 107.65003, - 37.86443 - ], - [ - 107.560719, - 37.893717 - ], - [ - 107.49235, - 37.944706 - ], - [ - 107.448618, - 37.933378 - ], - [ - 107.411662, - 37.948009 - ], - [ - 107.440611, - 37.995659 - ], - [ - 107.3938, - 38.014993 - ], - [ - 107.33159, - 38.086625 - ], - [ - 107.240431, - 38.111586 - ], - [ - 107.19054, - 38.153953 - ], - [ - 107.138801, - 38.161011 - ], - [ - 107.119091, - 38.134185 - ], - [ - 107.071047, - 38.138892 - ], - [ - 107.051337, - 38.122886 - ], - [ - 107.010069, - 38.120532 - ], - [ - 106.942316, - 38.132302 - ], - [ - 106.858548, - 38.156306 - ], - [ - 106.779092, - 38.171833 - ], - [ - 106.737824, - 38.197706 - ], - [ - 106.654672, - 38.22921 - ], - [ - 106.627571, - 38.232501 - ], - [ - 106.555506, - 38.263521 - ], - [ - 106.482209, - 38.319417 - ], - [ - 106.599854, - 38.389812 - ], - [ - 106.647897, - 38.470917 - ], - [ - 106.66268, - 38.601524 - ], - [ - 106.709491, - 38.718821 - ], - [ - 106.756302, - 38.748699 - ], - [ - 106.837606, - 38.847579 - ], - [ - 106.954019, - 38.941202 - ], - [ - 106.971881, - 39.026333 - ], - [ - 106.96757, - 39.054688 - ], - [ - 106.933693, - 39.076527 - ], - [ - 106.878874, - 39.091392 - ], - [ - 106.859164, - 39.107648 - ], - [ - 106.825288, - 39.19397 - ], - [ - 106.795723, - 39.214375 - ], - [ - 106.790795, - 39.241263 - ], - [ - 106.806193, - 39.277407 - ], - [ - 106.806809, - 39.318625 - ], - [ - 106.781556, - 39.371849 - ], - [ - 106.751375, - 39.381564 - ], - [ - 106.683622, - 39.357506 - ], - [ - 106.643586, - 39.357969 - ], - [ - 106.602318, - 39.37555 - ], - [ - 106.556122, - 39.322329 - ], - [ - 106.525325, - 39.308439 - ], - [ - 106.511774, - 39.272311 - ], - [ - 106.402753, - 39.291767 - ], - [ - 106.280181, - 39.262118 - ], - [ - 106.29558, - 39.167992 - ], - [ - 106.285109, - 39.146181 - ], - [ - 106.251232, - 39.131327 - ], - [ - 106.192718, - 39.142932 - ], - [ - 106.170544, - 39.163352 - ], - [ - 106.145907, - 39.153142 - ], - [ - 106.096631, - 39.084889 - ], - [ - 106.078153, - 39.026333 - ], - [ - 106.087392, - 39.006339 - ], - [ - 106.060907, - 38.96866 - ], - [ - 106.021487, - 38.953769 - ], - [ - 105.97098, - 38.909077 - ], - [ - 105.992538, - 38.857366 - ], - [ - 105.909386, - 38.791159 - ], - [ - 105.908154, - 38.737496 - ], - [ - 105.88598, - 38.716953 - ], - [ - 105.894603, - 38.696405 - ], - [ - 105.852719, - 38.641735 - ], - [ - 105.874277, - 38.593105 - ], - [ - 105.856415, - 38.569714 - ], - [ - 105.863806, - 38.53508 - ], - [ - 105.836705, - 38.476071 - ], - [ - 105.850872, - 38.443736 - ], - [ - 105.827466, - 38.432486 - ], - [ - 105.835473, - 38.387467 - ], - [ - 105.821307, - 38.366824 - ], - [ - 105.86627, - 38.296406 - ], - [ - 105.842248, - 38.240962 - ], - [ - 105.802828, - 38.220277 - ], - [ - 105.775111, - 38.186887 - ], - [ - 105.76772, - 38.121474 - ], - [ - 105.780655, - 38.084741 - ], - [ - 105.840401, - 38.004147 - ], - [ - 105.799749, - 37.939986 - ], - [ - 105.80406, - 37.862068 - ], - [ - 105.760944, - 37.799674 - ], - [ - 105.677177, - 37.771769 - ], - [ - 105.622358, - 37.777919 - ], - [ - 105.616199, - 37.722555 - ], - [ - 105.598952, - 37.699356 - ], - [ - 105.467141, - 37.695094 - ], - [ - 105.4037, - 37.710246 - ], - [ - 105.315004, - 37.702197 - ], - [ - 105.221998, - 37.677097 - ], - [ - 105.187505, - 37.657674 - ], - [ - 105.111128, - 37.633981 - ], - [ - 105.027977, - 37.580881 - ], - [ - 104.866601, - 37.566651 - ], - [ - 104.805007, - 37.539133 - ], - [ - 104.623305, - 37.522522 - ], - [ - 104.433595, - 37.515402 - ], - [ - 104.419429, - 37.511604 - ], - [ - 104.407726, - 37.464592 - ], - [ - 104.322726, - 37.44844 - ], - [ - 104.287002, - 37.428007 - ], - [ - 104.298705, - 37.414223 - ], - [ - 104.365226, - 37.418026 - ], - [ - 104.437907, - 37.445589 - ], - [ - 104.448994, - 37.42468 - ], - [ - 104.499501, - 37.421353 - ], - [ - 104.521059, - 37.43466 - ], - [ - 104.679971, - 37.408044 - ], - [ - 104.662109, - 37.367626 - ], - [ - 104.713848, - 37.329566 - ], - [ - 104.673812, - 37.317668 - ], - [ - 104.651022, - 37.290534 - ], - [ - 104.624536, - 37.298627 - ], - [ - 104.600515, - 37.242907 - ], - [ - 104.638087, - 37.201923 - ], - [ - 104.717543, - 37.208597 - ], - [ - 104.776673, - 37.246718 - ], - [ - 104.85613, - 37.211933 - ], - [ - 104.864753, - 37.17284 - ], - [ - 104.888158, - 37.15901 - ], - [ - 104.914644, - 37.097935 - ], - [ - 104.954064, - 37.077407 - ], - [ - 104.95468, - 37.040156 - ], - [ - 105.004571, - 37.035378 - ], - [ - 105.03968, - 37.007187 - ], - [ - 105.05939, - 37.022956 - ], - [ - 105.128991, - 36.996194 - ], - [ - 105.165331, - 36.99476 - ], - [ - 105.185657, - 36.942164 - ], - [ - 105.178882, - 36.892403 - ], - [ - 105.244787, - 36.894796 - ], - [ - 105.279896, - 36.86751 - ], - [ - 105.303302, - 36.820575 - ], - [ - 105.334714, - 36.80093 - ], - [ - 105.340874, - 36.764502 - ], - [ - 105.319932, - 36.742924 - ], - [ - 105.275584, - 36.752515 - ], - [ - 105.272505, - 36.739567 - ], - [ - 105.218302, - 36.730455 - ], - [ - 105.201056, - 36.700711 - ], - [ - 105.225693, - 36.664716 - ], - [ - 105.22015, - 36.631105 - ], - [ - 105.261418, - 36.602764 - ], - [ - 105.2762, - 36.563358 - ], - [ - 105.252179, - 36.553263 - ], - [ - 105.281744, - 36.522489 - ], - [ - 105.322396, - 36.535954 - ], - [ - 105.362432, - 36.496514 - ], - [ - 105.363048, - 36.443093 - ], - [ - 105.398156, - 36.430575 - ], - [ - 105.401236, - 36.369881 - ], - [ - 105.425873, - 36.330357 - ], - [ - 105.455439, - 36.321678 - ], - [ - 105.476381, - 36.293224 - ], - [ - 105.45975, - 36.268137 - ], - [ - 105.460366, - 36.223733 - ], - [ - 105.478844, - 36.213111 - ], - [ - 105.515185, - 36.147415 - ], - [ - 105.491163, - 36.101009 - ], - [ - 105.430801, - 36.10391 - ], - [ - 105.406163, - 36.074409 - ], - [ - 105.343954, - 36.033767 - ], - [ - 105.324859, - 35.941761 - ], - [ - 105.350113, - 35.875839 - ], - [ - 105.39754, - 35.857409 - ], - [ - 105.371055, - 35.844312 - ], - [ - 105.38091, - 35.792873 - ], - [ - 105.408627, - 35.822479 - ], - [ - 105.428953, - 35.819082 - ], - [ - 105.432033, - 35.787533 - ], - [ - 105.457286, - 35.771511 - ], - [ - 105.481924, - 35.727312 - ], - [ - 105.595873, - 35.715651 - ], - [ - 105.667322, - 35.749657 - ], - [ - 105.70243, - 35.733142 - ], - [ - 105.759097, - 35.724883 - ], - [ - 105.740618, - 35.698643 - ], - [ - 105.723988, - 35.725854 - ], - [ - 105.690727, - 35.698643 - ], - [ - 105.722756, - 35.673366 - ], - [ - 105.713517, - 35.650513 - ], - [ - 105.759097, - 35.634464 - ], - [ - 105.762176, - 35.602841 - ], - [ - 105.800365, - 35.564878 - ], - [ - 105.816379, - 35.575101 - ], - [ - 105.847176, - 35.490359 - ], - [ - 105.868734, - 35.540046 - ], - [ - 105.900147, - 35.54735 - ], - [ - 106.017175, - 35.519103 - ], - [ - 106.023335, - 35.49377 - ], - [ - 106.047356, - 35.498155 - ], - [ - 106.078769, - 35.509848 - ], - [ - 106.071994, - 35.463555 - ], - [ - 106.06953, - 35.458193 - ], - [ - 106.073842, - 35.45478 - ], - [ - 106.073226, - 35.450393 - ], - [ - 106.071378, - 35.449418 - ], - [ - 106.073226, - 35.447468 - ], - [ - 106.083081, - 35.421624 - ], - [ - 106.113262, - 35.361616 - ], - [ - 106.129892, - 35.393333 - ], - [ - 106.173008, - 35.437716 - ], - [ - 106.196414, - 35.409919 - ], - [ - 106.237681, - 35.409431 - ], - [ - 106.241377, - 35.358687 - ], - [ - 106.319601, - 35.265411 - ], - [ - 106.363333, - 35.238532 - ], - [ - 106.368261, - 35.273718 - ], - [ - 106.415688, - 35.276161 - ], - [ - 106.472354, - 35.310842 - ], - [ - 106.501304, - 35.364056 - ], - [ - 106.503767, - 35.415284 - ], - [ - 106.483441, - 35.450393 - ], - [ - 106.490217, - 35.480613 - ], - [ - 106.465579, - 35.481101 - ], - [ - 106.440941, - 35.52641 - ], - [ - 106.460036, - 35.578995 - ], - [ - 106.47913, - 35.575101 - ], - [ - 106.460036, - 35.643705 - ], - [ - 106.434782, - 35.688436 - ], - [ - 106.49268, - 35.732656 - ], - [ - 106.506231, - 35.737514 - ], - [ - 106.566593, - 35.738971 - ], - [ - 106.595542, - 35.727312 - ], - [ - 106.620796, - 35.743829 - ], - [ - 106.633115, - 35.714679 - ], - [ - 106.66268, - 35.70739 - ], - [ - 106.674998, - 35.728284 - ], - [ - 106.750759, - 35.689408 - ], - [ - 106.750759, - 35.725369 - ], - [ - 106.806193, - 35.70982 - ], - [ - 106.819128, - 35.7448 - ], - [ - 106.867171, - 35.738485 - ], - [ - 106.868403, - 35.771996 - ], - [ - 106.897353, - 35.759856 - ], - [ - 106.927534, - 35.810346 - ], - [ - 106.849925, - 35.887476 - ], - [ - 106.912751, - 35.93207 - ], - [ - 106.940468, - 35.931101 - ], - [ - 106.93862, - 35.952905 - ], - [ - 106.90228, - 35.943699 - ], - [ - 106.94786, - 35.988262 - ], - [ - 106.928149, - 36.011502 - ], - [ - 106.940468, - 36.064734 - ], - [ - 106.957715, - 36.091337 - ], - [ - 106.925686, - 36.115997 - ], - [ - 106.930613, - 36.138716 - ], - [ - 106.873947, - 36.178338 - ], - [ - 106.873947, - 36.178338 - ], - [ - 106.858548, - 36.206834 - ], - [ - 106.858548, - 36.206834 - ], - [ - 106.833295, - 36.229044 - ], - [ - 106.808657, - 36.21118 - ], - [ - 106.772933, - 36.212628 - ], - [ - 106.735976, - 36.23725 - ], - [ - 106.698404, - 36.244008 - ], - [ - 106.685469, - 36.273445 - ], - [ - 106.647897, - 36.259451 - ], - [ - 106.559202, - 36.292259 - ], - [ - 106.54134, - 36.25366 - ], - [ - 106.504383, - 36.266207 - ], - [ - 106.470507, - 36.306246 - ], - [ - 106.497608, - 36.31348 - ], - [ - 106.510543, - 36.379037 - ], - [ - 106.492064, - 36.422389 - ], - [ - 106.523477, - 36.468605 - ], - [ - 106.494528, - 36.494589 - ], - [ - 106.455724, - 36.496995 - ], - [ - 106.39721, - 36.548455 - ], - [ - 106.37134, - 36.549417 - ], - [ - 106.363949, - 36.577296 - ], - [ - 106.392282, - 36.556628 - ], - [ - 106.397826, - 36.576816 - ], - [ - 106.444637, - 36.557109 - ], - [ - 106.465579, - 36.583063 - ], - [ - 106.444637, - 36.624861 - ], - [ - 106.491448, - 36.628703 - ], - [ - 106.490833, - 36.685835 - ], - [ - 106.530869, - 36.690154 - ], - [ - 106.519782, - 36.708868 - ], - [ - 106.519782, - 36.708868 - ], - [ - 106.514238, - 36.715584 - ], - [ - 106.59431, - 36.750118 - ], - [ - 106.644817, - 36.72278 - ], - [ - 106.627571, - 36.752995 - ], - [ - 106.657752, - 36.820575 - ], - [ - 106.637426, - 36.867031 - ], - [ - 106.637426, - 36.867031 - ], - [ - 106.626955, - 36.892403 - ], - [ - 106.609709, - 36.878521 - ], - [ - 106.609709, - 36.878521 - ], - [ - 106.601702, - 36.918244 - ], - [ - 106.549347, - 36.941685 - ], - [ - 106.540108, - 36.984244 - ], - [ - 106.595542, - 36.94025 - ], - [ - 106.594926, - 36.967988 - ], - [ - 106.64297, - 36.962729 - ], - [ - 106.646665, - 37.000496 - ], - [ - 106.666991, - 37.016745 - ], - [ - 106.645433, - 37.064992 - ], - [ - 106.605397, - 37.127524 - ], - [ - 106.6171, - 37.135158 - ], - [ - 106.673151, - 37.1113 - ], - [ - 106.687933, - 37.12991 - ], - [ - 106.728585, - 37.121321 - ], - [ - 106.750143, - 37.09889 - ], - [ - 106.772933, - 37.120367 - ], - [ - 106.776012, - 37.158056 - ], - [ - 106.818512, - 37.141838 - ], - [ - 106.891193, - 37.098413 - ], - [ - 106.912135, - 37.110345 - ], - [ - 106.905976, - 37.151378 - ], - [ - 106.998367, - 37.106527 - ], - [ - 107.031011, - 37.108436 - ], - [ - 107.030395, - 37.140883 - ], - [ - 107.095685, - 37.115595 - ], - [ - 107.133873, - 37.134681 - ], - [ - 107.181916, - 37.143269 - ], - [ - 107.234887, - 37.096503 - ], - [ - 107.268764, - 37.099367 - ] - ] - ], - [ - [ - [ - 106.048588, - 35.488898 - ], - [ - 105.897683, - 35.451368 - ], - [ - 105.894603, - 35.413821 - ], - [ - 106.002393, - 35.438692 - ], - [ - 106.034422, - 35.469404 - ], - [ - 106.054132, - 35.45478 - ], - [ - 106.048588, - 35.488898 - ] - ] - ], - [ - [ - [ - 106.073842, - 35.45478 - ], - [ - 106.06953, - 35.458193 - ], - [ - 106.071378, - 35.449418 - ], - [ - 106.073226, - 35.450393 - ], - [ - 106.073842, - 35.45478 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 650000, - "name": "新疆维吾尔自治区", - "center": [ - 87.617733, - 43.792818 - ], - "centroid": [ - 85.294711, - 41.371801 - ], - "childrenNum": 24, - "cp": [86.9023, 41.148], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 30, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 96.386348, - 42.727592 - ], - [ - 96.363558, - 42.900562 - ], - [ - 95.921314, - 43.229789 - ], - [ - 95.880046, - 43.28035 - ], - [ - 95.857872, - 43.417436 - ], - [ - 95.735916, - 43.597569 - ], - [ - 95.705735, - 43.67077 - ], - [ - 95.645373, - 43.787966 - ], - [ - 95.623199, - 43.855756 - ], - [ - 95.527113, - 44.007466 - ], - [ - 95.426099, - 44.009618 - ], - [ - 95.377439, - 44.025972 - ], - [ - 95.326932, - 44.028554 - ], - [ - 95.35157, - 44.090054 - ], - [ - 95.355882, - 44.166087 - ], - [ - 95.376208, - 44.227444 - ], - [ - 95.4107, - 44.245024 - ], - [ - 95.43041, - 44.281882 - ], - [ - 95.41378, - 44.298589 - ], - [ - 95.238853, - 44.277169 - ], - [ - 95.1286, - 44.269884 - ], - [ - 94.998637, - 44.253169 - ], - [ - 94.945666, - 44.292592 - ], - [ - 94.826174, - 44.320001 - ], - [ - 94.768275, - 44.34055 - ], - [ - 94.722696, - 44.34055 - ], - [ - 94.673421, - 44.397021 - ], - [ - 94.606283, - 44.448311 - ], - [ - 94.557008, - 44.462408 - ], - [ - 94.470777, - 44.509373 - ], - [ - 94.390705, - 44.521749 - ], - [ - 94.359292, - 44.515775 - ], - [ - 94.329727, - 44.582734 - ], - [ - 94.279836, - 44.603617 - ], - [ - 94.227481, - 44.645785 - ], - [ - 94.215162, - 44.667921 - ], - [ - 94.152336, - 44.684944 - ], - [ - 94.066105, - 44.732154 - ], - [ - 93.723642, - 44.865498 - ], - [ - 93.716251, - 44.894334 - ], - [ - 93.613389, - 44.926546 - ], - [ - 93.509296, - 44.968055 - ], - [ - 93.434767, - 44.955351 - ], - [ - 93.376869, - 44.985412 - ], - [ - 93.314659, - 44.995147 - ], - [ - 93.314043, - 44.980333 - ], - [ - 93.252449, - 44.991761 - ], - [ - 93.174225, - 45.015458 - ], - [ - 93.100312, - 45.007419 - ], - [ - 93.062124, - 45.018419 - ], - [ - 93.002377, - 45.009958 - ], - [ - 92.932776, - 45.017573 - ], - [ - 92.922921, - 45.03703 - ], - [ - 92.884117, - 45.046756 - ], - [ - 92.847777, - 45.038721 - ], - [ - 92.779407, - 45.050561 - ], - [ - 92.683937, - 45.02561 - ], - [ - 92.547814, - 45.018419 - ], - [ - 92.501003, - 45.001072 - ], - [ - 92.414155, - 45.018419 - ], - [ - 92.348866, - 45.014188 - ], - [ - 92.315605, - 45.028994 - ], - [ - 92.240461, - 45.015881 - ], - [ - 92.100026, - 45.081417 - ], - [ - 92.056911, - 45.086911 - ], - [ - 91.885679, - 45.078882 - ], - [ - 91.803144, - 45.082685 - ], - [ - 91.694738, - 45.065357 - ], - [ - 91.561695, - 45.075501 - ], - [ - 91.500101, - 45.103809 - ], - [ - 91.448978, - 45.156586 - ], - [ - 91.429268, - 45.156586 - ], - [ - 91.37753, - 45.11099 - ], - [ - 91.33503, - 45.129571 - ], - [ - 91.242023, - 45.13717 - ], - [ - 91.230936, - 45.153632 - ], - [ - 91.195827, - 45.159118 - ], - [ - 91.17119, - 45.199616 - ], - [ - 91.129922, - 45.21606 - ], - [ - 91.050466, - 45.208892 - ], - [ - 91.007966, - 45.218589 - ], - [ - 90.96177, - 45.201303 - ], - [ - 90.881698, - 45.192025 - ], - [ - 90.866916, - 45.209314 - ], - [ - 90.897713, - 45.249776 - ], - [ - 90.877387, - 45.280946 - ], - [ - 90.831807, - 45.300313 - ], - [ - 90.804706, - 45.29484 - ], - [ - 90.813329, - 45.32851 - ], - [ - 90.773909, - 45.405874 - ], - [ - 90.772677, - 45.432338 - ], - [ - 90.723402, - 45.464667 - ], - [ - 90.671047, - 45.487747 - ], - [ - 90.676591, - 45.582488 - ], - [ - 90.714779, - 45.728895 - ], - [ - 90.799778, - 45.834905 - ], - [ - 90.890937, - 45.921566 - ], - [ - 91.028292, - 46.023054 - ], - [ - 91.014741, - 46.06667 - ], - [ - 91.021517, - 46.121038 - ], - [ - 90.98456, - 46.160431 - ], - [ - 90.94822, - 46.219262 - ], - [ - 90.955611, - 46.233752 - ], - [ - 90.900177, - 46.31235 - ], - [ - 90.983328, - 46.374734 - ], - [ - 90.996263, - 46.419309 - ], - [ - 91.025828, - 46.444057 - ], - [ - 91.038147, - 46.500936 - ], - [ - 91.060937, - 46.516999 - ], - [ - 91.079415, - 46.558989 - ], - [ - 91.068328, - 46.579149 - ], - [ - 91.017821, - 46.58244 - ], - [ - 91.036299, - 46.670393 - ], - [ - 91.054161, - 46.717598 - ], - [ - 91.019053, - 46.766402 - ], - [ - 90.992567, - 46.769682 - ], - [ - 90.992567, - 46.790583 - ], - [ - 90.942676, - 46.82581 - ], - [ - 90.958075, - 46.879425 - ], - [ - 90.929742, - 46.893331 - ], - [ - 90.92235, - 46.938707 - ], - [ - 90.901408, - 46.960768 - ], - [ - 90.830575, - 46.995883 - ], - [ - 90.767134, - 46.992617 - ], - [ - 90.691989, - 47.080717 - ], - [ - 90.653801, - 47.111681 - ], - [ - 90.579888, - 47.198364 - ], - [ - 90.56141, - 47.206903 - ], - [ - 90.521374, - 47.2845 - ], - [ - 90.488113, - 47.317374 - ], - [ - 90.526301, - 47.379007 - ], - [ - 90.507823, - 47.400076 - ], - [ - 90.468403, - 47.404937 - ], - [ - 90.459164, - 47.43895 - ], - [ - 90.474562, - 47.462422 - ], - [ - 90.468403, - 47.497611 - ], - [ - 90.398186, - 47.547724 - ], - [ - 90.376012, - 47.603036 - ], - [ - 90.346447, - 47.637324 - ], - [ - 90.384635, - 47.644179 - ], - [ - 90.331665, - 47.681663 - ], - [ - 90.216484, - 47.70543 - ], - [ - 90.180144, - 47.72516 - ], - [ - 90.13518, - 47.723147 - ], - [ - 90.07605, - 47.777469 - ], - [ - 90.070506, - 47.820483 - ], - [ - 90.086521, - 47.86547 - ], - [ - 90.066195, - 47.883534 - ], - [ - 90.040941, - 47.874704 - ], - [ - 89.960253, - 47.885942 - ], - [ - 89.957789, - 47.842982 - ], - [ - 89.86971, - 47.834144 - ], - [ - 89.761921, - 47.835751 - ], - [ - 89.735435, - 47.89758 - ], - [ - 89.651052, - 47.913627 - ], - [ - 89.645508, - 47.947711 - ], - [ - 89.595617, - 47.973359 - ], - [ - 89.599313, - 48.015811 - ], - [ - 89.569132, - 48.037825 - ], - [ - 89.498299, - 48.02822 - ], - [ - 89.38127, - 48.046227 - ], - [ - 89.359712, - 48.026219 - ], - [ - 89.308589, - 48.021816 - ], - [ - 89.282104, - 47.994189 - ], - [ - 89.231597, - 47.98017 - ], - [ - 89.156452, - 47.996992 - ], - [ - 89.078228, - 47.98698 - ], - [ - 89.044967, - 48.009806 - ], - [ - 89.027105, - 48.051028 - ], - [ - 88.953808, - 48.090618 - ], - [ - 88.939026, - 48.115396 - ], - [ - 88.824461, - 48.107005 - ], - [ - 88.79736, - 48.133772 - ], - [ - 88.721599, - 48.160526 - ], - [ - 88.700657, - 48.180881 - ], - [ - 88.668628, - 48.171303 - ], - [ - 88.638447, - 48.183674 - ], - [ - 88.601491, - 48.221567 - ], - [ - 88.594716, - 48.259831 - ], - [ - 88.575006, - 48.277757 - ], - [ - 88.605803, - 48.337863 - ], - [ - 88.573774, - 48.351785 - ], - [ - 88.573158, - 48.369679 - ], - [ - 88.535586, - 48.368884 - ], - [ - 88.523267, - 48.403461 - ], - [ - 88.503557, - 48.412996 - ], - [ - 88.462289, - 48.392335 - ], - [ - 88.438267, - 48.393528 - ], - [ - 88.360659, - 48.433251 - ], - [ - 88.363123, - 48.460641 - ], - [ - 88.318159, - 48.478497 - ], - [ - 88.229464, - 48.498329 - ], - [ - 88.196819, - 48.493967 - ], - [ - 88.151855, - 48.526478 - ], - [ - 88.130297, - 48.521721 - ], - [ - 88.10874, - 48.545895 - ], - [ - 88.041602, - 48.548272 - ], - [ - 87.973233, - 48.575997 - ], - [ - 87.96153, - 48.599353 - ], - [ - 88.010805, - 48.618742 - ], - [ - 88.02682, - 48.65315 - ], - [ - 88.089645, - 48.69504 - ], - [ - 88.090877, - 48.71992 - ], - [ - 88.064392, - 48.712813 - ], - [ - 88.029283, - 48.750313 - ], - [ - 87.96153, - 48.773588 - ], - [ - 87.93874, - 48.757809 - ], - [ - 87.872219, - 48.799612 - ], - [ - 87.826639, - 48.800795 - ], - [ - 87.803234, - 48.824835 - ], - [ - 87.829103, - 48.825623 - ], - [ - 87.792147, - 48.849258 - ], - [ - 87.78106, - 48.872094 - ], - [ - 87.742256, - 48.881146 - ], - [ - 87.760118, - 48.925992 - ], - [ - 87.793995, - 48.927565 - ], - [ - 87.814321, - 48.945256 - ], - [ - 87.87653, - 48.949186 - ], - [ - 87.871603, - 48.963726 - ], - [ - 87.911639, - 48.979833 - ], - [ - 87.883922, - 48.993971 - ], - [ - 87.883306, - 49.023806 - ], - [ - 87.835263, - 49.054406 - ], - [ - 87.858052, - 49.07362 - ], - [ - 87.844502, - 49.090084 - ], - [ - 87.867291, - 49.108892 - ], - [ - 87.845733, - 49.146096 - ], - [ - 87.82048, - 49.148445 - ], - [ - 87.821096, - 49.173883 - ], - [ - 87.793379, - 49.18249 - ], - [ - 87.762582, - 49.172709 - ], - [ - 87.700372, - 49.175839 - ], - [ - 87.67635, - 49.15549 - ], - [ - 87.602437, - 49.152359 - ], - [ - 87.563017, - 49.142572 - ], - [ - 87.517438, - 49.145704 - ], - [ - 87.49588, - 49.132001 - ], - [ - 87.511894, - 49.10184 - ], - [ - 87.43675, - 49.075188 - ], - [ - 87.388707, - 49.097921 - ], - [ - 87.304939, - 49.112418 - ], - [ - 87.239033, - 49.114376 - ], - [ - 87.211932, - 49.140615 - ], - [ - 87.112766, - 49.15549 - ], - [ - 87.088128, - 49.133567 - ], - [ - 87.000049, - 49.142572 - ], - [ - 86.953853, - 49.131218 - ], - [ - 86.887948, - 49.132001 - ], - [ - 86.854071, - 49.109284 - ], - [ - 86.84976, - 49.066563 - ], - [ - 86.836209, - 49.051269 - ], - [ - 86.772151, - 49.02773 - ], - [ - 86.732115, - 48.994757 - ], - [ - 86.730267, - 48.959797 - ], - [ - 86.757985, - 48.894919 - ], - [ - 86.782006, - 48.887049 - ], - [ - 86.821426, - 48.850439 - ], - [ - 86.818963, - 48.831139 - ], - [ - 86.770303, - 48.810255 - ], - [ - 86.754289, - 48.78463 - ], - [ - 86.780774, - 48.731369 - ], - [ - 86.771535, - 48.717156 - ], - [ - 86.70255, - 48.666195 - ], - [ - 86.693311, - 48.64366 - ], - [ - 86.640956, - 48.629027 - ], - [ - 86.635413, - 48.612016 - ], - [ - 86.594761, - 48.576789 - ], - [ - 86.579978, - 48.538763 - ], - [ - 86.416138, - 48.481671 - ], - [ - 86.38103, - 48.49357 - ], - [ - 86.305269, - 48.491984 - ], - [ - 86.270161, - 48.452307 - ], - [ - 86.225813, - 48.432456 - ], - [ - 86.053966, - 48.441192 - ], - [ - 85.916612, - 48.438015 - ], - [ - 85.791576, - 48.418954 - ], - [ - 85.758315, - 48.403064 - ], - [ - 85.695489, - 48.335078 - ], - [ - 85.695489, - 48.302445 - ], - [ - 85.678243, - 48.266205 - ], - [ - 85.633895, - 48.232731 - ], - [ - 85.622193, - 48.202824 - ], - [ - 85.587084, - 48.191654 - ], - [ - 85.576613, - 48.15853 - ], - [ - 85.55136, - 48.127781 - ], - [ - 85.551975, - 48.081423 - ], - [ - 85.531649, - 48.046227 - ], - [ - 85.547048, - 48.008205 - ], - [ - 85.617881, - 47.550552 - ], - [ - 85.614801, - 47.498015 - ], - [ - 85.685018, - 47.428829 - ], - [ - 85.701649, - 47.384275 - ], - [ - 85.675779, - 47.321837 - ], - [ - 85.701033, - 47.28856 - ], - [ - 85.682555, - 47.249982 - ], - [ - 85.682555, - 47.222757 - ], - [ - 85.641903, - 47.18413 - ], - [ - 85.582772, - 47.142626 - ], - [ - 85.547048, - 47.096609 - ], - [ - 85.545816, - 47.057891 - ], - [ - 85.441106, - 47.063191 - ], - [ - 85.355491, - 47.054629 - ], - [ - 85.325926, - 47.044842 - ], - [ - 85.276651, - 47.068898 - ], - [ - 85.213825, - 47.041172 - ], - [ - 85.175637, - 46.997924 - ], - [ - 85.102956, - 46.968936 - ], - [ - 85.082014, - 46.939933 - ], - [ - 84.987159, - 46.918272 - ], - [ - 84.979768, - 46.883106 - ], - [ - 84.95513, - 46.861013 - ], - [ - 84.934188, - 46.863878 - ], - [ - 84.867051, - 46.927673 - ], - [ - 84.849189, - 46.957092 - ], - [ - 84.781435, - 46.979962 - ], - [ - 84.748175, - 47.009759 - ], - [ - 84.699515, - 47.008535 - ], - [ - 84.668718, - 46.995067 - ], - [ - 84.563393, - 46.991801 - ], - [ - 84.506726, - 46.97302 - ], - [ - 84.425422, - 47.008943 - ], - [ - 84.37122, - 46.993434 - ], - [ - 84.336727, - 47.00527 - ], - [ - 84.2893, - 46.994658 - ], - [ - 84.195061, - 47.003638 - ], - [ - 84.150098, - 46.977512 - ], - [ - 84.086656, - 46.965261 - ], - [ - 84.038613, - 46.973428 - ], - [ - 84.002888, - 46.990576 - ], - [ - 83.951765, - 46.98731 - ], - [ - 83.932671, - 46.970161 - ], - [ - 83.88586, - 46.982003 - ], - [ - 83.766367, - 47.026896 - ], - [ - 83.69923, - 47.015472 - ], - [ - 83.700462, - 47.032199 - ], - [ - 83.576042, - 47.059114 - ], - [ - 83.566803, - 47.080717 - ], - [ - 83.53847, - 47.083977 - ], - [ - 83.463325, - 47.132042 - ], - [ - 83.418978, - 47.119012 - ], - [ - 83.370318, - 47.178436 - ], - [ - 83.324739, - 47.167858 - ], - [ - 83.306261, - 47.179656 - ], - [ - 83.257602, - 47.173147 - ], - [ - 83.221877, - 47.186977 - ], - [ - 83.207094, - 47.213814 - ], - [ - 83.17445, - 47.218286 - ], - [ - 83.15474, - 47.236168 - ], - [ - 83.108544, - 47.221944 - ], - [ - 83.02724, - 47.21544 - ], - [ - 83.031552, - 47.168265 - ], - [ - 82.993364, - 47.065229 - ], - [ - 82.937929, - 47.014248 - ], - [ - 82.923762, - 46.932169 - ], - [ - 82.876335, - 46.823762 - ], - [ - 82.878183, - 46.797138 - ], - [ - 82.829524, - 46.772551 - ], - [ - 82.788872, - 46.677784 - ], - [ - 82.774089, - 46.600124 - ], - [ - 82.726662, - 46.494756 - ], - [ - 82.609017, - 46.294985 - ], - [ - 82.518474, - 46.153798 - ], - [ - 82.461808, - 45.97982 - ], - [ - 82.401446, - 45.972333 - ], - [ - 82.342932, - 45.935303 - ], - [ - 82.336156, - 45.882418 - ], - [ - 82.349707, - 45.822811 - ], - [ - 82.340468, - 45.772742 - ], - [ - 82.289961, - 45.71636 - ], - [ - 82.288729, - 45.655321 - ], - [ - 82.266555, - 45.620172 - ], - [ - 82.281954, - 45.53891 - ], - [ - 82.448257, - 45.461309 - ], - [ - 82.546808, - 45.426038 - ], - [ - 82.60101, - 45.346178 - ], - [ - 82.58746, - 45.224069 - ], - [ - 82.562822, - 45.204676 - ], - [ - 82.487061, - 45.181058 - ], - [ - 82.344779, - 45.219011 - ], - [ - 82.294272, - 45.247669 - ], - [ - 82.206809, - 45.236713 - ], - [ - 82.109491, - 45.211422 - ], - [ - 82.091012, - 45.222383 - ], - [ - 82.09594, - 45.249776 - ], - [ - 82.052824, - 45.255674 - ], - [ - 81.993078, - 45.237978 - ], - [ - 81.921013, - 45.233342 - ], - [ - 81.879745, - 45.284314 - ], - [ - 81.832318, - 45.319673 - ], - [ - 81.78797, - 45.3836 - ], - [ - 81.677101, - 45.35459 - ], - [ - 81.645072, - 45.359216 - ], - [ - 81.582863, - 45.336503 - ], - [ - 81.575471, - 45.30789 - ], - [ - 81.536667, - 45.304101 - ], - [ - 81.52866, - 45.285999 - ], - [ - 81.462754, - 45.264099 - ], - [ - 81.437501, - 45.28263 - ], - [ - 81.398697, - 45.275471 - ], - [ - 81.382066, - 45.257781 - ], - [ - 81.327864, - 45.260729 - ], - [ - 81.284748, - 45.23882 - ], - [ - 81.236705, - 45.247248 - ], - [ - 81.175111, - 45.227863 - ], - [ - 81.170183, - 45.211001 - ], - [ - 81.111669, - 45.218168 - ], - [ - 81.080872, - 45.182745 - ], - [ - 81.024821, - 45.162916 - ], - [ - 80.966307, - 45.168402 - ], - [ - 80.93551, - 45.160384 - ], - [ - 80.897938, - 45.127459 - ], - [ - 80.862214, - 45.127037 - ], - [ - 80.816634, - 45.152788 - ], - [ - 80.731634, - 45.156164 - ], - [ - 80.686055, - 45.129148 - ], - [ - 80.599207, - 45.105921 - ], - [ - 80.519135, - 45.108878 - ], - [ - 80.493882, - 45.127037 - ], - [ - 80.445839, - 45.097895 - ], - [ - 80.443991, - 45.077614 - ], - [ - 80.404571, - 45.049293 - ], - [ - 80.358375, - 45.040836 - ], - [ - 80.328194, - 45.070007 - ], - [ - 80.291854, - 45.06578 - ], - [ - 80.24381, - 45.031532 - ], - [ - 80.195767, - 45.030686 - ], - [ - 80.144644, - 45.059017 - ], - [ - 80.136021, - 45.041259 - ], - [ - 80.111999, - 45.052675 - ], - [ - 80.060876, - 45.026033 - ], - [ - 80.056565, - 45.011227 - ], - [ - 79.98142, - 44.964244 - ], - [ - 79.951855, - 44.957892 - ], - [ - 79.944464, - 44.937985 - ], - [ - 79.887798, - 44.90917 - ], - [ - 79.969102, - 44.877797 - ], - [ - 79.953703, - 44.849377 - ], - [ - 79.991891, - 44.830281 - ], - [ - 79.999283, - 44.793768 - ], - [ - 80.087978, - 44.817122 - ], - [ - 80.115695, - 44.815424 - ], - [ - 80.169898, - 44.84471 - ], - [ - 80.18776, - 44.825612 - ], - [ - 80.178521, - 44.796741 - ], - [ - 80.200695, - 44.756808 - ], - [ - 80.238883, - 44.7228 - ], - [ - 80.313412, - 44.704938 - ], - [ - 80.400259, - 44.628751 - ], - [ - 80.411962, - 44.605321 - ], - [ - 80.350368, - 44.484615 - ], - [ - 80.383013, - 44.401297 - ], - [ - 80.399027, - 44.30587 - ], - [ - 80.413194, - 44.264741 - ], - [ - 80.400875, - 44.198704 - ], - [ - 80.407034, - 44.149772 - ], - [ - 80.3941, - 44.127009 - ], - [ - 80.449534, - 44.078017 - ], - [ - 80.458773, - 44.047054 - ], - [ - 80.457541, - 43.981203 - ], - [ - 80.485259, - 43.95579 - ], - [ - 80.475404, - 43.938124 - ], - [ - 80.511128, - 43.906657 - ], - [ - 80.522215, - 43.816473 - ], - [ - 80.75504, - 43.494329 - ], - [ - 80.761199, - 43.446554 - ], - [ - 80.746417, - 43.439167 - ], - [ - 80.735946, - 43.389609 - ], - [ - 80.686055, - 43.333916 - ], - [ - 80.69283, - 43.32042 - ], - [ - 80.777214, - 43.308227 - ], - [ - 80.769207, - 43.265535 - ], - [ - 80.788917, - 43.242433 - ], - [ - 80.789533, - 43.201876 - ], - [ - 80.804315, - 43.178314 - ], - [ - 80.79446, - 43.137277 - ], - [ - 80.752576, - 43.148194 - ], - [ - 80.73225, - 43.131163 - ], - [ - 80.706997, - 43.143828 - ], - [ - 80.650946, - 43.147321 - ], - [ - 80.593048, - 43.133347 - ], - [ - 80.556092, - 43.104515 - ], - [ - 80.482795, - 43.06955 - ], - [ - 80.416889, - 43.05687 - ], - [ - 80.378701, - 43.031502 - ], - [ - 80.397795, - 42.996933 - ], - [ - 80.487106, - 42.948766 - ], - [ - 80.5912, - 42.923354 - ], - [ - 80.602903, - 42.894424 - ], - [ - 80.503737, - 42.882146 - ], - [ - 80.450766, - 42.861971 - ], - [ - 80.407034, - 42.834767 - ], - [ - 80.338049, - 42.831695 - ], - [ - 80.280151, - 42.838278 - ], - [ - 80.262289, - 42.828623 - ], - [ - 80.259209, - 42.790865 - ], - [ - 80.225948, - 42.713083 - ], - [ - 80.228412, - 42.692852 - ], - [ - 80.179753, - 42.670415 - ], - [ - 80.163738, - 42.629919 - ], - [ - 80.180985, - 42.590718 - ], - [ - 80.221637, - 42.533415 - ], - [ - 80.265368, - 42.502097 - ], - [ - 80.225948, - 42.485769 - ], - [ - 80.206238, - 42.431462 - ], - [ - 80.239499, - 42.389927 - ], - [ - 80.229028, - 42.358536 - ], - [ - 80.283847, - 42.320493 - ], - [ - 80.272144, - 42.281984 - ], - [ - 80.29247, - 42.259842 - ], - [ - 80.28631, - 42.233261 - ], - [ - 80.233339, - 42.210215 - ], - [ - 80.168666, - 42.200462 - ], - [ - 80.163738, - 42.152563 - ], - [ - 80.139717, - 42.151232 - ], - [ - 80.16805, - 42.096635 - ], - [ - 80.193303, - 42.081535 - ], - [ - 80.14218, - 42.03488 - ], - [ - 80.089826, - 42.047325 - ], - [ - 79.923522, - 42.042436 - ], - [ - 79.852689, - 42.015319 - ], - [ - 79.854537, - 41.984186 - ], - [ - 79.822508, - 41.963275 - ], - [ - 79.776313, - 41.89248 - ], - [ - 79.724574, - 41.896935 - ], - [ - 79.640806, - 41.884907 - ], - [ - 79.616784, - 41.856385 - ], - [ - 79.550879, - 41.834094 - ], - [ - 79.500988, - 41.835432 - ], - [ - 79.457256, - 41.847915 - ], - [ - 79.415372, - 41.836769 - ], - [ - 79.356242, - 41.795735 - ], - [ - 79.326061, - 41.809565 - ], - [ - 79.276786, - 41.78101 - ], - [ - 79.271858, - 41.767174 - ], - [ - 79.21704, - 41.725648 - ], - [ - 79.138199, - 41.722968 - ], - [ - 79.10925, - 41.697503 - ], - [ - 79.043345, - 41.681414 - ], - [ - 79.021787, - 41.657273 - ], - [ - 78.99407, - 41.664427 - ], - [ - 78.957729, - 41.65146 - ], - [ - 78.891824, - 41.597777 - ], - [ - 78.86657, - 41.593749 - ], - [ - 78.825302, - 41.560173 - ], - [ - 78.739071, - 41.555695 - ], - [ - 78.696571, - 41.54181 - ], - [ - 78.707042, - 41.522098 - ], - [ - 78.675629, - 41.50238 - ], - [ - 78.650375, - 41.467411 - ], - [ - 78.580774, - 41.481759 - ], - [ - 78.527188, - 41.440947 - ], - [ - 78.454507, - 41.412228 - ], - [ - 78.391681, - 41.408189 - ], - [ - 78.385522, - 41.394721 - ], - [ - 78.338094, - 41.397415 - ], - [ - 78.324544, - 41.384395 - ], - [ - 78.235232, - 41.399211 - ], - [ - 78.163783, - 41.383497 - ], - [ - 78.149617, - 41.368228 - ], - [ - 78.165015, - 41.340825 - ], - [ - 78.136682, - 41.279239 - ], - [ - 78.129291, - 41.228398 - ], - [ - 78.094798, - 41.224347 - ], - [ - 77.972842, - 41.173013 - ], - [ - 77.905089, - 41.185174 - ], - [ - 77.836104, - 41.153189 - ], - [ - 77.814546, - 41.13426 - ], - [ - 77.807155, - 41.091876 - ], - [ - 77.829328, - 41.059394 - ], - [ - 77.796068, - 41.049014 - ], - [ - 77.780669, - 41.022832 - ], - [ - 77.737553, - 41.032313 - ], - [ - 77.684583, - 41.00793 - ], - [ - 77.654402, - 41.016059 - ], - [ - 77.597119, - 41.005221 - ], - [ - 77.591576, - 40.992122 - ], - [ - 77.540453, - 41.006575 - ], - [ - 77.476395, - 40.999349 - ], - [ - 77.473931, - 41.022832 - ], - [ - 77.415417, - 41.038633 - ], - [ - 77.363062, - 41.04089 - ], - [ - 77.296541, - 41.004769 - ], - [ - 77.236795, - 41.027798 - ], - [ - 77.169041, - 41.009285 - ], - [ - 77.108063, - 41.038181 - ], - [ - 77.091433, - 41.062553 - ], - [ - 77.023064, - 41.059394 - ], - [ - 77.002122, - 41.073381 - ], - [ - 76.940528, - 41.028701 - ], - [ - 76.885709, - 41.027347 - ], - [ - 76.85368, - 40.97631 - ], - [ - 76.817956, - 40.975406 - ], - [ - 76.761905, - 40.954167 - ], - [ - 76.741579, - 40.912119 - ], - [ - 76.731724, - 40.818887 - ], - [ - 76.693536, - 40.779472 - ], - [ - 76.646725, - 40.759983 - ], - [ - 76.646725, - 40.73686 - ], - [ - 76.676906, - 40.696036 - ], - [ - 76.654732, - 40.652917 - ], - [ - 76.657196, - 40.620218 - ], - [ - 76.611, - 40.601591 - ], - [ - 76.601145, - 40.578868 - ], - [ - 76.556798, - 40.542495 - ], - [ - 76.543247, - 40.513837 - ], - [ - 76.539551, - 40.464226 - ], - [ - 76.508754, - 40.429613 - ], - [ - 76.470566, - 40.422779 - ], - [ - 76.442233, - 40.391336 - ], - [ - 76.390494, - 40.37766 - ], - [ - 76.381871, - 40.39088 - ], - [ - 76.333212, - 40.343459 - ], - [ - 76.327668, - 40.391336 - ], - [ - 76.283321, - 40.415034 - ], - [ - 76.279625, - 40.439179 - ], - [ - 76.22419, - 40.401819 - ], - [ - 76.176147, - 40.381307 - ], - [ - 76.144118, - 40.393615 - ], - [ - 76.081293, - 40.39635 - ], - [ - 76.048648, - 40.388601 - ], - [ - 76.048648, - 40.357141 - ], - [ - 76.026474, - 40.355317 - ], - [ - 75.986438, - 40.381763 - ], - [ - 75.932235, - 40.339353 - ], - [ - 75.921764, - 40.291439 - ], - [ - 75.890351, - 40.30924 - ], - [ - 75.84046, - 40.312434 - ], - [ - 75.831221, - 40.327492 - ], - [ - 75.785642, - 40.301025 - ], - [ - 75.739446, - 40.299199 - ], - [ - 75.709265, - 40.280939 - ], - [ - 75.688323, - 40.343915 - ], - [ - 75.669845, - 40.363982 - ], - [ - 75.686475, - 40.418223 - ], - [ - 75.717272, - 40.443278 - ], - [ - 75.733287, - 40.474242 - ], - [ - 75.646439, - 40.516567 - ], - [ - 75.631041, - 40.548862 - ], - [ - 75.627345, - 40.605226 - ], - [ - 75.636584, - 40.624306 - ], - [ - 75.599628, - 40.659727 - ], - [ - 75.550353, - 40.64883 - ], - [ - 75.467817, - 40.599773 - ], - [ - 75.432093, - 40.563412 - ], - [ - 75.355716, - 40.537947 - ], - [ - 75.292274, - 40.483802 - ], - [ - 75.268869, - 40.483802 - ], - [ - 75.242383, - 40.448743 - ], - [ - 75.206659, - 40.447833 - ], - [ - 75.13521, - 40.463315 - ], - [ - 75.102565, - 40.44009 - ], - [ - 75.051442, - 40.449654 - ], - [ - 75.021877, - 40.466958 - ], - [ - 74.995392, - 40.455119 - ], - [ - 74.963363, - 40.464681 - ], - [ - 74.891914, - 40.507467 - ], - [ - 74.844486, - 40.521117 - ], - [ - 74.819233, - 40.505647 - ], - [ - 74.814921, - 40.461039 - ], - [ - 74.795211, - 40.443278 - ], - [ - 74.908544, - 40.338897 - ], - [ - 74.862965, - 40.32658 - ], - [ - 74.824776, - 40.344371 - ], - [ - 74.700357, - 40.346195 - ], - [ - 74.697893, - 40.310153 - ], - [ - 74.673255, - 40.278656 - ], - [ - 74.618437, - 40.27957 - ], - [ - 74.577169, - 40.260391 - ], - [ - 74.534669, - 40.207851 - ], - [ - 74.485394, - 40.182251 - ], - [ - 74.433039, - 40.13148 - ], - [ - 74.356662, - 40.089371 - ], - [ - 74.316626, - 40.106767 - ], - [ - 74.280902, - 40.09807 - ], - [ - 74.26304, - 40.125074 - ], - [ - 74.126301, - 40.104479 - ], - [ - 74.113366, - 40.086624 - ], - [ - 74.023439, - 40.085251 - ], - [ - 74.008041, - 40.050901 - ], - [ - 73.943367, - 40.016076 - ], - [ - 73.980324, - 40.004617 - ], - [ - 73.910722, - 39.934443 - ], - [ - 73.907027, - 39.873843 - ], - [ - 73.845433, - 39.831115 - ], - [ - 73.841737, - 39.756163 - ], - [ - 73.905795, - 39.741899 - ], - [ - 73.924273, - 39.722108 - ], - [ - 73.953838, - 39.600018 - ], - [ - 73.916266, - 39.586644 - ], - [ - 73.914418, - 39.564041 - ], - [ - 73.883621, - 39.540969 - ], - [ - 73.893476, - 39.528046 - ], - [ - 73.868223, - 39.482794 - ], - [ - 73.836194, - 39.472169 - ], - [ - 73.745651, - 39.462005 - ], - [ - 73.6471, - 39.474479 - ], - [ - 73.61076, - 39.465702 - ], - [ - 73.592898, - 39.412087 - ], - [ - 73.502355, - 39.383877 - ], - [ - 73.554094, - 39.350102 - ], - [ - 73.554709, - 39.295935 - ], - [ - 73.542391, - 39.269531 - ], - [ - 73.564564, - 39.266288 - ], - [ - 73.580579, - 39.237555 - ], - [ - 73.623079, - 39.235237 - ], - [ - 73.639709, - 39.220402 - ], - [ - 73.657571, - 39.166136 - ], - [ - 73.688368, - 39.154999 - ], - [ - 73.719781, - 39.108112 - ], - [ - 73.720397, - 39.071881 - ], - [ - 73.743187, - 39.029588 - ], - [ - 73.780143, - 39.026798 - ], - [ - 73.820179, - 39.041674 - ], - [ - 73.839889, - 39.008199 - ], - [ - 73.846665, - 38.962145 - ], - [ - 73.826339, - 38.916993 - ], - [ - 73.767824, - 38.941202 - ], - [ - 73.742571, - 38.933754 - ], - [ - 73.70931, - 38.893241 - ], - [ - 73.699455, - 38.857832 - ], - [ - 73.729636, - 38.837324 - ], - [ - 73.769056, - 38.775765 - ], - [ - 73.757353, - 38.719755 - ], - [ - 73.809092, - 38.634256 - ], - [ - 73.799237, - 38.610878 - ], - [ - 73.852208, - 38.584217 - ], - [ - 73.89902, - 38.579071 - ], - [ - 73.926121, - 38.536016 - ], - [ - 74.011736, - 38.52478 - ], - [ - 74.034526, - 38.541634 - ], - [ - 74.090577, - 38.542102 - ], - [ - 74.068403, - 38.585621 - ], - [ - 74.088113, - 38.610878 - ], - [ - 74.11275, - 38.611345 - ], - [ - 74.147859, - 38.676785 - ], - [ - 74.229779, - 38.656224 - ], - [ - 74.353583, - 38.655757 - ], - [ - 74.421952, - 38.647812 - ], - [ - 74.455829, - 38.632853 - ], - [ - 74.506336, - 38.637528 - ], - [ - 74.546988, - 38.607604 - ], - [ - 74.613509, - 38.593105 - ], - [ - 74.639995, - 38.599653 - ], - [ - 74.717603, - 38.542102 - ], - [ - 74.78474, - 38.538357 - ], - [ - 74.821697, - 38.491062 - ], - [ - 74.862965, - 38.484035 - ], - [ - 74.868508, - 38.403883 - ], - [ - 74.834015, - 38.361193 - ], - [ - 74.789668, - 38.324581 - ], - [ - 74.806914, - 38.285602 - ], - [ - 74.793363, - 38.271039 - ], - [ - 74.816769, - 38.215576 - ], - [ - 74.80445, - 38.167128 - ], - [ - 74.821697, - 38.10311 - ], - [ - 74.879595, - 38.021122 - ], - [ - 74.92579, - 38.01735 - ], - [ - 74.911008, - 37.966884 - ], - [ - 74.919015, - 37.908357 - ], - [ - 74.936877, - 37.876241 - ], - [ - 74.917167, - 37.845057 - ], - [ - 74.989848, - 37.797783 - ], - [ - 75.006478, - 37.770823 - ], - [ - 74.949196, - 37.725395 - ], - [ - 74.923327, - 37.717347 - ], - [ - 74.920863, - 37.684675 - ], - [ - 74.891914, - 37.668097 - ], - [ - 74.940573, - 37.559061 - ], - [ - 75.000935, - 37.53059 - ], - [ - 75.002167, - 37.511604 - ], - [ - 75.035428, - 37.500685 - ], - [ - 75.078543, - 37.511129 - ], - [ - 75.090862, - 37.486915 - ], - [ - 75.129666, - 37.459367 - ], - [ - 75.153072, - 37.414223 - ], - [ - 75.125971, - 37.388075 - ], - [ - 75.140137, - 37.355258 - ], - [ - 75.125971, - 37.322427 - ], - [ - 75.078543, - 37.318144 - ], - [ - 75.018181, - 37.293867 - ], - [ - 74.927022, - 37.277678 - ], - [ - 74.911008, - 37.233378 - ], - [ - 74.816153, - 37.216699 - ], - [ - 74.800139, - 37.248147 - ], - [ - 74.753943, - 37.281011 - ], - [ - 74.727458, - 37.282916 - ], - [ - 74.665864, - 37.23576 - ], - [ - 74.642458, - 37.261485 - ], - [ - 74.598727, - 37.258151 - ], - [ - 74.578401, - 37.231472 - ], - [ - 74.54514, - 37.2491 - ], - [ - 74.511263, - 37.240048 - ], - [ - 74.477387, - 37.19954 - ], - [ - 74.487858, - 37.161871 - ], - [ - 74.465068, - 37.147085 - ], - [ - 74.496481, - 37.116072 - ], - [ - 74.498944, - 37.072155 - ], - [ - 74.530357, - 37.082182 - ], - [ - 74.56793, - 37.032512 - ], - [ - 74.617205, - 37.043499 - ], - [ - 74.632603, - 37.066425 - ], - [ - 74.70898, - 37.084569 - ], - [ - 74.739161, - 37.028212 - ], - [ - 74.792747, - 37.027257 - ], - [ - 74.806914, - 37.054485 - ], - [ - 74.84695, - 37.056873 - ], - [ - 74.84387, - 37.0134 - ], - [ - 74.86974, - 36.990458 - ], - [ - 74.893762, - 36.939772 - ], - [ - 74.938725, - 36.94312 - ], - [ - 74.927638, - 36.978029 - ], - [ - 75.005862, - 36.99476 - ], - [ - 75.032348, - 37.016745 - ], - [ - 75.063145, - 37.006231 - ], - [ - 75.172166, - 37.013877 - ], - [ - 75.16847, - 36.991892 - ], - [ - 75.244847, - 36.963207 - ], - [ - 75.288579, - 36.974682 - ], - [ - 75.345861, - 36.960816 - ], - [ - 75.413614, - 36.954599 - ], - [ - 75.396368, - 36.904367 - ], - [ - 75.430245, - 36.873255 - ], - [ - 75.434556, - 36.83303 - ], - [ - 75.425933, - 36.778883 - ], - [ - 75.458578, - 36.720861 - ], - [ - 75.504773, - 36.743404 - ], - [ - 75.536802, - 36.729975 - ], - [ - 75.537418, - 36.773131 - ], - [ - 75.588541, - 36.762584 - ], - [ - 75.634121, - 36.771693 - ], - [ - 75.724048, - 36.750597 - ], - [ - 75.8072, - 36.707908 - ], - [ - 75.871257, - 36.666636 - ], - [ - 75.947018, - 36.590752 - ], - [ - 75.924228, - 36.566242 - ], - [ - 75.991981, - 36.505654 - ], - [ - 76.035097, - 36.409386 - ], - [ - 75.991365, - 36.35205 - ], - [ - 75.998757, - 36.312034 - ], - [ - 76.055423, - 36.252695 - ], - [ - 76.060967, - 36.225182 - ], - [ - 76.011691, - 36.229044 - ], - [ - 76.016619, - 36.165294 - ], - [ - 75.96796, - 36.159013 - ], - [ - 75.936547, - 36.13485 - ], - [ - 75.949482, - 36.070056 - ], - [ - 75.982742, - 36.031347 - ], - [ - 76.028322, - 36.016827 - ], - [ - 76.044336, - 36.026991 - ], - [ - 76.097307, - 36.022635 - ], - [ - 76.117017, - 35.975186 - ], - [ - 76.16506, - 35.908807 - ], - [ - 76.146582, - 35.839946 - ], - [ - 76.160133, - 35.82442 - ], - [ - 76.221727, - 35.823449 - ], - [ - 76.228502, - 35.837035 - ], - [ - 76.298719, - 35.841401 - ], - [ - 76.365857, - 35.82442 - ], - [ - 76.369552, - 35.86323 - ], - [ - 76.431762, - 35.851589 - ], - [ - 76.471798, - 35.886021 - ], - [ - 76.51553, - 35.881173 - ], - [ - 76.55803, - 35.923347 - ], - [ - 76.59745, - 35.895718 - ], - [ - 76.579587, - 35.866625 - ], - [ - 76.587595, - 35.840431 - ], - [ - 76.566037, - 35.819082 - ], - [ - 76.593754, - 35.771996 - ], - [ - 76.69292, - 35.747714 - ], - [ - 76.769297, - 35.653917 - ], - [ - 76.848753, - 35.668018 - ], - [ - 76.906651, - 35.615005 - ], - [ - 76.967013, - 35.591649 - ], - [ - 76.99781, - 35.611113 - ], - [ - 77.072339, - 35.591162 - ], - [ - 77.093281, - 35.569746 - ], - [ - 77.195527, - 35.519103 - ], - [ - 77.307628, - 35.540533 - ], - [ - 77.331649, - 35.530793 - ], - [ - 77.355055, - 35.494257 - ], - [ - 77.396939, - 35.467942 - ], - [ - 77.451758, - 35.46063 - ], - [ - 77.518895, - 35.482075 - ], - [ - 77.578025, - 35.47574 - ], - [ - 77.590344, - 35.460143 - ], - [ - 77.639619, - 35.45478 - ], - [ - 77.657481, - 35.477689 - ], - [ - 77.690742, - 35.448443 - ], - [ - 77.735706, - 35.461605 - ], - [ - 77.757879, - 35.497181 - ], - [ - 77.797299, - 35.491334 - ], - [ - 77.816394, - 35.518616 - ], - [ - 77.85643, - 35.487436 - ], - [ - 77.870596, - 35.495232 - ], - [ - 77.914944, - 35.465017 - ], - [ - 77.917408, - 35.490847 - ], - [ - 77.951284, - 35.478664 - ], - [ - 78.009799, - 35.491821 - ], - [ - 78.029509, - 35.469404 - ], - [ - 78.048603, - 35.491334 - ], - [ - 78.140378, - 35.494745 - ], - [ - 78.113892, - 35.466967 - ], - [ - 78.107117, - 35.437229 - ], - [ - 78.046755, - 35.384063 - ], - [ - 78.013494, - 35.366008 - ], - [ - 78.020885, - 35.315237 - ], - [ - 78.01719, - 35.228267 - ], - [ - 78.060306, - 35.180344 - ], - [ - 78.062769, - 35.114772 - ], - [ - 78.078784, - 35.100084 - ], - [ - 78.124979, - 35.108407 - ], - [ - 78.150849, - 35.069721 - ], - [ - 78.123131, - 35.036897 - ], - [ - 78.160704, - 34.990823 - ], - [ - 78.201972, - 34.974642 - ], - [ - 78.182262, - 34.936874 - ], - [ - 78.206283, - 34.891726 - ], - [ - 78.237696, - 34.882398 - ], - [ - 78.230921, - 34.776288 - ], - [ - 78.21429, - 34.760556 - ], - [ - 78.213059, - 34.717771 - ], - [ - 78.267261, - 34.705472 - ], - [ - 78.265413, - 34.651335 - ], - [ - 78.280812, - 34.623269 - ], - [ - 78.346101, - 34.60406 - ], - [ - 78.397224, - 34.605538 - ], - [ - 78.427405, - 34.594207 - ], - [ - 78.436029, - 34.543942 - ], - [ - 78.492695, - 34.578441 - ], - [ - 78.542586, - 34.574499 - ], - [ - 78.559832, - 34.55725 - ], - [ - 78.562912, - 34.51288 - ], - [ - 78.58139, - 34.505483 - ], - [ - 78.634977, - 34.538026 - ], - [ - 78.708274, - 34.522249 - ], - [ - 78.715049, - 34.502031 - ], - [ - 78.758781, - 34.481807 - ], - [ - 78.742766, - 34.45467 - ], - [ - 78.809288, - 34.432955 - ], - [ - 78.878273, - 34.391481 - ], - [ - 78.899831, - 34.354929 - ], - [ - 78.958961, - 34.386049 - ], - [ - 78.973128, - 34.362833 - ], - [ - 79.039649, - 34.33467 - ], - [ - 79.048888, - 34.348506 - ], - [ - 79.0107, - 34.399877 - ], - [ - 79.039033, - 34.421601 - ], - [ - 79.072294, - 34.412714 - ], - [ - 79.161605, - 34.441345 - ], - [ - 79.179467, - 34.422588 - ], - [ - 79.241677, - 34.415183 - ], - [ - 79.274322, - 34.435916 - ], - [ - 79.326677, - 34.44332 - ], - [ - 79.363017, - 34.428018 - ], - [ - 79.435082, - 34.447761 - ], - [ - 79.504683, - 34.45467 - ], - [ - 79.545335, - 34.476381 - ], - [ - 79.58106, - 34.456151 - ], - [ - 79.675914, - 34.451216 - ], - [ - 79.699936, - 34.477861 - ], - [ - 79.735661, - 34.471447 - ], - [ - 79.801566, - 34.478847 - ], - [ - 79.861312, - 34.528166 - ], - [ - 79.84345, - 34.55725 - ], - [ - 79.88595, - 34.642965 - ], - [ - 79.866856, - 34.671517 - ], - [ - 79.906892, - 34.683821 - ], - [ - 79.898268, - 34.732035 - ], - [ - 79.947544, - 34.821008 - ], - [ - 79.926602, - 34.849499 - ], - [ - 79.961094, - 34.862759 - ], - [ - 79.996819, - 34.856375 - ], - [ - 80.003594, - 34.895162 - ], - [ - 80.034391, - 34.902033 - ], - [ - 80.041782, - 34.943252 - ], - [ - 80.02392, - 34.971209 - ], - [ - 80.04363, - 35.022196 - ], - [ - 80.031311, - 35.034447 - ], - [ - 80.078123, - 35.076578 - ], - [ - 80.118159, - 35.066293 - ], - [ - 80.23026, - 35.147565 - ], - [ - 80.223484, - 35.177409 - ], - [ - 80.257977, - 35.203331 - ], - [ - 80.362687, - 35.20871 - ], - [ - 80.267832, - 35.295701 - ], - [ - 80.286926, - 35.35283 - ], - [ - 80.321419, - 35.38699 - ], - [ - 80.375006, - 35.387966 - ], - [ - 80.432904, - 35.449418 - ], - [ - 80.444607, - 35.417235 - ], - [ - 80.514824, - 35.391869 - ], - [ - 80.532686, - 35.404553 - ], - [ - 80.56841, - 35.391381 - ], - [ - 80.599823, - 35.409431 - ], - [ - 80.65649, - 35.393821 - ], - [ - 80.690982, - 35.364544 - ], - [ - 80.689135, - 35.339162 - ], - [ - 80.759968, - 35.334768 - ], - [ - 80.844351, - 35.345508 - ], - [ - 80.894242, - 35.324027 - ], - [ - 80.924423, - 35.330862 - ], - [ - 80.963844, - 35.310842 - ], - [ - 81.026053, - 35.31133 - ], - [ - 81.002648, - 35.334768 - ], - [ - 81.030981, - 35.337209 - ], - [ - 81.031597, - 35.380648 - ], - [ - 81.054387, - 35.402602 - ], - [ - 81.09935, - 35.40748 - ], - [ - 81.103662, - 35.386015 - ], - [ - 81.142466, - 35.365032 - ], - [ - 81.191741, - 35.36552 - ], - [ - 81.219458, - 35.319144 - ], - [ - 81.26627, - 35.322562 - ], - [ - 81.285364, - 35.345508 - ], - [ - 81.314313, - 35.337209 - ], - [ - 81.363588, - 35.354783 - ], - [ - 81.385762, - 35.335256 - ], - [ - 81.441196, - 35.333303 - ], - [ - 81.447972, - 35.318167 - ], - [ - 81.504638, - 35.279092 - ], - [ - 81.513261, - 35.23511 - ], - [ - 81.68634, - 35.235599 - ], - [ - 81.736847, - 35.26248 - ], - [ - 81.804601, - 35.270786 - ], - [ - 81.853876, - 35.25857 - ], - [ - 81.927789, - 35.271275 - ], - [ - 81.955506, - 35.307423 - ], - [ - 81.99123, - 35.30547 - ], - [ - 82.030034, - 35.321585 - ], - [ - 82.05344, - 35.35039 - ], - [ - 82.029419, - 35.426013 - ], - [ - 82.034346, - 35.451855 - ], - [ - 82.071302, - 35.450393 - ], - [ - 82.086701, - 35.467454 - ], - [ - 82.164925, - 35.495719 - ], - [ - 82.189563, - 35.513258 - ], - [ - 82.234526, - 35.520565 - ], - [ - 82.263475, - 35.547837 - ], - [ - 82.2992, - 35.544916 - ], - [ - 82.328149, - 35.559523 - ], - [ - 82.350323, - 35.611113 - ], - [ - 82.336156, - 35.651486 - ], - [ - 82.392823, - 35.656349 - ], - [ - 82.424852, - 35.712736 - ], - [ - 82.468583, - 35.717595 - ], - [ - 82.501844, - 35.701073 - ], - [ - 82.546192, - 35.708362 - ], - [ - 82.628727, - 35.692324 - ], - [ - 82.652133, - 35.67288 - ], - [ - 82.731589, - 35.637868 - ], - [ - 82.780249, - 35.666073 - ], - [ - 82.795031, - 35.688436 - ], - [ - 82.873871, - 35.688922 - ], - [ - 82.894813, - 35.673852 - ], - [ - 82.967494, - 35.667532 - ], - [ - 82.956407, - 35.636409 - ], - [ - 82.981661, - 35.599922 - ], - [ - 82.971806, - 35.548324 - ], - [ - 82.998907, - 35.484512 - ], - [ - 83.067892, - 35.46258 - ], - [ - 83.088834, - 35.425526 - ], - [ - 83.127022, - 35.398699 - ], - [ - 83.178145, - 35.38943 - ], - [ - 83.251442, - 35.417722 - ], - [ - 83.280391, - 35.401138 - ], - [ - 83.333978, - 35.397236 - ], - [ - 83.405427, - 35.380648 - ], - [ - 83.449159, - 35.382111 - ], - [ - 83.502745, - 35.360639 - ], - [ - 83.540318, - 35.364056 - ], - [ - 83.54155, - 35.341603 - ], - [ - 83.599448, - 35.351366 - ], - [ - 83.622238, - 35.335256 - ], - [ - 83.677672, - 35.361128 - ], - [ - 83.785462, - 35.36308 - ], - [ - 83.79778, - 35.354783 - ], - [ - 83.885244, - 35.367472 - ], - [ - 83.906186, - 35.40309 - ], - [ - 84.005968, - 35.422599 - ], - [ - 84.077417, - 35.400163 - ], - [ - 84.095895, - 35.362592 - ], - [ - 84.140859, - 35.379184 - ], - [ - 84.160569, - 35.359663 - ], - [ - 84.200605, - 35.381135 - ], - [ - 84.274517, - 35.404065 - ], - [ - 84.333032, - 35.413821 - ], - [ - 84.424191, - 35.466479 - ], - [ - 84.45314, - 35.473303 - ], - [ - 84.475929, - 35.516181 - ], - [ - 84.448828, - 35.550272 - ], - [ - 84.513502, - 35.564391 - ], - [ - 84.570168, - 35.588242 - ], - [ - 84.628067, - 35.595055 - ], - [ - 84.704443, - 35.616951 - ], - [ - 84.729081, - 35.613546 - ], - [ - 84.798066, - 35.647595 - ], - [ - 84.920022, - 35.696213 - ], - [ - 84.973608, - 35.709334 - ], - [ - 84.99455, - 35.737028 - ], - [ - 85.053065, - 35.752086 - ], - [ - 85.146071, - 35.742371 - ], - [ - 85.271107, - 35.788989 - ], - [ - 85.341324, - 35.753543 - ], - [ - 85.373969, - 35.700101 - ], - [ - 85.518715, - 35.680658 - ], - [ - 85.566142, - 35.6403 - ], - [ - 85.612953, - 35.651486 - ], - [ - 85.65299, - 35.731199 - ], - [ - 85.691178, - 35.751114 - ], - [ - 85.811286, - 35.778794 - ], - [ - 85.835308, - 35.771996 - ], - [ - 85.903677, - 35.78462 - ], - [ - 85.949256, - 35.778794 - ], - [ - 86.035488, - 35.846738 - ], - [ - 86.05335, - 35.842857 - ], - [ - 86.090306, - 35.876809 - ], - [ - 86.093386, - 35.906868 - ], - [ - 86.129111, - 35.941761 - ], - [ - 86.150668, - 36.00424 - ], - [ - 86.173458, - 36.008113 - ], - [ - 86.199944, - 36.047801 - ], - [ - 86.182081, - 36.064734 - ], - [ - 86.187625, - 36.130983 - ], - [ - 86.248603, - 36.141616 - ], - [ - 86.2794, - 36.170608 - ], - [ - 86.35824, - 36.168676 - ], - [ - 86.392733, - 36.206834 - ], - [ - 86.454943, - 36.221319 - ], - [ - 86.515305, - 36.205385 - ], - [ - 86.531935, - 36.227113 - ], - [ - 86.599072, - 36.222285 - ], - [ - 86.69947, - 36.24449 - ], - [ - 86.746282, - 36.291777 - ], - [ - 86.836209, - 36.291294 - ], - [ - 86.86331, - 36.299977 - ], - [ - 86.887332, - 36.262829 - ], - [ - 86.931064, - 36.265242 - ], - [ - 86.943998, - 36.284058 - ], - [ - 86.996353, - 36.308658 - ], - [ - 87.051788, - 36.2966 - ], - [ - 87.08628, - 36.310587 - ], - [ - 87.149106, - 36.297565 - ], - [ - 87.161425, - 36.325535 - ], - [ - 87.193454, - 36.349158 - ], - [ - 87.292004, - 36.358797 - ], - [ - 87.348055, - 36.393008 - ], - [ - 87.363453, - 36.420463 - ], - [ - 87.386859, - 36.412757 - ], - [ - 87.426895, - 36.42576 - ], - [ - 87.460155, - 36.409868 - ], - [ - 87.470626, - 36.354459 - ], - [ - 87.570409, - 36.342409 - ], - [ - 87.6203, - 36.360243 - ], - [ - 87.731785, - 36.384818 - ], - [ - 87.767509, - 36.3747 - ], - [ - 87.826023, - 36.391563 - ], - [ - 87.838342, - 36.383855 - ], - [ - 87.919646, - 36.39349 - ], - [ - 87.95845, - 36.408423 - ], - [ - 87.983088, - 36.437797 - ], - [ - 88.006494, - 36.430575 - ], - [ - 88.092109, - 36.43539 - ], - [ - 88.134609, - 36.427205 - ], - [ - 88.182652, - 36.452721 - ], - [ - 88.222688, - 36.447426 - ], - [ - 88.241782, - 36.468605 - ], - [ - 88.282434, - 36.470049 - ], - [ - 88.366202, - 36.458016 - ], - [ - 88.356963, - 36.477268 - ], - [ - 88.41055, - 36.473418 - ], - [ - 88.470912, - 36.48208 - ], - [ - 88.498629, - 36.446463 - ], - [ - 88.573158, - 36.461386 - ], - [ - 88.618121, - 36.428168 - ], - [ - 88.623665, - 36.389636 - ], - [ - 88.690186, - 36.367954 - ], - [ - 88.766563, - 36.292259 - ], - [ - 88.783809, - 36.291777 - ], - [ - 88.802903, - 36.33807 - ], - [ - 88.838628, - 36.353496 - ], - [ - 88.870657, - 36.348193 - ], - [ - 88.926091, - 36.36458 - ], - [ - 88.964279, - 36.318785 - ], - [ - 89.013554, - 36.315409 - ], - [ - 89.054822, - 36.291777 - ], - [ - 89.10225, - 36.281164 - ], - [ - 89.126887, - 36.254626 - ], - [ - 89.198952, - 36.260417 - ], - [ - 89.232213, - 36.295636 - ], - [ - 89.292575, - 36.231457 - ], - [ - 89.335075, - 36.23725 - ], - [ - 89.375727, - 36.228078 - ], - [ - 89.490291, - 36.151281 - ], - [ - 89.594385, - 36.126632 - ], - [ - 89.614711, - 36.109712 - ], - [ - 89.711414, - 36.093272 - ], - [ - 89.766848, - 36.073925 - ], - [ - 89.819819, - 36.080697 - ], - [ - 89.914058, - 36.079246 - ], - [ - 89.941159, - 36.067637 - ], - [ - 89.944855, - 36.140649 - ], - [ - 89.997825, - 36.168193 - ], - [ - 90.019999, - 36.213594 - ], - [ - 90.028006, - 36.258486 - ], - [ - 90.003369, - 36.278752 - ], - [ - 90.043405, - 36.276822 - ], - [ - 90.058188, - 36.255591 - ], - [ - 90.145651, - 36.239181 - ], - [ - 90.130252, - 36.2078 - ], - [ - 90.198006, - 36.187516 - ], - [ - 90.23681, - 36.160462 - ], - [ - 90.325505, - 36.159496 - ], - [ - 90.424055, - 36.133883 - ], - [ - 90.478258, - 36.13195 - ], - [ - 90.534925, - 36.147899 - ], - [ - 90.613149, - 36.126632 - ], - [ - 90.659344, - 36.13485 - ], - [ - 90.776373, - 36.086501 - ], - [ - 90.815793, - 36.035703 - ], - [ - 90.850285, - 36.016827 - ], - [ - 90.922966, - 36.028927 - ], - [ - 90.979017, - 36.106811 - ], - [ - 91.081263, - 36.088436 - ], - [ - 91.124994, - 36.115514 - ], - [ - 91.09235, - 36.163844 - ], - [ - 91.096045, - 36.219871 - ], - [ - 91.051698, - 36.238215 - ], - [ - 91.07264, - 36.299012 - ], - [ - 91.026444, - 36.323607 - ], - [ - 91.051698, - 36.433946 - ], - [ - 91.028292, - 36.443093 - ], - [ - 91.039995, - 36.474861 - ], - [ - 91.035683, - 36.529703 - ], - [ - 91.011662, - 36.539801 - ], - [ - 90.905104, - 36.560474 - ], - [ - 90.831191, - 36.55807 - ], - [ - 90.810865, - 36.585466 - ], - [ - 90.741264, - 36.585947 - ], - [ - 90.72217, - 36.620058 - ], - [ - 90.730793, - 36.655594 - ], - [ - 90.706156, - 36.658955 - ], - [ - 90.720938, - 36.708868 - ], - [ - 90.754815, - 36.721341 - ], - [ - 90.727098, - 36.755872 - ], - [ - 90.732025, - 36.825844 - ], - [ - 90.758511, - 36.825844 - ], - [ - 90.853981, - 36.915373 - ], - [ - 90.924198, - 36.921115 - ], - [ - 90.983944, - 36.913459 - ], - [ - 91.036915, - 36.929727 - ], - [ - 91.051698, - 36.96751 - ], - [ - 91.126842, - 36.978507 - ], - [ - 91.133618, - 37.007665 - ], - [ - 91.181045, - 37.025345 - ], - [ - 91.216153, - 37.010054 - ], - [ - 91.303617, - 37.012444 - ], - [ - 91.291298, - 37.042544 - ], - [ - 91.303617, - 37.083136 - ], - [ - 91.286371, - 37.105095 - ], - [ - 91.280211, - 37.163779 - ], - [ - 91.1909, - 37.205737 - ], - [ - 91.194596, - 37.273868 - ], - [ - 91.134849, - 37.324331 - ], - [ - 91.136081, - 37.355734 - ], - [ - 91.113292, - 37.387124 - ], - [ - 91.099741, - 37.447965 - ], - [ - 91.073256, - 37.475992 - ], - [ - 91.019669, - 37.493088 - ], - [ - 90.958075, - 37.477891 - ], - [ - 90.911879, - 37.519674 - ], - [ - 90.865684, - 37.53059 - ], - [ - 90.882314, - 37.575664 - ], - [ - 90.854597, - 37.604117 - ], - [ - 90.820104, - 37.613599 - ], - [ - 90.777605, - 37.648672 - ], - [ - 90.643946, - 37.696988 - ], - [ - 90.586663, - 37.703144 - ], - [ - 90.579272, - 37.720661 - ], - [ - 90.519526, - 37.730601 - ], - [ - 90.516446, - 38.207111 - ], - [ - 90.531229, - 38.319886 - ], - [ - 90.401882, - 38.311434 - ], - [ - 90.361846, - 38.300163 - ], - [ - 90.352607, - 38.233441 - ], - [ - 90.280542, - 38.238142 - ], - [ - 90.137644, - 38.340543 - ], - [ - 90.179528, - 38.396848 - ], - [ - 90.129636, - 38.400131 - ], - [ - 90.111774, - 38.418889 - ], - [ - 90.111774, - 38.477945 - ], - [ - 90.130868, - 38.494341 - ], - [ - 90.248513, - 38.491531 - ], - [ - 90.315034, - 38.501835 - ], - [ - 90.353222, - 38.482162 - ], - [ - 90.427135, - 38.493873 - ], - [ - 90.465323, - 38.521971 - ], - [ - 90.463476, - 38.556611 - ], - [ - 90.525685, - 38.561291 - ], - [ - 90.560794, - 38.593573 - ], - [ - 90.608837, - 38.594508 - ], - [ - 90.606374, - 38.610878 - ], - [ - 90.645794, - 38.635191 - ], - [ - 90.619308, - 38.664636 - ], - [ - 90.65996, - 38.674449 - ], - [ - 90.724634, - 38.658094 - ], - [ - 90.899561, - 38.679588 - ], - [ - 90.970394, - 38.697806 - ], - [ - 90.992567, - 38.695003 - ], - [ - 91.188436, - 38.73096 - ], - [ - 91.242639, - 38.752433 - ], - [ - 91.298689, - 38.746365 - ], - [ - 91.446515, - 38.813546 - ], - [ - 91.501333, - 38.815411 - ], - [ - 91.681188, - 38.852706 - ], - [ - 91.694738, - 38.86622 - ], - [ - 91.806223, - 38.872744 - ], - [ - 91.87952, - 38.884391 - ], - [ - 91.880752, - 38.899297 - ], - [ - 91.966368, - 38.930961 - ], - [ - 92.10865, - 38.963541 - ], - [ - 92.173323, - 38.960749 - ], - [ - 92.197961, - 38.983548 - ], - [ - 92.263866, - 39.002153 - ], - [ - 92.380279, - 38.999828 - ], - [ - 92.416003, - 39.010524 - ], - [ - 92.41046, - 39.03842 - ], - [ - 92.366728, - 39.059335 - ], - [ - 92.366112, - 39.096037 - ], - [ - 92.343938, - 39.146181 - ], - [ - 92.339011, - 39.236628 - ], - [ - 92.378431, - 39.258411 - ], - [ - 92.52564, - 39.368611 - ], - [ - 92.639589, - 39.514196 - ], - [ - 92.687632, - 39.657174 - ], - [ - 92.745531, - 39.868331 - ], - [ - 92.796654, - 40.153897 - ], - [ - 92.906907, - 40.310609 - ], - [ - 92.920458, - 40.391792 - ], - [ - 92.928465, - 40.572504 - ], - [ - 93.506216, - 40.648376 - ], - [ - 93.760599, - 40.664721 - ], - [ - 93.820961, - 40.793519 - ], - [ - 93.809874, - 40.879548 - ], - [ - 93.908424, - 40.983539 - ], - [ - 94.01067, - 41.114875 - ], - [ - 94.184365, - 41.268444 - ], - [ - 94.534219, - 41.505966 - ], - [ - 94.750413, - 41.538227 - ], - [ - 94.809543, - 41.619256 - ], - [ - 94.861898, - 41.668451 - ], - [ - 94.969072, - 41.718948 - ], - [ - 95.011572, - 41.726541 - ], - [ - 95.110738, - 41.768513 - ], - [ - 95.135991, - 41.772976 - ], - [ - 95.16494, - 41.735474 - ], - [ - 95.199433, - 41.719395 - ], - [ - 95.194505, - 41.694821 - ], - [ - 95.247476, - 41.61344 - ], - [ - 95.299831, - 41.565994 - ], - [ - 95.335556, - 41.644305 - ], - [ - 95.39407, - 41.693481 - ], - [ - 95.445193, - 41.719841 - ], - [ - 95.57146, - 41.796181 - ], - [ - 95.65646, - 41.826067 - ], - [ - 95.759322, - 41.835878 - ], - [ - 95.801206, - 41.848361 - ], - [ - 95.855408, - 41.849699 - ], - [ - 95.998306, - 41.906289 - ], - [ - 96.054973, - 41.936124 - ], - [ - 96.117183, - 41.985966 - ], - [ - 96.137509, - 42.019765 - ], - [ - 96.13874, - 42.05399 - ], - [ - 96.077147, - 42.149457 - ], - [ - 96.178161, - 42.21775 - ], - [ - 96.040806, - 42.326688 - ], - [ - 96.042038, - 42.352787 - ], - [ - 96.06606, - 42.414674 - ], - [ - 95.978596, - 42.436762 - ], - [ - 96.0174, - 42.482239 - ], - [ - 96.02356, - 42.542675 - ], - [ - 96.072219, - 42.569566 - ], - [ - 96.103632, - 42.604375 - ], - [ - 96.166458, - 42.623314 - ], - [ - 96.386348, - 42.727592 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 710000, - "name": "台湾省", - "center": [ - 121.509062, - 25.044332 - ], - "centroid": [ - 120.971485, - 23.749452 - ], - "childrenNum": 0, - "cp": [120.8254, 23.5986], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 31, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 120.443706, - 22.441432 - ], - [ - 120.517619, - 22.408793 - ], - [ - 120.569973, - 22.361757 - ], - [ - 120.640806, - 22.241605 - ], - [ - 120.659285, - 22.154056 - ], - [ - 120.661748, - 22.067007 - ], - [ - 120.651277, - 22.033171 - ], - [ - 120.667908, - 21.983235 - ], - [ - 120.701784, - 21.927174 - ], - [ - 120.743052, - 21.915515 - ], - [ - 120.781857, - 21.923843 - ], - [ - 120.854537, - 21.883309 - ], - [ - 120.873016, - 21.897191 - ], - [ - 120.86624, - 21.984345 - ], - [ - 120.907508, - 22.033171 - ], - [ - 120.912436, - 22.086418 - ], - [ - 120.903197, - 22.12634 - ], - [ - 120.914899, - 22.302525 - ], - [ - 120.981421, - 22.528248 - ], - [ - 121.014682, - 22.584069 - ], - [ - 121.03316, - 22.650914 - ], - [ - 121.078739, - 22.669691 - ], - [ - 121.170514, - 22.723247 - ], - [ - 121.21055, - 22.770711 - ], - [ - 121.237652, - 22.836362 - ], - [ - 121.276456, - 22.877171 - ], - [ - 121.324499, - 22.945526 - ], - [ - 121.35468, - 23.00999 - ], - [ - 121.370695, - 23.084334 - ], - [ - 121.409499, - 23.1025 - ], - [ - 121.430441, - 23.137175 - ], - [ - 121.415042, - 23.196047 - ], - [ - 121.440296, - 23.271937 - ], - [ - 121.479716, - 23.322507 - ], - [ - 121.497578, - 23.419744 - ], - [ - 121.5216, - 23.483431 - ], - [ - 121.522832, - 23.538858 - ], - [ - 121.587505, - 23.760878 - ], - [ - 121.621382, - 23.920718 - ], - [ - 121.65957, - 24.007125 - ], - [ - 121.63986, - 24.064514 - ], - [ - 121.643556, - 24.097843 - ], - [ - 121.678048, - 24.133895 - ], - [ - 121.689135, - 24.174303 - ], - [ - 121.809243, - 24.339083 - ], - [ - 121.82649, - 24.423572 - ], - [ - 121.867758, - 24.47914 - ], - [ - 121.88562, - 24.529784 - ], - [ - 121.892395, - 24.617953 - ], - [ - 121.86283, - 24.671261 - ], - [ - 121.841272, - 24.734329 - ], - [ - 121.844968, - 24.836476 - ], - [ - 121.933047, - 24.938539 - ], - [ - 122.012503, - 25.001471 - ], - [ - 121.98109, - 25.030757 - ], - [ - 121.947214, - 25.031841 - ], - [ - 121.917033, - 25.138076 - ], - [ - 121.841888, - 25.135367 - ], - [ - 121.782142, - 25.160287 - ], - [ - 121.745186, - 25.161912 - ], - [ - 121.707613, - 25.191701 - ], - [ - 121.700222, - 25.226896 - ], - [ - 121.655259, - 25.242054 - ], - [ - 121.62323, - 25.29455 - ], - [ - 121.585041, - 25.309159 - ], - [ - 121.53515, - 25.307535 - ], - [ - 121.444607, - 25.27074 - ], - [ - 121.413194, - 25.238806 - ], - [ - 121.371926, - 25.159746 - ], - [ - 121.319572, - 25.140785 - ], - [ - 121.209318, - 25.12724 - ], - [ - 121.132942, - 25.078466 - ], - [ - 121.102145, - 25.075214 - ], - [ - 121.024537, - 25.040517 - ], - [ - 121.009754, - 24.993878 - ], - [ - 120.961095, - 24.940167 - ], - [ - 120.914899, - 24.864715 - ], - [ - 120.89211, - 24.767482 - ], - [ - 120.82374, - 24.688118 - ], - [ - 120.762147, - 24.658208 - ], - [ - 120.68885, - 24.600542 - ], - [ - 120.642654, - 24.490033 - ], - [ - 120.589068, - 24.43229 - ], - [ - 120.546568, - 24.370159 - ], - [ - 120.520698, - 24.311816 - ], - [ - 120.470807, - 24.242533 - ], - [ - 120.451713, - 24.182493 - ], - [ - 120.391967, - 24.118055 - ], - [ - 120.316206, - 23.984708 - ], - [ - 120.278018, - 23.92783 - ], - [ - 120.245989, - 23.840276 - ], - [ - 120.175156, - 23.807427 - ], - [ - 120.102476, - 23.701162 - ], - [ - 120.095084, - 23.58768 - ], - [ - 120.12157, - 23.504836 - ], - [ - 120.108019, - 23.341191 - ], - [ - 120.081534, - 23.291728 - ], - [ - 120.018708, - 23.073322 - ], - [ - 120.029795, - 23.048544 - ], - [ - 120.133272, - 23.000625 - ], - [ - 120.149287, - 22.896468 - ], - [ - 120.20041, - 22.721039 - ], - [ - 120.274323, - 22.560307 - ], - [ - 120.297112, - 22.531565 - ], - [ - 120.443706, - 22.441432 - ] - ] - ], - [ - [ - [ - 124.542782, - 25.903886 - ], - [ - 124.584666, - 25.908731 - ], - [ - 124.566804, - 25.941563 - ], - [ - 124.542782, - 25.903886 - ] - ] - ], - [ - [ - [ - 123.445178, - 25.726102 - ], - [ - 123.469816, - 25.712623 - ], - [ - 123.50862, - 25.722867 - ], - [ - 123.512316, - 25.755212 - ], - [ - 123.479055, - 25.768687 - ], - [ - 123.445794, - 25.749822 - ], - [ - 123.445178, - 25.726102 - ] - ] - ], - [ - [ - [ - 119.646064, - 23.550928 - ], - [ - 119.691028, - 23.547087 - ], - [ - 119.678093, - 23.600294 - ], - [ - 119.61034, - 23.604132 - ], - [ - 119.601717, - 23.575613 - ], - [ - 119.566608, - 23.584937 - ], - [ - 119.562297, - 23.530627 - ], - [ - 119.578927, - 23.502641 - ], - [ - 119.609108, - 23.503738 - ], - [ - 119.646064, - 23.550928 - ] - ] - ], - [ - [ - [ - 123.666916, - 25.914114 - ], - [ - 123.706952, - 25.91519 - ], - [ - 123.689706, - 25.939949 - ], - [ - 123.666916, - 25.914114 - ] - ] - ], - [ - [ - [ - 119.506246, - 23.625518 - ], - [ - 119.506246, - 23.577259 - ], - [ - 119.47237, - 23.556962 - ], - [ - 119.519181, - 23.559705 - ], - [ - 119.52534, - 23.62497 - ], - [ - 119.506246, - 23.625518 - ] - ] - ], - [ - [ - [ - 119.497623, - 23.38679 - ], - [ - 119.495159, - 23.349982 - ], - [ - 119.516717, - 23.349982 - ], - [ - 119.497623, - 23.38679 - ] - ] - ], - [ - [ - [ - 119.557369, - 23.666634 - ], - [ - 119.608492, - 23.620035 - ], - [ - 119.615268, - 23.661153 - ], - [ - 119.586318, - 23.675952 - ], - [ - 119.557369, - 23.666634 - ] - ] - ], - [ - [ - [ - 122.066706, - 25.6247 - ], - [ - 122.087032, - 25.61067 - ], - [ - 122.092575, - 25.639268 - ], - [ - 122.066706, - 25.6247 - ] - ] - ], - [ - [ - [ - 121.468013, - 22.67687 - ], - [ - 121.474788, - 22.643734 - ], - [ - 121.513592, - 22.631582 - ], - [ - 121.514824, - 22.676318 - ], - [ - 121.468013, - 22.67687 - ] - ] - ], - [ - [ - [ - 121.510513, - 22.086972 - ], - [ - 121.507433, - 22.048704 - ], - [ - 121.533918, - 22.022076 - ], - [ - 121.594281, - 21.995443 - ], - [ - 121.604752, - 22.022631 - ], - [ - 121.575186, - 22.037055 - ], - [ - 121.575802, - 22.0842 - ], - [ - 121.510513, - 22.086972 - ] - ] - ], - [ - [ - [ - 122.097503, - 25.499987 - ], - [ - 122.110438, - 25.465952 - ], - [ - 122.122141, - 25.495666 - ], - [ - 122.097503, - 25.499987 - ] - ] - ], - [ - [ - [ - 119.421247, - 23.216949 - ], - [ - 119.436029, - 23.186146 - ], - [ - 119.453275, - 23.216399 - ], - [ - 119.421247, - 23.216949 - ] - ] - ], - [ - [ - [ - 120.355011, - 22.327439 - ], - [ - 120.395663, - 22.342385 - ], - [ - 120.383344, - 22.355669 - ], - [ - 120.355011, - 22.327439 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 810000, - "name": "香港特别行政区", - "center": [ - 114.173355, - 22.320048 - ], - "centroid": [ - 114.134357, - 22.377366 - ], - "childrenNum": 18, - "cp": [114.6178, 22.3242], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 32, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 114.031778, - 22.503923 - ], - [ - 114.000981, - 22.491206 - ], - [ - 113.977575, - 22.45692 - ], - [ - 113.918445, - 22.418199 - ], - [ - 113.920293, - 22.367845 - ], - [ - 113.951706, - 22.355116 - ], - [ - 113.956633, - 22.359543 - ], - [ - 113.980039, - 22.366185 - ], - [ - 114.026234, - 22.34792 - ], - [ - 113.955401, - 22.298649 - ], - [ - 113.969568, - 22.321349 - ], - [ - 113.898119, - 22.308615 - ], - [ - 113.889496, - 22.271514 - ], - [ - 113.8433, - 22.229418 - ], - [ - 113.84946, - 22.191188 - ], - [ - 113.899351, - 22.215568 - ], - [ - 113.935691, - 22.205041 - ], - [ - 113.981271, - 22.229972 - ], - [ - 113.996669, - 22.206149 - ], - [ - 114.026234, - 22.229418 - ], - [ - 114.004676, - 22.239389 - ], - [ - 114.02993, - 22.263207 - ], - [ - 114.034857, - 22.300864 - ], - [ - 114.069966, - 22.326885 - ], - [ - 114.121089, - 22.320795 - ], - [ - 114.145726, - 22.300864 - ], - [ - 114.120473, - 22.272068 - ], - [ - 114.164821, - 22.226648 - ], - [ - 114.200545, - 22.232188 - ], - [ - 114.203009, - 22.206703 - ], - [ - 114.265835, - 22.200608 - ], - [ - 114.248588, - 22.274837 - ], - [ - 114.262139, - 22.294773 - ], - [ - 114.284929, - 22.263761 - ], - [ - 114.313262, - 22.264315 - ], - [ - 114.315726, - 22.299203 - ], - [ - 114.315726, - 22.299756 - ], - [ - 114.278153, - 22.328546 - ], - [ - 114.283081, - 22.386661 - ], - [ - 114.322501, - 22.385554 - ], - [ - 114.323117, - 22.385554 - ], - [ - 114.323733, - 22.385001 - ], - [ - 114.323733, - 22.384447 - ], - [ - 114.356994, - 22.340171 - ], - [ - 114.394566, - 22.361757 - ], - [ - 114.385327, - 22.41156 - ], - [ - 114.406269, - 22.432582 - ], - [ - 114.406269, - 22.433688 - ], - [ - 114.376088, - 22.436454 - ], - [ - 114.325581, - 22.479041 - ], - [ - 114.278769, - 22.435901 - ], - [ - 114.220255, - 22.427603 - ], - [ - 114.205473, - 22.449729 - ], - [ - 114.23319, - 22.466875 - ], - [ - 114.2529, - 22.445304 - ], - [ - 114.340979, - 22.50337 - ], - [ - 114.309566, - 22.497288 - ], - [ - 114.28924, - 22.52272 - ], - [ - 114.263987, - 22.541515 - ], - [ - 114.263371, - 22.541515 - ], - [ - 114.260291, - 22.547595 - ], - [ - 114.232574, - 22.528801 - ], - [ - 114.232574, - 22.539857 - ], - [ - 114.222719, - 22.553122 - ], - [ - 114.166052, - 22.559201 - ], - [ - 114.156813, - 22.543726 - ], - [ - 114.095219, - 22.534329 - ], - [ - 114.082285, - 22.512216 - ], - [ - 114.031778, - 22.503923 - ] - ] - ], - [ - [ - [ - 114.142647, - 22.213906 - ], - [ - 114.123553, - 22.238836 - ], - [ - 114.120473, - 22.177888 - ], - [ - 114.154965, - 22.177888 - ], - [ - 114.166668, - 22.205041 - ], - [ - 114.142647, - 22.213906 - ] - ] - ], - [ - [ - [ - 114.305871, - 22.372273 - ], - [ - 114.313878, - 22.340724 - ], - [ - 114.332972, - 22.353455 - ], - [ - 114.305255, - 22.372826 - ], - [ - 114.305871, - 22.372273 - ] - ] - ], - [ - [ - [ - 114.320037, - 22.381127 - ], - [ - 114.323733, - 22.384447 - ], - [ - 114.323733, - 22.385001 - ], - [ - 114.323117, - 22.385554 - ], - [ - 114.322501, - 22.385554 - ], - [ - 114.319421, - 22.382234 - ], - [ - 114.320037, - 22.38168 - ], - [ - 114.320037, - 22.381127 - ] - ] - ], - [ - [ - [ - 114.305871, - 22.369506 - ], - [ - 114.305871, - 22.372273 - ], - [ - 114.305255, - 22.372826 - ], - [ - 114.305871, - 22.369506 - ] - ] - ], - [ - [ - [ - 114.315726, - 22.299203 - ], - [ - 114.316958, - 22.298649 - ], - [ - 114.316342, - 22.30031 - ], - [ - 114.315726, - 22.299756 - ], - [ - 114.315726, - 22.299203 - ] - ] - ], - [ - [ - [ - 114.319421, - 22.382234 - ], - [ - 114.320037, - 22.381127 - ], - [ - 114.320037, - 22.38168 - ], - [ - 114.319421, - 22.382234 - ] - ] - ], - [ - [ - [ - 114.372392, - 22.32301 - ], - [ - 114.373008, - 22.323564 - ], - [ - 114.372392, - 22.323564 - ], - [ - 114.372392, - 22.32301 - ] - ] - ], - [ - [ - [ - 114.323733, - 22.297541 - ], - [ - 114.324349, - 22.297541 - ], - [ - 114.323733, - 22.298095 - ], - [ - 114.323733, - 22.297541 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "adcode": 820000, - "name": "澳门特别行政区", - "center": [ - 113.54909, - 22.198951 - ], - "centroid": [ - 113.566988, - 22.159307 - ], - "childrenNum": 8, - "cp": [113.5547, 21.6484], - "level": "province", - "parent": { - "adcode": 100000 - }, - "subFeatureIndex": 33, - "acroutes": [ - 100000 - ] - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 113.554425, - 22.107489 - ], - [ - 113.6037, - 22.132438 - ], - [ - 113.575983, - 22.194513 - ], - [ - 113.558736, - 22.212244 - ], - [ - 113.53841, - 22.209473 - ], - [ - 113.534715, - 22.174009 - ], - [ - 113.554425, - 22.142416 - ], - [ - 113.554425, - 22.107489 - ] - ] - ], - [ - [ - [ - 113.586453, - 22.201162 - ], - [ - 113.575983, - 22.201162 - ], - [ - 113.575983, - 22.194513 - ], - [ - 113.586453, - 22.201162 - ] - ] - ] - ] - } - }, - { - "type": "Feature", - "properties": { - "name": "", - "adchar": "JD", - "adcode": "100000_JD" - }, - "geometry": { - "type": "MultiPolygon", - "coordinates": [ - [ - [ - [ - 122.51865306, - 23.46078502 - ], - [ - 122.79861399, - 24.57367379 - ], - [ - 122.79889322, - 24.57678999 - ], - [ - 122.79819583, - 24.57983997 - ], - [ - 122.79659008, - 24.58252516 - ], - [ - 122.79423315, - 24.58458272 - ], - [ - 122.79135575, - 24.58581125 - ], - [ - 122.78823955, - 24.58609049 - ], - [ - 122.78518957, - 24.5853931 - ], - [ - 122.78250438, - 24.58378734 - ], - [ - 122.78044682, - 24.58143041 - ], - [ - 122.77921829, - 24.57855302 - ], - [ - 122.49925737, - 23.46566424 - ], - [ - 122.49897813, - 23.46254804 - ], - [ - 122.49967552, - 23.45949807 - ], - [ - 122.50128127, - 23.45681287 - ], - [ - 122.5036382, - 23.45475531 - ], - [ - 122.5065156, - 23.45352678 - ], - [ - 122.50963181, - 23.45324755 - ], - [ - 122.51268178, - 23.45394494 - ], - [ - 122.51536697, - 23.45555069 - ], - [ - 122.51742454, - 23.45790762 - ], - [ - 122.51865306, - 23.46078502 - ] - ] - ], - [ - [ - [ - 121.17202617, - 20.8054593 - ], - [ - 121.90938804, - 21.68743347 - ], - [ - 121.9109946, - 21.69011818 - ], - [ - 121.91169291, - 21.69316794 - ], - [ - 121.91141462, - 21.69628423 - ], - [ - 121.91018696, - 21.699162 - ], - [ - 121.9081301, - 21.70151955 - ], - [ - 121.9054454, - 21.70312611 - ], - [ - 121.90239563, - 21.70382443 - ], - [ - 121.89927934, - 21.70354613 - ], - [ - 121.89640158, - 21.70231847 - ], - [ - 121.89404403, - 21.70026162 - ], - [ - 121.15668216, - 20.81828744 - ], - [ - 121.1550756, - 20.81560273 - ], - [ - 121.15437729, - 20.81255297 - ], - [ - 121.15465558, - 20.80943668 - ], - [ - 121.15588324, - 20.80655891 - ], - [ - 121.1579401, - 20.80420136 - ], - [ - 121.1606248, - 20.8025948 - ], - [ - 121.16367457, - 20.80189649 - ], - [ - 121.16679085, - 20.80217478 - ], - [ - 121.16966862, - 20.80340244 - ], - [ - 121.17202617, - 20.8054593 - ] - ] - ], - [ - [ - [ - 119.47366172, - 18.00707291 - ], - [ - 120.02569734, - 19.02403788 - ], - [ - 120.02674143, - 19.02698721 - ], - [ - 120.02682302, - 19.03011484 - ], - [ - 120.02593412, - 19.0331146 - ], - [ - 120.02416175, - 19.03569286 - ], - [ - 120.02167941, - 19.03759723 - ], - [ - 120.01873007, - 19.03864132 - ], - [ - 120.01560245, - 19.03872291 - ], - [ - 120.01260269, - 19.03783401 - ], - [ - 120.01002443, - 19.03606165 - ], - [ - 120.00812005, - 19.0335793 - ], - [ - 119.45608443, - 18.01661433 - ], - [ - 119.45504035, - 18.01366499 - ], - [ - 119.45495876, - 18.01053737 - ], - [ - 119.45584765, - 18.00753761 - ], - [ - 119.45762002, - 18.00495935 - ], - [ - 119.46010237, - 18.00305497 - ], - [ - 119.4630517, - 18.00201089 - ], - [ - 119.46617933, - 18.0019293 - ], - [ - 119.46917909, - 18.0028182 - ], - [ - 119.47175735, - 18.00459056 - ], - [ - 119.47366172, - 18.00707291 - ] - ] - ], - [ - [ - [ - 119.0726757, - 15.04098494 - ], - [ - 119.0726757, - 16.04388528 - ], - [ - 119.07218626, - 16.04697545 - ], - [ - 119.07076587, - 16.04976313 - ], - [ - 119.06855355, - 16.05197545 - ], - [ - 119.06576587, - 16.05339584 - ], - [ - 119.0626757, - 16.05388528 - ], - [ - 119.05958553, - 16.05339584 - ], - [ - 119.05679784, - 16.05197545 - ], - [ - 119.05458553, - 16.04976313 - ], - [ - 119.05316513, - 16.04697545 - ], - [ - 119.0526757, - 16.04388528 - ], - [ - 119.0526757, - 15.04105889 - ], - [ - 119.0521839, - 15.00781004 - ], - [ - 119.05262758, - 15.00471297 - ], - [ - 119.05400659, - 15.00190458 - ], - [ - 119.05618595, - 14.99965979 - ], - [ - 119.05895232, - 14.99819832 - ], - [ - 119.06203491, - 14.99766324 - ], - [ - 119.06513198, - 14.99810691 - ], - [ - 119.06794036, - 14.99948592 - ], - [ - 119.07018516, - 15.00166528 - ], - [ - 119.07164663, - 15.00443165 - ], - [ - 119.07218171, - 15.00751424 - ], - [ - 119.0726746, - 15.04083704 - ], - [ - 119.0726757, - 15.04098494 - ] - ] - ], - [ - [ - [ - 118.68646749, - 11.18959191 - ], - [ - 118.52518702, - 10.91547751 - ], - [ - 118.52404181, - 10.91256595 - ], - [ - 118.52385237, - 10.909443 - ], - [ - 118.52463726, - 10.90641436 - ], - [ - 118.52631962, - 10.9037765 - ], - [ - 118.5287348, - 10.90178762 - ], - [ - 118.53164636, - 10.90064241 - ], - [ - 118.53476931, - 10.90045298 - ], - [ - 118.53779795, - 10.90123786 - ], - [ - 118.54043581, - 10.90292022 - ], - [ - 118.54242469, - 10.9053354 - ], - [ - 118.70409227, - 11.18010771 - ], - [ - 118.70476212, - 11.18147468 - ], - [ - 118.87431591, - 11.606662 - ], - [ - 118.87459939, - 11.60747236 - ], - [ - 118.98894963, - 11.98573108 - ], - [ - 118.98937534, - 11.98883067 - ], - [ - 118.9888224, - 11.99191011 - ], - [ - 118.98734492, - 11.99466796 - ], - [ - 118.98508753, - 11.99683427 - ], - [ - 118.98227119, - 11.99819697 - ], - [ - 118.9791716, - 11.99862269 - ], - [ - 118.97609216, - 11.99806975 - ], - [ - 118.97333431, - 11.99659227 - ], - [ - 118.97116801, - 11.99433487 - ], - [ - 118.9698053, - 11.99151854 - ], - [ - 118.85557939, - 11.6136711 - ], - [ - 118.68646749, - 11.18959191 - ] - ] - ], - [ - [ - [ - 115.54466883, - 7.14672265 - ], - [ - 116.2504858, - 7.979279 - ], - [ - 116.25211077, - 7.98195261 - ], - [ - 116.25283001, - 7.9849975 - ], - [ - 116.25257312, - 7.98811563 - ], - [ - 116.25136525, - 7.99100176 - ], - [ - 116.24932463, - 7.99337338 - ], - [ - 116.24665102, - 7.99499834 - ], - [ - 116.24360613, - 7.99571758 - ], - [ - 116.240488, - 7.99546069 - ], - [ - 116.23760187, - 7.99425282 - ], - [ - 116.23523025, - 7.99221221 - ], - [ - 115.52941328, - 7.15965587 - ], - [ - 115.52778832, - 7.15698226 - ], - [ - 115.52706908, - 7.15393736 - ], - [ - 115.52732596, - 7.15081924 - ], - [ - 115.52853383, - 7.1479331 - ], - [ - 115.53057445, - 7.14556148 - ], - [ - 115.53324806, - 7.14393652 - ], - [ - 115.53629295, - 7.14321728 - ], - [ - 115.53941108, - 7.14347417 - ], - [ - 115.54229721, - 7.14468204 - ], - [ - 115.54466883, - 7.14672265 - ] - ] - ], - [ - [ - [ - 112.30705249, - 3.53487257 - ], - [ - 111.78690114, - 3.41687263 - ], - [ - 111.78399583, - 3.41571167 - ], - [ - 111.78159146, - 3.41370973 - ], - [ - 111.77992341, - 3.41106279 - ], - [ - 111.77915495, - 3.40802995 - ], - [ - 111.77936129, - 3.40490807 - ], - [ - 111.78052226, - 3.40200275 - ], - [ - 111.78252419, - 3.39959839 - ], - [ - 111.78517113, - 3.39793033 - ], - [ - 111.78820398, - 3.39716187 - ], - [ - 111.79132585, - 3.39736822 - ], - [ - 112.31181658, - 3.51544515 - ], - [ - 112.31248917, - 3.51562254 - ], - [ - 112.52147408, - 3.5785908 - ], - [ - 112.52281386, - 3.57910186 - ], - [ - 112.85206367, - 3.73256867 - ], - [ - 112.85465776, - 3.7343178 - ], - [ - 112.85658437, - 3.73678292 - ], - [ - 112.85765492, - 3.73972276 - ], - [ - 112.85776462, - 3.74284952 - ], - [ - 112.85690272, - 3.74585715 - ], - [ - 112.8551536, - 3.74845124 - ], - [ - 112.85268847, - 3.75037785 - ], - [ - 112.84974864, - 3.7514484 - ], - [ - 112.84662187, - 3.75155809 - ], - [ - 112.84361424, - 3.7506962 - ], - [ - 112.51501594, - 3.59753306 - ], - [ - 112.30705249, - 3.53487257 - ] - ] - ], - [ - [ - [ - 108.26055972, - 6.08912451 - ], - [ - 108.29013305, - 6.01266273 - ], - [ - 108.29170425, - 6.00995718 - ], - [ - 108.29403462, - 6.00786957 - ], - [ - 108.29689603, - 6.00660426 - ], - [ - 108.3000084, - 6.00628511 - ], - [ - 108.30306706, - 6.00694335 - ], - [ - 108.30577262, - 6.00851455 - ], - [ - 108.30786022, - 6.01084492 - ], - [ - 108.30912553, - 6.01370633 - ], - [ - 108.30944469, - 6.0168187 - ], - [ - 108.30878645, - 6.01987736 - ], - [ - 108.279563, - 6.09543449 - ], - [ - 108.25611734, - 6.22752625 - ], - [ - 108.21679964, - 6.53816468 - ], - [ - 108.21876335, - 6.94964057 - ], - [ - 108.24419535, - 7.07390742 - ], - [ - 108.24433543, - 7.07703297 - ], - [ - 108.24350281, - 7.08004883 - ], - [ - 108.24177899, - 7.0826598 - ], - [ - 108.2393327, - 7.08461028 - ], - [ - 108.23640341, - 7.08570936 - ], - [ - 108.23327786, - 7.08584944 - ], - [ - 108.230262, - 7.08501682 - ], - [ - 108.22765103, - 7.083293 - ], - [ - 108.22570055, - 7.08084671 - ], - [ - 108.22460147, - 7.07791743 - ], - [ - 108.19897125, - 6.95268198 - ], - [ - 108.1987683, - 6.95072469 - ], - [ - 108.19679674, - 6.53760583 - ], - [ - 108.19687578, - 6.53630242 - ], - [ - 108.23630689, - 6.22476797 - ], - [ - 108.23638164, - 6.22427602 - ], - [ - 108.26004031, - 6.09098419 - ], - [ - 108.26055972, - 6.08912451 - ] - ] - ], - [ - [ - [ - 110.12822847, - 11.36894451 - ], - [ - 110.05553696, - 11.25335394 - ], - [ - 110.05430621, - 11.25047749 - ], - [ - 110.05402458, - 11.2473615 - ], - [ - 110.05471962, - 11.24431099 - ], - [ - 110.05632331, - 11.24162456 - ], - [ - 110.05867865, - 11.23956519 - ], - [ - 110.0615551, - 11.23833444 - ], - [ - 110.06467109, - 11.23805281 - ], - [ - 110.0677216, - 11.23874785 - ], - [ - 110.07040803, - 11.24035153 - ], - [ - 110.07246741, - 11.24270688 - ], - [ - 110.14541497, - 11.35870461 - ], - [ - 110.14588682, - 11.35954163 - ], - [ - 110.20700505, - 11.48128846 - ], - [ - 110.20728377, - 11.48189306 - ], - [ - 110.25854422, - 11.60358735 - ], - [ - 110.25901765, - 11.60499559 - ], - [ - 110.30436343, - 11.7826124 - ], - [ - 110.30456934, - 11.78364161 - ], - [ - 110.32822801, - 11.94571326 - ], - [ - 110.32832827, - 11.94685414 - ], - [ - 110.33424294, - 12.14159753 - ], - [ - 110.33424553, - 12.14210167 - ], - [ - 110.33227398, - 12.24038351 - ], - [ - 110.33172267, - 12.24346324 - ], - [ - 110.33024665, - 12.24622187 - ], - [ - 110.3279904, - 12.24838938 - ], - [ - 110.32517479, - 12.24975358 - ], - [ - 110.32207543, - 12.25018094 - ], - [ - 110.3189957, - 12.24962962 - ], - [ - 110.31623706, - 12.2481536 - ], - [ - 110.31406956, - 12.24589736 - ], - [ - 110.31270536, - 12.24308175 - ], - [ - 110.312278, - 12.23998238 - ], - [ - 110.3142445, - 12.14195265 - ], - [ - 110.3083549, - 11.94803461 - ], - [ - 110.28485499, - 11.78705054 - ], - [ - 110.23982347, - 11.61066468 - ], - [ - 110.18898148, - 11.48996382 - ], - [ - 110.12822847, - 11.36894451 - ] - ] - ], - [ - [ - [ - 109.82951587, - 15.22896754 - ], - [ - 109.84522534, - 15.15316562 - ], - [ - 109.84633168, - 15.15023907 - ], - [ - 109.84828823, - 15.14779763 - ], - [ - 109.85090347, - 15.14608029 - ], - [ - 109.85392139, - 15.14525516 - ], - [ - 109.85704658, - 15.145403 - ], - [ - 109.85997314, - 15.14650935 - ], - [ - 109.86241457, - 15.1484659 - ], - [ - 109.86413191, - 15.15108113 - ], - [ - 109.86495704, - 15.15409906 - ], - [ - 109.8648092, - 15.15722425 - ], - [ - 109.84903675, - 15.23333003 - ], - [ - 109.84889209, - 15.23393326 - ], - [ - 109.78974541, - 15.45068337 - ], - [ - 109.7892391, - 15.45210582 - ], - [ - 109.69066131, - 15.67432448 - ], - [ - 109.6900529, - 15.67548445 - ], - [ - 109.59147511, - 15.83677407 - ], - [ - 109.59116145, - 15.8372556 - ], - [ - 109.53201478, - 15.92259221 - ], - [ - 109.53166592, - 15.92306523 - ], - [ - 109.30888011, - 16.20725797 - ], - [ - 109.30658844, - 16.20938798 - ], - [ - 109.30375073, - 16.21070558 - ], - [ - 109.30064474, - 16.21108179 - ], - [ - 109.29757451, - 16.21047978 - ], - [ - 109.29484059, - 16.20895848 - ], - [ - 109.29271057, - 16.20666681 - ], - [ - 109.29139298, - 16.2038291 - ], - [ - 109.29101677, - 16.20072311 - ], - [ - 109.29161878, - 16.19765288 - ], - [ - 109.29314007, - 16.19491896 - ], - [ - 109.51574449, - 15.91095759 - ], - [ - 109.57455994, - 15.82609887 - ], - [ - 109.67264555, - 15.66561455 - ], - [ - 109.77065019, - 15.44468789 - ], - [ - 109.82951587, - 15.22896754 - ] - ] - ] - ] - } - } - ] -} diff --git a/src/views/intervene/meals/monitoring/canteenStatistics/components/visual/visual.api.ts b/src/views/intervene/meals/monitoring/canteenStatistics/components/visual/visual.api.ts deleted file mode 100644 index 1999e53..0000000 --- a/src/views/intervene/meals/monitoring/canteenStatistics/components/visual/visual.api.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - baseRestaurantAddressInfo = '/foodNourishmentReport/getBaseRestaurantAddressInfo', -} - -/** - * 列表接口 - * @param params - */ -export const getBaseRestaurantAddressInfo = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.baseRestaurantAddressInfo, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/canteenStatistics/components/visual/visual.data.ts b/src/views/intervene/meals/monitoring/canteenStatistics/components/visual/visual.data.ts deleted file mode 100644 index 1d7ffdc..0000000 --- a/src/views/intervene/meals/monitoring/canteenStatistics/components/visual/visual.data.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '部门', - align: 'center', - dataIndex: 'departName', - }, - { - title: '姓名', - align: 'center', - dataIndex: 'realName', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - }, - { - title: '员工编号', // 原来为工号 - align: 'center', - dataIndex: 'workNo', - }, - { - title: '手机号码', - align: 'center', - dataIndex: 'phone', - }, - { - title: '用餐次数', - align: 'center', - dataIndex: 'eatNum', - }, - { - title: '最近用餐日期', - align: 'center', - dataIndex: 'statisticsDay', - }, -]; diff --git a/src/views/intervene/meals/monitoring/canteenStatistics/components/visual/visual.vue b/src/views/intervene/meals/monitoring/canteenStatistics/components/visual/visual.vue deleted file mode 100644 index 678c0ee..0000000 --- a/src/views/intervene/meals/monitoring/canteenStatistics/components/visual/visual.vue +++ /dev/null @@ -1,113 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/dietaryRecord/components/info/info.api.ts b/src/views/intervene/meals/monitoring/dietaryRecord/components/info/info.api.ts deleted file mode 100644 index 9dfa7a4..0000000 --- a/src/views/intervene/meals/monitoring/dietaryRecord/components/info/info.api.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - userFoodEnergyInfo = '/foodNourishmentReport/getUserFoodEnergyInfo', -} - -/** - * 列表接口 - * @param params - */ -export const getUserFoodEnergyInfo = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.userFoodEnergyInfo, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/dietaryRecord/components/info/info.data.ts b/src/views/intervene/meals/monitoring/dietaryRecord/components/info/info.data.ts deleted file mode 100644 index 72cc2c6..0000000 --- a/src/views/intervene/meals/monitoring/dietaryRecord/components/info/info.data.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '餐品名称', - align: 'center', - dataIndex: 'foodName', - }, - { - title: '取用量(克)', - align: 'center', - dataIndex: 'eatWeight', - }, - { - title: '热量(kcal)', - align: 'center', - dataIndex: 'energy', - }, -]; diff --git a/src/views/intervene/meals/monitoring/dietaryRecord/components/info/info.vue b/src/views/intervene/meals/monitoring/dietaryRecord/components/info/info.vue deleted file mode 100644 index 948fabb..0000000 --- a/src/views/intervene/meals/monitoring/dietaryRecord/components/info/info.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/dietaryRecord/components/meal/meal.api.ts b/src/views/intervene/meals/monitoring/dietaryRecord/components/meal/meal.api.ts deleted file mode 100644 index 12587cb..0000000 --- a/src/views/intervene/meals/monitoring/dietaryRecord/components/meal/meal.api.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - userFoodEnergyInfo = '/foodNourishmentReport/getUserInfoAndEatNum', - exportList = '/foodNourishmentReport/getUserInfoAndEatNum2/export', -} - -/** - * 列表接口 - * @param params - */ -export const getUserFoodEnergyInfo = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.userFoodEnergyInfo, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -/** - * 导出接口 - * @param params - */ -export const exportList = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.exportList, - params, - headers: { - 'X-Access-Token': token, - }, - responseType: 'blob', - }, - { - apiUrl: stServerUrl, - withToken: false, - isTransformResponse: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/dietaryRecord/components/meal/meal.data.ts b/src/views/intervene/meals/monitoring/dietaryRecord/components/meal/meal.data.ts deleted file mode 100644 index 637d08e..0000000 --- a/src/views/intervene/meals/monitoring/dietaryRecord/components/meal/meal.data.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '用餐时间', - align: 'center', - dataIndex: 'statisticsDay', - }, - { - title: '用餐餐次', - align: 'center', - dataIndex: 'dinnerType', - }, - { - title: '摄入餐品数', - align: 'center', - dataIndex: 'foodNum', - }, - { - title: '摄入热量(kcal)', - align: 'center', - dataIndex: 'energy', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '用餐时间', - field: 'days', - component: 'RangeDate', - componentProps: () => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - style: { - width: '100%', - }, - }; - }, - }, -]; diff --git a/src/views/intervene/meals/monitoring/dietaryRecord/components/meal/meal.vue b/src/views/intervene/meals/monitoring/dietaryRecord/components/meal/meal.vue deleted file mode 100644 index 083bcfc..0000000 --- a/src/views/intervene/meals/monitoring/dietaryRecord/components/meal/meal.vue +++ /dev/null @@ -1,128 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/dietaryRecord/components/search/search.api.ts b/src/views/intervene/meals/monitoring/dietaryRecord/components/search/search.api.ts deleted file mode 100644 index 19ef371..0000000 --- a/src/views/intervene/meals/monitoring/dietaryRecord/components/search/search.api.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - treeDepartSecondAndThree = '/sys/sysDepart/recordTreeDepartSecondAndThree', -} - -/** - * 部门 - * @param params - */ -export const getTreeDepartSecondAndThree = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.treeDepartSecondAndThree, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/dietaryRecord/components/search/search.data.ts b/src/views/intervene/meals/monitoring/dietaryRecord/components/search/search.data.ts deleted file mode 100644 index ff40ce7..0000000 --- a/src/views/intervene/meals/monitoring/dietaryRecord/components/search/search.data.ts +++ /dev/null @@ -1,89 +0,0 @@ -import { FormSchema } from '/@/components/Table'; -import { getTreeDepartSecondAndThree } from './search.api'; -import { useUserStore } from '/@/store/modules/user'; - -export const searchFormSchema: FormSchema[] = [ - { - label: '单位部门', - field: 'departId', - component: 'ApiTreeSelect', - componentProps: () => { - return { - api: getTreeDepartSecondAndThree, - params: { - orgCode: useUserStore()?.getUserInfo.orgCode, - }, - dropdownMatchSelectWidth: false, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '工号', - field: 'workNo', - component: 'Input', - }, - { - label: '性别', - field: 'sex', - component: 'Select', - componentProps: () => { - return { - options: [ - { label: '男', value: '1' }, - { label: '女', value: '2' }, - ], - }; - }, - }, - { - label: '年龄', - field: 'ageAndAgeType', - component: 'InputGroup', - slot: 'ageAndAgeType', - }, - { - label: '身高', - field: 'heightAndHeightType', - component: 'InputGroup', - slot: 'heightAndHeightType', - }, - { - label: '体重', - field: 'weightAndWeightType', - component: 'InputGroup', - slot: 'weightAndWeightType', - }, - { - label: '劳动强度', - field: 'workStrength', - component: 'Select', - componentProps: () => { - return { - options: [ - { label: '重度劳动', value: '1' }, - { label: '中度劳动', value: '2' }, - { label: '轻度劳动', value: '3' }, - { label: '卧床', value: '4' }, - ], - }; - }, - }, - { - label: '餐次总数量', - field: 'foodNumAndFoodNumType', - component: 'InputGroup', - slot: 'foodNumAndFoodNumType', - }, - { - label: '平均摄入热量', - field: 'energyAndEnergyType', - component: 'InputGroup', - slot: 'energyAndEnergyType', - }, -]; diff --git a/src/views/intervene/meals/monitoring/dietaryRecord/components/search/search.vue b/src/views/intervene/meals/monitoring/dietaryRecord/components/search/search.vue deleted file mode 100644 index b428624..0000000 --- a/src/views/intervene/meals/monitoring/dietaryRecord/components/search/search.vue +++ /dev/null @@ -1,246 +0,0 @@ - - - diff --git a/src/views/intervene/meals/monitoring/dietaryRecord/dietaryRecord.api.ts b/src/views/intervene/meals/monitoring/dietaryRecord/dietaryRecord.api.ts deleted file mode 100644 index 5d4295a..0000000 --- a/src/views/intervene/meals/monitoring/dietaryRecord/dietaryRecord.api.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - list = '/foodNourishmentReport/getUserMealRecordsNew', - // getWeightAndHeight = '/sys/healthUserEmployeeEx/heightWeight', - exportList = '/foodNourishmentReport/getUserInfoAndEatNum/export', - statisticsRowList = '/foodNourishmentReport/mealRecordsStatisticsRow', -} - -// export const getWeightAndHeightApi = (params: any) => defHttp.post({ url: Api.getWeightAndHeight, params }); - -/** - * 列表接口 - * @param params - */ -export const list = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.list, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -/** - * 导出接口 - * @param params - */ -export const exportList = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.exportList, - params, - headers: { - 'X-Access-Token': token, - }, - responseType: 'blob', - }, - { - apiUrl: stServerUrl, - withToken: false, - isTransformResponse: false, - } - ); -}; - -/** - * 统计接口 - * @param params - */ -export const statisticsRowList = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.statisticsRowList, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/dietaryRecord/dietaryRecord.data.ts b/src/views/intervene/meals/monitoring/dietaryRecord/dietaryRecord.data.ts deleted file mode 100644 index 641acc3..0000000 --- a/src/views/intervene/meals/monitoring/dietaryRecord/dietaryRecord.data.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - dataIndex: 'index', - width: 80, - customRender: ({ index, record }): any => { - return (record as any).id ? index + 1 : ''; - }, - }, - { - title: '所属单位', - align: 'center', - dataIndex: 'secondDepartName', - }, - { - title: '部门', - align: 'center', - dataIndex: 'thirdDepartName', - }, - { - title: '姓名', - align: 'center', - width: 100, - dataIndex: 'realname', - }, - { - title: '工号', - align: 'center', - width: 120, - dataIndex: 'workNo', - }, - { - title: '性别', - align: 'center', - width: 80, - dataIndex: 'sex', - }, - { - title: '年龄', - align: 'center', - width: 80, - dataIndex: 'age', - }, - { - title: '身高(cm)', - align: 'center', - width: 100, - dataIndex: 'height', - }, - { - title: '体重(kg)', - align: 'center', - width: 100, - dataIndex: 'weight', - }, - { - title: 'BMI', - align: 'center', - width: 80, - dataIndex: 'bmi', - customRender: ({ record }): any => { - let t; - const { height, weight } = (record as any) || { height: null, weight: null }; - if (height && weight) { - t = (Number(weight) / ((Number(height) / 100) * (Number(height) / 100))).toFixed(1); - } - return t; - }, - }, - { - title: '体力劳动', - align: 'center', - width: 120, - dataIndex: 'workStrength', - }, - { - title: '餐次总数量', - align: 'center', - width: 120, - dataIndex: 'dinnerTypeNum', - }, - { - title: '平均摄入热量(kcal)', - align: 'center', - width: 160, - dataIndex: 'energy', - }, -]; diff --git a/src/views/intervene/meals/monitoring/dietaryRecord/dietaryRecord.vue b/src/views/intervene/meals/monitoring/dietaryRecord/dietaryRecord.vue deleted file mode 100644 index f54cf7e..0000000 --- a/src/views/intervene/meals/monitoring/dietaryRecord/dietaryRecord.vue +++ /dev/null @@ -1,321 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/foodRecord/components/info/info.api.ts b/src/views/intervene/meals/monitoring/foodRecord/components/info/info.api.ts deleted file mode 100644 index 2ba50b8..0000000 --- a/src/views/intervene/meals/monitoring/foodRecord/components/info/info.api.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - canteenFoodGoodsInfo = '/foodNourishmentReport/getCanteenFoodGoodsInfo', -} - -/** - * 列表接口 - * @param params - */ -export const getCanteenFoodGoodsInfo = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.canteenFoodGoodsInfo, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/foodRecord/components/info/info.data.ts b/src/views/intervene/meals/monitoring/foodRecord/components/info/info.data.ts deleted file mode 100644 index 875a139..0000000 --- a/src/views/intervene/meals/monitoring/foodRecord/components/info/info.data.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '食材名称', - align: 'center', - dataIndex: 'goodsName', - }, - { - title: '预出库', - align: 'center', - dataIndex: 'weight', - }, - { - title: '单位', - align: 'center', - dataIndex: 'unit', - }, - { - title: '偏差', - align: 'center', - dataIndex: 'deviation', - }, -]; diff --git a/src/views/intervene/meals/monitoring/foodRecord/components/info/info.vue b/src/views/intervene/meals/monitoring/foodRecord/components/info/info.vue deleted file mode 100644 index de7968a..0000000 --- a/src/views/intervene/meals/monitoring/foodRecord/components/info/info.vue +++ /dev/null @@ -1,61 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/foodRecord/components/search/search.api.ts b/src/views/intervene/meals/monitoring/foodRecord/components/search/search.api.ts deleted file mode 100644 index a35253a..0000000 --- a/src/views/intervene/meals/monitoring/foodRecord/components/search/search.api.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - treeDepartSecondAndThree = '/sys/sysDepart/recordTreeDepartSecondAndThree', - getRestaurantList = '/foodNourishmentReport/getRestaurantList', -} - -/** - * 部门 - * @param params - */ -export const getTreeDepartSecondAndThree = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.treeDepartSecondAndThree, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -/** - * 食堂 - * @param params - */ -export const restaurantList = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.getRestaurantList, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/foodRecord/components/search/search.data.ts b/src/views/intervene/meals/monitoring/foodRecord/components/search/search.data.ts deleted file mode 100644 index 23cd02d..0000000 --- a/src/views/intervene/meals/monitoring/foodRecord/components/search/search.data.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { FormSchema } from '/@/components/Table'; -import { getTreeDepartSecondAndThree, restaurantList } from './search.api'; -import { useUserStore } from '/@/store/modules/user'; - -export const searchFormSchema: FormSchema[] = [ - { - label: '单位部门', - field: 'departId', - component: 'ApiTreeSelect', - componentProps: () => { - return { - api: getTreeDepartSecondAndThree, - params: { - orgCode: useUserStore()?.getUserInfo.orgCode, - }, - dropdownMatchSelectWidth: false, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '食堂名称', - field: 'canteenId', - component: 'ApiSelect', - componentProps: () => { - return { - api: restaurantList, - labelField: 'restName', - valueField: 'id', - dropdownMatchSelectWidth: false, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '食堂编号', - field: 'restNo', - component: 'Input', - }, - { - label: '用餐时间', - field: 'eatDay', - component: 'DatePicker', - componentProps: { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - style: { - width: '100%', - }, - }, - }, - { - label: '餐次', - field: 'dinnerType', - component: 'Select', - componentProps: () => { - return { - options: [ - { label: '早餐', value: '早餐' }, - { label: '午餐', value: '午餐' }, - { label: '晚餐', value: '晚餐' }, - { label: '加餐', value: '加餐' }, - ], - }; - }, - }, -]; diff --git a/src/views/intervene/meals/monitoring/foodRecord/components/search/search.vue b/src/views/intervene/meals/monitoring/foodRecord/components/search/search.vue deleted file mode 100644 index fd21f46..0000000 --- a/src/views/intervene/meals/monitoring/foodRecord/components/search/search.vue +++ /dev/null @@ -1,68 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/foodRecord/foodRecord.api.ts b/src/views/intervene/meals/monitoring/foodRecord/foodRecord.api.ts deleted file mode 100644 index f6f88c6..0000000 --- a/src/views/intervene/meals/monitoring/foodRecord/foodRecord.api.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - list = '/foodNourishmentReport/getCanteenFoodGoodsList', - exportList = '/foodNourishmentReport/getCanteenFoodGoodsList/export', - statisticsRowList = '/foodNourishmentReport/foodGoodsStatisticsRow', -} - -/** - * 列表接口 - * @param params - */ -export const list = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.list, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -/** - * 导出接口 - * @param params - */ -export const exportList = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.exportList, - params, - headers: { - 'X-Access-Token': token, - }, - responseType: 'blob', - }, - { - apiUrl: stServerUrl, - withToken: false, - isTransformResponse: false, - } - ); -}; - -/** - * 统计接口 - * @param params - */ -export const statisticsRowList = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.statisticsRowList, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/foodRecord/foodRecord.data.ts b/src/views/intervene/meals/monitoring/foodRecord/foodRecord.data.ts deleted file mode 100644 index 83ceadf..0000000 --- a/src/views/intervene/meals/monitoring/foodRecord/foodRecord.data.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - dataIndex: 'index', - width: 80, - customRender: ({ index, record }): any => { - return (record as any).restNo ? index + 1 : ''; - }, - }, - { - title: '所属单位', - align: 'center', - dataIndex: 'departName', - }, - { - title: '食堂名称', - align: 'center', - dataIndex: 'restName', - }, - { - title: '食堂编号', - align: 'center', - width: 160, - dataIndex: 'restNo', - }, - { - title: '用餐时间', - align: 'center', - width: 160, - dataIndex: 'eatDay', - }, - { - title: '餐次', - align: 'center', - width: 140, - dataIndex: 'dinnerType', - }, -]; - diff --git a/src/views/intervene/meals/monitoring/foodRecord/foodRecord.vue b/src/views/intervene/meals/monitoring/foodRecord/foodRecord.vue deleted file mode 100644 index 4acb1a9..0000000 --- a/src/views/intervene/meals/monitoring/foodRecord/foodRecord.vue +++ /dev/null @@ -1,293 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/mealReport/components/info/info.api.ts b/src/views/intervene/meals/monitoring/mealReport/components/info/info.api.ts deleted file mode 100644 index 5ec2451..0000000 --- a/src/views/intervene/meals/monitoring/mealReport/components/info/info.api.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - oneFoodInfo = '/foodNourishmentReport/getOneFoodInfo', -} - -/** - * 详情接口 - * @param params - */ -export const getOneFoodInfo = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.oneFoodInfo, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/mealReport/components/info/info.data.ts b/src/views/intervene/meals/monitoring/mealReport/components/info/info.data.ts deleted file mode 100644 index f690faa..0000000 --- a/src/views/intervene/meals/monitoring/mealReport/components/info/info.data.ts +++ /dev/null @@ -1,64 +0,0 @@ -import {BasicColumn} from '/@/components/Table'; - -//列表数据 -export const columns1: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({index}) => { - return index + 1; - }, - }, - { - title: '食材名称', - align: 'center', - dataIndex: 'goodsName', - }, - { - title: '主辅料类型', - align: 'center', - dataIndex: 'materialTypeValue', - }, - { - title: '食材用量(g)', - align: 'center', - dataIndex: 'useWeight', - }, - { - title: '占比', - align: 'center', - dataIndex: 'percentage', - }, -]; - -//列表数据 -export const columns2: BasicColumn[] = [{ - title: '热量(100g)/kcal', - align: 'center', - dataIndex: 'energyKcal' -}, { - title: '碳水(100g)/g', - align: 'center', - dataIndex: 'cho' -}, { - title: '脂肪(100g)/g', - align: 'center', - dataIndex: 'fat' -}, { - title: '蛋白质(100g)/g', - align: 'center', - dataIndex: 'protein' -}, { - title: '盐(100g)/g', - align: 'center', - dataIndex: 'salt' -}, { - title: '油(100g)/g', - align: 'center', - dataIndex: 'oil' -}, { - title: '糖(100g)/g', - align: 'center', - dataIndex: 'sugar' -}]; diff --git a/src/views/intervene/meals/monitoring/mealReport/components/info/info.vue b/src/views/intervene/meals/monitoring/mealReport/components/info/info.vue deleted file mode 100644 index 02cf5c6..0000000 --- a/src/views/intervene/meals/monitoring/mealReport/components/info/info.vue +++ /dev/null @@ -1,178 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/mealReport/components/search/search.api.ts b/src/views/intervene/meals/monitoring/mealReport/components/search/search.api.ts deleted file mode 100644 index a35253a..0000000 --- a/src/views/intervene/meals/monitoring/mealReport/components/search/search.api.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - treeDepartSecondAndThree = '/sys/sysDepart/recordTreeDepartSecondAndThree', - getRestaurantList = '/foodNourishmentReport/getRestaurantList', -} - -/** - * 部门 - * @param params - */ -export const getTreeDepartSecondAndThree = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.treeDepartSecondAndThree, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -/** - * 食堂 - * @param params - */ -export const restaurantList = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.getRestaurantList, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/mealReport/components/search/search.data.ts b/src/views/intervene/meals/monitoring/mealReport/components/search/search.data.ts deleted file mode 100644 index efd7eae..0000000 --- a/src/views/intervene/meals/monitoring/mealReport/components/search/search.data.ts +++ /dev/null @@ -1,79 +0,0 @@ -import { FormSchema } from '/@/components/Table'; -import {getTreeDepartSecondAndThree, restaurantList} from './search.api'; -import { useUserStore } from '/@/store/modules/user'; - -export const searchFormSchema: FormSchema[] = [ - { - label: '单位部门', - field: 'departId', - component: 'ApiTreeSelect', - componentProps: () => { - return { - api: getTreeDepartSecondAndThree, - params: { - orgCode: useUserStore()?.getUserInfo.orgCode, - }, - dropdownMatchSelectWidth: false, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '食堂名称', - field: 'canteenId', - component: 'ApiSelect', - componentProps: () => { - return { - api: restaurantList, - labelField: 'restName', - valueField: 'id', - dropdownMatchSelectWidth: false, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '食堂编号', - field: 'restNo', - component: 'Input', - }, - { - label: '餐品名称', - field: 'foodName', - component: 'Input', - }, - { - label: '餐品荤素', - field: 'meatVege', - component: 'Select', - componentProps: () => { - return { - options: [ - { label: '荤菜', value: '荤' }, - { label: '素菜', value: '素' }, - { label: '其他', value: '其他' }, - ], - }; - }, - }, - { - label: '餐品凉热', - field: 'hotCold', - component: 'Select', - componentProps: () => { - return { - options: [ - { label: '凉菜', value: '凉' }, - { label: '热菜', value: '热' }, - { label: '其他', value: '其他' }, - ], - }; - }, - }, - { - label: '食材数量', - field: 'goodsNumTypeAndGoodsNum', - component: 'InputGroup', - slot: 'goodsNumTypeAndGoodsNum', - }, -]; diff --git a/src/views/intervene/meals/monitoring/mealReport/components/search/search.vue b/src/views/intervene/meals/monitoring/mealReport/components/search/search.vue deleted file mode 100644 index 55d8322..0000000 --- a/src/views/intervene/meals/monitoring/mealReport/components/search/search.vue +++ /dev/null @@ -1,130 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/mealReport/mealReport.api.ts b/src/views/intervene/meals/monitoring/mealReport/mealReport.api.ts deleted file mode 100644 index 586473f..0000000 --- a/src/views/intervene/meals/monitoring/mealReport/mealReport.api.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - list = '/foodNourishmentReport/getFoodInitialEveryCanteenAndDinnerList', - exportList = '/foodNourishmentReport/getFoodInitialEveryCanteenAndDinnerList/export', - statisticsRowList = '/foodNourishmentReport/foodRecipeStatisticsRow', -} - -/** - * 列表接口 - * @param params - */ -export const list = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.list, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -/** - * 导出接口 - * @param params - */ -export const exportList = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.exportList, - params, - headers: { - 'X-Access-Token': token, - }, - responseType: 'blob', - }, - { - apiUrl: stServerUrl, - withToken: false, - isTransformResponse: false, - } - ); -}; - -/** - * 统计接口 - * @param params - */ -export const statisticsRowList = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.statisticsRowList, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/mealReport/mealReport.data.ts b/src/views/intervene/meals/monitoring/mealReport/mealReport.data.ts deleted file mode 100644 index 11f0ff9..0000000 --- a/src/views/intervene/meals/monitoring/mealReport/mealReport.data.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - dataIndex: 'index', - width: 80, - customRender: ({ index, record }): any => { - return (record as any).foodId ? index + 1 : ''; - }, - }, - { - title: '所属单位', - align: 'center', - dataIndex: 'departName', - }, - { - title: '食堂名称', - align: 'center', - dataIndex: 'restName', - }, - { - title: '食堂编号', - align: 'center', - dataIndex: 'restNo', - }, - { - title: '餐品名称', - align: 'center', - dataIndex: 'foodName', - }, - { - title: '荤素', - align: 'center', - width: 140, - dataIndex: 'meatVege', - }, - { - title: '凉热', - align: 'center', - width: 140, - dataIndex: 'hotCold', - }, - { - title: '食材数量', - align: 'center', - width: 140, - dataIndex: 'goodsNum', - }, -]; diff --git a/src/views/intervene/meals/monitoring/mealReport/mealReport.vue b/src/views/intervene/meals/monitoring/mealReport/mealReport.vue deleted file mode 100644 index 3cd4d5d..0000000 --- a/src/views/intervene/meals/monitoring/mealReport/mealReport.vue +++ /dev/null @@ -1,195 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/nutritionManagement/EquipmentReport.api.ts b/src/views/intervene/meals/monitoring/nutritionManagement/EquipmentReport.api.ts deleted file mode 100644 index 572d71d..0000000 --- a/src/views/intervene/meals/monitoring/nutritionManagement/EquipmentReport.api.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - list = '/foodNourishmentReport/getEquipmentReportListDetail', - exportList = '/foodNourishmentReport/getEquipmentReportListDetail/export', - statisticsRowList = '/foodNourishmentReport/equipmentReportStatisticsRow', -} - -/** - * 列表接口 - * @param params - */ -export const list = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.list, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -/** - * 导出接口 - * @param params - */ -export const exportList = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.exportList, - params, - headers: { - 'X-Access-Token': token, - }, - responseType: 'blob', - }, - { - apiUrl: stServerUrl, - withToken: false, - isTransformResponse: false, - } - ); -}; - -/** - * 统计接口 - * @param params - */ -export const statisticsRowList = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.statisticsRowList, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/nutritionManagement/EquipmentReport.data.ts b/src/views/intervene/meals/monitoring/nutritionManagement/EquipmentReport.data.ts deleted file mode 100644 index 282e150..0000000 --- a/src/views/intervene/meals/monitoring/nutritionManagement/EquipmentReport.data.ts +++ /dev/null @@ -1,79 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { h } from 'vue'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - dataIndex: 'index', - width: 80, - customRender: ({ index, record }): any => { - return (record as any).deviceId ? index + 1 : ''; - }, - }, - { - title: '所属单位', - align: 'center', - dataIndex: 'departName', - }, - { - title: '食堂名称', - align: 'center', - dataIndex: 'restName', - }, - { - title: '设备类别', - align: 'center', - dataIndex: 'equipmentName', - }, - { - title: '设备编号', - align: 'center', - dataIndex: 'deviceNumber', - }, - { - title: '设备状态', - align: 'center', - width: 120, - dataIndex: 'deviceStatus', - customRender: ({ text }) => { - let txt = '' + text + ''; - if (text === '1') { - txt = '正常'; - } - if (text === '0') { - txt = '离线 '; - } - return h('div', { - innerHTML: txt, - }); - }, - }, - { - title: '最近使用时间', - align: 'center', - dataIndex: 'days', - }, - { - title: '餐次', - align: 'center', - width: 100, - dataIndex: 'dinnerType', - }, - { - title: '使用时间段', - align: 'center', - dataIndex: 'useTime', - }, - { - title: '总使用时长(分钟)', - align: 'center', - dataIndex: 'useMin', - }, - { - title: '总使用人次', - align: 'center', - dataIndex: 'useManTime', - }, -]; diff --git a/src/views/intervene/meals/monitoring/nutritionManagement/EquipmentReport.vue b/src/views/intervene/meals/monitoring/nutritionManagement/EquipmentReport.vue deleted file mode 100644 index 0641bc6..0000000 --- a/src/views/intervene/meals/monitoring/nutritionManagement/EquipmentReport.vue +++ /dev/null @@ -1,235 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/nutritionManagement/components/gui/gui.api.ts b/src/views/intervene/meals/monitoring/nutritionManagement/components/gui/gui.api.ts deleted file mode 100644 index 132550b..0000000 --- a/src/views/intervene/meals/monitoring/nutritionManagement/components/gui/gui.api.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - recordTreeDepartSecondAndThree = '/sys/sysDepart/recordTreeDepartSecondAndThree', - restaurantList = '/foodNourishmentReport/getRestaurantList', - views = '/foodNourishmentReport/getEquipmentReportListDetailView/v3', -} - -// 所有部门 -export const getTreeDepartSecondAndThree = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.recordTreeDepartSecondAndThree, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -// 所有食堂 -export const getRestaurantList = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.restaurantList, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -export const getViews = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.views, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/nutritionManagement/components/gui/gui.data.ts b/src/views/intervene/meals/monitoring/nutritionManagement/components/gui/gui.data.ts deleted file mode 100644 index 6ae68e0..0000000 --- a/src/views/intervene/meals/monitoring/nutritionManagement/components/gui/gui.data.ts +++ /dev/null @@ -1,105 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '设备名称', - align: 'center', - dataIndex: 'equipmentName', - }, - { - title: '设备编号', - align: 'center', - dataIndex: 'deviceNumber', - }, - { - title: '设备状态', - align: 'center', - dataIndex: 'deviceStatus', - customRender: ({ text }) => { - const txt = text === '1' ? `正常` : ` 离线 `; - return h('div', { - innerHTML: txt, - }); - }, - }, - { - title: '使用时间', - align: 'center', - dataIndex: 'days', - }, - { - title: '餐次', - align: 'center', - dataIndex: 'dinnerType', - }, - { - title: '使用时间段', - align: 'center', - dataIndex: 'useTime', - }, - { - title: '使用时长(分钟)', - align: 'center', - dataIndex: 'useMin', - }, - { - title: '使用人次', - align: 'center', - dataIndex: 'useManTime', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '设备名称', - field: '1', - component: 'Input', - }, - { - label: '设备编号', - field: '2', - component: 'Input', - }, - { - label: '设备状态', - field: 'sex', - component: 'Select', - componentProps: () => { - return { - options: [ - { label: '离线', value: '1' }, - { label: '正常', value: '2' }, - ], - }; - }, - }, - { - label: '餐次', - field: 'sex', - component: 'Select', - componentProps: () => { - return { - options: [ - { label: '早餐', value: '早餐' }, - { label: '午餐', value: '午餐' }, - { label: '晚餐', value: '晚餐' }, - { label: '加餐', value: '加餐' }, - ], - }; - }, - }, - { - label: '总使用时长(分钟)', - field: 'useMinAndUseMinType', - component: 'InputGroup', - slot: 'useMinAndUseMinType', - }, - { - label: '总使用人次', - field: 'useManTimeAndUseManTimeType', - component: 'InputGroup', - slot: 'useManTimeAndUseManTimeType', - }, -]; diff --git a/src/views/intervene/meals/monitoring/nutritionManagement/components/gui/gui.vue b/src/views/intervene/meals/monitoring/nutritionManagement/components/gui/gui.vue deleted file mode 100644 index 6fdb216..0000000 --- a/src/views/intervene/meals/monitoring/nutritionManagement/components/gui/gui.vue +++ /dev/null @@ -1,582 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/nutritionManagement/components/gui/gui1.vue b/src/views/intervene/meals/monitoring/nutritionManagement/components/gui/gui1.vue deleted file mode 100644 index 51c80e7..0000000 --- a/src/views/intervene/meals/monitoring/nutritionManagement/components/gui/gui1.vue +++ /dev/null @@ -1,596 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/nutritionManagement/components/gui/gui_modal.vue b/src/views/intervene/meals/monitoring/nutritionManagement/components/gui/gui_modal.vue deleted file mode 100644 index 954eafb..0000000 --- a/src/views/intervene/meals/monitoring/nutritionManagement/components/gui/gui_modal.vue +++ /dev/null @@ -1,561 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/nutritionManagement/components/record/record.api.ts b/src/views/intervene/meals/monitoring/nutritionManagement/components/record/record.api.ts deleted file mode 100644 index e66111b..0000000 --- a/src/views/intervene/meals/monitoring/nutritionManagement/components/record/record.api.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - getEquipmentType = '/foodNourishmentReport/getEquipmentType', - getEquipmentCodeList = '/foodNourishmentReport/getEquipmentCodeList', - userInfoAndNourishmentInfo = '/foodNourishmentReport/getEquipmentDetailUseList', -} - -/** - * 设备名称列表 - * @param params - */ -export const equipmentType = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.getEquipmentType, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -/** - * 设备编号 - * @param params - */ -export const equipmentCodeList = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.getEquipmentCodeList, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -/** - * 列表接口 - * @param params - */ -export const getUserInfoAndNourishmentInfo = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.userInfoAndNourishmentInfo, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/nutritionManagement/components/record/record.data.ts b/src/views/intervene/meals/monitoring/nutritionManagement/components/record/record.data.ts deleted file mode 100644 index 951f75b..0000000 --- a/src/views/intervene/meals/monitoring/nutritionManagement/components/record/record.data.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '使用时间段', - align: 'center', - dataIndex: 'useTime', - }, - { - title: '餐次', - align: 'center', - dataIndex: 'dinnerType', - }, - { - title: '使用时间', - align: 'center', - dataIndex: 'days', - }, - { - title: '使用时长(分钟)', - align: 'center', - dataIndex: 'useMin', - }, - { - title: '使用人次', - align: 'center', - dataIndex: 'useManTime', - }, -]; diff --git a/src/views/intervene/meals/monitoring/nutritionManagement/components/record/record.vue b/src/views/intervene/meals/monitoring/nutritionManagement/components/record/record.vue deleted file mode 100644 index f518de5..0000000 --- a/src/views/intervene/meals/monitoring/nutritionManagement/components/record/record.vue +++ /dev/null @@ -1,169 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/nutritionManagement/components/search/search.api.ts b/src/views/intervene/meals/monitoring/nutritionManagement/components/search/search.api.ts deleted file mode 100644 index 2041df9..0000000 --- a/src/views/intervene/meals/monitoring/nutritionManagement/components/search/search.api.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - treeDepartSecondAndThree = '/sys/sysDepart/recordTreeDepartSecondAndThree', - getRestaurantList = '/foodNourishmentReport/getRestaurantList', - getEquipmentType = '/foodNourishmentReport/getEquipmentType', -} - -/** - * 部门 - * @param params - */ -export const getTreeDepartSecondAndThree = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.treeDepartSecondAndThree, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -/** - * 食堂 - * @param params - */ -export const restaurantList = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.getRestaurantList, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -/** - * 设备名称列表 - * @param params - */ -export const equipmentType = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.getEquipmentType, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/nutritionManagement/components/search/search.data.ts b/src/views/intervene/meals/monitoring/nutritionManagement/components/search/search.data.ts deleted file mode 100644 index de241f1..0000000 --- a/src/views/intervene/meals/monitoring/nutritionManagement/components/search/search.data.ts +++ /dev/null @@ -1,110 +0,0 @@ -import { FormSchema } from '/@/components/Table'; -import { restaurantList, getTreeDepartSecondAndThree, equipmentType } from './search.api'; -import { useUserStore } from '/@/store/modules/user'; - -export const searchFormSchema: FormSchema[] = [ - { - label: '单位部门', - field: 'departId', - component: 'ApiTreeSelect', - componentProps: ({ formModel }) => { - return { - api: getTreeDepartSecondAndThree, - params: { - orgCode: useUserStore()?.getUserInfo.orgCode, - }, - dropdownMatchSelectWidth: false, - getPopupContainer: () => document.body, - onChange: () => { - formModel.canteenId = ''; - }, - }; - }, - }, - { - label: '食堂名称', - field: 'canteenId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: restaurantList, - loadApi: restaurantList, - params: { - departId: formModel.departId, - }, - loadApiParams: { - departId: formModel.departId, - }, - labelField: 'restName', - valueField: 'id', - dropdownMatchSelectWidth: false, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '设备类别 ', - field: 'equipmentCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: equipmentType, - labelField: 'name', - valueField: 'equipmentCode', - dropdownMatchSelectWidth: false, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '设备编号', - field: 'deviceNumber', - component: 'Input', - }, - { - label: '设备状态', - field: 'deviceStatus', - component: 'Select', - componentProps: () => { - return { - options: [ - { label: '正常', value: '1' }, - { label: '离线', value: '0' }, - ], - }; - }, - }, - { - label: '餐次', - field: 'dinnerType', - component: 'Select', - componentProps: () => { - return { - options: [ - { label: '早餐', value: '早餐' }, - { label: '午餐', value: '午餐' }, - { label: '晚餐', value: '晚餐' }, - { label: '加餐', value: '加餐' }, - ], - }; - }, - }, - { - label: '最近使用时间', - field: 'days', - component: 'InputGroup', - slot: 'days', - }, - { - label: '总使用时长(分钟)', - field: 'useMinAndUseMinType', - component: 'InputGroup', - slot: 'useMinAndUseMinType', - }, - { - label: '总使用人次', - field: 'useManTimeAndUseManTimeType', - component: 'InputGroup', - slot: 'useManTimeAndUseManTimeType', - }, -]; diff --git a/src/views/intervene/meals/monitoring/nutritionManagement/components/search/search.vue b/src/views/intervene/meals/monitoring/nutritionManagement/components/search/search.vue deleted file mode 100644 index 665303a..0000000 --- a/src/views/intervene/meals/monitoring/nutritionManagement/components/search/search.vue +++ /dev/null @@ -1,158 +0,0 @@ - - - diff --git a/src/views/intervene/meals/monitoring/nutritionMonitoring/components/search/search.api.ts b/src/views/intervene/meals/monitoring/nutritionMonitoring/components/search/search.api.ts deleted file mode 100644 index 19ef371..0000000 --- a/src/views/intervene/meals/monitoring/nutritionMonitoring/components/search/search.api.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - treeDepartSecondAndThree = '/sys/sysDepart/recordTreeDepartSecondAndThree', -} - -/** - * 部门 - * @param params - */ -export const getTreeDepartSecondAndThree = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.treeDepartSecondAndThree, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/nutritionMonitoring/components/search/search.data.ts b/src/views/intervene/meals/monitoring/nutritionMonitoring/components/search/search.data.ts deleted file mode 100644 index 054109e..0000000 --- a/src/views/intervene/meals/monitoring/nutritionMonitoring/components/search/search.data.ts +++ /dev/null @@ -1,110 +0,0 @@ -import { FormSchema } from '/@/components/Table'; -import { getTreeDepartSecondAndThree } from './search.api'; -import { useUserStore } from '/@/store/modules/user'; - -export const searchFormSchema: FormSchema[] = [ - { - label: '单位部门', - field: 'departId', - component: 'ApiTreeSelect', - componentProps: () => { - return { - api: getTreeDepartSecondAndThree, - params: { - orgCode: useUserStore()?.getUserInfo.orgCode, - }, - dropdownMatchSelectWidth: false, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '工号', - field: 'workNo', - component: 'Input', - }, - { - label: '性别', - field: 'sex', - component: 'Select', - componentProps: () => { - return { - options: [ - { label: '男', value: '1' }, - { label: '女', value: '2' }, - ], - }; - }, - }, - { - label: '年龄', - field: 'ageAndAgeType', - component: 'InputGroup', - slot: 'ageAndAgeType', - }, - { - label: '身高(cm)', - field: 'heightAndHeightType', - component: 'InputGroup', - slot: 'heightAndHeightType', - }, - { - label: '体重(kg)', - field: 'weightAndWeightType', - component: 'InputGroup', - slot: 'weightAndWeightType', - }, - { - label: '劳动强度', - field: 'workStrength', - component: 'Select', - componentProps: () => { - return { - options: [ - { label: '重度劳动', value: '1' }, - { label: '中度劳动', value: '2' }, - { label: '轻度劳动', value: '3' }, - { label: '卧床', value: '4' }, - ], - }; - }, - }, - { - label: '用餐餐次', - field: 'dinnerType', - component: 'Select', - componentProps: () => { - return { - options: [ - { label: '早餐', value: '早餐' }, - { label: '午餐', value: '午餐' }, - { label: '晚餐', value: '晚餐' }, - { label: '加餐', value: '加餐' }, - ], - }; - }, - }, - { - label: '摄入食品数', - field: 'foodNumAndFoodNumType', - component: 'InputGroup', - slot: 'foodNumAndFoodNumType', - }, - { - label: '摄入热量(kcal)', - field: 'energyAndEnergyType', - component: 'InputGroup', - slot: 'energyAndEnergyType', - }, - { - label: '营养健康总分', - field: 'maxFractionAndMaxFractionType', - component: 'InputGroup', - slot: 'maxFractionAndMaxFractionType', - }, -]; diff --git a/src/views/intervene/meals/monitoring/nutritionMonitoring/components/search/search.vue b/src/views/intervene/meals/monitoring/nutritionMonitoring/components/search/search.vue deleted file mode 100644 index 73ec67b..0000000 --- a/src/views/intervene/meals/monitoring/nutritionMonitoring/components/search/search.vue +++ /dev/null @@ -1,283 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/nutritionMonitoring/nutritionMonitoring.api.ts b/src/views/intervene/meals/monitoring/nutritionMonitoring/nutritionMonitoring.api.ts deleted file mode 100644 index f0a6f30..0000000 --- a/src/views/intervene/meals/monitoring/nutritionMonitoring/nutritionMonitoring.api.ts +++ /dev/null @@ -1,78 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - list = '/foodNourishmentReport/getUserInfoAndMonitor', - // getWeightAndHeight = '/sys/healthUserEmployeeEx/heightWeight', - exportList = '/foodNourishmentReport/getUserInfoAndMonitor/export', - statisticsRowList = '/foodNourishmentReport/mealRecordsStatisticsRow2', -} - -// export const getWeightAndHeightApi = (params: any) => defHttp.post({ url: Api.getWeightAndHeight, params }); - -/** - * 列表接口 - * @param params - */ -export const list = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.list, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -/** - * 导出接口 - * @param params - */ -export const exportList = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.exportList, - params, - headers: { - 'X-Access-Token': token, - }, - responseType: 'blob', - }, - { - apiUrl: stServerUrl, - withToken: false, - isTransformResponse: false, - } - ); -}; - -/** - * 统计接口 - * @param params - */ -export const statisticsRowList = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.statisticsRowList, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - diff --git a/src/views/intervene/meals/monitoring/nutritionMonitoring/nutritionMonitoring.data.ts b/src/views/intervene/meals/monitoring/nutritionMonitoring/nutritionMonitoring.data.ts deleted file mode 100644 index 692fb66..0000000 --- a/src/views/intervene/meals/monitoring/nutritionMonitoring/nutritionMonitoring.data.ts +++ /dev/null @@ -1,251 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { h } from 'vue'; -import { Tooltip } from 'ant-design-vue'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - dataIndex: 'index', - width: 80, - customRender: ({ index, record }): any => { - return (record as any).id ? index + 1 : ''; - }, - }, - { - title: '所属单位', - align: 'center', - dataIndex: 'secondDepartName', - }, - { - title: '部门', - align: 'center', - dataIndex: 'thirdDepartName', - }, - { - title: '姓名', - align: 'center', - width: 100, - dataIndex: 'realname', - }, - { - title: '工号', - align: 'center', - width: 100, - dataIndex: 'workNo', - }, - { - title: '性别', - align: 'center', - width: 80, - dataIndex: 'sex', - }, - { - title: '年龄', - align: 'center', - width: 60, - dataIndex: 'age', - }, - { - title: '身高(cm)', - align: 'center', - width: 80, - dataIndex: 'height', - }, - { - title: '体重(kg)', - align: 'center', - width: 80, - dataIndex: 'weight', - }, - { - title: 'BMI', - align: 'center', - width: 80, - dataIndex: 'bmi', - }, - { - title: '劳动强度', - align: 'center', - width: 90, - dataIndex: 'workStrength', - }, - { - title: '用餐时间', - align: 'center', - width: 100, - dataIndex: 'statisticsDay', - }, - { - title: '用餐餐次', - align: 'center', - width: 90, - dataIndex: 'dinnerType', - }, - { - title: '摄入餐品数', - align: 'center', - width: 100, - dataIndex: 'foodNum', - }, - { - title: '摄入热量(kcal)', - align: 'center', - width: 110, - dataIndex: 'energy', - }, - { - title: '营养健康总分', - align: 'center', - width: 110, - dataIndex: 'maxFraction', - }, - { - title: '热量可控', - align: 'center', - width: 80, - dataIndex: 'kcal', - }, - { - title: '营养均衡', - align: 'center', - width: 80, - dataIndex: 'balanced', - }, - { - title: '食物多样性', - align: 'center', - width: 90, - dataIndex: 'ingredients', - }, - { - title: '清淡少盐', - align: 'center', - width: 80, - dataIndex: 'na', - }, - { - title: '纤维充足', - align: 'center', - width: 80, - dataIndex: 'fiber', - }, - { - title: '碳水(克)', - align: 'center', - width: 80, - dataIndex: 'cho', - customRender: ({ record }): any => { - return getStatusDom(record, '碳水', 'cho'); - }, - }, - { - title: '脂肪(克)', - align: 'center', - width: 80, - dataIndex: 'fat', - customRender: ({ record }): any => { - return getStatusDom(record, '脂肪', 'fat'); - }, - }, - { - title: '蛋白质(克)', - align: 'center', - width: 100, - dataIndex: 'protein', - customRender: ({ record }): any => { - return getStatusDom(record, '蛋白质', 'protein'); - }, - }, - { - title: '奶及奶制品(克)', - align: 'center', - width: 120, - dataIndex: 'milk', - customRender: ({ record }): any => { - return getStatusDom(record, '奶及奶制品', 'milk'); - }, - }, - { - title: '大豆类及坚果(克)', - align: 'center', - width: 130, - dataIndex: 'beans', - customRender: ({ record }): any => { - return getStatusDom(record, '大豆类及坚果', 'beans'); - }, - }, - { - title: '动物性食物(克)', - align: 'center', - width: 120, - dataIndex: 'animalFood', - customRender: ({ record }): any => { - return getStatusDom(record, '动物性食物', 'animalFood'); - }, - }, - { - title: '蔬菜类(克)', - align: 'center', - width: 100, - dataIndex: 'vegetable', - customRender: ({ record }): any => { - return getStatusDom(record, '蔬菜类', 'vegetable'); - }, - }, - { - title: '水果类(克)', - align: 'center', - width: 100, - dataIndex: 'fruit', - customRender: ({ record }): any => { - return getStatusDom(record, '水果类', 'fruit'); - }, - }, - { - title: '谷类(克)', - align: 'center', - width: 70, - dataIndex: 'cereal', - customRender: ({ record }): any => { - return getStatusDom(record, '谷类', 'cereal'); - }, - }, - { - title: '薯类(克)', - align: 'center', - width: 70, - dataIndex: 'potato', - customRender: ({ record }): any => { - return getStatusDom(record, '薯类', 'potato'); - }, - }, -]; - -const getStatusDom = (record: any, text:string, textKey: string) => { - let hDom; - const statusKey = textKey + 'Status'; - const recommendKey = textKey + 'Recommend'; - const proteinStatus = record[statusKey]; - if (Number(proteinStatus) > 2) { - hDom = h( - Tooltip, - { - title: text + '推荐量:' + record[recommendKey], - placement: 'top', - }, - { - default: () => - h('div', { - innerHTML: '' + record[textKey] + '', - }), - } - ); - } else { - hDom = h('div', { - innerHTML: '' + record[textKey] + '', - }); - } - return hDom; -}; diff --git a/src/views/intervene/meals/monitoring/nutritionMonitoring/nutritionMonitoring.vue b/src/views/intervene/meals/monitoring/nutritionMonitoring/nutritionMonitoring.vue deleted file mode 100644 index 976c2a5..0000000 --- a/src/views/intervene/meals/monitoring/nutritionMonitoring/nutritionMonitoring.vue +++ /dev/null @@ -1,301 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/nutritionRecord/components/search/search.api.ts b/src/views/intervene/meals/monitoring/nutritionRecord/components/search/search.api.ts deleted file mode 100644 index 19ef371..0000000 --- a/src/views/intervene/meals/monitoring/nutritionRecord/components/search/search.api.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - treeDepartSecondAndThree = '/sys/sysDepart/recordTreeDepartSecondAndThree', -} - -/** - * 部门 - * @param params - */ -export const getTreeDepartSecondAndThree = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.treeDepartSecondAndThree, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/nutritionRecord/components/search/search.data.ts b/src/views/intervene/meals/monitoring/nutritionRecord/components/search/search.data.ts deleted file mode 100644 index 346a861..0000000 --- a/src/views/intervene/meals/monitoring/nutritionRecord/components/search/search.data.ts +++ /dev/null @@ -1,110 +0,0 @@ -import { FormSchema } from '/@/components/Table'; -import { getTreeDepartSecondAndThree } from './search.api'; -import { useUserStore } from '/@/store/modules/user'; - -export const searchFormSchema: FormSchema[] = [ - { - label: '单位部门', - field: 'departId', - component: 'ApiTreeSelect', - componentProps: () => { - return { - api: getTreeDepartSecondAndThree, - params: { - orgCode: useUserStore()?.getUserInfo.orgCode, - }, - dropdownMatchSelectWidth: false, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '工号', - field: 'workNo', - component: 'Input', - }, - { - label: '性别', - field: 'sex', - component: 'Select', - componentProps: () => { - return { - options: [ - { label: '男', value: '1' }, - { label: '女', value: '2' }, - ], - }; - }, - }, - { - label: '年龄', - field: 'ageAndAgeType', - component: 'InputGroup', - slot: 'ageAndAgeType', - }, - { - label: '身高(cm)', - field: 'heightAndHeightType', - component: 'InputGroup', - slot: 'heightAndHeightType', - }, - { - label: '体重(kg)', - field: 'weightAndWeightType', - component: 'InputGroup', - slot: 'weightAndWeightType', - }, - { - label: '劳动强度', - field: 'workStrength', - component: 'Select', - componentProps: () => { - return { - options: [ - { label: '重度劳动', value: '1' }, - { label: '中度劳动', value: '2' }, - { label: '轻度劳动', value: '3' }, - { label: '卧床', value: '4' }, - ], - }; - }, - }, - { - label: '用餐餐次', - field: 'dinnerType', - component: 'Select', - componentProps: () => { - return { - options: [ - { label: '早餐', value: '早餐' }, - { label: '午餐', value: '午餐' }, - { label: '晚餐', value: '晚餐' }, - { label: '加餐', value: '加餐' }, - ], - }; - }, - }, - { - label: '摄入食品数', - field: 'foodNumAndFoodNumType', - component: 'InputGroup', - slot: 'foodNumAndFoodNumType', - }, - { - label: '摄入热量(kcal)', - field: 'energyAndEnergyType', - component: 'InputGroup', - slot: 'energyAndEnergyType', - }, - { - label: 'bmi', - field: 'bmiAndBmiType', - component: 'InputGroup', - slot: 'bmiAndBmiType', - }, -]; diff --git a/src/views/intervene/meals/monitoring/nutritionRecord/components/search/search.vue b/src/views/intervene/meals/monitoring/nutritionRecord/components/search/search.vue deleted file mode 100644 index 42fc991..0000000 --- a/src/views/intervene/meals/monitoring/nutritionRecord/components/search/search.vue +++ /dev/null @@ -1,278 +0,0 @@ - - - diff --git a/src/views/intervene/meals/monitoring/nutritionRecord/nutritionRecord.api.ts b/src/views/intervene/meals/monitoring/nutritionRecord/nutritionRecord.api.ts deleted file mode 100644 index c7b9aee..0000000 --- a/src/views/intervene/meals/monitoring/nutritionRecord/nutritionRecord.api.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - list = '/foodNourishmentReport/getUserInfoAndNourishment', - // getWeightAndHeight = '/sys/healthUserEmployeeEx/heightWeight', - exportList = '/foodNourishmentReport/getUserInfoAndNourishment/export', - statisticsRowList = '/foodNourishmentReport/mealRecordsStatisticsRow1', -} - -// export const getWeightAndHeightApi = (params: any) => defHttp.post({ url: Api.getWeightAndHeight, params }); - -/** - * 列表接口 - * @param params - */ -export const list = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.list, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -/** - * 导出接口 - * @param params - */ -export const exportList = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.exportList, - params, - headers: { - 'X-Access-Token': token, - }, - responseType: 'blob', - }, - { - apiUrl: stServerUrl, - withToken: false, - isTransformResponse: false, - } - ); -}; - -/** - * 统计接口 - * @param params - */ -export const statisticsRowList = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.statisticsRowList, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/nutritionRecord/nutritionRecord.data.ts b/src/views/intervene/meals/monitoring/nutritionRecord/nutritionRecord.data.ts deleted file mode 100644 index f001c57..0000000 --- a/src/views/intervene/meals/monitoring/nutritionRecord/nutritionRecord.data.ts +++ /dev/null @@ -1,333 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { h } from 'vue'; -import { Tooltip } from 'ant-design-vue'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - dataIndex: 'index', - width: 80, - customRender: ({ index, record }): any => { - return (record as any).id ? index + 1 : ''; - }, - }, - { - title: '所属单位', - align: 'center', - dataIndex: 'secondDepartName', - }, - { - title: '部门', - align: 'center', - dataIndex: 'thirdDepartName', - }, - { - title: '姓名', - align: 'center', - width: 100, - dataIndex: 'realname', - }, - { - title: '工号', - align: 'center', - width: 100, - dataIndex: 'workNo', - }, - { - title: '性别', - align: 'center', - width: 80, - dataIndex: 'sex', - }, - { - title: '年龄', - align: 'center', - width: 60, - dataIndex: 'age', - }, - { - title: '身高(cm)', - align: 'center', - width: 80, - dataIndex: 'height', - }, - { - title: '体重(kg)', - align: 'center', - width: 80, - dataIndex: 'weight', - }, - { - title: 'BMI', - align: 'center', - width: 80, - dataIndex: 'bmi', - }, - { - title: '劳动强度', - align: 'center', - width: 90, - dataIndex: 'workStrength', - }, - { - title: '用餐时间', - align: 'center', - width: 100, - dataIndex: 'statisticsDay', - }, - { - title: '用餐餐次', - align: 'center', - width: 90, - dataIndex: 'dinnerType', - }, - { - title: '摄入餐品数', - align: 'center', - width: 100, - dataIndex: 'foodNum', - }, - { - title: '摄入热量(kcal)', - align: 'center', - width: 110, - dataIndex: 'energy', - }, - - { - title: '蛋白质(克)', - align: 'center', - width: 90, - dataIndex: 'protein', - customRender: ({ record }): any => { - return getStatusDom(record, '蛋白质', 'protein'); - }, - }, - { - title: '脂肪(克)', - align: 'center', - width: 80, - dataIndex: 'fat', - customRender: ({ record }): any => { - return getStatusDom(record, '脂肪', 'fat'); - }, - }, - { - title: '碳水化物(克)', - align: 'center', - width: 100, - dataIndex: 'cho', - customRender: ({ record }): any => { - return getStatusDom(record, '碳水化物', 'cho'); - }, - }, - { - title: '膳食纤维(克)', - align: 'center', - width: 110, - dataIndex: 'dietFiber', - customRender: ({ record }): any => { - return getStatusDom(record, '膳食纤维', 'dietFiber'); - }, - }, - { - title: '维生素A(微克)', - align: 'center', - width: 110, - dataIndex: 'vitA', - customRender: ({ record }): any => { - return getStatusDom(record, '维生素A', 'vitA'); - }, - }, - { - title: '维生素B1(毫克)', - align: 'center', - width: 120, - dataIndex: 'thiamin', - customRender: ({ record }): any => { - return getStatusDom(record, '维生素B1', 'thiamin'); - }, - }, - { - title: '维生素B2(毫克)', - align: 'center', - width: 120, - dataIndex: 'riboflavin', - customRender: ({ record }): any => { - return getStatusDom(record, '维生素B2', 'riboflavin'); - }, - }, - { - title: '维生素B6(毫克)', - align: 'center', - width: 120, - dataIndex: 'vitB6', - customRender: ({ record }): any => { - return getStatusDom(record, '维生素B6', 'vitB6'); - }, - }, - { - title: '维生素B12(微克)', - align: 'center', - width: 130, - dataIndex: 'vitB12', - customRender: ({ record }): any => { - return getStatusDom(record, '维生素B12', 'vitB12'); - }, - }, - { - title: '叶酸(微克)', - align: 'center', - width: 90, - dataIndex: 'folate', - customRender: ({ record }): any => { - return getStatusDom(record, '叶酸', 'folate'); - }, - }, - { - title: '烟酸(毫克)', - align: 'center', - width: 90, - dataIndex: 'naicin', - customRender: ({ record }): any => { - return getStatusDom(record, '烟酸', 'naicin'); - }, - }, - { - title: '维生素C(毫克)', - align: 'center', - width: 110, - dataIndex: 'vitC', - customRender: ({ record }): any => { - return getStatusDom(record, '维生素C', 'vitC'); - }, - }, - { - title: '维生素E(毫克)', - align: 'center', - width: 110, - dataIndex: 'vitE', - customRender: ({ record }): any => { - return getStatusDom(record, '维生素E', 'vitE'); - }, - }, - { - title: '钙(毫克)', - align: 'center', - width: 70, - dataIndex: 'ca', - customRender: ({ record }): any => { - return getStatusDom(record, '钙', 'ca'); - }, - }, - { - title: '钾(毫克)', - align: 'center', - width: 70, - dataIndex: 'elementK', - customRender: ({ record }): any => { - return getStatusDom(record, '钾', 'elementK'); - }, - }, - { - title: '钠(毫克)', - align: 'center', - width: 70, - dataIndex: 'na', - customRender: ({ record }): any => { - return getStatusDom(record, '钠', 'na'); - }, - }, - { - title: '镁(毫克)', - align: 'center', - width: 70, - dataIndex: 'mg', - customRender: ({ record }): any => { - return getStatusDom(record, '镁', 'mg'); - }, - }, - { - title: '铁(毫克)', - align: 'center', - width: 70, - dataIndex: 'fe', - customRender: ({ record }): any => { - return getStatusDom(record, '铁', 'fe'); - }, - }, - { - title: '锌(毫克)', - align: 'center', - width: 70, - dataIndex: 'zn', - customRender: ({ record }): any => { - return getStatusDom(record, '锌', 'zn'); - }, - }, - { - title: '硒(微克)', - align: 'center', - width: 70, - dataIndex: 'se', - customRender: ({ record }): any => { - return getStatusDom(record, '硒', 'se'); - }, - }, - { - title: '铜(毫克)', - align: 'center', - width: 70, - dataIndex: 'cu', - customRender: ({ record }): any => { - return getStatusDom(record, '铜', 'cu'); - }, - }, - { - title: '锰(毫克)', - align: 'center', - width: 70, - dataIndex: 'mn', - customRender: ({ record }): any => { - return getStatusDom(record, '锰', 'mn'); - }, - }, - { - title: '碘(微克)', - align: 'center', - width: 70, - dataIndex: 'elementI', - customRender: ({ record }): any => { - return getStatusDom(record, '碘', 'elementI'); - }, - }, -]; - -const getStatusDom = (record: any, text:string, textKey: string) => { - let hDom; - const statusKey = textKey + 'Status'; - const recommendKey = textKey + 'Recommend'; - const proteinStatus = record[statusKey]; - if (Number(proteinStatus) > 2) { - hDom = h( - Tooltip, - { - title: text + '推荐量:' + record[recommendKey], - placement: 'top', - }, - { - default: () => - h('div', { - innerHTML: '' + record[textKey] + '', - }), - } - ); - } else { - hDom = h('div', { - innerHTML: '' + record[textKey] + '', - }); - } - return hDom; -}; diff --git a/src/views/intervene/meals/monitoring/nutritionRecord/nutritionRecord.vue b/src/views/intervene/meals/monitoring/nutritionRecord/nutritionRecord.vue deleted file mode 100644 index c2fbada..0000000 --- a/src/views/intervene/meals/monitoring/nutritionRecord/nutritionRecord.vue +++ /dev/null @@ -1,301 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/recipeRecord/components/info/info.api.ts b/src/views/intervene/meals/monitoring/recipeRecord/components/info/info.api.ts deleted file mode 100644 index b6f90f1..0000000 --- a/src/views/intervene/meals/monitoring/recipeRecord/components/info/info.api.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - canteenRestaurantRecipeInfoList = '/foodNourishmentReport/getCanteenRestaurantRecipeInfoList', -} - -/** - * 列表接口 - * @param params - */ -export const getCanteenRestaurantRecipeInfoList = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.canteenRestaurantRecipeInfoList, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/recipeRecord/components/info/info.data.ts b/src/views/intervene/meals/monitoring/recipeRecord/components/info/info.data.ts deleted file mode 100644 index 8b3688e..0000000 --- a/src/views/intervene/meals/monitoring/recipeRecord/components/info/info.data.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '餐品名称', - align: 'center', - dataIndex: 'foodName', - }, - { - title: '餐品分类', - align: 'center', - dataIndex: 'foodClassName', - }, - { - title: '荤素', - align: 'center', - dataIndex: 'meatVege', - }, - { - title: '凉热', - align: 'center', - dataIndex: 'hotCold', - }, - { - title: '取餐人数', - align: 'center', - dataIndex: 'personNum', - }, - { - title: '取用量', - align: 'center', - dataIndex: 'eatWeight', - }, - { - title: '剩余量', - align: 'center', - dataIndex: 'remainderWeight', - }, -]; diff --git a/src/views/intervene/meals/monitoring/recipeRecord/components/info/info.vue b/src/views/intervene/meals/monitoring/recipeRecord/components/info/info.vue deleted file mode 100644 index 97f89ec..0000000 --- a/src/views/intervene/meals/monitoring/recipeRecord/components/info/info.vue +++ /dev/null @@ -1,64 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/recipeRecord/components/search/search.api.ts b/src/views/intervene/meals/monitoring/recipeRecord/components/search/search.api.ts deleted file mode 100644 index a35253a..0000000 --- a/src/views/intervene/meals/monitoring/recipeRecord/components/search/search.api.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - treeDepartSecondAndThree = '/sys/sysDepart/recordTreeDepartSecondAndThree', - getRestaurantList = '/foodNourishmentReport/getRestaurantList', -} - -/** - * 部门 - * @param params - */ -export const getTreeDepartSecondAndThree = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.treeDepartSecondAndThree, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -/** - * 食堂 - * @param params - */ -export const restaurantList = async (params) => { - const token = await getStToken({}); - return defHttp.get( - { - url: Api.getRestaurantList, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/recipeRecord/components/search/search.data.ts b/src/views/intervene/meals/monitoring/recipeRecord/components/search/search.data.ts deleted file mode 100644 index c86f55e..0000000 --- a/src/views/intervene/meals/monitoring/recipeRecord/components/search/search.data.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { FormSchema } from '/@/components/Table'; -import { getTreeDepartSecondAndThree, restaurantList } from './search.api'; -import { useUserStore } from '/@/store/modules/user'; - -export const searchFormSchema: FormSchema[] = [ - { - label: '单位部门', - field: 'departId', - component: 'ApiTreeSelect', - componentProps: () => { - return { - api: getTreeDepartSecondAndThree, - params: { - orgCode: useUserStore()?.getUserInfo.orgCode, - }, - dropdownMatchSelectWidth: false, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '食堂名称', - field: 'canteenId', - component: 'ApiSelect', - componentProps: () => { - return { - api: restaurantList, - labelField: 'restName', - valueField: 'id', - dropdownMatchSelectWidth: false, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '食堂编号', - field: 'restNo', - component: 'Input', - }, - { - label: '用餐时间', - field: 'eatDay', - component: 'DatePicker', - componentProps: { - showTime: false, - valueFormat: 'YYYY-MM-DD', - style: { - width: '100%', - }, - }, - }, - { - label: '餐次', - field: 'dinnerType', - component: 'Select', - componentProps: () => { - return { - options: [ - { label: '早餐', value: '早餐' }, - { label: '午餐', value: '午餐' }, - { label: '晚餐', value: '晚餐' }, - { label: '加餐', value: '加餐' }, - ], - }; - }, - }, - { - label: '餐品数量', - field: 'foodNumAndFoodNumType', - component: 'InputGroup', - slot: 'foodNumAndFoodNumType', - }, -]; diff --git a/src/views/intervene/meals/monitoring/recipeRecord/components/search/search.vue b/src/views/intervene/meals/monitoring/recipeRecord/components/search/search.vue deleted file mode 100644 index 412b592..0000000 --- a/src/views/intervene/meals/monitoring/recipeRecord/components/search/search.vue +++ /dev/null @@ -1,128 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/monitoring/recipeRecord/recipeRecord.api.ts b/src/views/intervene/meals/monitoring/recipeRecord/recipeRecord.api.ts deleted file mode 100644 index 9cbd73b..0000000 --- a/src/views/intervene/meals/monitoring/recipeRecord/recipeRecord.api.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { stServerUrl } from '/@/utils/http/stRequestToken/serverUrl'; -import { getStToken } from '/@/utils/http/stRequestToken'; - -export enum Api { - list = '/foodNourishmentReport/getCanteenRestaurantRecipePage', - exportList = '/foodNourishmentReport/getCanteenRestaurantRecipePage/export', - statisticsRowList = '/foodNourishmentReport/restaurantRecipeStatisticsRow', -} - -/** - * 列表接口 - * @param params - */ -export const list = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.list, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; - -/** - * 导出接口 - * @param params - */ -export const exportList = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.exportList, - params, - headers: { - 'X-Access-Token': token, - }, - responseType: 'blob', - }, - { - apiUrl: stServerUrl, - withToken: false, - isTransformResponse: false, - } - ); -}; - -/** - * 统计接口 - * @param params - */ -export const statisticsRowList = async (params) => { - const token = await getStToken({}); - return defHttp.post( - { - url: Api.statisticsRowList, - params, - headers: { - 'X-Access-Token': token, - }, - }, - { - apiUrl: stServerUrl, - withToken: false, - } - ); -}; diff --git a/src/views/intervene/meals/monitoring/recipeRecord/recipeRecord.data.ts b/src/views/intervene/meals/monitoring/recipeRecord/recipeRecord.data.ts deleted file mode 100644 index 90e5cf1..0000000 --- a/src/views/intervene/meals/monitoring/recipeRecord/recipeRecord.data.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - dataIndex: 'index', - width: 80, - customRender: ({ index, record }): any => { - return (record as any).restNo ? index + 1 : ''; - }, - }, - { - title: '所属单位', - align: 'center', - dataIndex: 'departName', - }, - { - title: '食堂名称', - align: 'center', - dataIndex: 'restName', - }, - { - title: '食堂编号', - align: 'center', - width: 160, - dataIndex: 'restNo', - }, - { - title: '用餐时间', - align: 'center', - width: 160, - dataIndex: 'days', - }, - { - title: '餐次', - align: 'center', - width: 140, - dataIndex: 'dinnerType', - }, - { - title: '餐品数', - align: 'center', - width: 140, - dataIndex: 'foodNum', - }, -]; diff --git a/src/views/intervene/meals/monitoring/recipeRecord/recipeRecord.vue b/src/views/intervene/meals/monitoring/recipeRecord/recipeRecord.vue deleted file mode 100644 index 754862f..0000000 --- a/src/views/intervene/meals/monitoring/recipeRecord/recipeRecord.vue +++ /dev/null @@ -1,290 +0,0 @@ - - - - - diff --git a/src/views/intervene/meals/nutrition/diabetes.vue b/src/views/intervene/meals/nutrition/diabetes.vue deleted file mode 100644 index feca928..0000000 --- a/src/views/intervene/meals/nutrition/diabetes.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/meals/nutrition/hypertension.vue b/src/views/intervene/meals/nutrition/hypertension.vue deleted file mode 100644 index 23b5930..0000000 --- a/src/views/intervene/meals/nutrition/hypertension.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/meals/nutrition/metabolize.vue b/src/views/intervene/meals/nutrition/metabolize.vue deleted file mode 100644 index 203964e..0000000 --- a/src/views/intervene/meals/nutrition/metabolize.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/meals/video/index.vue b/src/views/intervene/meals/video/index.vue deleted file mode 100644 index ee37b71..0000000 --- a/src/views/intervene/meals/video/index.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/meals/warning/index.vue b/src/views/intervene/meals/warning/index.vue deleted file mode 100644 index 568b773..0000000 --- a/src/views/intervene/meals/warning/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/src/views/intervene/medical/MedicalResource/MedicalResource.api.ts b/src/views/intervene/medical/MedicalResource/MedicalResource.api.ts deleted file mode 100644 index e01f90f..0000000 --- a/src/views/intervene/medical/MedicalResource/MedicalResource.api.ts +++ /dev/null @@ -1,79 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical-center/medicalCenter/medicalResource/listCustom', - allList = '/medical-center/medicalCenter/medicalResource/all', - save = '/medical-center/medicalCenter/medicalResource/add', - edit = '/medical-center/medicalCenter/medicalResource/edit', - deleteOne = '/medical-center/medicalCenter/medicalResource/delete', - deleteBatch = '/medical-center/medicalCenter/medicalResource/deleteBatch', - importExcel = '/medical-center/medicalCenter/medicalResource/importExcel', - exportXls = '/medical-center/medicalCenter/medicalResource/exportXls', - allSecondaryDepartsNewBack = '/sys/sysDepart/allSecondaryDepartsNewBack', - selectMedicalHospitalList='/medical-center/medicalCenter/medicalHospital/selectMedicalHospitalList' -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const allSecondaryDepartsNewBack = (params = {}) => defHttp.get({ url: Api.allSecondaryDepartsNewBack, params }); -export const list = (params) => defHttp.get({ url: Api.list, params }); -export const allList = (params) => defHttp.get({ url: Api.allList, params }); -//新查询医院列表 -export const selectMedicalHospitalList = (params) => defHttp.get({ url: Api.selectMedicalHospitalList, params }); -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/intervene/medical/MedicalResource/MedicalResource.data.ts b/src/views/intervene/medical/MedicalResource/MedicalResource.data.ts deleted file mode 100644 index 97f4617..0000000 --- a/src/views/intervene/medical/MedicalResource/MedicalResource.data.ts +++ /dev/null @@ -1,303 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; -import { allSecondaryDepartsNewBack, selectMedicalHospitalList } from '/@/views/intervene/medical/MedicalResource/MedicalResource.api'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '医疗点名称', - align: 'center', - dataIndex: 'name', - }, - { - title: '医疗点地址', - align: 'center', - dataIndex: 'address', - }, - { - title: '所属医院', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '联系电话', - align: 'center', - dataIndex: 'mobile', - }, - { - title: '单位', - align: 'center', - dataIndex: 'departName', - }, - { - title: '负责人', - align: 'center', - dataIndex: 'adminUser', - }, - { - title: '设立时间', - align: 'center', - dataIndex: 'setUpTime', - }, - { - title: '医护人员数量', - align: 'center', - dataIndex: 'medicalStaffNum', - }, - { - title: '辐射人数', - align: 'center', - dataIndex: 'radiationNum', - }, - { - title: '救护车数量', - align: 'center', - dataIndex: 'ambulanceNum', - }, - // { - // title: '辐射单位', - // align: 'center', - // dataIndex: 'radiationDepart', - // }, - { - // title: '状态(0正常 1停用)', - title: '开启状态', - align: 'center', - fixed: 'right', - dataIndex: 'status', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '医疗点名称', - field: 'name', - component: 'Input', - }, - { - label: '单位', - field: 'departCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: allSecondaryDepartsNewBack, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '医疗点名称', - field: 'name', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '图片', - field: 'img', - component: 'JImageUpload', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '医疗点地址', - field: 'address', - component: 'Input', - slot: 'addressSlot', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '联系电话', - field: 'mobile', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '经度', - field: 'longitude', - component: 'InputNumber', - ifShow: () => false, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '纬度', - field: 'latitude', - component: 'InputNumber', - ifShow: () => false, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '所属单位', - field: 'departCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: allSecondaryDepartsNewBack, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: (_value, arg) => { - formModel.departName = arg?.label; - }, - }; - }, - rules: [{ required: true, trigger: 'change' }], - }, - // { - // label: '医疗点类型 (1:油田医院 2:合作医院 3:医疗点 4:aed 5:救护车 6:护理员)', - // field: 'type', - // component: 'Input', - // dynamicRules: ({ model, schema }) => { - // return [{ required: true, message: '请输入医疗点类型 (1:油田医院 2:合作医院 3:医疗点 4:aed 5:救护车 6:护理员)!' }]; - // }, - // }, - { - label: '所属医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - // @ts-ignore - api: selectMedicalHospitalList, - resultField: 'list', - labelField: 'resourceName', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: (_value, arg) => { - formModel.hospitalName = arg?.label; - }, - }; - }, - rules: [{ required: true, trigger: 'change' }], - }, - { - label: '负责人', - field: 'adminUser', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '设立时间', - field: 'setUpTime', - component: 'DatePicker', - componentProps: () => { - return { - // showTime: true, - valueFormat: 'YYYY-MM-DD', - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - // { - // label: '医护人员数量', - // field: 'medicalStaffNum', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // }, - { - label: '辐射人数', - field: 'radiationNum', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '救护车数量', - field: 'ambulanceNum', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '辐射单位', - field: 'radiationDepart', - component: 'ApiSelect', - componentProps: () => { - return { - // @ts-ignore - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - mode: 'multiple', - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - rules: [{ required: true, validator: validatorDepart, trigger: 'blur' }], - }, - { - label: '简介', - field: 'resourceDesc', - component: 'InputTextArea', - }, - { - label: '所属医院', - field: 'hospitalName', - component: 'Input', - show: false, - }, - { - label: '单位', - field: 'departName', - component: 'Input', - show: false, - }, - { - label: '状态', - field: 'status', - component: 'JDictSelectTag', - defaultValue: '0', - componentProps: () => { - return { - dictCode: 'data_status', - type: 'radio', - }; - }, - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} - -function validatorDepart(_, value) { - if (value && value.length > 0) { - return Promise.resolve(); - } else { - return Promise.reject('请选择辐射单位'); - } -} diff --git a/src/views/intervene/medical/MedicalResource/MedicalResourceList.vue b/src/views/intervene/medical/MedicalResource/MedicalResourceList.vue deleted file mode 100644 index 3bbe66f..0000000 --- a/src/views/intervene/medical/MedicalResource/MedicalResourceList.vue +++ /dev/null @@ -1,245 +0,0 @@ - - - - - diff --git a/src/views/intervene/medical/MedicalResource/components/Map.vue b/src/views/intervene/medical/MedicalResource/components/Map.vue deleted file mode 100644 index 66a5036..0000000 --- a/src/views/intervene/medical/MedicalResource/components/Map.vue +++ /dev/null @@ -1,248 +0,0 @@ - - - - diff --git a/src/views/intervene/medical/MedicalResource/components/MedicalResourceForm.vue b/src/views/intervene/medical/MedicalResource/components/MedicalResourceForm.vue deleted file mode 100644 index 48cdcee..0000000 --- a/src/views/intervene/medical/MedicalResource/components/MedicalResourceForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/intervene/medical/MedicalResource/components/MedicalResourceModal.vue b/src/views/intervene/medical/MedicalResource/components/MedicalResourceModal.vue deleted file mode 100644 index 863f1e0..0000000 --- a/src/views/intervene/medical/MedicalResource/components/MedicalResourceModal.vue +++ /dev/null @@ -1,108 +0,0 @@ - - - - - diff --git a/src/views/intervene/medical/slowManage/components/follow/componets/followDrawer.vue b/src/views/intervene/medical/slowManage/components/follow/componets/followDrawer.vue deleted file mode 100644 index ae170ba..0000000 --- a/src/views/intervene/medical/slowManage/components/follow/componets/followDrawer.vue +++ /dev/null @@ -1,458 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/components/follow/componets/followShow.vue b/src/views/intervene/medical/slowManage/components/follow/componets/followShow.vue deleted file mode 100644 index 8e38f85..0000000 --- a/src/views/intervene/medical/slowManage/components/follow/componets/followShow.vue +++ /dev/null @@ -1,74 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/components/follow/follow.api.ts b/src/views/intervene/medical/slowManage/components/follow/follow.api.ts deleted file mode 100644 index 6b1d843..0000000 --- a/src/views/intervene/medical/slowManage/components/follow/follow.api.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -import { BasicColumn } from '/@/components/Table'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical-center/medicalCenter/followUpRecord/list', - add = '/medical-center/medicalCenter/followUpRecord/add', - exportXls = '/medical-center/medicalCenter/followUpRecord/exportXls', - queryById = '/medical-center/medicalCenter/followUpRecord/queryById', - queryByFollowUpRecordIdPdf = '/medical-center/medicalCenter/followUpRecord/queryByFollowUpRecordIdPdf', - edit = '/medical-center/medicalCenter/followUpRecord/edit', - deleteOne = '/medical-center/medicalCenter/followUpRecord/delete', - deleteBatch = '/medical-center/medicalCenter/followUpRecord/deleteBatch', - allSecondaryDepartsNewBack = '/sys/sysDepart/allSecondaryDepartsNewBack', // 新单位 2024.2.27 -} - -export const getExportUrl = Api.exportXls; -export const list = (params) => defHttp.get({ url: Api.list, params }); -export const allSecondaryDepartsNewBack = (params = {}) => defHttp.get({ url: Api.allSecondaryDepartsNewBack, params }); -export const queryById = (params) => defHttp.get({ url: Api.queryById, params }); -export const queryByFollowUpRecordIdPdf = (params) => defHttp.get({ url: Api.queryByFollowUpRecordIdPdf, params }, { isTransformResponse: false }); -export const edit = (params) => defHttp.put({ url: Api.edit, params }); -export const add = (params) => defHttp.post({ url: Api.add, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; - -export const recordColumns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '就诊疾病', - align: 'center', - dataIndex: 'diagnosisDisease', - }, - { - title: '就诊医疗点', - align: 'center', - dataIndex: 'medicalCenterName', - }, - { - title: '就诊医生', - align: 'center', - dataIndex: 'doctorName', - }, - { - title: '就诊日期', - align: 'center', - dataIndex: 'diagnosisDate', - }, -]; diff --git a/src/views/intervene/medical/slowManage/components/follow/follow.data.ts b/src/views/intervene/medical/slowManage/components/follow/follow.data.ts deleted file mode 100644 index b96e01e..0000000 --- a/src/views/intervene/medical/slowManage/components/follow/follow.data.ts +++ /dev/null @@ -1,625 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { medicalCenterList, resourceStaff } from '/@/views/medicalCenter/treatment/treatment.api'; -import { message } from 'ant-design-vue'; -import { allSecondaryDepartsNewBack } from '/@/views/intervene/medical/slowManage/components/follow/follow.api'; -import { useUserStore } from '/@/store/modules/user'; - -const userInfo = useUserStore().userInfo; -const isConfirm = { - options: [ - { label: '否', value: '0' }, - { label: '是', value: '1' }, - ], -}; -export const columns: BasicColumn[] = [ - { - title: '随访员工', - dataIndex: 'userName', - align: 'center', - }, - { - title: '员工编号', - dataIndex: 'userNo', - align: 'center', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - align: 'center', - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - }, - { - title: '症状', - dataIndex: 'symptom', - align: 'center', - }, - { - title: '随访医疗点', - dataIndex: 'medicalName', - align: 'center', - }, - { - title: '所属单位', - dataIndex: 'orgName', - align: 'center', - }, - { - title: '随访医生', - dataIndex: 'doctorName', - align: 'center', - }, - { - title: '随访形式', - dataIndex: 'followUp', - align: 'center', - }, - { - title: '随访日期', - dataIndex: 'followDate', - align: 'center', - }, - { - title: '员工确认状态', - dataIndex: 'tfConfirm_dictText', - align: 'center', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'userName', - component: 'Input', - }, - { - label: '单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: allSecondaryDepartsNewBack, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onDeselect: () => { - formModel.medicalId = ''; - }, - }; - }, - ifShow: !userInfo?.roleCodes.includes('medical_staff_role'), - }, - { - label: '医疗点', - field: 'medicalId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel.orgCode || 'abc', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onFocus: () => { - if (!formModel.orgCode) { - return message.warning('请先选择单位'); - } - }, - }; - }, - }, - { - label: '随访日期', - field: 'joinDate', - component: 'RangeDate', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - }; - }, - }, - { - label: '员工是否确认', - field: 'tfConfirm', - component: 'Select', - componentProps: () => isConfirm, - }, -]; - -export const formSchema: FormSchema[] = [ - { - label: '随访员工', - field: 'userName', - component: 'Input', - slot: 'employSlot', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '员工id', - field: 'userId', - component: 'Input', - show: false, - }, - { - label: '员工编号', - field: 'userNo', - component: 'Input', - show: false, - }, - { - label: '性别T', - field: 'sex', - component: 'Input', - show: false, - }, - { - label: '性别', - field: 'sex_dictText', - component: 'Input', - show: false, - }, - { - label: '年龄', - field: 'age', - component: 'Input', - show: false, - }, - { - label: '联系电话', - field: 'telPhone', - component: 'Input', - show: false, - }, - { - label: '所属单位', - field: 'orgCode', - component: 'Input', - show: false, - }, - { - label: '所属单位', - field: 'orgName', - component: 'Input', - show: false, - }, - { - label: '医疗点', - field: 'medicalId', - component: 'Input', - show: false, - }, - { - label: '症状', - field: 'symptom', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '体征', - field: 'name', - component: 'Input', - slot: 'tSlot', - }, - { - label: '生活方式', - field: 'name', - component: 'Input', - slot: 'lSlot', - }, - { - label: '用药情况', - field: 'name', - component: 'Input', - slot: 'mSlot', - }, - { - label: '健康风险评估', - field: 'name', - component: 'Input', - slot: 'hSlot', - }, - { - label: '膳食处方', - field: 'foodFormula', - component: 'InputTextArea', - required: true, - }, - { - label: '运动处方', - field: 'exerciseFormula', - component: 'InputTextArea', - required: true, - }, - { - label: '随访形式', - field: 'followUp', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '随访效果评价', - field: 'evaluate', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '随访时间', - field: 'followDate', - component: 'DatePicker', - componentProps: () => { - return { - // showTime: true, - valueFormat: 'YYYY-MM-DD', - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '随访医生', - field: 'doctorId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: resourceStaff, - params: { - resourceId: formModel?.medicalId || 'abab123', - }, - resultField: 'list', - labelField: 'realname', - valueField: 'id', - immediate: !!formModel?.orgCode, - showSearch: true, - onFocus: () => { - if (!formModel?.orgCode) { - return message.warn('请先选择随访员工'); - } - }, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - // getPopupContainer: () => document.body, - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '下次随访日期', - field: 'nextDate', - component: 'DatePicker', - componentProps: () => { - return { - // showTime: true, - valueFormat: 'YYYY-MM-DD', - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -export const tForm: FormSchema[] = [ - { - label: '血压', - field: 'bloodPressure', - component: 'Input', - componentProps: () => { - return { - suffix: '(mmHg)', - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '心率', - field: 'heartRate', - component: 'Input', - componentProps: () => { - return { - suffix: '(次/分钟)', - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '腰围', - field: 'waistline', - component: 'Input', - componentProps: () => { - return { - suffix: '(cm)', - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '体重', - field: 'weight', - component: 'Input', - componentProps: () => { - return { - suffix: '(kg)', - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '体质指数BMI', - field: 'bmi', - component: 'Input', - componentProps: () => { - return { - suffix: 'kg/m²', - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '空腹血糖', - field: 'bloodSugar', - component: 'Input', - componentProps: () => { - return { - suffix: '(mmol/L)', - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '其他', - field: 'otherThing', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, -]; -export const lifeSchema: FormSchema[] = [ - { - label: '日吸烟量', - field: 'smokeDay', - component: 'Input', - componentProps: () => { - return { - suffix: '(支)', - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '日饮酒量', - field: 'drinkDay', - component: 'Input', - componentProps: () => { - return { - suffix: '(两)', - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '运动', - field: 'sportWeek', - component: 'Input', - componentProps: () => { - return { - suffix: '(次/周)', - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '运动', - field: 'sportMinuts', - component: 'Input', - componentProps: () => { - return { - suffix: '(分钟/次)', - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '摄盐情况', - field: 'saltIntake', - component: 'Input', - componentProps: () => { - return { - suffix: '(咸淡)', - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '心理行为', - field: 'mentalState', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '遵医行为', - field: 'doctorWill', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, -]; -export const health: FormSchema[] = [ - { - label: '原因', - field: 'reason', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '措施', - field: 'measure', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, -]; - -export const medicine: FormSchema[] = [ - { - label: '其他药物', - field: 'otherMedicine', - component: 'Input', - // rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '服药依从性', - field: 'takeMedicine', - component: 'Input', - // rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '药物不良反应', - field: 'medicalEffects', - component: 'Input', - // rules: [{ required: true, trigger: 'blur' }], - }, -]; - -export const mColumns: BasicColumn[] = [ - { - title: '药品名称', - align: 'center', - dataIndex: 'medicineName', - }, - { - title: '别名', - align: 'center', - dataIndex: 'medicineNameAlias', - }, - { - title: '药品单位', - align: 'center', - dataIndex: 'medicineUnit', - }, - { - title: '药品规格', - align: 'center', - dataIndex: 'medicineSpecification', - }, - { - title: '药品类别', - align: 'center', - dataIndex: 'medicineType', - }, - { - title: '入库日期', - align: 'center', - dataIndex: 'warehousingDate', - }, - { - title: '现存数量', - align: 'center', - dataIndex: 'medicineNumber', - }, - { - title: '进价(元)', - align: 'center', - dataIndex: 'buyingPrice', - }, - { - title: '售价(元)', - align: 'center', - dataIndex: 'sellingPrice', - }, - { - title: '售出数量', - align: 'center', - dataIndex: 'sellingNumber', - }, - { - title: '销售金额(元)', - align: 'center', - dataIndex: 'sellingMoney', - }, - { - title: '所属单位', - align: 'center', - dataIndex: 'departmentName', - }, - { - title: '医疗点', - align: 'center', - dataIndex: 'medicalName', - }, -]; - -export const mSearchFormSchema: FormSchema[] = [ - { - label: '药物名称', - field: 'medicineName', - component: 'Input', - }, -]; - -export const uColumns: BasicColumn[] = [ - { - title: '姓名', - dataIndex: 'userName', - align: 'center', - }, - { - title: '员工编号', // 原来为工号 - dataIndex: 'userNo', - align: 'center', - }, - { - title: '单位', - dataIndex: 'orgName', - align: 'center', - }, -]; - -export const searchFormSchemaNew: FormSchema[] = [ - { - label: '姓名', - field: 'userName', - component: 'Input', - }, - { - label: '单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: allSecondaryDepartsNewBack, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - style: { - width: '100%', - }, - }; - }, - ifShow: !userInfo?.roleCodes.includes('medical_staff_role'), - }, - { - label: '员工编号', // 原来为工号 - field: 'userNo', - component: 'Input', - }, -]; diff --git a/src/views/intervene/medical/slowManage/components/follow/followList.vue b/src/views/intervene/medical/slowManage/components/follow/followList.vue deleted file mode 100644 index 158850b..0000000 --- a/src/views/intervene/medical/slowManage/components/follow/followList.vue +++ /dev/null @@ -1,161 +0,0 @@ - - - - - diff --git a/src/views/intervene/medical/slowManage/components/slow/components/slowDrawer.vue b/src/views/intervene/medical/slowManage/components/slow/components/slowDrawer.vue deleted file mode 100644 index c4650f7..0000000 --- a/src/views/intervene/medical/slowManage/components/slow/components/slowDrawer.vue +++ /dev/null @@ -1,277 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/components/slow/handle/compoents/conpoents/planModal.vue b/src/views/intervene/medical/slowManage/components/slow/handle/compoents/conpoents/planModal.vue deleted file mode 100644 index 40c937a..0000000 --- a/src/views/intervene/medical/slowManage/components/slow/handle/compoents/conpoents/planModal.vue +++ /dev/null @@ -1,101 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/components/slow/handle/compoents/conpoents/programmeModal.vue b/src/views/intervene/medical/slowManage/components/slow/handle/compoents/conpoents/programmeModal.vue deleted file mode 100644 index 702ada1..0000000 --- a/src/views/intervene/medical/slowManage/components/slow/handle/compoents/conpoents/programmeModal.vue +++ /dev/null @@ -1,142 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/components/slow/handle/compoents/plan.vue b/src/views/intervene/medical/slowManage/components/slow/handle/compoents/plan.vue deleted file mode 100644 index 24e8051..0000000 --- a/src/views/intervene/medical/slowManage/components/slow/handle/compoents/plan.vue +++ /dev/null @@ -1,182 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/components/slow/handle/compoents/programme.vue b/src/views/intervene/medical/slowManage/components/slow/handle/compoents/programme.vue deleted file mode 100644 index d67a3ff..0000000 --- a/src/views/intervene/medical/slowManage/components/slow/handle/compoents/programme.vue +++ /dev/null @@ -1,89 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/components/slow/handle/compoents/record.vue b/src/views/intervene/medical/slowManage/components/slow/handle/compoents/record.vue deleted file mode 100644 index 7382b9a..0000000 --- a/src/views/intervene/medical/slowManage/components/slow/handle/compoents/record.vue +++ /dev/null @@ -1,61 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/components/slow/handle/index.vue b/src/views/intervene/medical/slowManage/components/slow/handle/index.vue deleted file mode 100644 index 2df5d93..0000000 --- a/src/views/intervene/medical/slowManage/components/slow/handle/index.vue +++ /dev/null @@ -1,87 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/components/slow/slow.api.ts b/src/views/intervene/medical/slowManage/components/slow/slow.api.ts deleted file mode 100644 index bcde8f5..0000000 --- a/src/views/intervene/medical/slowManage/components/slow/slow.api.ts +++ /dev/null @@ -1,152 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -import { BasicColumn } from '/@/components/Table'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical-center/medicalCenter/chronicDiseaseUser/list', - allList = '/medical-center/medicalCenter/medicalResource/all', - add = '/medical-center/medicalCenter/chronicDiseaseUser/add', - edit = '/medical-center/medicalCenter/chronicDiseaseUser/edit', - queryDailyDiagnosisVOByUserId = '/medical-center/medicalCenter/dailyDiagnosis/queryDailyDiagnosisVOByUserId', - selectHaveMedicalId = '/medical-center/medicalCenter/chronicDiseaseUser/selectHaveMedicalId', - deleteOne = '/medical-center/medicalCenter/chronicDiseaseUser/delete', - exportXls = '/medical-center/medicalCenter/chronicDiseaseUser/exportXls', - deleteOneD = '/medical-center/medicalCenter/dietaryPrescription/delete', - deleteOneS = '/medical-center/medicalCenter/sportsPrescription/delete', - deleteBatch = '/medical-center/medicalCenter/chronicDiseaseUser/deleteBatch', - queryByIdChronicDisease = '/medical-center/medicalCenter/chronicDiseaseUser/queryByIdChronicDisease', - dietaryPrescription = '/medical-center/medicalCenter/dietaryPrescription/selectDietaryPrescriptionMapperByTypeAndId', // 膳食处方 - addPrescription = '/medical-center/medicalCenter/dietaryPrescription/add', // 膳食处方add - editPrescription = '/medical-center/medicalCenter/dietaryPrescription/edit', // 膳食处方edit - sportsPrescription = '/medical-center/medicalCenter/sportsPrescription/selectDietaryPrescriptionMapperByTypeAndId', // 运动处方 - addSportsPrescription = '/medical-center/medicalCenter/sportsPrescription/add', // 运动处方add - editSportsPrescription = '/medical-center/medicalCenter/sportsPrescription/edit', // 运动处方edit - medicinePrescription = '/medical-center/medicalCenter/medicinePrescriptionNew/selectMedicinePrescriptionDTONewListBack', // 用药方案 - medicinePrescriptionAdd = '/medical-center/medicalCenter/medicinePrescriptionNew/add', // 用药方案新增 - medicinePrescriptionEdit = '/medical-center/medicalCenter/medicinePrescriptionNew/edit', // 用药方案修改 - medicinePrescriptionDel = '/medical-center/medicalCenter/medicinePrescriptionNew/delete', // 用药方案删除 - allSecondaryDepartsNewBack = '/sys/sysDepart/allSecondaryDepartsNewBack', // 新单位 2024.2.27 -} -export const getExportUrl = Api.exportXls; -export const list = (params) => defHttp.get({ url: Api.list, params }); -export const allSecondaryDepartsNewBack = (params = {}) => defHttp.get({ url: Api.allSecondaryDepartsNewBack, params }); -export const medicinePrescription = (params) => defHttp.get({ url: Api.medicinePrescription, params }); -export const allList = (params) => defHttp.get({ url: Api.allList, params }, { isTransformResponse: false }); -export const add = (params) => defHttp.post({ url: Api.add, params }); -export const edit = (params) => defHttp.post({ url: Api.edit, params }); -export const queryDailyDiagnosisVOByUserId = (params) => defHttp.get({ url: Api.queryDailyDiagnosisVOByUserId, params }); -export const selectHaveMedicalId = (params) => defHttp.get({ url: Api.selectHaveMedicalId, params }); -export const queryByIdChronicDisease = (params) => defHttp.get({ url: Api.queryByIdChronicDisease, params }); -export const dietaryPrescription = (params) => defHttp.get({ url: Api.dietaryPrescription, params }); -export const sportsPrescription = (params) => defHttp.get({ url: Api.sportsPrescription, params }); -export const addOrUpdate = async (params, isUpdate, type) => { - if (isUpdate) { - await defHttp.put({ url: type === '0' ? Api.editPrescription : Api.editSportsPrescription, params }); - } else { - await defHttp.post({ url: type === '0' ? Api.addPrescription : Api.addSportsPrescription, params }); - } -}; -export const medicineAddOrUpdate = async (params, isUpdate) => { - if (isUpdate) { - await defHttp.put({ url: Api.medicinePrescriptionEdit, params }); - } else { - await defHttp.post({ url: Api.medicinePrescriptionAdd, params }); - } -}; - -export const medicinePrescriptionDel = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.medicinePrescriptionDel, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -export const deleteOneF = (params, handleSuccess, type) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: type === '0' ? Api.deleteOneD : Api.deleteOneS, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(type); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; - -export const recordColumns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '就诊疾病', - align: 'center', - dataIndex: 'diagnosisDisease', - }, - { - title: '就诊医疗点', - align: 'center', - dataIndex: 'medicalCenterName', - }, - { - title: '就诊医生', - align: 'center', - dataIndex: 'doctorName', - }, - { - title: '就诊日期', - align: 'center', - dataIndex: 'diagnosisDate', - }, -]; diff --git a/src/views/intervene/medical/slowManage/components/slow/slow.data.ts b/src/views/intervene/medical/slowManage/components/slow/slow.data.ts deleted file mode 100644 index 73a4e02..0000000 --- a/src/views/intervene/medical/slowManage/components/slow/slow.data.ts +++ /dev/null @@ -1,381 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import moment from 'moment'; -import { allSecondaryDepartsNewBack } from '/@/views/intervene/medical/slowManage/components/slow/slow.api'; -import { useUserStore } from '/@/store/modules/user'; -import { medicalCenterList } from '/@/views/medicalCenter/treatment/treatment.api'; -import { message } from 'ant-design-vue'; - -const userInfo = useUserStore().userInfo; -export function getBasicTableType(type) { - const columns: BasicColumn[] = [ - { - title: '姓名', - dataIndex: 'userName', - align: 'center', - }, - { - title: '员工编号', // 原来为工号 - dataIndex: 'userNo', - align: 'center', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - align: 'center', - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - }, - { - title: '所属医疗点', - dataIndex: 'medicalName', - align: 'center', - }, - { - title: '所属单位', - align: 'center', - dataIndex: 'departName', - }, - { - title: '入组日期', - dataIndex: 'hypertensionTime', - align: 'center', - customRender: ({ record }) => { - const fieldType = { - 0: 'hypertensionTime', - 1: 'coronaryHeartDiseaseTime', - 2: 'obesityTime', - 3: 'diabetesTime', - }; - - const innerText = record[fieldType[type]]; - if (!innerText) return '-'; - return moment(innerText).format('YYYY-MM-DD'); - }, - }, - ]; - return columns; -} -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'userName', - component: 'Input', - }, - { - label: '单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: allSecondaryDepartsNewBack, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onDeselect: () => { - formModel.medicalId = ''; - }, - }; - }, - ifShow: !userInfo?.roleCodes.includes('medical_staff_role'), - }, - { - label: '医疗点', - field: 'medicalId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel.orgCode || 'abc', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onFocus: () => { - if (!formModel.orgCode) { - return message.warning('请先选择单位'); - } - }, - }; - }, - }, - { - label: '入组日期', - field: 'joinDate', - component: 'RangeDate', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - }; - }, - }, -]; - -export const recordColumns: BasicColumn[] = [ - { - title: '就诊医疗点', - dataIndex: 'medicalCenterName', - align: 'center', - }, - { - title: '就诊医生', - dataIndex: 'doctorName', - align: 'center', - }, - { - title: '诊断疾病', - dataIndex: 'diagnosisDisease', - align: 'center', - }, - { - title: '就诊日期', - dataIndex: 'diagnosisDate', - align: 'center', - }, -]; - -export function getPrescription(type) { - const formSchema: FormSchema[] = [ - { - label: '周期', - field: 'week', - component: 'Input', - slot: 'weekSlot', - rules: [{ required: true, trigger: 'change' }], - }, - { - label: '早餐', - field: 'breakfast', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - ifShow: type === '0', - }, - { - label: '午餐', - field: 'lunch', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - ifShow: type === '0', - }, - { - label: '晚餐', - field: 'dinner', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - ifShow: type === '0', - }, - { - label: '运动名称', - field: 'sportsName', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - ifShow: type === '1', - }, - { - label: '运动时长(分钟)', - field: 'sportsTime', - component: 'Input', - componentProps: () => { - return { - placeholder: '请输入运动时长', - }; - }, - rules: [{ required: true, trigger: 'blur', message: '请输入运动时长' }], - ifShow: type === '1', - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - ]; - return formSchema; -} - -// 用药方案 -export const columns: BasicColumn[] = [ - { - title: '药物名称', - dataIndex: 'medicineName', - align: 'center', - }, - { - title: '规格', - dataIndex: 'medicineSpecification', - align: 'center', - }, - // { - // title: '药物数量', - // dataIndex: 'drugsNum', - // align: 'center', - // }, - { - title: '用法用量', - dataIndex: 'dosage', - align: 'center', - }, - { - title: '服用开始日期', - dataIndex: 'startTime', - align: 'center', - }, - { - title: '服用结束日期', - dataIndex: 'endTime', - align: 'center', - }, -]; -function bigZero(_, value) { - if (!value) { - return Promise.reject('请输入药物数量'); - } - if (!Number.isInteger(value)) { - return Promise.reject('请输入整数'); - } - if (Number(value) < 1) { - return Promise.reject('药物数量必须大于0'); - } else { - return Promise.resolve(); - } -} -export const formSchema: FormSchema[] = [ - { - label: '药物名称', - field: 'medicineName', - component: 'Input', - required: true, - }, - { - label: '规格', - field: 'medicineSpecification', - component: 'Input', - dynamicRules: () => { - return [ - { - required: false, - validator: (_, value) => { - if (value.length > 100) return Promise.reject('输入内容过长'); - return Promise.resolve(); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '用法用量', - field: 'dosage', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '服用日期', - field: 'date', - component: 'RangePicker', - required: true, - componentProps: ({ formModel }) => { - return { - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - onChange: ([start, end]) => { - formModel.startTime = start; - formModel.endTime = end; - }, - }; - }, - }, - { - label: '服用开始日期', - field: 'startTime', - component: 'Input', - show: false, - }, - { - label: '服用结束日期', - field: 'endTime', - component: 'Input', - show: false, - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -export const mColumns: BasicColumn[] = [ - { - title: '姓名', - dataIndex: 'realname', - align: 'center', - }, - { - title: '员工编号', // 原来为工号 - dataIndex: 'workNo', - align: 'center', - }, - { - title: '单位', - dataIndex: ['secondDepart', 'departName'], - align: 'center', - }, - { - title: '部门', - dataIndex: ['threeDepart', 'departName'], - align: 'center', - }, -]; - -export const mSearchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: allSecondaryDepartsNewBack, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - style: { - width: '150px', - }, - }; - }, - ifShow: !userInfo?.roleCodes.includes('medical_staff_role'), - }, - { - label: '员工编号', // 原来为工号 - field: 'workNo', - component: 'Input', - }, -]; diff --git a/src/views/intervene/medical/slowManage/components/slow/slowList.vue b/src/views/intervene/medical/slowManage/components/slow/slowList.vue deleted file mode 100644 index 7243112..0000000 --- a/src/views/intervene/medical/slowManage/components/slow/slowList.vue +++ /dev/null @@ -1,169 +0,0 @@ - - - - - diff --git a/src/views/intervene/medical/slowManage/coronary/follow/index.vue b/src/views/intervene/medical/slowManage/coronary/follow/index.vue deleted file mode 100644 index 51c2183..0000000 --- a/src/views/intervene/medical/slowManage/coronary/follow/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/coronary/handle/index.vue b/src/views/intervene/medical/slowManage/coronary/handle/index.vue deleted file mode 100644 index ee88de5..0000000 --- a/src/views/intervene/medical/slowManage/coronary/handle/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/coronary/personnel/index.vue b/src/views/intervene/medical/slowManage/coronary/personnel/index.vue deleted file mode 100644 index 8ef1be7..0000000 --- a/src/views/intervene/medical/slowManage/coronary/personnel/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/diabetes/follow/index.vue b/src/views/intervene/medical/slowManage/diabetes/follow/index.vue deleted file mode 100644 index eeff5c9..0000000 --- a/src/views/intervene/medical/slowManage/diabetes/follow/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/diabetes/handle/index.vue b/src/views/intervene/medical/slowManage/diabetes/handle/index.vue deleted file mode 100644 index 5bc2859..0000000 --- a/src/views/intervene/medical/slowManage/diabetes/handle/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/diabetes/personnel/index.vue b/src/views/intervene/medical/slowManage/diabetes/personnel/index.vue deleted file mode 100644 index bf4fa2e..0000000 --- a/src/views/intervene/medical/slowManage/diabetes/personnel/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/hypertension/follow/index.vue b/src/views/intervene/medical/slowManage/hypertension/follow/index.vue deleted file mode 100644 index e7809f0..0000000 --- a/src/views/intervene/medical/slowManage/hypertension/follow/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/hypertension/handle/index.vue b/src/views/intervene/medical/slowManage/hypertension/handle/index.vue deleted file mode 100644 index 10d6602..0000000 --- a/src/views/intervene/medical/slowManage/hypertension/handle/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/hypertension/personnel/index.vue b/src/views/intervene/medical/slowManage/hypertension/personnel/index.vue deleted file mode 100644 index 61e75c3..0000000 --- a/src/views/intervene/medical/slowManage/hypertension/personnel/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/obesity/follow/index.vue b/src/views/intervene/medical/slowManage/obesity/follow/index.vue deleted file mode 100644 index c253f83..0000000 --- a/src/views/intervene/medical/slowManage/obesity/follow/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/obesity/handle/index.vue b/src/views/intervene/medical/slowManage/obesity/handle/index.vue deleted file mode 100644 index 9124cc1..0000000 --- a/src/views/intervene/medical/slowManage/obesity/handle/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/obesity/personnel/index.vue b/src/views/intervene/medical/slowManage/obesity/personnel/index.vue deleted file mode 100644 index b964e43..0000000 --- a/src/views/intervene/medical/slowManage/obesity/personnel/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/other/follow/index.vue b/src/views/intervene/medical/slowManage/other/follow/index.vue deleted file mode 100644 index e4097f4..0000000 --- a/src/views/intervene/medical/slowManage/other/follow/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/other/handle/index.vue b/src/views/intervene/medical/slowManage/other/handle/index.vue deleted file mode 100644 index 1b37b3e..0000000 --- a/src/views/intervene/medical/slowManage/other/handle/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/src/views/intervene/medical/slowManage/other/personnel/index.vue b/src/views/intervene/medical/slowManage/other/personnel/index.vue deleted file mode 100644 index 2e8fa51..0000000 --- a/src/views/intervene/medical/slowManage/other/personnel/index.vue +++ /dev/null @@ -1,5 +0,0 @@ - - - diff --git a/src/views/intervene/motion/effect/compoents/effectDetailModal.vue b/src/views/intervene/motion/effect/compoents/effectDetailModal.vue deleted file mode 100644 index 1dc95ce..0000000 --- a/src/views/intervene/motion/effect/compoents/effectDetailModal.vue +++ /dev/null @@ -1,62 +0,0 @@ - - - diff --git a/src/views/intervene/motion/effect/compoents/effectModal.vue b/src/views/intervene/motion/effect/compoents/effectModal.vue deleted file mode 100644 index 8cd642c..0000000 --- a/src/views/intervene/motion/effect/compoents/effectModal.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - diff --git a/src/views/intervene/motion/effect/effectList.api.ts b/src/views/intervene/motion/effect/effectList.api.ts deleted file mode 100644 index 245d6d0..0000000 --- a/src/views/intervene/motion/effect/effectList.api.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-foodandexercise/fitness/list', - add = '/health-intervene/health-foodandexercise/fitness', - update = '/health-intervene/health-foodandexercise/fitness', - del = '/health-intervene/health-foodandexercise/fitness/', - detail = '/health-intervene/health-foodandexercise/fitnessDetail/', - editDetail = '/health-intervene/health-foodandexercise/fitnessDetail', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); -export const addOrUpdateApi = (params: any, isUpdate: boolean) => { - if (isUpdate) { - return defHttp.put({ url: Api.update, params }, { isTransformResponse: false }); - } else { - return defHttp.post({ url: Api.add, params }, { isTransformResponse: false }); - } -}; - -export const deleteDetailApi = (id: string) => { - return defHttp.delete({ url: `${Api.del}${id}` }, { isTransformResponse: false }); -}; -export const detail = (id: string) => { - return defHttp.get({ url: `${Api.detail}${id}` }, { isTransformResponse: false }); -}; -export const editDetailApi = (params: string) => { - return defHttp.put({ url: `${Api.editDetail}`, params }, { isTransformResponse: false }); -}; diff --git a/src/views/intervene/motion/effect/effectList.data.ts b/src/views/intervene/motion/effect/effectList.data.ts deleted file mode 100644 index 3bfab02..0000000 --- a/src/views/intervene/motion/effect/effectList.data.ts +++ /dev/null @@ -1,117 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; - -export const columns: BasicColumn[] = [ - { - title: '运动名称', - align: 'center', - dataIndex: 'fitnessName', - }, - { - title: '运动类别', - align: 'center', - dataIndex: 'fitnessCategory', - customRender: ({ text }) => { - return render.renderDict(text, 'health_fitness_category'); - }, - }, - // { - // title: '时间消耗(每分钟消耗能量)', - // align: 'center', - // dataIndex: 'unitConsume', - // }, - { - title: '每组运动时长', - align: 'center', - dataIndex: 'minutes', - }, - { - title: '每组运动消耗', - align: 'center', - dataIndex: 'consume', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '运动名称', - field: 'fitnessName', - component: 'Input', - }, - { - label: '运动类别', - field: 'fitnessCategory', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'health_fitness_category', - }; - }, - }, -]; -export const schemas: FormSchema[] = [ - { - label: '运动名称', - field: 'fitnessName', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '运动类别', - field: 'fitnessCategory', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'health_fitness_category', - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - // { - // label: '时间消耗', - // field: 'unitConsume', - // component: 'Input', - // }, - { - label: '每组运动时长', - field: 'minutes', - component: 'Input', - }, - { - label: '每组运动消耗', - field: 'consume', - component: 'Input', - }, - { - label: '', - field: 'fitnessNo', - component: 'Input', - show: false, - }, -]; - -export const schemasNew: FormSchema[] = [ - { - label: '描述图片', - field: 'fitnessImg', - component: 'JImageUpload', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '描述视频', - field: 'fitnessVideo', - component: 'JUpload', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '运动描述', - field: 'fitnessDesc', - component: 'JEditor', - }, - { - label: '', - field: 'fitnessNo', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/intervene/motion/effect/effectList.vue b/src/views/intervene/motion/effect/effectList.vue deleted file mode 100644 index 0effa2b..0000000 --- a/src/views/intervene/motion/effect/effectList.vue +++ /dev/null @@ -1,133 +0,0 @@ - - - diff --git a/src/views/intervene/motion/mode/modeList.api.ts b/src/views/intervene/motion/mode/modeList.api.ts deleted file mode 100644 index 8d4cb62..0000000 --- a/src/views/intervene/motion/mode/modeList.api.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-foodandexercise/detail/list', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); diff --git a/src/views/intervene/motion/mode/modeList.data.ts b/src/views/intervene/motion/mode/modeList.data.ts deleted file mode 100644 index 9454691..0000000 --- a/src/views/intervene/motion/mode/modeList.data.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -export const columns: BasicColumn[] = [ - { - title: '分类名称', - align: 'center', - dataIndex: 'className', - }, - { - title: '运动名称', - align: 'center', - dataIndex: 'exerciseName', - }, - { - title: '运动等级', - align: 'center', - dataIndex: 'exerciseGrade_dictText', - }, - { - title: '运动METS值', - align: 'center', - dataIndex: 'exerciseMets', - }, - { - title: '状态', - align: 'center', - dataIndex: 'status_dictText', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '分类名称', - field: 'className', - component: 'Input', - }, - { - label: '运动名称', - field: 'exerciseName', - component: 'Input', - }, -]; diff --git a/src/views/intervene/motion/mode/modeList.vue b/src/views/intervene/motion/mode/modeList.vue deleted file mode 100644 index cd819f7..0000000 --- a/src/views/intervene/motion/mode/modeList.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - diff --git a/src/views/intervene/motion/record/recordList.api.ts b/src/views/intervene/motion/record/recordList.api.ts deleted file mode 100644 index 8517ef5..0000000 --- a/src/views/intervene/motion/record/recordList.api.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-foodandexercise/erecord/list', - del = '/health-intervene/health-foodandexercise/erecord/', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); - -export const deleteDetailApi = (id: string) => { - return defHttp.delete({ url: `${Api.del}${id}` }, { isTransformResponse: false }); -}; diff --git a/src/views/intervene/motion/record/recordList.data.ts b/src/views/intervene/motion/record/recordList.data.ts deleted file mode 100644 index 992e8e1..0000000 --- a/src/views/intervene/motion/record/recordList.data.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import moment from 'moment'; - -export const columns: BasicColumn[] = [ - { - title: '用户姓名', - align: 'center', - dataIndex: 'realName', - }, - { - title: '运动名称', - align: 'center', - dataIndex: 'className', - }, - { - title: '运动模式', - align: 'center', - dataIndex: 'exerciseName', - }, - { - title: '运动时间', - align: 'center', - dataIndex: 'exerciseTime', - customRender: ({ text }) => { - if (text) { - return moment(text).format('YYYY-MM-DD'); - } else { - return ''; - } - }, - }, - { - title: '运动里程(公里)', - align: 'center', - dataIndex: 'exerciseDistance', - }, - { - title: '运动速度(km/h)', - align: 'center', - dataIndex: 'exerciseSpeed', - }, - { - title: '运动时长(分钟)', - align: 'center', - dataIndex: 'exerciseDuration', - }, - { - title: '运动步数(步)', - align: 'center', - dataIndex: 'exerciseStepNumber', - }, - { - title: '能量消耗(千卡)', - align: 'center', - dataIndex: 'exerciseConsume', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '用户姓名', - field: 'realName', - component: 'Input', - }, - { - label: '运动名称', - field: 'className', - component: 'Input', - }, -]; diff --git a/src/views/intervene/motion/record/recordList.vue b/src/views/intervene/motion/record/recordList.vue deleted file mode 100644 index 8e0287d..0000000 --- a/src/views/intervene/motion/record/recordList.vue +++ /dev/null @@ -1,90 +0,0 @@ - - - diff --git a/src/views/intervene/motion/summary/summaryList.api.ts b/src/views/intervene/motion/summary/summaryList.api.ts deleted file mode 100644 index 6948045..0000000 --- a/src/views/intervene/motion/summary/summaryList.api.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-foodandexercise/recordsum/list', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); diff --git a/src/views/intervene/motion/summary/summaryList.data.ts b/src/views/intervene/motion/summary/summaryList.data.ts deleted file mode 100644 index 3e0187c..0000000 --- a/src/views/intervene/motion/summary/summaryList.data.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -export const columns: BasicColumn[] = [ - { - title: '用户姓名', - align: 'center', - dataIndex: 'userName', - }, - { - title: '分类名称', - align: 'center', - dataIndex: 'className', - }, - { - title: '运动时间', - align: 'center', - dataIndex: 'sumDate', - }, - { - title: '运动总里程(公里)', - align: 'center', - dataIndex: 'sumDistance', - }, - { - title: '运动总时长(分钟)', - align: 'center', - dataIndex: 'sumHighDuration', - }, - { - title: '高强度运动时长(分钟)', - align: 'center', - dataIndex: 'sumHighDuration', - }, - { - title: '用户总步数(步)', - align: 'center', - dataIndex: 'sumStep', - }, - { - title: '用户总消耗(千卡)', - align: 'center', - dataIndex: 'sumConsume', - }, - { - title: '高强度运动消耗(千卡)', - align: 'center', - dataIndex: 'sumHighConsume', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '用户姓名', - field: 'userName', - component: 'Input', - }, - { - label: '分类名称', - field: 'className', - component: 'Input', - }, -]; diff --git a/src/views/intervene/motion/summary/summaryList.vue b/src/views/intervene/motion/summary/summaryList.vue deleted file mode 100644 index c27c366..0000000 --- a/src/views/intervene/motion/summary/summaryList.vue +++ /dev/null @@ -1,38 +0,0 @@ - - - diff --git a/src/views/intervene/motion/term/compoents/termModal.vue b/src/views/intervene/motion/term/compoents/termModal.vue deleted file mode 100644 index eb7979b..0000000 --- a/src/views/intervene/motion/term/compoents/termModal.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - diff --git a/src/views/intervene/motion/term/termList.api.ts b/src/views/intervene/motion/term/termList.api.ts deleted file mode 100644 index f8e7800..0000000 --- a/src/views/intervene/motion/term/termList.api.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-foodandexercise/class/list', - add = '/health-intervene/health-foodandexercise/class', - update = '/health-intervene/health-foodandexercise/class', - del = '/health-intervene/health-foodandexercise/class/', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); -export const addOrUpdateApi = (params: any, isUpdate: boolean) => { - if (isUpdate) { - return defHttp.put({ url: Api.update, params }, { isTransformResponse: false }); - } else { - return defHttp.post({ url: Api.add, params }, { isTransformResponse: false }); - } -}; - -export const deleteDetailApi = (id: string) => { - return defHttp.delete({ url: `${Api.del}${id}` }, { isTransformResponse: false }); -}; diff --git a/src/views/intervene/motion/term/termList.data.ts b/src/views/intervene/motion/term/termList.data.ts deleted file mode 100644 index b937b05..0000000 --- a/src/views/intervene/motion/term/termList.data.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -export const columns: BasicColumn[] = [ - { - title: '分类名称', - align: 'center', - dataIndex: 'className', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '分类名称', - field: 'className', - component: 'Input', - }, -]; -export const schemas: FormSchema[] = [ - { - label: '分类名称', - field: 'className', - component: 'Input', - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/intervene/motion/term/termList.vue b/src/views/intervene/motion/term/termList.vue deleted file mode 100644 index eef4bc7..0000000 --- a/src/views/intervene/motion/term/termList.vue +++ /dev/null @@ -1,114 +0,0 @@ - - - diff --git a/src/views/intervene/overall/collect/collectList.api.ts b/src/views/intervene/overall/collect/collectList.api.ts deleted file mode 100644 index 33a0484..0000000 --- a/src/views/intervene/overall/collect/collectList.api.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/system/effect/v1/list', - addOrUpdate = '/health-intervene/system/effect/v1/addOrEdit', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); -export const addOrUpdateApi = (params: any) => { - return defHttp.post({ url: Api.addOrUpdate, params }, { isTransformResponse: false }); -}; diff --git a/src/views/intervene/overall/collect/collectList.data.ts b/src/views/intervene/overall/collect/collectList.data.ts deleted file mode 100644 index 336a3e0..0000000 --- a/src/views/intervene/overall/collect/collectList.data.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -// import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; - -export const columns: BasicColumn[] = [ - { - title: '干预年份', - align: 'center', - dataIndex: 'year', - }, - { - title: '单位', - align: 'center', - dataIndex: 'branchName', - }, - { - title: '总人数', - align: 'center', - dataIndex: 'headcount', - }, - { - title: '总成本', - align: 'center', - dataIndex: 'totalCost', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - // { - // label: '单位', - // field: 'deptId', - // component: 'ApiSelect', - // componentProps: () => { - // return { - // api: getSecondaryDepartmentList, - // resultField: 'result', - // labelField: 'departName', - // valueField: 'id', - // immediate: true, - // getPopupContainer: () => document.body, - // showSearch: true, - // filterOption: (input: string, option: any): boolean => { - // const str: string = input.toLowerCase(); - // return option.label.toLowerCase().indexOf(str) >= 0; - // }, - // }; - // }, - // }, - { - label: '干预年份', - field: 'year', - component: 'DatePicker', - componentProps: () => { - return { - picker: 'year', - }; - }, - }, -]; diff --git a/src/views/intervene/overall/collect/collectList.vue b/src/views/intervene/overall/collect/collectList.vue deleted file mode 100644 index d586b3f..0000000 --- a/src/views/intervene/overall/collect/collectList.vue +++ /dev/null @@ -1,113 +0,0 @@ - - - - diff --git a/src/views/intervene/overall/collect/compoents/collectModal.vue b/src/views/intervene/overall/collect/compoents/collectModal.vue deleted file mode 100644 index cf7dda7..0000000 --- a/src/views/intervene/overall/collect/compoents/collectModal.vue +++ /dev/null @@ -1,429 +0,0 @@ - - - diff --git a/src/views/intervene/overall/cost/compoents/one.vue b/src/views/intervene/overall/cost/compoents/one.vue deleted file mode 100644 index 4859c45..0000000 --- a/src/views/intervene/overall/cost/compoents/one.vue +++ /dev/null @@ -1,47 +0,0 @@ - - - diff --git a/src/views/intervene/overall/cost/compoents/three.vue b/src/views/intervene/overall/cost/compoents/three.vue deleted file mode 100644 index 002452c..0000000 --- a/src/views/intervene/overall/cost/compoents/three.vue +++ /dev/null @@ -1,31 +0,0 @@ - - - diff --git a/src/views/intervene/overall/cost/compoents/two.vue b/src/views/intervene/overall/cost/compoents/two.vue deleted file mode 100644 index 77d339d..0000000 --- a/src/views/intervene/overall/cost/compoents/two.vue +++ /dev/null @@ -1,132 +0,0 @@ - - - diff --git a/src/views/intervene/overall/cost/index.api.ts b/src/views/intervene/overall/cost/index.api.ts deleted file mode 100644 index 7b3cdb1..0000000 --- a/src/views/intervene/overall/cost/index.api.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - listO = '/health-intervene/system/effect/v2/costStatistics', - listT = '/health-intervene/system/effect/v2/costEffect', -} - -export const listOApi = (params: any) => defHttp.get({ url: Api.listO, params: params }, { isTransformResponse: false }); -export const listTApi = (params: any) => defHttp.get({ url: Api.listT, params: params }, { isTransformResponse: false }); diff --git a/src/views/intervene/overall/cost/index.vue b/src/views/intervene/overall/cost/index.vue deleted file mode 100644 index fb546f5..0000000 --- a/src/views/intervene/overall/cost/index.vue +++ /dev/null @@ -1,135 +0,0 @@ - - - diff --git a/src/views/intervene/overall/effect/index.api.ts b/src/views/intervene/overall/effect/index.api.ts deleted file mode 100644 index 8dc2eda..0000000 --- a/src/views/intervene/overall/effect/index.api.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/system/effect/v1/lineChart/list', - lineChart = '/health-intervene/system/effect/v1/lineChart/trend', - contagion = '/health-intervene/system/effect/v1/contagion/trend', - tumour = '/health-intervene/system/effect/v1/tumour/trend', - various = '/health-intervene/system/effect/v1/various/contagion/trend', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); -export const lineChartApi = (params: any) => defHttp.get({ url: Api.lineChart, params: params }, { isTransformResponse: false }); -export const contagionApi = (params: any) => defHttp.get({ url: Api.contagion, params: params }, { isTransformResponse: false }); -export const tumourApi = (params: any) => defHttp.get({ url: Api.tumour, params: params }, { isTransformResponse: false }); -export const variousApi = (params: any) => defHttp.get({ url: Api.various, params: params }, { isTransformResponse: false }); diff --git a/src/views/intervene/overall/effect/index.vue b/src/views/intervene/overall/effect/index.vue deleted file mode 100644 index 8525025..0000000 --- a/src/views/intervene/overall/effect/index.vue +++ /dev/null @@ -1,283 +0,0 @@ - - - diff --git a/src/views/intervene/overall/income/index.api.ts b/src/views/intervene/overall/income/index.api.ts deleted file mode 100644 index 1d5fa8a..0000000 --- a/src/views/intervene/overall/income/index.api.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/system/effect/v2/getBenefit', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { isTransformResponse: false }); diff --git a/src/views/intervene/overall/income/index.vue b/src/views/intervene/overall/income/index.vue deleted file mode 100644 index fe60dfb..0000000 --- a/src/views/intervene/overall/income/index.vue +++ /dev/null @@ -1,109 +0,0 @@ - - - diff --git a/src/views/intervene/psychology/answer/anserHistory/index.vue b/src/views/intervene/psychology/answer/anserHistory/index.vue deleted file mode 100644 index 5d0f8b9..0000000 --- a/src/views/intervene/psychology/answer/anserHistory/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/views/intervene/psychology/answer/answerManage/index.vue b/src/views/intervene/psychology/answer/answerManage/index.vue deleted file mode 100644 index 313d6a0..0000000 --- a/src/views/intervene/psychology/answer/answerManage/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/views/intervene/psychology/diagnosis/anxiety.vue b/src/views/intervene/psychology/diagnosis/anxiety.vue deleted file mode 100644 index afc7f80..0000000 --- a/src/views/intervene/psychology/diagnosis/anxiety.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/psychology/diagnosis/depressed.vue b/src/views/intervene/psychology/diagnosis/depressed.vue deleted file mode 100644 index 7224716..0000000 --- a/src/views/intervene/psychology/diagnosis/depressed.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/psychology/estimate/index.vue b/src/views/intervene/psychology/estimate/index.vue deleted file mode 100644 index df215df..0000000 --- a/src/views/intervene/psychology/estimate/index.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/intervene/psychology/living/index.vue b/src/views/intervene/psychology/living/index.vue deleted file mode 100644 index d737e3c..0000000 --- a/src/views/intervene/psychology/living/index.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/cancerPrevention/behaviorLibrary/behaviorLibraryList.api.ts b/src/views/interveneNew/cancer/cancerPrevention/behaviorLibrary/behaviorLibraryList.api.ts deleted file mode 100644 index 63d88e9..0000000 --- a/src/views/interveneNew/cancer/cancerPrevention/behaviorLibrary/behaviorLibraryList.api.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - libList = '/health-intervene/cancerBehavior/lib/list', - exportXls = '/health-intervene/intervene/aedEquipmentManger/exportXlsManager', - libEdit = '/health-intervene/cancerBehavior/lib/edit', -} -export const getExportUrl = Api.exportXls; -//行为库列表 -export const libList = (params: any) => defHttp.get({ url: Api.libList, params }); - -//行为库编辑 -export const libEdit = (params: any) => defHttp.put({ url: Api.libEdit, params }); diff --git a/src/views/interveneNew/cancer/cancerPrevention/behaviorLibrary/behaviorLibraryList.data.ts b/src/views/interveneNew/cancer/cancerPrevention/behaviorLibrary/behaviorLibraryList.data.ts deleted file mode 100644 index 8b44f97..0000000 --- a/src/views/interveneNew/cancer/cancerPrevention/behaviorLibrary/behaviorLibraryList.data.ts +++ /dev/null @@ -1,188 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -export const getColumns = (_isShowColor = false) => { - return [ - { - title: '行为名称', - align: 'center', - width: 100, - dataIndex: 'behaviour', - }, - { - title: '判断单位', - align: 'center', - width: 100, - dataIndex: 'unit', - }, - { - title: '判断标准', - align: 'center', - width: 100, - dataIndex: 'standard', - }, - { - title: '判断意义', - align: 'center', - width: 100, - dataIndex: 'meaning', - }, - { - title: '正常', - align: 'center', - width: 100, - dataIndex: 'normalValue', - customRender: ({ record, text }) => { - if (record.normalOperator == '=') { - if (text == '0') return '否'; - if (text == '1') return '是'; - } else { - return text; - } - }, - }, - { - title: '异常', - align: 'center', - width: 100, - dataIndex: 'abnormalValue', - customRender: ({ record, text }) => { - if (record.normalOperator == '=') { - if (text == '!=0') return '是'; - if (text == '=0') return '否'; - } else { - return text; - } - }, - }, - { - title: '默认值', - align: 'center', - width: 100, - dataIndex: 'defaultValue', - customRender: ({ record, text }) => { - if (record.normalOperator == '=') { - if (text == '0') return '否'; - if (text == '1') return '是'; - } else { - return text; - } - }, - }, - ] as BasicColumn[]; -}; - -export const searchSchema: FormSchema[] = [ - { - label: '行为名称', - field: 'name', - component: 'Input', - }, -]; - -export const FormSchemaModal: FormSchema[] = [ - { - field: 'behaviour', - label: '行为名称', - component: 'Input', - componentProps: { - disabled: true, - }, - //渲染 values当前表单所有值 - // eslint-disable-next-line @typescript-eslint/no-unused-vars - render: ({ values }) => { - return values.behaviour; - }, - }, - { - label: '判断单位:', - field: 'unit', - component: 'Input', - //渲染 values当前表单所有值 - // eslint-disable-next-line @typescript-eslint/no-unused-vars - render: ({ values }) => { - return values.unit; - }, - }, - { - label: '行为编码', - field: 'code', - component: 'Input', - show: false, - }, - { - label: '判断标准', - field: 'standard', - component: 'Input', - }, - { - label: '判断意义', - field: 'meaning', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '正常', - field: 'normalValue', - component: 'RadioGroup', - componentProps: () => { - return { - options: [ - { - label: '有', - value: '1', - }, - { - label: '无', - value: '0', - }, - ], - }; - }, - ifShow: ({ values }) => values.normalOperator == '=', - // required: true, - }, - { - field: 'normalOperator', - label: '正常', - component: 'Input', - slot: 'normalOperator', - ifShow: ({ values }) => values.normalOperator != '=', - }, - // slot: 'normalOperator', - { - field: 'normalValue', - label: '正常', - component: 'Input', - show: false, - }, - { - label: '默认值', - field: 'defaultValue', - component: 'RadioGroup', - componentProps: () => { - return { - options: [ - { - label: '有', - value: '1', - }, - { - label: '无', - value: '0', - }, - ], - }; - }, - ifShow: ({ values }) => values.normalOperator == '=', - }, - { - label: '默认值', - field: 'defaultValue', - component: 'Input', - ifShow: ({ values }) => values.normalOperator != '=', - }, -]; diff --git a/src/views/interveneNew/cancer/cancerPrevention/behaviorLibrary/behaviorLibraryList.vue b/src/views/interveneNew/cancer/cancerPrevention/behaviorLibrary/behaviorLibraryList.vue deleted file mode 100644 index d7717bc..0000000 --- a/src/views/interveneNew/cancer/cancerPrevention/behaviorLibrary/behaviorLibraryList.vue +++ /dev/null @@ -1,98 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/cancerPrevention/behaviorLibrary/components/BehaviorEditModal.vue b/src/views/interveneNew/cancer/cancerPrevention/behaviorLibrary/components/BehaviorEditModal.vue deleted file mode 100644 index 8fec0e5..0000000 --- a/src/views/interveneNew/cancer/cancerPrevention/behaviorLibrary/components/BehaviorEditModal.vue +++ /dev/null @@ -1,146 +0,0 @@ - - diff --git a/src/views/interveneNew/cancer/cancerPrevention/behavioralDetection/behavioralDetectionList.api.ts b/src/views/interveneNew/cancer/cancerPrevention/behavioralDetection/behavioralDetectionList.api.ts deleted file mode 100644 index 5712d54..0000000 --- a/src/views/interveneNew/cancer/cancerPrevention/behavioralDetection/behavioralDetectionList.api.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - // list = '/health-intervene/cancer/behaviorTraceability/list', - exportXls = '/health-intervene/intervene/aedEquipmentManger/exportXlsManager', - list = '/health-intervene/cancerBehavior/monitor/list', -} -export const getExportUrl = Api.exportXls; -//行为监测列表 -export const listApi = (params: any) => defHttp.get({ url: Api.list, params }); diff --git a/src/views/interveneNew/cancer/cancerPrevention/behavioralDetection/behavioralDetectionList.data.ts b/src/views/interveneNew/cancer/cancerPrevention/behavioralDetection/behavioralDetectionList.data.ts deleted file mode 100644 index df7be30..0000000 --- a/src/views/interveneNew/cancer/cancerPrevention/behavioralDetection/behavioralDetectionList.data.ts +++ /dev/null @@ -1,154 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { isShowIdCard } from '/@/utils/getEnv'; - -export const getColumns = (isShowColor = false) => { - return [ - { - title: '单位', - align: 'center', - width: 100, - dataIndex: 'departName', - }, - { - title: '部门', - align: 'center', - width: 100, - dataIndex: 'orgName', - }, - { - title: '姓名', - align: 'center', - width: 100, - dataIndex: 'realName', - }, - { - title: '性别', - align: 'center', - width: 100, - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - align: 'center', - width: 100, - dataIndex: 'age', - }, - { - title: '身份证号', - align: 'center', - width: 100, - dataIndex: 'idCard', - ifShow: isShowIdCard(), - }, - { - title: '最新检测日期', - align: 'center', - width: 100, - dataIndex: 'time', - }, - { - title: '吸烟', - align: 'center', - width: 100, - dataIndex: 'smoking', - customRender: ({ text, record }) => { - if (text == 0) { - text = '不吸烟'; - } else if (text == 1) { - text = '吸烟'; - } else { - text = ''; - } - return isShowColor && record?.smokingError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '饮白酒', - align: 'center', - width: 100, - dataIndex: 'drinking', - customRender: ({ text, record }) => { - if (text == 0) { - text = '不喝酒'; - } else if (text == 1) { - text = '喝酒'; - } else { - text = ''; - } - return isShowColor && record?.drinkingError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '30天熬夜时间(小时)', - align: 'center', - width: 100, - dataIndex: 'sleepSeven', - customRender: ({ text, record }) => { - return isShowColor && record.sleepSevenError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '30天吃腌制食物(次)', - align: 'center', - width: 100, - dataIndex: 'pickling', - customRender: ({ text, record }) => { - return isShowColor && record.picklingError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '30天吃烧烤食物(次)', - align: 'center', - width: 100, - dataIndex: 'barbecueFood', - customRender: ({ text, record }) => { - return isShowColor && record.barbecueFoodError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '30天接受辐射环境(次)', - align: 'center', - width: 100, - dataIndex: 'radiation', - customRender: ({ text, record }) => { - return isShowColor && record.radiationError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - ] as BasicColumn[]; -}; - -export const searchSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2', 'orgCode'), - // { - // label: '是否病亡', - // field: '', - // component: 'Select', - // componentProps: () => { - // return { - // options: [ - // { - // label: '否', - // value: '1', - // }, - // { - // label: '是', - // value: '2', - // }, - // ], - // }; - // }, - // }, - { - label: '', - field: 'orgCode', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/cancer/cancerPrevention/behavioralDetection/behavioralDetectionList.vue b/src/views/interveneNew/cancer/cancerPrevention/behavioralDetection/behavioralDetectionList.vue deleted file mode 100644 index 06e39db..0000000 --- a/src/views/interveneNew/cancer/cancerPrevention/behavioralDetection/behavioralDetectionList.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/cancerPrevention/indicatorDetection/indicatorDetectionList.api.ts b/src/views/interveneNew/cancer/cancerPrevention/indicatorDetection/indicatorDetectionList.api.ts deleted file mode 100644 index 31ca6da..0000000 --- a/src/views/interveneNew/cancer/cancerPrevention/indicatorDetection/indicatorDetectionList.api.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/cancerBehavior/index/list', - exportXls = '/health-intervene/intervene/aedEquipmentManger/exportXlsManager', -} -export const getExportUrl = Api.exportXls; -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); diff --git a/src/views/interveneNew/cancer/cancerPrevention/indicatorDetection/indicatorDetectionList.data.ts b/src/views/interveneNew/cancer/cancerPrevention/indicatorDetection/indicatorDetectionList.data.ts deleted file mode 100644 index caeedb2..0000000 --- a/src/views/interveneNew/cancer/cancerPrevention/indicatorDetection/indicatorDetectionList.data.ts +++ /dev/null @@ -1,139 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { isShowIdCard } from '/@/utils/getEnv'; - -export const getColumns = (isShowColor = false) => { - return [ - { - title: '单位', - align: 'center', - width: 100, - dataIndex: 'departName', - }, - { - title: '部门', - align: 'center', - width: 100, - dataIndex: 'orgName', - }, - { - title: '姓名', - align: 'center', - width: 100, - dataIndex: 'realName', - }, - { - title: '性别', - align: 'center', - width: 100, - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - align: 'center', - width: 100, - dataIndex: 'age', - }, - { - title: '身份证号', - align: 'center', - width: 100, - dataIndex: 'idCard', - ifShow: isShowIdCard(), - }, - { - title: '癌症名称', - align: 'center', - width: 100, - dataIndex: ['cancerInfoList', '0', 'cancerName'], - }, - { - title: '确诊日期', - align: 'center', - width: 100, - dataIndex: ['cancerInfoList', '0', 'yesTime'], - }, - { - title: '铁蛋白(μg/L)', - align: 'center', - width: 100, - dataIndex: 'ferValue', - }, - { - title: '甲胎蛋白(μg/L)', - align: 'center', - width: 100, - dataIndex: 'afpValue', - }, - { - title: '谷氨酰基转移酶(U/L)', - align: 'center', - width: 100, - dataIndex: 'ggtValue', - }, - { - title: 'HP感染', - align: 'center', - width: 100, - dataIndex: 'hpInfection', - customRender: ({ text }) => { - if (text == 0) return '否'; - if (text == 1) return '是'; - }, - }, - { - title: '糖尿病', - align: 'center', - width: 100, - dataIndex: 'diabetes', - customRender: ({ text }) => { - if (text == 0) return '否'; - if (text == 1) return '是'; - }, - }, - { - title: '精神、癫痫类疾病', - align: 'center', - width: 100, - dataIndex: 'mentalDisease', - customRender: ({ text }) => { - if (text == 0) return '否'; - if (text == 1) return '是'; - }, - }, - ] as BasicColumn[]; -}; - -export const searchSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'name', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2', 'orgCode'), - // { - // label: '是否病亡', - // field: '', - // component: 'Select', - // componentProps: () => { - // return { - // options: [ - // { - // label: '否', - // value: '1', - // }, - // { - // label: '是', - // value: '2', - // }, - // ], - // }; - // }, - // }, - { - label: '', - field: 'orgCode', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/cancer/cancerPrevention/indicatorDetection/indicatorDetectionList.vue b/src/views/interveneNew/cancer/cancerPrevention/indicatorDetection/indicatorDetectionList.vue deleted file mode 100644 index 024658c..0000000 --- a/src/views/interveneNew/cancer/cancerPrevention/indicatorDetection/indicatorDetectionList.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/cancerPrevention/simulation/compoents/fakeRelationShip.vue b/src/views/interveneNew/cancer/cancerPrevention/simulation/compoents/fakeRelationShip.vue deleted file mode 100644 index 3dde57c..0000000 --- a/src/views/interveneNew/cancer/cancerPrevention/simulation/compoents/fakeRelationShip.vue +++ /dev/null @@ -1,225 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/cancerPrevention/simulation/compoents/relationShip.vue b/src/views/interveneNew/cancer/cancerPrevention/simulation/compoents/relationShip.vue deleted file mode 100644 index 8bf6857..0000000 --- a/src/views/interveneNew/cancer/cancerPrevention/simulation/compoents/relationShip.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/cancerPrevention/simulation/compoents/trueRelationShip.vue b/src/views/interveneNew/cancer/cancerPrevention/simulation/compoents/trueRelationShip.vue deleted file mode 100644 index cee5eee..0000000 --- a/src/views/interveneNew/cancer/cancerPrevention/simulation/compoents/trueRelationShip.vue +++ /dev/null @@ -1,259 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/cancerPrevention/simulation/simulationList.api.ts b/src/views/interveneNew/cancer/cancerPrevention/simulation/simulationList.api.ts deleted file mode 100644 index 82c3dcf..0000000 --- a/src/views/interveneNew/cancer/cancerPrevention/simulation/simulationList.api.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/cancerBehavior/simulate/list', - exportXls = '/health-intervene/intervene/aedEquipmentManger/exportXlsManager', - startSimulation = '/health-intervene/cancerBehavior/simulate/start', - relation = '/health-intervene/cancerBehavior/relation', -} -export const getExportUrl = (params: any) => defHttp.get({ url: Api.exportXls, params: params }); -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); - -//模拟计算 -export const startSimulation = (params: any, type: any) => defHttp.post({ url: Api.startSimulation + `?type=${type}`, params: params }); - -export const relationApi = (params: any) => defHttp.get({ url: Api.relation, params }); diff --git a/src/views/interveneNew/cancer/cancerPrevention/simulation/simulationList.data.ts b/src/views/interveneNew/cancer/cancerPrevention/simulation/simulationList.data.ts deleted file mode 100644 index 4c777f8..0000000 --- a/src/views/interveneNew/cancer/cancerPrevention/simulation/simulationList.data.ts +++ /dev/null @@ -1,897 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { drinkingStatus, smokingStatus, strongTeaStatus, PHStatus } from '/@/views/interveneNew/cancer/etiology/compoents/utils'; -import { h } from 'vue'; -import { getRiskLevel } from '/@/views/interveneNew/cancer/immuneAlarm/immuneHistory/immuneHistory.data'; -import { isShowIdCard } from '/@/utils/getEnv'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; -import { getThirdDepartsNewApi } from '/@/views/interveneNew/diabetes/signalWarning/imitate/imitate.api'; -import { message } from 'ant-design-vue'; - -const columns: BasicColumn[] = [ - { - title: '单位名称', - align: 'center', - width: 100, - dataIndex: 'departName', - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - width: 100, - dataIndex: 'orgName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - width: 100, - dataIndex: 'realName', - fixed: 'left', - }, - { - title: '性别', - align: 'center', - width: 100, - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - align: 'center', - width: 100, - dataIndex: 'age', - }, - // { - // title: '身份证号', - // align: 'center', - // width: 100, - // dataIndex: 'idCard', - // ifShow: isShowIdCard(), - // }, -]; -const columns1: BasicColumn[] = [ - ...columns, - { - title: '吸烟', - align: 'center', - width: 100, - rewriting: true, - dataIndex: ['param', 'smoking'], - rewroteCell: { - type: 'select', - options: smokingStatus, - }, - customRender: ({ text }) => { - if (text == 0) return '从不吸烟'; - if (text == 1) return '已经戒烟'; - if (text == 2) return '现在吸烟'; - }, - }, - { - title: '饮白酒', - align: 'center', - width: 100, - rewriting: true, - dataIndex: ['param', 'drinking'], - rewroteCell: { - type: 'select', - options: drinkingStatus, - }, - customRender: ({ text }) => { - if (text == 0) return '从不喝酒'; - if (text == 1) return '已经戒酒'; - if (text == 2) return '现在喝酒'; - }, - }, - { - title: '30天熬夜时间\n(小时)', - align: 'center', - width: 120, - rewriting: true, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['param', 'sleepSeven'], - rewroteCell: { - type: 'input', - }, - }, - { - title: '30天吃烧烤食物\n(次)', - align: 'center', - width: 120, - rewriting: true, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['param', 'barbecueFood'], - rewroteCell: { - type: 'input', - }, - }, - { - title: '30天吃腌制食物\n(次)', - align: 'center', - width: 120, - rewriting: true, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['param', 'pickling'], - rewroteCell: { - type: 'input', - }, - }, - { - title: 'HP感染', - align: 'center', - width: 100, - rewriting: true, - dataIndex: ['param', 'hp'], - rewroteCell: { - type: 'select', - options: PHStatus, - }, - customRender: ({ text }) => { - if (text == 0) return '否'; - if (text == 1) return '是'; - }, - }, - { - title: '胃癌预警值', - align: 'center', - width: 100, - dataIndex: ['gastric', 'grade'], - customRender: ({ record }) => { - if (!record?.gastric) return ''; - const { riskValue, grade } = record?.gastric; - const color = getRiskLevel(grade); - const str = riskValue != null && grade != null ? parseFloat(riskValue).toFixed(2) + ' (' + grade + ')' : ''; - return h('div', { style: { color: color } }, str); - }, - }, -]; -const columns4: BasicColumn[] = [ - ...columns, - { - title: '糖尿病', - align: 'center', - width: 100, - rewriting: true, - dataIndex: ['param', 'diabetes'], - rewroteCell: { - type: 'select', - options: strongTeaStatus, - }, - customRender: ({ text }) => { - if (text == 0) return '否'; - if (text == 1) return '是'; - }, - }, - { - title: '血清铁蛋白\n(μg/L)', - align: 'center', - width: 100, - rewriting: true, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['param', 'sf'], - rewroteCell: { - type: 'input', - }, - }, - { - title: '甲胎蛋白\n(μg/L)', - align: 'center', - width: 100, - rewriting: true, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['param', 'afp'], - rewroteCell: { - type: 'input', - }, - }, - { - title: '谷氨酰转肽酶\n(U/L)', - align: 'center', - width: 120, - rewriting: true, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['param', 'y_GT'], - rewroteCell: { - type: 'input', - }, - }, - { - title: '30天接触辐射\n环境(次)', - align: 'center', - width: 120, - rewriting: true, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['param', 'radiation'], - rewroteCell: { - type: 'input', - }, - }, - { - title: '吸烟', - align: 'center', - width: 100, - rewriting: true, - dataIndex: ['param', 'smoking'], - rewroteCell: { - type: 'select', - options: smokingStatus, - }, - customRender: ({ text }) => { - if (text == 0) return '从不吸烟'; - if (text == 1) return '已经戒烟'; - if (text == 2) return '现在吸烟'; - }, - }, - { - title: '饮白酒', - align: 'center', - width: 100, - rewriting: true, - dataIndex: ['param', 'drinking'], - rewroteCell: { - type: 'select', - options: drinkingStatus, - }, - customRender: ({ text }) => { - if (text == 0) return '从不喝酒'; - if (text == 1) return '已经戒酒'; - if (text == 2) return '现在喝酒'; - }, - }, - { - title: '30天吃烧烤食物\n(次)', - align: 'center', - width: 120, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - dataIndex: ['param', 'barbecueFood'], - rewroteCell: { - type: 'input', - }, - }, - { - title: '30天吃腌制食物\n(次)', - align: 'center', - width: 120, - rewriting: true, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['param', 'pickling'], - rewroteCell: { - type: 'input', - }, - }, - { - title: '30天熬夜时间\n(小时)', - align: 'center', - width: 120, - rewriting: true, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['param', 'sleepSeven'], - rewroteCell: { - type: 'input', - }, - }, - { - title: '肝癌预警值', - align: 'center', - width: 100, - dataIndex: ['liver', 'grade'], - customRender: ({ record }) => { - if (!record?.liver) return ''; - const { riskValue, grade } = record?.liver; - const color = getRiskLevel(grade); - const str = riskValue != null && grade != null ? parseFloat(riskValue).toFixed(2) + ' (' + grade + ')' : ''; - return h('div', { style: { color: color } }, str); - }, - }, -]; - -const columns2: BasicColumn[] = [ - ...columns, - { - title: '精神、癫痫类疾病', - align: 'center', - width: 100, - rewriting: true, - dataIndex: ['param', 'mentalDisease'], - rewroteCell: { - type: 'select', - options: strongTeaStatus, - }, - customRender: ({ text }) => { - if (text == 0) return '否'; - if (text == 1) return '是'; - }, - }, - { - title: '吸烟', - align: 'center', - width: 100, - rewriting: true, - dataIndex: ['param', 'smoking'], - rewroteCell: { - type: 'select', - options: smokingStatus, - }, - customRender: ({ text }) => { - if (text == 0) return '从不吸烟'; - if (text == 1) return '已经戒烟'; - if (text == 2) return '现在吸烟'; - }, - }, - { - title: '饮白酒', - align: 'center', - width: 100, - rewriting: true, - dataIndex: ['param', 'drinking'], - rewroteCell: { - type: 'select', - options: drinkingStatus, - }, - customRender: ({ text }) => { - if (text == 0) return '从不喝酒'; - if (text == 1) return '已经戒酒'; - if (text == 2) return '现在喝酒'; - }, - }, - { - title: '30天吃烧烤食物\n(次)', - align: 'center', - width: 120, - rewriting: true, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['param', 'barbecueFood'], - rewroteCell: { - type: 'input', - }, - }, - { - title: '30天吃腌制食物\n(次)', - align: 'center', - width: 120, - rewriting: true, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['param', 'pickling'], - rewroteCell: { - type: 'input', - }, - }, - { - title: '30天熬夜时间\n(小时)', - align: 'center', - width: 120, - rewriting: true, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['param', 'sleepSeven'], - rewroteCell: { - type: 'input', - }, - }, - { - title: '30天接触辐射\n环境(次)', - align: 'center', - width: 100, - rewriting: true, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['param', 'radiation'], - rewroteCell: { - type: 'input', - }, - }, - { - title: '肺癌预警值', - align: 'center', - width: 100, - dataIndex: ['lung', 'grade'], - customRender: ({ record }) => { - if (!record?.lung) return ''; - const { riskValue, grade } = record?.lung; - const color = getRiskLevel(grade); - const str = riskValue != null && grade != null ? parseFloat(riskValue).toFixed(2) + ' (' + grade + ')' : ''; - return h('div', { style: { color: color } }, str); - }, - }, -]; -const columns3: BasicColumn[] = [ - ...columns, - { - title: '吸烟', - align: 'center', - width: 100, - rewriting: true, - dataIndex: ['param', 'smoking'], - rewroteCell: { - type: 'select', - options: smokingStatus, - }, - customRender: ({ text }) => { - if (text == 0) return '从不吸烟'; - if (text == 1) return '已经戒烟'; - if (text == 2) return '现在吸烟'; - }, - }, - { - title: '饮白酒', - align: 'center', - width: 100, - rewriting: true, - dataIndex: ['param', 'drinking'], - rewroteCell: { - type: 'select', - options: drinkingStatus, - }, - customRender: ({ text }) => { - if (text == 0) return '从不喝酒'; - if (text == 1) return '已经戒酒'; - if (text == 2) return '现在喝酒'; - }, - }, - { - title: '30天吃烧烤食物\n(次)', - align: 'center', - width: 120, - rewriting: true, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['param', 'barbecueFood'], - rewroteCell: { - type: 'input', - }, - }, - { - title: '30天吃腌制食物\n(次)', - align: 'center', - width: 120, - rewriting: true, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['param', 'pickling'], - rewroteCell: { - type: 'input', - }, - }, - { - title: '30天熬夜时间\n(小时)', - align: 'center', - width: 120, - rewriting: true, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['param', 'sleepSeven'], - rewroteCell: { - type: 'input', - }, - }, - { - title: '直结肠癌预警值', - align: 'center', - width: 100, - dataIndex: ['intestinal', 'grade'], - customRender: ({ record }) => { - if (!record?.intestinal) return ''; - const { riskValue, grade } = record?.intestinal; - const color = getRiskLevel(grade); - const str = riskValue != null && grade != null ? parseFloat(riskValue).toFixed(2) + ' (' + grade + ')' : ''; - return h('div', { style: { color: color } }, str); - }, - }, -]; - -export const columnsList = [columns1, columns4, columns2, columns3]; - -export const getSearchSchema = () => { - return [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2', 'orgCode'), - // { - // label: '是否死亡', - // field: 'isDead', - // component: 'Select', - // componentProps: () => { - // return { - // options: [ - // { - // label: '是', - // value: '1', - // }, - // { - // label: '否', - // value: '0', - // }, - // ], - // }; - // }, - // }, - ]; -}; -export const relationColumn: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'departName', - align: 'center', - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'orgName', - align: 'center', - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'realName', - align: 'center', - fixed: 'left', - }, - { - title: '员工工号', // 原来为工号 - dataIndex: 'workNo', - align: 'center', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - align: 'center', - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - }, -]; - -export const relationSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2', 'orgCode'), - // { - // label: '单位', - // field: 'orgCode', - // component: 'ApiSelect', - // componentProps: ({ formModel }) => { - // return { - // api: getSecondaryDepartmentList, - // resultField: 'result', - // labelField: 'departName', - // valueField: 'orgCode', - // immediate: true, - // showSearch: true, - // filterOption: (input: string, option: any): boolean => { - // const str: string = input.toLowerCase(); - // return option.departName.toLowerCase().indexOf(str) >= 0; - // }, - // onChange: (val: string) => { - // if (val && formModel.hasOwnProperty('deptCode')) { - // formModel.deptCode = ''; - // formModel.orgCode = val; - // } - // }, - // }; - // }, - // }, - // { - // label: '部门', - // field: 'deptCode', - // component: 'ApiSelect', - // componentProps: ({ formModel }) => { - // return { - // api: getThirdDepartsNewApi, - // params: { - // idOrCode: formModel?.orgCode || 'xasd', - // }, - // resultField: 'list', - // labelField: 'departName', - // valueField: 'orgCode', - // onFocus: () => { - // if (!formModel.orgCode) { - // return message.warn('请先选择单位!'); - // } - // }, - // showSearch: true, - // filterOption: (input: string, option: any): boolean => { - // const str: string = input.toLowerCase(); - // return option.label.toLowerCase().indexOf(str) >= 0; - // }, - // }; - // }, - // }, - { - label: '员工工号', // 原来为工号 - field: 'workNo', - component: 'Input', - }, -]; - -export const fakeLeftSchema: FormSchema[] = [ - { - label: '吸烟', - field: 'smoking', - component: 'RadioGroup', - defaultValue: 1, - componentProps: () => { - return { - options: smokingStatus, - }; - }, - }, - { - label: '饮白酒', - field: 'drinking', - component: 'RadioGroup', - defaultValue: 1, - componentProps: () => { - return { - options: drinkingStatus, - }; - }, - }, - { - label: '30天熬夜时间', - field: 'sleepSeven', - component: 'JSlider', - componentProps: ({ formModel }) => { - return { - min: 0, - max: 150, - step: 1, - unit: '小时', - onChange: (v) => { - formModel.sleepSeven = v; - }, - }; - }, - }, - { - label: '30天吃烧烤食物', - field: 'barbecueFood', - component: 'JSlider', - componentProps: ({ formModel }) => { - return { - min: 0, - max: 60, - step: 1, - unit: '次', - value: formModel.barbecueFood, - onChange: (v) => { - formModel.barbecueFood = v ? v : 0; - }, - }; - }, - }, - { - label: '30天吃腌制食物', - field: 'pickling', - component: 'JSlider', - componentProps: ({ formModel }) => { - return { - min: 0, - max: 60, - step: 1, - unit: '次', - onChange: (v) => { - formModel.pickling = v; - }, - }; - }, - }, - { - label: '30天接触辐射环境', - field: 'radiation', - component: 'JSlider', - componentProps: ({ formModel }) => { - return { - min: 0, - max: 60, - step: 1, - unit: '次', - onChange: (v) => { - formModel.radiation = v; - }, - }; - }, - }, - { - label: '年龄', - field: 'age', - component: 'Input', - show: false, - }, - { - label: '性别', - field: 'sex', - component: 'Input', - show: false, - }, -]; - -export const fakeRightSchema: FormSchema[] = [ - { - label: '糖尿病', - field: 'diabetes', - component: 'RadioGroup', - defaultValue: 1, - componentProps: () => { - return { - options: strongTeaStatus, - }; - }, - }, - { - label: '精神、癫痫类疾病', - field: 'mentalDisease', - component: 'RadioGroup', - defaultValue: 1, - componentProps: () => { - return { - options: strongTeaStatus, - }; - }, - }, - { - label: 'HP感染', - field: 'hp', - component: 'RadioGroup', - defaultValue: 1, - componentProps: () => { - return { - options: PHStatus, - }; - }, - }, - { - label: '血清铁蛋白', - field: 'sf', - component: 'JSlider', - componentProps: ({ formModel }) => { - return { - min: 0, - max: 2000, - step: 1, - unit: 'μg/L', - onChange: (v) => { - formModel.sf = v; - }, - }; - }, - }, - { - label: '甲胎蛋白', - field: 'afp', - component: 'JSlider', - componentProps: ({ formModel }) => { - return { - min: 0, - max: 1000, - step: 1, - unit: 'μg/L', - onChange: (v) => { - formModel.afp = v; - }, - }; - }, - }, - { - label: '谷氨酰转肽酶', - field: 'y_GT', - component: 'JSlider', - componentProps: ({ formModel }) => { - return { - min: 0, - max: 1000, - step: 1, - unit: 'μg/L', - onChange: (v) => { - formModel.y_GT = v; - }, - }; - }, - }, -]; diff --git a/src/views/interveneNew/cancer/cancerPrevention/simulation/simulationList.vue b/src/views/interveneNew/cancer/cancerPrevention/simulation/simulationList.vue deleted file mode 100644 index 03b424d..0000000 --- a/src/views/interveneNew/cancer/cancerPrevention/simulation/simulationList.vue +++ /dev/null @@ -1,225 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/etiology/behavior/behaviorList.api.ts b/src/views/interveneNew/cancer/etiology/behavior/behaviorList.api.ts deleted file mode 100644 index 0e92219..0000000 --- a/src/views/interveneNew/cancer/etiology/behavior/behaviorList.api.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/cancer/behaviorTraceability/list', - exportXls = '/health-intervene/intervene/aedEquipmentManger/exportXlsManager', -} -export const getExportUrl = Api.exportXls; -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); diff --git a/src/views/interveneNew/cancer/etiology/behavior/behaviorList.data.ts b/src/views/interveneNew/cancer/etiology/behavior/behaviorList.data.ts deleted file mode 100644 index 94c7118..0000000 --- a/src/views/interveneNew/cancer/etiology/behavior/behaviorList.data.ts +++ /dev/null @@ -1,390 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { message } from 'ant-design-vue'; -import { h } from 'vue'; -import { allSecondaryDepartsNew, getThirdDepartsNew } from '/@/utils/system/api'; -import { - deepFryStatus, - drinkingStatus, - passiveSmokingStatus, - physicalActivityStatus, - picklingStatus, - shifftStatus, - sleepSevenStatus, - smokingStatus, - strongTeaStatus, - takeMedicineStatus, -} from '/@/views/interveneNew/cancer/etiology/compoents/utils'; -import { isShowIdCard } from '/@/utils/getEnv'; - -export const getColumns = (isShowColor = false) => { - return [ - { - title: '单位名称', - align: 'center', - width: 100, - fixed: 'left', - dataIndex: 'departName', - }, - { - title: '部门名称', - align: 'center', - width: 100, - fixed: 'left', - dataIndex: 'orgName', - }, - { - title: '员工姓名', - align: 'center', - width: 100, - fixed: 'left', - dataIndex: 'realName', - }, - { - title: '性别', - align: 'center', - width: 100, - dataIndex: 'sex_dictText', - }, - // { - // title: '身份证号', - // align: 'center', - // width: 100, - // dataIndex: 'idCard', - // ifShow: isShowIdCard(), - // }, - { - title: '癌症名称', - align: 'center', - width: 100, - dataIndex: 'illNames', - customRender: ({ text }) => { - return h( - 'div', - text.split(',').map((item) => h('div', item)) - ); - }, - }, - { - title: '确诊时间', - align: 'center', - width: 100, - dataIndex: 'illTimes', - customRender: ({ text }) => { - return h( - 'div', - text.split(',').map((item) => h('div', item)) - ); - }, - }, - // { - // title: '是否病亡', - // align: 'center', - // width: 100, - // dataIndex: 'isDie', - // }, - { - title: '吸烟', - align: 'center', - children: smokingStatus.map((item) => { - return { - title: item.label, - align: 'center', - width: 80, - dataIndex: 'smoking', - customRender: ({ text, record }) => { - // @ts-ignore - if ((!!text || text == 0) && item.value == text) { - text = '✓'; - } else { - text = ''; - } - return isShowColor && record?.smokingError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }; - }), - }, - { - title: '被动吸烟', - align: 'center', - children: passiveSmokingStatus.map((item, index) => { - return { - title: item.label, - align: 'center', - width: index > 0 ? 120 : 80, - dataIndex: 'passiveSmoking', - customRender: ({ text, record }) => { - // @ts-ignore - if ((!!text || text == 0) && item.value == text) { - text = '✓'; - } else { - text = ''; - } - return isShowColor && record?.passiveSmokingError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }; - }), - }, - { - title: '饮酒', - align: 'center', - children: drinkingStatus.map((item) => { - return { - title: item.label, - align: 'center', - width: 80, - dataIndex: 'drinking', - customRender: ({ text, record }) => { - // @ts-ignore - if ((!!text || text == 0) && item.value == text) { - text = '✓'; - } else { - text = ''; - } - return isShowColor && record?.drinkingError ? h('span', { style: { color: 'red' } }, text) : text; - }, - }; - }), - }, - { - title: '饮浓茶', - align: 'center', - children: strongTeaStatus.map((item) => { - return { - title: item.label, - align: 'center', - width: 80, - dataIndex: 'strongTea', - customRender: ({ text, record }) => { - // @ts-ignore - if ((!!text || text == 0) && item.value == text) { - text = '✓'; - } else { - text = ''; - } - return isShowColor && record?.strongTeaError ? h('span', { style: { color: 'red' } }, text) : text; - }, - }; - }), - }, - { - title: '腌制菜', - align: 'center', - children: picklingStatus.map((item) => { - return { - title: item.label, - align: 'center', - width: 80, - dataIndex: 'pickling', - customRender: ({ text, record }) => { - // @ts-ignore - if ((!!text || text == 0) && item.value == text) { - text = '✓'; - } else { - text = ''; - } - return isShowColor && record?.picklingError ? h('span', { style: { color: 'red' } }, text) : text; - }, - }; - }), - }, - { - title: '油炸食品', - align: 'center', - children: deepFryStatus.map((item) => { - return { - title: item.label, - align: 'center', - width: 80, - dataIndex: 'deepFry', - customRender: ({ text, record }) => { - // @ts-ignore - if ((!!text || text == 0) && item.value == text) { - text = '✓'; - } else { - text = ''; - } - return isShowColor && record?.deepFryError ? h('span', { style: { color: 'red' } }, text) : text; - }, - }; - }), - }, - { - title: '体力活动', - align: 'center', - children: physicalActivityStatus.map((item) => { - return { - title: item.label, - align: 'center', - width: 80, - dataIndex: 'physicalActivity', - customRender: ({ text, record }) => { - // @ts-ignore - if ((!!text || text == 0) && item.value == text) { - text = '✓'; - } else { - text = ''; - } - return isShowColor && record?.physicalActivityError ? h('span', { style: { color: 'red' } }, text) : text; - }, - }; - }), - }, - { - title: '轮班', - align: 'center', - children: shifftStatus.map((item) => { - return { - title: item.label, - align: 'center', - width: 80, - dataIndex: 'shifft', - customRender: ({ text, record }) => { - // @ts-ignore - if ((!!text || text == 0) && item.value == text) { - text = '✓'; - } else { - text = ''; - } - return isShowColor && record?.shifftError ? h('span', { style: { color: 'red' } }, text) : text; - }, - }; - }), - }, - { - title: '睡眠时间>7小时', - align: 'center', - width: 120, - children: sleepSevenStatus.map((item) => { - return { - title: item.label, - align: 'center', - width: 80, - dataIndex: 'sleepSeven', - customRender: ({ text, record }) => { - // @ts-ignore - if ((!!text || text == 0) && item.value == text) { - text = '✓'; - } else { - text = ''; - } - return isShowColor && record?.sleepSevenError ? h('span', { style: { color: 'red' } }, text) : text; - }, - }; - }), - }, - { - title: '服药入睡频率', - align: 'center', - children: takeMedicineStatus.map((item) => { - return { - title: item.label, - align: 'center', - width: 80, - dataIndex: 'takeMedicine', - customRender: ({ text, record }) => { - // @ts-ignore - if ((!!text || text == 0) && item.value == text) { - text = '✓'; - } else { - text = ''; - } - return isShowColor && record?.takeMedicineError ? h('span', { style: { color: 'red' } }, text) : text; - }, - }; - }), - }, - ] as BasicColumn[]; -}; - -export const searchSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - }, - { - label: '单位名称', - field: 'secondDepartOrgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位名称', - // disabled: disabled, - immediate: true, - // afterFetch: () => { - // getAnyFromOther().r(); - // }, - onChange: (_value) => { - formModel.secondDepartOrgCode = ''; - }, - onDeselect: () => { - formModel.departOrgCode = ''; - formModel.secondDepartOrgCode = ''; - }, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '部门名称', - field: 'departOrgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNew, - resultField: 'list', - labelField: 'departName', - params: { - idOrCode: formModel?.secondDepartOrgCode || '12313', - }, - valueField: 'orgCode', - immediate: true, - onFocus: () => { - if (!formModel.secondDepartOrgCode) { - return message.warn('请先选择单位!'); - } - }, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - // { - // label: '是否病亡', - // field: '', - // component: 'Select', - // componentProps: () => { - // return { - // options: [ - // { - // label: '否', - // value: '1', - // }, - // { - // label: '是', - // value: '2', - // }, - // ], - // }; - // }, - // }, - { - label: '', - field: 'orgCode', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/cancer/etiology/behavior/behaviorList.vue b/src/views/interveneNew/cancer/etiology/behavior/behaviorList.vue deleted file mode 100644 index 0e9434d..0000000 --- a/src/views/interveneNew/cancer/etiology/behavior/behaviorList.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/etiology/compoents/utils.ts b/src/views/interveneNew/cancer/etiology/compoents/utils.ts deleted file mode 100644 index 1b6e6dc..0000000 --- a/src/views/interveneNew/cancer/etiology/compoents/utils.ts +++ /dev/null @@ -1,299 +0,0 @@ -// 吸烟 -export const smokingStatus = [ - { - label: '从不吸烟', - value: 0, - }, - { - label: '已经戒烟', - value: 1, - }, - { - label: '现在吸烟', - value: 2, - }, -]; -// 被动吸烟 -export const passiveSmokingStatus = [ - { - label: '无', - value: 0, - }, - { - label: '平均每周<1天', - value: 1, - }, - { - label: '平均每周1-3天', - value: 2, - }, - { - label: '平均每周4-5天', - value: 3, - }, - { - label: '几乎每天', - value: 4, - }, -]; -// 饮酒 -export const drinkingStatus = [ - { - label: '从不喝酒', - value: 0, - }, - { - label: '已经戒酒', - value: 1, - }, - { - label: '现在喝酒', - value: 2, - }, -]; -// 浓茶 -export const strongTeaStatus = [ - { - label: '否', - value: 0, - }, - { - label: '是', - value: 1, - }, -]; - -// 腌制 -export const picklingStatus = [ - { - label: '不吃', - value: 0, - }, - { - label: '偶尔吃', - value: 1, - }, - { - label: '经常吃', - value: 2, - }, -]; -// 油炸 -export const deepFryStatus = [ - { - label: '不吃', - value: 0, - }, - { - label: '偶尔吃', - value: 1, - }, - { - label: '经常吃', - value: 2, - }, -]; -// 体力活动 -export const physicalActivityStatus = [ - { - label: '低', - value: 0, - }, - { - label: '中', - value: 1, - }, - { - label: '高', - value: 2, - }, -]; -// 轮班 -export const shifftStatus = [ - { - label: '否', - value: 0, - }, - { - label: '是', - value: 1, - }, -]; -// 睡眠时间>7小时 -export const sleepSevenStatus = [ - { - label: '否', - value: 0, - }, - { - label: '是', - value: 1, - }, -]; -// 服药入睡频率 -export const takeMedicineStatus = [ - { - label: '不用服用', - value: 0, - }, - { - label: '每周平均不足一次', - value: 1, - }, - { - label: '每周平均1或2次', - value: 2, - }, - { - label: '每周平均3次或更多', - value: 3, - }, -]; -// 有毒化学物质 -export const poisonChemistryStatus = [ - { - label: '否', - value: 0, - }, - { - label: '是', - value: 1, - }, -]; -// 辐射 -export const radiationStatus = [ - { - label: '否', - value: 0, - }, - { - label: '是', - value: 1, - }, -]; -// 挥发性有机化合物 -export const volatilizationStatus = [ - { - label: '否', - value: 0, - }, - { - label: '是', - value: 1, - }, -]; -// 高温 -export const highTempStatus = [ - { - label: '否', - value: 0, - }, - { - label: '是', - value: 1, - }, -]; -// 高压 -export const highPressureStatus = [ - { - label: '否', - value: 0, - }, - { - label: '是', - value: 1, - }, -]; -// 噪音 -export const noiseStatus = [ - { - label: '否', - value: 0, - }, - { - label: '是', - value: 1, - }, -]; -// 粉尘 -export const dustStatus = [ - { - label: '否', - value: 0, - }, - { - label: '是', - value: 1, - }, -]; -// HP感染 -export const PHStatus = [ - { - label: '否', - value: 0, - }, - { - label: '是', - value: 1, - }, -]; -export const abdomenErrorStatus = [ - { - label: '无异常', - value: 0, - }, - { - label: '异常', - value: 1, - }, -]; -export const chestXErrorStatus = [ - { - label: '无异常', - value: 0, - }, - { - label: '异常', - value: 1, - }, -]; -export const chestCTErrorStatus = [ - { - label: '无异常', - value: 0, - }, - { - label: '异常', - value: 1, - }, -]; -export const contactStatus = [ - { - label: '不接触', - value: 0, - }, - { - label: '接触', - value: 1, - }, -]; -export const PreS1ValueNewStatus = [ - { - label: '阴性', - value: 0, - }, - { - label: '阳性', - value: 1, - }, -]; -export const liverBErrorALiverCTErrorStatus = [ - { - label: '无异常', - value: 0, - }, - { - label: '查看异常', - value: 1, - }, -]; diff --git a/src/views/interveneNew/cancer/etiology/environment/environmentList.api.ts b/src/views/interveneNew/cancer/etiology/environment/environmentList.api.ts deleted file mode 100644 index 3f88de8..0000000 --- a/src/views/interveneNew/cancer/etiology/environment/environmentList.api.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/cancer/environmentTraceability/list', - exportXls = '/health-intervene/intervene/aedEquipmentManger/exportXlsManager', -} -export const getExportUrl = Api.exportXls; -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); diff --git a/src/views/interveneNew/cancer/etiology/environment/environmentList.data.ts b/src/views/interveneNew/cancer/etiology/environment/environmentList.data.ts deleted file mode 100644 index dd83fde..0000000 --- a/src/views/interveneNew/cancer/etiology/environment/environmentList.data.ts +++ /dev/null @@ -1,257 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { - dustStatus, - highPressureStatus, - highTempStatus, - noiseStatus, - poisonChemistryStatus, - radiationStatus, - volatilizationStatus, -} from '/@/views/interveneNew/cancer/etiology/compoents/utils'; -import { isShowIdCard } from '/@/utils/getEnv'; - -export const getColumns = (isShowColor = false) => { - return [ - { - title: '单位名称', - align: 'center', - width: 100, - fixed: 'left', - dataIndex: 'departName', - }, - { - title: '部门名称', - align: 'center', - width: 100, - fixed: 'left', - dataIndex: 'orgName', - }, - { - title: '员工姓名', - align: 'center', - width: 100, - fixed: 'left', - dataIndex: 'realName', - }, - { - title: '性别', - align: 'center', - width: 100, - dataIndex: 'sex_dictText', - }, - // { - // title: '身份证号', - // align: 'center', - // width: 100, - // dataIndex: 'idCard', - // ifShow: isShowIdCard(), - // }, - { - title: '癌症名称', - align: 'center', - width: 100, - dataIndex: 'illNames', - customRender: ({ text }) => { - return h( - 'div', - text.split(',').map((item) => h('div', item)) - ); - }, - }, - { - title: '确诊时间', - align: 'center', - width: 100, - dataIndex: 'illTimes', - customRender: ({ text }) => { - return h( - 'div', - text.split(',').map((item) => h('div', item)) - ); - }, - }, - // { - // title: '是否病亡', - // align: 'center', - // width: 100, - // dataIndex: 'isDie', - // }, - { - title: '有毒化学物质', - align: 'center', - children: poisonChemistryStatus.map((item) => { - return { - title: item.label, - align: 'center', - width: 80, - dataIndex: 'poisonChemistry', - customRender: ({ text, record }) => { - // @ts-ignore - if ((!!text || text == 0) && item.value == text) { - text = '✓'; - } else { - text = ''; - } - return isShowColor && record?.poisonChemistry == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }; - }), - }, - { - title: '辐射', - align: 'center', - children: radiationStatus.map((item) => { - return { - title: item.label, - align: 'center', - width: 80, - dataIndex: 'radiation', - customRender: ({ text, record }) => { - // @ts-ignore - if ((!!text || text == 0) && item.value == text) { - text = '✓'; - } else { - text = ''; - } - return isShowColor && record?.radiation == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }; - }), - }, - { - title: '挥发性有机化合物', - align: 'center', - children: volatilizationStatus.map((item) => { - return { - title: item.label, - align: 'center', - width: 80, - dataIndex: 'volatilization', - customRender: ({ text, record }) => { - // @ts-ignore - if ((!!text || text == 0) && item.value == text) { - text = '✓'; - } else { - text = ''; - } - return isShowColor && record?.volatilization == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }; - }), - }, - { - title: '高温', - align: 'center', - children: highTempStatus.map((item) => { - return { - title: item.label, - align: 'center', - width: 80, - dataIndex: 'highTemp', - customRender: ({ text, record }) => { - // @ts-ignore - if ((!!text || text == 0) && item.value == text) { - text = '✓'; - } else { - text = ''; - } - return isShowColor && record?.highTemp == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }; - }), - }, - { - title: '高压', - align: 'center', - children: highPressureStatus.map((item) => { - return { - title: item.label, - align: 'center', - width: 80, - dataIndex: 'highPressure', - customRender: ({ text, record }) => { - // @ts-ignore - if ((!!text || text == 0) && item.value == text) { - text = '✓'; - } else { - text = ''; - } - return isShowColor && record?.highPressure == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }; - }), - }, - { - title: '噪音', - align: 'center', - children: noiseStatus.map((item) => { - return { - title: item.label, - align: 'center', - width: 80, - dataIndex: 'noise', - customRender: ({ text, record }) => { - // @ts-ignore - if ((!!text || text == 0) && item.value == text) { - text = '✓'; - } else { - text = ''; - } - return isShowColor && record?.noise == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }; - }), - }, - { - title: '粉尘', - align: 'center', - children: dustStatus.map((item) => { - return { - title: item.label, - align: 'center', - width: 80, - dataIndex: 'dust', - customRender: ({ text, record }) => { - // @ts-ignore - if ((!!text || text == 0) && item.value == text) { - text = '✓'; - } else { - text = ''; - } - return isShowColor && record?.dust == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }; - }), - }, - ] as BasicColumn[]; -}; - -export const searchSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2', 'orgCode'), - // { - // label: '是否病亡', - // field: '', - // component: 'Select', - // componentProps: () => { - // return { - // options: [ - // { - // label: '否', - // value: '1', - // }, - // { - // label: '是', - // value: '2', - // }, - // ], - // }; - // }, - // }, -]; diff --git a/src/views/interveneNew/cancer/etiology/environment/environmentList.vue b/src/views/interveneNew/cancer/etiology/environment/environmentList.vue deleted file mode 100644 index 133292c..0000000 --- a/src/views/interveneNew/cancer/etiology/environment/environmentList.vue +++ /dev/null @@ -1,50 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/etiology/individual/individualList.api.ts b/src/views/interveneNew/cancer/etiology/individual/individualList.api.ts deleted file mode 100644 index 6a96335..0000000 --- a/src/views/interveneNew/cancer/etiology/individual/individualList.api.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/cancer/individualTraceability/list', - exportXls = '/health-intervene/intervene/aedEquipmentManger/exportXlsManager', -} -export const getExportUrl = Api.exportXls; -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); diff --git a/src/views/interveneNew/cancer/etiology/individual/individualList.data.ts b/src/views/interveneNew/cancer/etiology/individual/individualList.data.ts deleted file mode 100644 index 5f443de..0000000 --- a/src/views/interveneNew/cancer/etiology/individual/individualList.data.ts +++ /dev/null @@ -1,689 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { h } from 'vue'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { - deepFryStatus, - drinkingStatus, - passiveSmokingStatus, - physicalActivityStatus, - picklingStatus, - shifftStatus, - sleepSevenStatus, - smokingStatus, - strongTeaStatus, - takeMedicineStatus, -} from '/@/views/interveneNew/cancer/etiology/compoents/utils'; -import { isShowIdCard } from '/@/utils/getEnv'; - -export const getColumns = (func) => { - return [ - { - title: '单位名称', - align: 'center', - width: 100, - fixed: 'left', - dataIndex: 'departName', - }, - { - title: '部门名称', - align: 'center', - width: 100, - fixed: 'left', - dataIndex: 'orgName', - }, - { - title: '员工姓名', - align: 'center', - width: 100, - fixed: 'left', - dataIndex: 'realName', - }, - { - title: '性别', - align: 'center', - width: 100, - dataIndex: 'sex_dictText', - }, - // { - // title: '身份证号', - // align: 'center', - // width: 100, - // dataIndex: 'idCard', - // ifShow: isShowIdCard(), - // }, - { - title: '癌症名称', - align: 'center', - width: 100, - dataIndex: 'illNames', - customRender: ({ text }) => { - return h( - 'div', - text.split(',').map((item) => h('div', item)) - ); - }, - }, - { - title: '确诊时间', - align: 'center', - width: 100, - dataIndex: 'illTimes', - customRender: ({ text }) => { - return h( - 'div', - text.split(',').map((item) => h('div', item)) - ); - }, - }, - // { - // title: '是否病亡', - // align: 'center', - // width: 100, - // dataIndex: 'isDie', - // }, - { - title: '指标溯源异常标注', - align: 'center', - children: [ - { - title: '癌胚抗原\n(μg/L)', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.['indexVO']?.caeValueNewError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['indexVO', 'caeValueNew'], - }, - { - title: '甲胎蛋白\n(μg/L)', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.['indexVO']?.afpValueNewError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['indexVO', 'afpValueNew'], - }, - { - title: '游离前列腺特\n异抗原(μg/L)', - align: 'center', - width: 110, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.['indexVO']?.psaValueNewError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['indexVO', 'psaValueNew'], - }, - { - title: '糖类抗原CA\n125(kU/L)', - align: 'center', - width: 100, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.['indexVO']?.ca125ValueNewError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['indexVO', 'ca125ValueNew'], - }, - { - title: '糖类抗原CA\n199(kU/L)', - align: 'center', - width: 100, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.['indexVO']?.ca199ValueNewError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['indexVO', 'ca199ValueNew'], - }, - { - title: '糖类抗原CA\n724(μg/L)', - align: 'center', - width: 100, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.['indexVO']?.ca724ValueNewError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['indexVO', 'ca724ValueNew'], - }, - { - title: '总蛋白\n(g/L)', - align: 'center', - width: 70, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.['indexVO']?.tpValueNewError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['indexVO', 'tpValueNew'], - }, - { - title: '白蛋白\n(g/L)', - align: 'center', - width: 70, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.['indexVO']?.albValueNewError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['indexVO', 'albValueNew'], - }, - { - title: '球蛋白\n(g/L)', - align: 'center', - width: 70, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.['indexVO']?.glbValueNewError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['indexVO', 'glbValueNew'], - }, - { - title: '铁蛋白\n(μg/)', - align: 'center', - width: 70, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.['indexVO']?.ferValueNewError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['indexVO', 'ferValueNew'], - }, - { - title: '谷氨酰基转\n移酶(U/L)', - align: 'center', - width: 90, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.['indexVO']?.ggtValueNewError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['indexVO', 'ggtValueNew'], - }, - { - title: '红细胞\n(10^12/L)', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.['indexVO']?.rbcValueNewError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['indexVO', 'rbcValueNew'], - }, - { - title: '血红蛋白\n(g/L)', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.['indexVO']?.hbValueNewError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['indexVO', 'hbValueNew'], - }, - { - title: '白细胞\n(10^9/L)', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.['indexVO']?.wbcValueNewError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['indexVO', 'wbcValueNew'], - }, - { - title: '血小板\n(10^9/L)', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.['indexVO']?.pltValueNewError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['indexVO', 'pltValueNew'], - }, - { - title: '乙肝病毒\nPreS1抗原', - align: 'center', - width: 90, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.['indexVO']?.pres1ValueNewError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['indexVO', 'pres1ValueNew'], - }, - ], - }, - // 影像 - { - title: '影像溯源异常标注', - align: 'center', - children: [ - { - title: '胸部透视', - align: 'center', - width: 80, - customRender: ({ text, record }) => { - return text - ? h('span', { style: { color: 'red', cursor: 'pointer' }, onClick: () => func(text) }, '查看异常') - : record?.imagesVO && record?.imagesVO?.cjestXList - ? '无异常' - : ''; - }, - dataIndex: ['imagesVO', 'chestXList'], - }, - { - title: '胸部CT', - align: 'center', - width: 80, - customRender: ({ text, record }) => { - return text - ? h('span', { style: { color: 'red', cursor: 'pointer' }, onClick: () => func(text) }, '查看异常') - : record?.imagesVO && record?.imagesVO?.chestCTList - ? '无异常' - : ''; - }, - dataIndex: ['imagesVO', 'chestCTList'], - }, - { - title: '肝脏CT', - align: 'center', - width: 80, - customRender: ({ text, record }) => { - return text - ? h('span', { style: { color: 'red', cursor: 'pointer' }, onClick: () => func(text) }, '查看异常') - : record?.imagesVO && record?.imagesVO?.liverCTList - ? '无异常' - : ''; - }, - dataIndex: ['imagesVO', 'liverCTList'], - }, - { - title: '肝脏B超', - align: 'center', - width: 80, - customRender: ({ text, record }) => { - return text - ? h('span', { style: { color: 'red', cursor: 'pointer' }, onClick: () => func(text) }, '查看异常') - : record?.imagesVO && record?.imagesVO?.liverBList - ? '无异常' - : ''; - }, - dataIndex: ['imagesVO', 'liverBList'], - }, - { - title: '甲状腺B超', - align: 'center', - width: 85, - customRender: ({ text, record }) => { - return text - ? h('span', { style: { color: 'red', cursor: 'pointer' }, onClick: () => func(text) }, '查看异常') - : record?.imagesVO && record?.imagesVO?.thyroidBList - ? '无异常' - : ''; - }, - dataIndex: ['imagesVO', 'thyroidBList'], - }, - { - title: '乳腺钼靶', - align: 'center', - width: 80, - customRender: ({ text, record }) => { - return text - ? h('span', { style: { color: 'red', cursor: 'pointer' }, onClick: () => func(text) }, '查看异常') - : record?.imagesVO && record?.imagesVO?.breastList - ? '无异常' - : ''; - }, - dataIndex: ['imagesVO', 'breastList'], - }, - { - title: '腹部彩超', - align: 'center', - width: 80, - customRender: ({ text, record }) => { - return text - ? h('span', { style: { color: 'red', cursor: 'pointer' }, onClick: () => func(text) }, '查看异常') - : record?.imagesVO && record?.imagesVO?.abdomenList - ? '无异常' - : ''; - }, - dataIndex: ['imagesVO', 'abdomenList'], - }, - ], - }, - // 行为 - { - title: '行为溯源标注', - align: 'center', - children: [ - { - title: '吸烟', - align: 'center', - width: 80, - customRender: ({ text, record }) => { - text = getName(text, smokingStatus); - return record?.['behaviorVO']?.smokingError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['behaviorVO', 'smoking'], - }, - { - title: '被动吸烟', - align: 'center', - width: 80, - customRender: ({ text, record }) => { - text = getName(text, passiveSmokingStatus); - return record?.['behaviorVO']?.passiveSmokingError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['behaviorVO', 'passiveSmoking'], - }, - { - title: '饮酒', - align: 'center', - width: 80, - customRender: ({ text, record }) => { - text = getName(text, drinkingStatus); - return record?.['behaviorVO']?.drinkingError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['behaviorVO', 'drinking'], - }, - { - title: '饮浓茶', - align: 'center', - width: 70, - customRender: ({ text, record }) => { - text = getName(text, strongTeaStatus); - return record?.['behaviorVO']?.strongTeaError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['behaviorVO', 'strongTea'], - }, - { - title: '腌制菜', - align: 'center', - width: 70, - customRender: ({ text, record }) => { - text = getName(text, picklingStatus); - return record?.['behaviorVO']?.picklingError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['behaviorVO', 'pickling'], - }, - { - title: '油炸食品', - align: 'center', - width: 80, - customRender: ({ text, record }) => { - text = getName(text, deepFryStatus); - return record?.['behaviorVO']?.deepFryError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: 'deepFry', - }, - { - title: '体力活动', - align: 'center', - width: 80, - customRender: ({ text, record }) => { - text = getName(text, physicalActivityStatus); - return record?.['behaviorVO']?.physicalHeavyError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['behaviorVO', 'physicalHeavy'], - }, - { - title: '轮班', - align: 'center', - width: 50, - customRender: ({ text, record }) => { - text = getName(text, shifftStatus); - return record?.['behaviorVO']?.shifftError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['behaviorVO', 'shifft'], - }, - { - title: '睡眠时间\n>7小时', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - text = getName(text, sleepSevenStatus); - return record?.['behaviorVO']?.sleepSevenError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['behaviorVO', 'sleepSeven'], - }, - { - title: '服药入\n睡频率', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - text = getName(text, takeMedicineStatus); - return record?.['behaviorVO']?.takeMedicineError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['behaviorVO', 'takeMedicine'], - }, - ], - }, - // 环境 - { - title: '环境溯源标注', - align: 'center', - children: [ - { - title: '有毒化\n学物质', - align: 'center', - width: 70, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text }) => { - return text == '1' ? h('span', { style: { color: 'red' } }, '接触') : text == '0' ? '不接触' : ''; - }, - dataIndex: ['environmentVO', 'poisonChemistry'], - }, - { - title: '辐射', - align: 'center', - width: 70, - customRender: ({ text }) => { - return text == '1' ? h('span', { style: { color: 'red' } }, '接触') : text == '0' ? '不接触' : ''; - }, - dataIndex: ['environmentVO', 'radiation'], - }, - { - title: '挥发性有\n机化合物', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text }) => { - return text == '1' ? h('span', { style: { color: 'red' } }, '接触') : text == '0' ? '不接触' : ''; - }, - dataIndex: ['environmentVO', 'volatilization'], - }, - { - title: '高温', - align: 'center', - width: 70, - customRender: ({ text }) => { - return text == '1' ? h('span', { style: { color: 'red' } }, '接触') : text == '0' ? '不接触' : ''; - }, - dataIndex: ['environmentVO', 'highTemp'], - }, - { - title: '高压', - align: 'center', - width: 70, - customRender: ({ text }) => { - return text == '1' ? h('span', { style: { color: 'red' } }, '接触') : text == '0' ? '不接触' : ''; - }, - dataIndex: ['environmentVO', 'highPressure'], - }, - { - title: '噪音', - align: 'center', - width: 70, - customRender: ({ text }) => { - return text == '1' ? h('span', { style: { color: 'red' } }, '接触') : text == '0' ? '不接触' : ''; - }, - dataIndex: ['environmentVO', 'noise'], - }, - { - title: '粉尘', - align: 'center', - width: 70, - customRender: ({ text }) => { - return text == '1' ? h('span', { style: { color: 'red' } }, '接触') : text == '0' ? '不接触' : ''; - }, - dataIndex: ['environmentVO', 'dust'], - }, - ], - }, - ] as BasicColumn[]; -}; - -export const getSearchSchema = () => { - return [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2', 'orgCode'), - // { - // label: '是否病亡', - // field: '', - // component: 'Select', - // componentProps: () => { - // return { - // options: [ - // { - // label: '否', - // value: '1', - // }, - // { - // label: '是', - // value: '2', - // }, - // ], - // }; - // }, - // }, - ]; -}; - -function getName(val, list) { - for (let i = 0; i < list.length; i++) { - if (list[i].value == val) { - return list[i].label; - } - } - return ''; -} diff --git a/src/views/interveneNew/cancer/etiology/individual/individualList.vue b/src/views/interveneNew/cancer/etiology/individual/individualList.vue deleted file mode 100644 index 7984f1e..0000000 --- a/src/views/interveneNew/cancer/etiology/individual/individualList.vue +++ /dev/null @@ -1,76 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/etiology/keynote/keynoteList.api.ts b/src/views/interveneNew/cancer/etiology/keynote/keynoteList.api.ts deleted file mode 100644 index 6bdf4d7..0000000 --- a/src/views/interveneNew/cancer/etiology/keynote/keynoteList.api.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/cancer/emphasis/list', -} -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); diff --git a/src/views/interveneNew/cancer/etiology/keynote/keynoteList.data.ts b/src/views/interveneNew/cancer/etiology/keynote/keynoteList.data.ts deleted file mode 100644 index c14034f..0000000 --- a/src/views/interveneNew/cancer/etiology/keynote/keynoteList.data.ts +++ /dev/null @@ -1,670 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { h } from 'vue'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { - deepFryStatus, - drinkingStatus, - passiveSmokingStatus, - physicalActivityStatus, - picklingStatus, - shifftStatus, - sleepSevenStatus, - smokingStatus, - strongTeaStatus, - takeMedicineStatus, -} from '/@/views/interveneNew/cancer/etiology/compoents/utils'; -import { isShowIdCard } from '/@/utils/getEnv'; - -export const getColumns = (func) => { - return [ - { - title: '单位名称', - align: 'center', - width: 100, - dataIndex: 'departName', - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - width: 100, - dataIndex: 'orgName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - width: 100, - dataIndex: 'realName', - fixed: 'left', - }, - { - title: '性别', - align: 'center', - width: 100, - dataIndex: 'sex_dictText', - }, - // { - // title: '身份证号', - // align: 'center', - // width: 100, - // dataIndex: 'idCard', - // ifShow: isShowIdCard(), - // }, - { - title: '癌症名称', - align: 'center', - width: 100, - dataIndex: 'illNames', - customRender: ({ text }) => { - return h( - 'div', - text.split(',').map((item) => h('div', item)) - ); - }, - }, - { - title: '确诊时间', - align: 'center', - width: 100, - dataIndex: 'illTimes', - customRender: ({ text }) => { - return h( - 'div', - text.split(',').map((item) => h('div', item)) - ); - }, - }, - // { - // title: '是否病亡', - // align: 'center', - // width: 80, - // dataIndex: '', - // }, - { - title: '指标溯源异常标注', - align: 'center', - children: [ - { - title: '癌胚抗原\n(μg/L)', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.ceaError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: 'ceaValueNew', - }, - { - title: '甲胎蛋白\n(μg/L)', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.afpError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: 'afpValueNew', - }, - { - title: '游离前列腺特\n异抗原(μg/L)', - align: 'center', - width: 110, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.psaError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: 'psaValueNew', - }, - { - title: '糖类抗原CA\n125(kU/L)', - align: 'center', - width: 100, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.ca125Error == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: 'ca125ValueNew', - }, - { - title: '糖类抗原CA\n199(kU/L)', - align: 'center', - width: 100, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.ca199Error == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: 'ca199ValueNew', - }, - { - title: '糖类抗原CA\n724(μg/L)', - align: 'center', - width: 100, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.ca724Error == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: 'ca724ValueNew', - }, - { - title: '总蛋白\n(g/L)', - align: 'center', - width: 70, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.tpError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: 'tpValueNew', - }, - { - title: '白蛋白\n(g/L)', - align: 'center', - width: 70, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.albError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: 'albValueNew', - }, - { - title: '球蛋白\n(g/L)', - align: 'center', - width: 70, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.glbError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: 'glbValueNew', - }, - { - title: '铁蛋白\n(μg/)', - align: 'center', - width: 70, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.ferError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: 'ferValueNew', - }, - { - title: '谷氨酰基转\n移酶(U/L)', - align: 'center', - width: 90, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.ggtError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: 'ggtValueNew', - }, - { - title: '红细胞\n(10^12/L)', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.rbcError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: 'rbcValueNew', - }, - { - title: '血红蛋白\n(g/L)', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.hbError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: 'hbValueNew', - }, - { - title: '白细胞\n(10^9/L)', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.wbcError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: 'wbcValueNew', - }, - { - title: '血小板\n(10^9/L)', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.pltError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: 'pltValueNew', - }, - { - title: '乙肝病毒\nPreS1抗原', - align: 'center', - width: 90, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.pres1Error == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: 'pres1ValueNew', - }, - ], - }, - // 影像 - { - title: '影像溯源异常标注', - align: 'center', - children: [ - { - title: '胸部透视', - align: 'center', - width: 80, - customRender: ({ text }) => { - return text ? h('span', { style: { color: 'red', cursor: 'pointer' }, onClick: () => func(text) }, '查看异常') : '无异常'; - }, - dataIndex: ['imagesVO', 'chestXList'], - }, - { - title: '胸部CT', - align: 'center', - width: 80, - customRender: ({ text }) => { - return text ? h('span', { style: { color: 'red', cursor: 'pointer' }, onClick: () => func(text) }, '查看异常') : '无异常'; - }, - dataIndex: ['imagesVO', 'chestCTList'], - }, - { - title: '肝脏CT', - align: 'center', - width: 80, - customRender: ({ text }) => { - return text ? h('span', { style: { color: 'red', cursor: 'pointer' }, onClick: () => func(text) }, '查看异常') : '无异常'; - }, - dataIndex: ['imagesVO', 'liverCTList'], - }, - { - title: '肝脏B超', - align: 'center', - width: 80, - customRender: ({ text }) => { - return text ? h('span', { style: { color: 'red', cursor: 'pointer' }, onClick: () => func(text) }, '查看异常') : '无异常'; - }, - dataIndex: ['imagesVO', 'liverBList'], - }, - { - title: '甲状腺B超', - align: 'center', - width: 85, - customRender: ({ text }) => { - return text ? h('span', { style: { color: 'red', cursor: 'pointer' }, onClick: () => func(text) }, '查看异常') : '无异常'; - }, - dataIndex: ['imagesVO', 'thyroidBList'], - }, - { - title: '乳腺钼靶', - align: 'center', - width: 80, - customRender: ({ text }) => { - return text ? h('span', { style: { color: 'red', cursor: 'pointer' }, onClick: () => func(text) }, '查看异常') : '无异常'; - }, - dataIndex: ['imagesVO', 'breastList'], - }, - { - title: '腹部彩超', - align: 'center', - width: 80, - customRender: ({ text }) => { - return text ? h('span', { style: { color: 'red', cursor: 'pointer' }, onClick: () => func(text) }, '查看异常') : '无异常'; - }, - dataIndex: ['imagesVO', 'abdomenList'], - }, - ], - }, - // 行为 - { - title: '行为溯源标注', - align: 'center', - children: [ - { - title: '吸烟', - align: 'center', - width: 80, - customRender: ({ text, record }) => { - text = getName(text, smokingStatus); - return record?.['behaviorVO']?.smokingError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['behaviorVO', 'smoking'], - }, - { - title: '被动吸烟', - align: 'center', - width: 80, - customRender: ({ text, record }) => { - text = getName(text, passiveSmokingStatus); - return record?.['behaviorVO']?.passiveSmokingError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['behaviorVO', 'passiveSmoking'], - }, - { - title: '饮酒', - align: 'center', - width: 80, - customRender: ({ text, record }) => { - text = getName(text, drinkingStatus); - return record?.['behaviorVO']?.drinkingError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['behaviorVO', 'drinking'], - }, - { - title: '饮浓茶', - align: 'center', - width: 70, - customRender: ({ text, record }) => { - text = getName(text, strongTeaStatus); - return record?.['behaviorVO']?.strongTeaError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['behaviorVO', 'strongTea'], - }, - { - title: '腌制菜', - align: 'center', - width: 70, - customRender: ({ text, record }) => { - text = getName(text, picklingStatus); - return record?.['behaviorVO']?.picklingError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['behaviorVO', 'pickling'], - }, - { - title: '油炸食品', - align: 'center', - width: 80, - customRender: ({ text, record }) => { - text = getName(text, deepFryStatus); - return record?.['behaviorVO']?.deepFryError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: 'deepFry', - }, - { - title: '体力活动', - align: 'center', - width: 80, - customRender: ({ text, record }) => { - text = getName(text, physicalActivityStatus); - return record?.['behaviorVO']?.physicalHeavyError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['behaviorVO', 'physicalHeavy'], - }, - { - title: '轮班', - align: 'center', - width: 50, - customRender: ({ text, record }) => { - text = getName(text, shifftStatus); - return record?.['behaviorVO']?.shifftError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['behaviorVO', 'shifft'], - }, - { - title: '睡眠时间\n>7小时', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - text = getName(text, sleepSevenStatus); - return record?.['behaviorVO']?.sleepSevenError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['behaviorVO', 'sleepSeven'], - }, - { - title: '服药入\n睡频率', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - text = getName(text, takeMedicineStatus); - return record?.['behaviorVO']?.takeMedicineError == '1' ? h('span', { style: { color: 'red' } }, text) : text; - }, - dataIndex: ['behaviorVO', 'takeMedicine'], - }, - ], - }, - // 环境 - { - title: '环境溯源标注', - align: 'center', - children: [ - { - title: '有毒化\n学物质', - align: 'center', - width: 70, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.poisonChemistry == '1' ? h('span', { style: { color: 'red' } }, '接触') : '不接触'; - }, - dataIndex: 'poisonChemistry', - }, - { - title: '辐射', - align: 'center', - width: 70, - customRender: ({ text, record }) => { - return record?.radiation == '1' ? h('span', { style: { color: 'red' } }, '接触') : '不接触'; - }, - dataIndex: 'radiation', - }, - { - title: '挥发性有\n机化合物', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - return record?.volatilization == '1' ? h('span', { style: { color: 'red' } }, '接触') : '不接触'; - }, - dataIndex: 'volatilization', - }, - { - title: '高温', - align: 'center', - width: 70, - customRender: ({ text, record }) => { - return record?.highTemp == '1' ? h('span', { style: { color: 'red' } }, '接触') : '不接触'; - }, - dataIndex: 'highTemp', - }, - { - title: '高压', - align: 'center', - width: 70, - customRender: ({ text, record }) => { - return record?.highPressure == '1' ? h('span', { style: { color: 'red' } }, '接触') : '不接触'; - }, - dataIndex: 'highPressure', - }, - { - title: '噪音', - align: 'center', - width: 70, - customRender: ({ text, record }) => { - return record?.noise == '1' ? h('span', { style: { color: 'red' } }, '接触') : '不接触'; - }, - dataIndex: 'noise', - }, - { - title: '粉尘', - align: 'center', - width: 70, - customRender: ({ text, record }) => { - return record?.dust == '1' ? h('span', { style: { color: 'red' } }, '接触') : '不接触'; - }, - dataIndex: 'dust', - }, - ], - }, - { - title: '确诊癌症\n关联度', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - fixed: 'right', - dataIndex: 'diagnosisCorrelation', - }, - { - title: '最新监测\n时间', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - fixed: 'right', - dataIndex: 'checkTime', - }, - ] as BasicColumn[]; -}; - -export const getSearchSchema = () => { - return [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2', 'orgCode'), - ]; -}; - -function getName(val, list) { - for (let i = 0; i < list.length; i++) { - if (list[i].value == val) { - return list[i].label; - } - } - return '-'; -} diff --git a/src/views/interveneNew/cancer/etiology/keynote/keynoteList.vue b/src/views/interveneNew/cancer/etiology/keynote/keynoteList.vue deleted file mode 100644 index 6c1a4a3..0000000 --- a/src/views/interveneNew/cancer/etiology/keynote/keynoteList.vue +++ /dev/null @@ -1,80 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/etiology/portrait/portraitList.api.ts b/src/views/interveneNew/cancer/etiology/portrait/portraitList.api.ts deleted file mode 100644 index 89ed027..0000000 --- a/src/views/interveneNew/cancer/etiology/portrait/portraitList.api.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/cancer/imagesTraceability/list', - exportXls = '/health-intervene/intervene/aedEquipmentManger/exportXlsManager', -} -export const getExportUrl = Api.exportXls; -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); diff --git a/src/views/interveneNew/cancer/etiology/portrait/portraitList.data.ts b/src/views/interveneNew/cancer/etiology/portrait/portraitList.data.ts deleted file mode 100644 index db75d40..0000000 --- a/src/views/interveneNew/cancer/etiology/portrait/portraitList.data.ts +++ /dev/null @@ -1,342 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { message, Tooltip } from 'ant-design-vue'; -import { h } from 'vue'; -import { allSecondaryDepartsNew, getThirdDepartsNew } from '/@/utils/system/api'; -import { isShowIdCard } from '/@/utils/getEnv'; - -export const getColumns = (isShowColor = false) => { - return [ - { - title: '单位名称', - align: 'center', - dataIndex: 'departName', - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - dataIndex: 'orgName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'realName', - fixed: 'left', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - }, - // { - // title: '身份证号', - // align: 'center', - // dataIndex: 'idCard', - // ifShow: isShowIdCard(), - // }, - { - title: '癌症名称', - align: 'center', - dataIndex: 'illNames', - customRender: ({ text }) => { - return h( - Tooltip, - { title: text }, - h( - 'div', - text.split(',').map((item) => h('div', item)) - ) - ); - }, - }, - { - title: '确诊时间', - align: 'center', - dataIndex: 'illTimes', - customRender: ({ text }) => { - return h( - Tooltip, - { title: text }, - h( - 'div', - text.split(',').map((item) => h('div', item)) - ) - ); - }, - }, - // { - // title: '是否病亡', - // align: 'center', - // dataIndex: 'isDie', - // }, - { - title: '胸部透视', - align: 'center', - children: [ - { - title: '结节部位', - align: 'center', - dataIndex: 'chestXList', - customRender: ({ text }) => { - return getCheck(text || [], isShowColor); - }, - }, - { - title: '结节大小', - align: 'center', - dataIndex: 'chestXList', - customRender: ({ text }) => { - return getCheck(text || [], isShowColor, 'remark'); - }, - }, - ], - }, - { - title: '胸部CT', - align: 'center', - children: [ - { - title: '结节部位', - align: 'center', - dataIndex: 'chestCTList', - customRender: ({ text }) => { - return getCheck(text || [], isShowColor); - }, - }, - { - title: '结节大小', - align: 'center', - dataIndex: 'chestCTList', - customRender: ({ text }) => { - return getCheck(text || [], isShowColor, 'remark'); - }, - }, - ], - }, - { - title: '肝脏CT', - align: 'center', - children: [ - { - title: '结节部位', - align: 'center', - dataIndex: 'liverCTList', - customRender: ({ text }) => { - return getCheck(text || [], isShowColor); - }, - }, - { - title: '结节大小', - align: 'center', - dataIndex: 'liverCTList', - customRender: ({ text }) => { - return getCheck(text || [], isShowColor, 'remark'); - }, - }, - ], - }, - { - title: '肝脏B超', - align: 'center', - children: [ - { - title: '病变部位', - align: 'center', - dataIndex: 'liverBList', - customRender: ({ text }) => { - return getCheck(text || [], isShowColor); - }, - }, - { - title: '病变性质', - align: 'center', - dataIndex: 'liverBList', - customRender: ({ text }) => { - return getCheck(text || [], isShowColor, 'remark'); - }, - }, - ], - }, - { - title: '甲状腺B超', - align: 'center', - children: [ - { - title: '结节部位', - align: 'center', - dataIndex: 'thyroidBList', - customRender: ({ text }) => { - return getCheck(text || [], isShowColor); - }, - }, - { - title: '结节大小', - align: 'center', - dataIndex: 'thyroidBList', - customRender: ({ text }) => { - return getCheck(text || [], isShowColor, 'remark'); - }, - }, - ], - }, - { - title: '乳腺钼靶', - align: 'center', - children: [ - { - title: '结节部位', - align: 'center', - dataIndex: 'breastList', - customRender: ({ text }) => { - return getCheck(text || [], isShowColor); - }, - }, - { - title: '结节大小', - align: 'center', - dataIndex: 'breastList', - customRender: ({ text }) => { - return getCheck(text || [], isShowColor, 'remark'); - }, - }, - ], - }, - { - title: '腹部彩超', - align: 'center', - children: [ - { - title: '病变部位', - align: 'center', - dataIndex: 'abdomenList', - customRender: ({ text }) => { - return getCheck(text || [], isShowColor); - }, - }, - { - title: '病变性质', - align: 'center', - dataIndex: 'abdomenList', - customRender: ({ text }) => { - return getCheck(text || [], isShowColor, 'remark'); - }, - }, - ], - }, - ] as BasicColumn[]; -}; - -export const searchSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - }, - { - label: '单位名称', - field: 'secondDepartOrgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位名称', - // disabled: disabled, - immediate: true, - // afterFetch: () => { - // getAnyFromOther().r(); - // }, - onChange: (_value) => { - formModel.secondDepartOrgCode = ''; - }, - onDeselect: () => { - formModel.departOrgCode = ''; - formModel.secondDepartOrgCode = ''; - }, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '部门名称', - field: 'departOrgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNew, - resultField: 'list', - labelField: 'departName', - params: { - idOrCode: formModel?.secondDepartOrgCode || '12313', - }, - valueField: 'orgCode', - immediate: true, - onFocus: () => { - if (!formModel.secondDepartOrgCode) { - return message.warn('请先选择单位!'); - } - }, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - // { - // label: '是否病亡', - // field: '', - // component: 'Select', - // componentProps: () => { - // return { - // options: [ - // { - // label: '否', - // value: '1', - // }, - // { - // label: '是', - // value: '2', - // }, - // ], - // }; - // }, - // }, - { - label: '', - field: 'orgCode', - component: 'Input', - show: false, - }, -]; - -function getCKG(record, c, k, g) { - const cZ = record[c] ? record[c] + '' : ''; - const kZ = record[c] ? record[k] + '' : ''; - const gZ = record[c] ? record[g] + '' : ''; - return !!cZ || !!kZ || !!gZ ? cZ + '*' + kZ + '*' + gZ : ''; -} - -function getCheck(list: any[], show = false, field = 'position') { - return h( - Tooltip, - { title: list.map((item) => item[field]).join(',') }, - h( - 'div', - { - color: show ? 'red' : '', - }, - list.map((item) => h('div', item[field])) - ) - ); -} diff --git a/src/views/interveneNew/cancer/etiology/portrait/portraitList.vue b/src/views/interveneNew/cancer/etiology/portrait/portraitList.vue deleted file mode 100644 index a80b4c6..0000000 --- a/src/views/interveneNew/cancer/etiology/portrait/portraitList.vue +++ /dev/null @@ -1,47 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/etiology/simulation/compoents/fakeRelationShip.vue b/src/views/interveneNew/cancer/etiology/simulation/compoents/fakeRelationShip.vue deleted file mode 100644 index ca1f78b..0000000 --- a/src/views/interveneNew/cancer/etiology/simulation/compoents/fakeRelationShip.vue +++ /dev/null @@ -1,333 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/etiology/simulation/compoents/relationCharts.vue b/src/views/interveneNew/cancer/etiology/simulation/compoents/relationCharts.vue deleted file mode 100644 index e5275d2..0000000 --- a/src/views/interveneNew/cancer/etiology/simulation/compoents/relationCharts.vue +++ /dev/null @@ -1,66 +0,0 @@ - - diff --git a/src/views/interveneNew/cancer/etiology/simulation/compoents/relationShip.vue b/src/views/interveneNew/cancer/etiology/simulation/compoents/relationShip.vue deleted file mode 100644 index b52f059..0000000 --- a/src/views/interveneNew/cancer/etiology/simulation/compoents/relationShip.vue +++ /dev/null @@ -1,129 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/etiology/simulation/compoents/simulationDrawer.vue b/src/views/interveneNew/cancer/etiology/simulation/compoents/simulationDrawer.vue deleted file mode 100644 index ed0fbfc..0000000 --- a/src/views/interveneNew/cancer/etiology/simulation/compoents/simulationDrawer.vue +++ /dev/null @@ -1,79 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/etiology/simulation/compoents/trueRelation.vue b/src/views/interveneNew/cancer/etiology/simulation/compoents/trueRelation.vue deleted file mode 100644 index b51e5c2..0000000 --- a/src/views/interveneNew/cancer/etiology/simulation/compoents/trueRelation.vue +++ /dev/null @@ -1,509 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/etiology/simulation/simulation.api.ts b/src/views/interveneNew/cancer/etiology/simulation/simulation.api.ts deleted file mode 100644 index ff44dc6..0000000 --- a/src/views/interveneNew/cancer/etiology/simulation/simulation.api.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/cancer/simulationTest/list', - listStart = '/health-intervene/cancer/simulationStart/list', - exportXls = '/health-intervene/intervene/aedEquipmentManger/exportXlsManager', - cancerRelation = '/health-intervene/cancer/relation', -} -export const getExportUrl = (params: any) => defHttp.get({ url: Api.exportXls, params: params }); -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const listStartApi = (params: any, urlParams: string) => defHttp.post({ url: Api.listStart + `${urlParams}`, params: params }); - -export const cancerRelation = (params: any) => defHttp.get({ url: Api.cancerRelation, params }); diff --git a/src/views/interveneNew/cancer/etiology/simulation/simulationList.data.ts b/src/views/interveneNew/cancer/etiology/simulation/simulationList.data.ts deleted file mode 100644 index 6345099..0000000 --- a/src/views/interveneNew/cancer/etiology/simulation/simulationList.data.ts +++ /dev/null @@ -1,1685 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { - abdomenErrorStatus, - chestCTErrorStatus, - chestXErrorStatus, - contactStatus, - deepFryStatus, - drinkingStatus, - liverBErrorALiverCTErrorStatus, - passiveSmokingStatus, - physicalActivityStatus, - picklingStatus, - PreS1ValueNewStatus, - sleepSevenStatus, - smokingStatus, - strongTeaStatus, -} from '/@/views/interveneNew/cancer/etiology/compoents/utils'; -import { h } from 'vue'; -import { isShowIdCard } from '/@/utils/getEnv'; -import { getName } from '/@/views/interveneNew/compoents/utils'; -import { isHas } from '/@/views/interveneNew/cancer/signalPrediction/compoents/utils'; - -const columns: BasicColumn[] = [ - { - title: '单位名称', - align: 'center', - width: 100, - dataIndex: 'departName', - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - width: 100, - dataIndex: 'orgName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - width: 100, - dataIndex: 'realName', - fixed: 'left', - }, - { - title: '性别', - align: 'center', - width: 100, - dataIndex: 'sex_dictText', - }, - // { - // title: '身份证号', - // align: 'center', - // width: 100, - // dataIndex: 'idCard', - // ifShow: isShowIdCard(), - // }, - { - title: '癌症名称', - align: 'center', - width: 100, - dataIndex: 'illNames', - customRender: ({ text }) => { - return h('div', text ? text.split(',').map((item) => h('div', item)) : ''); - }, - }, - { - title: '确诊时间', - align: 'center', - width: 100, - dataIndex: 'illTimes', - customRender: ({ text }) => { - return h('div', text ? text.split(',').map((item) => h('div', item)) : ''); - }, - }, - // { - // title: '是否病亡', - // align: 'center', - // width: 100, - // dataIndex: 'isDie', - // }, -]; -const columns1: BasicColumn[] = [ - ...columns, - { - title: '指标溯源', - align: 'center', - children: [ - { - title: '癌胚抗原\n(μg/L)', - align: 'center', - width: 80, - rewriting: true, - rewroteCell: { - type: 'input', - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['indexVO', 'ceaValueNew'], - }, - { - title: '糖类抗原CA\n199(kU/L)', - align: 'center', - width: 100, - rewriting: true, - rewroteCell: { - type: 'input', - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['indexVO', 'ca199ValueNew'], - }, - { - title: '糖类抗原CA\n724(μg/L)', - align: 'center', - width: 100, - rewriting: true, - rewroteCell: { - type: 'input', - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['indexVO', 'ca724ValueNew'], - }, - { - title: '年龄', - align: 'center', - width: 50, - dataIndex: 'age', - }, - { - title: '性别', - align: 'center', - width: 50, - dataIndex: 'sex_dictText', - }, - { - title: '确诊癌症\n关联度', - align: 'center', - width: 80, - dataIndex: ['indexVO', 'diagnosisCorrelation'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text }) => { - return text ? text + '%' : ''; - }, - }, - ], - }, - { - title: '影像溯源', - align: 'center', - children: [ - { - title: '腹部彩超', - align: 'center', - width: 110, - dataIndex: ['imagesVO', 'abdomenError'], - rewriting: true, - rewroteCell: { - type: 'select', - options: abdomenErrorStatus, - }, - customRender: ({ text }) => { - return getName(text, abdomenErrorStatus); - }, - }, - { - title: '确诊癌症\n关联度', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['imagesVO', 'diagnosisCorrelation'], - customRender: ({ text }) => { - return text ? text + '%' : ''; - }, - }, - ], - }, - { - title: '行为溯源', - align: 'center', - children: [ - { - title: '吸烟', - align: 'center', - width: 130, - dataIndex: ['behaviorVO', 'smoking'], - rewriting: true, - rewroteCell: { - type: 'select', - options: smokingStatus, - }, - customRender: ({ text }) => { - return getName(text, smokingStatus); - }, - }, - { - title: '饮酒', - align: 'center', - width: 130, - dataIndex: ['behaviorVO', 'drinking'], - rewriting: true, - rewroteCell: { - type: 'select', - options: drinkingStatus, - }, - customRender: ({ text }) => { - return getName(text, drinkingStatus); - }, - }, - { - title: '饮浓茶', - align: 'center', - width: 80, - dataIndex: ['behaviorVO', 'strongTea'], - rewriting: true, - rewroteCell: { - type: 'select', - options: strongTeaStatus, - }, - customRender: ({ text }) => { - return getName(text, strongTeaStatus); - }, - }, - { - title: '腌制菜', - align: 'center', - width: 130, - dataIndex: ['behaviorVO', 'pickling'], - rewriting: true, - rewroteCell: { - type: 'select', - options: picklingStatus, - }, - customRender: ({ text }) => { - return getName(text, picklingStatus); - }, - }, - { - title: '油炸食品', - align: 'center', - width: 130, - dataIndex: ['behaviorVO', 'deepFry'], - rewriting: true, - rewroteCell: { - type: 'select', - options: deepFryStatus, - }, - customRender: ({ text }) => { - return getName(text, deepFryStatus); - }, - }, - { - title: '体力活动', - align: 'center', - width: 80, - dataIndex: ['behaviorVO', 'physicalActivityStatus'], - rewriting: true, - rewroteCell: { - type: 'select', - options: physicalActivityStatus, - }, - customRender: ({ text }) => { - return getName(text, physicalActivityStatus); - }, - }, - { - title: '睡眠时间\n>7小时', - align: 'center', - width: 80, - dataIndex: ['behaviorVO', 'sleepSeven'], - rewriting: true, - rewroteCell: { - type: 'select', - options: sleepSevenStatus, - }, - customRender: ({ text }) => { - return getName(text, sleepSevenStatus); - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '确诊癌症\n关联度', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['behaviorVO', 'diagnosisCorrelation'], - customRender: ({ text }) => { - return text ? text + '%' : ''; - }, - }, - ], - }, -]; -const columns2: BasicColumn[] = [ - ...columns, - { - title: '指标溯源', - align: 'center', - children: [ - { - title: '癌胚抗原\n(μg/L)', - align: 'center', - width: 80, - rewriting: true, - rewroteCell: { - type: 'input', - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['indexVO', 'ceaValueNew'], - }, - { - title: '糖类抗原CA\n125(μg/L)', - align: 'center', - width: 100, - rewriting: true, - rewroteCell: { - type: 'input', - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['indexVO', 'ca125ValueNew'], - }, - { - title: '确诊癌症\n关联度', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['indexVO', 'diagnosisCorrelation'], - customRender: ({ text }) => { - return text ? text + '%' : ''; - }, - }, - ], - }, - { - title: '影像溯源', - align: 'center', - children: [ - { - title: '胸部透视', - align: 'center', - width: 100, - dataIndex: ['imagesVO', 'chestXError'], - rewriting: true, - rewroteCell: { - type: 'select', - options: chestXErrorStatus, - }, - customRender: ({ text }) => { - return getName(text, chestXErrorStatus); - }, - }, - { - title: '胸部CT', - align: 'center', - width: 100, - dataIndex: ['imagesVO', 'chestCTError'], - rewriting: true, - rewroteCell: { - type: 'select', - options: chestCTErrorStatus, - }, - customRender: ({ text }) => { - return getName(text, chestCTErrorStatus); - }, - }, - { - title: '确诊癌症\n关联度', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['imagesVO', 'diagnosisCorrelation'], - customRender: ({ text }) => { - return text ? text + '%' : ''; - }, - }, - ], - }, - { - title: '行为溯源', - align: 'center', - children: [ - { - title: '吸烟', - align: 'center', - width: 130, - dataIndex: ['behaviorVO', 'smoking'], - rewriting: true, - rewroteCell: { - type: 'select', - options: smokingStatus, - }, - customRender: ({ text }) => { - return getName(text, smokingStatus); - }, - }, - { - title: '被动吸烟', - align: 'center', - width: 130, - dataIndex: ['behaviorVO', 'passiveSmoking'], - rewriting: true, - rewroteCell: { - type: 'select', - options: passiveSmokingStatus, - }, - customRender: ({ text }) => { - return getName(text, passiveSmokingStatus); - }, - }, - { - title: '饮酒', - align: 'center', - width: 130, - dataIndex: ['behaviorVO', 'drinking'], - rewriting: true, - rewroteCell: { - type: 'select', - options: drinkingStatus, - }, - customRender: ({ text }) => { - return getName(text, drinkingStatus); - }, - }, - { - title: '饮浓茶', - align: 'center', - width: 80, - dataIndex: ['behaviorVO', 'strongTea'], - rewriting: true, - rewroteCell: { - type: 'select', - options: strongTeaStatus, - }, - customRender: ({ text }) => { - return getName(text, strongTeaStatus); - }, - }, - { - title: '体力活动', - align: 'center', - width: 80, - dataIndex: ['behaviorVO', 'physicalActivityStatus'], - rewriting: true, - rewroteCell: { - type: 'select', - options: physicalActivityStatus, - }, - customRender: ({ text }) => { - return getName(text, physicalActivityStatus); - }, - }, - { - title: '睡眠时间\n>7小时', - align: 'center', - width: 80, - dataIndex: ['behaviorVO', 'sleepSeven'], - rewriting: true, - rewroteCell: { - type: 'select', - options: sleepSevenStatus, - }, - customRender: ({ text }) => { - return getName(text, sleepSevenStatus); - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '确诊癌症\n关联度', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['behaviorVO', 'diagnosisCorrelation'], - customRender: ({ text }) => { - return text ? text + '%' : ''; - }, - }, - ], - }, - { - title: '环境溯源', - align: 'center', - children: [ - { - title: '有毒化\n学物', - align: 'center', - width: 100, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['environmentVO', 'poisonChemistry'], - rewriting: true, - rewroteCell: { - type: 'select', - options: contactStatus, - }, - customRender: ({ text }) => { - return getName(text, contactStatus); - }, - }, - { - title: '辐射', - align: 'center', - width: 100, - dataIndex: ['environmentVO', 'radiation'], - rewriting: true, - rewroteCell: { - type: 'select', - options: contactStatus, - }, - customRender: ({ text }) => { - return getName(text, contactStatus); - }, - }, - { - title: '挥发性有\n机化合物', - align: 'center', - width: 100, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['environmentVO', 'volatilization'], - rewriting: true, - rewroteCell: { - type: 'select', - options: contactStatus, - }, - customRender: ({ text }) => { - return getName(text, contactStatus); - }, - }, - { - title: '粉尘', - align: 'center', - width: 100, - dataIndex: ['environmentVO', 'dust'], - rewriting: true, - rewroteCell: { - type: 'select', - options: contactStatus, - }, - customRender: ({ text }) => { - return getName(text, contactStatus); - }, - }, - { - title: '确诊癌症\n关联度', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['environmentVO', 'diagnosisCorrelation'], - customRender: ({ text }) => { - return text ? text + '%' : ''; - }, - }, - ], - }, -]; -const columns3: BasicColumn[] = [ - ...columns, - { - title: '指标溯源', - align: 'center', - children: [ - { - title: '甲胎蛋白\n(μg/L)', - align: 'center', - width: 80, - rewriting: true, - rewroteCell: { - type: 'input', - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['indexVO', 'afpValueNew'], - }, - { - title: '铁蛋白\n(μg/L)', - align: 'center', - width: 60, - rewriting: true, - rewroteCell: { - type: 'input', - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['indexVO', 'ferValueNew'], - }, - { - title: '乙肝病毒\nPreS1抗原', - align: 'center', - width: 90, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['indexVO', 'pres1ValueNew'], - rewriting: true, - rewroteCell: { - type: 'select', - options: PreS1ValueNewStatus, - }, - customRender: ({ text }) => { - return getName(text, PreS1ValueNewStatus); - }, - }, - { - title: 'BMI', - align: 'center', - width: 90, - dataIndex: 'BMI', - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '确诊癌症\n关联度', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['indexVO', 'diagnosisCorrelation'], - customRender: ({ text }) => { - return text ? text + '%' : ''; - }, - }, - ], - }, - { - title: '影像溯源', - align: 'center', - children: [ - { - title: '肝脏CT', - align: 'center', - width: 100, - dataIndex: ['imagesVO', 'liverCTError'], - rewriting: true, - rewroteCell: { - type: 'select', - options: chestCTErrorStatus, - }, - customRender: ({ text }) => { - return getName(text, chestCTErrorStatus); - }, - }, - { - title: '肝脏B超', - align: 'center', - width: 100, - dataIndex: ['imagesVO', 'liverBError'], - rewriting: true, - rewroteCell: { - type: 'select', - options: chestCTErrorStatus, - }, - customRender: ({ text }) => { - return getName(text, chestCTErrorStatus); - }, - }, - { - title: '确诊癌症\n关联度', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['imagesVO', 'diagnosisCorrelation'], - customRender: ({ text }) => { - return text ? text + '%' : ''; - }, - }, - ], - }, - { - title: '行为溯源', - align: 'center', - children: [ - { - title: '吸烟', - align: 'center', - width: 130, - dataIndex: ['behaviorVO', 'smoking'], - rewriting: true, - rewroteCell: { - type: 'select', - options: smokingStatus, - }, - customRender: ({ text }) => { - return getName(text, smokingStatus); - }, - }, - { - title: '饮酒', - align: 'center', - width: 130, - dataIndex: ['behaviorVO', 'drinking'], - rewriting: true, - rewroteCell: { - type: 'select', - options: drinkingStatus, - }, - customRender: ({ text }) => { - return getName(text, drinkingStatus); - }, - }, - { - title: '饮浓茶', - align: 'center', - width: 80, - dataIndex: ['behaviorVO', 'strongTea'], - rewriting: true, - rewroteCell: { - type: 'select', - options: strongTeaStatus, - }, - customRender: ({ text }) => { - return getName(text, strongTeaStatus); - }, - }, - { - title: '腌制菜', - align: 'center', - width: 130, - dataIndex: ['behaviorVO', 'pickling'], - rewriting: true, - rewroteCell: { - type: 'select', - options: picklingStatus, - }, - customRender: ({ text }) => { - return getName(text, picklingStatus); - }, - }, - { - title: '体力活动', - align: 'center', - width: 80, - dataIndex: ['behaviorVO', 'physicalActivityStatus'], - rewriting: true, - rewroteCell: { - type: 'select', - options: physicalActivityStatus, - }, - customRender: ({ text }) => { - return getName(text, physicalActivityStatus); - }, - }, - { - title: '睡眠时间\n>7小时', - align: 'center', - width: 80, - dataIndex: ['behaviorVO', 'sleepSeven'], - rewriting: true, - rewroteCell: { - type: 'select', - options: sleepSevenStatus, - }, - customRender: ({ text }) => { - return getName(text, sleepSevenStatus); - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '确诊癌症\n关联度', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['imagesVO', 'diagnosisCorrelation'], - customRender: ({ text }) => { - return text ? text + '%' : ''; - }, - }, - ], - }, - { - title: '环境溯源', - align: 'center', - children: [ - { - title: '辐射', - align: 'center', - width: 100, - dataIndex: ['environmentVO', 'radiation'], - rewriting: true, - rewroteCell: { - type: 'select', - options: contactStatus, - }, - customRender: ({ text }) => { - return getName(text, contactStatus); - }, - }, - { - title: '确诊癌症\n关联度', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: ['environmentVO', 'diagnosisCorrelation'], - customRender: ({ text }) => { - return text ? text + '%' : ''; - }, - }, - ], - }, -]; - -export const columnsList = [columns1, columns1, columns2, columns3]; - -export const getSearchSchema = () => { - return [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2', 'orgCode'), - { - label: '是否死亡', - field: 'isDead', - component: 'Select', - componentProps: () => { - return { - options: [ - { - label: '是', - value: '1', - }, - { - label: '否', - value: '0', - }, - ], - }; - }, - }, - ]; -}; - -export const fakeLTSchema: FormSchema[] = [ - { - label: '', - field: 'radio', - component: 'Input', - show: false, - }, - { - label: '癌胚抗原', - field: 'ceaValueNew', - component: 'JSlider', - componentProps: ({ formModel }) => { - return { - min: 0, - max: 1000, - step: 1, - unit: 'μg/L', - onChange: (v) => { - formModel.ceaValueNew = v; - }, - }; - }, - show: ({ values }) => values.radio != '3', - }, - { - label: 'CA199', - field: 'ca199ValueNew', - component: 'JSlider', - componentProps: ({ formModel }) => { - return { - min: 0, - max: 1000, - step: 1, - unit: 'kU/L', - onChange: (v) => { - formModel.ca199ValueNew = v; - }, - }; - }, - show: ({ values }) => values.radio == '1' || values.radio == '0', - }, - { - label: 'CA724', - field: 'ca724ValueNew', - component: 'JSlider', - componentProps: ({ formModel }) => { - return { - min: 0, - max: 50, - step: 1, - unit: 'μg/L', - onChange: (v) => { - formModel.ca724ValueNew = v; - }, - }; - }, - show: ({ values }) => values.radio == '1' || values.radio == '0', - }, - { - label: '年龄', - field: 'age', - component: 'Input', - componentProps: { - disabled: true, - }, - show: ({ values }) => values.radio == '1' || values.radio == '0', - }, - { - label: '性别', - field: 'sex', - component: 'Select', - componentProps: ({ formModel }) => { - return { - options: [ - { label: '男', value: '2' }, - { label: '女', value: '1' }, - ], - disabled: true, - }; - }, - show: ({ values }) => values.radio == '1' || values.radio == '0', - }, - { - label: h('div', [h('div', '糖类抗原'), h('div', 'CA125')]), - - // label: '糖类抗原CA125', - field: 'ca125ValueNew', - component: 'JSlider', - componentProps: ({ formModel }) => { - return { - min: 0, - max: 1000, - step: 1, - unit: 'μg/L', - onChange: (v) => { - formModel.ca125ValueNew = v; - }, - }; - }, - show: ({ values }) => values.radio == '2', - }, - { - label: '甲胎蛋白', - field: 'afpValueNew', - component: 'JSlider', - componentProps: ({ formModel }) => { - return { - min: 0, - max: 1000, - step: 1, - unit: 'μg/L', - onChange: (v) => { - formModel.afpValueNew = v; - }, - }; - }, - show: ({ values }) => values.radio == '3', - }, - { - label: '铁蛋白', - field: 'ferValueNew', - component: 'JSlider', - componentProps: ({ formModel }) => { - return { - min: 0, - max: 1000, - step: 1, - unit: 'μg/L', - onChange: (v) => { - formModel.ferValueNew = v; - }, - }; - }, - show: ({ values }) => values.radio == '3', - }, - { - label: h('div', [h('div', '乙肝病毒'), h('div', 'PreS1抗原')]), - // label: '乙肝病毒PreS1抗原', - field: 'pres1ValueNew', - component: 'RadioGroup', - componentProps: () => { - return { - options: PreS1ValueNewStatus, - }; - }, - show: ({ values }) => values.radio == '3', - }, - { - label: 'BMI', - field: 'BMI', - component: 'JSlider', - componentProps: ({ formModel }) => { - return { - min: 0, - max: 50, - step: 0.1, - onChange: (v) => { - formModel.BMI = v; - }, - }; - }, - show: ({ values }) => values.radio == '3', - }, -]; - -export const fakeLBSchema: FormSchema[] = [ - { - label: '', - field: 'radio', - component: 'Input', - show: false, - }, - { - label: '腹部彩超', - field: 'abdomenError', - component: 'RadioGroup', - componentProps: () => { - return { - options: abdomenErrorStatus, - }; - }, - show: ({ values }) => values.radio == '0' || values.radio == '1', - }, - { - label: '胸部透视', - field: 'chestXError', - component: 'RadioGroup', - componentProps: () => { - return { - options: chestXErrorStatus, - }; - }, - show: ({ values }) => values.radio == '2', - }, - { - label: '胸部CT', - field: 'chestCTError', - component: 'RadioGroup', - componentProps: () => { - return { - options: chestCTErrorStatus, - }; - }, - show: ({ values }) => values.radio == '2', - }, - { - label: '肝脏CT', - field: 'liverCTError', - component: 'RadioGroup', - componentProps: () => { - return { - options: chestCTErrorStatus, - }; - }, - show: ({ values }) => values.radio == '3', - }, - { - label: '肝脏B超', - field: 'liverBError', - component: 'RadioGroup', - componentProps: () => { - return { - options: chestCTErrorStatus, - }; - }, - show: ({ values }) => values.radio == '3', - }, -]; - -export const fakeRTSchema: FormSchema[] = [ - { - label: '', - field: 'radio', - component: 'Input', - show: false, - }, - { - label: '吸烟', - field: 'smoking', - component: 'RadioGroup', - componentProps: () => { - return { - options: smokingStatus, - }; - }, - }, - //肺癌 - { - label: '被动吸烟', - field: 'passiveSmoking', - component: 'RadioGroup', - componentProps: () => { - return { - options: passiveSmokingStatus, - }; - }, - show: ({ values }) => values.radio == '2', - }, - { - label: '饮酒', - field: 'drinking', - component: 'RadioGroup', - componentProps: () => { - return { - options: drinkingStatus, - }; - }, - }, - { - label: '饮浓茶', - field: 'strongTea', - component: 'RadioGroup', - componentProps: () => { - return { - options: strongTeaStatus, - }; - }, - }, - //除 肺癌 - { - label: '腌制菜', - field: 'pickling', - component: 'RadioGroup', - componentProps: () => { - return { - options: picklingStatus, - }; - }, - show: ({ values }) => values.radio != '2', - }, - //胃癌及肠癌 - { - label: '油炸食品', - field: 'deepFry', - component: 'RadioGroup', - componentProps: () => { - return { - options: deepFryStatus, - }; - }, - show: ({ values }) => values.radio == '0' || values.radio == '1', - }, - { - label: '体力活动', - field: 'physicalActivityStatus', - component: 'RadioGroup', - componentProps: () => { - return { - options: physicalActivityStatus, - }; - }, - }, - { - label: h('div', [h('div', '睡眠时间>7'), h('div', '小时')]), - field: 'sleepSeven', - component: 'RadioGroup', - componentProps: () => { - return { - options: sleepSevenStatus, - }; - }, - }, -]; - -export const fakeRBSchema: FormSchema[] = [ - { - label: '', - field: 'radio', - component: 'Input', - show: false, - }, - { - label: '有毒化学物', - field: 'poisonChemistry', - component: 'RadioGroup', - componentProps: () => { - return { - options: contactStatus, - }; - }, - show: ({ values }) => values.radio == '2', - }, - { - label: '辐射', - field: 'radiation', - component: 'RadioGroup', - componentProps: () => { - return { - options: contactStatus, - }; - }, - show: ({ values }) => values.radio == '2' || values.radio == '3', - }, - { - label: h('div', [h('div', '挥发性有'), h('div', '机化合物')]), - - // label: '挥发性有机化合物', - field: 'volatilization', - component: 'RadioGroup', - componentProps: () => { - return { - options: contactStatus, - }; - }, - show: ({ values }) => values.radio == '2', - }, - { - label: '粉尘', - field: 'dust', - component: 'RadioGroup', - componentProps: () => { - return { - options: contactStatus, - }; - }, - show: ({ values }) => values.radio == '2', - }, -]; - -//胃癌 -export const gastricArr = [ - { - label: '癌胚抗原', - value: 'cea', - name: 'ceaValueNew', - }, - { - label: 'CA199', - value: 'ca19_9', - name: 'ca199ValueNew', - }, - { - label: 'CA724', - value: 'ca724', - name: 'ca724ValueNew', - }, - { - label: '年龄', - value: 'age', - name: 'age', - }, - { - label: '性别', - value: 'sex', - name: 'sex', - }, - { - label: '腹部彩超', - value: 'abdominalMI', - name: 'abdomenError', - }, - { - label: '吸烟', - value: 'smoking', - name: 'smoking', - }, - { - label: '饮酒', - value: 'drink', - name: 'drinking', - }, - { - label: '饮浓茶', - value: 'tea', - name: 'strongTea', - }, - { - label: '腌制菜', - value: 'pickle', - name: 'pickling', - }, - { - label: '油炸食品', - value: 'fry', - name: 'deepFry', - }, - { - label: '体力活动', - value: 'physicalActivity', - name: 'physicalActivityStatus', - }, - { - label: '睡眠时间>7小时', - value: 'sleep', - name: 'sleepSeven', - }, -]; - -//肺癌 -export const lungArr = [ - { - label: '癌胚抗原', - value: 'cea', - name: 'ceaValueNew', - }, - { - label: '糖类抗原CA125', - value: 'ca125', - name: 'ca125ValueNew', - }, - { - label: '胸部透视', - value: 'chestXR', - name: 'chestXError', - }, - { - label: '胸部CT', - value: 'chestCT', - name: 'chestCTError', - }, - { - label: '吸烟', - value: 'smoking', - name: 'smoking', - }, - { - label: '被动吸烟', - value: 'passiveSmoking', - name: 'passiveSmoking', - }, - { - label: '饮酒', - value: 'drink', - name: 'drinking', - }, - { - label: '饮浓茶', - value: 'tea', - name: 'strongTea', - }, - { - label: '体力活动', - value: 'physicalActivity', - name: 'physicalActivityStatus', - }, - { - label: '睡眠时间>7小时', - value: 'sleep', - name: 'sleepSeven', - }, - { - label: '有毒化学物', - value: 'toxicChemicals', - name: 'poisonChemistry', - }, - { - label: '辐射', - value: 'radiation', - name: 'radiation', - }, - { - label: '挥发性有机化合物', - value: 'voc', - name: 'volatilization', - }, - { - label: '粉尘', - value: 'dust', - name: 'dust', - }, -]; - -//肝癌 -export const liverArr = [ - { - label: '甲胎蛋白', - value: 'afp', - name: 'afpValueNew', - }, - { - label: '铁蛋白', - value: 'ferritin', - name: 'ferValueNew', - }, - { - label: '乙肝病毒PreS1抗原', - value: 'hbv', - name: 'pres1ValueNew', - }, - { - label: 'BMI', - value: 'bmi', - name: 'BMI', - }, - { - label: '肝脏CT', - value: 'liverCT', - name: 'liverCTError', - }, - { - label: '肝脏B超', - value: 'liverMI', - name: 'liverBError', - }, - { - label: '吸烟', - value: 'smoking', - name: 'smoking', - }, - { - label: '饮酒', - value: 'drink', - name: 'drinking', - }, - { - label: '饮浓茶', - value: 'tea', - name: 'strongTea', - }, - { - label: '腌制菜', - value: 'pickle', - name: 'pickling', - }, - { - label: '体力活动', - value: 'physicalActivity', - name: 'physicalActivityStatus', - }, - { - label: '睡眠时间>7小时', - value: 'sleep', - name: 'sleepSeven', - }, - { - label: '辐射', - value: 'radiation', - name: 'radiation', - }, -]; - -export function getLabelByName(value, type) { - if (type == 'smoking') { - switch (value) { - case 0: - return '从不吸烟'; - case 1: - return '已经戒烟'; - case 2: - return '现在吸烟'; - } - } - if (type == 'drinking') { - switch (value) { - case 0: - return '从不喝酒'; - case 1: - return '已经戒酒'; - case 2: - return '现在喝酒'; - } - } - if (type == 'strongTea') { - switch (value) { - case 0: - return '否'; - case 1: - return '是'; - } - } - if (type == 'pickling') { - switch (value) { - case 0: - return '不吃'; - case 1: - return '偶尔吃'; - case 2: - return '经常吃'; - } - } - if (type == 'deepFry') { - switch (value) { - case 0: - return '不吃'; - case 1: - return '偶尔吃'; - case 2: - return '经常吃'; - } - } - if (type == 'sleepSeven') { - switch (value) { - case 0: - return '否'; - case 1: - return '是'; - } - } - if (type == 'physicalActivityStatus') { - switch (value) { - case 0: - return '低'; - case 1: - return '中'; - case 2: - return '高'; - } - } - if (type == 'sex') { - switch (value) { - case '1': - return '女'; - case '2': - return '男'; - } - } - if (type == 'abdomenError' || type == 'chestXError' || type == 'chestCTError') { - switch (value) { - case 0: - return '无异常'; - case 1: - return '异常'; - } - } - if (type == 'pres1ValueNew') { - switch (value) { - case 0: - return '阴性'; - case 1: - return '阳性'; - } - } - if (type == 'liverCTError' || type == 'liverBError') { - switch (value) { - case 0: - return '无异常'; - case 1: - return '异常'; - } - } - if (type == 'passiveSmoking') { - switch (value) { - case 0: - return '无'; - case 1: - return '平均每周<1天'; - case 2: - return '平均每周1-3天'; - case 3: - return '平均每周4-5天'; - case 4: - return '几乎每天'; - } - } - if (type == 'dust' || type == 'volatilization' || type == 'poisonChemistry' || type == 'radiation') { - switch (value) { - case 0: - return '不接触'; - case 1: - return '接触'; - } - } - if (!value) return '--'; - return value; -} diff --git a/src/views/interveneNew/cancer/etiology/simulation/simulationList.vue b/src/views/interveneNew/cancer/etiology/simulation/simulationList.vue deleted file mode 100644 index 8174433..0000000 --- a/src/views/interveneNew/cancer/etiology/simulation/simulationList.vue +++ /dev/null @@ -1,231 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/etiology/target/targetList.api.ts b/src/views/interveneNew/cancer/etiology/target/targetList.api.ts deleted file mode 100644 index 5fec2bd..0000000 --- a/src/views/interveneNew/cancer/etiology/target/targetList.api.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/cancer/indexTraceability/list', - exportXls = '/health-intervene/intervene/aedEquipmentManger/exportXlsManager', -} -export const getExportUrl = Api.exportXls; -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); diff --git a/src/views/interveneNew/cancer/etiology/target/targetList.data.ts b/src/views/interveneNew/cancer/etiology/target/targetList.data.ts deleted file mode 100644 index a8352dc..0000000 --- a/src/views/interveneNew/cancer/etiology/target/targetList.data.ts +++ /dev/null @@ -1,603 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { message } from 'ant-design-vue'; -import { h } from 'vue'; -import { allSecondaryDepartsNew, getThirdDepartsNew } from '/@/utils/system/api'; -import { isShowIdCard } from '/@/utils/getEnv'; - -export const getColumns = (isShowColor = false) => { - return [ - { - title: '单位名称', - align: 'center', - width: 100, - fixed: 'left', - dataIndex: 'departName', - }, - { - title: '部门名称', - align: 'center', - width: 100, - fixed: 'left', - dataIndex: 'orgName', - }, - { - title: '员工姓名', - align: 'center', - width: 100, - fixed: 'left', - dataIndex: 'realName', - }, - { - title: '性别', - align: 'center', - width: 100, - dataIndex: 'sex_dictText', - }, - // { - // title: '身份证号', - // align: 'center', - // width: 100, - // dataIndex: 'idCard', - // ifShow: isShowIdCard(), - // }, - { - title: '癌症名称', - align: 'center', - width: 100, - dataIndex: 'illNames', - customRender: ({ text }) => { - return h( - 'div', - text.split(',').map((item) => h('div', item)) - ); - }, - }, - { - title: '确诊时间', - align: 'center', - width: 100, - dataIndex: 'illTimes', - customRender: ({ text }) => { - return h( - 'div', - text.split(',').map((item) => h('div', item)) - ); - }, - }, - // { - // title: '是否病亡', - // align: 'center', - // width: 100, - // dataIndex: 'isDie', - // }, - { - title: '癌胚抗原(μg/L)', - align: 'center', - children: [ - { - title: '最新值', - align: 'center', - width: 70, - dataIndex: 'ceaValueNew', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.ceaError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '平均值', - align: 'center', - width: 70, - dataIndex: 'ceaAvg', - }, - { - title: '异常次', - align: 'center', - width: 70, - dataIndex: 'ceaErrorNum', - }, - ], - }, - { - title: '甲胎蛋白(μg/L)', - align: 'center', - children: [ - { - title: '最新值', - align: 'center', - width: 70, - dataIndex: 'afpValueNew', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.afpError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '平均值', - align: 'center', - width: 70, - dataIndex: 'afpPAvg', - }, - { - title: '异常次', - align: 'center', - width: 70, - dataIndex: 'afpErrorNum', - }, - ], - }, - { - title: '游离前列腺特异抗原(μg/L)', - align: 'center', - children: [ - { - title: '最新值', - align: 'center', - width: 70, - dataIndex: 'psaValueNew', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.psaError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '平均值', - align: 'center', - width: 70, - dataIndex: 'psaAvg', - }, - { - title: '异常次', - align: 'center', - width: 70, - dataIndex: 'psaErrorNum', - }, - ], - }, - { - title: '糖类抗原CA125(kU/L)', - align: 'center', - children: [ - { - title: '最新值', - align: 'center', - width: 70, - dataIndex: 'ca125ValueNew', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.ca125Error == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '平均值', - align: 'center', - width: 70, - dataIndex: 'ca125Avg', - }, - { - title: '异常次', - align: 'center', - width: 70, - dataIndex: 'ca125ErrorNum', - }, - ], - }, - { - title: '糖类抗原CA199(kU/L)', - align: 'center', - children: [ - { - title: '最新值', - align: 'center', - width: 70, - dataIndex: 'ca199ValueNew', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.ca199Error == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '平均值', - align: 'center', - width: 70, - dataIndex: 'ca199Avg', - }, - { - title: '异常次', - align: 'center', - width: 70, - dataIndex: 'ca199ErrorNum', - }, - ], - }, - { - title: '糖类抗原CA724(μg/L)', - align: 'center', - children: [ - { - title: '最新值', - align: 'center', - width: 70, - dataIndex: 'ca724ValueNew', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.ca724Error == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '平均值', - align: 'center', - width: 70, - dataIndex: 'ca724Avg', - }, - { - title: '异常次', - align: 'center', - width: 70, - dataIndex: 'ca724ErrorNum', - }, - ], - }, - { - title: '总蛋白(g/L)', - align: 'center', - children: [ - { - title: '最新值', - align: 'center', - width: 70, - dataIndex: 'tpValueNew', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.tpError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '平均值', - align: 'center', - width: 70, - dataIndex: 'tpAvg', - }, - { - title: '异常次', - align: 'center', - width: 70, - dataIndex: 'tpErrorNum', - }, - ], - }, - { - title: '白蛋白(g/L)', - align: 'center', - children: [ - { - title: '最新值', - align: 'center', - width: 70, - dataIndex: 'albValueNew', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.albError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '平均值', - align: 'center', - width: 70, - dataIndex: 'albAvg', - }, - { - title: '异常次', - align: 'center', - width: 70, - dataIndex: 'albErrorNum', - }, - ], - }, - { - title: '球蛋白(g/L)', - align: 'center', - children: [ - { - title: '最新值', - align: 'center', - width: 70, - dataIndex: 'glbValueNew', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.glbError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '平均值', - align: 'center', - width: 70, - dataIndex: 'glbAvg', - }, - { - title: '异常次', - align: 'center', - width: 70, - dataIndex: 'glbErrorNum', - }, - ], - }, - { - title: '铁蛋白(μg/)', - align: 'center', - children: [ - { - title: '最新值', - align: 'center', - width: 70, - dataIndex: 'ferValueNew', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.ferError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '平均值', - align: 'center', - width: 70, - dataIndex: 'ferAvg', - }, - { - title: '异常次', - align: 'center', - width: 70, - dataIndex: 'ferErrorNum', - }, - ], - }, - { - title: '谷氨酰基转移酶(U/L)', - align: 'center', - children: [ - { - title: '最新值', - align: 'center', - width: 70, - dataIndex: 'ggtValueNew', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.ggtError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '平均值', - align: 'center', - width: 70, - dataIndex: 'ggtAvg', - }, - { - title: '异常次', - align: 'center', - width: 70, - dataIndex: 'ggtErrorNum', - }, - ], - }, - { - title: '红细胞(10^12/L)', - align: 'center', - children: [ - { - title: '最新值', - align: 'center', - width: 70, - dataIndex: 'rbcValueNew', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.rbcError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '平均值', - align: 'center', - width: 70, - dataIndex: 'rbcAvg', - }, - { - title: '异常次', - align: 'center', - width: 70, - dataIndex: 'rbcErrorNum', - }, - ], - }, - { - title: '血红蛋白(g/L)', - align: 'center', - children: [ - { - title: '最新值', - align: 'center', - width: 70, - dataIndex: 'hbValueNew', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.hbError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '平均值', - align: 'center', - width: 70, - dataIndex: 'hbAvg', - }, - { - title: '异常次', - align: 'center', - width: 70, - dataIndex: 'hbErrorNum', - }, - ], - }, - { - title: '白细胞(10^9/L)', - align: 'center', - children: [ - { - title: '最新值', - align: 'center', - width: 70, - dataIndex: 'wbcValueNew', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.wbcError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '平均值', - align: 'center', - width: 70, - dataIndex: 'wbcAvg', - }, - { - title: '异常次', - align: 'center', - width: 70, - dataIndex: 'wbcErrorNum', - }, - ], - }, - { - title: '血小板(10^9/L)', - align: 'center', - children: [ - { - title: '最新值', - align: 'center', - width: 70, - dataIndex: 'pltValueNew', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.pltError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '平均值', - align: 'center', - width: 70, - dataIndex: 'pltAvg', - }, - { - title: '异常次', - align: 'center', - width: 70, - dataIndex: 'pltErrorNum', - }, - ], - }, - { - title: '乙肝病毒pres1抗原', - align: 'center', - children: [ - { - title: '最新值', - align: 'center', - width: 70, - dataIndex: 'pres1ValueNew', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.pres1Error == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '异常次', - align: 'center', - width: 70, - dataIndex: 'pres1ErrorNum', - }, - ], - }, - ] as BasicColumn[]; -}; - -export const schemas: FormSchema[] = [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - }, - { - label: '单位名称', - field: 'secondDepartOrgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位名称', - // disabled: disabled, - immediate: true, - // afterFetch: () => { - // getAnyFromOther().r(); - // }, - onChange: (_value) => { - formModel.secondDepartOrgCode = ''; - }, - onDeselect: () => { - formModel.departOrgCode = ''; - formModel.secondDepartOrgCode = ''; - }, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '部门名称', - field: 'departOrgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNew, - resultField: 'list', - labelField: 'departName', - params: { - idOrCode: formModel?.secondDepartOrgCode || '12313', - }, - valueField: 'orgCode', - immediate: true, - onFocus: () => { - if (!formModel.secondDepartOrgCode) { - return message.warn('请先选择单位!'); - } - }, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - // { - // label: '是否病亡', - // field: '', - // component: 'Select', - // componentProps: () => { - // return { - // options: [ - // { - // label: '否', - // value: '1', - // }, - // { - // label: '是', - // value: '2', - // }, - // ], - // }; - // }, - // }, -]; diff --git a/src/views/interveneNew/cancer/etiology/target/targetList.vue b/src/views/interveneNew/cancer/etiology/target/targetList.vue deleted file mode 100644 index 12cf4b0..0000000 --- a/src/views/interveneNew/cancer/etiology/target/targetList.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/examinationCancer/answerActivity/answerActivity.api.ts b/src/views/interveneNew/cancer/examinationCancer/answerActivity/answerActivity.api.ts deleted file mode 100644 index ffdf5ac..0000000 --- a/src/views/interveneNew/cancer/examinationCancer/answerActivity/answerActivity.api.ts +++ /dev/null @@ -1,123 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/health-intervene/examPlan/list', - save = '/health-intervene/examPlan/save', - edit = '/health-intervene/examPlan/update', - deleteOne = '/health-intervene/examPlan/delete', - deleteBatch = '/health-intervene/answerActivity/healthAnswerExamPlan/deleteBatch', - importExcel = '/health-intervene/answerActivity/healthAnswerExamPlan/importExcel', - exportXls = '/health-intervene/answer/exam-plan/export', - getThirdDepartment = '/sys/sysDepart/getThirdDepartListByOrgCode', - detail = '/health-intervene/examPlan', - getPlanRecordById = '/health-intervene/examPlan/getPlanRecordById', - getPlanRuleById = '/health-intervene/examPlan/getPlanRuleById', - userList = '/sys/user/listUserJump', - questionNumber = '/health-intervene/question/statistic', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }, { headParams: 'C02' }); -/** - * @desc 用户数据 - * @param params - */ -export const userList = (params) => defHttp.get({ url: Api.userList, params }, { headParams: 'C02' }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteOne, - params, - }, - { joinParamsToUrl: true, headParams: 'C02' } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true, headParams: 'C02' } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - if (isUpdate) { - return defHttp.put({ url: Api.edit, params }, { headParams: 'C02' }); - } else { - return defHttp.post({ url: Api.save, params }, { headParams: 'C02' }); - } -}; - -/** - * 获取三级部门 体检管理 - */ -export const getThirdDepartmentList = async (params) => { - return await defHttp.get({ url: Api.getThirdDepartment, params }, { headParams: 'C02' }); -}; - -//根据活动ID查询活动详情 -export const getDetail = (params) => defHttp.get({ url: Api.detail, params }, { headParams: 'C02' }); - -//根据id查询答题活动(答题记录) -export const getPlanRecordById = (params) => defHttp.get({ url: Api.getPlanRecordById, params }, { headParams: 'C02' }); -//根据id查询答题活动(活动规则) -export const getPlanRuleById = (params) => defHttp.get({ url: Api.getPlanRuleById, params }, { headParams: 'C02' }); - -//答题活动管理-答题详情-导出 -export const exportDetailApi = (params) => defHttp.get({ url: Api.exportXls, params }, { headParams: 'C02' }); -//C01体检答题 C02 癌症答题 C03 急救答题 -export const getQuestionNumber = (params: any) => defHttp.get({ url: Api.questionNumber, params }, { headParams: 'C02' }); diff --git a/src/views/interveneNew/cancer/examinationCancer/answerActivity/answerActivity.data.ts b/src/views/interveneNew/cancer/examinationCancer/answerActivity/answerActivity.data.ts deleted file mode 100644 index 808cfe1..0000000 --- a/src/views/interveneNew/cancer/examinationCancer/answerActivity/answerActivity.data.ts +++ /dev/null @@ -1,979 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; - -import { isNonNegativeString } from '/@/utils/is'; -import { getThirdDepartListByOrgCode } from '/@/views/archive/employeeFile/employeeFileList.api'; -import { getThirdDepartmentList } from '/@/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivity.api'; -import { useUserStore } from '/@/store/modules/user'; -import { getQuestionNumber } from '/@/views/interveneNew/cancer/examinationCancer/answerActivity/answerActivity.api'; -import { h, ref } from 'vue'; -import { activeTime, getDeptList, getSumScore, hasValue } from '/@/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivityHooks'; -import { getTimeStr } from '/@/views/interveneNew/cancer/examinationCancer/randomAnswer/randomAnswerHook'; -import { getThirdDepartsNew } from '/@/utils/system/api'; -import { dictByCodeOrNameApi } from '/@/views/interveneNew/cancer/examinationCancer/topic/topicList.api'; -import { subtractAndCheck } from '/@/views/interveneNew/konwledgeManage/examination/randomAnswer/randomAnswerHook'; -import { rules } from '/@/utils/helper/validator'; -import { orgSearchInfo, orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { queryDepartTreeSync } from '/@/views/system/depart/depart.api'; - -const user = useUserStore(); - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '单位答题活动名称', - align: 'center', - dataIndex: 'examPlanName', - width: 200, - }, - { - title: '参加人员范围', - align: 'center', - dataIndex: 'scopeType_dictText', - }, - { - title: '题库类型', - align: 'center', - dataIndex: 'questionCategory', - }, - { - title: '活动起止日期', - align: 'center', - dataIndex: 'examPlanTime', - width: 200, - customRender: ({ record }) => { - return activeTime(record); - }, - }, - { - title: '应参加人数', - align: 'center', - dataIndex: 'shouldJoinNumber', - }, - { - title: '实际参加人数', - align: 'center', - dataIndex: 'actualJoinNumber', - }, - { - title: '活动状态', - align: 'center', - dataIndex: 'state', - customRender: ({ text, record }) => { - if (!text) return ''; - if (text != '1') { - return h('div', record?.state_dictText); - } - return h('div', { style: { color: 'green' } }, record?.state_dictText); - }, - }, - { - title: '组织部门', - align: 'center', - dataIndex: 'organizerDeptName', - }, - { - title: '负责人', - align: 'center', - dataIndex: 'managerName', - }, - { - title: '活动联系电话', - align: 'center', - dataIndex: 'managerPhone', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '活动名称', - field: 'examPlanName', - component: 'Input', - colProps: { span: 6 }, - }, - { - label: '题库类型', - field: 'questionCategoryId', - component: 'ApiSelect', - componentProps: () => { - return { - api: dictByCodeOrNameApi, - labelField: 'category', - valueField: 'id', - immediate: true, - // disabledInitValue: true, - getPopupContainer: () => document.body, - }; - }, - colProps: { span: 6 }, - }, - { - label: '活动状态', - field: 'state', - component: 'JDictSelectTag', - colProps: { span: 6 }, - componentProps: () => ({ - options: [ - { label: '未开始', value: '0' }, - { label: '进行中', value: '1' }, - { label: '已结束', value: '2' }, - ], - }), - }, - - { - label: '活动日期', - field: 'rangeDate', - component: 'RangePicker', - componentProps: () => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - }; - }, - }, -]; -//表单数据 -const deptOption = ref([]); -export const formSchema = (validate: Function) => [ - { - label: '活动名称', - field: 'examPlanName', - required: true, - component: 'Input', - }, - { - label: '参加人员范围', - field: 'scopeType', - component: 'JDictSelectTag', - componentProps: () => { - return { - type: 'radio', - options: [ - { label: '全体员工(管辖范围内)', value: '0' }, - { label: '指定人员', value: '1' }, - ], - }; - }, - defaultValue: '1', - required: true, - }, - { - label: '指定部门', - field: 'examPlanScopeDeptList', - component: 'JlazyTreeSelect', - ifShow: ({ values }) => values.scopeType == '1', - componentProps: ({ formModel }) => { - return { - api: queryDepartTreeSync, - loadApi: queryDepartTreeSync, - selectedKeys: - formModel.examPlanScopeDeptList && - formModel.examPlanScopeDeptList.map((item) => { - return JSON.parse(item); - }), - expandedKeys: - formModel.examPlanScopeDeptList && - formModel.examPlanScopeDeptList.map((item) => { - return JSON.parse(item); - }), - afterApi: (data) => { - data.forEach((item: any) => { - item['resultItem'] = JSON.stringify({ - record: item.title, - scopeId: item.orgCode, - type: 1, - }); - item['preTitle'] = item.title; - item['key'] = item['resultItem']; - }); - return data; - }, - preItem: (title, item) => { - item['preTitle'] = title + '/' + item.title; - item['resultItem'] = JSON.stringify({ - record: item.title, - scopeId: item.orgCode, - type: 1, - }); - item['key'] = item['resultItem']; - return item; - }, - fieldNamesInfo: { - value: 'resultItem', - label: 'preTitle', - key: 'resultItem', - }, - }; - }, - dynamicRules: ({ model }) => [ - { - trigger: 'blur', - validator: () => { - return new Promise((resolve, reject) => { - let dept = model?.examPlanScopeDeptList || []; - if (model.scopeType == '1' && dept.length == 0 && !model.userName) { - return reject('参加人员范围选择指定人员时,请选择指定部门或者指定人员'); - } - return resolve(); - }); - }, - }, - ], - }, - // { - // label: '指定部门', - // field: 'examPlanScopeDeptList', - // component: 'Input', - // show: false, - // }, - { - label: '指定员工', - field: 'userName', - component: 'Input', - slot: 'selectEmployee', - ifShow: ({ values }) => values.scopeType == '1', - dynamicRules: ({ model }) => { - return [ - { - trigger: 'blur', - validator: () => { - let dept = model?.examPlanScopeDeptList || []; - if (model.scopeType == '1' && dept.length == 0 && !model.userName) { - return Promise.reject('参加人员范围选择指定人员时,请选择指定部门或者指定人员'); - } - return Promise.resolve(); - }, - }, - ]; - }, - }, - { - label: '指定员工', - field: 'examPlanScopeUserList', - component: 'Input', - show: false, - }, - { - label: '活动起止日期', - field: 'date', - component: 'RangePicker', - required: true, - componentProps: ({ formModel }) => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - onChange: ([start, end]) => { - formModel.startTime = start; - formModel.endTime = end; - }, - }; - }, - }, - { - label: '开始时间', - field: 'startTime', - component: 'Input', - show: false, - }, - { - label: '结束时间', - field: 'endTime', - component: 'Input', - show: false, - }, - { - label: '活动组织部门', - field: 'organizerDeptName', - component: 'Input', - required: true, - }, - { - label: '活动联系电话', - field: 'managerPhone', - component: 'Input', - required: true, - rules: rules.phone(true), - }, - { - label: '具体负责人', - field: 'managerName', - component: 'Input', - required: true, - }, - { - label: '奖励等级标准', - field: 'awardLevelStandard', - component: 'InputTextArea', - componentProps: () => { - return { - showCount: true, - rows: 4, - }; - }, - required: true, - }, - { - label: '题库类型', - field: 'questionCategoryId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: dictByCodeOrNameApi, - labelField: 'category', - valueField: 'id', - immediate: true, - allowClear: false, - disabledInitValue: true, - getPopupContainer: () => document.body, - onChange: async (val) => { - if (val) { - formModel.questionCount = await getQuestionNumber({ questionCategoryId: val }); - formModel.questionSum = ''; - formModel.dgSum = ''; - formModel.dxSum = ''; - formModel.pdSum = ''; - } else { - formModel.questionCount = {}; - } - }, - }; - }, - required: true, - }, - { - field: 'questionCount', - label: '', - component: 'Input', - slot: 'questionCount', - ifShow: ({ values }) => values.questionCount !== undefined, - }, - { - label: '随机抽题数量', - field: 'questionSum', - component: 'InputNumber', - componentProps: ({ formModel }) => ({ - style: { - width: '100%', - }, - min: 1, - onChange: (val: string) => { - //联动校验 - if (val && (formModel?.dgSum || formModel?.dxSum || formModel?.pdSum)) { - validate(['a']); - } - }, - }), - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!model.questionCategoryId) { - return reject('请先选择题库类型!'); - } - if (!isNonNegativeString(model?.questionSum)) { - if (model?.questionSum == null) { - reject('请输入随机抽题数量!'); - } else { - reject('请检查输入格式!'); - } - } - if (model?.questionSum <= 0) { - reject('随机抽题数量必须大于0!'); - } - if (model?.questionSum > model?.questionCount?.questionSum) { - reject('随机抽题数量不能大于题库总数!'); - } - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - required: true, - }, - { - label: '题目类型数量', - field: 'a', - component: 'InputNumber', - slot: 'second', - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!model.questionCategoryId) { - return reject('请先选择题库类型!'); - } - if (!hasValue(model?.dgSum)) { - return reject('请输入单选数量!'); - } - if (!isNonNegativeString(model.dgSum)) { - return reject('请检查单选输入格式!'); - } - if (model?.dgSum > model?.questionCount?.dgSum) { - reject('输入单选数量不能大于题库单选数量!'); - } - if (!hasValue(model?.dxSum)) { - return reject('请输入多选数量!'); - } - if (!isNonNegativeString(model.dxSum)) { - return reject('请检查多选输入格式!'); - } - if (model?.dxSum > model?.questionCount?.dxSum) { - reject('输入多选数量不能大于题库多选数量!'); - } - if (!hasValue(model?.pdSum)) { - return reject('请输入判断数量!'); - } - if (!isNonNegativeString(model?.pdSum)) { - return reject('请检查判断输入格式!'); - } - if (model?.pdSum > model?.questionCount?.pdSum) { - reject('输入判断数量不能大于题库判断数量!'); - } - const n1 = Number(model.dgSum) + Number(model.dxSum) + Number(model.pdSum); - const n2 = Number(model.questionSum); - if (n1 !== n2) { - return reject('随机抽题数量与题目类型数量不符'); - } - model.examScore = getSumScore(model); - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '', - field: 'dgSum', - component: 'InputNumber', - show: false, - }, - { - label: '', - field: 'dxSum', - component: 'InputNumber', - show: false, - }, - { - label: '', - field: 'pdSum', - component: 'InputNumber', - show: false, - }, - { - label: '答题时长(分钟)', - field: 'answerTime', - component: 'InputNumber', - required: true, - componentProps: () => ({ - style: { - width: '100%', - }, - min: 1, - }), - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!model?.answerTime) { - return reject('请输入答题时长(分钟)!'); - } - if (!isNonNegativeString(model?.answerTime)) { - reject('请检查输入格式!'); - } - - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '单选题分值', - field: 'dgScore', - component: 'InputNumber', - required: true, - componentProps: () => ({ - style: { - width: '100%', - }, - min: 0, - max: 100, - }), - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!hasValue(model?.dgScore)) { - return reject('请输入单选题分值!'); - } - if (!isNonNegativeString(model?.dgScore)) { - reject('请检查输入格式!'); - } - model.examScore = getSumScore(model); - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '多选题分值', - field: 'dxScore', - component: 'InputNumber', - required: true, - componentProps: () => ({ - style: { - width: '100%', - }, - min: 0, - max: 100, - }), - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!hasValue(model?.dxScore)) { - return reject('请输入多选题分值!'); - } - if (!isNonNegativeString(model?.dxScore)) { - reject('请检查输入格式!'); - } - model.examScore = getSumScore(model); - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '判断题分值', - field: 'pdScore', - component: 'InputNumber', - required: true, - componentProps: () => ({ - style: { - width: '100%', - }, - min: 0, - max: 100, - }), - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!hasValue(model?.pdScore)) { - return reject('请输入判断题分值!'); - } - if (!isNonNegativeString(model?.pdScore)) { - reject('请检查输入格式!'); - } - model.examScore = getSumScore(model); - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '答题总分', - field: 'examScore', - component: 'InputNumber', - componentProps: () => ({ - disabled: true, - }), - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; -//答题活动详情-答题记录 -export const answerSearchForm: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'departmentCode', 'userDept'), -]; -//答题活动详情-答题列表 -export const activityDetailColumn: BasicColumn[] = [ - { - title: '单位', - align: 'center', - dataIndex: 'orgName', - fixed: 'left', - }, - { - title: '部门', - align: 'center', - dataIndex: 'userDeptName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'userName', - width: 100, - fixed: 'left', - }, - { - title: '员工编号', - align: 'center', - dataIndex: 'workNo', - width: 100, - }, - { - title: '性别', - align: 'center', - dataIndex: 'gender', - width: 70, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - width: 70, - }, - - { - title: '答题时间', - align: 'center', - dataIndex: 'endAnswerTime', - }, - { - title: '健康档案', - align: 'center', - dataIndex: 'archives', - width: 90, - }, - { - title: '得分', - align: 'center', - dataIndex: 'totalScore', - width: 80, - }, - { - title: '答题时长(分钟)', - align: 'center', - dataIndex: 'answerTimeSum', - customRender: ({ text }) => { - if (text) { - return getTimeStr(text); - } - }, - }, - { - title: '正确率%', - align: 'center', - dataIndex: 'trueRate', - customRender: ({ text }) => { - if (!text) return ''; - return `${text * 100} %`; - }, - }, - { - title: '错题数量/总题数', - align: 'center', - dataIndex: 'orderCount', - customRender: ({ record }) => { - const wrong = subtractAndCheck(record?.questionSum, record?.yesAmount) || 0; - return `${wrong}/${record?.questionSum}`; - }, - }, - { - title: '排名', - align: 'center', - dataIndex: 'ranking', - width: 90, - sorter: { - compare: (a, b) => a.ranking - b.ranking, - }, - }, -]; -//答题活动详情-活动规则 -export const activityDetailForm: FormSchema[] = [ - { - label: '抽取题目数量', - field: 'questionSum', - component: 'Input', - componentProps: () => { - return { - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - }; - }, - }, - { - label: '题目类型数量', - field: 'a', - component: 'Input', - slot: 'second', - }, - { - label: '', - field: 'dgSum', - component: 'Input', - show: false, - componentProps: () => ({ - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - }), - }, - { - label: '', - field: 'dxSum', - component: 'Input', - show: false, - componentProps: () => ({ - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - }), - }, - { - label: '', - field: 'pdSum', - component: 'Input', - show: false, - componentProps: () => ({ - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - }), - }, - { - label: '答题时长(分钟)', - field: 'answerTime', - component: 'Input', - componentProps: () => ({ - style: { - width: '100%', - border: 'none', - outline: 'none', - }, - placeholder: '', - readonly: true, - }), - }, - { - label: '单选题分值', - field: 'dgScore', - component: 'Input', - componentProps: () => ({ - style: { - width: '100%', - border: 'none', - outline: 'none', - }, - placeholder: '', - readonly: true, - }), - }, - { - label: '多选题分值', - field: 'dxScore', - component: 'Input', - componentProps: () => ({ - style: { - width: '100%', - border: 'none', - outline: 'none', - }, - placeholder: '', - readonly: true, - }), - }, - { - label: '判断题分值', - field: 'pdScore', - component: 'Input', - componentProps: () => ({ - style: { - width: '100%', - border: 'none', - outline: 'none', - }, - placeholder: '', - readonly: true, - }), - }, - { - label: '答题总分', - field: 'examScore', - defaultValue: 100, - component: 'Input', - componentProps: () => { - return { - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - }; - }, - }, - { - label: '参加人员范围', - field: 'scopeType', - component: 'Input', - show: false, - }, - { - label: '参加人员范围', - field: 'scopeType_dictText', - component: 'Input', - componentProps: () => { - return { - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - }; - }, - }, - { - label: '指定部门', - field: 'depart', - component: 'InputTextArea', - componentProps: () => { - return { - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - autoSize: { - minRows: 4, - }, - }; - }, - ifShow: ({ values }) => values.scopeType == '1', - }, - { - label: '指定员工', - field: 'userName', - component: 'InputTextArea', - componentProps: () => { - return { - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - autoSize: { - minRows: 4, - }, - }; - }, - ifShow: ({ values }) => values.scopeType == '1', - }, - { - label: '奖励等级标准', - field: 'awardLevelStandard', - component: 'InputTextArea', - componentProps: () => { - return { - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - autoSize: { - minRows: 4, - }, - }; - }, - }, -]; -//用户数据列表 -export const userFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'username', - component: 'Input', - }, - { - label: '单位', - field: 'orgCode', - component: 'Input', - show: false, - }, - { - label: '部门名称', - field: 'orgCodeThree', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNew, - resultField: 'list', - labelField: 'departName', - params: { - idOrCode: user?.userInfo?.orgCode?.substring(0, 6) || '12313', - }, - onChange: (e) => { - formModel.orgCode = e; - }, - valueField: 'orgCode', - immediate: true, - style: { - width: '195px', - }, - }; - }, - }, - { - label: '员工编号', - field: 'workNo', - component: 'Input', - }, -]; diff --git a/src/views/interveneNew/cancer/examinationCancer/answerActivity/answerActivity.vue b/src/views/interveneNew/cancer/examinationCancer/answerActivity/answerActivity.vue deleted file mode 100644 index 688ff66..0000000 --- a/src/views/interveneNew/cancer/examinationCancer/answerActivity/answerActivity.vue +++ /dev/null @@ -1,130 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/cancer/examinationCancer/answerActivity/answerActivityHooks.ts b/src/views/interveneNew/cancer/examinationCancer/answerActivity/answerActivityHooks.ts deleted file mode 100644 index 4e1bbf0..0000000 --- a/src/views/interveneNew/cancer/examinationCancer/answerActivity/answerActivityHooks.ts +++ /dev/null @@ -1,273 +0,0 @@ -import { ref } from 'vue'; -import moment from 'moment'; - -export function activeTime(record, type = 'yyyy-MM-DD') { - if (record?.startTime && record?.endTime) { - const s = moment(record.startTime).format(type); - const e = moment(record.endTime).format(type); - return `${s}一${e}`; - } - return ''; -} - -/** - * - * @param state 状态0-未开始,1进行中,2-已结束 - */ -export function useStateColor(state: string) { - if (!state) return 'gray'; - const obj = { - 0: 'gray', - 1: 'green', - 2: 'gray', - }; - return obj[state]; -} -export function useInfoList() { - const title = ref(''); - const infoList = ref([ - { - text: '活动起止时间', - value: '', - key: 'date', - }, - { - text: '题库类型', - value: '', - key: 'questionCategory', - }, - { - text: '组织部门', - value: '', - key: 'organizerDeptName', - }, - { - text: '负责人', - value: '', - key: 'managerName', - }, - { - text: '活动联系电话', - value: '', - key: 'managerPhone', - }, - ]); - const detailInfo = ref(''); - - function setInfoList(res) { - infoList.value.forEach((item) => { - if (item.key == 'date') { - item.value = activeTime(res, 'yyyy/MM/DD'); - } else { - item.value = res[item.key]; - } - }); - detailInfo.value = res; - title.value = res.examPlanName; - } - - return { - title, - infoList, - detailInfo, - setInfoList, - }; -} - -//新增获取部门数据 -export function getDeptList(list = [], keyCode = []) { - const arr = []; - list.forEach((item) => { - if (keyCode.includes(item.orgCode)) { - const obj = { - record: item.departName, - scopeId: item.orgCode, - type: 1, - }; - arr.push(obj); - } - }); - return arr; -} - -//新增获取用户数据 -export function getUserList(list = []) { - const arr = []; - list.forEach((item) => { - const val = JSON.parse(item); - const obj = { - record: val.realname, - scopeId: val.id, - type: 2, - }; - arr.push(obj); - }); - return arr; -} - -//计算总分数 -export function getSumScore(model) { - const sum = model?.dgSum * model?.dgScore + model?.dxSum * model?.dxScore + model?.pdSum * model?.pdScore; - return sum || 0; -} - -// 非空数组 -export function notEmptyArr(arr) { - return Array.isArray(arr) && arr.length != 0; -} - -export function hasValue(val) { - return val != null && true && val >= 0; -} -function getList(val) { - return val.split('},').map((item) => { - item = (item + '}').replace(/}}/g, '}'); - return item; - }); -} -// 处理请求参数 -export function setParams(value) { - let scopeType = 0; - let examPlanScopeDeptList = JSON.parse(value?.examPlanScopeDeptList || '[]'); - let examPlanScopeUserList = []; - const deptFlag = examPlanScopeDeptList.length > 0 && notEmptyArr(getList(value?.examPlanScopeDeptList)); - const userFlag = notEmptyArr(JSON.parse(value?.examPlanScopeUserList || '[]')); - if (deptFlag && userFlag) { - scopeType = 3; - examPlanScopeDeptList = JSON.parse(value.examPlanScopeDeptList); - examPlanScopeUserList = JSON.parse(value.examPlanScopeUserList); - } else if (deptFlag) { - scopeType = 1; - examPlanScopeDeptList = JSON.parse(value.examPlanScopeDeptList); - } else if (userFlag) { - scopeType = 2; - examPlanScopeUserList = JSON.parse(value.examPlanScopeUserList); - } - return { - ...value, - examPaperRuleDTO: { - answerTime: value.answerTime, - dgScore: value.dgScore, - dgSum: value.dgSum, - dxScore: value.dxScore, - dxSum: value.dxSum, - pdScore: value.pdScore, - pdSum: value.pdSum, - questionSum: value.questionSum, - examScore: value.examScore, - }, - examPlanScopeDeptList, - examPlanScopeUserList, - scopeType, - }; -} - -// 处理回显数据 -export function getRecord(value) { - let depart = []; - let userName = ''; - let examPlanScopeDeptList = '[]'; - let examPlanScopeUserList = '[]'; - const deptFlag = notEmptyArr(value?.examPlanScopeDeptList || []); - const userFlag = notEmptyArr(value?.examPlanScopeUserList || []); - if (deptFlag && userFlag) { - depart = value.examPlanScopeDeptList.map((item) => item.scopeId); - userName = value.examPlanScopeUserList.map((item) => item.record).join(','); - examPlanScopeDeptList = JSON.stringify(value.examPlanScopeDeptList); - examPlanScopeUserList = JSON.stringify(value.examPlanScopeUserList); - } else if (deptFlag) { - depart = value.examPlanScopeDeptList.map((item) => item.scopeId); - examPlanScopeDeptList = JSON.stringify(value.examPlanScopeDeptList); - } else if (userFlag) { - userName = value.examPlanScopeUserList.map((item) => item.record).join(','); - examPlanScopeUserList = JSON.stringify(value.examPlanScopeUserList); - } - return { - ...value, - scopeType: value?.scopeType == '0' ? '0' : '1', - depart, - userName, - examPlanScopeDeptList, - examPlanScopeUserList, - date: [value.startTime, value.endTime], - answerTime: value.examPaperRule?.answerTime, - dgScore: value.examPaperRule?.dgScore, - dgSum: value.examPaperRule?.dgSum, - dxScore: value.examPaperRule?.dxScore, - dxSum: value.examPaperRule?.dxSum, - pdScore: value.examPaperRule?.pdScore, - pdSum: value.examPaperRule?.pdSum, - questionSum: value.examPaperRule?.questionSum, - }; -} - -export function useActivityRules() { - const list = ref([ - { - label: '抽取题目数量', - value: '', - field: 'questionSum', - }, - { - label: '题目类型数量', - value: '', - field: '', - slot: 'second', - }, - { - label: '答题时长(分钟)', - value: '', - field: 'answerTime', - }, - { - label: '单选题分值', - value: '', - field: 'dgScore', - }, - { - label: '多选题分值', - value: '', - field: 'dxScore', - }, - { - label: '判选题分值', - value: '', - field: 'pdScore', - }, - { - label: '答题总分', - value: '', - field: 'examScore', - }, - { - label: '参加人员范围', - value: '', - field: 'scopeType', - slot: 'scopeType', - }, - { - label: '奖励等级标准', - value: '', - field: 'awardLevelStandard', - slot: 'awardLevelStandard', - }, - ]); - function setList(data) { - console.log('setList', data); - list.value.forEach((item) => { - if (item.field) { - item.value = data[item.field]; - } - }); - } - const recordData = ref({}); - function setRecordData(data) { - recordData.value = data; - } - return { - list, - setList, - recordData, - setRecordData, - }; -} diff --git a/src/views/interveneNew/cancer/examinationCancer/answerActivity/components/activityRules.vue b/src/views/interveneNew/cancer/examinationCancer/answerActivity/components/activityRules.vue deleted file mode 100644 index 86f5b8e..0000000 --- a/src/views/interveneNew/cancer/examinationCancer/answerActivity/components/activityRules.vue +++ /dev/null @@ -1,64 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/examinationCancer/answerActivity/components/answerActivityDetail.vue b/src/views/interveneNew/cancer/examinationCancer/answerActivity/components/answerActivityDetail.vue deleted file mode 100644 index 546d6ca..0000000 --- a/src/views/interveneNew/cancer/examinationCancer/answerActivity/components/answerActivityDetail.vue +++ /dev/null @@ -1,277 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/examinationCancer/answerActivity/components/answerActivityDrawer.vue b/src/views/interveneNew/cancer/examinationCancer/answerActivity/components/answerActivityDrawer.vue deleted file mode 100644 index faaa091..0000000 --- a/src/views/interveneNew/cancer/examinationCancer/answerActivity/components/answerActivityDrawer.vue +++ /dev/null @@ -1,249 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/examinationCancer/answerActivity/components/employeeFileDetail.vue b/src/views/interveneNew/cancer/examinationCancer/answerActivity/components/employeeFileDetail.vue deleted file mode 100644 index 8bf9800..0000000 --- a/src/views/interveneNew/cancer/examinationCancer/answerActivity/components/employeeFileDetail.vue +++ /dev/null @@ -1,93 +0,0 @@ - - - - diff --git a/src/views/interveneNew/cancer/examinationCancer/randomAnswer/components/answerRecordList.api.ts b/src/views/interveneNew/cancer/examinationCancer/randomAnswer/components/answerRecordList.api.ts deleted file mode 100644 index 31ae93d..0000000 --- a/src/views/interveneNew/cancer/examinationCancer/randomAnswer/components/answerRecordList.api.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -export enum Api { - list = '/health-intervene/exam-random/answer/page', - exportXls = '/health-intervene/answer/user-record/export', -} - -/** - * @Description:列表接口 - * @date 2023/7/17 - * @param params - */ -export const list = (params: any) => defHttp.get({ url: Api.list, params }, { headParams: 'C02' }); - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; diff --git a/src/views/interveneNew/cancer/examinationCancer/randomAnswer/components/answerRecordList.data.ts b/src/views/interveneNew/cancer/examinationCancer/randomAnswer/components/answerRecordList.data.ts deleted file mode 100644 index 210b7ce..0000000 --- a/src/views/interveneNew/cancer/examinationCancer/randomAnswer/components/answerRecordList.data.ts +++ /dev/null @@ -1,154 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getThirdDepartListByOrgCode } from '/@/views/archive/employeeFile/employeeFileList.api'; -import { useUserStore } from '/@/store/modules/user'; -import { getTimeStr } from '/@/views/interveneNew/cancer/examinationCancer/randomAnswer/randomAnswerHook'; - -const user = useUserStore(); -// 随机答题管理列表 -export const columns = (titlePre): BasicColumn[] => { - return [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - fixed: 'left', - }, - { - title: '单位', - align: 'center', - dataIndex: 'orgName', - fixed: 'left', - }, - { - title: '部门', - align: 'center', - dataIndex: 'userDeptName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'userName', - fixed: 'left', - }, - { - title: '员工编号', - align: 'center', - dataIndex: 'workNo', - }, - { - title: '性别', - align: 'center', - dataIndex: 'gender', - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, - - { - title: '健康档案', - align: 'center', - dataIndex: 'archives', - width: 150, - }, - { - title: titlePre + '得分' || '体检知识得分', - align: 'center', - dataIndex: 'totalScore', - }, - { - title: '答题时长(分钟)', - align: 'center', - dataIndex: 'answerTimeSum', - customRender: ({ text }) => { - if (text) { - return getTimeStr(text); - } - }, - }, - { - title: '答题时间', - align: 'center', - dataIndex: 'startAnswerTime', - }, - { - title: '正确率%', - align: 'center', - dataIndex: 'trueRate', - customRender: ({ text }) => { - if (!text) return ''; - return `${text * 100} %`; - }, - }, - { - title: '错题数量/总题数', - align: 'center', - dataIndex: 'orderCount', - customRender: ({ record }) => { - let wrong = 0; - if (record?.questionSum && record?.yesAmount) { - wrong = record.questionSum - record.yesAmount; - } - return `${wrong}/${record?.questionSum}`; - }, - }, - ]; -}; -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - { - label: '部门', - field: 'deptCode', - component: 'ApiSelect', - componentProps: () => { - const userOrgCode = user?.userInfo?.orgCode?.substring(0, 6); - return { - api: getThirdDepartListByOrgCode, - resultField: 'list', - labelField: 'departName', - params: { - orgCode: userOrgCode || '12313', - }, - valueField: 'orgCode', - immediate: true, - }; - }, - }, - { - label: '答题日期', - field: 'date', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - onChange: ([start, end]) => { - formModel.startDate = start; - formModel.endDate = end; - }, - }; - }, - }, - { - label: '开始时间', - field: 'startDate', - component: 'Input', - show: false, - }, - { - label: '结束时间', - field: 'endDate', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/cancer/examinationCancer/randomAnswer/components/answerRecordList.vue b/src/views/interveneNew/cancer/examinationCancer/randomAnswer/components/answerRecordList.vue deleted file mode 100644 index 9551284..0000000 --- a/src/views/interveneNew/cancer/examinationCancer/randomAnswer/components/answerRecordList.vue +++ /dev/null @@ -1,106 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/examinationCancer/randomAnswer/components/setRuleModal.vue b/src/views/interveneNew/cancer/examinationCancer/randomAnswer/components/setRuleModal.vue deleted file mode 100644 index ab880f9..0000000 --- a/src/views/interveneNew/cancer/examinationCancer/randomAnswer/components/setRuleModal.vue +++ /dev/null @@ -1,128 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/examinationCancer/randomAnswer/randomAnswer.api.ts b/src/views/interveneNew/cancer/examinationCancer/randomAnswer/randomAnswer.api.ts deleted file mode 100644 index 6dd5c84..0000000 --- a/src/views/interveneNew/cancer/examinationCancer/randomAnswer/randomAnswer.api.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -export enum Api { - list = '/health-intervene/exam-random/statistic', - rule = '/health-intervene/exam-random/rule', - getThirdDepartment = '/sys/sysDepart/getThirdDepartListBySecondDepartId', - dictByCodeOrName = '/health-intervene/question/category/list', - exportXls = '/health-intervene/answer/statistic/export', - questionNumber = '/health-intervene/question/statistic', -} - -/** - * @Description:列表接口 - * @date 2023/7/17 - * @param params - */ -export const list = (params: any) => defHttp.get({ url: Api.list, params }, { headParams: 'C02' }); -/** - * 获取三级部门 体检管理 - */ -export const getThirdDepartmentList = async (params) => { - return await defHttp.get({ url: Api.getThirdDepartment, params }, { headParams: 'C02' }); -}; -// 答题类别 -export const dictByCodeOrNameApi = () => - defHttp.get( - { - url: Api.dictByCodeOrName, - params: {}, - }, - { headParams: 'C02' } - ); - -// 获取随机答题规则 -export const getRule = (params: any) => defHttp.get({ url: Api.rule, params }, { headParams: 'C02' }); - -// 设置随机答题规则 -export const setRule = (params: any) => defHttp.post({ url: Api.rule, params }, { headParams: 'C02' }); -/** - * 导出api - */ -export const getExportUrl = Api.exportXls; -//C01体检答题 C02 癌症答题 C03 急救答题 -export const getQuestionNumber = (params: any) => defHttp.get({ url: Api.questionNumber, params }, { headParams: 'C02' }); diff --git a/src/views/interveneNew/cancer/examinationCancer/randomAnswer/randomAnswer.data.ts b/src/views/interveneNew/cancer/examinationCancer/randomAnswer/randomAnswer.data.ts deleted file mode 100644 index 09121ba..0000000 --- a/src/views/interveneNew/cancer/examinationCancer/randomAnswer/randomAnswer.data.ts +++ /dev/null @@ -1,381 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { isNonNegativeString } from '/@/utils/is'; -import { useUserStore } from '/@/store/modules/user'; -import { getThirdDepartListByOrgCode } from '/@/views/archive/employeeFile/employeeFileList.api'; -import { getSumScore, hasValue } from '/@/views/interveneNew/cancer/examinationCancer/answerActivity/answerActivityHooks'; -import { getTimeStr, formatNumber } from '/@/views/interveneNew/cancer/examinationCancer/randomAnswer/randomAnswerHook'; - -const user = useUserStore(); -// 随机答题管理列表 -export function getColumn(arr: BasicColumn[] = []): BasicColumn[] { - return [ - { - title: '序号', - align: 'center', - width: 70, - customRender: ({ index }) => { - return index + 1; - }, - fixed: 'left', - }, - { - title: '单位', - align: 'center', - width: 150, - dataIndex: 'orgName', - fixed: 'left', - }, - { - title: '部门', - align: 'center', - width: 150, - dataIndex: 'deptName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'userName', - fixed: 'left', - }, - { - title: '员工编号', - align: 'center', - dataIndex: 'workNo', - }, - { - title: '性别', - align: 'center', - dataIndex: 'gender', - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, - ...arr, - { - title: '总答题次数', - align: 'center', - dataIndex: 'allAnswerSum', - }, - { - title: '总平均正确率', - align: 'center', - dataIndex: 'allKnowRate', - customRender: ({ text }) => { - if (!text) return ''; - let value = formatNumber(text); - return `${value} %`; - }, - }, - { - title: `总平均答题时长(分钟)`, - align: 'center', - dataIndex: 'avgAnswerTimeSum', - width: 132, - customRender: ({ text }) => { - if (text) { - return getTimeStr(text); - } - }, - }, - { - title: '排名', - align: 'center', - dataIndex: 'ranking', - sorter: { - compare: (a, b) => a.ranking - b.ranking, - }, - }, - ]; -} -// 随机答题管理查询 -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - { - label: '部门', - field: 'deptCode', - component: 'ApiSelect', - componentProps: () => { - const userOrgCode = user?.userInfo?.orgCode?.substring(0, 6); - return { - api: getThirdDepartListByOrgCode, - resultField: 'list', - labelField: 'departName', - params: { - orgCode: userOrgCode || '12313', - }, - valueField: 'orgCode', - immediate: true, - }; - }, - }, -]; - -//设置规则表单 -export const setRuleFormSchema = (validate: Function) => [ - { - label: '各题目个数', - field: 'questionCount', - component: 'Input', - show: false, - }, - { - label: '', //答题总分 - field: 'examScore', - component: 'InputNumber', - slot: 'examScore', - }, - { - label: '题目分类ID', - field: 'questionCategoryId', - component: 'Input', - show: false, - }, - { - label: '随机抽题数量', - field: 'questionSum', - component: 'InputNumber', - componentProps: ({ formModel }) => ({ - style: { - width: '100%', - }, - min: 1, - onChange: (val: string) => { - if (val && (formModel?.dgSum || formModel?.dxSum || formModel?.pdSum)) { - validate(['a']); - } - }, - }), - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!isNonNegativeString(model?.questionSum)) { - if (model?.questionSum == null) { - reject('请输入随机抽题数量!'); - } else { - reject('请检查输入格式!'); - } - } - if (model?.questionSum <= 0) { - reject('随机抽题数量必须大于0!'); - } - if (model?.questionSum > model?.questionCount?.questionSum) { - reject('随机抽题数量不能大于题库总数!'); - } - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '题目类型数量', - field: 'a', - component: 'InputNumber', - slot: 'second', - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!hasValue(model?.dgSum)) { - return reject('请输入单选数量!'); - } - if (!isNonNegativeString(model.dgSum)) { - return reject('请检查单选输入格式!'); - } - if (model?.dgSum > model?.questionCount?.dgSum) { - reject('输入单选数量不能大于题库单选数量!'); - } - if (!hasValue(model?.dxSum)) { - return reject('请输入多选数量!'); - } - if (!isNonNegativeString(model.dxSum)) { - return reject('请检查多选输入格式!'); - } - if (model?.dxSum > model?.questionCount?.dxSum) { - reject('输入多选数量不能大于题库多选数量!'); - } - if (!hasValue(model?.pdSum)) { - return reject('请输入判断数量!'); - } - if (!isNonNegativeString(model?.pdSum)) { - return reject('请检查判断输入格式!'); - } - if (model?.pdSum > model?.questionCount?.pdSum) { - reject('输入判断数量不能大于题库判断数量!'); - } - const n1 = Number(model.dgSum) + Number(model.dxSum) + Number(model.pdSum); - const n2 = Number(model.questionSum); - if (n1 !== n2) { - return reject('随机抽题数量与题目类型数量不符'); - } - model.examScore = getSumScore(model); - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '', - field: 'dgSum', - component: 'InputNumber', - show: false, - }, - { - label: '', - field: 'dxSum', - component: 'InputNumber', - show: false, - }, - { - label: '', - field: 'pdSum', - component: 'InputNumber', - show: false, - }, - { - label: '答题时长(分钟)', - field: 'answerTime', - component: 'InputNumber', - componentProps: () => ({ - style: { - width: '100%', - }, - min: 1, - }), - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!model?.answerTime) { - return reject('请输入答题时长(分钟)!'); - } - if (!isNonNegativeString(model?.answerTime)) { - reject('请检查输入格式!'); - } - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '单选题分值', - field: 'dgScore', - required: true, - component: 'InputNumber', - componentProps: () => ({ - style: { - width: '100%', - }, - min: 0, - max: 100, - }), - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!hasValue(model?.dgScore)) { - return reject('请输入单选题分值!'); - } - if (!isNonNegativeString(model?.dgScore)) { - reject('请检查输入格式!'); - } - model.examScore = getSumScore(model); - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '多选题分值', - field: 'dxScore', - required: true, - component: 'InputNumber', - componentProps: () => ({ - style: { - width: '100%', - }, - min: 0, - max: 100, - }), - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!hasValue(model?.dxScore)) { - return reject('请输入多选题分值!'); - } - if (!isNonNegativeString(model?.dxScore)) { - reject('请检查输入格式!'); - } - model.examScore = getSumScore(model); - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '判断题分值', - field: 'pdScore', - required: true, - component: 'InputNumber', - componentProps: () => ({ - style: { - width: '100%', - }, - min: 0, - max: 100, - }), - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!hasValue(model?.pdScore)) { - return reject('请输入判断题分值!'); - } - if (!isNonNegativeString(model?.pdScore)) { - reject('请检查输入格式!'); - } - model.examScore = getSumScore(model); - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, -]; diff --git a/src/views/interveneNew/cancer/examinationCancer/randomAnswer/randomAnswer.vue b/src/views/interveneNew/cancer/examinationCancer/randomAnswer/randomAnswer.vue deleted file mode 100644 index 7a987e5..0000000 --- a/src/views/interveneNew/cancer/examinationCancer/randomAnswer/randomAnswer.vue +++ /dev/null @@ -1,154 +0,0 @@ - - - - diff --git a/src/views/interveneNew/cancer/examinationCancer/randomAnswer/randomAnswerHook.ts b/src/views/interveneNew/cancer/examinationCancer/randomAnswer/randomAnswerHook.ts deleted file mode 100644 index 6d90df8..0000000 --- a/src/views/interveneNew/cancer/examinationCancer/randomAnswer/randomAnswerHook.ts +++ /dev/null @@ -1,117 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { ref } from 'vue'; -import { multiply, round } from 'lodash-es'; - -export function useColumn() { - const dynamicColumn = ref([]); - - function setDynamicColumn(column) { - dynamicColumn.value = column; - } - - return { - dynamicColumn, - setDynamicColumn, - }; -} - -export function createColumn(list = []): BasicColumn[] { - const arr: BasicColumn[] = []; - if (list.length < 1) { - return arr; - } - list.forEach((element, i) => { - const { category, id }: { category: string; id: string } = element; - // @ts-ignore - const column: BasicColumn = { - title: category.split('题')[0] + '答题', - width: 270, - children: [ - { - key: id, - title: category, - align: 'center', - dataIndex: 'hasChildren', - children: [ - // TODO 更换字段,确定正确率字段 - { - title: '答题次数', - align: 'center', - dataIndex: ['statisticCategoryVOList', i, 'answerSum'], - }, - { - title: '平均得分', - align: 'center', - dataIndex: ['statisticCategoryVOList', i, 'avgScore'], - }, - { - title: '平均正确率', - align: 'center', - dataIndex: ['statisticCategoryVOList', i, 'knowRate'], - customRender: ({ text }) => { - if (!text) return ''; - let value = formatNumber(text); - return `${value} %`; - }, - }, - ], - }, - ], - }; - arr.push(column); - }); - - return arr; -} - -/** - * @description 秒转小时 - * */ -export function convertSeconds(seconds: number) { - const hours = Math.floor(seconds / 3600); - const minutes = Math.floor((seconds % 3600) / 60); - const remainingSeconds = seconds % 60; - return { - hours: hours, - minutes: minutes, - seconds: remainingSeconds, - }; -} - -export function getTimeStr(time: number) { - if (time == 0) return 0; - if (!time) return ''; - const { minutes, seconds, hours } = convertSeconds(time); - if (hours) { - return `${hours}时${minutes}分${parseInt(seconds)}秒`; - } - if (seconds && minutes) { - return `${minutes}分${parseInt(seconds)}秒`; - } - if (minutes) { - return minutes + '分'; - } - if (seconds) { - return parseInt(seconds) + '秒'; - } -} -export function formatNumber(text: number) { - return round(multiply(text, 100), 2); -} -/** - * 根据id复制数组 - * @param array1 旧值 - * @param array2 新值 - * @returns array1 - */ -export function copyListById(array1, array2) { - array1 = array1.map((item1) => { - let item2 = array2.find((item2) => item2.id === item1.id); - if (item2) { - return { ...item1, ...item2 }; - } - // 如果没有找到匹配的项,则返回原始对象 - return item1; - }); - return array1; -} diff --git a/src/views/interveneNew/cancer/examinationCancer/topic/compoents/reportModal.vue b/src/views/interveneNew/cancer/examinationCancer/topic/compoents/reportModal.vue deleted file mode 100644 index 20a6fc1..0000000 --- a/src/views/interveneNew/cancer/examinationCancer/topic/compoents/reportModal.vue +++ /dev/null @@ -1,39 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/examinationCancer/topic/compoents/topicDrawer.vue b/src/views/interveneNew/cancer/examinationCancer/topic/compoents/topicDrawer.vue deleted file mode 100644 index 5dd6e0a..0000000 --- a/src/views/interveneNew/cancer/examinationCancer/topic/compoents/topicDrawer.vue +++ /dev/null @@ -1,572 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/examinationCancer/topic/topicList.api.ts b/src/views/interveneNew/cancer/examinationCancer/topic/topicList.api.ts deleted file mode 100644 index 56b10d5..0000000 --- a/src/views/interveneNew/cancer/examinationCancer/topic/topicList.api.ts +++ /dev/null @@ -1,83 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -enum Api { - // dictByCodeOrName = '/sys/dictItem/list', - dictByCodeOrName = '/health-intervene/question/category/list', - list = '/health-intervene/question/list', - templateUrl = '/health-intervene/answer/question/template', - exportUrl = '/health-intervene/answer/question/export', - deleteOne = '/health-intervene/question/delete', - importUrl = '/health-intervene/answer/question/import', - deleteBatch = '/health-intervene/question/deleteBatch', - examRisk = '/health-intervene/exam-risk/list', // 危险因素 - questionSave = '/health-intervene/question/save', - questionUpdate = '/health-intervene/question/update', - questionGet = '/health-intervene/question/get', - questionList = '/health-intervene/question/re-list', -} - -const { createConfirm } = useMessage(); -export const dictByCodeOrNameApi = (params: any) => defHttp.get({ url: Api.dictByCodeOrName, params: params }, { headParams: 'C02' }); -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { headParams: 'C02' }); -export const examRiskApi = (params: any) => defHttp.get({ url: Api.examRisk, params: params }, { headParams: 'C02' }); -export const questionSaveApi = (params: any) => defHttp.post({ url: Api.questionSave, params: params }, { headParams: 'C02' }); -export const questionUpdate = (params: any) => defHttp.put({ url: Api.questionUpdate, params: params }, { headParams: 'C02' }); -export const questionGetApi = (params: any) => defHttp.get({ url: Api.questionGet, params: params }, { headParams: 'C02' }); -export const questionListApi = (params: any) => defHttp.get({ url: Api.questionList, params: params }, { headParams: 'C02' }); -//题库管理-模板下载 -export const templateUrl = Api.templateUrl; -//题库管理-题库导出 -export const exportUrl = Api.exportUrl; -//题库管理-题库导入 -export const importUrl = Api.importUrl; -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteOne, - params, - }, - { joinParamsToUrl: true, headParams: 'C02' } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true, headParams: 'C02' } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/cancer/examinationCancer/topic/topicList.data.ts b/src/views/interveneNew/cancer/examinationCancer/topic/topicList.data.ts deleted file mode 100644 index 6c5abe9..0000000 --- a/src/views/interveneNew/cancer/examinationCancer/topic/topicList.data.ts +++ /dev/null @@ -1,214 +0,0 @@ -import { FormSchema } from '/@/components/Form'; -import { BasicColumn } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; - -export function getSearchSchema() { - const searchSchema: FormSchema[] = [ - { - label: '题目名称', - field: 'questionDesc', - component: 'Input', - }, - { - label: '题目类型', - field: 'type', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'question_options_type', - }; - }, - }, - ]; - - return searchSchema; -} - -export function getTableColumns(type: string, max: number) { - const columns: BasicColumn[] = [ - { - title: '编号', - dataIndex: 'questionNo', - ifShow: ['4', '5', '6'].includes(type), - }, - { - title: '题目名称', - dataIndex: 'questionDesc', - ifShow: ['4', '5', '6'].includes(type), - }, - { - title: '题目类型', - dataIndex: 'type', - ifShow: ['4', '5', '6'].includes(type), - customRender: ({ text }) => { - return text ? render.renderDict(text, 'question_options_type') : ''; - }, - }, - ...getChooseNumber(max), - // { - // title: '选项A', - // dataIndex: 'A', - // ifShow: ['0'].includes(type), - // }, - // { - // title: '选项B', - // dataIndex: 'B', - // ifShow: ['0'].includes(type), - // }, - // { - // title: '选项C', - // dataIndex: 'C', - // ifShow: ['0'].includes(type), - // }, - // { - // title: '选项D', - // dataIndex: 'D', - // ifShow: ['0'].includes(type), - // }, - { - title: '正确选项', - dataIndex: 'realAnswer', - ifShow: ['4', '5', '6'].includes(type), - }, - { - title: '抽提概率', - dataIndex: 'pct', - ifShow: ['4', '5', '6'].includes(type), - }, - { - title: '关联体检项目', - dataIndex: 'project', - ifShow: ['4', '5', '6'].includes(type), - }, - // { - // title: '关联危险因素', - // dataIndex: 'factor', - // ifShow: ['5'].includes(type), - // }, - { - title: '关联危险因素', - dataIndex: 'factor', - ifShow: ['4'].includes(type), - }, - { - title: '关联员工', - dataIndex: 'col1', - ifShow: ['6'].includes(type), - }, - { - title: '关联体检结果', - dataIndex: 'col2', - ifShow: ['6'].includes(type), - }, - ]; - return columns; -} - -function getChooseNumber(max: number) { - const result: BasicColumn[] = []; - if (max === 0) return result; - for (let i = 0; i < indexList.length; i++) { - result.push({ - title: `${indexList[i]}选项`, - dataIndex: indexList[i], - }); - if (i + 1 === max) break; - } - return result; -} -export function getFormSchema(type: string) { - const formSchema: FormSchema[] = [ - { - label: '题目类型', - field: 'type', - component: 'JDictSelectTag', - defaultValue: 'DG', - componentProps: () => { - return { - type: 'radio', - dictCode: 'question_options_type', - }; - }, - required: true, - }, - { - label: '题目名称', - field: 'questionDesc', - component: 'Input', - required: true, - slot: 'questionDesc', - }, - { - label: '答疑', - field: 'answer', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 5, - }; - }, - }, - { - label: '关联体检项目', - field: 'reMedicalList', - component: 'Input', - slot: 'reMedicalList', - }, - { - label: '关联危险因素', - field: 'reRiskList', - slot: 'reRiskList', - component: 'Input', - ifShow: ['4'].includes(type), - }, - { - label: '关联防癌知识', - field: 'reQuestionList', - slot: 'reQuestionList', - component: 'Input', - ifShow: ['5'].includes(type), - }, - { - label: '抽提概率(%)', - field: 'pct', - component: 'Input', - required: true, - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - ]; - return formSchema; -} - -export const indexList: string[] = [ - 'A', - 'B', - 'C', - 'D', - 'E', - 'F', - 'G', - 'H', - 'I', - 'J', - 'K', - 'L', - 'M', - 'N', - 'O', - 'P', - 'Q', - 'R', - 'S', - 'T', - 'U', - 'V', - 'W', - 'X', - 'Y', - 'Z', -]; diff --git a/src/views/interveneNew/cancer/examinationCancer/topic/topicList.vue b/src/views/interveneNew/cancer/examinationCancer/topic/topicList.vue deleted file mode 100644 index 6e1ce59..0000000 --- a/src/views/interveneNew/cancer/examinationCancer/topic/topicList.vue +++ /dev/null @@ -1,365 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/immuneAlarm/immuneCause/components/immuneCauseModal.vue b/src/views/interveneNew/cancer/immuneAlarm/immuneCause/components/immuneCauseModal.vue deleted file mode 100644 index 2cdf9a2..0000000 --- a/src/views/interveneNew/cancer/immuneAlarm/immuneCause/components/immuneCauseModal.vue +++ /dev/null @@ -1,183 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/immuneAlarm/immuneCause/components/userInfoComponents.vue b/src/views/interveneNew/cancer/immuneAlarm/immuneCause/components/userInfoComponents.vue deleted file mode 100644 index a618508..0000000 --- a/src/views/interveneNew/cancer/immuneAlarm/immuneCause/components/userInfoComponents.vue +++ /dev/null @@ -1,126 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/immuneAlarm/immuneCause/immuneCause.api.ts b/src/views/interveneNew/cancer/immuneAlarm/immuneCause/immuneCause.api.ts deleted file mode 100644 index dee49f3..0000000 --- a/src/views/interveneNew/cancer/immuneAlarm/immuneCause/immuneCause.api.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/cancerImmune/survey/getImmuneTraceability', - modalList = '/health-intervene/cancerImmune/survey/index/trace', -} -export const list = (params: any) => defHttp.post({ url: Api.list, params: { ...params, cancerType: 0 } }); -export const modalList = (params: any) => defHttp.get({ url: Api.modalList, params }, { isTransformResponse: false }); diff --git a/src/views/interveneNew/cancer/immuneAlarm/immuneCause/index.data.ts b/src/views/interveneNew/cancer/immuneAlarm/immuneCause/index.data.ts deleted file mode 100644 index 53afb94..0000000 --- a/src/views/interveneNew/cancer/immuneAlarm/immuneCause/index.data.ts +++ /dev/null @@ -1,185 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { h } from 'vue'; -import { isShowIdCard } from '/@/utils/getEnv'; -//乙肝疫苗、HVP疫苗、重组幽门螺旋杆菌 -export const vaccineType = { - '0': '已接种', - '1': '未接种', - '2': '未知', -}; -//获取疫苗类型 -export function getType(type: string) { - return vaccineType[type] || ''; -} -export const columns: BasicColumn[] = [ - { - title: '单位', - dataIndex: 'unitName', - }, - { - title: '部门', - dataIndex: 'deptName', - }, - { - title: '姓名', - dataIndex: 'userName', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - width: 70, - }, - { - title: '年龄', - dataIndex: 'age', - width: 70, - }, - { - title: '身份证号', - dataIndex: 'idCard', - width: 170, - ifShow: isShowIdCard(), - }, - { - title: '癌症名称', - dataIndex: 'illName', - customRender: ({ record }) => { - if (record?.['cancer']) { - return record?.['cancer']?.map((item) => item['illName'])?.join(','); - } - }, - }, - { - title: '确诊时间', - dataIndex: 'illTime', - customRender: ({ record }) => { - if (record?.['cancer']) { - return record?.['cancer'] - ?.map((item) => { - return item['illTime'].split(' ')[0]; - }) - ?.join(','); - } - }, - }, - { - title: '是否接种疫苗', - children: [ - { - title: '乙肝疫苗', - dataIndex: 'hbvVaccine', - customRender: ({ record }) => getType(record?.['hbvVaccine']), - }, - { - title: 'HVP疫苗', - dataIndex: 'hpvVaccine', - customRender: ({ record }) => getType(record?.['hpvVaccine']), - }, - { - title: '重组幽门螺杆菌疫苗', - dataIndex: 'hpVaccine', - width: 160, - customRender: ({ record }) => getType(record?.['hpVaccine']), - }, - ], - }, -]; -export const headerColumns = [ - { - label: '姓名:', - key: 'userName', - value: '', - show: true, - }, - { - label: '性别:', - value: '', - key: 'sex_dictText', - show: true, - }, - { - label: '年龄:', - value: '', - key: 'age', - show: true, - }, - { - label: '身份证号:', - - value: '', - key: 'idCard', - show: isShowIdCard(), - }, - { - label: '单位:', - value: '', - key: 'unitName', - show: true, - }, - { - label: '部门:', - value: '', - key: 'deptName', - show: true, - }, -]; -export const modalColumns = (isMark: boolean) => [ - { - title: '指标类别', - dataIndex: 'uniItemName', - }, - { - title: '指标名称', - dataIndex: 'peItemName', - }, - { - title: '单位', - dataIndex: 'unit', - width: 100, - }, - { - title: '最新值', - dataIndex: 'peResult', - customRender: ({ text, record }) => { - const color = record['tfRed'] && isMark ? '#f00' : '#000'; - return h('div', { style: { color: color } }, text); - }, - width: 100, - }, - { - title: '次均值', - dataIndex: 'averagePeResult', - width: 100, - }, - { - title: '异常次数', - dataIndex: 'abnormalPeResult', - width: 100, - }, -]; -export interface SearchParams { - uniItemName?: string; - peItemName?: string; -} -export const modalFormSchema: FormSchema[] = [ - { - label: '指标类别', - field: 'uniItemName', - component: 'Input', - }, - { - label: '指标名称', - field: 'peItemName', - component: 'Input', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'name', - component: 'Input', - // defaultValue: '陈永文', - }, - ...orgSearchInfoByCode('unitCode', 'deptCode', 'orgCode'), -]; diff --git a/src/views/interveneNew/cancer/immuneAlarm/immuneCause/index.vue b/src/views/interveneNew/cancer/immuneAlarm/immuneCause/index.vue deleted file mode 100644 index f65c1f6..0000000 --- a/src/views/interveneNew/cancer/immuneAlarm/immuneCause/index.vue +++ /dev/null @@ -1,63 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/cancer/immuneAlarm/immuneHistory/components/immuneHistoryModal.vue b/src/views/interveneNew/cancer/immuneAlarm/immuneHistory/components/immuneHistoryModal.vue deleted file mode 100644 index 5d7e714..0000000 --- a/src/views/interveneNew/cancer/immuneAlarm/immuneHistory/components/immuneHistoryModal.vue +++ /dev/null @@ -1,145 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/immuneAlarm/immuneHistory/components/setThresholdModal.vue b/src/views/interveneNew/cancer/immuneAlarm/immuneHistory/components/setThresholdModal.vue deleted file mode 100644 index df72374..0000000 --- a/src/views/interveneNew/cancer/immuneAlarm/immuneHistory/components/setThresholdModal.vue +++ /dev/null @@ -1,99 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/immuneAlarm/immuneHistory/immuneHistory.api.ts b/src/views/interveneNew/cancer/immuneAlarm/immuneHistory/immuneHistory.api.ts deleted file mode 100644 index 55c4354..0000000 --- a/src/views/interveneNew/cancer/immuneAlarm/immuneHistory/immuneHistory.api.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/cancerImmune/survey/warning/history', - getThreshold = '/health-intervene/cancerImmune/survey/threshold/get', - setThreshold = '/health-intervene/cancerImmune/survey/threshold/setting', -} - -export const list = (params: any) => defHttp.post({ url: Api.list, params: { ...params, cancerType: '0' } }); -export const getThreshold = () => defHttp.get({ url: Api.getThreshold }); -export const setThreshold = (params: any) => defHttp.get({ url: Api.setThreshold, params }); diff --git a/src/views/interveneNew/cancer/immuneAlarm/immuneHistory/immuneHistory.data.ts b/src/views/interveneNew/cancer/immuneAlarm/immuneHistory/immuneHistory.data.ts deleted file mode 100644 index d8f85b0..0000000 --- a/src/views/interveneNew/cancer/immuneAlarm/immuneHistory/immuneHistory.data.ts +++ /dev/null @@ -1,229 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { h } from 'vue'; - -export enum Risk { - L = '高风险', - M = '中风险', - S = '低风险', -} -//高风险、低风险、中风险 -export const riskLevel = { - [Risk.S]: '#000', - [Risk.M]: '#ffa500', - [Risk.L]: '#f00', -}; -export function getRiskLevel(type: string) { - return riskLevel[type] || '#000'; -} -//乙肝疫苗、HVP疫苗、重组幽门螺旋杆菌 -export const vaccineType = { - '0': '已接种', - '1': '未接种', -}; -//获取疫苗类型 -export function getType(type: string) { - return vaccineType[type] || ''; -} -//阴性、阳性 -export const negative = { - '0': '阳性', - '1': '阴性', -}; -export const columns: BasicColumn[] = [ - { - title: '单位', - dataIndex: 'unitName', - }, - { - title: '部门', - dataIndex: 'deptName', - }, - { - title: '姓名', - dataIndex: 'userName', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - width: 70, - }, - { - title: '年龄', - dataIndex: 'age', - width: 70, - }, - // { - // title: '身份证号', - // dataIndex: 'idCard', - // width: 150, - // }, - { - title: '预警时间', - dataIndex: 'warningTime', - }, - { - title: '是否接种疫苗', - children: [ - { - title: '乙肝疫苗', - dataIndex: 'hbvVaccine', - }, - { - title: 'HVP疫苗', - dataIndex: 'hpvVaccine', - }, - { - title: '重组幽门螺杆菌疫苗', - dataIndex: 'hpVaccine', - width: 160, - }, - ], - }, - { - title: '指标溯源', - dataIndex: 'handleDetail', - }, - { - title: '预警癌症', - dataIndex: 'cancer', - }, - { - title: '免疫预警值', - dataIndex: '11', - customRender: ({ record }) => { - const { riskValue, grade } = record; - const color = getRiskLevel(grade); - const str = riskValue != null && grade != null ? riskValue + '(' + grade + ')' : ''; - return h('div', { style: { color: color } }, str); - }, - }, -]; -export const modalColumns = (isMark: boolean) => { - return [ - { - title: '指标类别', - dataIndex: 'uniItemName', - }, - { - title: '指标名称', - dataIndex: 'peItemName', - }, - { - title: '单位', - dataIndex: 'unit', - width: 100, - }, - { - title: '预警时数值', - dataIndex: 'peResult', - customRender: ({ text, record }) => { - const color = record['tfRed'] && isMark ? '#f00' : '#000'; - return h('div', { style: { color: color } }, text); - }, - width: 100, - }, - { - title: '次均值', - dataIndex: 'averagePeResult', - width: 100, - }, - { - title: '异常次数', - dataIndex: 'abnormalPeResult', - width: 100, - }, - ]; -}; -export interface SearchParams { - uniItemName?: string; - peItemName?: string; -} -export const modalFormSchema: FormSchema[] = [ - { - label: '指标类别', - field: 'uniItemName', - component: 'Input', - }, - { - label: '指标名称', - field: 'peItemName', - component: 'Input', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'name', - component: 'Input', - }, - ...orgSearchInfoByCode('unitCode', 'deptCode', 'orgCode'), -]; -export const headerColumns = [ - { - label: '姓名:', - key: 'userName', - value: '', - }, - { - label: '性别:', - value: '', - key: 'sex_dictText', - }, - { - label: '年龄:', - value: '', - key: 'age', - }, - { - label: '身份证号:', - value: '', - key: 'idCard', - }, - { - label: '单位:', - value: '', - key: 'unitName', - }, - { - label: '部门:', - value: '', - key: 'deptName', - }, - { - label: '预警时间:', - value: '', - key: 'warningTime', - }, - { - label: '预警癌症:', - value: '', - key: 'cancer', - }, - { - label: '免疫预警值:', - value: '', - key: 'riskValue', - customRender: (record) => { - const { riskValue, grade } = record; - const color = getRiskLevel(grade); - const str = riskValue != null && grade != null ? riskValue + '(' + grade + ')' : ''; - return h('span', { style: { color: color } }, str); - }, - }, - { - label: '乙肝疫苗:', - value: '', - key: 'hbvVaccine', - }, - { - label: 'HVP疫苗:', - value: '', - key: 'hpvVaccine', - }, - { - label: '重组幽门螺杆菌疫苗:', - value: '', - key: 'hpVaccine', - }, -]; diff --git a/src/views/interveneNew/cancer/immuneAlarm/immuneHistory/immuneHistory.vue b/src/views/interveneNew/cancer/immuneAlarm/immuneHistory/immuneHistory.vue deleted file mode 100644 index 09306e6..0000000 --- a/src/views/interveneNew/cancer/immuneAlarm/immuneHistory/immuneHistory.vue +++ /dev/null @@ -1,77 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/cancer/immuneAlarm/immuneTest/components/fakeRelationShip.vue b/src/views/interveneNew/cancer/immuneAlarm/immuneTest/components/fakeRelationShip.vue deleted file mode 100644 index 4ff82f6..0000000 --- a/src/views/interveneNew/cancer/immuneAlarm/immuneTest/components/fakeRelationShip.vue +++ /dev/null @@ -1,202 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/immuneAlarm/immuneTest/components/relationShip.vue b/src/views/interveneNew/cancer/immuneAlarm/immuneTest/components/relationShip.vue deleted file mode 100644 index c6057a1..0000000 --- a/src/views/interveneNew/cancer/immuneAlarm/immuneTest/components/relationShip.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/immuneAlarm/immuneTest/components/trueRelationShip.vue b/src/views/interveneNew/cancer/immuneAlarm/immuneTest/components/trueRelationShip.vue deleted file mode 100644 index 5baac7e..0000000 --- a/src/views/interveneNew/cancer/immuneAlarm/immuneTest/components/trueRelationShip.vue +++ /dev/null @@ -1,275 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/immuneAlarm/immuneTest/immuneTest.api.ts b/src/views/interveneNew/cancer/immuneAlarm/immuneTest/immuneTest.api.ts deleted file mode 100644 index b86b3c0..0000000 --- a/src/views/interveneNew/cancer/immuneAlarm/immuneTest/immuneTest.api.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/cancerImmune/survey/simulation/test', - startSimulation = '/health-intervene/cancerImmune/survey/simulation/start', - simulationUser = '/health-intervene/cancerImmune/survey/simulation/user', -} - -export const list = (params: any) => defHttp.post({ url: Api.list, params }); -export const startSimulationApi = (params: any) => defHttp.post({ url: Api.startSimulation, params }); - -export const simulationUserApi = (params: any) => defHttp.post({ url: Api.simulationUser, params }); diff --git a/src/views/interveneNew/cancer/immuneAlarm/immuneTest/immuneTest.data.ts b/src/views/interveneNew/cancer/immuneAlarm/immuneTest/immuneTest.data.ts deleted file mode 100644 index b0e7c5d..0000000 --- a/src/views/interveneNew/cancer/immuneAlarm/immuneTest/immuneTest.data.ts +++ /dev/null @@ -1,894 +0,0 @@ -import { FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { h } from 'vue'; -import { isShowIdCard } from '/@/utils/getEnv'; - -export enum DiseaseType { - Gastric = '1', //胃癌 - Liver = '2', //肝癌 - Cervix = '3', //宫颈癌 -} -export const diseaseType = { - [DiseaseType.Gastric]: '胃癌', - [DiseaseType.Liver]: '肝癌', - [DiseaseType.Cervix]: '宫颈癌', -}; -interface Options { - label: string; - value: string | number; -} -// -export enum Risk { - L = '高风险', - M = '中风险', - S = '低风险', -} -//高风险、低风险、中风险 -export const riskLevel = { - [Risk.S]: '#000', - [Risk.M]: '#ffa500', - [Risk.L]: '#f00', -}; -export function getRiskLevel(type: string) { - return riskLevel[type] || '#000'; -} -//乙肝疫苗、HVP疫苗、重组幽门螺旋杆菌 -export const vaccineType = { - 0: '已接种', - 1: '未接种', -}; -//获取疫苗类型 -export function getType(type: string) { - return vaccineType[type] || ''; -} -//是否 -export const sf_10: Options[] = [ - { - label: '是', - value: 1, - }, - { - label: '否', - value: 0, - }, -]; -export const sf_01: Options[] = [ - { - label: '是', - value: 0, - }, - { - label: '否', - value: 1, - }, -]; -export function getSf10(type: string | number) { - return sf_10.find((item) => item.value == type)?.label || ''; -} -export function getSf01(type: string | number) { - return sf_01.find((item) => item.value == type)?.label || ''; -} -//经常、偶尔 -export const often_occasionally: Options[] = [ - { - label: '经常', - value: 1, - }, - { - label: '偶尔', - value: 0, - }, -]; -export function getOftenOccasionally(type: string) { - return often_occasionally.find((item) => item.value == type)?.label || ''; -} -//阳性、阴性 -export const positive_negative: Options[] = [ - { - label: '阳性', - value: 1, - }, - { - label: '阴性', - value: 0, - }, -]; -export function getPositiveNegative(type: string) { - return positive_negative.find((item) => item.value == type)?.label || ''; -} -//文化程度 -export const education: Options[] = [ - { - label: '高中以下', - value: 1, - }, - { - label: '高中及以上', - value: 0, - }, -]; -export function getEducation(type: string) { - return education.find((item) => item.value == type)?.label || ''; -} -//性生活初始年龄 -export const sex_age: Options[] = [ - { - label: '<20岁', - value: 1, - }, - { - label: '>=20岁', - value: 0, - }, -]; -export function getSexAge(type: string) { - return sex_age.find((item) => item.value == type)?.label || ''; -} -//性伴侣数量 -export const sex_partner: Options[] = [ - { - label: '<2个', - value: 0, - }, - { - label: '>=2个', - value: 1, - }, -]; -export function getSexPartner(type: string) { - return sex_partner.find((item) => item.value == type)?.label || ''; -} -//妊娠次数 -export const pregnancy_times: Options[] = [ - { - label: '<3次', - value: 0, - }, - { - label: '>=3次', - value: 1, - }, -]; -export function getPregnancyTimes(type: string) { - return pregnancy_times.find((item) => item.value == type)?.label || ''; -} -export const columnsFun = (type: string) => { - const columnsList = { - [DiseaseType.Gastric]: [ - { - title: '是否接种重组\n幽门螺杆菌疫苗', - dataIndex: ['hpVaccine'], - rewriting: true, - rewroteCell: { - type: 'select', - options: sf_01, - }, - customRender: ({ record }) => getType(record?.['hpVaccine']), - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '吃腌制食品', - dataIndex: ['pickle'], - rewriting: true, - rewroteCell: { - type: 'select', - options: often_occasionally, - }, - customRender: ({ record }) => getOftenOccasionally(record['pickle']), - }, - { - title: '吃烟熏、油炸食品', - dataIndex: ['fry'], - rewriting: true, - rewroteCell: { - type: 'select', - options: often_occasionally, - }, - customRender: ({ record }) => getOftenOccasionally(record['fry']), - }, - { - title: 'HP感染', - dataIndex: ['hp'], - rewriting: true, - rewroteCell: { - type: 'select', - options: sf_01, - }, - customRender: ({ text, record }) => { - if (text == 2) record.hp = null; - return getSf01(record?.hp); - }, - }, - ], - [DiseaseType.Liver]: [ - { - title: '糖尿病', - dataIndex: ['diabetes'], - rewriting: true, - rewroteCell: { - type: 'select', - options: sf_10, - }, - customRender: ({ record }) => getSf10(record?.['diabetes']), - }, - { - title: '肝癌家族史', - dataIndex: ['familyLiverCancer'], - rewriting: true, - rewroteCell: { - type: 'select', - options: sf_10, - }, - customRender: ({ record }) => getSf10(record?.['familyLiverCancer']), - }, - { - title: '血清铁蛋白\n(μg/L)', - dataIndex: ['sf'], - rewriting: true, - rewroteCell: { - type: 'input', - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '甲胎蛋白\n(μg/L)', - dataIndex: ['afp'], - rewriting: true, - rewroteCell: { - type: 'input', - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '谷氨酰转肽酶\n(U/L)', - dataIndex: ['y_GT'], - rewriting: true, - rewroteCell: { - type: 'input', - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: 'HBV-DNA', - dataIndex: ['hbv_dna'], - rewriting: true, - rewroteCell: { - type: 'select', - options: sf_10, - }, - customRender: ({ record }) => getSf10(record?.['hbv_dna']), - }, - { - title: '除计划免疫外\n是否接种乙肝疫苗', - dataIndex: ['hbvVaccine'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'select', - options: sf_01, - }, - customRender: ({ record }) => getSf01(record?.['hbvVaccine']), - }, - { - title: '甲肝抗体', - dataIndex: ['havAntibody'], - rewriting: true, - rewroteCell: { - type: 'select', - options: positive_negative, - }, - customRender: ({ record }) => getPositiveNegative(record?.['havAntibody']), - }, - { - title: '丙肝病毒抗体', - dataIndex: ['hcvAntibody'], - rewriting: true, - rewroteCell: { - type: 'select', - options: positive_negative, - }, - customRender: ({ record }) => getPositiveNegative(record?.['hcvAntibody']), - }, - ], - [DiseaseType.Cervix]: [ - { - title: 'HPV感染', - dataIndex: ['hpv'], - rewriting: true, - rewroteCell: { - type: 'select', - options: positive_negative, - }, - customRender: ({ record }) => { - if (record?.hpv == 2) record.hpv = null; - return getPositiveNegative(record?.['hpv']); - }, - }, - { - title: '是否接种HPV疫苗', - dataIndex: ['hpvVaccine'], - rewriting: true, - rewroteCell: { - type: 'select', - options: sf_01, - }, - customRender: ({ record }) => getSf01(record?.['hpvVaccine']), - }, - { - title: '女性的文化程度', - dataIndex: ['education'], - rewriting: true, - rewroteCell: { - type: 'select', - options: education, - }, - customRender: ({ record }) => getEducation(record?.['education']), - }, - { - title: '性生活初始年龄', - dataIndex: ['sexualAge'], - rewriting: true, - rewroteCell: { - type: 'select', - options: sex_age, - }, - customRender: ({ record }) => getSexAge(record?.['sexualAge']), - }, - { - title: '性伴侣数量', - dataIndex: ['sexMate'], - rewriting: true, - rewroteCell: { - type: 'select', - options: sex_partner, - }, - customRender: ({ record }) => getSexPartner(record?.['sexMate']), - }, - { - title: '是否有慢性宫颈炎\n宫颈糜烂或宫颈息肉', - dataIndex: ['cervicitis'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'select', - options: sf_10, - }, - customRender: ({ record }) => getSf10(record?.['cervicitis']), - }, - { - title: '妊娠次数', - dataIndex: ['gravidity'], - rewriting: true, - rewroteCell: { - type: 'select', - options: pregnancy_times, - }, - customRender: ({ record }) => getPregnancyTimes(record?.['gravidity']), - }, - ], - }; - return [ - { - title: '单位名称', - dataIndex: 'unitName', - fixed: 'left', - width: 120, - }, - { - title: '部门名称', - dataIndex: 'deptName', - fixed: 'left', - width: 120, - }, - { - title: '员工姓名', - dataIndex: 'userName', - fixed: 'left', - width: 120, - }, - { - title: '性别', - dataIndex: 'sex_dictText', - width: 70, - }, - { - title: '年龄', - dataIndex: 'age', - width: 70, - }, - // { - // title: '身份证号', - // dataIndex: 'icCard', - // width: 150, - // ifShow: isShowIdCard(), - // }, - { - title: '癌症名称', - dataIndex: 'illName', - customRender: ({ record }) => { - if (record?.['cancer']) { - return record?.['cancer']?.map((item) => item['illName'])?.join(','); - } - }, - }, - { - title: '确诊时间', - dataIndex: 'illTime', - customRender: ({ record }) => { - if (record?.['cancer']) { - return record?.['cancer']?.map((item) => item['illTime'])?.join(','); - } - }, - }, - ...columnsList[type], - { - title: '免疫预警值', - dataIndex: 'stomachCancer', - customRender: ({ record }) => { - const { riskValue, grade } = record['stomachCancer'] || {}; - const color = getRiskLevel(grade); - const str = riskValue != null && grade != null ? riskValue + '(' + grade + ')' : ''; - return h('div', { style: { color: color } }, str); - }, - }, - ]; -}; -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'name', - component: 'Input', - }, - ...orgSearchInfoByCode('unitCode', 'deptCode', 'orgCode'), -]; - -export const fakeLeftSchema: FormSchema[] = [ - { - label: '', - field: 'sex', - component: 'Input', - show: false, - }, - { - label: '吃腌制食品', - field: 'pickle', - component: 'RadioGroup', - defaultValue: 1, - componentProps: () => { - return { - options: [ - { - label: '经常吃', - value: 1, - }, - { - label: '偶尔', - value: 0, - }, - ], - }; - }, - }, - { - label: '吃烟熏和油炸食品', - field: 'fry', - component: 'RadioGroup', - defaultValue: '1', - componentProps: () => { - return { - options: [ - { - label: '经常吃', - value: 1, - }, - { - label: '偶尔', - value: 0, - }, - ], - }; - }, - }, - { - label: '肝癌家族史', - field: 'familyLiverCancer', - component: 'RadioGroup', - defaultValue: '1', - componentProps: () => { - return { - options: [ - { - label: '是', - value: 1, - }, - { - label: '否', - value: 0, - }, - ], - }; - }, - }, - { - label: '糖尿病', - field: 'diabetes', - component: 'RadioGroup', - defaultValue: '1', - componentProps: () => { - return { - options: [ - { - label: '是', - value: 1, - }, - { - label: '否', - value: 0, - }, - ], - }; - }, - }, - { - label: '文化程度', - field: 'education', - component: 'RadioGroup', - defaultValue: '1', - componentProps: () => { - return { - options: [ - { - label: '高中以下', - value: 1, - }, - { - label: '高中及以上', - value: 0, - }, - ], - }; - }, - ifShow: ({ values }) => values.sex == '1', - }, - { - label: '性生活初始年龄', - field: 'sexualAge', - component: 'RadioGroup', - defaultValue: '1', - componentProps: () => { - return { - options: [ - { - label: '<20岁', - value: 1, - }, - { - label: '≥20岁', - value: 0, - }, - ], - }; - }, - ifShow: ({ values }) => values.sex == '1', - }, - { - label: '性伴侣数量', - field: 'sexMate', - component: 'RadioGroup', - defaultValue: '1', - componentProps: () => { - return { - options: [ - { - label: '<2个', - value: 0, - }, - { - label: '≥2个', - value: 1, - }, - ], - }; - }, - ifShow: ({ values }) => values.sex == '1', - }, - { - label: '妊娠次数', - field: 'gravidity', - component: 'RadioGroup', - defaultValue: '1', - componentProps: () => { - return { - options: [ - { - label: '<3次', - value: 0, - }, - { - label: '≥3次', - value: 1, - }, - ], - }; - }, - ifShow: ({ values }) => values.sex == '1', - }, - { - label: h('div', [h('div', '慢性宫颈炎、宫'), h('div', '颈糜烂或宫颈息肉')]), - field: 'cervicitis', - component: 'RadioGroup', - defaultValue: '1', - ifShow: ({ values }) => values.sex == 1, - componentProps: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - options: [ - { - label: '是', - value: 1, - }, - { - label: '否', - value: 0, - }, - ], - }; - }, - }, - { - label: '重组幽门螺杆菌疫苗', - field: 'hpVaccine', - component: 'RadioGroup', - defaultValue: '1', - componentProps: () => { - return { - options: [ - { - label: '未接种', - value: 1, - }, - { - label: '已接种', - value: 0, - }, - ], - }; - }, - }, - { - label: h('div', [h('div', '除计划免疫外'), h('div', '接种乙肝疫苗')]), - field: 'hbvVaccine', - component: 'RadioGroup', - defaultValue: '1', - componentProps: () => { - return { - options: [ - { - label: '未接种', - value: 1, - }, - { - label: '已接种', - value: 0, - }, - ], - }; - }, - }, - { - label: 'HPV疫苗', - field: 'hpvVaccine', - component: 'RadioGroup', - defaultValue: '1', - componentProps: () => { - return { - options: [ - { - label: '未接种', - value: 1, - }, - { - label: '已接种', - value: 0, - }, - ], - }; - }, - }, -]; - -export const fakeRightSchema: FormSchema[] = [ - { - label: 'HP感染', - field: 'hp', - component: 'RadioGroup', - defaultValue: '1', - componentProps: () => { - return { - options: [ - { - label: '是', - value: 1, - }, - { - label: '否', - value: 0, - }, - ], - }; - }, - }, - { - label: 'HBV-DNA', - field: 'hbv_dna', - component: 'RadioGroup', - defaultValue: '1', - componentProps: () => { - return { - options: [ - { - label: '是', - value: 1, - }, - { - label: '否', - value: 0, - }, - ], - }; - }, - }, - { - label: '甲肝抗体', - field: 'havAntibody', - component: 'RadioGroup', - defaultValue: '1', - componentProps: () => { - return { - options: [ - { - label: '阴性', - value: 0, - }, - { - label: '阳性', - value: 1, - }, - ], - }; - }, - }, - { - label: '丙肝病毒抗体', - field: 'hcvAntibody', - component: 'RadioGroup', - defaultValue: '1', - componentProps: () => { - return { - options: [ - { - label: '阴性', - value: 0, - }, - { - label: '阳性', - value: 1, - }, - ], - }; - }, - }, - { - label: '血清铁蛋白', - field: 'sf', - component: 'JSlider', - componentProps: ({ formModel }) => { - return { - min: 0, - max: 100, - step: 1, - unit: 'μg/L', - onChange: (v) => { - formModel.sf = v; - }, - }; - }, - }, - { - label: '甲胎蛋白', - field: 'afp', - component: 'JSlider', - componentProps: ({ formModel }) => { - return { - min: 0, - max: 100, - step: 1, - unit: 'μg/L', - onChange: (v) => { - formModel.afp = v; - }, - }; - }, - }, - { - label: '谷氨酰转肽酶', - field: 'y_GT', - component: 'JSlider', - componentProps: ({ formModel }) => { - return { - min: 0, - max: 100, - step: 1, - unit: 'U/L', - onChange: (v) => { - formModel.y_GT = v; - }, - }; - }, - }, - { - label: 'HPV感染', - field: 'hpv', - component: 'RadioGroup', - defaultValue: '1', - ifShow: ({ values }) => values.sex == '1', - componentProps: () => { - return { - options: [ - { - label: '阴性', - value: 0, - }, - { - label: '阳性', - value: 1, - }, - ], - }; - }, - }, - { - label: '', - field: 'sex', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/cancer/immuneAlarm/immuneTest/immuneTest.vue b/src/views/interveneNew/cancer/immuneAlarm/immuneTest/immuneTest.vue deleted file mode 100644 index 714506e..0000000 --- a/src/views/interveneNew/cancer/immuneAlarm/immuneTest/immuneTest.vue +++ /dev/null @@ -1,161 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/cancer/signalPrediction/compoents/utils.ts b/src/views/interveneNew/cancer/signalPrediction/compoents/utils.ts deleted file mode 100644 index 9c78226..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/compoents/utils.ts +++ /dev/null @@ -1,101 +0,0 @@ -export const isHave = [ - { - value: 0, - label: '否', - }, - { - value: 1, - label: '是', - }, -]; -export const isHas = [ - { - value: 0, - label: '没有', - }, - { - value: 1, - label: '有', - }, -]; -export const isHaveAY = [ - { - value: 0, - label: '否(阴性)', - }, - { - value: 1, - label: '是(阳性)', - }, -]; -//小学以下=1 -// 小学=2 -// 初中=3 -// 高中或中专=4 -// 大学、大专及以上=0 -export const isEducation = [ - { - value: 0, - label: '大学、大专及以上', - }, - { - value: 1, - label: '小学以下', - }, - { - value: 2, - label: '小学', - }, - { - value: 3, - label: '初中', - }, - { - value: 4, - label: '高中或中专', - }, -]; -export const isSmoking = [ - { - value: 0, - label: '从来没有', - }, - { - value: 1, - label: '现在或过去有', - }, -]; -export const isY = [ - { - value: 0, - label: '阴性', - }, - { - value: 1, - label: '阳性', - }, -]; -export const isBlack = [ - { - value: 0, - label: '均无黑便和呕血', - }, - { - value: 1, - label: '出现黑便或呕血', - }, -]; -export const isStool = [ - { - value: 0, - label: '成型软便', - }, - { - value: 1, - label: '不成型便', - }, - { - value: 2, - label: '稀便', - }, -]; diff --git a/src/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/components/signalModal.vue b/src/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/components/signalModal.vue deleted file mode 100644 index 75b08a4..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/components/signalModal.vue +++ /dev/null @@ -1,206 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/components/thresholdSetModal.vue b/src/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/components/thresholdSetModal.vue deleted file mode 100644 index b945ab2..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/components/thresholdSetModal.vue +++ /dev/null @@ -1,143 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/earlyWarningHistory.api.ts b/src/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/earlyWarningHistory.api.ts deleted file mode 100644 index f12d7ae..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/earlyWarningHistory.api.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/signal/warning/list', - settings = '/health-intervene/signal/settings/edit', - settingList = '/health-intervene/signal/settings/list', -} -// 获取列表 type:0 获取表象信号 -export const list = (params: any) => defHttp.post({ url: Api.list, params }); -export const settingList = (params: any) => defHttp.get({ url: Api.settingList, params }); - -export const settings = (params: any) => defHttp.put({ url: Api.settings, params }); diff --git a/src/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/earlyWarningHistory.data.ts b/src/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/earlyWarningHistory.data.ts deleted file mode 100644 index b074107..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/earlyWarningHistory.data.ts +++ /dev/null @@ -1,184 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getSecondaryDepartmentList, getThirdDepartListByOrgCode } from '/@/views/system/user/user.api'; -import { useMessage } from '/@/hooks/web/useMessage'; -import { isShowIdCard } from '/@/utils/getEnv'; -import { h } from 'vue'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; - -const { createMessage } = useMessage(); - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - align: 'center', - dataIndex: 'departName', - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - dataIndex: 'orgName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'realName', - fixed: 'left', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, - // { - // title: '身份证号', - // align: 'center', - // dataIndex: 'idCard', - // ifShow: isShowIdCard(), - // }, - { - title: '预警时间', - align: 'center', - dataIndex: 'warningTime', - }, - { - title: '信号溯源', - align: 'center', - dataIndex: 'suyuan', - }, - { - title: '预警癌症', - align: 'center', - dataIndex: 'cancerType', - customRender: ({ text }) => { - if (text === 0) return '胃癌'; - if (text === 1) return '肝癌'; - if (text === 2) return '肺癌'; - if (text === 3) return '结直肠癌'; - if (text === 4) return '宫颈癌'; - }, - }, - { - title: '风险值', - align: 'center', - dataIndex: 'warningValue', - customRender: ({ text, record }) => { - // 肝癌、胃癌、肺癌、结直肠癌 - if (record.cancerType !== 4) { - if (text > 0.67 && text <= 1) { - return h('span', { style: { color: '#ff0000' } }, `${text}(高风险)`); - } else if (text > 0.33 && text <= 0.67) { - return h('span', { style: { color: '#000000' } }, `${text}(中风险)`); - } else { - return h('span', { style: { color: '#000000' } }, `${text}(低风险)`); - } - } - //宫颈癌 - if (record.cancerType === 4) { - if (text > 15 && text <= 30) { - return h('span', { style: { color: '#ff0000' } }, `${text}(高风险)`); - } else if (text > 5 && text <= 15) { - return h('span', { style: { color: '#000000' } }, `${text}(中风险)`); - } else { - return h('span', { style: { color: '#000000' } }, `${text}(低风险)`); - } - } - }, - }, -]; -export const searchSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2', 'orgCode'), - { - label: '预警日期', - field: 'date', - component: 'RangePicker', - componentProps: { - valueType: 'Date', - valueFormat: 'YYYY-MM-DD', - }, - }, -]; - -export const signalColumns: BasicColumn[] = [ - { - title: '信号名称', - align: 'center', - dataIndex: 'behaviour', - }, - { - title: '信号类型', - align: 'center', - dataIndex: 'type', - customRender: ({ text }) => { - if (text === 0) return '表象信号'; - if (text === 1) return '检查信号'; - if (text === 2) return '检验信号'; - }, - }, - { - title: '单位', - align: 'center', - dataIndex: 'unit', - }, - { - title: '预警时信号值', - align: 'center', - dataIndex: 'valueText', - customRender: ({ text, record }) => { - if (!text) return '-'; - if (record.isAbnormal === 1) { - return h('span', { style: { color: '#ff0000' } }, `${text}`); - } else { - return text; - } - }, - }, -]; - -export const SignalSearchSchema: FormSchema[] = [ - { - label: '信号名称', - field: 'behaviour', - component: 'Input', - }, - { - label: '信号类型', - field: 'type', - component: 'Select', - componentProps: { - options: [ - { - label: '表象信号', - value: '0', - }, - { - label: '检查信号', - value: '1', - }, - { - label: '检验信号', - value: '2', - }, - ], - }, - }, -]; - -export interface HeaderColumns { - label: string; - value: string; - key: string; - show?: boolean; - customRender?: ({ text, record }: { text: any; record: any }) => JSX.Element | String; -} diff --git a/src/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/earlyWarningHistory.vue b/src/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/earlyWarningHistory.vue deleted file mode 100644 index 5163ea1..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/earlyWarningHistory.vue +++ /dev/null @@ -1,73 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/cancer/signalPrediction/examination/examination.api.ts b/src/views/interveneNew/cancer/signalPrediction/examination/examination.api.ts deleted file mode 100644 index e0f056c..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/examination/examination.api.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/cancer/signal/inspectionSignalSource', - exportXls = '/health-intervene/intervene/aedEquipmentManger/exportXlsManager', -} -export const getExportUrl = Api.exportXls; -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); diff --git a/src/views/interveneNew/cancer/signalPrediction/examination/examination.data.ts b/src/views/interveneNew/cancer/signalPrediction/examination/examination.data.ts deleted file mode 100644 index 2a56a5b..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/examination/examination.data.ts +++ /dev/null @@ -1,211 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { message } from 'ant-design-vue'; -import { h } from 'vue'; -import { allSecondaryDepartsNew, getThirdDepartsNew } from '/@/utils/system/api'; -import { isY } from '/@/views/interveneNew/cancer/signalPrediction/compoents/utils'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { isShowIdCard } from '/@/utils/getEnv'; - -export const getColumns = (isShowColor = false) => { - return [ - { - title: '单位名称', - align: 'center', - dataIndex: 'departName', - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - dataIndex: 'orgName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'realName', - fixed: 'left', - }, - { - title: '性别', - align: 'center', - width: 80, - dataIndex: 'sex_dictText', - }, - // { - // title: '身份证号', - // align: 'center', - // dataIndex: 'idCard', - // ifShow: isShowIdCard(), - // }, - { - title: '癌症名称', - align: 'center', - dataIndex: 'illNames', - customRender: ({ text }) => { - return h( - 'div', - text.split(',').map((item) => h('div', item)) - ); - }, - }, - { - title: '确诊时间', - align: 'center', - dataIndex: 'illTimes', - customRender: ({ text }) => { - return h( - 'div', - text.split(',').map((item) => h('div', item)) - ); - }, - }, - { - title: '碳14呼气试验', - align: 'center', - dataIndex: 'bpm', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record?.bpmError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: 'CA724\n(U/ml)', - align: 'center', - dataIndex: 'ca724', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record?.ca724Error == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: 'CAE*\n(ng/ml)', - align: 'center', - dataIndex: 'cea', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record?.ceaError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: 'CA125*\n(U/ml)', - align: 'center', - dataIndex: 'ca125', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record?.ca125Error == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '血清铁蛋白\n(μg/L)', - align: 'center', - dataIndex: 'sf', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record?.sfError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '甲胎蛋白\n(μg/L)', - align: 'center', - dataIndex: 'afp', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record?.afpError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '谷氨酰转肽酶\n(U/L)', - align: 'center', - dataIndex: 'ggt', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record?.ggtError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: 'HBV-DNA', - align: 'center', - dataIndex: 'hbvDna', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record?.hbvDnaError == 1 ? h('span', { style: { color: 'red' } }, getName(text, isY)) : getName(text, isY); - }, - }, - { - title: '细胞角质蛋白19片段', - align: 'center', - dataIndex: 'cytokeratin19', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record?.cytokeratin19Error == 1 - ? h('span', { style: { color: 'red' } }, getName(text, isY)) - : getName(text, isY); - }, - }, - { - title: 'HPV感染', - align: 'center', - dataIndex: 'hpvInfected', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record?.hpvInfectedError == 1 ? h('span', { style: { color: 'red' } }, getName(text, isY)) : getName(text, isY); - }, - }, - ] as BasicColumn[]; -}; - -export const schemas: FormSchema[] = [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2'), -]; -function getName(text: any, list = []) { - if (!text && text != 0) return ''; - return list.find((item: any) => item.value == text)?.label; -} diff --git a/src/views/interveneNew/cancer/signalPrediction/examination/examination.vue b/src/views/interveneNew/cancer/signalPrediction/examination/examination.vue deleted file mode 100644 index 25767f0..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/examination/examination.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/signalPrediction/examine/examine.api.ts b/src/views/interveneNew/cancer/signalPrediction/examine/examine.api.ts deleted file mode 100644 index ba6fee9..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/examine/examine.api.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/cancer/signal/checkSignalSource', - exportXls = '/health-intervene/intervene/aedEquipmentManger/exportXlsManager', -} -export const getExportUrl = Api.exportXls; -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); diff --git a/src/views/interveneNew/cancer/signalPrediction/examine/examine.data.ts b/src/views/interveneNew/cancer/signalPrediction/examine/examine.data.ts deleted file mode 100644 index 39a1b47..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/examine/examine.data.ts +++ /dev/null @@ -1,121 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { message } from 'ant-design-vue'; -import { h } from 'vue'; -import { allSecondaryDepartsNew, getThirdDepartsNew } from '/@/utils/system/api'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { isShowIdCard } from '/@/utils/getEnv'; -import { getName } from '/@/views/interveneNew/compoents/utils'; -import { isHave } from '/@/views/interveneNew/cancer/signalPrediction/compoents/utils'; - -export const getColumns = (isShowColor = false) => { - return [ - { - title: '单位名称', - align: 'center', - dataIndex: 'departName', - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - dataIndex: 'orgName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'realName', - fixed: 'left', - }, - { - title: '性别', - align: 'center', - width: 80, - dataIndex: 'sex_dictText', - }, - // { - // title: '身份证号', - // align: 'center', - // dataIndex: 'idCard', - // ifShow: isShowIdCard(), - // }, - { - title: '癌症名称', - align: 'center', - dataIndex: 'illNames', - customRender: ({ text }) => { - return h( - 'div', - text.split(',').map((item) => h('div', item)) - ); - }, - }, - { - title: '确诊时间', - align: 'center', - dataIndex: 'illTimes', - customRender: ({ text }) => { - return h( - 'div', - text.split(',').map((item) => h('div', item)) - ); - }, - }, - { - title: '胃腺瘤性息肉直径大小(cm)', - align: 'center', - dataIndex: 'polypSize', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.colorectalPolypSizeError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '结直肠息肉数量', - align: 'center', - dataIndex: 'colorectalPolypNum', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.colorectalPolypNumError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '结直肠最大息肉直径(mm)', - align: 'center', - dataIndex: 'psaValueNew', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.psaError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '肝部结节', - align: 'center', - dataIndex: 'hepaticNodule', - customRender: ({ text, record }) => { - // @ts-ignore - text = getName(text, isHave); - return isShowColor && record.hepaticNoduleError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '肺部结节', - align: 'center', - dataIndex: 'pulmonaryNodule', - customRender: ({ text, record }) => { - // @ts-ignore - text = getName(text, isHave); - return isShowColor && record.pulmonaryNoduleError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - ] as BasicColumn[]; -}; - -export const schemas: FormSchema[] = [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2'), -]; diff --git a/src/views/interveneNew/cancer/signalPrediction/examine/examine.vue b/src/views/interveneNew/cancer/signalPrediction/examine/examine.vue deleted file mode 100644 index f238a9e..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/examine/examine.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/signalPrediction/measurement/components/fakeRelationShip.vue b/src/views/interveneNew/cancer/signalPrediction/measurement/components/fakeRelationShip.vue deleted file mode 100644 index e13bfef..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/measurement/components/fakeRelationShip.vue +++ /dev/null @@ -1,317 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/signalPrediction/measurement/components/relationShip.vue b/src/views/interveneNew/cancer/signalPrediction/measurement/components/relationShip.vue deleted file mode 100644 index bf093b9..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/measurement/components/relationShip.vue +++ /dev/null @@ -1,129 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/signalPrediction/measurement/components/trueRelationShip.vue b/src/views/interveneNew/cancer/signalPrediction/measurement/components/trueRelationShip.vue deleted file mode 100644 index 20b18e0..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/measurement/components/trueRelationShip.vue +++ /dev/null @@ -1,542 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/signalPrediction/measurement/measurement.api.ts b/src/views/interveneNew/cancer/signalPrediction/measurement/measurement.api.ts deleted file mode 100644 index e89c6ba..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/measurement/measurement.api.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/cancer/signal/simulationTest', - listStart = '/health-intervene/cancer/signal/startSimulation', - exportXls = '/health-intervene/intervene/aedEquipmentManger/exportXlsManager', - signalRelation = '/health-intervene/cancer/signal/relation', -} -export const getExportUrl = (params: any) => defHttp.get({ url: Api.exportXls, params: params }); -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const listStartApi = (params: any) => defHttp.post({ url: Api.listStart, params: params }); - -export const signalRelation = (params: any) => defHttp.get({ url: Api.signalRelation, params }); diff --git a/src/views/interveneNew/cancer/signalPrediction/measurement/measurement.data.ts b/src/views/interveneNew/cancer/signalPrediction/measurement/measurement.data.ts deleted file mode 100644 index f0b3358..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/measurement/measurement.data.ts +++ /dev/null @@ -1,1542 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { h } from 'vue'; -import { - isBlack, - isEducation, - isHas, - isHave, - isHaveAY, - isSmoking, - isStool, - isY, -} from '/@/views/interveneNew/cancer/signalPrediction/compoents/utils'; -import { getOftenOccasionally } from '/@/views/interveneNew/cancer/immuneAlarm/immuneTest/immuneTest.data'; -import { deepFryStatus } from '/@/views/interveneNew/cancer/etiology/compoents/utils'; -const columns: BasicColumn[] = [ - { - title: '单位名称', - align: 'center', - width: 100, - dataIndex: 'departName', - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - width: 100, - dataIndex: 'orgName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - width: 100, - dataIndex: 'realName', - fixed: 'left', - }, - { - title: '性别', - align: 'center', - width: 100, - dataIndex: 'sex_dictText', - }, - { - title: '癌症名称', - align: 'center', - width: 100, - dataIndex: 'illNames', - customRender: ({ text }) => { - return h( - 'div', - text.split(',').map((item) => h('div', item)) - ); - }, - }, - { - title: '确诊时间', - align: 'center', - width: 100, - dataIndex: 'illTimes', - customRender: ({ text }) => { - return h( - 'div', - text.split(',').map((item) => h('div', item)) - ); - }, - }, -]; -// 0 腌制食品 油炸食品 碳14呼气试验(bpm) CA72-4* CEA* 胃腺瘤性息肉 黑便或呕血 -const columns1: BasicColumn[] = [ - ...columns, - { - title: '腌制食品', - align: 'center', - width: 80, - rewriting: true, - rewroteCell: { - type: 'select', - options: isHave, - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text }) => getName(text, isHave), - dataIndex: 'pickling', - }, - { - title: '油炸食品', - align: 'center', - width: 100, - rewriting: true, - rewroteCell: { - type: 'select', - options: isHave, - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text }) => getName(text, isHave), - dataIndex: 'deepFry', - }, - { - title: '碳14呼气试验(bpm)', - align: 'center', - width: 100, - rewriting: true, - rewroteCell: { - type: 'select', - options: isY, - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - // customRender: ({ text }) => getName(text, isY), - dataIndex: 'bpm', - }, - { - title: 'CA72-4*', - align: 'center', - width: 100, - rewriting: true, - rewroteCell: { - type: 'input', - }, - dataIndex: 'ca724', - }, - { - title: 'CEA*', - align: 'center', - width: 100, - rewriting: true, - rewroteCell: { - type: 'input', - }, - dataIndex: 'cea', - }, - { - title: '胃腺瘤性息肉直径大小(cm)', - align: 'center', - width: 110, - rewriting: true, - rewroteCell: { - type: 'input', - }, - dataIndex: 'polypSize', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '黑便或呕血', - align: 'center', - width: 110, - dataIndex: 'blackStool', - rewriting: true, - rewroteCell: { - type: 'select', - options: isBlack, - }, - customRender: ({ text }) => getName(text, isBlack), - }, - { - title: '风险值', - align: 'center', - width: 100, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ record }) => { - return record?.warningList && record?.warningList.length > 0 - ? h( - 'span', - { style: { color: getColor(record?.warningList[0]?.code) } }, - `${parseFloat(record?.warningList[0]?.riskValue).toFixed(2)}(${record?.warningList[0]?.grade})` - ) - : ''; - }, - dataIndex: 'blackStool', - }, -]; -// 1 糖尿病 肝癌家族史 血清铁蛋白 甲胎蛋白 谷氨酰转肽酶 HBV-DNA 咯血 便血 结节 -const columns2: BasicColumn[] = [ - ...columns, - { - title: '糖尿病', - align: 'center', - width: 80, - rewriting: true, - rewroteCell: { - type: 'select', - options: isHave, - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text }) => getName(text, isHave), - dataIndex: 'diabetes', - }, - { - title: '肝癌家族史', - align: 'center', - width: 100, - rewriting: true, - rewroteCell: { - type: 'select', - options: isHave, - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text }) => getName(text, isHave), - dataIndex: 'familyHistory', - }, - { - title: '血清铁蛋白', - align: 'center', - width: 100, - rewriting: true, - rewroteCell: { - type: 'input', - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: 'sf', - }, - { - title: '甲胎蛋白', - align: 'center', - width: 100, - dataIndex: 'afp', - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '谷氨酰转肽酶', - align: 'center', - width: 110, - dataIndex: 'ggt', - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: 'HBV-DNA', - align: 'center', - width: 100, - dataIndex: 'hbvDna', - rewriting: true, - rewroteCell: { - type: 'select', - options: isY, - }, - customRender: ({ text }) => getName(text, isY), - }, - { - title: '咯血', - align: 'center', - width: 130, - dataIndex: 'hemoptysis', - rewriting: true, - rewroteCell: { - type: 'select', - options: isHave, - }, - customRender: ({ text }) => getName(text, isHave), - }, - { - title: '便血', - align: 'center', - width: 130, - dataIndex: 'hematochezia', - rewriting: true, - rewroteCell: { - type: 'select', - options: isHave, - }, - customRender: ({ text }) => getName(text, isHave), - }, - { - title: '结节', - align: 'center', - width: 130, - dataIndex: 'hepaticNodule', - rewriting: true, - rewroteCell: { - type: 'select', - options: isHave, - }, - customRender: ({ text }) => getName(text, isHave), - }, - { - title: '风险值', - align: 'center', - width: 100, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ record }) => { - return record?.warningList && record?.warningList.length > 0 - ? h( - 'span', - { style: { color: getColor(record?.warningList[0]?.code) } }, - `${parseFloat(record?.warningList[0]?.riskValue).toFixed(2)}(${record?.warningList[0]?.grade})` - ) - : ''; - }, - dataIndex: 'blackStool', - }, -]; -// 2 接触有毒有害物质 肺结核病史 呼吸道疾病史 吸烟 精神、癫痫类疾病 家族肿瘤史 被动吸烟 接触油烟 饮酒 蔬菜摄入 细胞角蛋白19片段 咯血 便血 息肉结节 -const columns3: BasicColumn[] = [ - ...columns, - { - title: '接触有毒有害物质', - align: 'center', - width: 80, - rewriting: true, - rewroteCell: { - type: 'select', - options: isHave, - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text }) => getName(text, isHave), - dataIndex: 'poisonChemistry', - }, - { - title: '肺结核病史', - align: 'center', - width: 60, - rewriting: true, - rewroteCell: { - type: 'select', - options: isHave, - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text }) => getName(text, isHave), - dataIndex: 'pulmonaryTuberculosis', - }, - { - title: '呼吸道疾病史', - align: 'center', - width: 90, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: 'respiratoryDisease', - rewriting: true, - rewroteCell: { - type: 'select', - options: isHave, - }, - customRender: ({ text }) => getName(text, isHave), - }, - { - title: '吸烟', - align: 'center', - width: 90, - dataIndex: 'smoking', - rewriting: true, - rewroteCell: { - type: 'select', - options: isHave, - }, - customRender: ({ text }) => getName(text, isHave), - }, - { - title: '精神、癫痫\n类疾病', - align: 'center', - width: 100, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: 'mentalIllness', - rewriting: true, - rewroteCell: { - type: 'select', - options: isHave, - }, - customRender: ({ text }) => getName(text, isHave), - }, - { - title: '家族肿瘤史', - align: 'center', - width: 100, - dataIndex: 'familyTumorHistory', - rewriting: true, - rewroteCell: { - type: 'select', - options: isHave, - }, - customRender: ({ text }) => getName(text, isHave), - }, - { - title: '被动吸烟', - align: 'center', - width: 100, - dataIndex: 'passiveSmoking', - rewriting: true, - rewroteCell: { - type: 'select', - options: isHave, - }, - customRender: ({ text }) => getName(text, isHave), - }, - { - title: '接触油烟', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: 'oilFume', - rewriting: true, - rewroteCell: { - type: 'select', - options: isHave, - }, - customRender: ({ text }) => getName(text, isHave), - }, - { - title: '饮酒', - align: 'center', - width: 130, - dataIndex: 'drinking', - rewriting: true, - rewroteCell: { - type: 'select', - options: isHave, - }, - customRender: ({ text }) => getName(text, isHave), - }, - { - title: '蔬菜摄入(克/天)', - align: 'center', - width: 120, - dataIndex: 'vegetables', - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '细胞角蛋白19片段', - align: 'center', - width: 100, - dataIndex: 'cytokeratin19', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'select', - options: isY, - }, - customRender: ({ text }) => getName(text, isHave), - }, - { - title: '咯血', - align: 'center', - width: 80, - dataIndex: 'hemoptysis', - rewriting: true, - rewroteCell: { - type: 'select', - options: isHave, - }, - customRender: ({ text }) => getName(text, isHave), - }, - { - title: '便血', - align: 'center', - width: 80, - dataIndex: 'hematochezia', - rewriting: true, - rewroteCell: { - type: 'select', - options: isHave, - }, - customRender: ({ text }) => getName(text, isHave), - }, - { - title: '息肉结节', - align: 'center', - width: 80, - dataIndex: 'pulmonaryNodule', - rewriting: true, - rewroteCell: { - type: 'select', - options: isHave, - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text }) => getName(text, isHave), - }, - { - title: '风险值', - align: 'center', - width: 100, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ record }) => { - return record?.warningList && record?.warningList.length > 0 - ? h( - 'span', - { style: { color: getColor(record?.warningList[0]?.code) } }, - `${parseFloat(record?.warningList[0]?.riskValue).toFixed(2)}(${record?.warningList[0]?.grade})` - ) - : ''; - }, - dataIndex: 'blackStool', - }, -]; -// 3 一级亲属结直肠癌家族史 吸烟 黑便频率(天/周) 结直肠息肉数量 结直肠最大息肉直径(mm) 大便性状改变 -const columns4: BasicColumn[] = [ - ...columns, - { - title: '一级亲属结直肠癌家族史', - align: 'center', - width: 80, - rewriting: true, - rewroteCell: { - type: 'select', - options: isHas, - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text }) => getName(text, isHas), - dataIndex: 'firstRelatives', - }, - { - title: '吸烟', - align: 'center', - width: 60, - rewriting: true, - rewroteCell: { - type: 'select', - options: isSmoking, - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text }) => getName(text, isSmoking), - dataIndex: 'smoking', - }, - { - title: '黑便频率(天/周)', - align: 'center', - width: 90, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: 'blackStoolNum', - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '结直肠息肉数量', - align: 'center', - width: 90, - dataIndex: 'colorectalPolypNum', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '结直肠最大息肉直径(mm)', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'input', - }, - dataIndex: 'colorectalPolypSize', - }, - { - title: '大便性状改变', - align: 'center', - width: 100, - dataIndex: 'stoolChange', - rewriting: true, - rewroteCell: { - type: 'select', - options: isStool, - }, - customRender: ({ text }) => getName(text, isStool), - }, - { - title: '风险值', - align: 'center', - width: 100, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ record }) => { - return record?.warningList && record?.warningList.length > 0 - ? h( - 'span', - { style: { color: getColor(record?.warningList[0]?.code) } }, - `${parseFloat(record?.warningList[0]?.riskValue).toFixed(2)}(${record?.warningList[0]?.grade})` - ) - : ''; - }, - dataIndex: 'blackStool', - }, -]; -// 4 HPV感染 女性的文化程度 吸烟 性生活初始年龄 性伴侣数量 是否有慢性宫颈炎、宫颈糜烂、宫颈息肉、宫颈子宫内膜异位症等疾病 妊娠次数 糖类抗原CA125检测水平 -const columns5: BasicColumn[] = [ - ...columns, - { - title: 'HPV感染', - align: 'center', - width: 130, - rewriting: true, - rewroteCell: { - type: 'select', - options: isHaveAY, - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text }) => getName(text, isHaveAY), - dataIndex: 'hpvInfected', - }, - { - title: '女性的文化程度', - align: 'center', - width: 150, - rewriting: true, - rewroteCell: { - type: 'select', - options: isEducation, - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text }) => getName(text, isEducation), - dataIndex: 'culture', - }, - { - title: '吸烟', - align: 'center', - width: 90, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: 'smoking', - customRender: ({ text }) => getName(text, isSmoking), - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '性生活初始年龄', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: 'sexLifeAge', - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '性伴侣数量', - align: 'center', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'input', - }, - dataIndex: 'sexPartnerNum', - }, - { - title: '是否有慢性宫颈炎、宫颈糜烂、宫颈息肉、宫颈子宫内膜异位症等疾病', - align: 'center', - width: 160, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: 'diseases', - customRender: ({ text }) => getName(text, isHave), - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '妊娠次数', - align: 'center', - width: 100, - dataIndex: 'pregnancyNum', - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '糖类抗原CA125检测水平', - align: 'center', - width: 100, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: 'ca125', - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '风险值', - align: 'center', - width: 100, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ record }) => { - return record?.warningList && record?.warningList.length > 0 - ? h( - 'span', - { style: { color: getColor(record?.warningList[0]?.code) } }, - `${parseInt(record?.warningList[0]?.riskValue)}(${record?.warningList[0]?.grade})` - ) - : ''; - }, - dataIndex: 'blackStool', - }, -]; - -export const columnsList = [columns1, columns2, columns3, columns4, columns5]; - -export const getSearchSchema = () => { - return [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2', 'orgCode'), - ]; -}; - -function getColor(type) { - type = type * 1; - switch (type) { - case 2: - return '#e99d42'; - case 3: - return 'red'; - } -} - -function getName(val, list) { - for (let i = 0; i < list.length; i++) { - if (list[i].value == val) { - return list[i].label; - } - } - return ''; -} - -export const fakeLeftSchema: FormSchema[] = [ - { - label: '', - field: 'jianyan', - component: 'Input', - slot: 'jianyan', - show: ({ values }) => values.radio != '3', - }, - { - label: '', - field: 'radio', - component: 'Input', - show: false, - }, - { - label: '碳14呼气试验(bpm)', //胃癌 - field: 'bpm', - component: 'RadioGroup', - defaultValue: 0, - componentProps: () => { - return { - options: isY, - }; - }, - show: ({ values }) => values.radio == '0', - }, - { - label: 'CA72-4', //胃癌 - field: 'ca724', - component: 'JSlider', - defaultValue: 0, - componentProps: ({ formModel }) => { - return { - min: 0, - max: 50, - step: 1, - unit: 'U/ml', - onChange: (v) => { - formModel.ca724 = v; - }, - }; - }, - show: ({ values }) => values.radio == '0', - }, - { - label: 'CEA', //胃癌 - field: 'cea', - component: 'JSlider', - defaultValue: 0, - componentProps: ({ formModel }) => { - return { - min: 0, - max: 1000, - step: 1, - unit: 'ng/ml', - onChange: (v) => { - formModel.cea = v; - }, - }; - }, - show: ({ values }) => values.radio == '0', - }, - - { - label: '血清铁蛋白', //肝癌 - field: 'SF', - component: 'JSlider', - defaultValue: 0, - componentProps: ({ formModel }) => { - return { - min: 0, - max: 50, - step: 1, - unit: 'U/ml', - onChange: (v) => { - formModel.SF = v; - }, - }; - }, - show: ({ values }) => values.radio == '1', - }, - - { - label: '甲胎蛋白', //肝癌 - field: 'AFP', - component: 'JSlider', - defaultValue: 0, - componentProps: ({ formModel }) => { - return { - min: 0, - max: 50, - step: 1, - unit: 'U/ml', - onChange: (v) => { - formModel.AFP = v; - }, - }; - }, - show: ({ values }) => values.radio == '1', - }, - { - label: '谷氨酰转肽酶', //肝癌 - field: 'Y_GT', - component: 'JSlider', - defaultValue: 0, - componentProps: ({ formModel }) => { - return { - min: 0, - max: 50, - step: 1, - unit: 'U/ml', - onChange: (v) => { - formModel.Y_GT = v; - }, - }; - }, - show: ({ values }) => values.radio == '1', - }, - { - label: 'HBV-DNA', //肝癌 - field: 'hbvDna', - component: 'JSlider', - defaultValue: 0, - componentProps: ({ formModel }) => { - return { - min: 0, - max: 50, - step: 1, - unit: 'U/ml', - onChange: (v) => { - formModel.hbvDna = v; - }, - }; - }, - show: ({ values }) => values.radio == '1', - }, - { - label: '细胞角蛋白19片段', - field: 'cytokeratin19', - component: 'RadioGroup', - defaultValue: 0, - componentProps: () => { - return { - options: isY, - }; - }, - show: ({ values }) => values.radio == '2', - }, - { - label: 'HPV感染', - field: 'HPV', //hpvInfected - component: 'RadioGroup', - defaultValue: 0, - componentProps: () => { - return { - options: isHaveAY, - }; - }, - show: ({ values }) => values.radio == '4', - }, - { - label: '', - field: 'jiancha', - component: 'Input', - slot: 'jiancha', - show: ({ values }) => values.radio != '4', - }, - { - label: '胃腺瘤性息肉直径', //胃癌 - field: 'polypSize', - component: 'JSlider', - defaultValue: 0, - componentProps: ({ formModel }) => { - return { - min: 0, - max: 1000, - step: 1, - unit: 'cm', - onChange: (v) => { - formModel.polypSize = v; - }, - }; - }, - show: ({ values }) => values.radio == '0', - }, - { - label: '结节', //肝癌 - field: 'hepaticNodule', - component: 'JSlider', - defaultValue: 0, - componentProps: ({ formModel }) => { - return { - min: 0, - max: 1000, - step: 1, - unit: 'cm', - onChange: (v) => { - formModel.hepaticNodule = v; - }, - }; - }, - show: ({ values }) => values.radio == '1', - }, - { - label: '息肉结节', - field: 'pulmonaryNodule', - component: 'RadioGroup', - defaultValue: 0, - componentProps: () => { - return { - options: isHave, - }; - }, - show: ({ values }) => values.radio == '2', - }, - { - label: '结直肠息肉数量', - field: 'colorectalPolypNum', - component: 'JSlider', - defaultValue: 0, - componentProps: ({ formModel }) => { - return { - min: 0, - unit: '个', - onChange: (v) => { - formModel.colorectalPolypNum = v; - }, - }; - }, - show: ({ values }) => values.radio == '3', - }, - { - label: '结直肠最大息肉直径', - field: 'colorectalPolypSize', - component: 'JSlider', - defaultValue: 0, - componentProps: ({ formModel }) => { - return { - min: 0, - unit: 'mm', - onChange: (v) => { - formModel.colorectalPolypSize = v; - }, - }; - }, - show: ({ values }) => values.radio == '3', - }, -]; - -export const fakeRightSchema: FormSchema[] = [ - { - label: '', - field: 'biaoxiang', - component: 'Input', - slot: 'biaoxiang', - }, - { - label: '', - field: 'radio', - component: 'Input', - show: false, - }, - { - label: '黑便或呕血', //胃癌 - field: 'blackStool', - component: 'RadioGroup', - defaultValue: 0, - componentProps: () => { - return { - options: isBlack, - }; - }, - show: ({ values }) => values.radio == '0', - }, - { - label: '咯血', //肝癌 - field: 'hemoptysis', - component: 'RadioGroup', - defaultValue: 0, - componentProps: () => { - return { - options: isBlack, - }; - }, - show: ({ values }) => values.radio == '1' || values.radio == '2', - }, - { - label: '便血', //肝癌 - field: 'hematochezia', - component: 'RadioGroup', - defaultValue: 0, - componentProps: () => { - return { - options: isBlack, - }; - }, - show: ({ values }) => values.radio == '1' || values.radio == '2', - }, - { - label: '黑便频率', - field: 'blackStoolNum', - component: 'JSlider', - defaultValue: 0, - componentProps: ({ formModel }) => { - return { - min: 0, - max: 7, - unit: '天/周', - onChange: (v) => { - formModel.blackStoolNum = v; - }, - }; - }, - show: ({ values }) => values.radio == '3', - }, - { - label: '大便性状改变', - field: 'stoolShape', - defaultValue: 0, - component: 'RadioGroup', - componentProps: () => { - return { - options: isStool, - }; - }, - show: ({ values }) => values.radio == '3', - }, - { - label: h('div', [h('div', '慢性宫颈炎、宫颈糜烂'), h('div', '宫颈息肉、宫颈子宫内'), h('div', '膜异位症等疾病')]), - - // label: '慢性宫颈炎、宫颈糜烂、宫颈息肉、宫颈子宫内膜异位症等疾病', - field: 'diseases', - component: 'JSlider', - defaultValue: 0, - componentProps: ({ formModel }) => { - return { - min: 0, - onChange: (v) => { - formModel.diseases = v; - }, - }; - }, - show: ({ values }) => values.radio == '4', - }, - { - label: '妊娠次数', - field: 'pregnancyNum', - component: 'JSlider', - defaultValue: 0, - componentProps: ({ formModel }) => { - return { - min: 0, - onChange: (v) => { - formModel.pregnancyNum = v; - }, - }; - }, - show: ({ values }) => values.radio == '4', - }, - { - label: '', - field: 'qita', - component: 'Input', - slot: 'qita', - }, - { - label: '吃腌制食品', //胃癌 - field: 'pickling', - defaultValue: 0, - component: 'RadioGroup', - componentProps: () => { - return { - options: isHave, - }; - }, - show: ({ values }) => values.radio == '0', - }, - { - label: '吃油炸食品', //胃癌 - field: 'deepFry', - component: 'RadioGroup', - defaultValue: 0, - componentProps: () => { - return { - options: isHave, - }; - }, - show: ({ values }) => values.radio == '0', - }, - { - label: '糖尿病', //肝癌 - field: 'diabetes', - component: 'RadioGroup', - defaultValue: 0, - componentProps: () => { - return { - options: isHave, - }; - }, - show: ({ values }) => values.radio == '1', - }, - { - label: '肝癌家族史', //肝癌 - field: 'familyLiverCancer', - component: 'RadioGroup', - defaultValue: 1, - componentProps: () => { - return { - options: isHave, - }; - }, - show: ({ values }) => values.radio == '1', - }, - { - label: '接触有毒有害物质', - field: 'poisonChemistry', - component: 'RadioGroup', - defaultValue: 0, - componentProps: () => { - return { - options: isHave, - }; - }, - show: ({ values }) => values.radio == '2', - }, - { - label: '肺结核病史', - field: 'pulmonaryTuberculosis', - component: 'RadioGroup', - defaultValue: 0, - componentProps: () => { - return { - options: isHave, - }; - }, - show: ({ values }) => values.radio == '2', - }, - { - label: '呼吸道疾病史', - field: 'respiratoryDisease', - component: 'RadioGroup', - defaultValue: 0, - componentProps: () => { - return { - options: isHave, - }; - }, - show: ({ values }) => values.radio == '2', - }, - { - label: h('div', [h('div', '一级亲属结直肠'), h('div', '癌家族史')]), - // label: '一级亲属结直肠癌家族史', - field: 'firstRelatives', - component: 'RadioGroup', - defaultValue: 0, - componentProps: () => { - return { - options: isHas, - }; - }, - show: ({ values }) => values.radio == '3', - }, - { - label: '文化程度', - field: 'culture', - component: 'RadioGroup', - defaultValue: 0, - componentProps: () => { - return { - options: isEducation, - }; - }, - show: ({ values }) => values.radio == '4', - }, - { - label: '吸烟', - field: 'smoking', - defaultValue: 0, - component: 'RadioGroup', - componentProps: () => { - return { - options: isHave, - }; - }, - show: ({ values }) => values.radio == '2' || values.radio == '3' || values.radio == '4', - }, - { - label: '吸烟数量', - field: 'smokingNum', - component: 'JSlider', - defaultValue: 0, - componentProps: ({ formModel }) => { - return { - min: 0, - unit: '根', - onChange: (v) => { - formModel.smokingNum = v; - }, - }; - }, - show: ({ values }) => values.radio == '4', - }, - { - label: '是否有性生活', - field: 'sexLife', - component: 'RadioGroup', - defaultValue: 0, - componentProps: () => { - return { - options: isHave, - }; - }, - show: ({ values }) => values.radio == '4', - }, - { - label: '性生活初始年龄', - field: 'sexLifeAge', - component: 'JSlider', - defaultValue: 0, - componentProps: ({ formModel }) => { - return { - min: 0, - unit: '岁', - onChange: (v) => { - formModel.sexLifeAge = v; - }, - }; - }, - show: ({ values }) => values.radio == '4', - }, - { - label: '性伴侣数量', - field: 'sexPartnerNum', - component: 'JSlider', - defaultValue: 0, - componentProps: ({ formModel }) => { - return { - min: 0, - onChange: (v) => { - formModel.sexPartnerNum = v; - }, - }; - }, - show: ({ values }) => values.radio == '4', - }, - { - // label: '糖类抗原CA125检测水平', - label: h('div', [h('div', '糖类抗原CA125'), h('div', '检测水平')]), - field: 'ca125', - component: 'JSlider', - defaultValue: 0, - componentProps: ({ formModel }) => { - return { - min: 0, - onChange: (v) => { - formModel.ca125 = v; - }, - }; - }, - show: ({ values }) => values.radio == '4', - }, - { - label: '精神、癫痫类疾病', - field: 'mentalIllness', - component: 'RadioGroup', - defaultValue: 0, - componentProps: () => { - return { - options: isHave, - }; - }, - show: ({ values }) => values.radio == '2', - }, - { - label: '家族肿瘤史', - field: 'familyTumorHistory', - component: 'RadioGroup', - defaultValue: 0, - componentProps: () => { - return { - options: isHave, - }; - }, - show: ({ values }) => values.radio == '2', - }, - { - label: '被动吸烟', - field: 'passiveSmoking', - component: 'RadioGroup', - defaultValue: 0, - componentProps: () => { - return { - options: isHave, - }; - }, - show: ({ values }) => values.radio == '2', - }, - { - label: '接触油烟', - field: 'oilFume', - component: 'RadioGroup', - defaultValue: 0, - componentProps: () => { - return { - options: isHave, - }; - }, - show: ({ values }) => values.radio == '2', - }, - { - label: '饮酒', - field: 'drinking', - component: 'RadioGroup', - defaultValue: 0, - componentProps: () => { - return { - options: isHave, - }; - }, - show: ({ values }) => values.radio == '2', - }, - { - label: '蔬菜摄入', - field: 'vegetables', - component: 'JSlider', - defaultValue: 0, - componentProps: ({ formModel }) => { - return { - min: 0, - unit: '克/天', - onChange: (v) => { - formModel.vegetables = v; - }, - }; - }, - show: ({ values }) => values.radio == '2', - }, -]; diff --git a/src/views/interveneNew/cancer/signalPrediction/measurement/measurement.vue b/src/views/interveneNew/cancer/signalPrediction/measurement/measurement.vue deleted file mode 100644 index 4fd4ab3..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/measurement/measurement.vue +++ /dev/null @@ -1,205 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/signalPrediction/personal/personal.api.ts b/src/views/interveneNew/cancer/signalPrediction/personal/personal.api.ts deleted file mode 100644 index 29ab858..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/personal/personal.api.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/cancer/signal/individualSource', - exportXls = '/health-intervene/intervene/aedEquipmentManger/exportXlsManager', -} -export const getExportUrl = Api.exportXls; -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); diff --git a/src/views/interveneNew/cancer/signalPrediction/personal/personal.data.ts b/src/views/interveneNew/cancer/signalPrediction/personal/personal.data.ts deleted file mode 100644 index ae61a67..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/personal/personal.data.ts +++ /dev/null @@ -1,429 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { isHave, isStool, isY } from '/@/views/interveneNew/cancer/signalPrediction/compoents/utils'; -import { isShowIdCard } from '/@/utils/getEnv'; - -export const getColumns = (isShowColor = false) => { - return [ - { - title: '单位名称', - align: 'center', - width: 100, - dataIndex: 'departName', - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - width: 100, - dataIndex: 'orgName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - width: 100, - dataIndex: 'realName', - fixed: 'left', - }, - { - title: '性别', - align: 'center', - width: 100, - dataIndex: 'sex_dictText', - }, - // { - // title: '身份证号', - // align: 'center', - // width: 100, - // dataIndex: 'idCard', - // ifShow: isShowIdCard(), - // }, - { - title: '癌症名称', - align: 'center', - width: 100, - dataIndex: 'illNames', - customRender: ({ text }) => { - return h( - 'div', - text.split(',').map((item) => h('div', item)) - ); - }, - }, - { - title: '确诊时间', - align: 'center', - width: 100, - dataIndex: 'illTimes', - customRender: ({ text }) => { - return h( - 'div', - text.split(',').map((item) => h('div', item)) - ); - }, - }, - { - title: '表象信号溯源', - align: 'center', - children: [ - { - title: '黑便或呕血', - align: 'center', - dataIndex: 'blackStool', - width: 120, - customRender: ({ text, record }) => { - // @ts-ignore - text = getName(text, isHave); - return isShowColor && record.blackStoolError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '大便性状改变', - align: 'center', - dataIndex: 'stoolShape', - width: 120, - customRender: ({ text, record }) => { - // @ts-ignore - if (!text) text = getName(text, isStool); - return isShowColor && record.stoolShapeError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '一周大便中\n血液的频率(天)', - align: 'center', - dataIndex: 'blackStoolNum', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - width: 120, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.blackStoolNumError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '咯血', - align: 'center', - dataIndex: 'hemoptysis', - width: 120, - customRender: ({ text, record }) => { - // @ts-ignore - text = getName(text, isHave); - return isShowColor && record.hemoptysisError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '便血', - align: 'center', - dataIndex: 'hematochezia', - width: 120, - customRender: ({ text, record }) => { - // @ts-ignore - text = getName(text, isHave); - return isShowColor && record.hematocheziaError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '是否有慢性宫颈炎、\n宫颈糜烂、宫颈息肉、\n宫颈子宫内膜异位症等疾病', - align: 'center', - dataIndex: 'diseases', - width: 190, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - // @ts-ignore - text = getName(text, isHave); - if (record.sex == 2) text = '-'; - return isShowColor && record.diseasesError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '除例假外不\n规则阴道出血', - align: 'center', - dataIndex: 'vaginalBleeding', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - width: 120, - customRender: ({ text, record }) => { - // @ts-ignore - text = getName(text, isHave); - if (record.sex == 2) text = '-'; - return isShowColor && record.vaginalBleedingError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '妊娠次数', - align: 'center', - dataIndex: 'pregnancyNum', - width: 120, - customRender: ({ text, record }) => { - // @ts-ignore - if (record.sex == 2) text = '-'; - return isShowColor && record.pregnancyNumError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - ], - }, - { - title: '检验信号溯源', - align: 'center', - children: [ - { - title: '碳14呼气试验', - align: 'center', - dataIndex: 'bpm', - width: 120, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record?.bpmError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: 'CA724\n(U/ml)', - align: 'center', - dataIndex: 'ca724', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - width: 120, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record?.ca724Error == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: 'CAE*\n(ng/ml)', - align: 'center', - dataIndex: 'cea', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - width: 120, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record?.ceaError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: 'CA125*\n(U/ml)', - align: 'center', - dataIndex: 'ca125', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - width: 120, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record?.ca125Error == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '血清铁蛋白\n(μg/L)', - align: 'center', - dataIndex: 'sf', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - width: 120, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record?.sfError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '甲胎蛋白\n(μg/L)', - align: 'center', - dataIndex: 'afp', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - width: 120, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record?.afpError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '谷氨酰转肽酶\n(U/L)', - align: 'center', - dataIndex: 'ggt', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - width: 120, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record?.ggtError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: 'HBV-DNA', - align: 'center', - dataIndex: 'hbvDna', - width: 120, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record?.hbvDnaError == 1 - ? h('span', { style: { color: 'red' } }, getName(text, isY)) - : getName(text, isY); - }, - }, - { - title: '细胞角质\n蛋白19片段', - align: 'center', - dataIndex: 'cytokeratin19', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - width: 120, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record?.cytokeratin19Error == 1 - ? h('span', { style: { color: 'red' } }, getName(text, isY)) - : getName(text, isY); - }, - }, - { - title: 'HPV感染', - align: 'center', - dataIndex: 'hpvInfected', - width: 120, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record?.hpvInfectedError == 1 - ? h('span', { style: { color: 'red' } }, getName(text, isY)) - : getName(text, isY); - }, - }, - ], - }, - { - title: '检查信号溯源', - align: 'center', - children: [ - { - title: '胃腺瘤性息肉直径大小(cm)', - align: 'center', - dataIndex: 'polypSize', - width: 120, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.colorectalPolypSizeError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '结直肠息\n肉数量', - align: 'center', - dataIndex: 'colorectalPolypNum', - width: 120, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.colorectalPolypNumError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '结直肠最大\n息肉直径(mm)', - align: 'center', - dataIndex: 'psaValueNew', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - width: 120, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.psaError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '肝部结节', - align: 'center', - dataIndex: 'hepaticNodule', - width: 120, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.hepaticNoduleError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '肺部结节', - align: 'center', - dataIndex: 'pulmonaryNodule', - width: 120, - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.pulmonaryNoduleError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - ], - }, - ] as BasicColumn[]; -}; - -export const schemas: FormSchema[] = [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2'), -]; - -function getName(text: any, list = []) { - if (!text && text != 0) return ''; - return list.find((item: any) => item.value == text)?.label; -} diff --git a/src/views/interveneNew/cancer/signalPrediction/personal/personal.vue b/src/views/interveneNew/cancer/signalPrediction/personal/personal.vue deleted file mode 100644 index a59bec6..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/personal/personal.vue +++ /dev/null @@ -1,50 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/signalPrediction/physicalExaminationSignal/components/physicalSignalModal.vue b/src/views/interveneNew/cancer/signalPrediction/physicalExaminationSignal/components/physicalSignalModal.vue deleted file mode 100644 index 9e32367..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/physicalExaminationSignal/components/physicalSignalModal.vue +++ /dev/null @@ -1,182 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/signalPrediction/physicalExaminationSignal/physicalExaminationSignal.api.ts b/src/views/interveneNew/cancer/signalPrediction/physicalExaminationSignal/physicalExaminationSignal.api.ts deleted file mode 100644 index 2d2ae28..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/physicalExaminationSignal/physicalExaminationSignal.api.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/cancer/signal/list', - edit = '/health-intervene/cancer/signal/edit', -} - -export const list = (params: any) => defHttp.post({ url: Api.list, params: params }); -export const edit = (params: any) => defHttp.put({ url: Api.edit, params: params }); diff --git a/src/views/interveneNew/cancer/signalPrediction/physicalExaminationSignal/physicalExaminationSignal.data.ts b/src/views/interveneNew/cancer/signalPrediction/physicalExaminationSignal/physicalExaminationSignal.data.ts deleted file mode 100644 index 5e81a7a..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/physicalExaminationSignal/physicalExaminationSignal.data.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getAbnormalColumnsText, getNormalColumnsText } from '/@/views/interveneNew/cancer/signalPrediction/signalHooks'; -//不显示编辑的code值 -export const noEditCode = ['sf', 'afp', 'ggt']; -export interface SetObj { - normalEnd?: string; - abnormalEnd1?: string; - abnormalEnd2?: string; -} -export const [daYu, xiaoYu, daYuDengYu, xiaoYuDengYu, quJian, dengYu] = ['>', '<', '>=', '<=', '[]', '=']; -export const ConditionType = { - [daYu]: '大于', - [xiaoYu]: '小于', - [daYuDengYu]: '大于等于', - [xiaoYuDengYu]: '小于等于', - [quJian]: '区间', - [dengYu]: '等于', -}; -export const columns: BasicColumn[] = [ - { - title: '信号名称', - align: 'center', - dataIndex: 'behaviour', - }, - { - title: '判断单位', - align: 'center', - dataIndex: 'unit', - }, - { - title: '判断标准', - align: 'center', - dataIndex: 'standard', - }, - { - title: '判断意义', - align: 'center', - dataIndex: 'meaning', - }, - { - title: '正常', - align: 'center', - dataIndex: 'normalValue', - customRender: ({ record }: any) => { - return getNormalColumnsText(record); - }, - }, - { - title: '异常', - dataIndex: 'abnormalValue', - customRender: ({ record }: any) => { - return getAbnormalColumnsText(record); - }, - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'behaviour', - label: '信号名称', - component: 'Input', - }, -]; diff --git a/src/views/interveneNew/cancer/signalPrediction/physicalExaminationSignal/physicalExaminationSignal.vue b/src/views/interveneNew/cancer/signalPrediction/physicalExaminationSignal/physicalExaminationSignal.vue deleted file mode 100644 index 180ff1b..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/physicalExaminationSignal/physicalExaminationSignal.vue +++ /dev/null @@ -1,110 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/signalPrediction/representation/representation.api.ts b/src/views/interveneNew/cancer/signalPrediction/representation/representation.api.ts deleted file mode 100644 index 28b41c5..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/representation/representation.api.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/cancer/signal/appearanceSignalSource', - exportXls = '/health-intervene/intervene/aedEquipmentManger/exportXlsManager', -} -export const getExportUrl = Api.exportXls; -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); diff --git a/src/views/interveneNew/cancer/signalPrediction/representation/representation.data.ts b/src/views/interveneNew/cancer/signalPrediction/representation/representation.data.ts deleted file mode 100644 index 5f12489..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/representation/representation.data.ts +++ /dev/null @@ -1,157 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { isHave, isStool } from '/@/views/interveneNew/cancer/signalPrediction/compoents/utils'; -import { isShowIdCard } from '/@/utils/getEnv'; - -export const getColumns = (isShowColor = false) => { - return [ - { - title: '单位名称', - align: 'center', - dataIndex: 'departName', - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - dataIndex: 'orgName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'realName', - fixed: 'left', - }, - { - title: '性别', - align: 'center', - width: 80, - dataIndex: 'sex_dictText', - }, - // { - // title: '身份证号', - // align: 'center', - // dataIndex: 'idCard', - // ifShow: isShowIdCard(), - // }, - { - title: '癌症名称', - align: 'center', - dataIndex: 'illNames', - customRender: ({ text }) => { - return h( - 'div', - text.split(',').map((item) => h('div', item)) - ); - }, - }, - { - title: '确诊时间', - align: 'center', - dataIndex: 'illTimes', - customRender: ({ text }) => { - return h( - 'div', - text.split(',').map((item) => h('div', item)) - ); - }, - }, - { - title: '黑便或呕血', - align: 'center', - dataIndex: 'blackStool', - customRender: ({ text, record }) => { - // @ts-ignore - text = getName(text, isHave); - return isShowColor && record.blackStoolError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '大便性状改变', - align: 'center', - dataIndex: 'stoolShape', - customRender: ({ text, record }) => { - // @ts-ignore - if (!text) text = getName(text, isStool); - return isShowColor && record.stoolShapeError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '一周大便中血液的频率(天)', - align: 'center', - dataIndex: 'blackStoolNum', - customRender: ({ text, record }) => { - // @ts-ignore - return isShowColor && record.blackStoolNumError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '咯血', - align: 'center', - dataIndex: 'hemoptysis', - customRender: ({ text, record }) => { - // @ts-ignore - text = getName(text, isHave); - return isShowColor && record.hemoptysisError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '便血', - align: 'center', - dataIndex: 'hematochezia', - customRender: ({ text, record }) => { - // @ts-ignore - text = getName(text, isHave); - return isShowColor && record.hematocheziaError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '是否有慢性宫颈炎、宫颈糜烂、宫颈息肉、宫颈子宫内膜异位症等疾病', - align: 'center', - dataIndex: 'diseases', - customRender: ({ text, record }) => { - // @ts-ignore - text = getName(text, isHave); - if (record.sex == 2) text = '-'; - return isShowColor && record.diseasesError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '除例假外不规则阴道出血', - align: 'center', - dataIndex: 'vaginalBleeding', - customRender: ({ text, record }) => { - // @ts-ignore - text = getName(text, isHave); - if (record.sex == 2) text = '-'; - return isShowColor && record.vaginalBleedingError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - { - title: '妊娠次数', - align: 'center', - dataIndex: 'pregnancyNum', - customRender: ({ text, record }) => { - // @ts-ignore - if (record.sex == 2) text = '-'; - return isShowColor && record.pregnancyNumError == 1 ? h('span', { style: { color: 'red' } }, text) : text; - }, - }, - ] as BasicColumn[]; -}; - -export const schemas: FormSchema[] = [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - }, - ...orgSearchInfoByCode('secondDepartOrgCode', 'departOrgCode'), -]; - -function getName(text: any, list = []) { - if (!text && text != 0) return ''; - return list.find((item: any) => item.value == text)?.label; -} diff --git a/src/views/interveneNew/cancer/signalPrediction/representation/representation.vue b/src/views/interveneNew/cancer/signalPrediction/representation/representation.vue deleted file mode 100644 index d8b728c..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/representation/representation.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/signalPrediction/signalHooks.ts b/src/views/interveneNew/cancer/signalPrediction/signalHooks.ts deleted file mode 100644 index 21a3b6e..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/signalHooks.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { h } from 'vue'; - -enum ComponentType { - radio = 'radio', - input = 'input', -} -const quJian = '[]'; -/** - * 表象信号、检验信号、检查信号列表公用 - */ -//正常显示文字 -export function getNormalColumnsText(record) { - if (typeof record.normalValue == null) { - return ''; - } - const { type, options } = record?.jsonType || {}; - if (type == ComponentType.input) { - record.normalValue = record.normalValue + ''; - const normalOperator = record.normalOperator == quJian ? '' : record.normalOperator; - if (!isNaN(record.normalValue.at(0))) { - return `${normalOperator}${record.normalValue} `; - } - return record.normalValue; - } - if (type == ComponentType.radio) { - const item = options.find((item) => item.value == record.normalValue); - return item ? item.label : ''; - } -} -//异常显示文字 -export function getAbnormalColumnsText(record) { - if (typeof record.abnormalValue == null) { - return ''; - } - let { abnormalLevelOne, abnormalLevelTwo, abnormalLevelOneOperator, abnormalLevelTwoOperator, jsonType } = record; - let { type, options } = jsonType || {}; - if (type == ComponentType.input) { - //级别 - if (abnormalLevelOne && abnormalLevelTwo) { - if (!isNaN(abnormalLevelOne.at(0)) && abnormalLevelOneOperator != quJian) { - abnormalLevelOne = abnormalLevelOneOperator + abnormalLevelOne; - } - if (!isNaN(abnormalLevelTwo.at(0)) && abnormalLevelTwoOperator != quJian) { - abnormalLevelTwo = abnormalLevelTwoOperator + abnormalLevelTwo; - } - const html = ` -
-
- 级别一:${abnormalLevelOne} -
- 级别二:${abnormalLevelTwo} -
-
`; - - return h('div', { innerHTML: html }); - } else { - return record.abnormalValue; - } - } - if (type == ComponentType.radio) { - let findIndex = options.findIndex((item) => item.value == record.normalValue); - let index = findIndex == 0 ? 1 : 0; - return options ? options[index]?.label : ''; - } -} diff --git a/src/views/interveneNew/cancer/signalPrediction/signalLibrary/components/signalLibraryModal.vue b/src/views/interveneNew/cancer/signalPrediction/signalLibrary/components/signalLibraryModal.vue deleted file mode 100644 index 3ff6769..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/signalLibrary/components/signalLibraryModal.vue +++ /dev/null @@ -1,209 +0,0 @@ - - - diff --git a/src/views/interveneNew/cancer/signalPrediction/signalLibrary/signalLibrary.api.ts b/src/views/interveneNew/cancer/signalPrediction/signalLibrary/signalLibrary.api.ts deleted file mode 100644 index d151744..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/signalLibrary/signalLibrary.api.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/cancer/signal/list', - edit = '/health-intervene/cancer/signal/edit', -} -// 获取列表 type:0 获取表象信号 -export const list = (params: any) => defHttp.post({ url: Api.list, params: { ...params, type: 0 } }); -export const edit = (params: any) => defHttp.put({ url: Api.edit, params: params }); diff --git a/src/views/interveneNew/cancer/signalPrediction/signalLibrary/signalLibrary.data.ts b/src/views/interveneNew/cancer/signalPrediction/signalLibrary/signalLibrary.data.ts deleted file mode 100644 index 16c2541..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/signalLibrary/signalLibrary.data.ts +++ /dev/null @@ -1,427 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getAbnormalColumnsText, getNormalColumnsText } from '/@/views/interveneNew/cancer/signalPrediction/signalHooks'; -//不显示异常输入框的code值 -export const noShowInput = ['pregnancyNum', 'ca724', 'cea', 'ca125', 'polypSize']; -export interface Record { - behaviour: string; - signalId: string; - unit: string; - standard: string; - meaning: string; - normalValue: string; - abnormalValue: string; - defaultValue: string; - id: string; -} -export interface SetObj { - normalEnd?: string; - abnormalEnd1?: string; - abnormalEnd2?: string; -} -export const [daYu, xiaoYu, daYuDengYu, xiaoYuDengYu, quJian, dengYu] = ['>', '<', '>=', '<=', '[]', '=']; -export const ConditionType = { - [daYu]: '大于', - [xiaoYu]: '小于', - [daYuDengYu]: '大于等于', - [xiaoYuDengYu]: '小于等于', - [quJian]: '区间', - [dengYu]: '等于', -}; - -export const columns: BasicColumn[] = [ - { - title: '信号名称', - align: 'center', - dataIndex: 'behaviour', - }, - { - title: '判断单位', - align: 'center', - dataIndex: 'unit', - }, - { - title: '判断标准', - align: 'center', - dataIndex: 'standard', - }, - { - title: '判断意义', - align: 'center', - dataIndex: 'meaning', - }, - { - title: '正常', - align: 'center', - dataIndex: 'normalValue', - customRender: ({ record }: any) => { - return getNormalColumnsText(record); - }, - }, - { - title: '异常', - dataIndex: 'abnormalValue', - customRender: ({ record }: any) => { - return getAbnormalColumnsText(record); - }, - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'behaviour', - label: '信号名称', - component: 'Input', - }, -]; - -export const formSchemaOld: FormSchema[] = [ - { - field: 'departName', - label: '判断标准', - required: true, - component: 'InputTextArea', - componentProps: () => { - return { - rows: 2, - }; - }, - }, - { - field: 'departYiYi', - label: '判断意义', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 4, - }; - }, - required: true, - }, - { - field: 'modalType', - label: '弹窗类型', - component: 'Input', - show: false, - }, - { - field: 'normal', - label: '正常', - component: 'Select', - slot: 'normalValue', - dynamicRules: ({ values }) => { - return [ - { - required: true, - validator: (_, value) => { - if (!value) { - return Promise.reject('请选择正常值'); - } - if (!values.normalStart) { - return Promise.reject('请输入正常值开始值'); - } - if (values.normal == '5' && !values.normalEnd) { - return Promise.reject('请输入正常值结束值'); - } - return Promise.resolve(); - }, - trigger: 'blur', - }, - ]; - }, - ifShow: ({ values }) => values.modalType == 2, - }, - { - field: 'normalRadio', - label: '正常', - component: 'RadioGroup', - required: true, - componentProps: () => { - return { - options: [ - { - label: '是', - value: '是', - }, - { - label: '否', - value: '否', - }, - ], - }; - }, - ifShow: ({ values }) => values.modalType == 1, - }, - { - field: 'normalStart', - label: '正常', - component: 'Input', - show: false, - }, - { - field: 'normalEnd', - label: '正常', - component: 'Input', - show: false, - }, - { - field: 'abnormal', - label: '异常', - component: 'Select', - slot: 'abnormalValue', - dynamicRules: ({ values }) => { - return [ - { - required: true, - validator: (_, value) => { - if (!value) { - return Promise.reject('请选择异常值'); - } - if (!values.abnormalStart) { - return Promise.reject('请输入异常值开始值'); - } - if (values.abnormal == '5' && !values.abnormalEnd) { - return Promise.reject('请输入异常值结束值'); - } - return Promise.resolve(); - }, - trigger: 'blur', - }, - ]; - }, - ifShow: ({ values }) => values.modalType == 2, - }, - { - field: 'abnormal', - label: '异常', - component: 'RadioGroup', - required: true, - componentProps: () => { - return { - options: [ - { - label: '是', - value: '是', - }, - { - label: '否', - value: '否', - }, - ], - }; - }, - ifShow: ({ values }) => values.modalType == 1, - }, - { - field: 'abnormalStart', - label: '异常', - component: 'Input', - required: true, - show: false, - }, - { - field: 'abnormalEnd', - label: '异常', - component: 'Input', - show: false, - }, -]; -const errors = { - general: '请选择正常值符号', - //请选择异常级别1的符号 - abnormalLevelOneOperator: '请选择异常级别1的符号', - abnormalStart1: '请输入异常级别1开始值', - abnormalEnd1: '请输入异常级别1结束值', - abnormalLevelTwoOperator: '请选择异常级别2的符号', - abnormalStart2: '请输入异常级别2开始值', - abnormalEnd2: '请输入异常级别2结束值', - startMissing: '请输入正常值', - startNegative: '正常值不能小于0', - endMissing: '请输入正常值结束值', - endNegative: '正常值结束值不能小于0', -}; -/* - * modalType: 1 radio 2 input - * */ -export const formSchema: FormSchema[] = [ - { - field: 'standard', - label: '判断标准', - required: true, - component: 'InputTextArea', - componentProps: () => { - return { - rows: 2, - }; - }, - }, - { - field: 'meaning', - label: '判断意义', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 4, - }; - }, - required: true, - }, - { - field: 'modalType', - label: '弹窗类型', - component: 'InputNumber', - show: false, - }, - { - field: 'normalOperator', - label: '正常', - component: 'Select', - slot: 'normalValue', - dynamicRules: ({ values }) => { - return [ - { - required: true, - validator: (_, value) => { - if (!value) { - return Promise.reject(errors.general); - } - if (values.normalStart == null) { - return Promise.reject(errors.startMissing); - } - if (values.normalOperator == quJian && values.normalEnd == null) { - return Promise.reject(errors.endMissing); - } - return Promise.resolve(); - }, - trigger: 'blur', - }, - ]; - }, - ifShow: ({ values }) => values.modalType == 2, - }, - { - field: 'normalRadio', - label: '正常', - component: 'RadioGroup', - required: true, - componentProps: ({ formModel }) => { - const { options } = formModel.jsonType; - return { - options: options, - }; - }, - ifShow: ({ values }) => values.modalType == 1, - }, - { - field: 'normalStart', - label: '正常', - component: 'Input', - show: false, - }, - { - field: 'normalEnd', - label: '正常', - component: 'Input', - show: false, - }, - { - field: 'abnormalLevelOneOperator', - label: '异常级别1', - component: 'Select', - slot: 'abnormalValue1', - dynamicRules: ({ values }) => { - return [ - { - required: true, - validator: (_, value) => { - if (!value) { - return Promise.reject(errors.abnormalLevelOneOperator); - } - if (!values.abnormalStart1) { - return Promise.reject(errors.abnormalStart1); - } - if (values.abnormalLevelOneOperator == quJian && !values.abnormalEnd1) { - return Promise.reject(errors.abnormalEnd1); - } - return Promise.resolve(); - }, - trigger: 'blur', - }, - ]; - }, - ifShow: ({ values }) => { - let showAbnormal = noShowInput.includes(values.code); - return values.modalType == 2 && !showAbnormal; - }, - }, - { - field: 'abnormalStart1', - label: '异常开始1', - component: 'Input', - show: false, - }, - { - field: 'abnormalEnd1', - label: '异常结束1', - component: 'Input', - show: false, - }, - { - field: 'abnormalLevelTwoOperator', - label: '异常级别2', - component: 'Select', - slot: 'abnormalValue2', - dynamicRules: ({ values }) => { - return [ - { - required: true, - validator: (_, value) => { - if (!value) { - return Promise.reject(errors.abnormalLevelTwoOperator); - } - if (!values.abnormalStart2) { - return Promise.reject(errors.abnormalStart2); - } - if (values.abnormalLevelTwoOperator == quJian && !values.abnormalEnd2) { - return Promise.reject(errors.abnormalEnd2); - } - return Promise.resolve(); - }, - trigger: 'blur', - }, - ]; - }, - ifShow: ({ values }) => { - let showAbnormal = noShowInput.includes(values.code); - return values.modalType == 2 && !showAbnormal; - }, - }, - { - field: 'abnormalStart2', - label: '异常开始2', - component: 'Input', - show: false, - }, - { - field: 'abnormalEnd2', - label: '异常结束2', - component: 'Input', - show: false, - }, - { - field: 'code', - label: 'code', - component: 'Input', - show: false, - }, - { - field: 'id', - label: '', - component: 'Input', - show: false, - }, - { - field: 'jsonType', - label: 'jsonType', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/cancer/signalPrediction/signalLibrary/signalLibrary.vue b/src/views/interveneNew/cancer/signalPrediction/signalLibrary/signalLibrary.vue deleted file mode 100644 index 6f67427..0000000 --- a/src/views/interveneNew/cancer/signalPrediction/signalLibrary/signalLibrary.vue +++ /dev/null @@ -1,77 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/aedInfo/aedInfo.api.ts b/src/views/interveneNew/cardiovascular/aidLinkage/aedInfo/aedInfo.api.ts deleted file mode 100644 index 6d7e880..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/aedInfo/aedInfo.api.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/angiocarpy/linkage/base/aed/page', - export = '/health-intervene/angiocarpy/linkage/base/aed/export', -} -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const exportExcel = Api.export; diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/aedInfo/aedInfo.data.ts b/src/views/interveneNew/cardiovascular/aidLinkage/aedInfo/aedInfo.data.ts deleted file mode 100644 index 4f2adb7..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/aedInfo/aedInfo.data.ts +++ /dev/null @@ -1,147 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { getPublicC } from '/@/views/interveneNew/cardiovascular/aidLinkage/components/publiComponent'; -import { h } from 'vue'; -function getStatus(value: string) { - if (value == '正常') return h('div', { style: { color: '#5ca100' } }, '正常'); - if (value == '维护中') return h('div', { style: { color: '#ffa500' } }, '维护中'); - return ''; -} -export const columns: BasicColumn[] = [ - { - title: '设备名称', - width: 110, - dataIndex: 'name', - }, - { - title: '设备型号', - width: 110, - dataIndex: 'hostModel', - }, - { - title: '所属单位', - width: 180, - dataIndex: 'orgName', - fixed: 'left', - }, - { - title: '所属部门', - width: 180, - dataIndex: 'deptName', - fixed: 'left', - }, - // { - // title: '品牌', - // width: 110, - // dataIndex: 'brand', - // }, - // { - // title: '设备编号', - // dataIndex: 'hostSerialNum', - // width: 140, - // }, - { - title: '布点位置', - width: 110, - dataIndex: 'position', - }, - { - title: '状态', - dataIndex: 'status_dictText', - width: 80, - customRender: ({ text }) => { - return getStatus(text); - }, - }, - { - title: '布点日期', - width: 110, - dataIndex: 'installTime', - }, - { - title: '管理人电话', - width: 110, - dataIndex: 'manageUserMobile', - }, - { - title: '责任人电话', - width: 150, - dataIndex: 'mfrsMobile', - }, - { - title: '自动关联应急资源数量', - dataIndex: 'tj', - children: [...getPublicC('AED', 'departCode')], - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '设备名称', - field: 'name', - component: 'Input', - }, - { - label: '设备编号', - field: 'hostSerialNum', - component: 'Input', - }, - - ...orgSearchInfoByCode('orgCode', 'deptCode', 'notCode'), -]; -export const formSchema: FormSchema[] = [ - { - label: '所属单位', - field: 'orgName', - component: 'Input', - }, - { - label: '所属部门', - field: 'deptName', - component: 'Input', - }, - { - label: '设备名称', - field: 'name', - component: 'Input', - }, - { - label: '设备编号', - field: 'hostModel', - component: 'Input', - }, - // { - // label: '品牌', - // field: 'brand', - // component: 'Input', - // }, - // { - // label: '设备编号', - // field: 'hostSerialNum', - // component: 'Input', - // }, - { - label: '布点位置', - field: 'installAddress', - component: 'Input', - }, - { - label: '状态', - field: 'status_dictText', - component: 'Input', - }, - { - label: '布点日期', - field: 'installTime', - component: 'Input', - }, - { - label: '管理人电话', - field: 'manageUserMobile', - component: 'Input', - }, - { - label: '责任人电话', - field: 'mfrsMobile', - component: 'Input', - }, -]; diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/aedInfo/aedInfo.vue b/src/views/interveneNew/cardiovascular/aidLinkage/aedInfo/aedInfo.vue deleted file mode 100644 index 97b4f30..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/aedInfo/aedInfo.vue +++ /dev/null @@ -1,101 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/aedInfo/components/aedInfoDrawer.vue b/src/views/interveneNew/cardiovascular/aidLinkage/aedInfo/components/aedInfoDrawer.vue deleted file mode 100644 index 2dfb085..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/aedInfo/components/aedInfoDrawer.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/ambulance/ambulance.api.ts b/src/views/interveneNew/cardiovascular/aidLinkage/ambulance/ambulance.api.ts deleted file mode 100644 index 2c4d07e..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/ambulance/ambulance.api.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); - -enum Api { - list = '/health-intervene/angiocarpy/linkage/ambulance/list', - deleteBatch = '/health-intervene/angiocarpy/linkage/ambulance/deleteBatch', - addOrUpdate = '/health-intervene/angiocarpy/linkage/ambulance/addOrUpdate', - detail = '/health-intervene/diabetes/monitoring/important-user/detail', - export = '/health-intervene/angiocarpy/linkage/ambulance/exportXls', - import = '/health-intervene/diabetes/monitoring/important-user', -} -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const exportExcel = Api.export; -export const deleteOne = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -export const deleteBatch = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -export const saveOrUpdate = (params: any) => { - return defHttp.post({ url: Api.addOrUpdate, params }); -}; diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/ambulance/ambulance.data.ts b/src/views/interveneNew/cardiovascular/aidLinkage/ambulance/ambulance.data.ts deleted file mode 100644 index 4d2fbed..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/ambulance/ambulance.data.ts +++ /dev/null @@ -1,229 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { allSecondaryDepartsNew } from '/@/utils/orgSearchInfo'; -import { rules } from '/@/utils/helper/validator'; -import { getPublicC } from '/@/views/interveneNew/cardiovascular/aidLinkage/components/publiComponent'; -import { getStatus, statusOption } from '/@/views/interveneNew/cardiovascular/aidLinkage/common/commonUtils'; - -export const columns: BasicColumn[] = [ - { - title: '所属单位', - width: 180, - dataIndex: 'orgCodeName', - }, - { - title: '设备名称', - width: 150, - dataIndex: 'ambulanceName', - }, - { - title: '设备编号', - width: 150, - dataIndex: 'ambulanceCode', - }, - { - title: '车牌号码', - width: 150, - dataIndex: 'ambulanceNumber', - }, - { - title: '布放位置', - width: 110, - dataIndex: 'position', - }, - { - title: '状态', - dataIndex: 'status', - width: 80, - customRender: ({ text }) => { - return getStatus(text); - }, - }, - { - title: '布放日期', - dataIndex: 'workStrength', - }, - { - title: '医生电话', - dataIndex: 'tj', - }, - { - title: '司机电话', - dataIndex: 'tj', - }, - { - title: '自动关联应急资源数量', - dataIndex: 'tj', - children: [...getPublicC('救护车', 'orgCode')], - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'ambulanceCode', - label: '设备编号', - component: 'Input', - }, - { - field: 'ambulanceNumber', - label: '车牌号码', - component: 'Input', - }, - { - label: '单位名称', - field: 'orgCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.trim().toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, -]; - -export const formSchema: FormSchema[] = [ - { - field: 'id', - label: '主键', - component: 'Input', - show: false, - }, - { - field: 'orgCode', - label: '所属单位', - component: 'ApiSelect', - componentProps: () => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - required: true, - }, - { - field: 'ambulanceName', - label: '设备名称', - component: 'Input', - componentProps: ({ formModel }) => { - return { - disabled: formModel.id, - }; - }, - required: true, - }, - { - field: 'ambulanceCode', - label: '设备编号', - component: 'Input', - required: true, - }, - { - field: 'ambulanceNumber', - label: '车牌号码', - component: 'Input', - required: true, - }, - { - field: 'ambulanceImage', - label: '资源照片', - component: 'JImageUpload', - componentProps: () => { - return { - maxCount: 1, - accept: '.png,.jpg', - tipText: '支持.png,.jpg', - }; - }, - }, - { - field: 'doctorPhone', - label: '医生电话', - component: 'Input', - required: true, - rules: rules.phone(true), - }, - { - field: 'driverPhone', - label: '司机电话', - component: 'Input', - required: true, - rules: rules.phone(true), - }, - { - field: 'slotPlace', - label: '', - component: 'Input', - slot: 'slotPlace', - }, - { - field: 'address', - label: '详细地址', - component: 'Input', - slot: 'address', - }, - { - label: '地址', - field: 'customAddress', - component: 'Input', - slot: 'customAddress', - rules: [{ required: true }], - ifShow: false, - }, - { - label: '经度', - field: 'longitude', - component: 'InputNumber', - ifShow: false, - }, - { - label: '纬度', - field: 'latitude', - component: 'InputNumber', - ifShow: false, - }, - { - label: '布放日期', - field: 'installTime', - component: 'DatePicker', - required: true, - componentProps: { - showTime: false, - valueFormat: 'YYYY-MM-DD', - }, - }, - { - field: 'status', - label: '状态', - component: 'JDictSelectTag', - defaultValue: '1', - componentProps: () => ({ - type: 'radio', - options: [ - { - label: '正常', - value: '0', - }, - { - label: '维护中(维护中的救护车将不会在移动端显示)', - value: '1', - }, - ], - }), - required: true, - }, -]; diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/ambulance/ambulance.vue b/src/views/interveneNew/cardiovascular/aidLinkage/ambulance/ambulance.vue deleted file mode 100644 index 2a7199a..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/ambulance/ambulance.vue +++ /dev/null @@ -1,144 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/ambulance/components/ambulanceDrawer.vue b/src/views/interveneNew/cardiovascular/aidLinkage/ambulance/components/ambulanceDrawer.vue deleted file mode 100644 index 587a9ba..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/ambulance/components/ambulanceDrawer.vue +++ /dev/null @@ -1,134 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/common/commonUtils.ts b/src/views/interveneNew/cardiovascular/aidLinkage/common/commonUtils.ts deleted file mode 100644 index 87ec0a1..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/common/commonUtils.ts +++ /dev/null @@ -1,84 +0,0 @@ -import { h } from 'vue'; - -export enum PageUrl { - AED = '/cardiovascular/aidLinkage/firstAidKit', - FIRST_AID_KIT = '/cardiovascular/aidLinkage/firstAidKit', - AMBULANCE = '/cardiovascular/aidLinkage/ambulance', - MEDICAL_CENTER_INFO = '/cardiovascular/aidLinkage/medicalCenterInfo', - EMERGENCY_CENTER = '/cardiovascular/aidLinkage/emergencyCenter', - EMERGENCY_CONTACT = '/cardiovascular/aidLinkage/emergencyContact', - WEARING_INFORMATION = '/cardiovascular/aidLinkage/wearingInformation', -} -export enum PageKey { - AED = 'a', - FIRST_AID_KIT = 'g', - AMBULANCE = 'b', - MEDICAL_CENTER_INFO = 'c', - EMERGENCY_CENTER = 'd', - EMERGENCY_CONTACT = 'e', - WEARING_INFORMATION = 'f', -} -// AED -export const allType = [ - { - label: 'AED', - key: PageKey.AED, - url: PageUrl.AED, - }, - { - label: '急救包', - key: PageKey.FIRST_AID_KIT, - url: PageUrl.FIRST_AID_KIT, - }, - { - label: '救护车', - key: PageKey.AMBULANCE, - url: PageUrl.AMBULANCE, - }, - { - label: '医疗点', - key: PageKey.MEDICAL_CENTER_INFO, - url: PageUrl.MEDICAL_CENTER_INFO, - }, - { - label: '医院', - key: 'd', - }, - { - label: '应急专家', - key: 'e', - }, - { - label: '应急中心', - key: PageKey.EMERGENCY_CENTER, - url: PageUrl.EMERGENCY_CENTER, - }, - { - label: '紧急联系人', - key: PageKey.EMERGENCY_CONTACT, - url: PageUrl.EMERGENCY_CONTACT, - }, - { - label: '穿戴', - key: PageKey.WEARING_INFORMATION, - url: PageUrl.WEARING_INFORMATION, - }, -]; -export function getColumns(notType) { - return allType.filter((item) => item.key !== notType); -} -export const statusOption = [ - { - label: '正常', - value: '0', - }, - { - label: '维护中(维护中的专家将不会在移动端显示)', - value: '1', - }, -]; -export function getStatus(value: string) { - if (value == '0') return h('div', { style: { color: '#5ca100' } }, '正常'); - if (value == '1') return h('div', { style: { color: '#ffa500' } }, '维护中'); - return ''; -} diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/components/detailAddress/detailAddress.vue b/src/views/interveneNew/cardiovascular/aidLinkage/components/detailAddress/detailAddress.vue deleted file mode 100644 index 83866fa..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/components/detailAddress/detailAddress.vue +++ /dev/null @@ -1,121 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/components/publiComponent.ts b/src/views/interveneNew/cardiovascular/aidLinkage/components/publiComponent.ts deleted file mode 100644 index 6e020c7..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/components/publiComponent.ts +++ /dev/null @@ -1,101 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { h, unref } from 'vue'; -import { router } from '/@/router'; -import { useRootSetting } from '/@/hooks/setting/useRootSetting'; -export enum PageUrl { - AED = '/cardiovascular/aidLinkage/aedInfo', //AED - FIRST_AID_KIT = '/cardiovascular/aidLinkage/firstAidKit', //急救包 - AMBULANCE = '/cardiovascular/aidLinkage/ambulance', //救护车 - MEDICAL_CENTER_INFO = '/cardiovascular/aidLinkage/medicalCenterInfo', //医疗点 - HOSPITAL_INFORMATION = '/interveneNew/cardiovascular/aidLinkage/hospitalInformation', //医院 - EMERGENCY_PHYSICIAN = '/interveneNew/cardiovascular/aidLinkage/emergencyPhysician', //急救医生 - EMERGENCY_EXPERTS = '/interveneNew/cardiovascular/aidLinkage/emergencyExperts', //急救专家信息 - EMERGENCY_CENTER = '/cardiovascular/aidLinkage/emergencyCenter', //应急中心信息 - EMERGENCY_CONTACT = '/cardiovascular/aidLinkage/emergencyContact', //紧急联系人信息 - WEARING_INFORMATION = '/cardiovascular/aidLinkage/wearingInformation', //穿戴信息 -} - -const listInfo = [ - { - title: 'AED', - dataIndex: 'aedSum', - pageUrl: PageUrl.AED, - }, - { - title: '急救包', - dataIndex: 'kitSum', - pageUrl: PageUrl.FIRST_AID_KIT, - }, - { - title: '救护车', - dataIndex: 'ambulanceSum', - pageUrl: PageUrl.AMBULANCE, - }, - { - title: '医疗点', - dataIndex: 'medicalPointSum', - pageUrl: PageUrl.MEDICAL_CENTER_INFO, - }, - { - title: '医院', - dataIndex: 'hospitalSum', - pageUrl: PageUrl.HOSPITAL_INFORMATION, - }, - { - title: '急救医生', - dataIndex: 'doctorSum', - pageUrl: PageUrl.EMERGENCY_PHYSICIAN, - }, - { - title: '急救专家', - dataIndex: 'specialistSum', - pageUrl: PageUrl.EMERGENCY_EXPERTS, - }, - { - title: '应急中心', - dataIndex: 'emergencyCenterSum', - pageUrl: PageUrl.EMERGENCY_CENTER, - }, - { - title: '紧急联系人', - dataIndex: 'contactSum', - pageUrl: PageUrl.EMERGENCY_CONTACT, - }, - { - title: '穿戴', - dataIndex: 'watchSum', - pageUrl: PageUrl.WEARING_INFORMATION, - }, -]; -export type TitleType = 'AED' | '急救包' | '救护车' | '医疗点' | '医院' | '急救医生' | '急救专家' | '应急中心' | '紧急联系人' | '穿戴'; -export const getPublicC = (title: TitleType, deptCode = 'orgCode') => { - return listInfo - .map((item) => { - return { - title: item.title, - dataIndex: item.dataIndex, - width: 100, - customRender: ({ text, record }) => { - let { getThemeColor } = useRootSetting(); - return h( - 'div', - { - style: { color: unref(getThemeColor), cursor: 'pointer' }, - onClick: () => { - return clickItem(item.pageUrl, record?.[deptCode]); - }, - }, - text ? text : '0' - ); - }, - }; - }) - .filter((item) => item.title != title) as BasicColumn[]; -}; - -async function clickItem(type: string, orgCode: string) { - await router.replace({ - path: type, - query: { orgCode: orgCode && orgCode.substring(0, 6) }, - }); -} diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyCenter/components/emergencyCenterDrawer.vue b/src/views/interveneNew/cardiovascular/aidLinkage/emergencyCenter/components/emergencyCenterDrawer.vue deleted file mode 100644 index 251d88e..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyCenter/components/emergencyCenterDrawer.vue +++ /dev/null @@ -1,91 +0,0 @@ - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyCenter/emergencyCenter.api.ts b/src/views/interveneNew/cardiovascular/aidLinkage/emergencyCenter/emergencyCenter.api.ts deleted file mode 100644 index 06acd7b..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyCenter/emergencyCenter.api.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -enum Api { - list = '/health-intervene/angiocarpy/linkage/center/list', - addOrUpdate = '/health-intervene/angiocarpy/linkage/center/addOrUpdate', - delete = '/health-intervene/angiocarpy/linkage/center/deleteBatch', - exportXls = '/health-intervene/angiocarpy/linkage/center/exportXls', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -// 应急中心列表 -export const listApi = (params) => defHttp.get({ url: Api.list, params }); -//新增或者编辑 -export const addOrUpdateApi = (params: any) => defHttp.post({ url: Api.addOrUpdate, params }); - -export const deleteApi = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.delete, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyCenter/emergencyCenter.data.ts b/src/views/interveneNew/cardiovascular/aidLinkage/emergencyCenter/emergencyCenter.data.ts deleted file mode 100644 index 759f717..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyCenter/emergencyCenter.data.ts +++ /dev/null @@ -1,125 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getPublicC } from '/@/views/interveneNew/cardiovascular/aidLinkage/components/publiComponent'; -import { allSecondaryDepartsNew, getThirdDepartsNew, orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { message } from 'ant-design-vue'; - -export const columns: BasicColumn[] = [ - { - title: '管理单位', - align: 'center', - dataIndex: 'orgCodeName', - width: 150, - }, - { - title: '中心名称', - align: 'center', - dataIndex: 'centerName', - width: 150, - }, - { - title: '联系电话', - align: 'center', - dataIndex: 'phone', - width: 150, - }, - { - title: '地理位置', - align: 'center', - dataIndex: 'address', - width: 300, - }, - { - title: '自动关联应急资源数量', - align: 'center', - children: getPublicC('应急中心', 'orgCode'), - }, -]; - -export const searchSchema: FormSchema[] = [ - { - label: '中心名称', - field: 'centerName', - component: 'Input', - }, - { - label: '中心名称', - field: 'orgCode', - component: 'Input', - show: false, - }, -]; - -export const formSchema: FormSchema[] = [ - // { - // label: '管理单位', - // field: 'orgCode', - // component: 'Input', - // required: true, - // }, - { - field: 'orgCode', - label: '所属单位', - component: 'ApiSelect', - componentProps: () => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - required: true, - }, - { - label: '中心名称', - field: 'centerName', - component: 'Input', - required: true, - }, - { - label: '联系电话', - field: 'phone', - component: 'Input', - required: true, - rules: [ - { - pattern: /^(0\d{2,3}-\d{7,8})$|^(0\d{2,3}\d{7,8})|^(\(\d{3,4}\)-\d{7,8})$|^(\(\d{3,4}\)\d{7,8})$|^1[3456789]\d{9}$/, - message: '手机号码或座机号码格式有误', - trigger: 'blur', - }, - ], - }, - { - label: '地理位置', - field: 'address', - component: 'Input', - slot: 'address', - required: true, - }, - { - label: '经度', - field: 'longitude', - component: 'Input', - componentProps: { - disabled: true, - }, - show: false, - required: true, - }, - { - label: '纬度', - field: 'latitude', - component: 'Input', - componentProps: { - disabled: true, - }, - show: false, - required: true, - }, -]; diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyCenter/emergencyCenter.vue b/src/views/interveneNew/cardiovascular/aidLinkage/emergencyCenter/emergencyCenter.vue deleted file mode 100644 index f8e59b1..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyCenter/emergencyCenter.vue +++ /dev/null @@ -1,115 +0,0 @@ - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyContact/components/emergencyContactModal.vue b/src/views/interveneNew/cardiovascular/aidLinkage/emergencyContact/components/emergencyContactModal.vue deleted file mode 100644 index 7d6f43b..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyContact/components/emergencyContactModal.vue +++ /dev/null @@ -1,325 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyContact/components/userSelectModal.vue b/src/views/interveneNew/cardiovascular/aidLinkage/emergencyContact/components/userSelectModal.vue deleted file mode 100644 index e6e5c10..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyContact/components/userSelectModal.vue +++ /dev/null @@ -1,63 +0,0 @@ - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyContact/emergencyContact.api.ts b/src/views/interveneNew/cardiovascular/aidLinkage/emergencyContact/emergencyContact.api.ts deleted file mode 100644 index ff1ac00..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyContact/emergencyContact.api.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -enum Api { - list = '/health-intervene/angiocarpy/linkage/contact/list', - userList = '/sys/healthUserEmployeeEx/list', - add = '/health-intervene/angiocarpy/linkage/contact/add', - deleteContact = '/health-intervene/angiocarpy/linkage/contact/deleteBatch', -} -// 紧急联系人列表 -export const listApi = (params) => defHttp.get({ url: Api.list, params }); - -export const userList = (params) => defHttp.get({ url: Api.userList, params }); - -//紧急联系人新增 -export const addApi = (params) => defHttp.post({ url: Api.add, params }); - -//紧急联系人删除 -export const deleteContactApi = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteContact, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyContact/emergencyContact.data.ts b/src/views/interveneNew/cardiovascular/aidLinkage/emergencyContact/emergencyContact.data.ts deleted file mode 100644 index 0472260..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyContact/emergencyContact.data.ts +++ /dev/null @@ -1,178 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { getPublicC } from '/@/views/interveneNew/cardiovascular/aidLinkage/components/publiComponent'; -import { render } from '/@/utils/common/renderUtils'; -import { h } from 'vue'; -export const columns: BasicColumn[] = [ - { - title: '所属单位', - align: 'center', - dataIndex: 'orgCodeName', - width: 120, - fixed: 'left', - }, - { - title: '所属部门', - align: 'center', - dataIndex: 'departmentName', - width: 120, - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'realname', - width: 120, - fixed: 'left', - }, - { - title: '员工工号', - align: 'center', - dataIndex: 'workNo', - width: 120, - fixed: 'left', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - width: 120, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - width: 120, - }, - { - title: '单位紧急联系人', - align: 'center', - dataIndex: 'orgContact', - customRender: ({ text }) => { - if (!text) return; - return h( - 'div', - {}, - text.map((item) => { - return h( - 'div', - { style: { textAlign: 'left' } }, - `${item.contactName}${item.postName ? `(${item.postName})` : ''}:${item.contactPhone ? item.contactPhone : ''}` - ); - }) - ); - }, - width: 250, - }, - { - title: '亲友紧急联系人', - align: 'center', - dataIndex: 'familyContact', - customRender: ({ text }) => { - if (!text) return; - return h( - 'div', - {}, - text.map((item) => { - return h( - 'div', - { style: { textAlign: 'left' } }, - `${item.contactName}${item.relationship_dictText ? `(${item.relationship_dictText})` : ''}:${item.contactPhone}` - ); - }) - ); - }, - width: 250, - }, - { - title: '自动关联应急资源数量', - align: 'center', - children: getPublicC('紧急联系人', 'orgCode'), - }, -]; - -export const searchSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'name', - component: 'Input', - }, - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode', 'deptCode', 'orgCode2'), -]; - -export interface HeaderColumns { - label: string; - value: string; - key: string; - show?: boolean; - customRender?: ({ text, record }: { text: any; record: any }) => JSX.Element | string; -} - -export const userModalColumn: BasicColumn[] = [ - { - title: '姓名', - dataIndex: 'realname', - align: 'center', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - align: 'center', - width: '60', - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - width: '60', - }, - { - title: '工号', - dataIndex: 'workNo', - align: 'center', - width: '100', - }, - { - title: '单位', - dataIndex: ['secondDepart', 'departName'], - align: 'center', - }, - { - title: '部门', - dataIndex: ['depart', 'departName'], - align: 'center', - }, - { - title: '岗位', - dataIndex: ['extension', 'empPosition'], - align: 'center', - customRender: ({ text }) => { - return render.renderDict(text, 'emp_position'); - }, - }, - { - title: '联系电话', - dataIndex: 'phone', - align: 'center', - width: '100', - }, -]; - -export const userFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'realname', - component: 'Input', - }, - { - label: '工号', - field: 'workNo', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode', 'deptCode', 'orgCode2'), -]; diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyContact/emergencyContact.vue b/src/views/interveneNew/cardiovascular/aidLinkage/emergencyContact/emergencyContact.vue deleted file mode 100644 index 9a4c14a..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyContact/emergencyContact.vue +++ /dev/null @@ -1,76 +0,0 @@ - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyExperts/emergencyExperts.data.ts b/src/views/interveneNew/cardiovascular/aidLinkage/emergencyExperts/emergencyExperts.data.ts deleted file mode 100644 index a69c63a..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyExperts/emergencyExperts.data.ts +++ /dev/null @@ -1,107 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getPublicC } from '/@/views/interveneNew/cardiovascular/aidLinkage/components/publiComponent'; -import { render } from '/@/utils/common/renderUtils'; -import { listApi } from '/@/views/interveneNew/cardiovascular/aidLinkage/hospitalInformation/hospitalInformation.api'; - -export const columns: BasicColumn[] = [ - { - title: '签约单位', - dataIndex: 'orgCodeName', - width: 130, - }, - { - title: '专家姓名', - dataIndex: 'doctorName', - width: 130, - }, - { - title: '所在医院', - dataIndex: 'hospitalName', - width: 130, - }, - { - title: '是否签约入库专家', - dataIndex: 'signStatus', - customRender: ({ text }) => { - return text === 0 ? '是' : '否'; - }, - width: 90, - }, - { - title: '专长', - dataIndex: 'speciality', - customRender: ({ text }) => { - return render.renderDict(text, 'doctor_speciality'); - }, - width: 130, - }, - { - title: '科室', - dataIndex: 'office', - width: 130, - }, - { - title: '职务职称', - dataIndex: 'doctorPost', - customRender: ({ text }) => { - return render.renderDict(text, 'z_doct_lev'); - }, - width: 130, - }, - { - title: '联系电话', - dataIndex: 'phone', - width: 130, - }, - { - title: '自动关联应急资源数量', - children: getPublicC('急救专家', 'orgCode'), - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '专家姓名', - field: 'doctorName', - component: 'Input', - }, - { - label: '所在医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: () => { - return { - api: listApi, - resultField: 'records', - labelField: 'hospitalName', - valueField: 'id', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '是否签约入库', - field: 'signStatus', - component: 'Select', - componentProps: { - options: [ - { - label: '是', - value: '0', - }, - { - label: '否', - value: '1', - }, - ], - }, - }, - { - label: '科室', - field: 'office', - component: 'Input', - }, -]; diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyExperts/emergencyExpertsLists.vue b/src/views/interveneNew/cardiovascular/aidLinkage/emergencyExperts/emergencyExpertsLists.vue deleted file mode 100644 index a6f2ce9..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyExperts/emergencyExpertsLists.vue +++ /dev/null @@ -1,123 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyPhysician/components/PhysicianDrawer.vue b/src/views/interveneNew/cardiovascular/aidLinkage/emergencyPhysician/components/PhysicianDrawer.vue deleted file mode 100644 index 352098a..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyPhysician/components/PhysicianDrawer.vue +++ /dev/null @@ -1,95 +0,0 @@ - - - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyPhysician/emergenHook.ts b/src/views/interveneNew/cardiovascular/aidLinkage/emergencyPhysician/emergenHook.ts deleted file mode 100644 index 3ef73dd..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyPhysician/emergenHook.ts +++ /dev/null @@ -1,32 +0,0 @@ -function isValidIdCard(idCard) { - // 身份证号码为15位或者18位,15位全为数字,18位前17位为数字,最后一位是校验位,可以为数字或字符X - const reg = /^[1-9]\d{5}(19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[\d|X|x]$/; - return reg.test(idCard); -} -export function extractGenderAndAge(idCardNumber) { - // 验证身份证号码长度 - let params = { error: false }; - if (idCardNumber.length !== 18) { - params = { error: false }; - } else if (!isValidIdCard(idCardNumber)) { - params = { error: false }; - } else { - // 提取性别码 - const genderCode = idCardNumber.substring(16, 17); - const gender = genderCode % 2 === 0 ? '女' : '男'; - // 提取出生年份 - const birthYear = idCardNumber.substring(6, 10); - // 获取当前年份 - const currentYear = new Date().getFullYear(); - // 计算年龄 - const age = currentYear - parseInt(birthYear, 10); - - // @ts-ignore - params = { - gender:gender, - age: age, - error: true, - }; - } - return params; -} diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyPhysician/emergencyPhysician.api.ts b/src/views/interveneNew/cardiovascular/aidLinkage/emergencyPhysician/emergencyPhysician.api.ts deleted file mode 100644 index 556e176..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyPhysician/emergencyPhysician.api.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); - -enum Api { - list = '/health-intervene/angiocarpy/linkage/doctor/list', - deleteBatch = '/health-intervene/angiocarpy/linkage/doctor/deleteBatch', - addOrUpdate = '/health-intervene/angiocarpy/linkage/doctor/addOrUpdate', - exportXls = '/health-intervene/angiocarpy/linkage/doctor/exportXls', -} -export const getExportUrl = Api.exportXls; -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const addOrUpdate = (params: any) => defHttp.post({ url: Api.addOrUpdate, params: params }); -export const deleteBatch = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyPhysician/emergencyPhysician.data.ts b/src/views/interveneNew/cardiovascular/aidLinkage/emergencyPhysician/emergencyPhysician.data.ts deleted file mode 100644 index bab523d..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyPhysician/emergencyPhysician.data.ts +++ /dev/null @@ -1,306 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getPublicC } from '/@/views/interveneNew/cardiovascular/aidLinkage/components/publiComponent'; -import { rules } from '/@/utils/helper/validator'; -import { render } from '/@/utils/common/renderUtils'; -import { listApi } from '/@/views/interveneNew/cardiovascular/aidLinkage/hospitalInformation/hospitalInformation.api'; -import { message } from 'ant-design-vue'; -import { allSecondaryDepartsNew } from '/@/utils/orgSearchInfo'; -import { getIDCardRegExp } from '/@/utils'; -import { extractGenderAndAge } from '/@/views/interveneNew/cardiovascular/aidLinkage/emergencyPhysician/emergenHook'; - -export const columns: BasicColumn[] = [ - { - title: '整理单位', - dataIndex: 'orgCodeName', - width: 130, - }, - { - title: '医生姓名', - dataIndex: 'doctorName', - width: 130, - }, - { - title: '所在医院', - dataIndex: 'hospitalName', - width: 130, - }, - { - title: '是否签约入库专家', - dataIndex: 'signStatus', - customRender: ({ text }) => { - return text === 0 ? '是' : '否'; - }, - width: 90, - }, - { - title: '专长', - dataIndex: 'speciality', - customRender: ({ text }) => { - return render.renderDict(text, 'doctor_speciality'); - }, - width: 130, - }, - { - title: '科室', - dataIndex: 'office', - width: 150, - }, - { - title: '职务职称', - dataIndex: 'doctorPost', - customRender: ({ text }) => { - return render.renderDict(text, 'z_doct_lev'); - }, - width: 150, - }, - { - title: '联系电话', - dataIndex: 'phone', - width: 150, - }, - { - title: '自动关联应急资源数量', - children: getPublicC('急救医生', 'orgCode'), - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '医生姓名', - field: 'doctorName', - component: 'Input', - }, - { - label: '所在医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: () => { - return { - api: listApi, - resultField: 'records', - labelField: 'hospitalName', - valueField: 'id', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '是否签约入库', - field: 'signStatus', - component: 'Select', - componentProps: { - options: [ - { - label: '是', - value: '0', - }, - { - label: '否', - value: '1', - }, - ], - }, - }, - { - label: '科室', - field: 'office', - component: 'Input', - }, -]; -export const formSchema: FormSchema[] = [ - { - field: 'id', - label: '主键', - component: 'Input', - show: false, - }, - { - label: '单位名称', - field: 'orgCode', - component: 'ApiSelect', - required: true, - componentProps: () => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - field: 'hospitalId', - label: '医院', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: listApi, - params: { - orgCode: formModel.orgCode || '3434', - }, - resultField: 'records', - labelField: 'hospitalName', - valueField: 'id', - onFocus: () => { - if (!formModel.orgCode) { - return message.warn('请先选择单位名称!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - field: 'doctorName', - label: '医生姓名', - component: 'Input', - required: true, - }, - { - field: 'doctorCardNo', - label: '身份证', - component: 'Input', - componentProps: ({ formModel }) => { - return { - onChange: (val) => { - if (val) { - const data = extractGenderAndAge(val.target.value); - formModel.userInfo = !data.error ? undefined : data; - } - }, - }; - }, - rules: [ - { - required: true, - message: '请输入身份证', - }, - { - pattern: getIDCardRegExp(), - message: '${label}格式有误', - }, - ], - }, - { - field: 'userInfo', - label: '', - component: 'Input', - slot: 'userInfo', - ifShow: ({ values }) => values.userInfo !== undefined, - }, - { - field: 'office', - label: '科室', - component: 'Input', - required: true, - }, - { - field: 'doctorPost', - label: '职务职称', - component: 'JDictSelectTag', - required: true, - componentProps: { - dictCode: 'z_doct_lev', - }, - }, - { - field: 'speciality', - label: '专长', - component: 'Select', - required: true, - componentProps: { - options: [ - { - label: '心梗', - value: '1', - }, - { - label: '猝死', - value: '2', - }, - { - label: '脑出血', - value: '3', - }, - ], - }, - }, - { - field: 'education', - label: '学历', - component: 'Select', - componentProps: { - options: [ - { - label: '本科及以上', - value: '1', - }, - { - label: '高中、大专', - value: '2', - }, - { - label: '中专', - value: '3', - }, - { - label: '无学历', - value: '4', - }, - ], - }, - required: true, - }, - { - field: 'phone', - label: '联系电话', - component: 'Input', - required: true, - rules: rules.phone(true), - }, - { - field: 'signStatus', - label: '是否签约入库', - component: 'JDictSelectTag', - defaultValue: 0, - componentProps: () => ({ - type: 'radio', - options: [ - { - label: '是', - value: 0, - }, - { - label: '否', - value: 1, - }, - ], - }), - required: true, - }, - { - field: 'doctorImage', - label: '医生照片', - component: 'JImageUpload', - componentProps: () => { - return { - maxCount: 1, - accept: '.png,.jpg', - tipText: '支持.png,.jpg', - }; - }, - }, -]; diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyPhysician/emergencyPhysicianLists.vue b/src/views/interveneNew/cardiovascular/aidLinkage/emergencyPhysician/emergencyPhysicianLists.vue deleted file mode 100644 index 74bd390..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/emergencyPhysician/emergencyPhysicianLists.vue +++ /dev/null @@ -1,121 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/firstAidKit/components/firstAidKitDrawer.vue b/src/views/interveneNew/cardiovascular/aidLinkage/firstAidKit/components/firstAidKitDrawer.vue deleted file mode 100644 index a2f04d7..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/firstAidKit/components/firstAidKitDrawer.vue +++ /dev/null @@ -1,148 +0,0 @@ - - - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/firstAidKit/components/previewPdfDrawer.vue b/src/views/interveneNew/cardiovascular/aidLinkage/firstAidKit/components/previewPdfDrawer.vue deleted file mode 100644 index d990a5c..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/firstAidKit/components/previewPdfDrawer.vue +++ /dev/null @@ -1,18 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/firstAidKit/firstAidKit.api.ts b/src/views/interveneNew/cardiovascular/aidLinkage/firstAidKit/firstAidKit.api.ts deleted file mode 100644 index 3cfd19c..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/firstAidKit/firstAidKit.api.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); - -enum Api { - list = '/health-intervene/angiocarpy/linkage/emergency/list', - deleteBatch = '/health-intervene/angiocarpy/linkage/emergency/deleteBatch', - add = '/health-intervene/angiocarpy/linkage/emergency/addOrUpdate', - edit = '/health-intervene/angiocarpy/linkage/emergency/edit', - export = '/health-intervene/angiocarpy/linkage/emergency/exportXls', - import = '/health-intervene/diabetes/monitoring/important-user', -} -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const exportExcel = Api.export; -export const deleteOne = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -export const deleteBatch = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -export const saveOrUpdate = (params: any, isUpdate: boolean) => { - if (isUpdate) { - return defHttp.put({ url: Api.edit, params }); - } else { - return defHttp.post({ url: Api.add, params }); - } -}; diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/firstAidKit/firstAidKit.data.ts b/src/views/interveneNew/cardiovascular/aidLinkage/firstAidKit/firstAidKit.data.ts deleted file mode 100644 index 6d4dc56..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/firstAidKit/firstAidKit.data.ts +++ /dev/null @@ -1,279 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { allSecondaryDepartsNew, getThirdDepartsNew } from '/@/utils/orgSearchInfo'; -import { rules } from '/@/utils/helper/validator'; -import { message } from 'ant-design-vue'; -import { getPublicC } from '/@/views/interveneNew/cardiovascular/aidLinkage/components/publiComponent'; -import { getStatus, statusOption } from '/@/views/interveneNew/cardiovascular/aidLinkage/common/commonUtils'; - -export const columns: BasicColumn[] = [ - { - title: '所属单位', - width: 180, - dataIndex: 'orgCodeName', - fixed: 'left', - }, - { - title: '设备名称', - width: 180, - dataIndex: 'kitName', - }, - { - title: '设备编号', - width: 100, - dataIndex: 'kitNo', - }, - { - title: '布放位置', - width: 110, - dataIndex: 'position', - }, - { - title: '状态', - dataIndex: 'status', - width: 80, - customRender: ({ text }) => { - return getStatus(text); - }, - }, - { - title: '内配用品', - width: 100, - dataIndex: 'kitComprise', - }, - { - title: '布放日期', - width: 170, - dataIndex: 'installTime', - }, - { - title: '管理人', - width: 100, - dataIndex: 'manager', - }, - { - title: '管理人电话', - width: 140, - dataIndex: 'managerPhone', - }, - { - title: '自动关联应急资源数量', - dataIndex: 'tj', - children: [...getPublicC('急救包', 'orgCode')], - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '设备编号', - field: 'kitNo', - component: 'Input', - }, - { - label: '单位名称', - field: 'orgCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.trim().toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, -]; - -export const formSchema: FormSchema[] = [ - { - field: 'id', - label: '主键', - component: 'Input', - show: false, - }, - { - field: 'orgCode', - label: '所属单位', - component: 'ApiSelect', - componentProps: () => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择所属单位', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - required: true, - }, - { - field: 'kitName', - label: '设备名称', - component: 'Input', - componentProps: ({ formModel }) => { - return { - disabled: formModel.id, - }; - }, - required: true, - }, - { - field: 'kitNo', - label: '设备编号', - component: 'Input', - required: true, - }, - { - field: 'kitImage', - label: '资源照片', - component: 'JImageUpload', - componentProps: () => { - return { - maxCount: 1, - accept: '.png,.jpg', - tipText: '支持.png,.jpg', - }; - }, - }, - { - field: 'kitComprise', - label: '内配用品', - component: 'JUpload', - required: true, - componentProps: () => { - return { - tipText: '仅支持PDF格式文件', - maxCount: 1, - accept: 'application/pdf', - }; - }, - }, - { - field: 'manageDeptCode', - label: '管理部门', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNew, - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择部门', - showSearch: true, - params: { - idOrCode: formModel['orgCode'] || 'xasd', - }, - onFocus: () => { - if (!formModel['orgCode']) { - return message.warn('请先选择所属单位!'); - } - }, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onDeselect: () => { - formModel['orgCode'] = ''; - }, - }; - }, - required: true, - }, - { - field: 'manager', - label: '管理人', - component: 'Input', - required: true, - }, - { - field: 'managerPhone', - label: '管理人电话', - component: 'Input', - required: true, - rules: rules.phone(true), - }, - { - field: 'slotPlace', - label: '', - component: 'Input', - slot: 'slotPlace', - }, - { - field: 'address', - label: '详细地址', - component: 'Input', - slot: 'address', - }, - { - label: '地址', - field: 'customAddress', - component: 'Input', - slot: 'customAddress', - rules: [{ required: true }], - ifShow: false, - }, - { - label: '经度', - field: 'longitude', - component: 'InputNumber', - ifShow: false, - }, - { - label: '纬度', - field: 'latitude', - component: 'InputNumber', - ifShow: false, - }, - { - label: '布放日期', - field: 'installTime', - component: 'DatePicker', - required: true, - componentProps: { - showTime: false, - valueFormat: 'YYYY-MM-DD', - }, - }, - { - field: 'installManager', - label: '责任人', - component: 'Input', - required: true, - }, - { - field: 'installManagerPhone', - label: '责任人电话', - component: 'Input', - required: true, - rules: rules.phone(true), - }, - { - field: 'status', - label: '状态', - component: 'JDictSelectTag', - defaultValue: '0', - componentProps: () => ({ - type: 'radio', - options: [ - { - label: '正常', - value: '0', - }, - { - label: '维护中(维护中的急救包将不会在移动端显示)', - value: '1', - }, - ], - }), - required: true, - }, -]; diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/firstAidKit/firstAidKit.vue b/src/views/interveneNew/cardiovascular/aidLinkage/firstAidKit/firstAidKit.vue deleted file mode 100644 index 22bd234..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/firstAidKit/firstAidKit.vue +++ /dev/null @@ -1,153 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/hospitalInformation/components/HospitalDrawer.vue b/src/views/interveneNew/cardiovascular/aidLinkage/hospitalInformation/components/HospitalDrawer.vue deleted file mode 100644 index 4d2358a..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/hospitalInformation/components/HospitalDrawer.vue +++ /dev/null @@ -1,112 +0,0 @@ - - - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/hospitalInformation/hospitalInformation.api.ts b/src/views/interveneNew/cardiovascular/aidLinkage/hospitalInformation/hospitalInformation.api.ts deleted file mode 100644 index 2e0408d..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/hospitalInformation/hospitalInformation.api.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); - -enum Api { - list = '/health-intervene/angiocarpy/linkage/hospital/list', - deleteBatch = '/health-intervene/angiocarpy/linkage/hospital/deleteBatch', - addOrUpdate = '/health-intervene/angiocarpy/linkage/hospital/addOrUpdate', - queryByID = '/health-intervene/angiocarpy/linkage/hospital', - exportXls = '/health-intervene/angiocarpy/linkage/hospital/exportXls', -} -export const getExportUrl = Api.exportXls; -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const addOrUpdate = (params: any) => defHttp.post({ url: Api.addOrUpdate, params: params }); -export const queryByID = (params: any) => defHttp.get({ url: Api.queryByID, params: params }); -export const deleteBatch = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/hospitalInformation/hospitalInformation.data.ts b/src/views/interveneNew/cardiovascular/aidLinkage/hospitalInformation/hospitalInformation.data.ts deleted file mode 100644 index 4ede028..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/hospitalInformation/hospitalInformation.data.ts +++ /dev/null @@ -1,210 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getPublicC } from '/@/views/interveneNew/cardiovascular/aidLinkage/components/publiComponent'; -import { rules } from '/@/utils/helper/validator'; -import { render } from '/@/utils/common/renderUtils'; -import { allSecondaryDepartsNew } from '/@/utils/orgSearchInfo'; -export const columns: BasicColumn[] = [ - { - title: '整理单位', - width: 180, - dataIndex: 'orgCodeName', - }, - { - title: '医院名称', - width: 150, - dataIndex: 'hospitalName', - }, - { - title: '医院级别', - dataIndex: 'hospitalLevel', - width: 100, - customRender: ({ text }) => { - return render.renderDict(text, 'hospital_level'); - }, - }, - { - title: '是否住点', - width: 80, - dataIndex: 'isPoint', - customRender: ({ text }) => { - return text === 0 ? '是' : '否'; - }, - }, - { - title: '地理位置', - dataIndex: 'address', - width: 110, - }, - { - title: '急救电话', - dataIndex: 'emergencyPhone', - width: 100, - }, - { - title: '综合急救能力', - dataIndex: 'emergencyAbility', - width: 110, - }, - { - title: '心梗急救', - children: [ - { - title: '能力', - dataIndex: 'heartAttackAbility', - width: 90, - }, - { - title: '医生', - dataIndex: 'heartAttackDoctor', - width: 90, - }, - ], - }, - { - title: '猝死急救', - children: [ - { - title: '能力', - dataIndex: 'suddenDeathAbility', - width: 90, - }, - { - title: '医生', - dataIndex: 'suddenDeathDoctor', - width: 90, - }, - ], - }, - { - title: '脑梗/脑出血急救', - children: [ - { - title: '能力', - dataIndex: 'cerebralApoplexyAbility', - width: 90, - }, - { - title: '医生', - dataIndex: 'cerebralApoplexyDoctor', - width: 90, - }, - ], - }, - { - title: '自动关联应急资源数量', - children: getPublicC('医院', 'orgCode'), - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '医院名称', - field: 'hospitalName', - component: 'Input', - }, - { - label: '医院级别', - field: 'hospitalLevel', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'hospital_level', - showSearch: true, - }, - }, -]; -export const formSchema: FormSchema[] = [ - { - field: 'id', - label: '主键', - component: 'Input', - show: false, - }, - { - label: '整理单位', - field: 'orgCode', - component: 'ApiSelect', - required: true, - componentProps: () => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - field: 'hospitalName', - label: '医院名称', - component: 'Input', - required: true, - }, - { - field: 'hospitalLevel', - label: '医院级别', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'hospital_level', - showSearch: true, - }, - required: true, - }, - { - field: 'hospitalImage', - label: '资源照片', - component: 'JImageUpload', - componentProps: () => { - return { - maxCount: 1, - accept: '.png,.jpg', - tipText: '支持.png,.jpg', - }; - }, - }, - { - field: 'emergencyPhone', - label: '急诊电话', - component: 'Input', - required: true, - rules: [ - { pattern: /^(0\d{2,3}-\d{7,8})$|^(0\d{2,3}\d{7,8})|^(\(\d{3,4}\)-\d{7,8})$|^(\(\d{3,4}\)\d{7,8})$|^1[3456789]\d{9}$/, message: '手机号码或座机号码格式有误', trigger: 'blur' }, - ], - }, - { - field: 'address', - label: '医院地址', - required: true, - component: 'Input', - slot: 'address', - }, - { - label: '经度', - field: 'geoPoint', - component: 'InputNumber', - show: false, - }, - { - field: 'isPoint', - label: '是否驻点', - component: 'JDictSelectTag', - defaultValue: 0, - componentProps: () => ({ - type: 'radio', - options: [ - { - label: '是', - value: 0, - }, - { - label: '否', - value: 1, - }, - ], - }), - required: true, - }, -]; diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/hospitalInformation/hospitalInformationLists.vue b/src/views/interveneNew/cardiovascular/aidLinkage/hospitalInformation/hospitalInformationLists.vue deleted file mode 100644 index ec2198e..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/hospitalInformation/hospitalInformationLists.vue +++ /dev/null @@ -1,140 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/medicalCenterInfo/components/medicalCenterInfoDrawer.vue b/src/views/interveneNew/cardiovascular/aidLinkage/medicalCenterInfo/components/medicalCenterInfoDrawer.vue deleted file mode 100644 index 7f93e17..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/medicalCenterInfo/components/medicalCenterInfoDrawer.vue +++ /dev/null @@ -1,97 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/medicalCenterInfo/medicalCenterInfo.api.ts b/src/views/interveneNew/cardiovascular/aidLinkage/medicalCenterInfo/medicalCenterInfo.api.ts deleted file mode 100644 index 4429543..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/medicalCenterInfo/medicalCenterInfo.api.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/angiocarpy/linkage/base/medical-point/page', - export = '/health-intervene/angiocarpy/linkage/base/medical-point/export', -} -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const exportExcel = Api.export; diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/medicalCenterInfo/medicalCenterInfo.data.ts b/src/views/interveneNew/cardiovascular/aidLinkage/medicalCenterInfo/medicalCenterInfo.data.ts deleted file mode 100644 index 4a5a57a..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/medicalCenterInfo/medicalCenterInfo.data.ts +++ /dev/null @@ -1,128 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { allSecondaryDepartsNew } from '/@/utils/orgSearchInfo'; -import { getPublicC } from '/@/views/interveneNew/cardiovascular/aidLinkage/components/publiComponent'; -export const columns: BasicColumn[] = [ - { - title: '所属单位', - dataIndex: 'departName', - width: 170, - }, - { - title: '医疗点名称', - dataIndex: 'name', - width: 170, - }, - { - title: '合作医院', - dataIndex: 'hospitalName', - width: 140, - }, - { - title: '医护人数', - dataIndex: 'medicalStaffNum', - width: 90, - }, - { - title: '地理位置', - dataIndex: 'position', - width: 106, - }, - { - title: '综合急救能力', - dataIndex: 'ability', - width: 116, - }, - { - title: '辐射人数', - width: 90, - dataIndex: 'radiationNum', - }, - { - title: '负责人', - dataIndex: 'adminUser', - width: 90, - }, - { - title: '联系电话', - dataIndex: 'mobile', - width: 120, - }, - { - title: '自动关联应急资源数量', - dataIndex: 'tj', - children: [...getPublicC('医疗点', 'departCode')], - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'name', - label: '医疗点名称', - component: 'Input', - }, - { - label: '单位名称', - field: 'orgCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.trim().toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, -]; -export const formSchema: FormSchema[] = [ - { - field: 'name', - label: '医疗点名称', - component: 'Input', - }, - { - field: 'departName', - label: '所属单位', - component: 'Input', - }, - { - field: 'hospitalName', - label: '合作医院', - component: 'Input', - }, - { - field: 'medicalStaffNum', - label: '医护人员', - component: 'Input', - }, - { - field: 'address', - label: '地理位置', - component: 'InputTextArea', - }, - { - field: 'ability', - label: '综合急救能力', - component: 'Input', - }, - { - field: 'radiationNum', - label: '辐射人数', - component: 'Input', - }, - { - field: 'adminUser', - label: '负责人', - component: 'Input', - }, - { - field: 'mobile', - label: '联系电话', - component: 'Input', - }, -]; diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/medicalCenterInfo/medicalCenterInfo.vue b/src/views/interveneNew/cardiovascular/aidLinkage/medicalCenterInfo/medicalCenterInfo.vue deleted file mode 100644 index 67461f3..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/medicalCenterInfo/medicalCenterInfo.vue +++ /dev/null @@ -1,100 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/personnelManagement/components/personnelManageDrawer.vue b/src/views/interveneNew/cardiovascular/aidLinkage/personnelManagement/components/personnelManageDrawer.vue deleted file mode 100644 index 4ae016c..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/personnelManagement/components/personnelManageDrawer.vue +++ /dev/null @@ -1,75 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/personnelManagement/personnelManageMent.api.ts b/src/views/interveneNew/cardiovascular/aidLinkage/personnelManagement/personnelManageMent.api.ts deleted file mode 100644 index 20e2177..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/personnelManagement/personnelManageMent.api.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -enum Api { - list = '/health-intervene/angiocarpy/linkage/center-user/list', - addOrUpdate = '/health-intervene/angiocarpy/linkage/center-user/addOrUpdate', - hospitalList = '/health-intervene/angiocarpy/linkage/hospital/list', - deleteUser = '/health-intervene/angiocarpy/linkage/center-user/deleteBatch', - exportXls = '/health-intervene/angiocarpy/linkage/center-user/exportXls', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -// 应急中心人员管理列表 -export const listApi = (params) => defHttp.get({ url: Api.list, params }); - -// 医院列表 -export const hospitalList = (params) => defHttp.get({ url: Api.hospitalList, params }); -//新增或者编辑 -export const addOrUpdateApi = (params: any) => defHttp.post({ url: Api.addOrUpdate, params }); - -export const deleteUserApi = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteUser, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/personnelManagement/personnelManagement.data.ts b/src/views/interveneNew/cardiovascular/aidLinkage/personnelManagement/personnelManagement.data.ts deleted file mode 100644 index 1aa669e..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/personnelManagement/personnelManagement.data.ts +++ /dev/null @@ -1,139 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { hospitalList } from '/@/views/interveneNew/cardiovascular/aidLinkage/personnelManagement/personnelManageMent.api'; -import { getIDCardRegExp } from '/@/utils'; -import { extractGenderAndAge } from '/@/views/interveneNew/cardiovascular/aidLinkage/emergencyPhysician/emergenHook'; -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'realName', - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - customRender: ({ text }) => { - if (text == 1) { - return '男'; - } else { - return '女'; - } - }, - }, - { - title: '岗位', - align: 'center', - dataIndex: 'userPost', - }, - { - title: '联系电话', - align: 'center', - dataIndex: 'phone', - }, - { - title: '驻点医院', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '医院位置', - align: 'center', - dataIndex: 'hospitalAddress', - }, -]; - -export const searchSchema: FormSchema[] = [ - { - label: '姓名', - field: 'userName', - component: 'Input', - }, -]; - -export const formSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realName', - component: 'Input', - required: true, - }, - { - label: '照片', - field: 'userImage', - component: 'JImageUpload', - componentProps: { - maxCount: 1, - }, - // required: true, - }, - { - label: '身份证', - field: 'cardNo', - component: 'Input', - componentProps: ({ formModel }) => { - return { - onChange: (val) => { - if (val) { - const data = extractGenderAndAge(val.target.value); - formModel.userInfo = !data.error ? undefined : data; - } - }, - }; - }, - rules: [ - { - required: true, - message: '请输入身份证', - }, - { - pattern: getIDCardRegExp(), - message: '${label}格式有误', - }, - ], - }, - { - field: 'userInfo', - label: '', - component: 'Input', - slot: 'userInfo', - }, - { - label: '岗位', - field: 'userPost', - component: 'Input', - required: true, - }, - { - label: '联系电话', - field: 'phone', - component: 'Input', - rules: [ - { - required: true, - }, - { - pattern: /^1[3456789][0-9]{9}$/, - message: '${label}格式有误', - }, - ], - }, - { - label: '驻点医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: () => { - return { - api: hospitalList, - resultField: 'records', - labelField: 'hospitalName', - valueField: 'id', - }; - }, - required: true, - }, -]; diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/personnelManagement/personnelManagement.vue b/src/views/interveneNew/cardiovascular/aidLinkage/personnelManagement/personnelManagement.vue deleted file mode 100644 index 08fd8b6..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/personnelManagement/personnelManagement.vue +++ /dev/null @@ -1,106 +0,0 @@ - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/simulation/components/historyList.vue b/src/views/interveneNew/cardiovascular/aidLinkage/simulation/components/historyList.vue deleted file mode 100644 index 1e4c5cf..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/simulation/components/historyList.vue +++ /dev/null @@ -1,72 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/simulation/components/simulationModal.vue b/src/views/interveneNew/cardiovascular/aidLinkage/simulation/components/simulationModal.vue deleted file mode 100644 index 3c014af..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/simulation/components/simulationModal.vue +++ /dev/null @@ -1,568 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/simulation/simulation.api.ts b/src/views/interveneNew/cardiovascular/aidLinkage/simulation/simulation.api.ts deleted file mode 100644 index 17ad80e..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/simulation/simulation.api.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/angiocarpy/linkage/base/calculate/page', - nearbyResource = '/health-intervene/angiocarpy/linkage/base/nearby-resource', - prompt = '/health-intervene/angiocarpy/linkage/base/calculate/prompt', - exportUrl = '/health-intervene/angiocarpy/linkage/base/calculate/export', -} - -export const getExportUrl = Api.exportUrl; -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const nearbyResourceApi = (params: any) => defHttp.post({ url: Api.nearbyResource, params: params }); -export const promptApi = (params: any) => defHttp.post({ url: Api.prompt, params: params }); diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/simulation/simulation.data.ts b/src/views/interveneNew/cardiovascular/aidLinkage/simulation/simulation.data.ts deleted file mode 100644 index 44fc13f..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/simulation/simulation.data.ts +++ /dev/null @@ -1,131 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { orgSearchInfo } from '/@/utils/orgSearchInfo'; - -export const getColumns = (f) => { - return [ - { - title: '单位名称', - dataIndex: 'unitName', - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'deptName', - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'userName', - fixed: 'left', - }, - { - title: '员工工号', - dataIndex: 'workNo', - fixed: 'left', - }, - { - title: '性别', - dataIndex: 'sex', - width: 70, - }, - { - title: '年龄', - dataIndex: 'age', - width: 70, - }, - { - title: '穿戴预警历史', - width: 70, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ record }) => { - return h('span', { style: { color: '#1890ff', cursor: 'pointer' }, onClick: () => f(record.workNo) }, '查看'); - }, - dataIndex: '', - }, - { - title: '监测端触发求助次数', - width: 90, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: 'facilitySosCount', - }, - { - title: '人工端点击次数', - children: [ - { - title: '心梗', - dataIndex: 'qmiSosCount', - }, - { - title: '猝死', - dataIndex: 'scdSosCount', - }, - { - title: '脑出血/脑梗', - dataIndex: 'aciSosCount', - }, - ], - }, - { - title: '急救提示书下发次数', - width: 90, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - dataIndex: 'reminderCount', - }, - ] as BasicColumn[]; -}; - -export const schemas: FormSchema[] = [ - { - label: '员工姓名', - field: 'name', - component: 'Input', - }, - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, - ...orgSearchInfo({ orgName: '所属单位', deptName: '所属部门', orgField: 'orgCode', deptFiled: 'deptCode', orgCode: 'orgCode1' }), -]; - -export const searchListInfo: FormSchema[] = [ - { - label: '事件类型', - field: 'eventType', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'watch_event_type', - }; - }, - }, - { - label: '报警日期', - field: 'warnDate', - component: 'RangeDate', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - }; - }, - }, -]; diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/simulation/simulationList.vue b/src/views/interveneNew/cardiovascular/aidLinkage/simulation/simulationList.vue deleted file mode 100644 index 924712f..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/simulation/simulationList.vue +++ /dev/null @@ -1,83 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/wearingInformation/wearingInformation.api.ts b/src/views/interveneNew/cardiovascular/aidLinkage/wearingInformation/wearingInformation.api.ts deleted file mode 100644 index 484dfe7..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/wearingInformation/wearingInformation.api.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/angiocarpy/linkage/base/watch/page', -} -// 应急中心人员管理列表 -export const listApi = (params) => defHttp.get({ url: Api.list, params }); diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/wearingInformation/wearingInformation.data.ts b/src/views/interveneNew/cardiovascular/aidLinkage/wearingInformation/wearingInformation.data.ts deleted file mode 100644 index 92a89a7..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/wearingInformation/wearingInformation.data.ts +++ /dev/null @@ -1,117 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { getPublicC } from '/@/views/interveneNew/cardiovascular/aidLinkage/components/publiComponent'; -import { allSecondaryDepartsNew } from '/@/utils/system/api'; - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - align: 'center', - dataIndex: 'watchOrgName', - width: 150, - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'bindRealName', - width: 150, - fixed: 'left', - }, - { - title: '员工工号', - align: 'center', - dataIndex: 'workNo', - width: 150, - }, - // { - // title: '部门', - // align: 'center', - // dataIndex: 'departmentName', - // }, - { - title: '穿戴设备', - align: 'center', - dataIndex: 'watchName', - width: 150, - }, - { - title: '设备编号', - align: 'center', - dataIndex: 'watchNo', - width: 150, - }, - { - title: '绑定日期', - align: 'center', - dataIndex: 'bindDate', - width: 150, - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - width: 100, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - width: 100, - }, - { - title: '自动关联应急资源数量', - align: 'center', - children: getPublicC('穿戴', 'watchOrgCode'), - }, -]; - -export const searchSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'name', - component: 'Input', - }, - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, - { - label: '设备编号', - field: 'watchNo', - component: 'Input', - }, - { - label: '单位名称', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位名称', - // disabled: disabled, - immediate: true, - // afterFetch: () => { - // getAnyFromOther().r(); - // }, - onChange: (_value) => { - formModel.orgCode = ''; - }, - onDeselect: () => { - formModel.orgCode = ''; - }, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - // ...orgSearchInfoByCode('orgCode', 'deptCode', 'aCode'), -]; diff --git a/src/views/interveneNew/cardiovascular/aidLinkage/wearingInformation/wearingInformation.vue b/src/views/interveneNew/cardiovascular/aidLinkage/wearingInformation/wearingInformation.vue deleted file mode 100644 index 32ac3f1..0000000 --- a/src/views/interveneNew/cardiovascular/aidLinkage/wearingInformation/wearingInformation.vue +++ /dev/null @@ -1,48 +0,0 @@ - - diff --git a/src/views/interveneNew/cardiovascular/dynamicBalance/consume/Consume.api.ts b/src/views/interveneNew/cardiovascular/dynamicBalance/consume/Consume.api.ts deleted file mode 100644 index 5f22212..0000000 --- a/src/views/interveneNew/cardiovascular/dynamicBalance/consume/Consume.api.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-eating/v2/exercise/record', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params }); diff --git a/src/views/interveneNew/cardiovascular/dynamicBalance/consume/Consume.data.ts b/src/views/interveneNew/cardiovascular/dynamicBalance/consume/Consume.data.ts deleted file mode 100644 index f41889a..0000000 --- a/src/views/interveneNew/cardiovascular/dynamicBalance/consume/Consume.data.ts +++ /dev/null @@ -1,136 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { orgSearchInfo } from '/@/utils/orgSearchInfo'; -import { BODY_CONTAINER } from '/@/utils/domUtils'; - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - align: 'center', - dataIndex: 'unitName', - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - dataIndex: 'orgName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'realName', - fixed: 'left', - }, - { - title: '员工工号', - align: 'center', - dataIndex: 'workNo', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - customRender: ({ text }) => { - return render.renderDict(text, 'sex2'); - }, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, - { - title: '身高(cm)', - align: 'center', - dataIndex: 'height', - }, - { - title: '体重(kg)', - align: 'center', - dataIndex: 'weight', - }, - // { - // title: '体力活动', - // align: 'center', - // dataIndex: 'workStrength', - // }, - { - title: '运动日期', - align: 'center', - dataIndex: 'date', - }, - { - title: '基础代谢(千卡)', - align: 'center', - dataIndex: 'basalMetabolism', - }, - { - title: '走跑消耗(千卡)', - align: 'center', - dataIndex: 'walkRunCalorie', - }, - { - title: '健身消耗(千卡)', - align: 'center', - dataIndex: 'fitnessCalorie', - }, - { - title: '其他消耗(千卡)', - align: 'center', - dataIndex: 'otherCalorie', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, - ...orgSearchInfo({ - orgName: '单位名称', - orgField: 'orgCode', - deptName: '部门名称', - deptFiled: 'deptCode', - orgCode: 'otherCode', - }), - { - label: '运动日期', - field: 'date', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - valueType: 'Date', - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => BODY_CONTAINER, - 'onUpdate:value': (value) => { - if (value) { - formModel.startDate = value[0]; - formModel.endDate = value[1]; - } else { - formModel.startDate = null; - formModel.endDate = null; - } - }, - }; - }, - }, - { - label: '', - field: 'startDate', - component: 'Input', - show: false, - }, - { - label: '', - field: 'endDate', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/cardiovascular/dynamicBalance/consume/ConsumeList.vue b/src/views/interveneNew/cardiovascular/dynamicBalance/consume/ConsumeList.vue deleted file mode 100644 index 5399c7e..0000000 --- a/src/views/interveneNew/cardiovascular/dynamicBalance/consume/ConsumeList.vue +++ /dev/null @@ -1,34 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/dynamicBalance/eatingMoving/EatingMoving.api.ts b/src/views/interveneNew/cardiovascular/dynamicBalance/eatingMoving/EatingMoving.api.ts deleted file mode 100644 index 3afba83..0000000 --- a/src/views/interveneNew/cardiovascular/dynamicBalance/eatingMoving/EatingMoving.api.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-eating/v2/eating-exercise', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); diff --git a/src/views/interveneNew/cardiovascular/dynamicBalance/eatingMoving/EatingMoving.data.ts b/src/views/interveneNew/cardiovascular/dynamicBalance/eatingMoving/EatingMoving.data.ts deleted file mode 100644 index a47938f..0000000 --- a/src/views/interveneNew/cardiovascular/dynamicBalance/eatingMoving/EatingMoving.data.ts +++ /dev/null @@ -1,194 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { orgSearchInfo } from '/@/utils/orgSearchInfo'; -import { BODY_CONTAINER } from '/@/utils/domUtils'; - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - align: 'center', - dataIndex: 'secondDepartName', - fixed: 'left', - width: 120, - }, - { - title: '部门名称', - align: 'center', - dataIndex: 'thirdDepartName', - fixed: 'left', - width: 120, - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'realname', - fixed: 'left', - width: 120, - }, - { - title: '员工工号', - align: 'center', - dataIndex: 'workNo', - width: 120, - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - width: 80, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - width: 80, - }, - { - title: '身高(cm)', - align: 'center', - dataIndex: 'height', - width: 80, - customRender: ({ text }) => { - return text !== '' ? (text * 100).toFixed(1) : ''; - }, - }, - { - title: '体重(kg)', - align: 'center', - dataIndex: 'weight', - width: 80, - }, - { - title: '体力活动', - align: 'center', - dataIndex: 'workStrength', - width: 120, - }, - { - title: '日期', - align: 'center', - dataIndex: 'statisticsDay', - width: 120, - }, - { - title: '摄入(千卡)', - children: [ - { - title: '早餐', - align: 'center', - dataIndex: 'breakfastEnergy', - width: 100, - }, - { - title: '中餐', - align: 'center', - dataIndex: 'lunchEnergy', - width: 100, - }, - { - title: '晚餐', - align: 'center', - dataIndex: 'dinnerEnergy', - }, - { - title: '加餐', - align: 'center', - dataIndex: 'supperEnergy', - width: 100, - }, - ], - }, - { - title: '消耗(千卡)', - children: [ - { - title: '基础代谢(千卡)', - align: 'center', - dataIndex: 'basalMetabolism', - width: 120, - }, - { - title: '走跑消耗(千卡)', - align: 'center', - dataIndex: 'walkRunCalorie', - width: 120, - }, - { - title: '健身消耗(千卡)', - align: 'center', - dataIndex: 'fitnessCalorie', - width: 120, - }, - { - title: '其他消耗(千卡)', - align: 'center', - dataIndex: 'otherCalorie', - width: 120, - }, - ], - }, - { - title: '摄入消耗差', - align: 'center', - dataIndex: 'intakeCalorieGap', - width: 120, - customRender: ({ text }) => { - if (text) { - return h('span', { style: { color: text > 0 ? '#5ec964' : '#fe8802' } }, text > 0 ? '+' + text : text); - } - }, - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, - ...orgSearchInfo({ - orgName: '单位名称', - orgField: 'orgCode', - deptName: '部门名称', - deptFiled: 'deptCode', - orgCode: 'otherCode', - }), - { - label: '日期', - field: 'date', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - valueType: 'Date', - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => BODY_CONTAINER, - 'onUpdate:value': (value) => { - if (value) { - formModel.startDate = value[0]; - formModel.endDate = value[1]; - } else { - formModel.startDate = null; - formModel.endDate = null; - } - }, - }; - }, - }, - { - label: '', - field: 'startDate', - component: 'Input', - show: false, - }, - { - label: '', - field: 'endDate', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/cardiovascular/dynamicBalance/eatingMoving/EatingMovingList.vue b/src/views/interveneNew/cardiovascular/dynamicBalance/eatingMoving/EatingMovingList.vue deleted file mode 100644 index 9d7ef34..0000000 --- a/src/views/interveneNew/cardiovascular/dynamicBalance/eatingMoving/EatingMovingList.vue +++ /dev/null @@ -1,33 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/dynamicBalance/imitate/Imitate.api.ts b/src/views/interveneNew/cardiovascular/dynamicBalance/imitate/Imitate.api.ts deleted file mode 100644 index ceb65e6..0000000 --- a/src/views/interveneNew/cardiovascular/dynamicBalance/imitate/Imitate.api.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-eating/v2/practice-page', - simulate = '/health-intervene/health-eating/v2/simulate/batch', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params }); -export const simulateApi = (params: any) => defHttp.post({ url: Api.simulate, params }); diff --git a/src/views/interveneNew/cardiovascular/dynamicBalance/imitate/Imitate.data.ts b/src/views/interveneNew/cardiovascular/dynamicBalance/imitate/Imitate.data.ts deleted file mode 100644 index 7d4ebfc..0000000 --- a/src/views/interveneNew/cardiovascular/dynamicBalance/imitate/Imitate.data.ts +++ /dev/null @@ -1,556 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { BODY_CONTAINER } from '/@/utils/domUtils'; -import moment from 'moment'; -import { h } from 'vue'; -import { orgSearchInfo, orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -const listColor = [ - { - code: 1, - name: '低风险', - color: '#333333', - }, - { - code: 2, - name: '中风险', - color: '#f09900', - }, - { - code: 3, - name: '高风险', - color: '#ff1e10', - }, -]; -const firstDayOfMonth = moment().subtract(1, 'months').format('YYYY-MM-DD'); -const lastDayOfMonth = moment().format('YYYY-MM-DD'); -function renderText(text) { - if (text) { - const res = listColor.find((e) => e.code === text.code); - const riskValue = text.riskValue !== 0 ? text.riskValue.toFixed(2) : text.riskValue; - const con = res ? `${riskValue}(${text.grade})` : '-'; - return h('span', { style: { color: res ? res.color : '' } }, con); - } -} -export const getColumns = (startTime, endTime) => { - return [ - { - title: '单位名称', - align: 'center', - dataIndex: 'secondDepartName', - width: 100, - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - dataIndex: 'thirdDepartName', - width: 100, - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'realName', - width: 100, - fixed: 'left', - }, - { - title: '员工工号', - align: 'center', - dataIndex: 'workNo', - width: 100, - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - width: 80, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - width: 80, - }, - { - title: '身高\n(cm)', - align: 'center', - dataIndex: 'height', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '体重\n(kg)', - align: 'center', - dataIndex: 'weight', - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '体力活动', - align: 'center', - dataIndex: 'workStrength', - width: 100, - }, - { - title: ``, - dataIndex: 'startTime', - customHeaderRow: ({ columns, index }) => { - console.log(columns, index); - }, - children: [ - { - title: '摄入(千卡)', - children: [ - { - title: '早餐', - align: 'center', - dataIndex: ['beforeData', 'breakfastEnergy'], - width: 80, - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '中餐', - align: 'center', - dataIndex: ['beforeData', 'lunchEnergy'], - width: 80, - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '晚餐', - align: 'center', - dataIndex: ['beforeData', 'dinnerEnergy'], - width: 80, - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '加餐', - align: 'center', - dataIndex: ['beforeData', 'supperEnergy'], - width: 80, - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - ], - }, - { - title: '摄入(千卡)', - children: [ - { - title: '基础\n代谢', - align: 'center', - dataIndex: ['beforeData', 'basalMetabolism'], - width: 80, - rewriting: true, - rewroteCell: { - type: 'input', - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '走跑\n消耗', - align: 'center', - dataIndex: ['beforeData', 'walkRunCalorie'], - width: 80, - rewriting: true, - rewroteCell: { - type: 'input', - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '健身\n消耗', - align: 'center', - dataIndex: ['beforeData', 'fitnessCalorie'], - width: 80, - rewriting: true, - rewroteCell: { - type: 'input', - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '其他\n消耗', - align: 'center', - dataIndex: ['beforeData', 'otherCalorie'], - width: 80, - rewriting: true, - rewroteCell: { - type: 'input', - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - ], - }, - { - title: '摄入消耗差', - align: 'center', - dataIndex: ['simulateResult', 'startIntakeCalorieGap'], - width: 100, - customRender: ({ text }) => { - if (text) { - return h('span', { style: { color: text > 0 ? '#5ec964' : '#fe8802' } }, text > 0 ? '+' + text : text); - } - }, - }, - { - title: '建议消耗差', - align: 'center', - dataIndex: ['simulateResult', 'startConsumeSuggest'], - width: 100, - }, - ], - }, - { - title: ``, - dataIndex: 'endTime', - children: [ - { - title: '摄入(千卡)', - children: [ - { - title: '早餐', - align: 'center', - dataIndex: ['afterData', 'breakfastEnergy'], - width: 80, - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '中餐', - align: 'center', - dataIndex: ['afterData', 'lunchEnergy'], - width: 80, - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '晚餐', - align: 'center', - dataIndex: ['afterData', 'dinnerEnergy'], - width: 80, - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '加餐', - align: 'center', - dataIndex: ['afterData', 'supperEnergy'], - width: 80, - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - ], - }, - { - title: '摄入(千卡)', - children: [ - { - title: '基础\n代谢', - align: 'center', - dataIndex: ['afterData', 'basalMetabolism'], - width: 80, - rewriting: true, - rewroteCell: { - type: 'input', - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '走跑\n消耗', - align: 'center', - dataIndex: ['afterData', 'walkRunCalorie'], - width: 80, - rewriting: true, - rewroteCell: { - type: 'input', - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '健身\n消耗', - align: 'center', - dataIndex: ['afterData', 'fitnessCalorie'], - width: 80, - rewriting: true, - rewroteCell: { - type: 'input', - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '其他\n消耗', - align: 'center', - dataIndex: ['afterData', 'otherCalorie'], - width: 80, - rewriting: true, - rewroteCell: { - type: 'input', - }, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - ], - }, - { - title: '摄入消耗差', - align: 'center', - dataIndex: ['simulateResult', 'endIntakeCalorieGap'], - width: 100, - customRender: ({ text }) => { - if (text) { - return h('span', { style: { color: text > 0 ? '#5ec964' : '#fe8802' } }, text > 0 ? '+' + text : +text); - } - }, - }, - { - title: '建议消耗差', - align: 'center', - dataIndex: ['simulateResult', 'endConsumeSuggest'], - width: 100, - }, - ], - }, - { - title: '热量日差与血管健康预警', - children: [ - { - title: '血管硬化狭窄', - align: 'center', - dataIndex: ['simulateResult', 'eeIllnessRisk', 'vascularSclerosisRisk'], - width: 110, - customRender: ({ text }) => { - return renderText(text); - }, - }, - { - title: '血管斑块', - align: 'center', - dataIndex: ['simulateResult', 'eeIllnessRisk', 'vascularPlaqueRisk'], - width: 110, - customRender: ({ text }) => { - return renderText(text); - }, - }, - { - title: '高血脂', - align: 'center', - dataIndex: ['simulateResult', 'eeIllnessRisk', 'hyperlipidemiaRisk'], - width: 110, - customRender: ({ text }) => { - return renderText(text); - }, - }, - { - title: '高血压', - align: 'center', - dataIndex: ['simulateResult', 'eeIllnessRisk', 'hypertensionRisk'], - width: 110, - customRender: ({ text }) => { - return renderText(text); - }, - }, - { - title: '冠心病', - align: 'center', - dataIndex: ['simulateResult', 'eeIllnessRisk', 'chdRisk'], - width: 110, - customRender: ({ text }) => { - return renderText(text); - }, - }, - { - title: '糖尿病', - align: 'center', - dataIndex: ['simulateResult', 'eeIllnessRisk', 'diabetesRisk'], - width: 110, - customRender: ({ text }) => { - return renderText(text); - }, - }, - { - title: '肥胖病', - align: 'center', - dataIndex: ['simulateResult', 'eeIllnessRisk', 'obesityRisk'], - width: 110, - customRender: ({ text }) => { - return renderText(text); - }, - }, - ], - }, - ]; -}; -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, - ...orgSearchInfo({ - orgName: '单位名称', - orgField: 'orgCode', - deptName: '部门名称', - deptFiled: 'deptCode', - orgCode: 'otherCode', - }), - // { - // label: '日期', - // field: 'sportDate', - // component: 'RangePicker', - // defaultValue: [firstDayOfMonth, lastDayOfMonth], - // componentProps: ({ formModel }) => { - // return { - // valueType: 'Date', - // valueFormat: 'YYYY-MM-DD', - // getPopupContainer: () => BODY_CONTAINER, - // onChange: ([start, end]) => { - // formModel.startDate = start; - // formModel.endDate = end; - // }, - // }; - // }, - // }, - { - label: '', - field: 'sportDateStart', - component: 'Input', - show: false, - }, - { - label: '', - field: 'sportDateEnd', - component: 'Input', - show: false, - }, -]; -export const relationColumn: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'secondDepartName', - align: 'center', - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'thirdDepartName', - align: 'center', - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'realName', - align: 'center', - fixed: 'left', - }, - { - title: '员工工号', // 原来为工号 - dataIndex: 'workNo', - align: 'center', - }, - { - title: '性别', - dataIndex: 'sex', - align: 'center', - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - }, -]; -export const relationSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode', 'deptCode', 'orgCode2'), - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, -]; diff --git a/src/views/interveneNew/cardiovascular/dynamicBalance/imitate/ImitateList.vue b/src/views/interveneNew/cardiovascular/dynamicBalance/imitate/ImitateList.vue deleted file mode 100644 index b5f7b99..0000000 --- a/src/views/interveneNew/cardiovascular/dynamicBalance/imitate/ImitateList.vue +++ /dev/null @@ -1,183 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/dynamicBalance/imitate/components/Actual.vue b/src/views/interveneNew/cardiovascular/dynamicBalance/imitate/components/Actual.vue deleted file mode 100644 index f396163..0000000 --- a/src/views/interveneNew/cardiovascular/dynamicBalance/imitate/components/Actual.vue +++ /dev/null @@ -1,128 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/cardiovascular/dynamicBalance/imitate/components/ImitateShip.vue b/src/views/interveneNew/cardiovascular/dynamicBalance/imitate/components/ImitateShip.vue deleted file mode 100644 index a3b373c..0000000 --- a/src/views/interveneNew/cardiovascular/dynamicBalance/imitate/components/ImitateShip.vue +++ /dev/null @@ -1,519 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/cardiovascular/dynamicBalance/imitate/components/imitate.data.ts b/src/views/interveneNew/cardiovascular/dynamicBalance/imitate/components/imitate.data.ts deleted file mode 100644 index b7de166..0000000 --- a/src/views/interveneNew/cardiovascular/dynamicBalance/imitate/components/imitate.data.ts +++ /dev/null @@ -1,275 +0,0 @@ -import { FormSchema } from '/@/components/Form'; -import moment from 'moment'; -const firstDayOfMonth = moment().subtract(1, 'months').format('YYYY-MM-DD'); -const lastDayOfMonth = moment().format('YYYY-MM-DD'); -export const userList = [ - { - label: '单位名称', - value: 'secondDepartName', - width: '8%', - }, - { - label: '部门名称', - value: 'thirdDepartName', - width: '8%', - }, - { - label: '员工姓名', - value: 'realName', - width: '8%', - }, - { - label: '员工工号', - value: 'workNo', - width: '8%', - }, - { - label: '性别', - value: 'sex', - width: '8%', - }, - { - label: '年龄', - value: 'age', - width: '8%', - }, - { - label: '身高(cm)', - value: 'height', - width: '8%', - }, - { - label: '体重(kg)', - value: 'weight', - width: '8%', - }, - { - label: '体力活动', - value: 'workStrength', - width: '8%', - }, -]; -export const schemasLeft: FormSchema[] = [ - { - label: '选中日期', - field: 'startDate', - component: 'DatePicker', - dynamicDisabled: true, - defaultValue: firstDayOfMonth, - componentProps: { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - }, - }, - { - label: '', - field: 'tag1', - component: 'Input', - slot: 'tag1', - }, - { - label: '早餐', - field: 'breakfastEnergy', - component: 'JSlider', - componentProps: { - min: 0, - max: 5000, - unit: '千卡', - }, - }, - { - label: '中餐', - field: 'lunchEnergy', - component: 'JSlider', - componentProps: { - min: 0, - max: 5000, - unit: '千卡', - }, - }, - { - label: '晚餐', - field: 'dinnerEnergy', - component: 'JSlider', - componentProps: { - min: 0, - max: 5000, - unit: '千卡', - }, - }, - { - label: '加餐', - field: 'supperEnergy', - component: 'JSlider', - componentProps: { - min: 0, - max: 5000, - unit: '千卡', - }, - }, - { - label: '', - field: 'tag2', - component: 'Input', - slot: 'tag2', - }, - { - label: '基础代谢', - field: 'basalMetabolism', - component: 'JSlider', - componentProps: { - min: 0, - max: 5000, - unit: '千卡', - }, - }, - { - label: '走路消耗', - field: 'walkRunCalorie', - component: 'JSlider', - componentProps: { - min: 0, - max: 5000, - unit: '千卡', - }, - }, - { - label: '健身消耗', - field: 'fitnessCalorie', - component: 'JSlider', - componentProps: { - min: 0, - max: 5000, - unit: '千卡', - }, - }, - { - label: '其他消耗', - field: 'otherCalorie', - component: 'JSlider', - componentProps: { - min: 0, - max: 5000, - unit: '千卡', - }, - }, - { - label: '摄入消耗差', - field: 'startIntakeCalorieGap', - component: 'Input', - slot: 'startIntake', - }, -]; -export const schemasRight: FormSchema[] = [ - { - label: '选中日期', - field: 'endDate', - component: 'DatePicker', - dynamicDisabled: true, - defaultValue: lastDayOfMonth, - componentProps: { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - }, - }, - { - label: '', - field: 'tag1', - component: 'Input', - slot: 'tag1', - }, - { - label: '早餐', - field: 'breakfastEnergy-after', - component: 'JSlider', - componentProps: { - min: 0, - max: 5000, - unit: '千卡', - }, - }, - { - label: '中餐', - field: 'lunchEnergy-after', - component: 'JSlider', - componentProps: { - min: 0, - max: 5000, - unit: '千卡', - }, - }, - { - label: '晚餐', - field: 'dinnerEnergy-after', - component: 'JSlider', - componentProps: { - min: 0, - max: 5000, - unit: '千卡', - }, - }, - { - label: '加餐', - field: 'supperEnergy-after', - component: 'JSlider', - componentProps: { - min: 0, - max: 5000, - unit: '千卡', - }, - }, - { - label: '', - field: 'tag2', - component: 'Input', - slot: 'tag2', - }, - { - label: '基础代谢', - field: 'basalMetabolism-after', - component: 'JSlider', - componentProps: { - min: 0, - max: 5000, - unit: '千卡', - }, - }, - { - label: '走路消耗', - field: 'walkRunCalorie-after', - component: 'JSlider', - componentProps: { - min: 0, - max: 5000, - unit: '千卡', - }, - }, - { - label: '健身消耗', - field: 'fitnessCalorie-after', - component: 'JSlider', - componentProps: { - min: 0, - max: 5000, - unit: '千卡', - }, - }, - { - label: '其他消耗', - field: 'otherCalorie-after', - component: 'JSlider', - componentProps: { - min: 0, - max: 5000, - unit: '千卡', - }, - }, - { - label: '摄入消耗差', - field: 'endIntakeCalorieGap', - component: 'Input', - slot: 'endIntake', - }, -]; diff --git a/src/views/interveneNew/cardiovascular/dynamicBalance/ingestion/Ingestion.api.ts b/src/views/interveneNew/cardiovascular/dynamicBalance/ingestion/Ingestion.api.ts deleted file mode 100644 index 6bfbcd5..0000000 --- a/src/views/interveneNew/cardiovascular/dynamicBalance/ingestion/Ingestion.api.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-eating/v2/eating/record', - getByID = '/health-intervene/health-eating/v2/eating/info', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params }); -export const getQueryID = (params: any) => defHttp.get({ url: Api.getByID, params }); diff --git a/src/views/interveneNew/cardiovascular/dynamicBalance/ingestion/Ingestion.data.ts b/src/views/interveneNew/cardiovascular/dynamicBalance/ingestion/Ingestion.data.ts deleted file mode 100644 index a38b5b6..0000000 --- a/src/views/interveneNew/cardiovascular/dynamicBalance/ingestion/Ingestion.data.ts +++ /dev/null @@ -1,127 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfo } from '/@/utils/orgSearchInfo'; -import { BODY_CONTAINER } from '/@/utils/domUtils'; - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - align: 'center', - dataIndex: 'secondDepartName', - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - dataIndex: 'thirdDepartName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'realname', - fixed: 'left', - }, - { - title: '员工工号', - align: 'center', - dataIndex: 'workNo', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, - { - title: '身高(cm)', - align: 'center', - dataIndex: 'height', - }, - { - title: '体重(kg)', - align: 'center', - dataIndex: 'weight', - }, - { - title: '体力活动', - align: 'center', - dataIndex: 'workStrength', - }, - { - title: '用餐时间', - align: 'center', - dataIndex: 'statisticsDay', - }, - { - title: '餐次', - align: 'center', - dataIndex: 'dinnerType', - }, - { - title: '摄入食品数量', - align: 'center', - dataIndex: 'foodNums', - }, - { - title: '摄入热量(千卡)', - align: 'center', - dataIndex: 'energy', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, - ...orgSearchInfo({ - orgName: '单位名称', - orgField: 'orgCode', - deptName: '部门名称', - deptFiled: 'deptCode', - orgCode: 'otherCode', - }), - { - label: '用餐日期', - field: 'date', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - valueType: 'Date', - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => BODY_CONTAINER, - 'onUpdate:value': (value) => { - if (value) { - formModel.startDate = value[0]; - formModel.endDate = value[1]; - } else { - formModel.startDate = null; - formModel.endDate = null; - } - }, - }; - }, - }, - { - label: '', - field: 'startDate', - component: 'Input', - show: false, - }, - { - label: '', - field: 'endDate', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/cardiovascular/dynamicBalance/ingestion/IngestionList.vue b/src/views/interveneNew/cardiovascular/dynamicBalance/ingestion/IngestionList.vue deleted file mode 100644 index 5990e66..0000000 --- a/src/views/interveneNew/cardiovascular/dynamicBalance/ingestion/IngestionList.vue +++ /dev/null @@ -1,63 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/dynamicBalance/ingestion/compoents/IngestionModal.vue b/src/views/interveneNew/cardiovascular/dynamicBalance/ingestion/compoents/IngestionModal.vue deleted file mode 100644 index 01e46e5..0000000 --- a/src/views/interveneNew/cardiovascular/dynamicBalance/ingestion/compoents/IngestionModal.vue +++ /dev/null @@ -1,169 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/dynamicBalance/keyGroups/KeyGroups.api.ts b/src/views/interveneNew/cardiovascular/dynamicBalance/keyGroups/KeyGroups.api.ts deleted file mode 100644 index 4fe6bcb..0000000 --- a/src/views/interveneNew/cardiovascular/dynamicBalance/keyGroups/KeyGroups.api.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/health-eating/v2/important-user', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params }); diff --git a/src/views/interveneNew/cardiovascular/dynamicBalance/keyGroups/KeyGroups.data.ts b/src/views/interveneNew/cardiovascular/dynamicBalance/keyGroups/KeyGroups.data.ts deleted file mode 100644 index c9c424e..0000000 --- a/src/views/interveneNew/cardiovascular/dynamicBalance/keyGroups/KeyGroups.data.ts +++ /dev/null @@ -1,404 +0,0 @@ -import { FormSchema } from '/@/components/Table'; -import { allSecondaryDepartsNewBack } from '/@/views/intervene/medical/MedicalResource/MedicalResource.api'; -import { useMessage } from '/@/hooks/web/useMessage'; -import { getThirdDepartListByOrgCode } from '/@/views/archive/employeeFile/employeeFileList.api'; -import { h } from 'vue'; -import { BODY_CONTAINER } from '/@/utils/domUtils'; -import moment from 'moment/moment'; -import { orgSearchInfo } from "/@/utils/orgSearchInfo"; - -const today = moment(); -const firstDayOfMonth = moment(today.subtract(1, 'months')).format('YYYY-MM-DD'); -const lastDayOfMonth = moment(new Date()).format('YYYY-MM-DD'); -const { createMessage } = useMessage(); - -export const getColumns = (startTime, endTime) => { - return [ - { - title: '单位名称', - align: 'center', - dataIndex: 'secondDepartName', - fixed: 'left', - width: 120, - }, - { - title: '部门名称', - align: 'center', - dataIndex: 'thirdDepartName', - fixed: 'left', - width: 140, - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'realName', - width: 80, - fixed: 'left', - }, - { - title: '员工工号', - align: 'center', - dataIndex: 'workNo', - width: 80, - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, - { - title: '身高\n(cm)', - align: 'center', - dataIndex: 'height', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '体重\n(kg)', - align: 'center', - dataIndex: 'weight', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '体力活动', - align: 'center', - dataIndex: 'workStrength', - width: 100, - }, - { - title: '时间', - align: 'center', - dataIndex: 'startDate', - width: 100, - }, - { - title: `开始日期:${startTime}`, - children: [ - { - title: '摄入(千卡)', - children: [ - { - title: '早餐', - align: 'center', - dataIndex: ['beforeData', 'breakfastEnergy'], - width: 80, - }, - { - title: '中餐', - align: 'center', - dataIndex: ['beforeData', 'lunchEnergy'], - width: 80, - }, - { - title: '晚餐', - align: 'center', - dataIndex: ['beforeData', 'dinnerEnergy'], - width: 80, - }, - { - title: '加餐', - align: 'center', - dataIndex: ['beforeData', 'supperEnergy'], - width: 80, - }, - ], - }, - { - title: '摄入(千卡)', - children: [ - { - title: '基础\n代谢', - align: 'center', - dataIndex: ['beforeData', 'basalMetabolism'], - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '走跑\n消耗', - align: 'center', - dataIndex: ['beforeData', 'walkRunCalorie'], - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '健身\n消耗', - align: 'center', - dataIndex: ['beforeData', 'fitnessCalorie'], - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '其他\n消耗', - align: 'center', - dataIndex: ['beforeData', 'otherCalorie'], - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - ], - }, - { - title: '摄入消耗差', - align: 'center', - dataIndex: ['simulateResult', 'startIntakeCalorieGap'], - width: 100, - customRender: ({ text }) => { - if (text) { - return h('span', { style: { color: text > 0 ? '#5ec964' : '#fe8802' } }, text > 0 ? '+' + text : '-' + text); - } - }, - }, - { - title: '建议消耗差', - align: 'center', - dataIndex: ['simulateResult', 'startConsumeSuggest'], - width: 100, - }, - ], - }, - { - title: `结束日期:${endTime}`, - children: [ - { - title: '摄入(千卡)', - children: [ - { - title: '早餐', - align: 'center', - dataIndex: ['afterData', 'breakfastEnergy'], - width: 80, - }, - { - title: '中餐', - align: 'center', - dataIndex: ['afterData', 'lunchEnergy'], - width: 80, - }, - { - title: '晚餐', - align: 'center', - dataIndex: ['afterData', 'dinnerEnergy'], - width: 80, - }, - { - title: '加餐', - align: 'center', - dataIndex: ['afterData', 'supperEnergy'], - width: 80, - }, - ], - }, - { - title: '摄入(千卡)', - children: [ - { - title: '基础\n代谢', - align: 'center', - dataIndex: ['afterData', 'basalMetabolism'], - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '走跑\n消耗', - align: 'center', - dataIndex: ['afterData', 'walkRunCalorie'], - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '健身\n消耗', - align: 'center', - dataIndex: ['afterData', 'fitnessCalorie'], - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '其他\n消耗', - align: 'center', - dataIndex: ['afterData', 'otherCalorie'], - width: 80, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - ], - }, - { - title: '摄入消耗差', - align: 'center', - dataIndex: ['simulateResult', 'endIntakeCalorieGap'], - width: 100, - customRender: ({ text }) => { - if (text) { - return h('span', { style: { color: text > 0 ? '#5ec964' : '#fe8802' } }, text > 0 ? '+' + text : '-' + text); - } - }, - }, - { - title: '建议消耗差', - align: 'center', - dataIndex: ['simulateResult', 'endConsumeSuggest'], - width: 100, - }, - ], - }, - { - title: '血管硬化狭窄\n预警值', - align: 'center', - dataIndex: ['simulateResult', 'eeIllnessRisk', 'vascularSclerosisRisk'], - width: 120, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text }) => { - const listColor = [ - { - name: '低风险', - color: '#333333', - }, - { - name: '中风险', - color: '#f09900', - }, - { - name: '高风险', - color: '#ff1e10', - }, - ]; - if (text) { - const res = listColor.find((e) => e.name === text.grade); - const con = res ? `${text.riskValue}(${res.name})` : ''; - return h('span', { style: { color: res ? res.color : '' } }, con); - } - }, - }, - { - title: '体检颈部血管B超异常', - align: 'center', - fixed: 'right', - width: 100, - slots: { customRender: 'groupDetails' }, - }, - // { - // title: '预警偏离度', - // align: 'center', - // dataIndex: '', - // }, - ]; -}; - -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, - ...orgSearchInfo({ - orgName: '单位名称', - orgField: 'orgCode', - deptName: '部门名称', - deptFiled: 'deptCode', - orgCode: 'otherCode', - }), - { - label: '日期', - field: 'date', - component: 'RangePicker', - defaultValue: [firstDayOfMonth, lastDayOfMonth], - componentProps: ({ formModel }) => { - return { - valueType: 'Date', - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => BODY_CONTAINER, - onChange: ([start, end]) => { - formModel.startDate = start; - formModel.endDate = end; - }, - }; - }, - }, - { - label: '', - field: 'startDate', - component: 'Input', - defaultValue: firstDayOfMonth, - show: false, - }, - { - label: '', - field: 'endDate', - defaultValue: lastDayOfMonth, - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/cardiovascular/dynamicBalance/keyGroups/KeyGroupsList.vue b/src/views/interveneNew/cardiovascular/dynamicBalance/keyGroups/KeyGroupsList.vue deleted file mode 100644 index fb96a4e..0000000 --- a/src/views/interveneNew/cardiovascular/dynamicBalance/keyGroups/KeyGroupsList.vue +++ /dev/null @@ -1,64 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/dynamicBalance/keyGroups/compoents/KeyGroupsModal.vue b/src/views/interveneNew/cardiovascular/dynamicBalance/keyGroups/compoents/KeyGroupsModal.vue deleted file mode 100644 index 9eac6cb..0000000 --- a/src/views/interveneNew/cardiovascular/dynamicBalance/keyGroups/compoents/KeyGroupsModal.vue +++ /dev/null @@ -1,126 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/firstAidTraining/equipmentManagement/components/equipmentDrawer.vue b/src/views/interveneNew/cardiovascular/firstAidTraining/equipmentManagement/components/equipmentDrawer.vue deleted file mode 100644 index 627284e..0000000 --- a/src/views/interveneNew/cardiovascular/firstAidTraining/equipmentManagement/components/equipmentDrawer.vue +++ /dev/null @@ -1,72 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/firstAidTraining/equipmentManagement/equipmentManagement.api.ts b/src/views/interveneNew/cardiovascular/firstAidTraining/equipmentManagement/equipmentManagement.api.ts deleted file mode 100644 index 86c1c31..0000000 --- a/src/views/interveneNew/cardiovascular/firstAidTraining/equipmentManagement/equipmentManagement.api.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -export enum Api { - getVideoList = '/health-intervene/angiography/equipment/list', - edit = '/health-intervene/angiography/equipment/edit', - save = '/health-intervene/angiography/equipment/add', - delete = '/health-intervene/angiography/equipment/delete', -} -export const list = (params: any) => defHttp.get({ url: Api.getVideoList, params }); -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params: any, isUpdate: boolean) => { - return isUpdate ? defHttp.put({ url: Api.edit, params }) : defHttp.post({ url: Api.save, params }); -}; -export const deleteApi = (params: any, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否确认删除', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: Api.delete, params }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/cardiovascular/firstAidTraining/equipmentManagement/equipmentManagement.data.ts b/src/views/interveneNew/cardiovascular/firstAidTraining/equipmentManagement/equipmentManagement.data.ts deleted file mode 100644 index 84a9065..0000000 --- a/src/views/interveneNew/cardiovascular/firstAidTraining/equipmentManagement/equipmentManagement.data.ts +++ /dev/null @@ -1,158 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { allSecondaryDepartsNew, getThirdDepartsNew } from '/@/utils/system/api'; -import { message } from 'ant-design-vue'; - -export const columns: BasicColumn[] = [ - { - title: '所属单位', - dataIndex: 'unitName', - fixed: 'left', - }, - { - title: '所属部门', - dataIndex: 'departmentName', - fixed: 'left', - }, - { - title: '设备名称', - dataIndex: 'equipmentName', - }, - { - title: '设备品牌', - dataIndex: 'equipmentBrand', - }, - { - title: '设备编号', - dataIndex: 'equipmentNumber', - }, - { - title: '用途', - dataIndex: 'equipmentPurpose', - }, - { - title: '管理部门', - dataIndex: 'managementDepartment', - }, - { - title: '管理人电话', - dataIndex: 'managementPhone', - }, - { - title: '厂家电话', - dataIndex: 'manufacturerPhone', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'name', - label: '设备名称', - component: 'Input', - }, -]; -export const formSchema: FormSchema[] = [ - { - label: '所属单位', - field: 'unitOrgCode', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择所属单位', - immediate: true, - onChange: () => { - formModel.departmentOrgCode = ''; - }, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '所属部门', - field: 'departmentOrgCode', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNew, - resultField: 'list', - labelField: 'departName', - params: { - idOrCode: formModel?.unitOrgCode || '12313', - }, - valueField: 'orgCode', - immediate: true, - showSearch: true, - onFocus: () => { - if (!formModel.unitOrgCode) { - return message.warn('请先选择所属单位!'); - } - }, - getPopupContainer: () => document.body, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - field: 'equipmentName', - label: '设备名称', - component: 'Input', - required: true, - }, - { - field: 'equipmentBrand', - label: '设备品牌', - component: 'Input', - required: true, - }, - { - field: 'equipmentNumber', - label: '设备编号', - component: 'Input', - required: true, - }, - { - field: 'equipmentPurpose', - label: '设备用途', - component: 'Input', - required: true, - }, - { - field: 'managementDepartment', - label: '管理部门', - component: 'Input', - required: true, - }, - { - field: 'managementPhone', - label: '管理人电话', - component: 'Input', - rules: [{ pattern: /^1[3456789]\d{9}$/, message: '手机号码格式有误' }], - }, - { - field: 'manufacturerPhone', - label: '厂家电话', - component: 'Input', - rules: [ - { required: true, message: '请输入厂家电话' }, - { pattern: /^1[3456789]\d{9}$/, message: '手机号码格式有误' }, - ], - }, - { - field: 'id', - label: 'id', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/cardiovascular/firstAidTraining/equipmentManagement/equipmentManagement.vue b/src/views/interveneNew/cardiovascular/firstAidTraining/equipmentManagement/equipmentManagement.vue deleted file mode 100644 index 4ad3ad2..0000000 --- a/src/views/interveneNew/cardiovascular/firstAidTraining/equipmentManagement/equipmentManagement.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/firstAidTraining/topicManagement/compoents/topicManagementDrawer.vue b/src/views/interveneNew/cardiovascular/firstAidTraining/topicManagement/compoents/topicManagementDrawer.vue deleted file mode 100644 index 076b320..0000000 --- a/src/views/interveneNew/cardiovascular/firstAidTraining/topicManagement/compoents/topicManagementDrawer.vue +++ /dev/null @@ -1,349 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/firstAidTraining/topicManagement/topicManagementList.api.ts b/src/views/interveneNew/cardiovascular/firstAidTraining/topicManagement/topicManagementList.api.ts deleted file mode 100644 index ae2d8b0..0000000 --- a/src/views/interveneNew/cardiovascular/firstAidTraining/topicManagement/topicManagementList.api.ts +++ /dev/null @@ -1,91 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -enum Api { - employee = '/sys/user/listUserJump', - // dictByCodeOrName = '/sys/dictItem/list', - list = '/health-intervene/question/list', - basicList = '/medical/uniItemInfo/list', - templateUrl = '/health-intervene/answer/question/template', - exportUrl = '/health-intervene/answer/question/export', - deleteOne = '/health-intervene/question/delete', - importUrl = '/health-intervene/answer/question/import', - deleteBatch = '/health-intervene/question/deleteBatch', - examRisk = '/health-intervene/exam-risk/list', // 危险因素 - questionSave = '/health-intervene/question/save', - questionUpdate = '/health-intervene/question/update', - questionGet = '/health-intervene/question/get', - questionList = '/health-intervene/question/re-list', - loadTreeData = '/medical/uniItemClass/loadTreeRoot', - getResultItemListByUniItemClassId = '/health-archives/historyReport/getResultItemListByUniItemClassId', //根据分类id查询体检 -} - -const { createConfirm } = useMessage(); - -export const loadTreeData = (params) => defHttp.get({ url: Api.loadTreeData, params }, { headParams: 'C03' }); -export const employee = (params) => defHttp.get({ url: Api.employee, params }, { headParams: 'C03' }); -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }, { headParams: 'C03' }); -export const basicListApi = (params: any) => defHttp.get({ url: Api.basicList, params: params }, { headParams: 'C03' }); -export const examRiskApi = (params: any) => defHttp.get({ url: Api.examRisk, params: params }, { headParams: 'C03' }); -export const questionSaveApi = (params: any) => defHttp.post({ url: Api.questionSave, params: params }, { headParams: 'C03' }); -export const questionUpdateApi = (params: any) => defHttp.put({ url: Api.questionUpdate, params: params }, { headParams: 'C03' }); -export const questionGetApi = (params: any) => defHttp.get({ url: Api.questionGet, params: params }, { headParams: 'C03' }); -export const questionListApi = (params: any) => defHttp.get({ url: Api.questionList, params: params }, { headParams: 'C03' }); -export const getResultItemListByUniItemClassIdApi = (params: any) => - defHttp.get({ url: Api.getResultItemListByUniItemClassId, params: params }, { headParams: 'C03' }); -//题库管理-模板下载 -export const templateUrl = Api.templateUrl; -//题库管理-题库导出 -export const exportUrl = Api.exportUrl; -//题库管理-题库导入 -export const importUrl = Api.importUrl; -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteOne, - params, - }, - { joinParamsToUrl: true, headParams: 'C03' } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true, headParams: 'C03' } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/cardiovascular/firstAidTraining/topicManagement/topicManagementList.data.ts b/src/views/interveneNew/cardiovascular/firstAidTraining/topicManagement/topicManagementList.data.ts deleted file mode 100644 index e5927be..0000000 --- a/src/views/interveneNew/cardiovascular/firstAidTraining/topicManagement/topicManagementList.data.ts +++ /dev/null @@ -1,254 +0,0 @@ -import { FormSchema } from '/@/components/Form'; -import { BasicColumn } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { loadTreeData } from '/@/views/interveneNew/cardiovascular/firstAidTraining/topicManagement/topicManagementList.api'; - -export function getSearchSchema() { - const searchSchema: FormSchema[] = [ - { - label: '题目名称', - field: 'questionDesc', - component: 'Input', - }, - { - label: '题目类型', - field: 'type', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'question_options_type', - }; - }, - }, - ]; - - return searchSchema; -} - -export function getTableColumns(max: number) { - const columns: BasicColumn[] = [ - { - title: '编号', - dataIndex: 'questionNo', - }, - { - title: '题目名称', - dataIndex: 'questionDesc', - }, - { - title: '题目类型', - dataIndex: 'type', - customRender: ({ text }) => { - return text ? render.renderDict(text, 'question_options_type') : ''; - }, - }, - ...getChooseNumber(max), - { - title: '正确选项', - dataIndex: 'realAnswer', - }, - { - title: '抽提概率', - dataIndex: 'pct', - }, - { - title: '关联视频', - dataIndex: 'reVideoList', - customRender: ({ record }) => { - return record?.reVideoList.length > 0 ? record?.reVideoList[0].trainingVideoName : ''; - }, - }, - ]; - return columns; -} - -function getChooseNumber(max: number) { - const result: BasicColumn[] = []; - if (max === 0) return result; - for (let i = 0; i < indexList.length; i++) { - result.push({ - title: `${indexList[i]}选项`, - dataIndex: indexList[i], - }); - if (i + 1 === max) break; - } - return result; -} -export function getFormSchema() { - const formSchema: FormSchema[] = [ - { - label: '题目类型', - field: 'type', - component: 'JDictSelectTag', - defaultValue: 'DG', - componentProps: () => { - return { - type: 'radio', - dictCode: 'question_options_type', - }; - }, - required: true, - }, - { - label: '题目名称', - field: 'questionDesc', - component: 'Input', - required: true, - slot: 'questionDesc', - }, - { - label: '答疑', - field: 'answer', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 5, - }; - }, - }, - { - label: '关联视频库', - field: 'reVideoList', - slot: 'reVideoList', - component: 'Input', - // required: true, - rules: [ - { - required: true, - validator: (_, value) => { - if (value) { - return Promise.resolve(); - } else { - return Promise.reject('请选择关联视频'); - } - }, - }, - ], - }, - { - label: '抽提概率(%)', - field: 'pct', - component: 'Input', - required: true, - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - ]; - return formSchema; -} - -export const userColumns: BasicColumn[] = [ - { - title: '员工姓名', - dataIndex: 'realname', - align: 'center', - }, - { - title: '员工编号', - dataIndex: 'workNo', - align: 'center', - }, - // { - // title: '单位名称', - // dataIndex: 'secondDepart', - // align: 'center', - // }, -]; - -export const userSearchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'realname', - component: 'Input', - }, - { - label: '员工编号', - field: 'workNo', - component: 'Input', - }, -]; - -export const indexList: string[] = [ - 'A', - 'B', - 'C', - 'D', - 'E', - 'F', - 'G', - 'H', - 'I', - 'J', - 'K', - 'L', - 'M', - 'N', - 'O', - 'P', - 'Q', - 'R', - 'S', - 'T', - 'U', - 'V', - 'W', - 'X', - 'Y', - 'Z', -]; - -export const basicColumns: BasicColumn[] = [ - { - title: '体检项目名称', - align: 'center', - dataIndex: 'uniItemName', - }, - { - title: '体检项目编码', - align: 'center', - dataIndex: 'uniItemNo', - }, - { - title: '体检项目分类', - align: 'center', - dataIndex: 'uniItemClassName', - }, - // { - // title: '体检项目别名', - // align: 'center', - // dataIndex: 'uniItemAlias', - // }, - { - title: '', - dataIndex: 'id', - ifShow: false, - }, -]; - -export const basicSearchFormSchema: FormSchema[] = [ - { - label: '体检项目分类', - field: 'uniItemClassId', - component: 'ApiTreeSelect', - componentProps: () => { - return { - api: loadTreeData, - fieldNames: { - value: 'key', - }, - getPopupContainer: () => document.body, - }; - }, - colProps: { span: 6 }, - }, - { - label: '体检项目名称', - field: 'uniItemName', - component: 'JInput', - colProps: { span: 6 }, - }, -]; diff --git a/src/views/interveneNew/cardiovascular/firstAidTraining/topicManagement/topicManagementList.vue b/src/views/interveneNew/cardiovascular/firstAidTraining/topicManagement/topicManagementList.vue deleted file mode 100644 index 9b10f81..0000000 --- a/src/views/interveneNew/cardiovascular/firstAidTraining/topicManagement/topicManagementList.vue +++ /dev/null @@ -1,234 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/firstAidTraining/videoLibraryManagement/components/videoLibraryDrawer.vue b/src/views/interveneNew/cardiovascular/firstAidTraining/videoLibraryManagement/components/videoLibraryDrawer.vue deleted file mode 100644 index fe09796..0000000 --- a/src/views/interveneNew/cardiovascular/firstAidTraining/videoLibraryManagement/components/videoLibraryDrawer.vue +++ /dev/null @@ -1,73 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/firstAidTraining/videoLibraryManagement/videoLibraryManagement.api.ts b/src/views/interveneNew/cardiovascular/firstAidTraining/videoLibraryManagement/videoLibraryManagement.api.ts deleted file mode 100644 index dd8d69a..0000000 --- a/src/views/interveneNew/cardiovascular/firstAidTraining/videoLibraryManagement/videoLibraryManagement.api.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -export enum Api { - getVideoList = '/health-intervene/angiography/training/video/list', - edit = '/health-intervene/angiography/training/video/edit', - save = '/health-intervene/angiography/training/video/add', - delete = '/health-intervene/angiography/training/video/delete', -} -export const list = (params: any) => defHttp.get({ url: Api.getVideoList, params }); -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params: any, isUpdate:boolean) => { - return isUpdate ? defHttp.put({ url: Api.edit, params }) : defHttp.post({ url: Api.save, params }); -}; -export const deleteApi = (params: any, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否确认删除', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.delete, params },{joinParamsToUrl:true}).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/cardiovascular/firstAidTraining/videoLibraryManagement/videoLibraryManagement.data.ts b/src/views/interveneNew/cardiovascular/firstAidTraining/videoLibraryManagement/videoLibraryManagement.data.ts deleted file mode 100644 index a905f05..0000000 --- a/src/views/interveneNew/cardiovascular/firstAidTraining/videoLibraryManagement/videoLibraryManagement.data.ts +++ /dev/null @@ -1,127 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -export const columns: BasicColumn[] = [ - { - title: '编号', - dataIndex: 'videoNumber', - }, - { - title: '视频名称', - dataIndex: 'videoName', - }, - { - title: '内容简介', - dataIndex: 'content', - }, - { - title: '主讲人姓名', - dataIndex: 'speakerName', - }, - { - title: '主讲人所在机构', - dataIndex: 'speakerOrganization', - }, - { - title: '职务职称', - dataIndex: 'speakerTitle', - }, - { - title: '制作机构', - dataIndex: 'productionOrganization', - }, - { - title: '制作人', - dataIndex: 'producer', - }, - { - title: '制作日期', - dataIndex: 'productionDate', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'name', - label: '视频名称', - component: 'Input', - }, -]; -export const formSchema: FormSchema[] = [ - { - field: 'videoName', - label: '视频名称', - component: 'Input', - required: true, - }, - { - field: 'coverImgUrl', - label: '封面', - component: 'JImageUpload', - }, - { - field: 'content', - label: '内容简介', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - field: 'videoUrl', - label: '视频文件', - component: 'JUpload', - componentProps: () => ({ - maxCount: 1, - accept: '.mp4, video/mp4', - tipText: '只能上传mp4文件,最大200M', - }), - required: true, - }, - { - field: 'speakerName', - label: '主讲人姓名', - component: 'Input', - }, - { - field: 'speakerIntroduction', - label: '主讲人简介', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - field: 'speakerOrganization', - label: '主讲人所在机构', - component: 'Input', - }, - { - field: 'speakerTitle', - label: '职务职称', - component: 'Input', - }, - { - field: 'productionOrganization', - label: '制作机构', - component: 'Input', - }, - { - field: 'producer', - label: '制作人', - component: 'Input', - }, - { - field: 'productionDate', - label: '制作日期', - component: 'DatePicker', - }, - { - field: 'id', - label: 'id', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/cardiovascular/firstAidTraining/videoLibraryManagement/videoLibraryManagement.vue b/src/views/interveneNew/cardiovascular/firstAidTraining/videoLibraryManagement/videoLibraryManagement.vue deleted file mode 100644 index a157dbf..0000000 --- a/src/views/interveneNew/cardiovascular/firstAidTraining/videoLibraryManagement/videoLibraryManagement.vue +++ /dev/null @@ -1,87 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/components/TrainingDrawer.vue b/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/components/TrainingDrawer.vue deleted file mode 100644 index b89c90d..0000000 --- a/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/components/TrainingDrawer.vue +++ /dev/null @@ -1,256 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/components/VideoTables.vue b/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/components/VideoTables.vue deleted file mode 100644 index be33f4a..0000000 --- a/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/components/VideoTables.vue +++ /dev/null @@ -1,249 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/components/lookArchives.vue b/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/components/lookArchives.vue deleted file mode 100644 index 7e226cf..0000000 --- a/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/components/lookArchives.vue +++ /dev/null @@ -1,294 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/components/trainingHooks.ts b/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/components/trainingHooks.ts deleted file mode 100644 index 7ad0d71..0000000 --- a/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/components/trainingHooks.ts +++ /dev/null @@ -1,152 +0,0 @@ -// 非空数组 -export function notEmptyArr(arr) { - return Array.isArray(arr) && arr.length != 0; -} -//新增获取部门数据 -export function getDeptList(list: any[] = [], keyCode: any[] = []) { - const arr: any[] = []; - list.forEach((item: any) => { - if (keyCode.includes(item.orgCode)) { - const obj = { - record: item.departName, - scopeId: item.orgCode, - scopeType: 1, - }; - arr.push(obj); - } - }); - return arr; -} -//新增获取用户数据 -export function getUserList(list: any[] = []) { - const arr: any[] = []; - list.forEach((item) => { - const val = JSON.parse(item); - const obj = { - record: val.realname, - scopeId: val.id, - scopeType: 2, - }; - arr.push(obj); - }); - return arr; -} -//计算总分数 -export function getSumScore(model: any) { - const sum = model?.dgSum * model?.dgScore + model?.dxSum * model?.dxScore + model?.pdSum * model?.pdScore; - return sum || 0; -} - -export function hasValue(val: any) { - return val != null && true && val >= 0; -} -export function getActivity(text: string) { - const list = [ - { name: '未开始', value: '1', color: '#919191' }, - { name: '进行中', value: '2', color: '#ebaf7d' }, - { name: '已结束', value: '3', color: '#919191' }, - ]; - return list.find((e) => e.value === text); -} -function getList(val) { - return val.split('},').map((item) => { - item = (item + '}').replace(/}}/g, '}'); - return item; - }); -} -// 处理请求参数 -export function setParams(values: any) { - let scopeType = 0; - let firstAidScopeDeptList = JSON.parse(values?.firstAidScopeDeptList || '[]'); - let firstAidScopeUserList = []; - const deptFlag = firstAidScopeDeptList.length > 0 && notEmptyArr(getList(firstAidScopeDeptList)); - const userFlag = notEmptyArr(JSON.parse(values?.firstAidScopeUserList || '[]')); - if (deptFlag && userFlag) { - scopeType = 3; - firstAidScopeDeptList = JSON.parse(values.firstAidScopeDeptList); - firstAidScopeUserList = JSON.parse(values.firstAidScopeUserList); - } else if (deptFlag) { - scopeType = 1; - firstAidScopeDeptList = JSON.parse(values.firstAidScopeDeptList); - } else if (userFlag) { - scopeType = 2; - firstAidScopeUserList = JSON.parse(values.firstAidScopeUserList); - } - return { - ...values, - playQuestion: values.playQuestion ? 1 : 0, //0.不开启1.开启 - answerRule: { - answerTime: values.answerTime, - dgScore: values.dgScore, - dgSum: values.dgSum, - dxScore: values.dxScore, - dxSum: values.dxSum, - examScore: values.examScore, - pdScore: values.pdScore, - pdSum: values.pdSum, - questionSum: values.questionSum, - ruleId: values.ruleId, - trainingVideoId: values.trainingVideoId, - }, - firstAidScopeDeptList, - firstAidScopeUserList, - scopeType, - }; -} -// 处理回显数据 -export function getRecord(value: any) { - let depart = []; - let userName = ''; - let firstAidScopeDeptList = '[]'; - let firstAidScopeUserList = '[]'; - const deptFlag = notEmptyArr(value?.firstAidScopeDeptList || []); - const userFlag = notEmptyArr(value?.firstAidScopeUserList || []); - if (deptFlag && userFlag) { - depart = value.firstAidScopeDeptList.map((item) => item.record); - userName = value.firstAidScopeUserList.map((item) => item.record).join(','); - firstAidScopeDeptList = JSON.stringify(value.firstAidScopeDeptList); - firstAidScopeUserList = JSON.stringify(value.firstAidScopeUserList); - } else if (deptFlag) { - depart = value.firstAidScopeDeptList.map((item) => item.record); - firstAidScopeDeptList = JSON.stringify(value.firstAidScopeDeptList); - } else if (userFlag) { - userName = value.firstAidScopeUserList.map((item) => item.record).join(','); - firstAidScopeUserList = JSON.stringify(value.firstAidScopeUserList); - } - return { - ...value, - scopeType: value?.scopeType == '0' ? '0' : '1', - depart, - userName, - firstAidScopeDeptList, - firstAidScopeUserList, - date: [value.startTime, value.endTime], - answerTime: value.examPaperRule?.answerTime, - dgScore: value.examPaperRule?.dgScore, - dgSum: value.examPaperRule?.dgSum, - dxScore: value.examPaperRule?.dxScore, - dxSum: value.examPaperRule?.dxSum, - pdScore: value.examPaperRule?.pdScore, - pdSum: value.examPaperRule?.pdSum, - questionSum: value.examPaperRule?.questionSum, - ruleId: value.examPaperRule?.id, - }; -} - -export function getTime(seconds) { - if (!seconds) return ''; - const hours = Math.floor(seconds / 3600); - const minutes = Math.floor((seconds % 3600) / 60); - const secs = seconds % 60; - let res = ''; - if (hours > 0) { - res += hours + '时'; - } - if (minutes > 0) { - res += minutes + '分'; - } - if (secs > 0) { - res += secs + '秒'; - } - return res; -} diff --git a/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/components/videoRecord.data.ts b/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/components/videoRecord.data.ts deleted file mode 100644 index 4c065b8..0000000 --- a/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/components/videoRecord.data.ts +++ /dev/null @@ -1,456 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { useUserStore } from '/@/store/modules/user'; -import { render } from '/@/utils/common/renderUtils'; -import { allSecondaryDepartsNew, getThirdDepartsNew } from '/@/utils/system/api'; -import { message } from 'ant-design-vue'; -import { getTime } from '/@/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/components/trainingHooks'; - -export const videoColumns: BasicColumn[] = [ - { - title: '单位', - dataIndex: 'unitName', - }, - { - title: '部门', - dataIndex: 'departmentName', - }, - { - title: '员工姓名', - dataIndex: 'employeeName', - }, - { - title: '员工工号', - dataIndex: 'employeeNumber', - }, - { - title: '性别', - dataIndex: 'sex', - customRender: ({ text }) => { - return render.renderDict(text, 'sex2'); - }, - }, - { - title: '年龄', - dataIndex: 'age', - }, - // { - // title: '岗位职务', - // dataIndex: 'postName', - // }, - { - title: '观看视频时长', - dataIndex: 'watchVideoTime', - customRender: ({ text }) => { - return getTime(text).replace('分', '分钟'); - }, - }, - { - title: '视频回看次数', - dataIndex: 'videoReviewCount', - }, - { - title: '开始答题时间', - dataIndex: 'answerTime', - }, - { - title: '答题得分', - dataIndex: 'score', - }, - { - title: '答题时长', - dataIndex: 'duration', - customRender: ({ text }) => { - return getTime(text).replace('分', '分钟'); - }, - }, - { - title: '错题数量', - dataIndex: 'wrongAnswer', - }, - { - title: '答题排名', - dataIndex: 'ranking', - }, -]; -// @ts-ignore -export const searchFormSchema: FormSchema[] = [ - { - field: 'employeeName', - label: '员工姓名', - component: 'Input', - }, - { - label: '单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位名称', - immediate: true, - onChange: () => { - formModel.deptCode = ''; - }, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '部门', - field: 'deptCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNew, - params: { - idOrCode: formModel.orgCode || '12313', - }, - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - onFocus: () => { - if (!formModel.orgCode) { - return message.warn('请先选择单位!'); - } - }, - getPopupContainer: () => document.body, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, -]; - -export const IotColumns: BasicColumn[] = [ - { - title: '单位', - dataIndex: 'unitName', - }, - { - title: '部门', - dataIndex: 'departmentName', - }, - { - title: '员工姓名', - dataIndex: 'employeeName', - }, - { - title: '员工工号', - dataIndex: 'employeeNumber', - }, - { - title: '性别', - dataIndex: 'sex', - customRender: ({ text }) => { - return render.renderDict(text, 'sex2'); - }, - }, - { - title: '年龄', - dataIndex: 'age', - }, - // { - // title: '岗位职务', - // dataIndex: 'postName', - // }, - { - title: '观看视频时长', - dataIndex: 'watchVideoTime', - customRender: ({ text }) => { - return getTime(text).replace('分', '分钟'); - }, - }, - { - title: '视频回看次数', - dataIndex: 'videoReviewCount', - }, - { - title: '开始实操时间', - dataIndex: 'finishTime', - }, - { - title: '实操得分', - dataIndex: 'score', - }, - { - title: '实操时长', - dataIndex: 'duration', - customRender: ({ text }) => { - return getTime(text).replace('分', '分钟'); - }, - }, - { - title: '实操排名', - dataIndex: 'ranking', - }, - { - title: '成绩单', - dataIndex: 'transcript', - }, -]; -// @ts-ignore - -//答题活动详情-活动规则 -export const activityDetailForm: FormSchema[] = [ - { - label: '关联视频', - field: 'trainingVideoName', - component: 'Input', - slot: 'videoUrl', - }, - { - label: '', - field: 'trainingVideoUrl', - component: 'Input', - show: false, - }, - { - label: '', - field: 'trainingType', - component: 'Input', - show: false, - }, - { - label: '播完启动答题', - field: 'playQuestion', - component: 'Input', - ifShow: ({ values }) => values.trainingType == 1, - componentProps: () => { - return { - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - }; - }, - }, - { - label: '抽取题目数量', - field: 'questionSum', - component: 'Input', - componentProps: () => { - return { - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - }; - }, - ifShow: ({ values }) => values.trainingType == 1, - }, - { - label: '题目类型数量', - field: 'a', - component: 'Input', - slot: 'second', - ifShow: ({ values }) => values.trainingType == 1, - }, - { - label: '', - field: 'dgSum', - component: 'Input', - show: false, - componentProps: () => ({ - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - }), - }, - { - label: '', - field: 'dxSum', - component: 'Input', - show: false, - componentProps: () => ({ - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - }), - }, - { - label: '', - field: 'pdSum', - component: 'Input', - show: false, - componentProps: () => ({ - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - }), - }, - { - label: '单选题分值', - field: 'dgScore', - component: 'Input', - componentProps: () => ({ - placeholder: '', - readonly: true, - style: { - width: '100%', - border: 'none', - outline: 'none', - }, - }), - ifShow: ({ values }) => values.trainingType == 1, - }, - { - label: '多选题分值', - field: 'dxScore', - component: 'Input', - componentProps: () => ({ - style: { - width: '100%', - border: 'none', - outline: 'none', - }, - placeholder: '', - readonly: true, - }), - ifShow: ({ values }) => values.trainingType == 1, - }, - { - label: '判断题分值', - field: 'pdScore', - component: 'Input', - componentProps: () => ({ - style: { - width: '100%', - border: 'none', - outline: 'none', - }, - placeholder: '', - readonly: true, - }), - ifShow: ({ values }) => values.trainingType == 1, - }, - { - label: '答题时长(分钟)', - field: 'answerTime', - component: 'Input', - componentProps: () => ({ - style: { - width: '100%', - border: 'none', - outline: 'none', - }, - placeholder: '', - readonly: true, - }), - ifShow: ({ values }) => values.trainingType == 1, - }, - { - label: '答题总分', - field: 'examScore', - defaultValue: 100, - component: 'Input', - componentProps: () => { - return { - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - }; - }, - ifShow: ({ values }) => values.trainingType == 1, - }, - { - label: '参加人员范围', - field: 'scopeTypeRang', - component: 'Input', - componentProps: () => { - return { - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - }; - }, - }, - { - label: '参加人员范围', - field: 'scopeType', - component: 'Input', - ifShow: false, - }, - { - label: '指定部门', - field: 'depart', - component: 'InputTextArea', - componentProps: () => { - return { - readonly: true, - autoSize: { - minRows: 4, - }, - style: { - border: 'none', - outline: 'none', - }, - }; - }, - ifShow: ({ values }) => values.scopeType == '1', - }, - { - label: '指定员工', - field: 'userName', - component: 'InputTextArea', - componentProps: () => { - return { - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - autoSize: { - minRows: 4, - }, - }; - }, - ifShow: ({ values }) => values.scopeType == '1', - }, - { - label: '奖励等级标准', - field: 'rewardLevelStandard', - component: 'InputTextArea', - componentProps: () => { - return { - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - autoSize: { - minRows: 4, - }, - }; - }, - }, -]; diff --git a/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/videoTrainingManagement.api.ts b/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/videoTrainingManagement.api.ts deleted file mode 100644 index 035e037..0000000 --- a/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/videoTrainingManagement.api.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -export enum Api { - getVideoList = '/health-intervene/angiography/training/activity/list', - edit = '/health-intervene/angiography/training/activity/update', - save = '/health-intervene/angiography/training/activity/add', - delete = '/health-intervene/angiography/training/activity/delete', - videoList = '/health-intervene/angiography/train/video/record', - IotList = '/health-intervene/angiography/train/iot/record', - queryById = '/health-intervene/angiography/training/activity/edit', - questionNumber = '/health-intervene/question/statistic', - transcript = '/health-intervene/angiography/train/iot/transcript', -} -export const list = (params: any) => defHttp.get({ url: Api.getVideoList, params }); -export const transcriptApi = (params: any) => defHttp.get({ url: Api.transcript, params }); - -//视频培训 -export const videoListApi = (params: any) => defHttp.get({ url: Api.videoList, params }); - -// 物联网 -export const IotListApi = (params: any) => defHttp.get({ url: Api.IotList, params }); - -// 编辑回显 -export const queryByID = (params: any) => defHttp.get({ url: Api.queryById, params }); - -// 获取关联视频相关题数 -export const quesNumber = (params: any) => defHttp.get({ url: Api.questionNumber, params }, { headParams: 'C03' }); -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params: any, isUpdate: boolean) => { - return isUpdate ? defHttp.put({ url: Api.edit, params }) : defHttp.post({ url: Api.save, params }); -}; -export const deleteApi = (params: any, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否确认删除', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.delete, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/videoTrainingManagement.data.ts b/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/videoTrainingManagement.data.ts deleted file mode 100644 index f09c4a8..0000000 --- a/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/videoTrainingManagement.data.ts +++ /dev/null @@ -1,652 +0,0 @@ -import { h, ref } from 'vue'; -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getThirdDepartListByOrgCode } from '/@/views/archive/employeeFile/employeeFileList.api'; -import { - getActivity, - getDeptList, - getSumScore, - hasValue, -} from '/@/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/components/trainingHooks'; -import { useUserStore } from '/@/store/modules/user'; -import { isNonNegativeString } from '/@/utils/is'; -import { list } from '/@/views/interveneNew/cardiovascular/firstAidTraining/videoLibraryManagement/videoLibraryManagement.api'; -import { quesNumber } from '/@/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/videoTrainingManagement.api'; -import { queryDepartTreeSync } from '/@/views/system/depart/depart.api'; - -const user = useUserStore(); -const deptOption = ref([]); -const trainType = [ - { label: '视频培训', value: 1 }, - { label: '物联培训', value: 2 }, -]; -export const columns: BasicColumn[] = [ - { - title: '急救培训名称', - dataIndex: 'activityName', - }, - { - title: '培训人员范围', - dataIndex: 'scopeType', - customRender: ({ text }) => { - return text === '0' ? '全体人员' : '指定人员'; - }, - }, - { - title: '培训类型', - dataIndex: 'trainingType', - customRender: ({ text }) => { - const list = [ - { name: '视频培训', value: 1 }, - { name: '物联培训', value: 2 }, - ]; - const find = list.find((e) => e.value == text); - return find ? find.name : ''; - }, - }, - { - title: '培训起止日期', - customRender: ({ record }) => { - let text = ''; - // @ts-ignore - if (record.startTime !== null && record.endTime !== null) { - // @ts-ignore - text = `${record.startTime} — ${record.endTime}`; - } - return text; - }, - }, - { - title: '应参加人数', - dataIndex: 'shouldAttendNumber', - }, - { - title: '实际参加人数', - dataIndex: 'actualAttendNumber', - }, - { - title: '合格人数', - dataIndex: 'qualifiedNumber', - }, - { - title: '培训状态', - dataIndex: 'activityStatus', - customRender: ({ text }) => { - const data = getActivity(text); - return h( - 'span', - { - style: { - color: data ? data.color : '', - }, - }, - data ? data.name : '' - ); - }, - }, - { - title: '组织部门', - dataIndex: 'organizationDepartment', - }, - { - title: '负责人', - dataIndex: 'personInCharge', - }, - { - title: '联系电话', - dataIndex: 'contactNumber', - }, -]; -// @ts-ignore -export const searchFormSchema: FormSchema[] = [ - { - field: 'activityName', - label: '急救培训名称', - component: 'Input', - }, - { - field: 'trainingType', - label: '培训类型', - component: 'JDictSelectTag', - componentProps: () => ({ - options: trainType, - }), - }, - { - field: 'activityStatus', - label: '培训状态', - component: 'JDictSelectTag', - componentProps: () => ({ - options: [ - { label: '未开始', value: 1 }, - { label: '进行中', value: 2 }, - { label: '已结束', value: 3 }, - ], - }), - }, - { - field: 'trainingDate', - label: '培训日期', - component: 'RangePicker', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - }; - }, - }, -]; -export const formSchema: FormSchema[] = [ - { - field: 'activityName', - label: '培训名称', - component: 'Input', - required: true, - }, - { - field: 'scopeType', - label: '参加人员范围', - component: 'RadioGroup', - required: true, - componentProps: ({ formModel }) => { - return { - options: [ - { label: '全体人员(管辖范围内)', value: '0' }, - { label: '指定人员', value: '1' }, - ], - onChange: (value) => { - formModel.scopeType = value; - if (value.target.value) { - formModel.depart = ''; - formModel.userName = ''; - formModel.firstAidScopeDeptList = []; - formModel.firstAidScopeUserList = '[]'; - } - }, - }; - }, - defaultValue: '1', - }, - // { - // label: '指定部门', - // field: 'depart', - // component: 'ApiSelect', - // componentProps: ({ formModel }) => { - // const userOrgCode = user?.userInfo?.orgCode?.substring(0, 6); - // return { - // mode: 'multiple', - // api: getThirdDepartListByOrgCode, - // params: { - // orgCode: userOrgCode || '12313', - // }, - // labelField: 'departName', - // valueField: 'orgCode', - // immediate: true, - // afterFetch: (option) => { - // deptOption.value = option; - // }, - // disabledInitValue: true, - // onChange: (org) => { - // if (org) { - // const arr = getDeptList(deptOption.value, org); - // // // 编辑回填添加新的与旧数据合并 - // // const newArr = [...JSON.parse(formModel.firstAidScopeDeptList), ...arr]; - // formModel.firstAidScopeDeptList = JSON.stringify(arr); - // } else { - // formModel.firstAidScopeDeptList = '[]'; - // } - // }, - // }; - // }, - // ifShow: ({ values }) => values.scopeType == '1', - // }, - { - label: '指定部门', - field: 'firstAidScopeDeptList', - component: 'JlazyTreeSelect', - ifShow: ({ values }) => values.scopeType == '1', - componentProps: ({ formModel }) => { - return { - api: queryDepartTreeSync, - loadApi: queryDepartTreeSync, - selectedKeys: - formModel.firstAidScopeDeptList && - formModel.firstAidScopeDeptList.map((item) => { - return JSON.parse(item); - }), - expandedKeys: - formModel.firstAidScopeDeptList && - formModel.firstAidScopeDeptList.map((item) => { - return JSON.parse(item); - }), - afterApi: (data) => { - data.forEach((item: any) => { - item['resultItem'] = JSON.stringify({ - record: item.title, - scopeId: item.orgCode, - type: 1, - }); - item['preTitle'] = item.title; - item['key'] = item['resultItem']; - }); - return data; - }, - preItem: (title, item) => { - item['preTitle'] = title + '/' + item.title; - item['resultItem'] = JSON.stringify({ - record: item.title, - scopeId: item.orgCode, - type: 1, - }); - item['key'] = item['resultItem']; - return item; - }, - fieldNamesInfo: { - value: 'resultItem', - label: 'preTitle', - key: 'resultItem', - }, - }; - }, - dynamicRules: ({ model }) => [ - { - trigger: 'blur', - validator: () => { - return new Promise((resolve, reject) => { - let dept = model?.firstAidScopeDeptList || []; - if (model.scopeType == '1' && dept.length == 0 && !model.userName) { - return reject('参加人员范围选择指定人员时,请选择指定部门或者指定人员'); - } - return resolve(); - }); - }, - }, - ], - }, - // { - // label: '指定部门', - // field: 'firstAidScopeDeptList', - // component: 'Input', - // show: false, - // }, - { - label: '指定员工', - field: 'userName', - component: 'Input', - slot: 'selectEmployee', - ifShow: ({ values }) => values.scopeType == '1', - }, - { - label: '指定员工', - field: 'firstAidScopeUserList', - component: 'Input', - show: false, - }, - { - field: 'date', - label: '培训起止日期', - component: 'RangePicker', - required: true, - componentProps: ({ formModel }) => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - onChange: ([start, end]) => { - formModel.startTime = start; - formModel.endTime = end; - }, - }; - }, - }, - { - label: '开始时间', - field: 'startTime', - component: 'Input', - show: false, - }, - { - label: '结束时间', - field: 'endTime', - component: 'Input', - show: false, - }, - { - field: 'organizationDepartment', - label: '组织部门', - component: 'Input', - required: true, - }, - { - field: 'contactNumber', - label: '联系电话', - component: 'Input', - rules: [ - { required: true, message: '请输入联系电话' }, - { pattern: /^1[3456789]\d{9}$/, message: '手机号码格式有误' }, - ], - }, - { - field: 'personInCharge', - label: '具体负责人', - component: 'Input', - required: true, - }, - { - field: 'rewardLevelStandard', - label: '奖励等级标准', - component: 'InputTextArea', - componentProps: () => { - return { - showCount: true, - rows: 4, - }; - }, - required: true, - }, - { - field: 'trainingType', - label: '培训类型', - component: 'RadioGroup', - required: true, - componentProps: ({ formModel }) => { - return { - options: trainType, - onChange: () => { - formModel.trainingVideoId = ''; - formModel.questionCount = undefined; - }, - }; - }, - defaultValue: 1, - }, - { - field: 'trainingVideoId', - label: '培训视频', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel, formActionType }) => ({ - api: list, - params: { type: formModel.trainingType == 1 ? 2 : 1, pageSize: 9999 }, // 已关联题库的视频 - resultField: 'records', - labelField: 'videoName', - valueField: 'id', - allowClear: false, // 去掉清除按钮 - disabledInitValue: true, // 去掉请选择选项 - onChange: async (val) => { - if (formModel.trainingType == 2) { - return; - } - formModel.questionCount = await quesNumber({ - questionCategoryId: 7, - trainingVideoId: val, - }); - if (formModel.questionSum) { - formActionType.validateFields('questionSum'); - } - }, - }), - }, - { - field: 'questionCount', - label: '', - component: 'Input', - slot: 'questionCount', - ifShow: ({ values }) => values.questionCount !== undefined && values.trainingType != 2, - }, - { - field: 'playQuestion', - label: '播完启动答题', - component: 'Switch', - dynamicRules: ({ model }) => { - return [{ required: model.trainingType === 1, message: '请选择播完启动答题' }]; - }, - defaultValue: true, - ifShow: ({ values }) => values.trainingType === 1, - }, - { - field: 'questionSum', - label: '随机抽题数量', - component: 'Input', - componentProps: () => ({ - style: { - width: '100%', - }, - }), - ifShow: ({ values }) => values.trainingType == 1, - dynamicRules: ({ model }) => { - return [ - { - required: model.trainingType === 1, - validator: () => { - return new Promise((resolve, reject) => { - if (!model?.questionCount) { - reject('请先选择培训视频'); - } - if (!model?.questionCount?.questionSum < model?.questionCount) { - reject('随机抽提数量不能大于视频已关联题目总数量'); - } - if (!isNonNegativeString(model?.questionSum)) { - reject('请检查输入格式!'); - } - if (model?.questionSum <= 0) { - reject('随机抽题数量必须大于0!'); - } - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '题目类型数量', - field: 'a', - component: 'InputNumber', - slot: 'second', - ifShow: ({ values }) => values.trainingType == 1, - dynamicRules: ({ model }) => { - return [ - { - required: model.trainingType === 1, - validator: () => { - return new Promise((resolve, reject) => { - if (!hasValue(model?.dgSum)) { - return reject('请输入单选数量!'); - } - if (!isNonNegativeString(model.dgSum)) { - return reject('请检查单选输入格式!'); - } - if (!hasValue(model?.dxSum)) { - return reject('请输入多选数量!'); - } - if (!isNonNegativeString(model.dxSum)) { - return reject('请检查多选输入格式!'); - } - if (!hasValue(model?.pdSum)) { - return reject('请输入判断数量!'); - } - if (!isNonNegativeString(model?.pdSum)) { - return reject('请检查判断输入格式!'); - } - const n1 = Number(model.dgSum) + Number(model.dxSum) + Number(model.pdSum); - const n2 = Number(model.questionSum); - if (n1 !== n2) { - return reject('随机抽题数量与题目类型数量不符'); - } - model.examScore = getSumScore(model); - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '', - field: 'dgSum', - component: 'InputNumber', - show: false, - }, - { - label: '', - field: 'dxSum', - component: 'InputNumber', - show: false, - }, - { - label: '', - field: 'pdSum', - component: 'InputNumber', - show: false, - }, - { - label: '答题时长(分钟)', - field: 'answerTime', - component: 'InputNumber', - ifShow: ({ values }) => values.trainingType == 1, - componentProps: () => ({ - style: { - width: '100%', - }, - }), - dynamicRules: ({ model }) => { - return [ - { - required: model.trainingType === 1, - validator: () => { - return new Promise((resolve, reject) => { - if (!model?.answerTime) { - return reject('请输入答题时长(分钟)!'); - } - if (!isNonNegativeString(model?.answerTime)) { - reject('请检查输入格式!'); - } - - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '单选题分值', - field: 'dgScore', - component: 'InputNumber', - ifShow: ({ values }) => values.trainingType == 1, - componentProps: () => ({ - style: { - width: '100%', - }, - }), - dynamicRules: ({ model }) => { - return [ - { - required: model.trainingType === 1, - validator: () => { - return new Promise((resolve, reject) => { - if (!hasValue(model?.dgScore)) { - return reject('请输入单选题分值!'); - } - if (!isNonNegativeString(model?.dgScore)) { - reject('请检查输入格式!'); - } - model.examScore = getSumScore(model); - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '多选题分值', - field: 'dxScore', - component: 'InputNumber', - ifShow: ({ values }) => values.trainingType == 1, - componentProps: () => ({ - style: { - width: '100%', - }, - }), - dynamicRules: ({ model }) => { - return [ - { - required: model.trainingType === 1, - validator: () => { - return new Promise((resolve, reject) => { - if (!hasValue(model?.dxScore)) { - return reject('请输入多选题分值!'); - } - if (!isNonNegativeString(model?.dxScore)) { - reject('请检查输入格式!'); - } - model.examScore = getSumScore(model); - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '判断题分值', - field: 'pdScore', - component: 'InputNumber', - ifShow: ({ values }) => values.trainingType == 1, - componentProps: () => ({ - style: { - width: '100%', - }, - }), - dynamicRules: ({ model }) => { - return [ - { - required: model.trainingType === 1, - validator: () => { - return new Promise((resolve, reject) => { - if (!hasValue(model?.pdScore)) { - return reject('请输入判断题分值!'); - } - if (!isNonNegativeString(model?.pdScore)) { - reject('请检查输入格式!'); - } - model.examScore = getSumScore(model); - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '答题总分', - field: 'examScore', - component: 'InputNumber', - componentProps: () => ({ - disabled: true, - }), - dynamicRules: ({ model }) => { - return [{ required: model.trainingType === 1, message: '请输入答题总分' }]; - }, - ifShow: ({ values }) => values.trainingType == 1, - }, - { - field: 'id', - label: '', - component: 'Input', - show: false, - }, - { - field: 'ruleId', - label: '', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/videoTrainingManagement.vue b/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/videoTrainingManagement.vue deleted file mode 100644 index 7353035..0000000 --- a/src/views/interveneNew/cardiovascular/firstAidTraining/videoTrainingManagement/videoTrainingManagement.vue +++ /dev/null @@ -1,107 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/heartAttack/earlyWarningResearch/components/earlyWarningResearchModal.vue b/src/views/interveneNew/cardiovascular/heartAttack/earlyWarningResearch/components/earlyWarningResearchModal.vue deleted file mode 100644 index a823a21..0000000 --- a/src/views/interveneNew/cardiovascular/heartAttack/earlyWarningResearch/components/earlyWarningResearchModal.vue +++ /dev/null @@ -1,132 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/heartAttack/earlyWarningResearch/components/settingThreshold.vue b/src/views/interveneNew/cardiovascular/heartAttack/earlyWarningResearch/components/settingThreshold.vue deleted file mode 100644 index 438dbe3..0000000 --- a/src/views/interveneNew/cardiovascular/heartAttack/earlyWarningResearch/components/settingThreshold.vue +++ /dev/null @@ -1,96 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/heartAttack/earlyWarningResearch/earlyWarningResearch.api.ts b/src/views/interveneNew/cardiovascular/heartAttack/earlyWarningResearch/earlyWarningResearch.api.ts deleted file mode 100644 index dddfd8a..0000000 --- a/src/views/interveneNew/cardiovascular/heartAttack/earlyWarningResearch/earlyWarningResearch.api.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/prevention/angiocarpyPreventionWarning/list', - settingList = '/health-intervene/prevention/angiocarpyPreventionValueSetting/list', - editSetting = '/health-intervene/prevention/angiocarpyPreventionValueSetting/edit', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); - -export const settingListApi = (params: any) => defHttp.get({ url: Api.settingList, params: params }); - -export const editSettingApi = (params: any) => defHttp.put({ url: Api.editSetting, params: params }); diff --git a/src/views/interveneNew/cardiovascular/heartAttack/earlyWarningResearch/earlyWarningResearch.data.ts b/src/views/interveneNew/cardiovascular/heartAttack/earlyWarningResearch/earlyWarningResearch.data.ts deleted file mode 100644 index a4aec5c..0000000 --- a/src/views/interveneNew/cardiovascular/heartAttack/earlyWarningResearch/earlyWarningResearch.data.ts +++ /dev/null @@ -1,226 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfo } from '/@/utils/orgSearchInfo'; -import { HeaderColumns } from '/@/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/earlyWarningHistory.data'; -import { h } from 'vue'; - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'orgName', - align: 'center', - width: 120, - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'departName', - align: 'center', - width: 120, - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'realName', - align: 'center', - width: 120, - fixed: 'left', - }, - { - title: '员工工号', - dataIndex: 'workNo', - align: 'center', - width: 120, - }, - { - title: '身高\n(cm)', - dataIndex: 'height', - align: 'center', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - width: 80, - }, - { - title: '体重\n(kg)', - dataIndex: 'weight', - align: 'center', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - width: 80, - }, - { - title: '预警时间', - dataIndex: 'warningData', - align: 'center', - width: 150, - }, - { - title: '预警时设备数据', - dataIndex: '', - align: 'center', - children: [ - { - title: '心率(次/分钟)', - dataIndex: 'heartRate', - align: 'center', - width: 140, - }, - { - title: '血氧(%)', - dataIndex: 'spo', - align: 'center', - width: 100, - }, - { - title: '体温(℃)', - dataIndex: 'temperature', - align: 'center', - width: 100, - }, - { - title: '压力', - dataIndex: 'stress', - align: 'center', - width: 100, - }, - { - title: '睡眠', - dataIndex: 'sleep', - align: 'center', - width: 100, - }, - ], - }, - { - title: '风险因素数据', - dataIndex: 'riskData', - align: 'center', - width: 140, - }, - { - title: '突发心梗风险值', - dataIndex: 'riskMiValue', - align: 'center', - width: 150, - customRender: ({ text }) => { - return riskType(text); - }, - }, - { - title: '突发猝死风险值', - dataIndex: 'riskSuddenDeathValue', - align: 'center', - width: 150, - customRender: ({ text }) => { - return riskType(text); - }, - }, -]; -// 低风险:0 ~ 3 -// 中风险:3 ~ 6 -// 高风险:>6 -function riskType(e) { - if (e > 0 && e < 3) { - // return `${e}(低风险)`; - return h('span', { style: { color: '#000' } }, `${e}(低风险)`); - } else if (e >= 3 && e < 6) { - return h('span', { style: { color: '#ffa500' } }, `${e}(中风险)`); - } else { - return h('span', { style: { color: '#f00' } }, `${e}(高风险)`); - } -} - -export const searchSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'realName', - component: 'JInput', - }, - { - label: '员工工号', - field: 'workNo', - component: 'JInput', - }, - ...orgSearchInfo({ - orgName: '所属单位', - orgPlaceholder: '请选择所属单位', - deptName: '所属部门', - deptPlaceholder: '请选择所属部门', - deptMessage: '请先选择所属单位', - orgField: 'orgCode', - deptFiled: 'deptCode', - orgCode: 'orgCode1', - }), -]; - -export const headerColumns: HeaderColumns[] = [ - { - label: '单位名称:', - value: '', - key: 'orgName', - show: true, - }, - { - label: '部门名称:', - value: '', - key: 'departName', - show: true, - }, - { - label: '员工姓名:', - value: '', - key: 'realName', - show: true, - }, - { - label: '员工工号:', - value: '', - key: 'workNo', - show: true, - }, - { - label: '性别:', - value: '', - key: 'sex_dictText', - show: true, - }, - { - label: '年龄:', - value: '', - key: 'age', - show: true, - }, - { - label: '预警时间:', - value: '', - key: 'warningData', - show: true, - }, - { - label: '突发心梗风险值:', - value: '', - key: 'riskMiValue', - show: true, - customRender: (record) => { - return riskType(record?.riskMiValue); - }, - }, - { - label: '突发猝死风险值:', - value: '', - key: 'riskSuddenDeathValue', - show: true, - customRender: (record) => { - return riskType(record?.riskSuddenDeathValue); - }, - }, -]; diff --git a/src/views/interveneNew/cardiovascular/heartAttack/earlyWarningResearch/earlyWarningResearch.vue b/src/views/interveneNew/cardiovascular/heartAttack/earlyWarningResearch/earlyWarningResearch.vue deleted file mode 100644 index 892bc20..0000000 --- a/src/views/interveneNew/cardiovascular/heartAttack/earlyWarningResearch/earlyWarningResearch.vue +++ /dev/null @@ -1,65 +0,0 @@ - - diff --git a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/components/questionnaireData.vue b/src/views/interveneNew/cardiovascular/heartAttack/userInfo/components/questionnaireData.vue deleted file mode 100644 index 34f74a1..0000000 --- a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/components/questionnaireData.vue +++ /dev/null @@ -1,102 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/allLook.vue b/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/allLook.vue deleted file mode 100644 index ffda00b..0000000 --- a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/allLook.vue +++ /dev/null @@ -1,32 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/allLookItem.vue b/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/allLookItem.vue deleted file mode 100644 index e1abd95..0000000 --- a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/allLookItem.vue +++ /dev/null @@ -1,306 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/bloodOxygen.vue b/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/bloodOxygen.vue deleted file mode 100644 index fc201f6..0000000 --- a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/bloodOxygen.vue +++ /dev/null @@ -1,192 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/heartRate.vue b/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/heartRate.vue deleted file mode 100644 index b0fa7f7..0000000 --- a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/heartRate.vue +++ /dev/null @@ -1,193 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/motion.vue b/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/motion.vue deleted file mode 100644 index 0c4881a..0000000 --- a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/motion.vue +++ /dev/null @@ -1,121 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/pressure.vue b/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/pressure.vue deleted file mode 100644 index 0fed32f..0000000 --- a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/pressure.vue +++ /dev/null @@ -1,187 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/publicTitle.vue b/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/publicTitle.vue deleted file mode 100644 index 83166f2..0000000 --- a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/publicTitle.vue +++ /dev/null @@ -1,260 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/sleep.vue b/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/sleep.vue deleted file mode 100644 index 5add360..0000000 --- a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/sleep.vue +++ /dev/null @@ -1,376 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/stepNumber.vue b/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/stepNumber.vue deleted file mode 100644 index cdfb5c5..0000000 --- a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/stepNumber.vue +++ /dev/null @@ -1,194 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/temperature.vue b/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/temperature.vue deleted file mode 100644 index f1dc18b..0000000 --- a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/temperature.vue +++ /dev/null @@ -1,209 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/userInfoModal.vue b/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/userInfoModal.vue deleted file mode 100644 index c66cd59..0000000 --- a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/componets/userInfoModal.vue +++ /dev/null @@ -1,105 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/userInfo.api.ts b/src/views/interveneNew/cardiovascular/heartAttack/userInfo/userInfo.api.ts deleted file mode 100644 index b01bef9..0000000 --- a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/userInfo.api.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-watch/watch/watchData/list', - queryAllStatistics = '/health-watch/watch/watchData/queryAllStatistics', - suddenByUserId = '/health-intervene/api/risk/riskMyocardialSuddenDeath/selectSuddenDeathQuestionByUserId', - // 心率 - queryHeartRateStatistics = '/health-watch/watch/watchData/queryHeartRateStatistics', - queryHeartRateStatisticsPage = '/health-watch/watch/watchData/queryHeartRateStatisticsPage', - // 血氧 - queryBloodOxygenStatistics = '/health-watch/watch/watchData/queryBloodOxygenStatistics', - queryBloodOxygenStatisticsPage = '/health-watch/watch/watchData/queryBloodOxygenStatisticsPage', - // 压力 - queryStressStatistics = '/health-watch/watch/watchData/queryStressStatistics', - queryStressStatisticsPage = '/health-watch/watch/watchData/queryStressStatisticsPage', - // 睡眠 - querySleepStatistics = '/health-watch/watch/watchData/querySleepStatistics', - querySleepStatisticsPage = '/health-watch/watch/watchData/querySleepStatisticsPage', - // 体温 - queryBodyTemperatureStat = '/health-watch/watch/watchData/queryBodyTemperatureStat', - queryBodyTemperatureStatPage = '/health-watch/watch/watchData/queryBodyTemperatureStatPage', - // 锻炼 - queryExercisePage = '/health-watch/watch/watchData/queryExercisePage', - // 步数 - queryStepStatistics = '/health-watch/watch/watchData/queryStepStatistics', - queryStepStatisticsPage = '/health-watch/watch/watchData/queryStepStatisticsPage', - // 获取bindDate - bindInfoByUser = '/health-watch/watch/watchBindHis/bindInfoByUser', - // 获取是否有数据 - userDataDayByYear = '/health-watch/watch/watchData/userDataDayByYear', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); - -export const suddenByUserIdApi = (params: any) => defHttp.get({ url: Api.suddenByUserId, params: params }); -export const userDataDayByYearApi = (params: any) => defHttp.get({ url: Api.userDataDayByYear, params: params }); - -// 心率 -export const queryHeartRateStatisticsApi = (params: any) => - defHttp.post({ url: Api.queryHeartRateStatistics, params: params }, { isTransformResponse: false }); -export const queryHeartRateStatisticsPageApi = (params: any) => defHttp.post({ url: Api.queryHeartRateStatisticsPage, params: params }); - -// 血氧 -export const queryBloodOxygenStatisticsApi = (params: any) => - defHttp.post({ url: Api.queryBloodOxygenStatistics, params: params }, { isTransformResponse: false }); -export const queryBloodOxygenStatisticsPageApi = (params: any) => defHttp.post({ url: Api.queryBloodOxygenStatisticsPage, params: params }); -export const queryAllStatisticsApi = (params: any) => defHttp.get({ url: Api.queryAllStatistics, params: params }); - -export const bindInfoByUserApi = (params: any) => defHttp.get({ url: Api.bindInfoByUser, params: params }); -// 压力 -export const queryStressStatisticsApi = (params: any) => - defHttp.post({ url: Api.queryStressStatistics, params: params }, { isTransformResponse: false }); -export const queryStressStatisticsPageApi = (params: any) => defHttp.post({ url: Api.queryStressStatisticsPage, params: params }); -// 睡眠 -export const querySleepStatisticsApi = (params: any) => - defHttp.post({ url: Api.querySleepStatistics, params: params }, { isTransformResponse: false }); -export const querySleepStatisticsPageApi = (params: any) => defHttp.post({ url: Api.querySleepStatisticsPage, params: params }); -// 体温 -export const queryBodyTemperatureStatApi = (params: any) => - defHttp.post({ url: Api.queryBodyTemperatureStat, params: params }, { isTransformResponse: false }); -export const queryBodyTemperatureStatPageApi = (params: any) => defHttp.post({ url: Api.queryBodyTemperatureStatPage, params: params }); -// 锻炼 -export const queryExercisePageApi = (params: any) => defHttp.post({ url: Api.queryExercisePage, params: params }); -// 步数 -export const queryStepStatisticsApi = (params: any) => defHttp.post({ url: Api.queryStepStatistics, params: params }, { isTransformResponse: false }); -export const queryStepStatisticsPageApi = (params: any) => defHttp.post({ url: Api.queryStepStatisticsPage, params: params }); diff --git a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/userInfo.data.ts b/src/views/interveneNew/cardiovascular/heartAttack/userInfo/userInfo.data.ts deleted file mode 100644 index 1695b09..0000000 --- a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/userInfo.data.ts +++ /dev/null @@ -1,390 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { allSecondaryDepartsNew, getThirdDepartsNew } from '/@/utils/system/api'; -import { message } from 'ant-design-vue'; -import { HeaderColumns } from '/@/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/earlyWarningHistory.data'; - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'unit', - align: 'center', - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'department', - align: 'center', - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'username', - align: 'center', - fixed: 'left', - }, - { - title: '员工工号', - dataIndex: 'workNo', - align: 'center', - }, - { - title: '工具编码', - dataIndex: 'watchNo', - align: 'center', - }, - { - title: '最新数据', - children: [ - { - title: '心率(次/分钟)', - dataIndex: 'heartRate', - align: 'center', - }, - { - title: '血氧(%)', - dataIndex: 'bloodOxygen', - align: 'center', - }, - { - title: '压力', - dataIndex: 'pressure', - align: 'center', - }, - { - title: '睡眠(分钟)', - dataIndex: 'sleepTime', - align: 'center', - }, - { - title: '体温(℃)', - dataIndex: 'temperature', - align: 'center', - }, - { - title: '锻炼(千卡)', - dataIndex: 'exercise', - align: 'center', - }, - { - title: '步数(米)', - dataIndex: 'stepNumber', - align: 'center', - }, - ], - }, -]; - -export const searchSchema: FormSchema[] = [ - { - label: '单位名称', - field: 'orgCode1', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - // const { getVal, val, disabled } = initD(); - // getVal('orgCode'); - // schema.defaultValue = val.value; - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位名称', - immediate: true, - // disabled: disabled, - onChange: () => { - formModel.orgCode2 = ''; - }, - // afterFetch: () => { - // getAnyFromOther().r(); - // }, - onDeselect: () => { - formModel.orgCode = ''; - formModel.orgCode2 = ''; - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '部门名称', - field: 'orgCode2', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - // const { thirdSelectValue, thirdSelectDisabled } = useDepartment({ schema, key: 'orgCode' }); - // thirdSelectValue(); - return { - api: getThirdDepartsNew, - resultField: 'list', - labelField: 'departName', - params: { - idOrCode: formModel?.orgCode1 || '12313', - }, - valueField: 'orgCode', - immediate: true, - onFocus: () => { - if (!formModel.orgCode1) { - return message.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - // disabled: thirdSelectDisabled, - }; - }, - }, - { - label: '员工姓名', - field: 'username', - component: 'Input', - }, - { - label: '工具编码', - field: 'watchNo', - component: 'Input', - }, - { - label: '员工编号', - field: 'workNo', - component: 'Input', - }, -]; - -export const headerColumns: HeaderColumns[] = [ - { - label: '员工姓名:', - value: '', - key: 'username', - show: true, - }, - { - label: '员工工号:', - value: '', - key: 'workNo', - show: true, - }, - { - label: '工具编码:', - value: '', - key: 'watchNo', - show: true, - }, - { - label: '所属单位:', - value: '', - key: 'unit', - show: true, - }, - { - label: '所属部门:', - value: '', - key: 'department', - show: true, - }, - { - label: '绑定日期:', - value: '', - key: 'bindDate', - show: true, - }, -]; -export const bloodOxygenColumns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '血氧值(%)', - dataIndex: 'dataValue', - align: 'center', - }, - { - title: '测量时间', - dataIndex: 'timeStamp', - align: 'center', - }, -]; -export const temperatureColumns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '体温(℃)', - dataIndex: 'dataValue', - align: 'center', - }, - { - title: '体表温度(℃)', - dataIndex: 'skinTempera', - align: 'center', - }, - { - title: '测量时间', - dataIndex: 'timeStamp', - align: 'center', - }, -]; -export const stepNumberColumns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '步数', - dataIndex: 'stepValue', - align: 'center', - }, - { - title: '距离(米)', - dataIndex: 'distanceValue', - align: 'center', - }, - { - title: '卡路里(卡)', - dataIndex: 'calorieValue', - align: 'center', - }, - { - title: '数据日期', - dataIndex: 'dataDate', - align: 'center', - }, -]; -export const sleepColumns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '睡眠类型', - dataIndex: 'sleepType_dictText', - align: 'center', - }, - { - title: '睡眠时长(分钟)', - dataIndex: 'silenceValue', - align: 'center', - customRender: ({ record }) => { - // @ts-ignore - return (new Date(record?.endTime).getTime() - new Date(record?.startTime).getTime()) / (60 * 1000); - }, - }, - { - title: '睡眠开始时间', - dataIndex: 'startTime', - align: 'center', - }, - { - title: '睡眠结束时间', - dataIndex: 'endTime', - align: 'center', - }, -]; -export const pressureColumns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '压力值', - dataIndex: 'dataValue', - align: 'center', - }, - { - title: '测量开始时间', - dataIndex: 'startTimeStamp', - align: 'center', - }, - { - title: '测量结束时间', - dataIndex: 'endTimeStamp', - align: 'center', - }, -]; -export const motionColumns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '锻炼类型', - dataIndex: 'workoutType_dictText', - align: 'center', - }, - { - title: '距离(米)', - dataIndex: 'distance', - align: 'center', - }, - { - title: '卡路里(千卡)', - dataIndex: 'calorie', - align: 'center', - }, - { - title: '锻炼开始时间', - dataIndex: 'startTimeStamp', - align: 'center', - }, - { - title: '锻炼结束时间', - dataIndex: 'endTimeStamp', - align: 'center', - }, -]; -export const heartRateColumns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '心率(次/分钟)', - dataIndex: 'dataValue', - align: 'center', - }, - { - title: '静息心率(次/分钟)', - dataIndex: 'silenceValue', - align: 'center', - }, - { - title: '测量时间', - dataIndex: 'timeStamp', - align: 'center', - }, -]; diff --git a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/userInfo.vue b/src/views/interveneNew/cardiovascular/heartAttack/userInfo/userInfo.vue deleted file mode 100644 index 9796aa9..0000000 --- a/src/views/interveneNew/cardiovascular/heartAttack/userInfo/userInfo.vue +++ /dev/null @@ -1,79 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/preventingStroke/earlyWarningResearch/components/earlyWarningResearchModal.vue b/src/views/interveneNew/cardiovascular/preventingStroke/earlyWarningResearch/components/earlyWarningResearchModal.vue deleted file mode 100644 index e6e3f88..0000000 --- a/src/views/interveneNew/cardiovascular/preventingStroke/earlyWarningResearch/components/earlyWarningResearchModal.vue +++ /dev/null @@ -1,132 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/preventingStroke/earlyWarningResearch/components/settingThreshold.vue b/src/views/interveneNew/cardiovascular/preventingStroke/earlyWarningResearch/components/settingThreshold.vue deleted file mode 100644 index 55c9cf0..0000000 --- a/src/views/interveneNew/cardiovascular/preventingStroke/earlyWarningResearch/components/settingThreshold.vue +++ /dev/null @@ -1,96 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/preventingStroke/earlyWarningResearch/earlyWarningResearch.api.ts b/src/views/interveneNew/cardiovascular/preventingStroke/earlyWarningResearch/earlyWarningResearch.api.ts deleted file mode 100644 index dddfd8a..0000000 --- a/src/views/interveneNew/cardiovascular/preventingStroke/earlyWarningResearch/earlyWarningResearch.api.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/prevention/angiocarpyPreventionWarning/list', - settingList = '/health-intervene/prevention/angiocarpyPreventionValueSetting/list', - editSetting = '/health-intervene/prevention/angiocarpyPreventionValueSetting/edit', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); - -export const settingListApi = (params: any) => defHttp.get({ url: Api.settingList, params: params }); - -export const editSettingApi = (params: any) => defHttp.put({ url: Api.editSetting, params: params }); diff --git a/src/views/interveneNew/cardiovascular/preventingStroke/earlyWarningResearch/earlyWarningResearch.data.ts b/src/views/interveneNew/cardiovascular/preventingStroke/earlyWarningResearch/earlyWarningResearch.data.ts deleted file mode 100644 index 1cdf62b..0000000 --- a/src/views/interveneNew/cardiovascular/preventingStroke/earlyWarningResearch/earlyWarningResearch.data.ts +++ /dev/null @@ -1,223 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfo } from '/@/utils/orgSearchInfo'; -import { HeaderColumns } from '/@/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/earlyWarningHistory.data'; -import { h } from 'vue'; -import { getRiskLevel } from '/@/views/interveneNew/cancer/immuneAlarm/immuneHistory/immuneHistory.data'; - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'orgName', - align: 'center', - width: 120, - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'departName', - align: 'center', - width: 120, - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'realName', - align: 'center', - width: 120, - fixed: 'left', - }, - { - title: '员工工号', - dataIndex: 'workNo', - align: 'center', - width: 120, - }, - { - title: '身高\n(cm)', - dataIndex: 'height', - align: 'center', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - width: 80, - }, - { - title: '体重\n(kg)', - dataIndex: 'weight', - align: 'center', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - width: 80, - }, - { - title: '预警时间', - dataIndex: 'warningData', - align: 'center', - width: 150, - }, - { - title: '预警时设备数据', - dataIndex: '', - align: 'center', - children: [ - { - title: '心率(次/分钟)', - dataIndex: 'heartRate', - align: 'center', - width: 140, - }, - { - title: '血氧(%)', - dataIndex: 'spo', - align: 'center', - width: 100, - }, - { - title: '体温(℃)', - dataIndex: 'temperature', - align: 'center', - width: 100, - }, - { - title: '压力', - dataIndex: 'stress', - align: 'center', - width: 100, - }, - { - title: '睡眠', - dataIndex: 'sleep', - align: 'center', - width: 120, - }, - ], - }, - { - title: '风险因素数据', - dataIndex: 'riskData', - align: 'center', - width: 140, - }, - { - title: '突发脑梗风险值', - dataIndex: 'riskCiValue', - align: 'center', - width: 150, - customRender: ({ text }) => { - return riskType(text); - }, - }, - { - title: '突发脑出血风险值', - dataIndex: 'riskChValue', - align: 'center', - width: 150, - customRender: ({ text }) => { - return riskType(text); - }, - }, -]; -function riskType(e) { - if (e > 0 && e < 3) { - // return `${e}(低风险)`; - return h('span', { style: { color: '#000' } }, `${e}(低风险)`); - } else if (e >= 3 && e < 6) { - return h('span', { style: { color: '#ffa500' } }, `${e}(中风险)`); - } else { - return h('span', { style: { color: '#f00' } }, `${e}(高风险)`); - } -} -export const searchSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'realName', - component: 'JInput', - }, - { - label: '员工工号', - field: 'workNo', - component: 'JInput', - }, - ...orgSearchInfo({ - orgName: '所属单位', - orgPlaceholder: '请选择所属单位', - deptName: '所属部门', - deptPlaceholder: '请选择所属部门', - deptMessage: '请先选择所属单位', - orgField: 'orgCode', - deptFiled: 'deptCode', - orgCode: 'orgCode1', - }), -]; - -export const headerColumns: HeaderColumns[] = [ - { - label: '单位名称:', - value: '', - key: 'orgName', - show: true, - }, - { - label: '部门名称:', - value: '', - key: 'departName', - show: true, - }, - { - label: '员工姓名:', - value: '', - key: 'realName', - show: true, - }, - { - label: '员工工号:', - value: '', - key: 'workNo', - show: true, - }, - { - label: '性别:', - value: '', - key: 'watchNo', - show: true, - }, - { - label: '年龄:', - value: '', - key: 'age', - show: true, - }, - { - label: '预警时间:', - value: '', - key: 'warningData', - show: true, - }, - { - label: '突发脑梗风险值:', - value: '', - key: 'riskCiValue', - customRender: (record) => { - return riskType(record?.riskCiValue); - }, - show: true, - }, - { - label: '突发脑出血风险值:', - value: '', - key: 'riskChValue', - customRender: (record) => { - return riskType(record?.riskChValue); - }, - show: true, - }, -]; diff --git a/src/views/interveneNew/cardiovascular/preventingStroke/earlyWarningResearch/earlyWarningResearch.vue b/src/views/interveneNew/cardiovascular/preventingStroke/earlyWarningResearch/earlyWarningResearch.vue deleted file mode 100644 index 05a8cef..0000000 --- a/src/views/interveneNew/cardiovascular/preventingStroke/earlyWarningResearch/earlyWarningResearch.vue +++ /dev/null @@ -1,65 +0,0 @@ - - diff --git a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/components/questionnaireData.vue b/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/components/questionnaireData.vue deleted file mode 100644 index e42684a..0000000 --- a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/components/questionnaireData.vue +++ /dev/null @@ -1,103 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/allLook.vue b/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/allLook.vue deleted file mode 100644 index 8f257d8..0000000 --- a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/allLook.vue +++ /dev/null @@ -1,32 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/allLookItem.vue b/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/allLookItem.vue deleted file mode 100644 index e1abd95..0000000 --- a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/allLookItem.vue +++ /dev/null @@ -1,306 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/bloodOxygen.vue b/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/bloodOxygen.vue deleted file mode 100644 index 975e8e5..0000000 --- a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/bloodOxygen.vue +++ /dev/null @@ -1,192 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/heartRate.vue b/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/heartRate.vue deleted file mode 100644 index 11eefbd..0000000 --- a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/heartRate.vue +++ /dev/null @@ -1,193 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/motion.vue b/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/motion.vue deleted file mode 100644 index c9d8925..0000000 --- a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/motion.vue +++ /dev/null @@ -1,120 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/pressure.vue b/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/pressure.vue deleted file mode 100644 index 8a7e42b..0000000 --- a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/pressure.vue +++ /dev/null @@ -1,189 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/publicTitle.vue b/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/publicTitle.vue deleted file mode 100644 index 6e93321..0000000 --- a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/publicTitle.vue +++ /dev/null @@ -1,260 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/sleep.vue b/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/sleep.vue deleted file mode 100644 index 8634c53..0000000 --- a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/sleep.vue +++ /dev/null @@ -1,378 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/stepNumber.vue b/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/stepNumber.vue deleted file mode 100644 index 6cd900f..0000000 --- a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/stepNumber.vue +++ /dev/null @@ -1,193 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/temperature.vue b/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/temperature.vue deleted file mode 100644 index a3e7026..0000000 --- a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/temperature.vue +++ /dev/null @@ -1,208 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/userInfoModal.vue b/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/userInfoModal.vue deleted file mode 100644 index 3aee003..0000000 --- a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/componets/userInfoModal.vue +++ /dev/null @@ -1,105 +0,0 @@ - - - diff --git a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/userInfo.api.ts b/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/userInfo.api.ts deleted file mode 100644 index ab3bb87..0000000 --- a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/userInfo.api.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-watch/watch/watchData/list', - - dataList = '/health-intervene/prevention/angiocarpyPreventionWarning/list', - queryAllStatistics = '/health-watch/watch/watchData/queryAllStatistics', - // 心率 - queryHeartRateStatistics = '/health-watch/watch/watchData/queryHeartRateStatistics', - queryHeartRateStatisticsPage = '/health-watch/watch/watchData/queryHeartRateStatisticsPage', - // 血氧 - queryBloodOxygenStatistics = '/health-watch/watch/watchData/queryBloodOxygenStatistics', - queryBloodOxygenStatisticsPage = '/health-watch/watch/watchData/queryBloodOxygenStatisticsPage', - // 压力 - queryStressStatistics = '/health-watch/watch/watchData/queryStressStatistics', - queryStressStatisticsPage = '/health-watch/watch/watchData/queryStressStatisticsPage', - // 睡眠 - querySleepStatistics = '/health-watch/watch/watchData/querySleepStatistics', - querySleepStatisticsPage = '/health-watch/watch/watchData/querySleepStatisticsPage', - // 体温 - queryBodyTemperatureStat = '/health-watch/watch/watchData/queryBodyTemperatureStat', - queryBodyTemperatureStatPage = '/health-watch/watch/watchData/queryBodyTemperatureStatPage', - // 锻炼 - queryExercisePage = '/health-watch/watch/watchData/queryExercisePage', - // 步数 - queryStepStatistics = '/health-watch/watch/watchData/queryStepStatistics', - queryStepStatisticsPage = '/health-watch/watch/watchData/queryStepStatisticsPage', - // 获取bindDate - bindInfoByUser = '/health-watch/watch/watchBindHis/bindInfoByUser', - // 获取是否有数据 - userDataDayByYear = '/health-watch/watch/watchData/userDataDayByYear', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); - -export const userDataDayByYearApi = (params: any) => defHttp.get({ url: Api.userDataDayByYear, params: params }); - -// 心率 -export const queryHeartRateStatisticsApi = (params: any) => - defHttp.post({ url: Api.queryHeartRateStatistics, params: params }, { isTransformResponse: false }); -export const queryHeartRateStatisticsPageApi = (params: any) => defHttp.post({ url: Api.queryHeartRateStatisticsPage, params: params }); - -// 血氧 -export const queryBloodOxygenStatisticsApi = (params: any) => - defHttp.post({ url: Api.queryBloodOxygenStatistics, params: params }, { isTransformResponse: false }); -export const queryBloodOxygenStatisticsPageApi = (params: any) => defHttp.post({ url: Api.queryBloodOxygenStatisticsPage, params: params }); -export const queryAllStatisticsApi = (params: any) => defHttp.get({ url: Api.queryAllStatistics, params: params }); - -export const bindInfoByUserApi = (params: any) => defHttp.get({ url: Api.bindInfoByUser, params: params }); -// 压力 -export const queryStressStatisticsApi = (params: any) => - defHttp.post({ url: Api.queryStressStatistics, params: params }, { isTransformResponse: false }); -export const queryStressStatisticsPageApi = (params: any) => defHttp.post({ url: Api.queryStressStatisticsPage, params: params }); -// 睡眠 -export const querySleepStatisticsApi = (params: any) => - defHttp.post({ url: Api.querySleepStatistics, params: params }, { isTransformResponse: false }); -export const querySleepStatisticsPageApi = (params: any) => defHttp.post({ url: Api.querySleepStatisticsPage, params: params }); -// 体温 -export const queryBodyTemperatureStatApi = (params: any) => - defHttp.post({ url: Api.queryBodyTemperatureStat, params: params }, { isTransformResponse: false }); -export const queryBodyTemperatureStatPageApi = (params: any) => defHttp.post({ url: Api.queryBodyTemperatureStatPage, params: params }); -// 锻炼 -export const queryExercisePageApi = (params: any) => defHttp.post({ url: Api.queryExercisePage, params: params }); -// 步数 -export const queryStepStatisticsApi = (params: any) => defHttp.post({ url: Api.queryStepStatistics, params: params }, { isTransformResponse: false }); -export const queryStepStatisticsPageApi = (params: any) => defHttp.post({ url: Api.queryStepStatisticsPage, params: params }); diff --git a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/userInfo.data.ts b/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/userInfo.data.ts deleted file mode 100644 index 1695b09..0000000 --- a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/userInfo.data.ts +++ /dev/null @@ -1,390 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { allSecondaryDepartsNew, getThirdDepartsNew } from '/@/utils/system/api'; -import { message } from 'ant-design-vue'; -import { HeaderColumns } from '/@/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/earlyWarningHistory.data'; - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'unit', - align: 'center', - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'department', - align: 'center', - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'username', - align: 'center', - fixed: 'left', - }, - { - title: '员工工号', - dataIndex: 'workNo', - align: 'center', - }, - { - title: '工具编码', - dataIndex: 'watchNo', - align: 'center', - }, - { - title: '最新数据', - children: [ - { - title: '心率(次/分钟)', - dataIndex: 'heartRate', - align: 'center', - }, - { - title: '血氧(%)', - dataIndex: 'bloodOxygen', - align: 'center', - }, - { - title: '压力', - dataIndex: 'pressure', - align: 'center', - }, - { - title: '睡眠(分钟)', - dataIndex: 'sleepTime', - align: 'center', - }, - { - title: '体温(℃)', - dataIndex: 'temperature', - align: 'center', - }, - { - title: '锻炼(千卡)', - dataIndex: 'exercise', - align: 'center', - }, - { - title: '步数(米)', - dataIndex: 'stepNumber', - align: 'center', - }, - ], - }, -]; - -export const searchSchema: FormSchema[] = [ - { - label: '单位名称', - field: 'orgCode1', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - // const { getVal, val, disabled } = initD(); - // getVal('orgCode'); - // schema.defaultValue = val.value; - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位名称', - immediate: true, - // disabled: disabled, - onChange: () => { - formModel.orgCode2 = ''; - }, - // afterFetch: () => { - // getAnyFromOther().r(); - // }, - onDeselect: () => { - formModel.orgCode = ''; - formModel.orgCode2 = ''; - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '部门名称', - field: 'orgCode2', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - // const { thirdSelectValue, thirdSelectDisabled } = useDepartment({ schema, key: 'orgCode' }); - // thirdSelectValue(); - return { - api: getThirdDepartsNew, - resultField: 'list', - labelField: 'departName', - params: { - idOrCode: formModel?.orgCode1 || '12313', - }, - valueField: 'orgCode', - immediate: true, - onFocus: () => { - if (!formModel.orgCode1) { - return message.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - // disabled: thirdSelectDisabled, - }; - }, - }, - { - label: '员工姓名', - field: 'username', - component: 'Input', - }, - { - label: '工具编码', - field: 'watchNo', - component: 'Input', - }, - { - label: '员工编号', - field: 'workNo', - component: 'Input', - }, -]; - -export const headerColumns: HeaderColumns[] = [ - { - label: '员工姓名:', - value: '', - key: 'username', - show: true, - }, - { - label: '员工工号:', - value: '', - key: 'workNo', - show: true, - }, - { - label: '工具编码:', - value: '', - key: 'watchNo', - show: true, - }, - { - label: '所属单位:', - value: '', - key: 'unit', - show: true, - }, - { - label: '所属部门:', - value: '', - key: 'department', - show: true, - }, - { - label: '绑定日期:', - value: '', - key: 'bindDate', - show: true, - }, -]; -export const bloodOxygenColumns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '血氧值(%)', - dataIndex: 'dataValue', - align: 'center', - }, - { - title: '测量时间', - dataIndex: 'timeStamp', - align: 'center', - }, -]; -export const temperatureColumns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '体温(℃)', - dataIndex: 'dataValue', - align: 'center', - }, - { - title: '体表温度(℃)', - dataIndex: 'skinTempera', - align: 'center', - }, - { - title: '测量时间', - dataIndex: 'timeStamp', - align: 'center', - }, -]; -export const stepNumberColumns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '步数', - dataIndex: 'stepValue', - align: 'center', - }, - { - title: '距离(米)', - dataIndex: 'distanceValue', - align: 'center', - }, - { - title: '卡路里(卡)', - dataIndex: 'calorieValue', - align: 'center', - }, - { - title: '数据日期', - dataIndex: 'dataDate', - align: 'center', - }, -]; -export const sleepColumns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '睡眠类型', - dataIndex: 'sleepType_dictText', - align: 'center', - }, - { - title: '睡眠时长(分钟)', - dataIndex: 'silenceValue', - align: 'center', - customRender: ({ record }) => { - // @ts-ignore - return (new Date(record?.endTime).getTime() - new Date(record?.startTime).getTime()) / (60 * 1000); - }, - }, - { - title: '睡眠开始时间', - dataIndex: 'startTime', - align: 'center', - }, - { - title: '睡眠结束时间', - dataIndex: 'endTime', - align: 'center', - }, -]; -export const pressureColumns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '压力值', - dataIndex: 'dataValue', - align: 'center', - }, - { - title: '测量开始时间', - dataIndex: 'startTimeStamp', - align: 'center', - }, - { - title: '测量结束时间', - dataIndex: 'endTimeStamp', - align: 'center', - }, -]; -export const motionColumns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '锻炼类型', - dataIndex: 'workoutType_dictText', - align: 'center', - }, - { - title: '距离(米)', - dataIndex: 'distance', - align: 'center', - }, - { - title: '卡路里(千卡)', - dataIndex: 'calorie', - align: 'center', - }, - { - title: '锻炼开始时间', - dataIndex: 'startTimeStamp', - align: 'center', - }, - { - title: '锻炼结束时间', - dataIndex: 'endTimeStamp', - align: 'center', - }, -]; -export const heartRateColumns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '心率(次/分钟)', - dataIndex: 'dataValue', - align: 'center', - }, - { - title: '静息心率(次/分钟)', - dataIndex: 'silenceValue', - align: 'center', - }, - { - title: '测量时间', - dataIndex: 'timeStamp', - align: 'center', - }, -]; diff --git a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/userInfo.vue b/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/userInfo.vue deleted file mode 100644 index 8cf3cbc..0000000 --- a/src/views/interveneNew/cardiovascular/preventingStroke/userInfo/userInfo.vue +++ /dev/null @@ -1,78 +0,0 @@ - - - diff --git a/src/views/interveneNew/compoents/manage/components/manageDrawer.vue b/src/views/interveneNew/compoents/manage/components/manageDrawer.vue deleted file mode 100644 index 131359e..0000000 --- a/src/views/interveneNew/compoents/manage/components/manageDrawer.vue +++ /dev/null @@ -1,77 +0,0 @@ - - - diff --git a/src/views/interveneNew/compoents/manage/manageList.api.ts b/src/views/interveneNew/compoents/manage/manageList.api.ts deleted file mode 100644 index f497ff8..0000000 --- a/src/views/interveneNew/compoents/manage/manageList.api.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/knowledge/v2/knowledgeStorage/queryPageList', - add = '/health-intervene/knowledge/v2/knowledgeStorage/add', - edit = '/health-intervene/knowledge/v2/knowledgeStorage/edit', - deleteBatch = '/health-intervene/knowledge/v2/knowledgeStorage/deleteBatch', -} - -export const listApi = (params: any) => defHttp.post({ url: Api.list, params: params }); -export const add = (params: any) => defHttp.post({ url: Api.add, params: params }); -export const edit = (params: any) => defHttp.put({ url: Api.edit, params: params }); -export const deleteBatch = (params: any) => defHttp.delete({ url: Api.deleteBatch, params: params }, { joinParamsToUrl: true }); diff --git a/src/views/interveneNew/compoents/manage/manageList.data.ts b/src/views/interveneNew/compoents/manage/manageList.data.ts deleted file mode 100644 index 640331a..0000000 --- a/src/views/interveneNew/compoents/manage/manageList.data.ts +++ /dev/null @@ -1,279 +0,0 @@ -import { FormSchema } from '/@/components/Form'; -import { BasicColumn } from '/@/components/Table'; -import dayjs from 'dayjs'; - -export const searchSchema = (flag) => { - return [ - { - label: `资源名称`, - field: 'title', - component: 'Input', - }, - { - label: `${flag == '4' ? '受访人' : '主讲人'}`, - field: 'keynoteSpeaker', - component: 'Input', - ifShow: flag != '5' && flag != '7', - }, - { - label: `${flag == '4' ? '受访人' : '主讲人'}所在机构`, - field: 'speakerDept', - component: 'Input', - ifShow: flag != '5' && flag != '7', - }, - { - label: '知识类别', - field: 'type', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'knowledge_type', - }; - }, - }, - // { - // label: '', - // field: 'flag', - // component: 'Input', - // defaultValue: '2', - // show: false, - // }, - ] as FormSchema[]; -}; -export const columns = (flag) => { - return [ - { - title: '资源名称', - align: 'center', - dataIndex: 'title', - }, - { - title: '资源类别', - align: 'center', - dataIndex: 'type_dictText', - }, - { - title: '内容简介', - align: 'center', - dataIndex: 'content', - // customRender: ({ text }) => { - // return h('div', {}, `${text}`); - // }, - }, - { - title: `${flag == '4' ? '受访人' : '主讲人'}姓名`, - align: 'center', - dataIndex: 'keynoteSpeaker', - ifShow: flag != '5' && flag != '7', - }, - { - title: `${flag == '4' ? '受访人' : '主讲人'}所在机构`, - align: 'center', - dataIndex: 'speakerDept', - ifShow: flag != '5' && flag != '7', - }, - { - title: '职务职称', - align: 'center', - dataIndex: 'duty', - ifShow: flag != '5' && flag != '7', - }, - { - title: '制作机构', - align: 'center', - dataIndex: 'productionDept', - ifShow: flag != '5', - }, - { - title: '制作人', - align: 'center', - dataIndex: 'producer', - }, - { - title: '制作日期', - align: 'center', - dataIndex: 'productDate', - customRender: ({ text }) => { - return text ? dayjs(text).format('YYYY-MM-DD') : ''; - }, - }, - ] as BasicColumn[]; -}; - -export const schema = (flag) => { - return [ - { - label: '资源名称', - field: 'title', - component: 'Input', - required: true, - }, - { - label: '封面图', - field: 'titlePic', - component: 'JImageUpload', - // component: 'Input', - required: true, - }, - { - label: '内容简介', - field: 'content', - component: 'InputTextArea', - componentProps: () => { - return { - rows: '5', - }; - }, - required: true, - }, - { - label: '知识类别', - field: 'type', - component: 'JDictSelectTag', - componentProps: ({ formModel }) => { - return { - dictCode: 'knowledge_type', - unOptionValue: flag == 5 ? '' : '3', - onChange: () => { - formModel.videoUrl = ''; - formModel.contentText = ''; - }, - }; - }, - required: true, - }, - { - label: '图文内容', - field: 'contentText', - component: 'JEditor', - ifShow: ({ values }) => { - return values.type == '0'; - }, - required: true, - }, - { - label: '视频文件', - field: 'videoUrl', - component: 'JUpload', - componentProps: () => { - return { - accept: '.mp4,video/mp4', - maxCount: 1, - tipText: '只能上传mp4文件,最大200M', - }; - }, - ifShow: ({ values }) => { - return values.type == '1'; - }, - // required: true, - }, - { - label: '音频文件', - field: 'videoUrl', - component: 'JUpload', - ifShow: ({ values }) => { - return values.type == '2'; - }, - // required: true, - }, - { - label: '文章', - field: 'videoUrl', - component: 'JUpload', - ifShow: ({ values }) => { - return values.type == '3'; - }, - // required: true, - }, - { - label: `${flag == '4' ? '受访人' : '主讲人'}姓名`, - field: 'keynoteSpeaker', - component: 'Input', - required: true, - ifShow: flag != '5' && flag != '7', - }, - { - label: `${flag == '4' ? '受访人' : '主讲人'}头像`, - field: 'authorHeadPic', - component: 'JImageUpload', - ifShow: flag != '5' && flag != '7', - }, - { - label: `${flag == '4' ? '受访人' : '主讲人'}简介`, - field: 'remark', - component: 'InputTextArea', - componentProps: () => { - return { - rows: '5', - }; - }, - ifShow: flag != '5' && flag != '7', - }, - { - label: `${flag == '4' ? '受访人' : '主讲人'}所在机构`, - field: 'speakerDept', - component: 'Input', - required: true, - ifShow: flag != '5' && flag != '7', - }, - { - label: '职务职称', - field: 'duty', - component: 'Input', - required: true, - ifShow: flag != '5' && flag != '7', - }, - { - label: '制作机构', - field: 'productionDept', - component: 'Input', - required: true, - }, - { - label: '制作人', - field: 'producer', - component: 'Input', - required: true, - }, - { - label: '制作日期', - field: 'productDate', - component: 'DatePicker', - componentProps: () => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - }; - }, - required: true, - }, - { - label: '发布状态', - field: 'publishStatus', - component: 'RadioGroup', - defaultValue: '0', - componentProps: () => { - return { - options: [ - { label: '线上', value: '1' }, - { label: '草稿(草稿将不会在移动端显示)', value: '0' }, - ], - }; - }, - required: true, - }, - // { - // label: '', - // field: 'flag', - // defaultValue: 2, - // component: 'Input', - // show: false, - // }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - ] as FormSchema[]; -}; diff --git a/src/views/interveneNew/compoents/manage/manageList.vue b/src/views/interveneNew/compoents/manage/manageList.vue deleted file mode 100644 index 93b7ec8..0000000 --- a/src/views/interveneNew/compoents/manage/manageList.vue +++ /dev/null @@ -1,215 +0,0 @@ - - - diff --git a/src/views/interveneNew/compoents/push/pushList.api.ts b/src/views/interveneNew/compoents/push/pushList.api.ts deleted file mode 100644 index 83c7fc4..0000000 --- a/src/views/interveneNew/compoents/push/pushList.api.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/knowledge/v2/knowledgeStorage/queryPageList', - publish = '/health-intervene/knowledge/v2/knowledgeStorage/publish', - revert = '/health-intervene/knowledge/v2/knowledgeStorage/revert', -} - -export const listApi = (params: any) => defHttp.post({ url: Api.list, params: params }); -export const publishApi = (params: any) => defHttp.put({ url: Api.publish, params }); -export const revertApi = (params: any) => defHttp.put({ url: Api.revert, params }); diff --git a/src/views/interveneNew/compoents/push/pushList.data.ts b/src/views/interveneNew/compoents/push/pushList.data.ts deleted file mode 100644 index ab5a81d..0000000 --- a/src/views/interveneNew/compoents/push/pushList.data.ts +++ /dev/null @@ -1,166 +0,0 @@ -import { FormSchema } from '/@/components/Form'; -import { BasicColumn } from '/@/components/Table'; -import dayjs from 'dayjs'; - -export const searchSchema = (flag) => { - return [ - { - label: '知识标题', - field: 'title', - component: 'Input', - }, - { - label: '所属专家', - field: 'keynoteSpeaker', - component: 'Input', - ifShow: flag == 1, - }, - { - label: '制作人', - field: 'producer', - component: 'Input', - ifShow: flag == 5, - }, - { - label: '受访人', - field: 'keynoteSpeaker', - component: 'Input', - ifShow: flag == 4, - }, - { - label: '受访人所在机构', - field: 'speakerDept', - component: 'Input', - ifShow: flag == 4, - }, - { - label: '主讲人', - field: 'keynoteSpeaker', - component: 'Input', - ifShow: flag == 6 || flag == 2, - }, - { - label: '主讲人所在机构', - field: 'speakerDept', - component: 'Input', - ifShow: flag == 6 || flag == 2, - }, - { - label: '知识类别', - field: 'type', - component: 'JDictSelectTag', - componentProps: () => { - return { - unOptionValue: flag == 5 ? '' : '3', - dictCode: 'knowledge_type', - }; - }, - }, - { - label: '发布状态', - field: 'publishStatus', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'publish_status', - }; - }, - }, - { - label: '发布日期', - field: 'rangeTime', - component: 'RangeDate', - }, - // { - // label: '发布人', - // field: 'publishUser', - // component: 'Input', - // }, - ] as FormSchema[]; -}; -export const columns = (flag) => { - return [ - { - title: '知识标题', - align: 'center', - dataIndex: 'title', - }, - { - title: '知识类别', - align: 'center', - width: 120, - dataIndex: 'type_dictText', - }, - { - title: '内容简介', - align: 'center', - dataIndex: 'content', - }, - { - title: flag == '1' ? '所属专家' : flag == 4 ? '受访人' : '主讲人', - align: 'center', - dataIndex: 'keynoteSpeaker', - ifShow: flag != 5 && flag != 7, - }, - { - title: flag == '1' ? '专家所在机构' : flag == 4 ? '受访人所在机构' : '主讲人所在机构', - align: 'center', - dataIndex: 'speakerDept', - ifShow: flag != 5 && flag != 7, - }, - { - title: '制作人', - dataIndex: 'producer', - ifShow: flag == 5, - }, - { - title: '制作机构', - dataIndex: 'productionDept', - ifShow: flag == 5, - }, - // { - // title: '发布平台', - // align: 'center', - // dataIndex: 'publishPlatform_dictText', - // }, - // { - // title: '主讲人所在机构', - // align: 'center', - // dataIndex: 'speakerDept', - // }, - // { - // title: '职务职称', - // align: 'center', - // dataIndex: 'duty', - // }, - // { - // title: '制作机构', - // align: 'center', - // dataIndex: 'productionDept', - // }, - { - title: '发布状态', - align: 'center', - width: 100, - dataIndex: 'publishStatus_dictText', - }, - { - title: '发布日期', - align: 'center', - width: 120, - dataIndex: 'publishDate', - customRender: ({ text }) => { - return text ? dayjs(text).format('YYYY-MM-DD') : '/'; - }, - }, - { - title: '发布人', - align: 'center', - width: 130, - dataIndex: 'publishUser', - customRender: ({ text }) => { - return text ? text : '/'; - }, - }, - ] as BasicColumn[]; -}; diff --git a/src/views/interveneNew/compoents/push/pushList.vue b/src/views/interveneNew/compoents/push/pushList.vue deleted file mode 100644 index b327928..0000000 --- a/src/views/interveneNew/compoents/push/pushList.vue +++ /dev/null @@ -1,256 +0,0 @@ - - - diff --git a/src/views/interveneNew/compoents/record/recordList.api.ts b/src/views/interveneNew/compoents/record/recordList.api.ts deleted file mode 100644 index b3251bf..0000000 --- a/src/views/interveneNew/compoents/record/recordList.api.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/knowledge/v2/knowledgeStorage/queryPageList', - publish = '/health-intervene/knowledge/v2/knowledgeStorage/publish', - revert = '/health-intervene/knowledge/v2/knowledgeStorage/revert', - exportXls = '/health-intervene/knowledge/v2/knowledgeStorage/exportXls', -} - -export const listApi = (params: any) => defHttp.post({ url: Api.list, params: params }); -export const publishApi = (params: any) => defHttp.put({ url: Api.publish, params }); -export const revertApi = (params: any) => defHttp.put({ url: Api.revert, params }); - -export const getExportUrl = Api.exportXls; diff --git a/src/views/interveneNew/compoents/record/recordList.data.ts b/src/views/interveneNew/compoents/record/recordList.data.ts deleted file mode 100644 index 9a80c0c..0000000 --- a/src/views/interveneNew/compoents/record/recordList.data.ts +++ /dev/null @@ -1,137 +0,0 @@ -import { FormSchema } from '/@/components/Form'; -import { BasicColumn } from '/@/components/Table'; - -export const searchSchema = (flag) => { - return [ - { - label: '知识名称', - field: 'title', - component: 'Input', - }, - { - label: '所属专家', - field: 'keynoteSpeaker', - component: 'Input', - ifShow: flag == 1, - }, - { - label: '制作人', - field: 'producer', - component: 'Input', - ifShow: flag == 5, - }, - { - label: '受访人', - field: 'keynoteSpeaker', - component: 'Input', - ifShow: flag == 4, - }, - { - label: '受访人所在机构', - field: 'speakerDept', - component: 'Input', - ifShow: flag == 4, - }, - { - label: '主讲人', - field: 'keynoteSpeaker', - component: 'Input', - ifShow: flag == 6 || flag == 2, - }, - { - label: '主讲人所在机构', - field: 'speakerDept', - component: 'Input', - ifShow: flag == 6 || flag == 2, - }, - { - label: '知识类别', - field: 'type', - component: 'JDictSelectTag', - componentProps: () => { - return { - unOptionValue: flag == 5 ? '' : '3', - dictCode: 'knowledge_type', - }; - }, - }, - ] as FormSchema[]; -}; -export const columns = (flag) => { - return [ - { - title: '知识名称', - align: 'center', - dataIndex: 'title', - }, - { - title: '资源类别', - align: 'center', - dataIndex: 'type_dictText', - }, - { - title: flag == '1' ? '所属专家' : flag == 4 ? '受访人' : '主讲人', - align: 'center', - dataIndex: 'keynoteSpeaker', - ifShow: flag != 5 && flag != 7, - }, - { - title: flag == '1' ? '专家所在机构' : flag == 4 ? '受访人所在机构' : '主讲人所在机构', - align: 'center', - dataIndex: 'speakerDept', - ifShow: flag != 5 && flag != 7, - }, - { - title: '制作人', - dataIndex: 'producer', - ifShow: flag == 5, - }, - { - title: '制作机构', - dataIndex: 'productionDept', - ifShow: flag == 5, - }, - // { - // title: '发布平台', - // align: 'center', - // dataIndex: 'publishPlatform_dictText', - // }, - { - title: '点击量', - align: 'center', - dataIndex: 'hitCount', - }, - { - title: '阅读量', - align: 'center', - dataIndex: 'browseCount', - }, - { - title: '阅读时长', - align: 'center', - dataIndex: 'browseTimeSum', - customRender: ({ text }) => { - text = text ? text : 0; - return getTime(text); - }, - }, - { - title: '点赞量', - align: 'center', - dataIndex: 'starCount', - }, - { - title: '收藏量', - align: 'center', - dataIndex: 'collectCount', - }, - ] as BasicColumn[]; -}; - -function getTime(time) { - time = time * 1; - const h = time > 3600 ? Math.floor(time / 3600) + '小时' : ''; - const m = time > 60 ? Math.floor((time % 3600) / 60) + '分钟' : ''; - const s = ((time % 3600) % 60) + '秒'; - return (h ? h : '') + (m ? m : '') + `${s}`; -} diff --git a/src/views/interveneNew/compoents/record/recordList.vue b/src/views/interveneNew/compoents/record/recordList.vue deleted file mode 100644 index 2e39803..0000000 --- a/src/views/interveneNew/compoents/record/recordList.vue +++ /dev/null @@ -1,152 +0,0 @@ - - - diff --git a/src/views/interveneNew/compoents/relationShip/relationShip.api.ts b/src/views/interveneNew/compoents/relationShip/relationShip.api.ts deleted file mode 100644 index 37b1701..0000000 --- a/src/views/interveneNew/compoents/relationShip/relationShip.api.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/sys/healthUserEmployeeEx/queryById', -} -export const listApi = (params) => defHttp.get({ url: Api.list, params }); diff --git a/src/views/interveneNew/compoents/relationShip/relationShip.data.ts b/src/views/interveneNew/compoents/relationShip/relationShip.data.ts deleted file mode 100644 index 05bc1dc..0000000 --- a/src/views/interveneNew/compoents/relationShip/relationShip.data.ts +++ /dev/null @@ -1,100 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; -import { getThirdDepartsNewApi } from '/@/views/interveneNew/diabetes/signalWarning/history/history.api'; -import { message } from 'ant-design-vue'; - -export const mColumn: BasicColumn[] = [ - { - title: '姓名', - dataIndex: 'realname', - align: 'center', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - align: 'center', - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - }, - { - title: '员工编号', // 原来为工号 - dataIndex: 'workNo', - align: 'center', - }, - { - title: '单位', - dataIndex: 'secondDepart', - align: 'center', - }, - { - title: '单位', - dataIndex: 'thirdDepart', - align: 'center', - }, -]; -export const mSearchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.departName.toLowerCase().indexOf(str) >= 0; - }, - onChange: (val: string) => { - if (val && formModel.hasOwnProperty('deptCode')) { - formModel.deptCode = ''; - formModel.orgCode = val; - } - }, - }; - }, - }, - { - label: '部门', - field: 'deptCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNewApi, - params: { - idOrCode: formModel?.orgCode || 'xasd', - }, - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - onFocus: () => { - if (!formModel.orgCode) { - return message.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '员工工号', // 原来为工号 - field: 'workNo', - component: 'Input', - }, -]; diff --git a/src/views/interveneNew/compoents/relationShip/relationShip.vue b/src/views/interveneNew/compoents/relationShip/relationShip.vue deleted file mode 100644 index f523a49..0000000 --- a/src/views/interveneNew/compoents/relationShip/relationShip.vue +++ /dev/null @@ -1,160 +0,0 @@ - - - diff --git a/src/views/interveneNew/compoents/tagInput/index.vue b/src/views/interveneNew/compoents/tagInput/index.vue deleted file mode 100644 index d933983..0000000 --- a/src/views/interveneNew/compoents/tagInput/index.vue +++ /dev/null @@ -1,161 +0,0 @@ - - - - diff --git a/src/views/interveneNew/compoents/tagInput/tag.api.ts b/src/views/interveneNew/compoents/tagInput/tag.api.ts deleted file mode 100644 index dde8ad4..0000000 --- a/src/views/interveneNew/compoents/tagInput/tag.api.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - search = '/health-intervene/rest/common/tag/search', -} -export const searchApi = (params: any) => defHttp.get({ url: Api.search, params: params }, { isTransformResponse: false }); diff --git a/src/views/interveneNew/diabetes/bloodSugar/keyPopulation/keyPopulation.api.ts b/src/views/interveneNew/diabetes/bloodSugar/keyPopulation/keyPopulation.api.ts deleted file mode 100644 index 62ec272..0000000 --- a/src/views/interveneNew/diabetes/bloodSugar/keyPopulation/keyPopulation.api.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/diabetes/monitoring/important-user', -} -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); diff --git a/src/views/interveneNew/diabetes/bloodSugar/keyPopulation/keyPopulation.data.ts b/src/views/interveneNew/diabetes/bloodSugar/keyPopulation/keyPopulation.data.ts deleted file mode 100644 index e308c5e..0000000 --- a/src/views/interveneNew/diabetes/bloodSugar/keyPopulation/keyPopulation.data.ts +++ /dev/null @@ -1,112 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'secondDepartName', - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'thirdDepartName', - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'realName', - fixed: 'left', - }, - { - title: '员工工号', - dataIndex: 'workNo', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - dataIndex: 'age', - }, - { - title: '身高(cm)', - dataIndex: 'height', - }, - { - title: '体重(kg)', - dataIndex: 'weight', - }, - { - title: 'BMI', - dataIndex: 'bmi', - }, - { - title: '体力活动', - dataIndex: 'workStrength', - }, - { - title: '体检血糖值(mmol/L)', - dataIndex: 'tj', - children: [ - { - title: '最新', - dataIndex: 'tjFbg', - }, - { - title: '次均', - dataIndex: 'tjFbgAvg', - }, - ], - }, - { - title: '体检糖化血红蛋白值(%)', - dataIndex: 'hba1', - children: [ - { - title: '最新', - dataIndex: 'hba1c', - }, - { - title: '次均', - dataIndex: 'hba1cAvg', - }, - ], - }, - { - title: '埋针血糖值(mmol/L)', - dataIndex: 'mz', - children: [ - { - title: '最新', - dataIndex: 'mzFbg', - }, - { - title: '次均', - dataIndex: 'mzFbgAvg', - }, - ], - }, - { - title: '糖尿病确诊日期', - dataIndex: 'diabetesDiagnosisDate', - }, - { - title: '糖尿病确诊医院', - dataIndex: 'diabetesDiagnosisHospital', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, - - ...orgSearchInfoByCode('orgCode', 'deptCode', 'orgCode1'), -]; diff --git a/src/views/interveneNew/diabetes/bloodSugar/keyPopulation/keyPopulation.vue b/src/views/interveneNew/diabetes/bloodSugar/keyPopulation/keyPopulation.vue deleted file mode 100644 index 81c6d69..0000000 --- a/src/views/interveneNew/diabetes/bloodSugar/keyPopulation/keyPopulation.vue +++ /dev/null @@ -1,32 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/bloodSugar/monitoringTerminal/components/moitoringTerminalModal.vue b/src/views/interveneNew/diabetes/bloodSugar/monitoringTerminal/components/moitoringTerminalModal.vue deleted file mode 100644 index 48ce0a3..0000000 --- a/src/views/interveneNew/diabetes/bloodSugar/monitoringTerminal/components/moitoringTerminalModal.vue +++ /dev/null @@ -1,103 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/bloodSugar/monitoringTerminal/components/monitoringTerminalDrawer.vue b/src/views/interveneNew/diabetes/bloodSugar/monitoringTerminal/components/monitoringTerminalDrawer.vue deleted file mode 100644 index 6f12ee1..0000000 --- a/src/views/interveneNew/diabetes/bloodSugar/monitoringTerminal/components/monitoringTerminalDrawer.vue +++ /dev/null @@ -1,57 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/bloodSugar/monitoringTerminal/monitoringTerminal.api.ts b/src/views/interveneNew/diabetes/bloodSugar/monitoringTerminal/monitoringTerminal.api.ts deleted file mode 100644 index f1e6eaa..0000000 --- a/src/views/interveneNew/diabetes/bloodSugar/monitoringTerminal/monitoringTerminal.api.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); -enum Api { - list = '/health-intervene/diabetes/healthDiabetesMonitorTerminal/list', - add = '/health-intervene/diabetes/healthDiabetesMonitorTerminal/add', - update = '/health-intervene/diabetes/healthDiabetesMonitorTerminal/edit', - delete = '/health-intervene/diabetes/healthDiabetesMonitorTerminal/delete', - deleteBatch = '/monitoringTerminal/deleteBatch', - importExcelUrl = '/health-intervene/diabetes/healthDiabetesMonitorTerminal/importExcel', - exportExcelUrl = '/health-intervene/diabetes/healthDiabetesMonitorTerminal/exportXls', -} -export const list = (params: any) => defHttp.get({ url: Api.list, params }); -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.delete, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -// export const handleDelete = (params: any) => defHttp.delete({ url: Api.delete, params }); -export const saveOrUpdate = (params: any, isUpdate: boolean) => { - const url = isUpdate ? Api.update : Api.add; - return defHttp.post({ url: url, params }); -}; -export const importExcelUrl = (params) => defHttp.post({ url: Api.importExcelUrl, params }); -export const exportExcelUrl = (params) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: Api.exportExcelUrl, params }); - }, - }); -}; diff --git a/src/views/interveneNew/diabetes/bloodSugar/monitoringTerminal/monitoringTerminal.data.ts b/src/views/interveneNew/diabetes/bloodSugar/monitoringTerminal/monitoringTerminal.data.ts deleted file mode 100644 index 0f9ce17..0000000 --- a/src/views/interveneNew/diabetes/bloodSugar/monitoringTerminal/monitoringTerminal.data.ts +++ /dev/null @@ -1,311 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { allSecondaryDepartsNew, getThirdDepartsNew, orgSearchInfo, orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { message } from 'ant-design-vue'; -import { render } from '/@/utils/common/renderUtils'; -import { initD } from '/@/utils/system/getF'; -import { useDepartment } from '/@/utils/auth/formAuth'; -export const columns: BasicColumn[] = [ - { - title: '所属单位', - dataIndex: 'unit', - fixed: 'left', - }, - { - title: '所属部门', - dataIndex: 'department', - fixed: 'left', - }, - { - title: '绑定员工', - dataIndex: 'realname', - customRender: ({ text }) => { - if (!text) return '-'; - }, - }, - { - title: '终端编号(SN号)', - dataIndex: 'snNo', - }, - { - title: '终端品牌', - dataIndex: 'brandName', - }, - { - title: '使用状态', - dataIndex: 'useState', - customRender: ({ text }) => { - if (!text) return '未绑定'; - return render.renderDict(text, 'diabetes_monitoring_terminal_status'); - }, - }, - { - title: '员工所属单位', - dataIndex: 'userUnit', - customRender: ({ text }) => { - if (!text) return '-'; - }, - }, - { - title: '员工所属部门', - dataIndex: 'userDepartment', - customRender: ({ text }) => { - if (!text) return '-'; - }, - }, - { - title: '绑定日期', - dataIndex: 'bindDate', - customRender: ({ text }) => { - if (!text) return '-'; - }, - }, - { - title: '员工电话', - dataIndex: 'userPhone', - customRender: ({ text }) => { - if (!text) return '-'; - }, - }, - { - title: '管理部门', - dataIndex: 'managerDepartment', - }, - { - title: '管理人', - dataIndex: 'managerUser', - }, - { - title: '管理人电话', - dataIndex: 'managerPhone', - }, - { - title: '厂家电话', - dataIndex: 'factoryPhone', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'snNo', - label: '终端编号(SN号)', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode', 'orgCodeLeaf', 'orgCode1'), - { - field: 'useState', - label: '使用状态', - component: 'JDictSelectTag', - componentProps: { - // @ts-ignore - dictCode: 'diabetes_monitoring_terminal_status', - }, - }, - { - field: 'realname', - label: '绑定员工', - component: 'Input', - }, - { - field: 'bindDate', - label: '绑定日期', - component: 'RangeDate', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - }; - }, - }, -]; -// { -// title: '所属单位', -// dataIndex: 'unit', -// }, -// { -// title: '所属部门', -// dataIndex: 'department', -// }, -export const formSchema: FormSchema[] = [ - { - label: '单位名称', - field: 'orgCode1', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: (val) => { - if (val) { - formModel['orgCode2'] = ''; - } - }, - onDeselect: () => { - formModel['orgCode1'] = ''; - formModel['orgCode2'] = ''; - }, - }; - }, - }, - { - label: '部门名称', - field: 'orgCode2', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNew, - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择部门', - showSearch: true, - params: { - idOrCode: formModel['orgCode1'] || 'xasd', - }, - onFocus: () => { - if (!formModel['orgCode1']) { - return message.warn('请先选择单位!'); - } - }, - onChange(v) { - formModel['orgCode'] = v; - }, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - field: 'orgCode', - label: '', - component: 'Input', - show: false, - }, - { - field: 'snNo', - label: '终端编号(SN号)', - component: 'Input', - required: true, - }, - { - field: 'brandName', - label: '终端品牌', - component: 'Input', - }, - { - label: '管理部门', - field: 'managerDepartment', - component: 'Input', - }, - { - label: '管理人', - field: 'managerUser', - component: 'Input', - }, - { - label: '管理人电话', - field: 'managerPhone', - component: 'Input', - rules: [ - { - pattern: /^(0\d{2,3}-\d{7,8})$|^(0\d{2,3}\d{7,8})|^(\(\d{3,4}\)-\d{7,8})$|^(\(\d{3,4}\)\d{7,8})$|^1[3456789]\d{9}$/, - message: '手机号码或座机号码格式有误', - trigger: 'blur', - }, - ], - }, - { - label: '厂家电话', - field: 'factoryPhone', - component: 'Input', - rules: [ - { - pattern: /^(0\d{2,3}-\d{7,8})$|^(0\d{2,3}\d{7,8})|^(\(\d{3,4}\)-\d{7,8})$|^(\(\d{3,4}\)\d{7,8})$|^1[3456789]\d{9}$/, - message: '手机号码或座机号码格式有误', - trigger: 'blur', - }, - ], - }, -]; - -// 入库导入 -export const rkFormSchema: FormSchema[] = [ - { - label: '上传文件', - field: 'file', - component: 'Input', - required: true, - slot: 'file', - }, - { - label: '单位名称', - field: 'unitCode', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位名称', - // disabled: disabled, - immediate: true, - // afterFetch: () => { - // getAnyFromOther().r(); - // }, - onChange: (_value) => { - formModel.unitCode = ''; - formModel.departCode = ''; - }, - onDeselect: () => { - formModel.departCode = ''; - formModel.unitCode = ''; - }, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '部门名称', - field: 'departCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNew, - resultField: 'list', - labelField: 'departName', - params: { - idOrCode: formModel?.unitCode || '12313', - }, - valueField: 'orgCode', - immediate: true, - onFocus: () => { - if (!formModel.unitCode) { - return message.warn('请先选择单位!'); - } - }, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, -]; diff --git a/src/views/interveneNew/diabetes/bloodSugar/monitoringTerminal/monitoringTerminal.vue b/src/views/interveneNew/diabetes/bloodSugar/monitoringTerminal/monitoringTerminal.vue deleted file mode 100644 index ec8ee1d..0000000 --- a/src/views/interveneNew/diabetes/bloodSugar/monitoringTerminal/monitoringTerminal.vue +++ /dev/null @@ -1,127 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/bloodSugar/record/compoents/recordDrawer.vue b/src/views/interveneNew/diabetes/bloodSugar/record/compoents/recordDrawer.vue deleted file mode 100644 index 5c8943c..0000000 --- a/src/views/interveneNew/diabetes/bloodSugar/record/compoents/recordDrawer.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/bloodSugar/record/compoents/recordModal.vue b/src/views/interveneNew/diabetes/bloodSugar/record/compoents/recordModal.vue deleted file mode 100644 index 82a0a32..0000000 --- a/src/views/interveneNew/diabetes/bloodSugar/record/compoents/recordModal.vue +++ /dev/null @@ -1,824 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/bloodSugar/record/record.api.ts b/src/views/interveneNew/diabetes/bloodSugar/record/record.api.ts deleted file mode 100644 index e59278b..0000000 --- a/src/views/interveneNew/diabetes/bloodSugar/record/record.api.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/diabetes/healthDiabetesMonitorTerminal/selectDiabetesMonitorTerminalData', - selectUserDiabetesData = '/health-intervene/diabetes/healthDiabetesData/selectUserDiabetesData', - // selectUserDiabetesDataPictureWeek = '/health-intervene/diabetes/healthDiabetesData/selectUserDiabetesDataPictureWeek', - selectUserDiabetesDataPictureWeek = '/health-intervene/diabetes/healthDiabetesData/selectUserDiabetesDataPictureWeek/v2', - selectUserDiabetesSugarDay = '/health-intervene/diabetes/healthDiabetesData/selectUserDiabetesSugarDay', - selectUserDiabetesSugarWeek = '/health-intervene/diabetes/healthDiabetesData/selectUserDiabetesSugarWeek', - selectUserDiabetesDataPage = '/health-intervene/diabetes/healthDiabetesData/selectUserDiabetesDataPage', - selectUserDiabetesDataListWeek = '/health-intervene/diabetes/healthDiabetesData/selectUserDiabetesDataListWeek', -} -export const listApi = (params: any) => defHttp.get({ url: Api.list, params }); -export const selectUserDiabetesDataApi = (params: any, type: string) => - defHttp.get({ url: type == 'day' ? Api.selectUserDiabetesData : Api.selectUserDiabetesDataPictureWeek, params }); -export const selectUserDiabetesSugarDayApi = (params: any, type: string) => - defHttp.get({ url: type == 'day' ? Api.selectUserDiabetesSugarDay : Api.selectUserDiabetesSugarWeek, params }); -export const selectUserDiabetesDataPageApi = (params: any) => defHttp.get({ url: Api.selectUserDiabetesDataPage, params }); -export const selectUserDiabetesDataListWeekApi = (params: any) => defHttp.get({ url: Api.selectUserDiabetesDataListWeek, params }); diff --git a/src/views/interveneNew/diabetes/bloodSugar/record/record.data.ts b/src/views/interveneNew/diabetes/bloodSugar/record/record.data.ts deleted file mode 100644 index 2f84f8b..0000000 --- a/src/views/interveneNew/diabetes/bloodSugar/record/record.data.ts +++ /dev/null @@ -1,150 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfo } from '/@/utils/orgSearchInfo'; -import dayjs from 'dayjs'; - -export const columns: BasicColumn[] = [ - { - title: '员工单位', - dataIndex: 'userUnit', - fixed: 'left', - }, - { - title: '员工部门', - dataIndex: 'userDepartment', - fixed: 'left', - }, - { - title: '绑定员工', - dataIndex: 'realname', - width: 120, - fixed: 'left', - }, - { - title: '终端编号(SN号)', - dataIndex: 'snNo', - width: 120, - }, - { - title: '性别', - width: 60, - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - dataIndex: 'age', - width: 60, - customRender: ({ text }) => { - return text || '0'; - }, - }, - { - title: '绑定日期', - dataIndex: 'bindDate', - customRender: ({ text }) => { - return dayjs(text).format('YYYY-MM-DD'); - }, - width: 100, - }, - { - title: '实戴/应戴天数', - dataIndex: 'realWear', - width: 100, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ text }) => { - return `${text}/15`; - }, - }, - { - title: '血糖最新监测数据', - children: [ - { - title: '最新监测日期', - dataIndex: 'maxDate', - customRender: ({ text }) => { - return text ? dayjs(text).format('YYYY-MM-DD') : ''; - }, - width: 120, - }, - { - title: '血糖监测(mmol/L)', - children: [ - { - title: '最新值', - dataIndex: 'maxNewData', - width: 100, - }, - { - title: '平均值', - dataIndex: 'avgData', - width: 100, - }, - ], - }, - { - title: '饮食摄入(千卡)', - children: [ - { - title: '热量', - dataIndex: 'energyKcal', - width: 100, - }, - { - title: '碳水', - dataIndex: 'cho', - width: 100, - }, - { - title: '蛋白', - dataIndex: 'protein', - width: 100, - }, - { - title: '脂肪', - dataIndex: 'fat', - width: 100, - }, - { - title: '食品数量', - dataIndex: 'foodNum', - width: 100, - }, - ], - }, - ], - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - field: 'snNo', - label: '终端编号', - component: 'Input', - }, - ...orgSearchInfo({ - orgName: '员工单位', - deptName: '员工部门', - orgPlaceholder: '请选择员工单位', - deptPlaceholder: '请选择员工部门', - orgField: 'userOrgCode', - deptFiled: 'managerDepartment', - }), -]; - -export const formSchema: FormSchema[] = []; - -export const modalColumns: BasicColumn[] = [ - { - title: '测量时间', - dataIndex: 'measurementDate', - }, - { - title: '血糖值', - dataIndex: 'bloodSugar', - }, -]; diff --git a/src/views/interveneNew/diabetes/bloodSugar/record/recordList.vue b/src/views/interveneNew/diabetes/bloodSugar/record/recordList.vue deleted file mode 100644 index dc6766f..0000000 --- a/src/views/interveneNew/diabetes/bloodSugar/record/recordList.vue +++ /dev/null @@ -1,57 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/diabetesSimulated/components/fakeRelationShip.vue b/src/views/interveneNew/diabetes/diabetesSimulated/components/fakeRelationShip.vue deleted file mode 100644 index 087fcc9..0000000 --- a/src/views/interveneNew/diabetes/diabetesSimulated/components/fakeRelationShip.vue +++ /dev/null @@ -1,277 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/diabetesSimulated/components/relationShip.vue b/src/views/interveneNew/diabetes/diabetesSimulated/components/relationShip.vue deleted file mode 100644 index 4cc0674..0000000 --- a/src/views/interveneNew/diabetes/diabetesSimulated/components/relationShip.vue +++ /dev/null @@ -1,118 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/diabetesSimulated/components/trueRelationShip.vue b/src/views/interveneNew/diabetes/diabetesSimulated/components/trueRelationShip.vue deleted file mode 100644 index 822d2da..0000000 --- a/src/views/interveneNew/diabetes/diabetesSimulated/components/trueRelationShip.vue +++ /dev/null @@ -1,186 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/diabetesSimulated/diabetesSimulated.api.ts b/src/views/interveneNew/diabetes/diabetesSimulated/diabetesSimulated.api.ts deleted file mode 100644 index 2d71378..0000000 --- a/src/views/interveneNew/diabetes/diabetesSimulated/diabetesSimulated.api.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/diabetes/monitoring/practice-page', - startSimulation = '/health-intervene/diabetes/monitoring/simulate/batch', -} - -export const list = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const startSimulation = (params: any) => defHttp.post({ url: Api.startSimulation, params: params }); diff --git a/src/views/interveneNew/diabetes/diabetesSimulated/diabetesSimulated.data.ts b/src/views/interveneNew/diabetes/diabetesSimulated/diabetesSimulated.data.ts deleted file mode 100644 index b3afeaf..0000000 --- a/src/views/interveneNew/diabetes/diabetesSimulated/diabetesSimulated.data.ts +++ /dev/null @@ -1,339 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { orgCodeSearchNotShowDepart } from '/@/utils/orgSearchInfo'; -import { getDictLabelByValue } from '/@/utils/dict'; -import moment from 'moment'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; -import { getThirdDepartsNewApi } from '/@/views/interveneNew/diabetes/signalWarning/history/history.api'; -import { message } from 'ant-design-vue'; -const parentsList = [ - { - label: '父母均无糖尿病史', - value: 0, - }, - { - label: '父母有一方有糖尿病史', - value: 1, - }, - { - label: '父母双方都有糖尿病史', - value: 2, - }, -]; -export enum Risk { - L = '高风险', - M = '中风险', - S = '低风险', -} -//高风险、低风险、中风险 -// @ts-ignore -export const riskLevel = { - [Risk.S]: '#000', - [Risk.M]: '#ffa500', - [Risk.L]: '#f00', -}; -export function getRiskLevel(type: string) { - return riskLevel[type] || '#000'; -} -export const columns: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'secondDepartName', - width: 120, - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'thirdDepartName', - width: 120, - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'realName', - fixed: 'left', - width: 120, - }, - { - title: '员工工号', - dataIndex: 'workNo', - width: 90, - }, - { - title: '性别', - width: 70, - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - width: 70, - dataIndex: 'age', - }, - { - title: '身高(cm)', - dataIndex: 'height', - width: 90, - }, - { - title: '体重(kg)', - dataIndex: 'weight', - width: 90, - }, - { - title: 'BMI', - dataIndex: 'bmi', - width: 90, - }, - { - title: '体力活动', - dataIndex: 'physicalActivity', - width: 130, - }, - { - title: '最新监测日期', - dataIndex: 'measurementDate', - width: 130, - }, - { - title: '最新监测数据', - children: [ - { - title: '空腹血糖值\n(mmo/L)', - rewriting: true, - width: 150, - rewroteCell: { - type: 'inputNumber', - }, - dataIndex: 'fastingBg', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '餐后血糖值\n(mmo/L)', - dataIndex: 'mealBg', - width: 150, - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '埋针实时血糖\n(mmo/L)', - width: 150, - dataIndex: 'bloodSugar', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - ], - }, - { - title: '父母糖尿病史', - dataIndex: 'parentsDiabetes', - width: 200, - rewriting: true, - rewroteCell: { - type: 'select', - options: parentsList, - }, - customRender: ({ text }) => { - return getDictLabelByValue(parentsList, text); - }, - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '糖尿病确诊日期', - dataIndex: 'diabetesDiagnosisDate', - width: 170, - rewriting: true, - rewroteCell: { - type: 'date', - }, - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '患糖尿病预警值', - dataIndex: 'sickenedRisk', - width: 120, - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ record }: any) => { - if (record.sickenedRisk !== null) { - const { riskValue, grade } = record?.sickenedRisk; - const color = getRiskLevel(grade); - const str = riskValue != null && grade != null ? parseFloat(riskValue).toFixed(2) + ' (' + grade + ')' : ''; - return h('div', { style: { color: color } }, str); - } - }, - }, - { - title: '糖尿病加重风险值', - dataIndex: 'aggravateRisk', - width: 130, - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ record }: any) => { - if (record.aggravateRisk !== null) { - const { riskValue, grade } = record?.aggravateRisk; - const color = getRiskLevel(grade); - const str = riskValue != null && grade != null ? parseFloat(riskValue).toFixed(2) + ' (' + grade + ')' : ''; - return h('div', { style: { color: color } }, str); - } - }, - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'userName', - label: '员工姓名', - component: 'Input', - }, - { - field: 'workNo', - label: '员工工号', - component: 'Input', - }, - ...orgCodeSearchNotShowDepart('orgCode', 'deptCode', 'orgCode1'), -]; - -export const relationColumn: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'secondDepartName', - align: 'center', - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'thirdDepartName', - align: 'center', - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'realName', - align: 'center', - fixed: 'left', - }, - { - title: '员工工号', // 原来为工号 - dataIndex: 'workNo', - align: 'center', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - align: 'center', - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - }, -]; - -export const relationSchema: FormSchema[] = [ - { - label: '姓名', - field: 'userName', - component: 'Input', - }, - { - label: '单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.departName.toLowerCase().indexOf(str) >= 0; - }, - onChange: (val: string) => { - if (val && formModel.hasOwnProperty('deptCode')) { - formModel.deptCode = ''; - formModel.orgCode = val; - } - }, - }; - }, - }, - { - label: '部门', - field: 'deptCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNewApi, - params: { - idOrCode: formModel?.orgCode || 'xasd', - }, - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - onFocus: () => { - if (!formModel.orgCode) { - return message.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '员工工号', // 原来为工号 - field: 'workNo', - component: 'Input', - }, -]; diff --git a/src/views/interveneNew/diabetes/diabetesSimulated/diabetesSimulatedList.vue b/src/views/interveneNew/diabetes/diabetesSimulated/diabetesSimulatedList.vue deleted file mode 100644 index 0ebc195..0000000 --- a/src/views/interveneNew/diabetes/diabetesSimulated/diabetesSimulatedList.vue +++ /dev/null @@ -1,127 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/intervene/data-detection/components/recordModal.vue b/src/views/interveneNew/diabetes/intervene/data-detection/components/recordModal.vue deleted file mode 100644 index 1bf7f30..0000000 --- a/src/views/interveneNew/diabetes/intervene/data-detection/components/recordModal.vue +++ /dev/null @@ -1,748 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/intervene/data-detection/dataDetection.api.ts b/src/views/interveneNew/diabetes/intervene/data-detection/dataDetection.api.ts deleted file mode 100644 index d470454..0000000 --- a/src/views/interveneNew/diabetes/intervene/data-detection/dataDetection.api.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -export enum Api { - list = '/health-intervene/diabetes/diabetesEffectHyDay/list', - - selectUserDiabetesData = '/health-intervene/diabetes/diabetesEffectHyDay/selectUserDiabetesData', - // selectUserDiabetesDataPictureWeek = '/health-intervene/diabetes/diabetesEffectHyDay/selectUserDiabetesDataPictureWeek', - selectUserDiabetesDataPictureWeek = '/health-intervene/diabetes/diabetesEffectHyDay/selectUserDiabetesDataPictureWeek/v2', - selectUserDiabetesSugarDay = '/health-intervene/diabetes/diabetesEffectHyDay/selectUserDiabetesSugarDay', - selectUserDiabetesSugarWeek = '/health-intervene/diabetes/diabetesEffectHyDay/selectUserDiabetesSugarWeek', - selectUserDiabetesDataPage = '/health-intervene/diabetes/diabetesEffectHyDay/selectUserDiabetesDataPage', - selectUserDiabetesDataListWeek = '/health-intervene/diabetes/diabetesEffectHyDay/selectUserDiabetesDataListWeek', -} -// 列表 -export const listApi = (params) => defHttp.get({ url: Api.list, params }); -export const selectUserDiabetesDataApi = (params: any, type: string) => - defHttp.get({ url: type == 'day' ? Api.selectUserDiabetesData : Api.selectUserDiabetesDataPictureWeek, params }); -export const selectUserDiabetesSugarDayApi = (params: any, type: string) => - defHttp.get({ url: type == 'day' ? Api.selectUserDiabetesSugarDay : Api.selectUserDiabetesSugarWeek, params }); -export const selectUserDiabetesDataPageApi = (params: any) => defHttp.get({ url: Api.selectUserDiabetesDataPage, params }); -export const selectUserDiabetesDataListWeekApi = (params: any) => defHttp.get({ url: Api.selectUserDiabetesDataListWeek, params }); diff --git a/src/views/interveneNew/diabetes/intervene/data-detection/index.data.ts b/src/views/interveneNew/diabetes/intervene/data-detection/index.data.ts deleted file mode 100644 index f341987..0000000 --- a/src/views/interveneNew/diabetes/intervene/data-detection/index.data.ts +++ /dev/null @@ -1,198 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { message } from 'ant-design-vue'; -import { allSecondaryDepartsNew, getThirdDepartsNew } from '/@/utils/system/api'; -export const columns: BasicColumn[] = [ - { - title: '单位名称', - align: 'center', - dataIndex: 'departName', - width: 100, - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - dataIndex: 'orgName', - width: 100, - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'realName', - width: 100, - fixed: 'left', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - width: 100, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - width: 100, - }, - { - title: '血糖最新监测数据', - align: 'center', - dataIndex: '', - children: [ - { - title: '监测日期', - align: 'center', - dataIndex: 'dateTime', - width: 140, - }, - { - title: '血糖数据(mmol/L)', - align: 'center', - dataIndex: '', - children: [ - { - title: '最新值', - align: 'center', - dataIndex: 'valueNew', - width: 100, - }, - { - title: '平均值', - align: 'center', - dataIndex: 'valueAvg', - width: 100, - }, - { - title: '热量', - align: 'center', - dataIndex: 'valueHot', - width: 100, - }, - ], - }, - { - title: '饮食摄入(千卡)', - align: 'center', - dataIndex: '', - children: [ - { - title: '碳水', - align: 'center', - dataIndex: 'valueWater', - width: 100, - }, - { - title: '蛋白', - align: 'center', - dataIndex: 'valueEgg', - width: 100, - }, - { - title: '脂肪', - align: 'center', - dataIndex: 'valueFat', - width: 100, - }, - { - title: '食品数量', - align: 'center', - dataIndex: 'valueFood', - width: 100, - }, - ], - }, - ], - }, - { - title: '糖尿病预警值(血糖)', - align: 'center', - dataIndex: 'valueWarningSugar', - width: 160, - }, - { - title: '糖尿病预警值(信号)', - align: 'center', - dataIndex: 'valueWarningSignal', - width: 160, - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - }, - { - label: '单位名称', - field: 'departCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位名称', - // disabled: disabled, - immediate: true, - // afterFetch: () => { - // getAnyFromOther().r(); - // }, - onChange: (_value) => { - formModel.departCode = ''; - }, - onDeselect: () => { - formModel.orgCode = ''; - formModel.departCode = ''; - }, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '部门名称', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNew, - resultField: 'list', - labelField: 'departName', - params: { - idOrCode: formModel?.departCode || '12313', - }, - valueField: 'orgCode', - immediate: true, - onFocus: () => { - if (!formModel.departCode) { - return message.warn('请先选择单位!'); - } - }, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, -]; - -export const modalColumns: BasicColumn[] = [ - { - title: '测量时间', - dataIndex: 'dateTime', - }, - { - title: '血糖值', - dataIndex: 'hyValue', - }, -]; diff --git a/src/views/interveneNew/diabetes/intervene/data-detection/index.vue b/src/views/interveneNew/diabetes/intervene/data-detection/index.vue deleted file mode 100644 index 1d702bd..0000000 --- a/src/views/interveneNew/diabetes/intervene/data-detection/index.vue +++ /dev/null @@ -1,89 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/diabetes/intervene/history/history.api.ts b/src/views/interveneNew/diabetes/intervene/history/history.api.ts deleted file mode 100644 index 1be807d..0000000 --- a/src/views/interveneNew/diabetes/intervene/history/history.api.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -export enum Api { - list = '/health-intervene/diabetes/effect/historyList', -} -// 列表 -export const listApi = (params) => defHttp.get({ url: Api.list, params }); diff --git a/src/views/interveneNew/diabetes/intervene/history/index.data.ts b/src/views/interveneNew/diabetes/intervene/history/index.data.ts deleted file mode 100644 index 9ca2bcd..0000000 --- a/src/views/interveneNew/diabetes/intervene/history/index.data.ts +++ /dev/null @@ -1,194 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -const startColumns: BasicColumn[] = [ - { - title: '干预名称', - align: 'center', - dataIndex: 'interveneName', - }, - { - title: '干预起止日期', - align: 'center', - dataIndex: 'interveneStartDate', - customRender: ({ record }) => { - return `${record.interveneStartDate}-${record.interveneEndDate}`; - }, - }, - { - title: '期初人数', - align: 'center', - dataIndex: 'startSampleUserNum', - }, - { - title: '期末人数', - align: 'center', - dataIndex: 'endSampleUserNum', - }, - { - title: '期初高风险', - align: 'center', - dataIndex: 'startSampleHighRiskNum', - }, - { - title: '期末高风险', - align: 'center', - dataIndex: 'endSampleHighRiskNum', - }, - { - title: '期初高血糖', - align: 'center', - dataIndex: 'startSampleHyperglycemiaNum', - }, - { - title: '期末高血糖', - align: 'center', - dataIndex: 'endSampleHyperglycemiaNum', - }, - { - title: '期初糖尿病', - align: 'center', - dataIndex: 'startSampleDiabetesNum', - }, - { - title: '期末糖尿病', - align: 'center', - dataIndex: 'endSampleDiabetesNum', - }, - { - title: '投入人力', - align: 'center', - dataIndex: 'inputManpower', - }, - { - title: '投入资金', - align: 'center', - dataIndex: 'inputMoney', - }, - { - title: '投入时间', - align: 'center', - dataIndex: 'pic', - customRender: ({ record }) => { - const startDate = new Date(record?.interveneStartDate).getTime(); - const endDate = new Date(record?.interveneEndDate).getTime(); - return `${Math.floor((endDate - startDate) / (1000 * 3600 * 24))} 天`; - }, - }, -]; -const endColumns: BasicColumn[] = [ - { - title: '干预名称', - align: 'center', - dataIndex: 'interveneName', - }, - { - title: '干预起止日期', - align: 'center', - dataIndex: 'interveneStartDate', - customRender: ({ record }) => { - return `${record.interveneStartDate}-${record.interveneEndDate}`; - }, - }, - { - title: '期初人数', - align: 'center', - dataIndex: 'startContrastUserNum', - }, - { - title: '期末人数', - align: 'center', - dataIndex: 'endContrastUserNum', - }, - { - title: '期初高风险', - align: 'center', - dataIndex: 'startContrastHighRiskNum', - }, - { - title: '期末高风险', - align: 'center', - dataIndex: 'endContrastHighRiskNum', - }, - { - title: '期初高血糖', - align: 'center', - dataIndex: 'startContrastHyperglycemiaNum', - }, - { - title: '期末高血糖', - align: 'center', - dataIndex: 'endContrastHyperglycemiaNum', - }, - { - title: '期初糖尿病', - align: 'center', - dataIndex: 'startContrastDiabetesNum', - }, - { - title: '期末糖尿病', - align: 'center', - dataIndex: 'endContrastDiabetesNum', - }, - { - title: '投入人力', - align: 'center', - dataIndex: 'inputManpower', - }, - { - title: '投入资金', - align: 'center', - dataIndex: 'inputMoney', - }, - { - title: '投入时间', - align: 'center', - dataIndex: 'pic', - customRender: ({ record }) => { - const startDate = new Date(record?.interveneStartDate).getTime(); - const endDate = new Date(record?.interveneEndDate).getTime(); - return `${Math.floor((endDate - startDate) / (1000 * 3600 * 24))} 天`; - }, - }, -]; - -export const columnsList = [startColumns, endColumns]; -export const searchFormSchema: FormSchema[] = [ - { - label: '计划名称', - field: 'interveneName', - component: 'Input', - }, - { - label: '计划日期', - field: 'trainingDate', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - 'onUpdate:value': (value) => { - if (value) { - formModel.startTime = value[0]; - formModel.endTime = value[1]; - } else { - formModel.startTime = null; - formModel.endTime = null; - } - }, - }; - }, - }, - { - label: '', - field: 'startTime', - component: 'Input', - show: false, - }, - { - label: '', - field: 'endTime', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/diabetes/intervene/history/index.vue b/src/views/interveneNew/diabetes/intervene/history/index.vue deleted file mode 100644 index 3e79057..0000000 --- a/src/views/interveneNew/diabetes/intervene/history/index.vue +++ /dev/null @@ -1,89 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/diabetes/intervene/key-point/index.data.ts b/src/views/interveneNew/diabetes/intervene/key-point/index.data.ts deleted file mode 100644 index 1d91085..0000000 --- a/src/views/interveneNew/diabetes/intervene/key-point/index.data.ts +++ /dev/null @@ -1,205 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { message } from 'ant-design-vue'; -import { allSecondaryDepartsNew, getThirdDepartsNew } from '/@/utils/system/api'; -export const columns: BasicColumn[] = [ - { - title: '单位名称', - align: 'center', - dataIndex: 'departName', - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - dataIndex: 'orgName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'realName', - fixed: 'left', - }, - { - title: '员工工号', - align: 'center', - dataIndex: 'workNo', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, - { - title: '身高(cm)', - align: 'center', - dataIndex: 'height', - }, - { - title: '体重(kg)', - align: 'center', - dataIndex: 'weight', - }, - { - title: 'BMI', - align: 'center', - dataIndex: 'bmi', - customRender: ({ text }) => { - return Number(text).toFixed(2); - }, - }, - { - title: '体力活动', - align: 'center', - dataIndex: 'physicalActivity', - }, - { - title: '体检血糖值', - align: 'center', - dataIndex: 'pic', - children: [ - { - title: '最新', - align: 'center', - dataIndex: 'checkGluValueNew', - }, - { - title: '次均', - align: 'center', - dataIndex: 'checkGluValueAvg', - }, - ], - }, - { - title: '体检糖化血红蛋白值', - align: 'center', - dataIndex: 'pic', - children: [ - { - title: '最新', - align: 'center', - dataIndex: 'checkHbValueNew', - }, - { - title: '次均', - align: 'center', - dataIndex: 'checkHbValueAvg', - }, - ], - }, - { - title: '日常血糖值', - align: 'center', - dataIndex: 'pic', - children: [ - { - title: '最新', - align: 'center', - dataIndex: 'dailyGluValueNew', - }, - { - title: '次均', - align: 'center', - dataIndex: 'dailyGluValueAvg', - }, - ], - }, - { - title: '糖尿病确诊时间', - align: 'center', - dataIndex: 'yesTime', - }, - { - title: '糖尿病确诊医院', - align: 'center', - dataIndex: 'hospitalName', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - }, - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, - { - label: '单位名称', - field: 'departCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位名称', - // disabled: disabled, - immediate: true, - // afterFetch: () => { - // getAnyFromOther().r(); - // }, - onChange: (_value) => { - formModel.departCode = ''; - }, - onDeselect: () => { - formModel.orgCode = ''; - formModel.departCode = ''; - }, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '部门名称', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNew, - resultField: 'list', - labelField: 'departName', - params: { - idOrCode: formModel?.departCode || '12313', - }, - valueField: 'orgCode', - immediate: true, - onFocus: () => { - if (!formModel.departCode) { - return message.warn('请先选择单位!'); - } - }, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '确诊日期', - field: 'trainingDate', - component: 'RangePicker', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - }; - }, - }, -]; diff --git a/src/views/interveneNew/diabetes/intervene/key-point/index.vue b/src/views/interveneNew/diabetes/intervene/key-point/index.vue deleted file mode 100644 index 4b51b61..0000000 --- a/src/views/interveneNew/diabetes/intervene/key-point/index.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/diabetes/intervene/key-point/keyPoint.api.ts b/src/views/interveneNew/diabetes/intervene/key-point/keyPoint.api.ts deleted file mode 100644 index 6ca94db..0000000 --- a/src/views/interveneNew/diabetes/intervene/key-point/keyPoint.api.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - listApi = '/health-intervene/diabetes/effect/keyList', -} - -export const list = (params) => defHttp.get({ url: Api.listApi, params }); diff --git a/src/views/interveneNew/diabetes/intervene/operationLog/operationLog.api.ts b/src/views/interveneNew/diabetes/intervene/operationLog/operationLog.api.ts deleted file mode 100644 index f84a5a1..0000000 --- a/src/views/interveneNew/diabetes/intervene/operationLog/operationLog.api.ts +++ /dev/null @@ -1,11 +0,0 @@ -// -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - listApi = '/health-intervene/diabetes/diabetesEffectDeviceOperate/list', - exportOperate = '/health-intervene/diabetes/diabetesEffectDeviceOperate/exportXls', -} - -export const listApi = (params) => defHttp.get({ url: Api.listApi, params }); - -export const exportOperate = Api.exportOperate; diff --git a/src/views/interveneNew/diabetes/intervene/operationLog/operationLog.data.ts b/src/views/interveneNew/diabetes/intervene/operationLog/operationLog.data.ts deleted file mode 100644 index 41bba9b..0000000 --- a/src/views/interveneNew/diabetes/intervene/operationLog/operationLog.data.ts +++ /dev/null @@ -1,173 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { allSecondaryDepartsNew } from '/@/utils/orgSearchInfo'; -import { h } from 'vue'; - -export const columns: BasicColumn[] = [ - { - title: '终端编号', - align: 'center', - dataIndex: 'deviceNumber', - }, - { - title: '型号', - align: 'center', - dataIndex: 'deviceModel', - }, - { - title: '归属单位', - align: 'center', - dataIndex: 'departName', - customRender: ({ text }) => { - if (!text) { - return '-'; - } - return text; - }, - }, - { - title: '操作类型', - align: 'center', - dataIndex: 'operateType', - customRender: ({ text }) => { - if (text == 1) - return h('span', { - innerHTML: '删除', - style: { - background: '#f8e7e8', - color: '#ff4d4f', - display: 'inline-block', - width: '42%', - borderRadius: '20px', - border: '1px solid #ff4d4f', - }, - }); - if (text == 2) - return h('span', { - innerHTML: '绑定', - style: { - background: '#e4efd4', - color: '#5ca100', - display: 'inline-block', - width: '42%', - borderRadius: '20px', - border: '1px solid', - }, - }); - if (text == 3) - return h('span', { - innerHTML: '解绑', - style: { - background: '#eff0f1', - color: '#251010', - display: 'inline-block', - width: '42%', - borderRadius: '20px', - border: '1px solid #bbbbbb', - }, - }); - if (text == 0) - return h('span', { - innerHTML: '新增', - style: { - background: '#eff0f1', - color: '#251010', - display: 'inline-block', - width: '42%', - borderRadius: '20px', - border: '1px solid #bbbbbb', - }, - }); - }, - }, - { - title: '上一次绑定日期', - align: 'center', - dataIndex: 'lastTime', - customRender: ({ text }) => { - if (!text) { - return '-'; - } - return text; - }, - }, - { - title: '绑定员工', - align: 'center', - dataIndex: 'realName', - }, - { - title: '员工工号', - align: 'center', - dataIndex: 'workNo', - }, - { - title: '员工单位', - align: 'center', - dataIndex: 'userDepartName', - }, - { - title: '员工部门', - align: 'center', - dataIndex: 'userOrgName', - }, - { - title: '操作时间 ', - align: 'center', - dataIndex: 'operateDate', - }, -]; - -export const searchSchema: FormSchema[] = [ - { - label: '终端编号', - field: 'deviceNumber', - component: 'Input', - }, - { - label: '单位名称', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onDeselect: () => { - formModel['orgCode'] = ''; - }, - }; - }, - }, - { - label: '操作类型', - field: 'operateType', - component: 'Select', - componentProps: () => { - return { - options: [ - { - label: '绑定', - value: '2', - }, - { - label: '解绑', - value: '3', - }, - ], - }; - }, - }, - { - label: '操作日期', - field: 'operateDate', - component: 'RangeDate', - componentProps: () => ({ format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD', style: { width: '100%' } }), - }, -]; diff --git a/src/views/interveneNew/diabetes/intervene/operationLog/operationLog.vue b/src/views/interveneNew/diabetes/intervene/operationLog/operationLog.vue deleted file mode 100644 index 9ff3b85..0000000 --- a/src/views/interveneNew/diabetes/intervene/operationLog/operationLog.vue +++ /dev/null @@ -1,41 +0,0 @@ - - diff --git a/src/views/interveneNew/diabetes/intervene/plan/components/chooseSome/index.vue b/src/views/interveneNew/diabetes/intervene/plan/components/chooseSome/index.vue deleted file mode 100644 index 577e7b4..0000000 --- a/src/views/interveneNew/diabetes/intervene/plan/components/chooseSome/index.vue +++ /dev/null @@ -1,194 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/intervene/plan/components/groupUserModal.vue b/src/views/interveneNew/diabetes/intervene/plan/components/groupUserModal.vue deleted file mode 100644 index 50c674e..0000000 --- a/src/views/interveneNew/diabetes/intervene/plan/components/groupUserModal.vue +++ /dev/null @@ -1,72 +0,0 @@ - - diff --git a/src/views/interveneNew/diabetes/intervene/plan/components/indexDrawer.vue b/src/views/interveneNew/diabetes/intervene/plan/components/indexDrawer.vue deleted file mode 100644 index e80af43..0000000 --- a/src/views/interveneNew/diabetes/intervene/plan/components/indexDrawer.vue +++ /dev/null @@ -1,300 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/intervene/plan/effectAnalysis/components/effectAnalysisDrawer.vue b/src/views/interveneNew/diabetes/intervene/plan/effectAnalysis/components/effectAnalysisDrawer.vue deleted file mode 100644 index 9c49a83..0000000 --- a/src/views/interveneNew/diabetes/intervene/plan/effectAnalysis/components/effectAnalysisDrawer.vue +++ /dev/null @@ -1,43 +0,0 @@ - - diff --git a/src/views/interveneNew/diabetes/intervene/plan/effectAnalysis/index.data.ts b/src/views/interveneNew/diabetes/intervene/plan/effectAnalysis/index.data.ts deleted file mode 100644 index 4db2858..0000000 --- a/src/views/interveneNew/diabetes/intervene/plan/effectAnalysis/index.data.ts +++ /dev/null @@ -1,551 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -export const columns: BasicColumn[] = [ - // { - // title: '序号', - // align: 'center', - // width: 1, - // customRender: ({ index }) => { - // return index + 1; - // }, - // }, - { - title: '单位', - align: 'center', - dataIndex: 'departName', - width: 120, - }, - { - title: '部门', - align: 'center', - dataIndex: 'orgName', - width: 120, - }, - { - title: '姓名', - align: 'center', - dataIndex: 'realName', - width: 120, - }, - { - title: '工号', - align: 'center', - dataIndex: 'workNo', - width: 120, - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - width: 70, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - width: 70, - }, - { - title: '身高(cm)', - align: 'center', - dataIndex: 'height', - width: 70, - }, - { - title: '体重(kg)', - align: 'center', - dataIndex: 'weight', - width: 70, - }, - { - title: 'BMI', - align: 'center', - dataIndex: 'bmi', - customRender: ({ text }) => { - return Number(text).toFixed(2); - }, - width: 120, - }, - { - title: '体力活动', - align: 'center', - dataIndex: 'physicalActivity', - width: 120, - }, - { - title: '期初', - align: 'center', - dataIndex: '', - children: [ - { - title: '是否参加', - align: 'center', - dataIndex: 'startAttend', - customRender: ({ text }) => { - if (!text) return '-'; - return text === 0 ? '否' : '是'; - }, - width: 120, - }, - { - title: '预警值', - align: 'center', - dataIndex: 'startWarningNum', - customRender: ({ text }) => { - if (!text) return '-'; - return text === 0 ? '否' : '是'; - }, - width: 120, - }, - { - title: '血糖值', - align: 'center', - dataIndex: 'startHyValue', - width: 120, - }, - { - title: '是否患有糖尿病', - align: 'center', - dataIndex: 'startDiabetes', - customRender: ({ text }) => { - if (!text) return '-'; - return text === 0 ? '否' : '是'; - }, - width: 160, - }, - ], - }, - { - title: '期末', - align: 'center', - dataIndex: 'status_dictText', - children: [ - { - title: '是否参加', - align: 'center', - dataIndex: 'endAttend', - customRender: ({ text }) => { - if (!text) return '-'; - return text === 0 ? '否' : '是'; - }, - width: 120, - }, - { - title: '预警值', - align: 'center', - dataIndex: 'endWarningNum', - customRender: ({ text }) => { - if (!text) return '-'; - return text === 0 ? '否' : '是'; - }, - width: 120, - }, - { - title: '血糖值', - align: 'center', - dataIndex: 'endHyValue', - width: 120, - }, - { - title: '是否患有糖尿病', - align: 'center', - dataIndex: 'endDiabetes', - customRender: ({ text }) => { - if (!text) return '-'; - return text === 0 ? '否' : '是'; - }, - width: 160, - }, - ], - }, - { - title: '是否坚持参加', - align: 'center', - dataIndex: 'persistAttend', - customRender: ({ text }) => { - if (!text) return '-'; - return text === 0 ? '否' : '是'; - }, - width: 160, - }, - { - title: '预警值由高转正常', - align: 'center', - dataIndex: 'warningHighToLow', - customRender: ({ text }) => { - if (!text) return '-'; - return text === 0 ? '否' : '是'; - }, - width: 160, - }, - { - title: '是否新增糖尿病', - align: 'center', - dataIndex: 'diabetesNew', - customRender: ({ text }) => { - if (!text) return '-'; - return text === 0 ? '否' : '是'; - }, - width: 160, - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - }, - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, -]; - -function getNumberRegExp(_, value) { - if (!value) { - return Promise.resolve(); - } - const patternNumber = /^\d*(\.\d+)?$/; - if (!patternNumber.test(value) || value < 0) { - return Promise.reject('请输入有效数字'); - } - return Promise.resolve(); -} - -export const effectForm: FormSchema[] = [ - { - label: 'id', - field: 'id', - component: 'Input', - show: false, - }, - { - label: '单位', - field: 'departName', - component: 'Input', - colProps: { span: 12 }, - componentProps: () => { - return { - disabled: true, - }; - }, - }, - { - label: '部门', - field: 'orgName', - component: 'Input', - colProps: { span: 12 }, - componentProps: () => { - return { - disabled: true, - }; - }, - }, - { - label: '姓名', - field: 'realName', - component: 'Input', - colProps: { span: 12 }, - componentProps: () => { - return { - disabled: true, - }; - }, - }, - { - label: '工号', - field: 'workNo', - component: 'Input', - colProps: { span: 12 }, - componentProps: () => { - return { - disabled: true, - }; - }, - }, - { - label: '性别', - field: 'sex_dictText', - component: 'Input', - colProps: { span: 12 }, - componentProps: () => { - return { - disabled: true, - }; - }, - }, - { - label: '年龄', - field: 'age', - component: 'Input', - colProps: { span: 12 }, - componentProps: () => { - return { - disabled: true, - }; - }, - }, - { - label: '身高(cm)', - field: 'height', - component: 'Input', - colProps: { span: 12 }, - componentProps: () => { - return { - disabled: true, - }; - }, - }, - { - label: '体重(kg)', - field: 'weight', - component: 'Input', - colProps: { span: 12 }, - componentProps: () => { - return { - disabled: true, - }; - }, - }, - { - label: 'BMI', - field: 'bmi', - component: 'Input', - colProps: { span: 12 }, - componentProps: () => { - return { - disabled: true, - }; - }, - }, - { - label: '体力活动', - field: 'physicalActivity', - component: 'Input', - colProps: { span: 12 }, - componentProps: () => { - return { - disabled: true, - }; - }, - }, - { - label: '期初', - field: 'start', - component: 'Input', - slot: 'start', - }, - { - label: '是否参加', - field: 'startAttend', - component: 'Select', - colProps: { span: 12 }, - componentProps: () => { - return { - options: [ - { - label: '否', - value: 0, - }, - { - label: '是', - value: 1, - }, - ], - }; - }, - }, - { - label: '预警值', - field: 'startWarningNum', - component: 'InputNumber', - - required: false, - componentProps: () => { - return { - style: { width: '100%' }, - }; - }, - rules: [ - { - validator: getNumberRegExp, - }, - ], - colProps: { span: 12 }, - }, - { - label: '血糖值', - field: 'startHyValue', - component: 'InputNumber', - componentProps: () => { - return { - style: { width: '100%' }, - }; - }, - rules: [ - { - required: false, - validator: getNumberRegExp, - }, - ], - colProps: { span: 12 }, - }, - { - label: '是否患有糖尿病', - field: 'startDiabetes', - component: 'Select', - colProps: { span: 12 }, - componentProps: () => { - return { - options: [ - { - label: '否', - value: 0, - }, - { - label: '是', - value: 1, - }, - ], - }; - }, - }, - { - label: '期末', - field: 'end', - component: 'Input', - slot: 'end', - }, - { - label: '是否参加', - field: 'endAttend', - component: 'Select', - colProps: { span: 12 }, - componentProps: () => { - return { - options: [ - { - label: '否', - value: 0, - }, - { - label: '是', - value: 1, - }, - ], - }; - }, - }, - { - label: '预警值', - field: 'endWarningNum', - colProps: { span: 12 }, - rules: [ - { - required: false, - validator: getNumberRegExp, - }, - ], - component: 'InputNumber', - componentProps: () => { - return { - style: { width: '100%' }, - }; - }, - }, - { - label: '血糖值', - field: 'endHyValue', - colProps: { span: 12 }, - rules: [ - { - required: false, - validator: getNumberRegExp, - }, - ], - component: 'InputNumber', - componentProps: () => { - return { - style: { width: '100%' }, - }; - }, - }, - { - label: '是否患有糖尿病', - field: 'endDiabetes', - component: 'Select', - colProps: { span: 12 }, - componentProps: () => { - return { - options: [ - { - label: '否', - value: 0, - }, - { - label: '是', - value: 1, - }, - ], - }; - }, - }, - { - label: '是否坚持参加', - field: 'persistAttend', - component: 'Select', - componentProps: () => { - return { - options: [ - { - label: '否', - value: 0, - }, - { - label: '是', - value: 1, - }, - ], - }; - }, - }, - { - label: '预警值由高转正常', - field: 'warningHighToLow', - component: 'Select', - componentProps: () => { - return { - options: [ - { - label: '否', - value: 0, - }, - { - label: '是', - value: 1, - }, - ], - }; - }, - }, - { - label: '是否新增糖尿病', - field: 'diabetesNew', - component: 'Select', - componentProps: () => { - return { - options: [ - { - label: '否', - value: 0, - }, - { - label: '是', - value: 1, - }, - ], - }; - }, - }, -]; diff --git a/src/views/interveneNew/diabetes/intervene/plan/effectAnalysis/index.vue b/src/views/interveneNew/diabetes/intervene/plan/effectAnalysis/index.vue deleted file mode 100644 index 6d34a17..0000000 --- a/src/views/interveneNew/diabetes/intervene/plan/effectAnalysis/index.vue +++ /dev/null @@ -1,164 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/diabetes/intervene/plan/index.api.ts b/src/views/interveneNew/diabetes/intervene/plan/index.api.ts deleted file mode 100644 index 9022ec4..0000000 --- a/src/views/interveneNew/diabetes/intervene/plan/index.api.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -export enum Api { - list = '/health-intervene/diabetes/effect/list', - add = '/health-intervene/diabetes/effect/add', - effectList = '/health-intervene/diabetes/diabetesInterveneEffectAnalysis/list', - userByType = '/health-intervene/diabetes/effect/queryByType', - edit = '/health-intervene/diabetes/effect/edit', - delete = '/health-intervene/diabetes/effect/delete', - effectEdit = '/health-intervene/diabetes/diabetesInterveneEffectAnalysis/edit', -} -// 列表 -export const listApi = (params) => defHttp.get({ url: Api.list, params }); -//效果干预列表 -export const effectList = (params) => defHttp.get({ url: Api.effectList, params }); -export const effectEdit = (params) => defHttp.post({ url: Api.effectEdit, params }); -//新增 -export const addApi = (params) => defHttp.post({ url: Api.add, params }); -export const editApi = (params) => defHttp.put({ url: Api.edit, params }); -//通过类型查询人员 -export const userByType = (params) => defHttp.post({ url: Api.userByType, params }); - -//删除 - -export const deleteAPI = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.delete, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/diabetes/intervene/plan/index.data.ts b/src/views/interveneNew/diabetes/intervene/plan/index.data.ts deleted file mode 100644 index d4a6f04..0000000 --- a/src/views/interveneNew/diabetes/intervene/plan/index.data.ts +++ /dev/null @@ -1,558 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getDeptList } from '/@/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivityHooks'; -import { getThirdDepartListByOrgCode } from '/@/views/archive/employeeFile/employeeFileList.api'; -import { useUserStore } from '/@/store/modules/user'; -import { ref } from 'vue'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { rules } from '/@/utils/helper/validator'; -import { message } from 'ant-design-vue'; -import { queryDepartTreeSync } from '/@/views/system/depart/depart.api'; -export const columns: BasicColumn[] = [ - { - title: '单位名称', - align: 'center', - dataIndex: 'departName', - width: 120, - }, - { - title: '干预名称', - align: 'center', - dataIndex: 'interveneName', - width: 120, - }, - { - title: '干预起止日期', - align: 'center', - dataIndex: 'gender', - customRender: ({ record }) => { - return `${record.interveneStartDate}-${record.interveneEndDate}`; - }, - width: 160, - }, - { - title: '样本组成员', - align: 'center', - dataIndex: 'sampleGroup', - width: 100, - }, - { - title: '对照组成员', - align: 'center', - dataIndex: 'controlGroup', - width: 100, - }, - { - title: '干预目标', - align: 'center', - dataIndex: 'interveneTarget', - width: 120, - }, - { - title: '参与人数', - align: 'center', - dataIndex: 'attendUserNum', - width: 100, - }, - // { - // title: '配发监测终端', - // align: 'center', - // dataIndex: 'attendSendNum', - // }, - { - title: '投入人力', - align: 'center', - dataIndex: 'inputManpower', - width: 100, - }, - { - title: '投入资金(元)', - align: 'center', - dataIndex: 'inputMoney', - width: 100, - }, - { - title: '责任部门', - align: 'center', - width: 100, - dataIndex: 'dutyDepartName', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '干预名称', - field: 'interveneName', - component: 'Input', - }, - { - label: '计划日期', - field: 'contractUnit', - component: 'RangeDate', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - }; - }, - }, -]; -const user = useUserStore(); -const deptOption = ref([]); -export const formSchema: FormSchema[] = [ - { - label: '干预名称', - field: 'interveneName', - component: 'Input', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - required: true, - }, - { - label: '干预起止日期', - field: 'activityDate', - component: 'RangePicker', - required: true, - componentProps: ({ formModel }) => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - onChange: ([start, end]) => { - formModel.interveneStartDate = start; - formModel.interveneEndDate = end; - }, - }; - }, - }, - { - label: '起始时间', - field: 'interveneStartDate', - component: 'Input', - show: false, - }, - { - label: '起始时间', - field: 'interveneEndDate', - component: 'Input', - show: false, - }, - // { - // label: '样本组成员', - // field: 'sampleGroup', - // component: 'Input', - // required: true, - // defaultValue: '1', - // slot: 'sampleGroup', - // }, - { - label: '样本组人员', - field: 'sampleGroup', - component: 'JDictSelectTag', - componentProps: ({ formModel }) => { - return { - type: 'radio', - options: [ - { label: '全体员工(管辖范围内)', value: '0' }, - { label: '指定人员', value: '1' }, - ], - onChange: (val: string) => { - if (val === '0') { - formModel.sampleDepartScopeList = []; - formModel.userName = ''; - formModel.sampleDepart = ''; - formModel.sampleUserScopeList = []; - formModel.sampleScopeType = 0; - } - }, - }; - }, - defaultValue: '1', - required: true, - }, - // { - // label: '指定部门', - // field: 'sampleDepart', - // component: 'ApiSelect', - // componentProps: ({ formModel }) => { - // const userOrgCode = user?.userInfo?.orgCode?.substring(0, 6); - // return { - // mode: 'multiple', - // api: getThirdDepartListByOrgCode, - // params: { - // orgCode: userOrgCode || '12313', - // }, - // labelField: 'departName', - // valueField: 'orgCode', - // immediate: true, - // afterFetch: (option) => { - // deptOption.value = option; - // }, - // onChange: (org) => { - // if (org) { - // const arr = getDeptList(deptOption.value, org); - // arr.map((item) => { - // item.effectType = 0; - // return item; - // }); - // formModel.sampleDepartScopeList = JSON.stringify(arr); - // } - // }, - // }; - // }, - // ifShow: ({ values }) => values.sampleGroup == '1', - // }, - { - label: '指定部门', - field: 'sampleDepartScopeList', - component: 'JlazyTreeSelect', - ifShow: ({ values }) => values.sampleGroup == '1', - componentProps: ({ formModel }) => { - console.log(formModel.sampleDepartScopeList, '1232142142813867823'); - return { - api: queryDepartTreeSync, - loadApi: queryDepartTreeSync, - selectedKeys: - formModel.sampleDepartScopeList && - formModel.sampleDepartScopeList.map((item) => { - return JSON.parse(item); - }), - expandedKeys: - formModel.sampleDepartScopeList && - formModel.sampleDepartScopeList.map((item) => { - return JSON.parse(item); - }), - afterApi: (data) => { - data.forEach((item: any) => { - item['resultItem'] = JSON.stringify({ - record: item.title, - scopeId: item.orgCode, - type: 1, - }); - item['preTitle'] = item.title; - item['key'] = item['resultItem']; - }); - return data; - }, - preItem: (title, item) => { - item['preTitle'] = title + '/' + item.title; - item['resultItem'] = JSON.stringify({ - record: item.title, - scopeId: item.orgCode, - type: 1, - }); - item['key'] = item['resultItem']; - return item; - }, - fieldNamesInfo: { - value: 'resultItem', - label: 'preTitle', - key: 'resultItem', - }, - }; - }, - }, - { - label: '样本组范围', - field: 'sampleScopeType', - component: 'Input', - componentProps: ({ formModel }) => { - if (formModel.sampleDepartScopeList && formModel.sampleDepartScopeList.length) { - formModel.sampleScopeType = 1; - if (formModel.userName) { - formModel.sampleScopeType = 3; - } - } else { - if (formModel.userName) { - formModel.sampleScopeType = 2; - } - } - }, - show: false, - }, - // { - // label: '指定部门', - // field: 'sampleDepartScopeList', - // component: 'Input', - // show: false, - // }, - { - label: '指定员工', - field: 'userName', - component: 'Input', - slot: 'selectEmployee', - ifShow: ({ values }) => values.sampleGroup == '1', - }, - { - label: '指定员工', - field: 'sampleUserScopeList', - component: 'Input', - show: false, - }, - { - label: '对照组成员', - field: 'controlGroup', - component: 'JDictSelectTag', - componentProps: ({ formModel }) => { - return { - type: 'radio', - options: [ - { label: '全体员工(管辖范围内)', value: '0' }, - { label: '指定人员', value: '1' }, - ], - onChange: (val: string) => { - if (val == '0') { - formModel.controlDepart = []; - formModel.controlUserName = ''; - formModel.contrastDepartScopeList = []; - formModel.contrastUserScopeList = []; - formModel.contrastScopeType = 0; - } - }, - }; - }, - defaultValue: '1', - required: true, - }, - // { - // label: '指定部门', - // field: 'controlDepart', - // component: 'ApiSelect', - // componentProps: ({ formModel }) => { - // const userOrgCode = user?.userInfo?.orgCode?.substring(0, 6); - // return { - // mode: 'multiple', - // api: getThirdDepartListByOrgCode, - // params: { - // orgCode: userOrgCode || '12313', - // }, - // labelField: 'departName', - // valueField: 'orgCode', - // immediate: true, - // afterFetch: (option) => { - // deptOption.value = option; - // }, - // onChange: (org) => { - // if (org) { - // const arr = getDeptList(deptOption.value, org); - // arr.map((item) => { - // item.effectType = 1; - // return item; - // }); - // formModel.contrastDepartScopeList = JSON.stringify(arr); - // } - // }, - // }; - // }, - // ifShow: ({ values }) => values.controlGroup == '1', - // }, - { - label: '指定部门', - field: 'contrastDepartScopeList', - component: 'JlazyTreeSelect', - ifShow: ({ values }) => values.controlGroup == '1', - componentProps: ({ formModel }) => { - console.log(formModel.contrastDepartScopeList || []); - return { - api: queryDepartTreeSync, - loadApi: queryDepartTreeSync, - selectedKeys: - formModel.contrastDepartScopeList && - formModel.contrastDepartScopeList.map((item) => { - return JSON.parse(item); - }), - expandedKeys: - formModel.contrastDepartScopeList && - formModel.contrastDepartScopeList.map((item) => { - return JSON.parse(item); - }), - afterApi: (data) => { - data.forEach((item: any) => { - item['resultItem'] = JSON.stringify({ - record: item.title, - scopeId: item.orgCode, - type: 1, - }); - item['preTitle'] = item.title; - item['key'] = item['resultItem']; - }); - return data; - }, - preItem: (title, item) => { - item['preTitle'] = title + '/' + item.title; - item['resultItem'] = JSON.stringify({ - record: item.title, - scopeId: item.orgCode, - type: 1, - }); - item['key'] = item['resultItem']; - return item; - }, - fieldNamesInfo: { - value: 'resultItem', - label: 'preTitle', - key: 'resultItem', - }, - }; - }, - }, - // { - // label: '指定部门', - // field: 'contrastDepartScopeList', - // component: 'Input', - // show: false, - // }, - { - label: '对照组范围', - field: 'contrastScopeType', - component: 'Input', - componentProps: ({ formModel }) => { - console.log(formModel); - if (formModel.contrastDepartScopeList && formModel.contrastDepartScopeList.length > 0) { - console.log(formModel.contrastDepartScopeList.length); - formModel.contrastScopeType = 1; - if (formModel.controlUserName) { - formModel.contrastScopeType = 3; - } - } else { - if (formModel.controlUserName) { - formModel.contrastScopeType = 2; - } - } - }, - show: false, - }, - { - label: '指定员工', - field: 'controlUserName', - component: 'Input', - slot: 'selectControlEmployee', - ifShow: ({ values }) => values.controlGroup == '1', - }, - { - label: '指定员工', - field: 'contrastUserScopeList', - component: 'Input', - show: false, - }, - { - label: '干预目标', - field: 'interveneTarget', - component: 'Input', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - required: true, - }, - { - label: '责任部门', - field: 'dutyDepartName', - component: 'Input', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - required: true, - }, - // { - // label: '配发监测终端', - // field: 'attendSendNum', - // component: 'Input', - // componentProps: () => { - // return { - // autocomplete: 'off', - // }; - // }, - // }, - { - label: '投入人力', - field: 'inputManpower', - component: 'InputNumber', - componentProps: () => { - return { - autocomplete: 'off', - style: { - width: '100%', - }, - min: 0, - step: 1, - }; - }, - rules: [{ required: false, validator: (_, value) => numberGreaterThanZeroInt(value), trigger: 'change' }], - }, - { - label: '投入资金', - field: 'inputMoney', - component: 'InputNumber', - componentProps: ({ formModel }) => { - return { - autocomplete: 'off', - style: { - width: '100%', - }, - min: 0, - step: 0.01, - addonAfter: '元', - }; - }, - }, -]; - -export const groupColumn: BasicColumn[] = [ - { - title: '单位', - dataIndex: 'departName', - align: 'center', - }, - { - title: '部门', - dataIndex: 'orgName', - align: 'center', - }, - { - title: '姓名', - dataIndex: 'realName', - align: 'center', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - align: 'center', - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - }, - { - title: '工号', - dataIndex: 'workNo', - align: 'center', - }, -]; -export const groupFormSchema: FormSchema[] = [ - ...orgSearchInfoByCode('departCode', 'orgCode1', 'orgCode'), - { - label: '姓名', - field: 'realName', - component: 'Input', - }, - { - label: '工号', - field: 'workNo', - component: 'Input', - }, -]; - -function numberGreaterThanZeroInt(value: number) { - if (!value) return Promise.resolve(''); - const patternNumber = /^\d+$/; - if (!patternNumber.test(value) || value < 0) { - return Promise.reject('请输入大于0的整数'); - } - return Promise.resolve('请输入大于0的整数'); -} diff --git a/src/views/interveneNew/diabetes/intervene/plan/index.vue b/src/views/interveneNew/diabetes/intervene/plan/index.vue deleted file mode 100644 index f218860..0000000 --- a/src/views/interveneNew/diabetes/intervene/plan/index.vue +++ /dev/null @@ -1,123 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/diabetes/intervene/terminalManagement/components/addDeviceModal.vue b/src/views/interveneNew/diabetes/intervene/terminalManagement/components/addDeviceModal.vue deleted file mode 100644 index 8344908..0000000 --- a/src/views/interveneNew/diabetes/intervene/terminalManagement/components/addDeviceModal.vue +++ /dev/null @@ -1,40 +0,0 @@ - - diff --git a/src/views/interveneNew/diabetes/intervene/terminalManagement/components/bindEmployees.vue b/src/views/interveneNew/diabetes/intervene/terminalManagement/components/bindEmployees.vue deleted file mode 100644 index a9c81eb..0000000 --- a/src/views/interveneNew/diabetes/intervene/terminalManagement/components/bindEmployees.vue +++ /dev/null @@ -1,124 +0,0 @@ - - diff --git a/src/views/interveneNew/diabetes/intervene/terminalManagement/components/bindingRecordsDrawer.vue b/src/views/interveneNew/diabetes/intervene/terminalManagement/components/bindingRecordsDrawer.vue deleted file mode 100644 index 3dc4779..0000000 --- a/src/views/interveneNew/diabetes/intervene/terminalManagement/components/bindingRecordsDrawer.vue +++ /dev/null @@ -1,84 +0,0 @@ - - diff --git a/src/views/interveneNew/diabetes/intervene/terminalManagement/components/deviceImport.vue b/src/views/interveneNew/diabetes/intervene/terminalManagement/components/deviceImport.vue deleted file mode 100644 index a23bce6..0000000 --- a/src/views/interveneNew/diabetes/intervene/terminalManagement/components/deviceImport.vue +++ /dev/null @@ -1,155 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/intervene/terminalManagement/terminalManagement.api.ts b/src/views/interveneNew/diabetes/intervene/terminalManagement/terminalManagement.api.ts deleted file mode 100644 index 0ce0bfa..0000000 --- a/src/views/interveneNew/diabetes/intervene/terminalManagement/terminalManagement.api.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -export enum Api { - list = '/health-intervene/diabetes/diabetesEffectDevice/list', - deviceBind = '/health-intervene/diabetes/diabetesEffectDevice/bind', - deviceUnBind = '/health-intervene/diabetes/diabetesEffectDevice/unbind', - deviceDelete = '/health-intervene/diabetes/diabetesEffectDevice/delete', - deviceImport = '/health-intervene/diabetes/diabetesEffectDevice/importExcel', - importExcelBindData = '/health-intervene/diabetes/diabetesEffectDevice/importExcelBindData', - importExcelUnBindData = '/health-intervene/diabetes/diabetesEffectDevice/importExcelUnBind', - deviceAdd = '/health-intervene/diabetes/diabetesEffectDevice/add', - bindList = '/health-intervene/diabetes/diabetesEffectDeviceBind/list', - bindExportXls = '/health-intervene/diabetes/diabetesEffectDeviceBind/exportXls', -} -// 列表 -export const listApi = (params) => defHttp.get({ url: Api.list, params }); - -//新增 -export const deviceAdd = (params) => defHttp.post({ url: Api.deviceAdd, params }); - -//监测终端绑定 -export const deviceBind = (params) => defHttp.post({ url: Api.deviceBind, params }); - -// 监测终端解绑 -// export const deviceUnBind = (params) => defHttp.post({ url: Api.deviceUnBind, params }); - -export const deviceImport = (params) => defHttp.post({ url: Api.deviceImport, params }); -export const importExcelBindData = (params) => defHttp.post({ url: Api.importExcelBindData, params }); -export const importExcelUnBindData = (params) => defHttp.post({ url: Api.importExcelUnBindData, params }); - -//监测终端删除 -export const deviceDelete = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deviceDelete, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; - -export const deviceUnBind = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认解绑', - content: '是否解绑选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.deviceUnBind, data: params }).then(() => { - handleSuccess(); - }); - }, - }); -}; - -export const bindListApi = (params) => defHttp.get({ url: Api.bindList, params }); - -export const bindExportXls = Api.bindExportXls; diff --git a/src/views/interveneNew/diabetes/intervene/terminalManagement/terminalManagement.data.ts b/src/views/interveneNew/diabetes/intervene/terminalManagement/terminalManagement.data.ts deleted file mode 100644 index ab08335..0000000 --- a/src/views/interveneNew/diabetes/intervene/terminalManagement/terminalManagement.data.ts +++ /dev/null @@ -1,441 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { allSecondaryDepartsNew, getThirdDepartsNew, orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { h } from 'vue'; -import { message } from 'ant-design-vue'; -interface Record { - orgName: string; - deviceNumber: string; - deviceBrand: string; - bindStatus: number; - bindDate: string; - deviceModel: string; - deviceDate: string; - realName: string; - userDepartName: string; - userOrgName: string; -} -type RecordType = Partial; -export const columns: BasicColumn[] = [ - { - title: '归属单位', - align: 'center', - dataIndex: 'orgName', - }, - { - title: '编号', - align: 'center', - dataIndex: 'deviceNumber', - }, - { - title: '品牌', - align: 'center', - dataIndex: 'deviceBrand', - }, - { - title: '型号', - align: 'center', - dataIndex: 'deviceModel', - }, - { - title: '入库时间', - align: 'center', - dataIndex: 'deviceDate', - }, - { - title: '绑定状态', - align: 'center', - dataIndex: 'bindStatus', - customRender: ({ text }) => { - if (text == 1) - return h('span', { - innerHTML: '已绑定', - style: { - background: '#e4efd4', - color: '#5ca100', - display: 'inline-block', - width: '42%', - borderRadius: '20px', - border: '1px solid', - }, - }); - if (text == 2) - return h('span', { - innerHTML: '已解绑', - style: { - background: '#eff0f1', - color: '#251010', - display: 'inline-block', - width: '42%', - borderRadius: '20px', - border: '1px solid #bbbbbb', - }, - }); - if (text == 0) - return h('span', { - innerHTML: '未绑定', - style: { - background: '#eff0f1', - color: '#251010', - display: 'inline-block', - width: '42%', - borderRadius: '20px', - border: '1px solid #bbbbbb', - }, - }); - }, - }, - { - title: '绑定员工', - align: 'center', - dataIndex: 'realName', - customRender: ({ record }: { record: RecordType }) => { - if (record.bindStatus == 1) return record?.realName || ''; - else return '-'; - }, - }, - { - title: '员工单位', - align: 'center', - dataIndex: 'userDepartName', - customRender: ({ record }) => { - if (record.bindStatus == 1) return record?.userDepartName || ''; - else return '-'; - }, - }, - { - title: '员工部门', - align: 'center', - dataIndex: 'userOrgName', - customRender: ({ record }) => { - if (record.bindStatus == 1) return record?.userOrgName || ''; - else return '-'; - }, - }, - { - title: '绑定日期', - align: 'center', - dataIndex: 'bindDate', - customRender: ({ record }) => { - if (record.bindStatus == 1) return record?.bindDate || ''; - else return '-'; - }, - }, -]; - -export const searchSchema: FormSchema[] = [ - { - label: '终端编号', - field: 'deviceNumber', - component: 'Input', - }, - { - label: '单位名称', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onDeselect: () => { - formModel['orgCode'] = ''; - }, - }; - }, - }, - { - label: '绑定状态', - field: 'bindStatus', - component: 'Select', - componentProps: () => { - return { - options: [ - { - label: '未绑定', - value: '0', - }, - { - label: '已绑定', - value: '1', - }, - { - label: '已解绑', - value: '2', - }, - ], - }; - }, - }, - { - label: '绑定员工', - field: 'realName', - component: 'Input', - }, - { - label: '绑定日期', - field: 'rangeDate', - component: 'RangeDate', - componentProps: () => ({ format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD', style: { width: '100%' } }), - }, -]; - -export const bindSchemas: FormSchema[] = [ - { - label: '工具编码', - field: 'deviceNumber', - component: 'Input', - componentProps: () => { - return { - disabled: 'true', - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '绑定用户id', - field: 'bindUserId', - component: 'Input', - show: false, - }, - { - label: '绑定用户', - field: 'bindRealName', - slot: 'bindUser', - component: 'Input', - required: true, - }, - { - label: '绑定日期', - field: 'bindDate', - component: 'DatePicker', - componentProps: () => ({ - format: 'YYYY-MM-DD HH:mm:ss', - valueFormat: 'YYYY-MM-DD HH:mm:ss', - style: { width: '100%' }, - getPopupContainer: () => document.body, - }), - }, -]; - -// 设备导入 -export const importFormSchema: FormSchema[] = [ - { - label: '上传文件', - field: 'file', - component: 'Input', - required: true, - slot: 'file', - }, - { - label: '单位名称', - field: 'unitCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位名称', - immediate: true, - onChange: (_value) => { - formModel.orgCode = ''; - }, - onDeselect: () => { - formModel.orgCode = ''; - formModel.unitCode = ''; - }, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '部门名称', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNew, - resultField: 'list', - labelField: 'departName', - params: { - idOrCode: formModel?.unitCode || '12313', - }, - valueField: 'orgCode', - immediate: true, - onFocus: () => { - if (!formModel.unitCode) { - return message.warn('请先选择单位!'); - } - }, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, -]; - -export const addDeviceForm: FormSchema[] = [ - { - label: '归属单位', - field: 'orgCode', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位名称', - // disabled: disabled, - immediate: true, - // afterFetch: () => { - // getAnyFromOther().r(); - // }, - onDeselect: () => { - formModel.orgCode = ''; - }, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '终端编号', - field: 'deviceNumber', - component: 'Input', - required: true, - }, - { - label: '终端品牌', - field: 'deviceBrand', - component: 'Input', - }, - { - label: '终端型号', - field: 'deviceModel', - component: 'Input', - }, -]; - -export const bindingColumns: BasicColumn[] = [ - { - title: '操作类型', - dataIndex: 'operateType', - customRender: ({ text }) => { - if (text == '2') - return h('span', { - innerHTML: '绑定', - style: { - background: '#e4efd4', - color: '#5ca100', - display: 'inline-block', - width: '42%', - borderRadius: '20px', - border: '1px solid', - }, - }); - if (text == '3') - return h('span', { - innerHTML: '解绑', - style: { - background: '#eff0f1', - color: '#251010', - display: 'inline-block', - width: '42%', - borderRadius: '20px', - border: '1px solid #bbbbbb', - }, - }); - }, - align: 'center', - }, - { - title: '上一次绑定日期', - dataIndex: 'lastTime', - align: 'center', - customRender: ({ text }) => { - if (!text) return '-'; - return text; - }, - }, - { - title: '绑定员工', - dataIndex: 'realName', - align: 'center', - }, - { - title: '员工工号', - dataIndex: 'workNo', - align: 'center', - }, - { - title: '员工单位', - dataIndex: 'userDepartName', - align: 'center', - }, - { - title: '员工部门', - dataIndex: 'userOrgName', - align: 'center', - }, - { - title: '操作时间', - dataIndex: 'operateDate', - align: 'center', - }, -]; - -export const bindingForm: FormSchema[] = [ - { - label: '绑定用户', - field: 'realName', - component: 'Input', - }, - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, - { - label: '绑定日期', - field: 'rangeDate', - component: 'RangeDate', - componentProps: () => ({ format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD', style: { width: '100%' } }), - }, -]; -//用户数据列表 -export const userFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'realname', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2', 'orgCode'), - { - label: '员工编号', - field: 'workNo', - component: 'Input', - }, -]; diff --git a/src/views/interveneNew/diabetes/intervene/terminalManagement/terminalManagement.vue b/src/views/interveneNew/diabetes/intervene/terminalManagement/terminalManagement.vue deleted file mode 100644 index b4fa6d0..0000000 --- a/src/views/interveneNew/diabetes/intervene/terminalManagement/terminalManagement.vue +++ /dev/null @@ -1,157 +0,0 @@ - - diff --git a/src/views/interveneNew/diabetes/signalWarning/common.ts b/src/views/interveneNew/diabetes/signalWarning/common.ts deleted file mode 100644 index 93439bb..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/common.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; - -export const commonColumns: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'unitName', - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'deptName', - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'name', - fixed: 'left', - }, - { - title: '员工工号', - dataIndex: 'workNo', - }, - { - title: '性别', - width: 70, - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - width: 70, - dataIndex: 'age', - }, - { - title: '身高(cm)', - dataIndex: 'height', - }, - { - title: '体重(kg)', - dataIndex: 'weight', - }, - { - title: 'BMI', - dataIndex: 'bmi', - }, - { - title: '体力活动', - dataIndex: 'physicalActivity', - }, -]; diff --git a/src/views/interveneNew/diabetes/signalWarning/history/history.api.ts b/src/views/interveneNew/diabetes/signalWarning/history/history.api.ts deleted file mode 100644 index 09e9b47..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/history/history.api.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/diabetes/signal/library/data/warning/history', - getThreshold='/health-intervene/diabetes/signal/library/data/get/threshold', - setThreshold='/health-intervene/diabetes/signal/library/data/set/threshold', -} - -export const list = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const getThirdDepartsNewApi = (params: any) => defHttp.get({ url: '/sys/sysDepart/getThirdDepartsNew', params: params }); -//获取当前预警值 -export const getThreshold = () => defHttp.get({ url: Api.getThreshold }); -//设置预警值 -export const setThreshold = (params: any) => defHttp.get({ url: Api.setThreshold, params: params }); diff --git a/src/views/interveneNew/diabetes/signalWarning/history/history.data.ts b/src/views/interveneNew/diabetes/signalWarning/history/history.data.ts deleted file mode 100644 index dc17337..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/history/history.data.ts +++ /dev/null @@ -1,172 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; -import { getThirdDepartsNewApi } from '/@/views/interveneNew/diabetes/signalWarning/history/history.api'; -import { message } from 'ant-design-vue'; -import { h } from 'vue'; -import { commonColumns } from '/@/views/interveneNew/diabetes/signalWarning/common'; -const colorTextType = { - 1: ['#000', '低风险'], - 2: ['#ffa500', '中风险'], - 3: ['#f00', '高风险'], -}; -export const columns: BasicColumn[] = [ - ...commonColumns, - { - title: '预警时间', - dataIndex: 'warningTime', - width: 150, - }, - { - title: '预警时各项症状信号数据', - children: [ - { - title: '日均排尿次数(次)', - dataIndex: 'dailyUrination', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '日均饮水量(ml)', - dataIndex: 'dailyWaterIntake', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '近一个月视力模糊程度(%)', - dataIndex: 'visionBlurred', - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '近一个月精神乏力程度(%)', - dataIndex: 'mentalFatigue', - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '膳食较以往明显增加', - dataIndex: 'dietIncrease', - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '近三个月体重减轻重量(kg)', - dataIndex: 'weightLoss', - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - ], - }, - { - title: '症状信号计算糖\n尿病预警值', - dataIndex: 'warningValue', - width: 120, - fixed: 'right', - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ record }: any) => { - const [color, text] = colorTextType[record?.warningValueType] || colorTextType['1']; - const warningValue = record?.warningValue || ''; - const str = text ? warningValue + `(${text})` : warningValue; - return h('div', { style: { color: color } }, str); - }, - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'name', - label: '员工姓名', - component: 'Input', - }, - { - field: 'workNo', - label: '员工工号', - component: 'Input', - }, - { - label: '单位名称', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.departName.toLowerCase().indexOf(str) >= 0; - }, - onChange: (val: string) => { - if (val && formModel.hasOwnProperty('deptCode')) { - formModel.deptCode = ''; - formModel.orgCode = val; - } - }, - }; - }, - }, - { - label: '部门名称', - field: 'deptCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNewApi, - params: { - idOrCode: formModel?.orgCode || 'xasd', - }, - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - onFocus: () => { - if (!formModel.orgCode) { - return message.warn('请先选择单位名称!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, -]; diff --git a/src/views/interveneNew/diabetes/signalWarning/history/historyList.vue b/src/views/interveneNew/diabetes/signalWarning/history/historyList.vue deleted file mode 100644 index 3867393..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/history/historyList.vue +++ /dev/null @@ -1,77 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/signalWarning/imitate/components/fakeRelationShip.vue b/src/views/interveneNew/diabetes/signalWarning/imitate/components/fakeRelationShip.vue deleted file mode 100644 index 22f4685..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/imitate/components/fakeRelationShip.vue +++ /dev/null @@ -1,253 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/signalWarning/imitate/components/relationShip.vue b/src/views/interveneNew/diabetes/signalWarning/imitate/components/relationShip.vue deleted file mode 100644 index 7f56f26..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/imitate/components/relationShip.vue +++ /dev/null @@ -1,120 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/signalWarning/imitate/components/trueRelationShip.vue b/src/views/interveneNew/diabetes/signalWarning/imitate/components/trueRelationShip.vue deleted file mode 100644 index a78a572..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/imitate/components/trueRelationShip.vue +++ /dev/null @@ -1,159 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/signalWarning/imitate/imitate.api.ts b/src/views/interveneNew/diabetes/signalWarning/imitate/imitate.api.ts deleted file mode 100644 index 55c23ca..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/imitate/imitate.api.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/diabetes/signal/library/data/simulation/test', - startSimulation = '/health-intervene/diabetes/signal/library/data/start/simulation', -} - -export const list = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const getThirdDepartsNewApi = (params: any) => defHttp.get({ url: '/sys/sysDepart/getThirdDepartsNew', params: params }); -export const startSimulation = (params: any) => defHttp.post({ url: Api.startSimulation, params: params }); diff --git a/src/views/interveneNew/diabetes/signalWarning/imitate/imitate.data.ts b/src/views/interveneNew/diabetes/signalWarning/imitate/imitate.data.ts deleted file mode 100644 index 5aaa05f..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/imitate/imitate.data.ts +++ /dev/null @@ -1,301 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; -import { getThirdDepartsNewApi } from '/@/views/interveneNew/diabetes/signalWarning/imitate/imitate.api'; -import { message } from 'ant-design-vue'; -import { h } from 'vue'; -import { commonColumns } from '/@/views/interveneNew/diabetes/signalWarning/common'; -const colorTextType = { - 1: ['#000', '低风险'], - 2: ['#ffa500', '中风险'], - 3: ['#f00', '高风险'], -}; -const getType = (val: string) => { - if (!val) return 1; - return val?.includes('低') ? 1 : val?.includes('中') ? 2 : 3; -}; -export const columns: BasicColumn[] = [ - ...commonColumns, - { - title: '日均排尿次数\n(次)', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - dataIndex: 'dailyUrination', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '日均饮水量\n(ml)', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - dataIndex: 'dailyWaterIntake', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '近一个月视力\n模糊程度(%)', - dataIndex: 'visionBlurred', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '近一个月精神\n乏力程度(%)', - dataIndex: 'mentalFatigue', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '膳食较以往\n明显增加', - dataIndex: 'dietIncrease', - rewriting: true, - rewroteCell: { - type: 'select', - options: [ - { - label: '是', - value: '是', - }, - { - label: '否', - value: '否', - }, - ], - }, - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '近三个月体重\n减轻重量(kg)', - dataIndex: 'weightLoss', - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '糖尿病预警值', - dataIndex: 'warningValue', - width: 110, - fixed: 'right', - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ record }: any) => { - let key = getType(record?.warningValueType) || 1; - const [color] = colorTextType[key]; - const warningValue = record?.warningValue || ''; - const str = record?.warningValueType ? warningValue + `(${record.warningValueType})` : warningValue; - return h('div', { style: { color: color } }, str); - }, - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'name', - label: '员工姓名', - component: 'Input', - }, - { - field: 'workNo', - label: '员工工号', - component: 'Input', - }, - { - label: '单位名称', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.departName.toLowerCase().indexOf(str) >= 0; - }, - onChange: (val: string) => { - if (val && formModel.hasOwnProperty('deptCode')) { - formModel.deptCode = ''; - formModel.orgCode = val; - } - }, - }; - }, - }, - { - label: '部门名称', - field: 'deptCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNewApi, - params: { - idOrCode: formModel?.orgCode || 'xasd', - }, - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - onFocus: () => { - if (!formModel.orgCode) { - return message.warn('请先选择单位名称!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, -]; - -export const relationColumn: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'unitName', - align: 'center', - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'deptName', - align: 'center', - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'userName', - align: 'center', - fixed: 'left', - }, - { - title: '员工工号', // 原来为工号 - dataIndex: 'workNo', - align: 'center', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - align: 'center', - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - }, -]; - -export const relationSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'name', - component: 'Input', - }, - { - label: '单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.departName.toLowerCase().indexOf(str) >= 0; - }, - onChange: (val: string) => { - if (val && formModel.hasOwnProperty('deptCode')) { - formModel.deptCode = ''; - formModel.orgCode = val; - } - }, - }; - }, - }, - { - label: '部门', - field: 'deptCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNewApi, - params: { - idOrCode: formModel?.orgCode || 'xasd', - }, - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - onFocus: () => { - if (!formModel.orgCode) { - return message.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '员工工号', // 原来为工号 - field: 'workNo', - component: 'Input', - }, -]; diff --git a/src/views/interveneNew/diabetes/signalWarning/imitate/imitateList.vue b/src/views/interveneNew/diabetes/signalWarning/imitate/imitateList.vue deleted file mode 100644 index f03f9fb..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/imitate/imitateList.vue +++ /dev/null @@ -1,138 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/signalWarning/library/components/libraryModal-old.vue b/src/views/interveneNew/diabetes/signalWarning/library/components/libraryModal-old.vue deleted file mode 100644 index 7f4c47e..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/library/components/libraryModal-old.vue +++ /dev/null @@ -1,235 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/signalWarning/library/components/libraryModal.vue b/src/views/interveneNew/diabetes/signalWarning/library/components/libraryModal.vue deleted file mode 100644 index e7ab702..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/library/components/libraryModal.vue +++ /dev/null @@ -1,146 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/signalWarning/library/library.api.ts b/src/views/interveneNew/diabetes/signalWarning/library/library.api.ts deleted file mode 100644 index 7f9d23f..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/library/library.api.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/diabetes/signal/library/list', - edit = '/health-intervene/diabetes/signal/library/edit', -} - -export const list = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const edit = (params: any) => defHttp.put({ url: Api.edit, params: params }); diff --git a/src/views/interveneNew/diabetes/signalWarning/library/library.data.ts b/src/views/interveneNew/diabetes/signalWarning/library/library.data.ts deleted file mode 100644 index 6c426e6..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/library/library.data.ts +++ /dev/null @@ -1,371 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { quJian } from '/@/views/interveneNew/diabetes/signalWarning/library/libraryHooks'; -export interface Record { - signalName: string; - signalId: string; - unit: string; - standard: string; - meaning: string; - normalValue: string; - abnormalValue: string; - defaultValue: string; - id: string; -} -const radioOptions = [ - { - label: '是', - value: '是', - }, - { - label: '否', - value: '否', - }, -]; -export const columns: BasicColumn[] = [ - { - title: '信号名称', - dataIndex: 'signalName', - }, - { - title: '判断单位', - dataIndex: 'unit', - width: 100, - }, - { - title: '判断标准', - dataIndex: 'standard', - }, - { - title: '判断意义', - dataIndex: 'meaning', - }, - { - title: '正常', - dataIndex: 'normalValue', - customRender: ({ record }: any) => { - if (record.normalValueCondition == quJian || record.unit.includes('-')) { - return record.normalValue; - } else { - return record.normalValueCondition + ' ' + record.normalValue; - } - }, - }, - { - title: '异常', - dataIndex: 'abnormalValue', - }, - { - title: '默认值', - dataIndex: 'defaultValue', - width: 120, - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'name', - label: '信号名称', - component: 'Input', - }, -]; - -export const formSchemaOld: FormSchema[] = [ - { - field: 'departName', - label: '判断标准', - required: true, - component: 'InputTextArea', - componentProps: () => { - return { - rows: 2, - }; - }, - }, - { - field: 'departYiYi', - label: '判断意义', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 4, - }; - }, - required: true, - }, - { - field: 'modalType', - label: '弹窗类型', - component: 'Input', - show: false, - }, - { - field: 'normal', - label: '正常', - component: 'Select', - slot: 'normalValue', - dynamicRules: ({ values }) => { - return [ - { - required: true, - validator: (_, value) => { - if (!value) { - return Promise.reject('请选择正常值'); - } - if (!values.normalStart) { - return Promise.reject('请输入正常值开始值'); - } - if (values.normal == '5' && !values.normalEnd) { - return Promise.reject('请输入正常值结束值'); - } - return Promise.resolve(); - }, - trigger: 'blur', - }, - ]; - }, - ifShow: ({ values }) => values.modalType == 2, - }, - { - field: 'normal', - label: '正常', - component: 'RadioGroup', - required: true, - componentProps: () => { - return { - options: [ - { - label: '是', - value: '是', - }, - { - label: '否', - value: '否', - }, - ], - }; - }, - ifShow: ({ values }) => values.modalType == 1, - }, - { - field: 'normalStart', - label: '正常', - component: 'Input', - show: false, - }, - { - field: 'normalEnd', - label: '正常', - component: 'Input', - show: false, - }, - { - field: 'abnormal', - label: '异常', - component: 'Select', - slot: 'abnormalValue', - dynamicRules: ({ values }) => { - return [ - { - required: true, - validator: (_, value) => { - if (!value) { - return Promise.reject('请选择异常值'); - } - if (!values.abnormalStart) { - return Promise.reject('请输入异常值开始值'); - } - if (values.abnormal == '5' && !values.abnormalEnd) { - return Promise.reject('请输入异常值结束值'); - } - return Promise.resolve(); - }, - trigger: 'blur', - }, - ]; - }, - ifShow: ({ values }) => values.modalType == 2, - }, - { - field: 'abnormal', - label: '异常', - component: 'RadioGroup', - required: true, - componentProps: () => { - return { - options: [ - { - label: '是', - value: '是', - }, - { - label: '否', - value: '否', - }, - ], - }; - }, - ifShow: ({ values }) => values.modalType == 1, - }, - { - field: 'abnormalStart', - label: '异常', - component: 'Input', - required: true, - show: false, - }, - { - field: 'abnormalEnd', - label: '异常', - component: 'Input', - show: false, - }, - { - field: 'defaultValue', - label: '默认值', - component: 'Input', - ifShow: ({ values }) => values.modalType == 2, - required: true, - }, - { - field: 'defaultValue', - label: '默认值', - component: 'RadioGroup', - componentProps: () => { - return { - options: [ - { - label: '是', - value: '是', - }, - { - label: '否', - value: '否', - }, - ], - }; - }, - ifShow: ({ values }) => values.modalType == 1, - required: true, - }, -]; -const errors = { - general: '请选择正常值符号', - startMissing: '请输入正常值', - startNegative: '正常值不能小于0', - endMissing: '请输入正常值结束值', - endNegative: '正常值结束值不能小于0', -}; -/* - * modalType: 1 radio 2 input - * */ -export const formSchema: FormSchema[] = [ - { - field: 'standard', - label: '判断标准', - required: true, - component: 'InputTextArea', - componentProps: () => { - return { - rows: 2, - }; - }, - }, - { - field: 'meaning', - label: '判断意义', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 4, - }; - }, - required: true, - }, - { - field: 'modalType', - label: '弹窗类型', - component: 'InputNumber', - show: false, - }, - { - field: 'normal', - label: '正常', - component: 'Select', - slot: 'normalValue', - dynamicRules: ({ values }) => { - return [ - { - required: true, - validator: (_, value) => { - if (!value) { - return Promise.reject(errors.general); - } - if (values.normalStart == null) { - return Promise.reject(errors.startMissing); - } - if (values.normalStart < 0) { - return Promise.reject(errors.startNegative); - } - if (values.normal == quJian && values.normalEnd == null) { - return Promise.reject(errors.endMissing); - } - if (values.normalEnd != null && values.normalEnd < 0) { - return Promise.reject(errors.endNegative); - } - return Promise.resolve(); - }, - trigger: 'blur', - }, - ]; - }, - ifShow: ({ values }) => values.modalType == 2, - }, - { - field: 'normalRadio', - label: '正常', - component: 'RadioGroup', - required: true, - componentProps: () => { - return { - options: radioOptions, - }; - }, - ifShow: ({ values }) => values.modalType == 1, - }, - { - field: 'normalStart', - label: '正常', - component: 'Input', - show: false, - }, - { - field: 'normalEnd', - label: '正常', - component: 'Input', - show: false, - }, - { - field: 'defaultRadio', - label: '默认值', - component: 'RadioGroup', - componentProps: () => { - return { - options: radioOptions, - }; - }, - ifShow: ({ values }) => values.modalType == 1, - required: true, - }, - { - field: 'defaultValue', - label: '默认值', - component: 'Input', - ifShow: ({ values }) => values.modalType == 2, - required: true, - }, - { - field: 'id', - label: '', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/diabetes/signalWarning/library/libraryHooks.ts b/src/views/interveneNew/diabetes/signalWarning/library/libraryHooks.ts deleted file mode 100644 index b00d28c..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/library/libraryHooks.ts +++ /dev/null @@ -1,100 +0,0 @@ -import { message } from 'ant-design-vue'; -export const [daYu, xiaoYu, daYuDengYu, xiaoYuDengYu, quJian] = ['>', '<', '>=', '<=', '[]']; -export const ConditionType = { - [daYu]: '大于', - [xiaoYu]: '小于', - [daYuDengYu]: '大于等于', - [xiaoYuDengYu]: '小于等于', - [quJian]: '区间', -}; - -// 判断两个数组是否相交 -export function check(arr1: number[], arr2: number[]) { - const min = [Math.min(...arr1), Math.min(...arr2)]; - const max = [Math.max(...arr1), Math.max(...arr2)]; - return Math.max(...min) <= Math.min(...max); -} -//检查开始值是否大于结束值 -export function checkStartEnd(start: number, end: number, messagePrefix: string) { - if (start && end && start > end) { - message.warn(`${messagePrefix}开始值不能大于结束值`); - return false; - } - if (start === end) { - message.warn(`${messagePrefix}开始值不能等于结束值`); - return false; - } - return true; -} -// 检查异常值是否与正常区间重叠 -export function checkAbnormalOverlap(abnormalType, abnormalValue, normalRange) { - if (abnormalType === '小于' && abnormalValue > normalRange[0]) { - message.warn('异常值不能与正常区间重叠'); - return false; - } - if (abnormalType == '大于' && abnormalValue < normalRange[1]) { - message.warn('异常值不能与正常区间重叠'); - return false; - } - if (abnormalType === '小于等于' && abnormalValue >= normalRange[0]) { - message.warn('异常值不能与正常区间重叠'); - return false; - } - if (abnormalType === '大于等于' && abnormalValue <= normalRange[1]) { - message.warn('异常值不能与正常区间重叠'); - return false; - } - return true; -} -//检查正常值是否与异常区间重叠 -export function checkNormalOverlap(normalType, normalValue, abnormalRange) { - if (normalType === '小于' && normalValue > abnormalRange[0]) { - message.warn('正常值不能与异常区间重叠'); - return false; - } - if (normalType == '大于' && normalValue < abnormalRange[1]) { - message.warn('正常值不能与异常区间重叠'); - return false; - } - if (normalType === '小于等于' && normalValue >= abnormalRange[0]) { - message.warn('正常值不能与异常区间重叠'); - return false; - } - if (normalType === '大于等于' && normalValue <= abnormalRange[1]) { - message.warn('正常值不能与异常区间重叠'); - return false; - } - return true; -} -//检查正常值是否与异常值重叠 -export function checkNormalOverlapAbnormal(normalType, normalValue, abnormalType, abnormalValue) { - switch (normalType) { - case '大于': - if (abnormalType === '小于' || abnormalType === '小于等于') { - return normalValue >= abnormalValue; - } - break; - case '小于': - if (abnormalType === '大于' || abnormalType === '大于等于') { - return normalValue <= abnormalValue; - } - break; - case '大于等于': - if (abnormalType === '小于') { - return normalValue >= abnormalValue; - } - break; - case '小于等于': - if (abnormalType === '大于') { - return normalValue <= abnormalValue; - } - break; - // 如果正常值或异常值的类型不是预期的比较类型,则可能要返回一个错误或警告 - default: - message.warn('正常值或异常值的条件类型不正确'); - return false; - } - // 如果无法比较或比较结果为 false - message.warn('正常值和异常值的条件类型不兼容或比较结果为否'); - return false; -} diff --git a/src/views/interveneNew/diabetes/signalWarning/library/libraryList.vue b/src/views/interveneNew/diabetes/signalWarning/library/libraryList.vue deleted file mode 100644 index 9c4aa8b..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/library/libraryList.vue +++ /dev/null @@ -1,72 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/signalWarning/record/record.api.ts b/src/views/interveneNew/diabetes/signalWarning/record/record.api.ts deleted file mode 100644 index 1bc0691..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/record/record.api.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/diabetes/signal/library/data/list', -} - -export const list = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const getThirdDepartsNewApi = (params: any) => defHttp.get({ url: '/sys/sysDepart/getThirdDepartsNew', params: params }); diff --git a/src/views/interveneNew/diabetes/signalWarning/record/record.data.ts b/src/views/interveneNew/diabetes/signalWarning/record/record.data.ts deleted file mode 100644 index dbcbbd2..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/record/record.data.ts +++ /dev/null @@ -1,137 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; -import { getThirdDepartsNewApi } from '/@/views/interveneNew/diabetes/signalWarning/record/record.api'; -import { message } from 'ant-design-vue'; -import { commonColumns } from '/@/views/interveneNew/diabetes/signalWarning/common'; -export const columns: BasicColumn[] = [ - ...commonColumns, - { - title: '日均排尿次数\n(次)', - dataIndex: 'dailyUrination', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '日均饮水量\n(ml)', - dataIndex: 'dailyWaterIntake', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '近一个月视力\n模糊程度(%)', - dataIndex: 'visionBlurred', - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '近一个月精神\n乏力程度(%)', - dataIndex: 'mentalFatigue', - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '膳食较以往\n明显增加', - dataIndex: 'dietIncrease', - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '近三个月体重\n减轻重量(kg)', - dataIndex: 'weightLoss', - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'name', - label: '员工姓名', - component: 'Input', - }, - { - field: 'workNo', - label: '员工工号', - component: 'Input', - }, - { - label: '单位名称', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.departName.toLowerCase().indexOf(str) >= 0; - }, - onChange: (val) => { - if (val && formModel.hasOwnProperty('deptCode')) { - formModel.deptCode = ''; - formModel.orgCode = val; - } - }, - }; - }, - }, - { - label: '部门名称', - field: 'deptCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNewApi, - params: { - idOrCode: formModel?.orgCode || 'xasd', - }, - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - onFocus: () => { - if (!formModel.orgCode) { - return message.warn('请先选择单位名称!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, -]; diff --git a/src/views/interveneNew/diabetes/signalWarning/record/recordList.vue b/src/views/interveneNew/diabetes/signalWarning/record/recordList.vue deleted file mode 100644 index aebf06e..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/record/recordList.vue +++ /dev/null @@ -1,33 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/signalWarning/stress/stress.api.ts b/src/views/interveneNew/diabetes/signalWarning/stress/stress.api.ts deleted file mode 100644 index f8aacb0..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/stress/stress.api.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/diabetes/signal/library/data/focus/groups', -} - -export const list = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const getThirdDepartsNewApi = (params: any) => defHttp.get({ url: '/sys/sysDepart/getThirdDepartsNew', params: params }); diff --git a/src/views/interveneNew/diabetes/signalWarning/stress/stress.data.ts b/src/views/interveneNew/diabetes/signalWarning/stress/stress.data.ts deleted file mode 100644 index b9b59b9..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/stress/stress.data.ts +++ /dev/null @@ -1,188 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { message } from 'ant-design-vue'; -import { getThirdDepartsNewApi } from '/@/views/interveneNew/diabetes/signalWarning/stress/stress.api'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; -import { commonColumns } from '/@/views/interveneNew/diabetes/signalWarning/common'; - -export const columns: BasicColumn[] = [ - ...commonColumns, - { - title: '体检血糖值(mmo/L)', - align: 'center', - children: [ - { - title: '最新', - align: 'center', - dataIndex: 'bloodGlucose', - }, - { - title: '均次', - align: 'center', - dataIndex: 'bloodGlucoseAvg', - }, - ], - }, - { - title: '体检糖化血红蛋白值(%)', - align: 'center', - children: [ - { - title: '最新', - align: 'center', - dataIndex: 'glycosylatedHemoglobin', - }, - { - title: '均次', - align: 'center', - dataIndex: 'glycosylatedHemoglobinAvg', - }, - ], - }, - { - title: '日常血糖值(mmo/L)', - align: 'center', - children: [ - { - title: '最新', - align: 'center', - dataIndex: 'dailyBloodGlucose', - }, - { - title: '均次', - align: 'center', - dataIndex: 'dailyBloodGlucoseAvg', - }, - ], - }, - { - title: '糖尿病确诊日期', - align: 'center', - dataIndex: 'diabetesDiagnosisDate', - }, - { - title: '糖尿病确诊医院', - align: 'center', - dataIndex: 'diabetesDiagnosisHospital', - }, - { - title: '日均排尿次数(次)', - align: 'center', - dataIndex: 'dailyUrination', - }, - { - title: '日均饮水量(ml)', - align: 'center', - dataIndex: 'dailyWaterIntake', - }, - { - title: '近一个月视力\n模糊程度(%)', - align: 'center', - dataIndex: 'visionBlurred', - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '近一个月精神\n乏力程度(%)', - align: 'center', - dataIndex: 'mentalFatigue', - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '膳食较以往\n明显增加', - align: 'center', - dataIndex: 'dietIncrease', - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '近三个月体重\n减轻重量(kg)', - align: 'center', - dataIndex: 'weightLoss', - customHeaderCell: function () { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, -]; - -export const searchSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'name', - component: 'Input', - }, - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, - { - label: '单位名称', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.departName.toLowerCase().indexOf(str) >= 0; - }, - onChange: (val: string) => { - if (val && formModel.hasOwnProperty('deptCode')) { - formModel.deptCode = ''; - } - }, - }; - }, - }, - { - label: '部门名称', - field: 'deptCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNewApi, - params: { - idOrCode: formModel?.orgCode || 'xasd', - }, - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - onFocus: () => { - if (!formModel.orgCode) { - return message.warn('请先选择单位名称!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, -]; diff --git a/src/views/interveneNew/diabetes/signalWarning/stress/stressList.vue b/src/views/interveneNew/diabetes/signalWarning/stress/stressList.vue deleted file mode 100644 index 9b430ab..0000000 --- a/src/views/interveneNew/diabetes/signalWarning/stress/stressList.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - diff --git a/src/views/interveneNew/diabetes/warningHistory/compoents/warningModel.vue b/src/views/interveneNew/diabetes/warningHistory/compoents/warningModel.vue deleted file mode 100644 index 7a970eb..0000000 --- a/src/views/interveneNew/diabetes/warningHistory/compoents/warningModel.vue +++ /dev/null @@ -1,88 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/diabetes/warningHistory/warningHistory.api.ts b/src/views/interveneNew/diabetes/warningHistory/warningHistory.api.ts deleted file mode 100644 index be8944b..0000000 --- a/src/views/interveneNew/diabetes/warningHistory/warningHistory.api.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/diabetes/monitoring/warning-history', - warning = '/health-intervene/diabetes/monitoring/warning-threshold', - setThreshold = '/health-intervene/diabetes/monitoring/warning-threshold', -} - -export const list = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const warnVal = (params: any) => defHttp.get({ url: Api.warning, params }); -export const threshold = (params: any) => defHttp.post({ url: Api.setThreshold, params }); diff --git a/src/views/interveneNew/diabetes/warningHistory/warningHistory.data.ts b/src/views/interveneNew/diabetes/warningHistory/warningHistory.data.ts deleted file mode 100644 index 5e8b651..0000000 --- a/src/views/interveneNew/diabetes/warningHistory/warningHistory.data.ts +++ /dev/null @@ -1,180 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { commonColumns } from '/@/views/interveneNew/diabetes/signalWarning/common'; -import { orgCodeSearchNotShowDepart } from '/@/utils/orgSearchInfo'; -const colorTextType = { - 1: ['#000', '低风险'], - 2: ['#ffa500', '中风险'], - 3: ['#f00', '高风险'], -}; -export const columns: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'secondDepartName', - fixed: 'left', - width: 120, - }, - { - title: '部门名称', - dataIndex: 'thirdDepartName', - fixed: 'left', - width: 120, - }, - { - title: '员工姓名', - dataIndex: 'realName', - fixed: 'left', - width: 120, - }, - { - title: '员工工号', - dataIndex: 'workNo', - width: 100, - }, - { - title: '性别', - width: 70, - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - width: 70, - dataIndex: 'age', - }, - { - title: '身高(cm)', - dataIndex: 'height', - width: 70, - }, - { - title: '体重(kg)', - dataIndex: 'weight', - width: 70, - }, - { - title: 'BMI', - dataIndex: 'bmi', - width: 70, - }, - { - title: '体力活动', - dataIndex: 'physicalActivity', - width: 100, - }, - { - title: '预警时间', - dataIndex: 'warningTime', - width: 160, - }, - { - title: '预警当时数据', - children: [ - { - title: '体检血糖值\n(mmo/L)', - dataIndex: 'physicalBloodSugar', - width: 100, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '体检糖化血红蛋白质\n(%)', - dataIndex: 'physicalBloodSugar', - width: 150, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '埋针血糖值\n(mmo/L)', - dataIndex: 'physicalBloodSugar', - width: 100, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '当日空腹血糖值\n(mmo/L)', - width: 100, - dataIndex: 'physicalBloodSugar', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '当日餐后血糖值\n(mmo/L)', - width: 100, - dataIndex: 'physicalBloodSugar', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - ], - }, - { - title: '糖尿病确诊日期', - dataIndex: 'diabetesDiagnosisDate', - width: 120, - }, - { - title: '患糖尿病预警值', - dataIndex: 'diabetesWarningValue', - width: 120, - customRender: ({ record }: any) => { - let { riskValue = '', code, grade } = record?.diabetesWarningValue; - if (!grade) { - return ''; - } - const [color] = colorTextType[code] || colorTextType['1']; - const str = grade ? riskValue + `(${grade})` : riskValue; - return h('div', { style: { color: color } }, str); - }, - }, - { - title: '糖尿病加重风险值', - dataIndex: 'diabetesExacerbationRisk', - width: 150, - customRender: ({ record }: any) => { - let { riskValue = '', code, grade } = record?.diabetesExacerbationRisk; - if (!grade) { - return ''; - } - const [color] = colorTextType[code] || colorTextType['1']; - const str = grade ? riskValue + `(${grade})` : riskValue; - return h('div', { style: { color: color } }, str); - }, - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'userName', - label: '员工姓名', - component: 'Input', - }, - { - field: 'workNo', - label: '员工工号', - component: 'Input', - }, - ...orgCodeSearchNotShowDepart('orgCode', 'deptCode', 'orgCode'), -]; diff --git a/src/views/interveneNew/diabetes/warningHistory/warningHistoryList.vue b/src/views/interveneNew/diabetes/warningHistory/warningHistoryList.vue deleted file mode 100644 index 02204fb..0000000 --- a/src/views/interveneNew/diabetes/warningHistory/warningHistoryList.vue +++ /dev/null @@ -1,52 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/air/index.vue b/src/views/interveneNew/environment/air/index.vue deleted file mode 100644 index 6d7405c..0000000 --- a/src/views/interveneNew/environment/air/index.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/components/alarm/alarmList.api.ts b/src/views/interveneNew/environment/components/alarm/alarmList.api.ts deleted file mode 100644 index 371564c..0000000 --- a/src/views/interveneNew/environment/components/alarm/alarmList.api.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/environment/warnInfo/list', - listExportXls = '/health-intervene/environment/warnInfo/listExportXls', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const getExportUrl = Api.listExportXls; diff --git a/src/views/interveneNew/environment/components/alarm/alarmList.data.ts b/src/views/interveneNew/environment/components/alarm/alarmList.data.ts deleted file mode 100644 index f73384e..0000000 --- a/src/views/interveneNew/environment/components/alarm/alarmList.data.ts +++ /dev/null @@ -1,133 +0,0 @@ -import { FormSchema } from '/@/components/Form'; -import { BasicColumn } from '/@/components/Table'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; - -export function getSearchSchema(typeId: number = 0) { - let searchSchema: FormSchema[] = [ - { - label: '设备编号', - field: 'meterCode', - component: 'Input', - }, - { - label: '设备名称', - field: 'meterName', - component: 'Input', - }, - { - label: '设备所属单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '设备监测场所', - field: 'address', - component: 'Input', - }, - { - label: '数据类型', - field: 'type', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'warn_info_indoor_type', - }; - }, - ifShow: typeId === 0, - }, - { - label: '数据类型', - field: 'type', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'warn_info_outdoor_type', - }; - }, - ifShow: typeId === 1, - }, - { - label: '数据类型', - field: 'type', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'warn_info_water_type', - }; - }, - ifShow: typeId === 3, - }, - { - label: '数据类型', - field: 'type', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'warn_info_pollen_type', - }; - }, - ifShow: typeId === 2, - }, - ]; - return searchSchema; -} - -export function getColumns(typeId: number = 0) { - let columns: BasicColumn[] = [ - { - title: '设备名称', - dataIndex: 'meterName', - }, - { - title: '设备编号', - dataIndex: 'meterCode', - }, - { - title: '设备所属单位', - dataIndex: 'unitName', - }, - { - title: '设备监测场所', - dataIndex: 'address', - }, - { - title: '数据类型', - dataIndex: 'dateType', - }, - { - title: '单位', - dataIndex: 'unit', - }, - { - title: '上限', - dataIndex: 'upperLimit', - }, - { - title: '下限', - dataIndex: 'lowerLimit', - }, - { - title: '异常值', - dataIndex: 'value', - }, - { - title: '报警时间', - dataIndex: 'createTime', - }, - ]; - return columns; -} diff --git a/src/views/interveneNew/environment/components/alarm/alarmList.vue b/src/views/interveneNew/environment/components/alarm/alarmList.vue deleted file mode 100644 index ac55255..0000000 --- a/src/views/interveneNew/environment/components/alarm/alarmList.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/components/analysis/analysis.vue b/src/views/interveneNew/environment/components/analysis/analysis.vue deleted file mode 100644 index 04b8d91..0000000 --- a/src/views/interveneNew/environment/components/analysis/analysis.vue +++ /dev/null @@ -1,82 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/components/analysis/chartPage.vue b/src/views/interveneNew/environment/components/analysis/chartPage.vue deleted file mode 100644 index 8f6d22f..0000000 --- a/src/views/interveneNew/environment/components/analysis/chartPage.vue +++ /dev/null @@ -1,178 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/components/analysis/components/analysis.api.ts b/src/views/interveneNew/environment/components/analysis/components/analysis.api.ts deleted file mode 100644 index c5b63a9..0000000 --- a/src/views/interveneNew/environment/components/analysis/components/analysis.api.ts +++ /dev/null @@ -1,53 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - mapList = '/health-intervene/meter_info/selectMeterInfoList,', - // analysisList = '/health-intervene/environment/indoorEnvironmentData/list,' + - // '/health-intervene/environment/outdoorEnvironmentData/list,' + - // '/health-intervene/environment/pollenData/list,' + - // '/health-intervene/environment/waterQualityData/list', // 室内 室外 花粉 水质 - analysisList = '/health-intervene/environment/indoorEnvironmentData/indoorListNewData,' + - '/health-intervene/environment/outdoorEnvironmentData/outdoorListNewData,' + - '/health-intervene/environment/pollenData/poolenListNewData,' + - '/health-intervene/environment/waterQualityData/waterListNewData', // 室内 室外 花粉 水质 - leftInfo = '/health-intervene/environment/indoorEnvironmentData/selectIndoorEnvironmentDataLeftBack,' + - '/health-intervene/environment/outdoorEnvironmentData/selectOutdoorEnvironmentDataById,' + - '/health-intervene/environment/pollenData/selectPollenDataById,' + - '/health-intervene/environment/waterQualityData/selectWaterQualityDataById', // 室内 室外 花粉 水质 - nowTime24 = '/health-intervene/environment/indoorEnvironmentData/selectIndoorEnvironmentDataListBack,' + - '/health-intervene/environment/outdoorEnvironmentData/selectOutDoorEnvironmentDataListBack,' + - '/health-intervene/environment/pollenData/selectPollenDataListBack,' + - '/health-intervene/environment/waterQualityData/selectWaterDataListBack', // 室内 室外 花粉 水质 - nowTime7 = '/health-intervene/environment/indoorEnvironmentDayData/listIndoorEnvironmentSevenDayBack,' + - '/health-intervene/environment/outdoorEnvironmentDayData/listOutDoorEnvironmentSevenDayBack,' + - '/health-intervene/environment/pollenDayData/listPollenDayDataSevenDayBack,' + - '/health-intervene/environment/waterQualityDayData/listWaterQualityDayDataSevenDayBack', // 室内 室外 花粉 水质 - nowTime30 = '/health-intervene/environment/indoorEnvironmentDayData/listIndoorEnvironmentMonthBack,' + - '/health-intervene/environment/outdoorEnvironmentDayData/listOutDoorEnvironmentMonthBack,' + - '/health-intervene/environment/pollenDayData/listPollenMonthBack,' + - '/health-intervene/environment/waterQualityDayData/listWaterMonthBack', // 室内 室外 花粉 水质 - nowTimeYear = '/health-intervene/environment/indoorEnvironmentDayData/listIndoorEnvironmentYearBack,' + - '/health-intervene/environment/outdoorEnvironmentDayData/listOutDoorEnvironmentYearBack,' + - '/health-intervene/environment/pollenDayData/listPollenYearBack,' + - '/health-intervene/environment/waterQualityDayData/listWaterYearBack', // 室内 室外 花粉 水质 - // exportXlsTable = '/health-intervene/environment/indoorEnvironmentData/exportXls,' + - // '/health-intervene/environment/outdoorEnvironmentData/exportXls,' + - // '/health-intervene/environment/pollenData/exportXls,' + - // '/health-intervene/environment/waterQualityData/exportXls', // 室内 室外 花粉 水质 - exportXlsTable = '/health-intervene/environment/indoorEnvironmentData/indoorDataExportXls,' + - '/health-intervene/environment/outdoorEnvironmentData/outdoorDataExportXls,' + - '/health-intervene/environment/pollenData/poolenDataExportXls,' + - '/health-intervene/environment/waterQualityData/waterDataExportXls', // 室内 室外 花粉 水质 - dictList = '/sys/dictItem/list', -} - -export const dictListApi = (params: any) => defHttp.get({ url: Api.dictList, params: params }); -export const leftInfoApi = (params: any, typeId: number) => defHttp.get({ url: Api.leftInfo.split(',')[typeId], params: params }); -export const mapListApi = (params: any) => defHttp.get({ url: Api.mapList, params: params }); - -const timeList: Array = [Api.nowTime24, Api.nowTime7, Api.nowTime30, Api.nowTimeYear]; -export const getTimeApi = (params: any, times: number, typeId: number) => defHttp.get({ url: timeList[times].split(',')[typeId], params: params }); -export const getAnalysisList = (typeId: number) => { - return (params: any) => defHttp.get({ url: Api.analysisList.split(',')[typeId], params: params }); -}; -export const getExportUrl = Api.exportXlsTable; diff --git a/src/views/interveneNew/environment/components/analysis/components/analysis.data.ts b/src/views/interveneNew/environment/components/analysis/components/analysis.data.ts deleted file mode 100644 index f93c5d8..0000000 --- a/src/views/interveneNew/environment/components/analysis/components/analysis.data.ts +++ /dev/null @@ -1,136 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import dayjs from 'dayjs'; -import { render } from '/@/utils/common/renderUtils'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; - -export function getColumns(listData: Array) { - let columns: BasicColumn[] = [ - ...[ - { - title: '设备名称', - dataIndex: 'meterName', - }, - { - title: '设备编号', - dataIndex: 'meterCode', - }, - { - title: '设备所属单位', - dataIndex: 'unitName', - }, - { - title: '设备监测场所', - dataIndex: 'meterAddress', - }, - { - title: '数据更新时间', - dataIndex: 'readTime', - customRender: ({ text }) => { - return text || text === 0 ? dayjs(text * 1000).format('YYYY-MM-DD HH:mm') : '-'; - }, - }, - ], - ...listData.map((item) => { - return { - title: item.name + item.unit, - dataIndex: item.key, - ...(item.name === '风向' - ? { - customRender: ({ text }) => { - return text || text == 0 ? render.renderDict(text, 'wind_direction') : '-'; - }, - } - : { - customRender: ({ text }) => { - return text || text === 0 ? text : '-'; - }, - }), - }; - }), - ]; - return columns; -} - -export function getSearchSchema(typeId: number) { - let searchSchema: FormSchema[] = [ - { - label: '设备编号', - field: 'meterCode', - component: 'Input', - }, - { - label: '设备名称', - field: 'meterName', - component: 'Input', - }, - { - label: '设备所属单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '设备监测场所', - field: 'meterAddress', - component: 'Input', - }, - { - label: '空气质量指数', - field: 'score', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'indoor_level', - }; - }, - ifShow: typeId === 0, - }, - { - label: '空气质量指数', - field: 'score', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'outdoor_level', - }; - }, - ifShow: typeId === 1, - }, - { - label: '水质等级', - field: 'score', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'water_level', - }; - }, - ifShow: typeId === 3, - }, - { - label: '过敏等级', - field: 'score', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'pollen_level', - }; - }, - ifShow: typeId === 2, - }, - ]; - return searchSchema; -} diff --git a/src/views/interveneNew/environment/components/analysis/components/dataInfo.ts b/src/views/interveneNew/environment/components/analysis/components/dataInfo.ts deleted file mode 100644 index 7454b7e..0000000 --- a/src/views/interveneNew/environment/components/analysis/components/dataInfo.ts +++ /dev/null @@ -1,31 +0,0 @@ -export function getOption(data: Array, series: Array) { - return { - tooltip: { - trigger: 'axis', - // formatter: '{a}
{b} : {c}', - }, - legend: { - center: 'center', - padding: [0, 30], - align: 'right', - }, - xAxis: { - type: 'category', - splitLine: { show: true }, - data: data, - }, - grid: { - left: '3%', - right: '4%', - bottom: '3%', - containLabel: true, - }, - yAxis: { - type: 'value', - // minorSplitLine: { - // show: true, - // }, - }, - series: series, - }; -} diff --git a/src/views/interveneNew/environment/components/analysis/components/listPage.vue b/src/views/interveneNew/environment/components/analysis/components/listPage.vue deleted file mode 100644 index 12fdeb8..0000000 --- a/src/views/interveneNew/environment/components/analysis/components/listPage.vue +++ /dev/null @@ -1,89 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/components/analysis/components/mapPage.vue b/src/views/interveneNew/environment/components/analysis/components/mapPage.vue deleted file mode 100644 index 1a8404f..0000000 --- a/src/views/interveneNew/environment/components/analysis/components/mapPage.vue +++ /dev/null @@ -1,299 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/components/analysis/dynamicAnalysis.vue b/src/views/interveneNew/environment/components/analysis/dynamicAnalysis.vue deleted file mode 100644 index d04d454..0000000 --- a/src/views/interveneNew/environment/components/analysis/dynamicAnalysis.vue +++ /dev/null @@ -1,157 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/components/applicationRecord/applicationRecord.api.ts b/src/views/interveneNew/environment/components/applicationRecord/applicationRecord.api.ts deleted file mode 100644 index 7c68a7a..0000000 --- a/src/views/interveneNew/environment/components/applicationRecord/applicationRecord.api.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/environment/indoorUseRecord/list,' + - '/health-intervene/environment/outdoorUseRecord/list,' + - '/health-intervene/environment/waterUseRecord/list,' + - '/health-intervene/environment/pollenUseRecord/list', // 室内 室外 水质 花粉 - exportXlsTable = '/health-intervene/environment/indoorUseRecord/exportXls,' + - '/health-intervene/environment/outdoorUseRecord/exportXls,' + - '/health-intervene/environment/waterUseRecord/exportXls,' + - '/health-intervene/environment/pollenUseRecord/exportXls', // 室内 室外 水质 花粉 -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list.split(',')[params['typeId']], params: params }); - -export const getExportUrl = Api.exportXlsTable; diff --git a/src/views/interveneNew/environment/components/applicationRecord/applicationRecord.data.ts b/src/views/interveneNew/environment/components/applicationRecord/applicationRecord.data.ts deleted file mode 100644 index 467944a..0000000 --- a/src/views/interveneNew/environment/components/applicationRecord/applicationRecord.data.ts +++ /dev/null @@ -1,237 +0,0 @@ -import { FormSchema } from '/@/components/Form'; -import { BasicColumn } from '/@/components/Table'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; - -export const searchFormSchema: FormSchema[] = [ - { - label: '设备编号', - field: 'meterCode', - component: 'Input', - }, - { - label: '设备名称', - field: 'meterName', - component: 'Input', - }, - { - label: '设备所属单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '设备监测场所', - field: 'meterAddress', - component: 'Input', - }, -]; - -export const getColumns = (typeId = 0) => { - const arr = [ - { - title: '评定等级', - align: 'center', - dataIndex: 'levelClick', - ifShow: [0].includes(typeId), - }, - { - title: '温度', - align: 'center', - dataIndex: 'temperatureClick', - ifShow: [0, 1, 2].includes(typeId), - }, - { - title: '湿度', - align: 'center', - dataIndex: 'humidityClick', - ifShow: [0, 1].includes(typeId), - }, - // { - // title: typeId == 1 ? '辐射' : '二氧化碳', - // align: 'center', - // dataIndex: typeId == 1 ? 'rsraClick' : 'carbonDioxideClick', - // ifShow: [0, 1].includes(typeId), - // }, - { - title: '太阳辐射', - align: 'center', - dataIndex: 'rsRaClick', - ifShow: [1].includes(typeId), - }, - { - title: '甲醛', - align: 'center', - dataIndex: 'hchoClick', - ifShow: [0].includes(typeId), - }, - { - title: 'PM2.5', - align: 'center', - dataIndex: 'pm25Click', - ifShow: [0, 1].includes(typeId), - }, - { - title: 'PM10', - align: 'center', - dataIndex: 'pm10Click', - ifShow: [0, 1].includes(typeId), - }, - // { - // title: '噪声', - // align: 'center', - // dataIndex: 'noiseClick', - // ifShow: [1].includes(typeId), - // }, - { - title: '照度', - align: 'center', - dataIndex: 'illuminationClick', - ifShow: [1].includes(typeId), - }, - { - title: '风速', - align: 'center', - dataIndex: 'windSpeedClick', - ifShow: [1].includes(typeId), - }, - { - title: '电导率', - align: 'center', - dataIndex: 'conductivityClick', - ifShow: [2].includes(typeId), - }, - { - title: '电阻率', - align: 'center', - dataIndex: 'resistanceClick', - ifShow: [2].includes(typeId), - }, - { - title: 'TDS', - align: 'center', - dataIndex: 'tdsClick', - ifShow: [2].includes(typeId), - }, - { - title: 'PH', - align: 'center', - dataIndex: 'phClick', - ifShow: [2].includes(typeId), - }, - { - title: '盐度', - align: 'center', - dataIndex: 'salinityClick', - ifShow: [2].includes(typeId), - }, - // { - // title: '浊度', - // align: 'center', - // dataIndex: 'turbidityClick', - // ifShow: [2].includes(typeId), - // }, - // { - // title: '余氯', - // align: 'center', - // dataIndex: 'residualChlorineClick', - // ifShow: [2].includes(typeId), - // }, - { - title: '榆属', - align: 'center', - dataIndex: 'elmClick', - ifShow: [3].includes(typeId), - }, - { - title: '松属', - align: 'center', - dataIndex: 'pineClick', - ifShow: [3].includes(typeId), - }, - { - title: '杨属', - align: 'center', - dataIndex: 'poplarClick', - ifShow: [3].includes(typeId), - }, - { - title: '柏科', - align: 'center', - dataIndex: 'cypressClick', - ifShow: [3].includes(typeId), - }, - { - title: '柳属', - align: 'center', - dataIndex: 'willowClick', - ifShow: [3].includes(typeId), - }, - { - title: '蒿属', - align: 'center', - dataIndex: 'artemisiaClick', - ifShow: [3].includes(typeId), - }, - { - title: '藜科', - align: 'center', - dataIndex: 'goosefootClick', - ifShow: [3].includes(typeId), - }, - { - title: '苋科', - align: 'center', - dataIndex: 'amaranthaceaeClick', - ifShow: [3].includes(typeId), - }, - ]; - const result = arr.filter((item) => { - return item.ifShow; - }); - return [ - { - title: '设备名称', - align: 'center', - dataIndex: 'meterName', - }, - { - title: '设备编号', - align: 'center', - dataIndex: 'meterCode', - }, - { - title: '设备所属单位', - align: 'center', - dataIndex: 'unitName', - }, - { - title: '设备监测场所', - align: 'center', - dataIndex: 'meterAddress', - }, - { - title: '移动端点击次数', - align: 'center', - children: result, - }, - { - title: '总点击数', - align: 'center', - dataIndex: 'totalClick', - sorter: true, - }, - ] as BasicColumn[]; -}; diff --git a/src/views/interveneNew/environment/components/applicationRecord/applicationRecord.vue b/src/views/interveneNew/environment/components/applicationRecord/applicationRecord.vue deleted file mode 100644 index 2b60bfe..0000000 --- a/src/views/interveneNew/environment/components/applicationRecord/applicationRecord.vue +++ /dev/null @@ -1,148 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/components/device/components/addClassDrawer.vue b/src/views/interveneNew/environment/components/device/components/addClassDrawer.vue deleted file mode 100644 index 17943e7..0000000 --- a/src/views/interveneNew/environment/components/device/components/addClassDrawer.vue +++ /dev/null @@ -1,82 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/components/device/components/deviceDrawer.vue b/src/views/interveneNew/environment/components/device/components/deviceDrawer.vue deleted file mode 100644 index 76201a0..0000000 --- a/src/views/interveneNew/environment/components/device/components/deviceDrawer.vue +++ /dev/null @@ -1,129 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/components/device/components/deviceMapDrawer.vue b/src/views/interveneNew/environment/components/device/components/deviceMapDrawer.vue deleted file mode 100644 index 7fad26d..0000000 --- a/src/views/interveneNew/environment/components/device/components/deviceMapDrawer.vue +++ /dev/null @@ -1,84 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/components/device/components/selectTreeModal.vue b/src/views/interveneNew/environment/components/device/components/selectTreeModal.vue deleted file mode 100644 index 104e7be..0000000 --- a/src/views/interveneNew/environment/components/device/components/selectTreeModal.vue +++ /dev/null @@ -1,42 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/components/device/components/treeModal.vue b/src/views/interveneNew/environment/components/device/components/treeModal.vue deleted file mode 100644 index e89b2f0..0000000 --- a/src/views/interveneNew/environment/components/device/components/treeModal.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/components/device/deviceClass.vue b/src/views/interveneNew/environment/components/device/deviceClass.vue deleted file mode 100644 index 4b1bac6..0000000 --- a/src/views/interveneNew/environment/components/device/deviceClass.vue +++ /dev/null @@ -1,80 +0,0 @@ - - diff --git a/src/views/interveneNew/environment/components/device/deviceList.api.ts b/src/views/interveneNew/environment/components/device/deviceList.api.ts deleted file mode 100644 index ad4e069..0000000 --- a/src/views/interveneNew/environment/components/device/deviceList.api.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -enum Api { - list = '/health-intervene/meter_info/list', - indoor = '/health-intervene/environment/area/indoor/list,' + - '/health-intervene/environment/area/outdoor/list,' + - '/health-intervene/environment/area/pollen/list,' + - '/health-intervene/environment/area/water/list', // 室内 室外 花粉 水质 - add = '/health-intervene/environment/area/indoor/add,' + - '/health-intervene/environment/area/outdoor/add,' + - '/health-intervene/environment/area/pollen/add,' + - '/health-intervene/environment/area/water/add', // 室内 室外 花粉 水质 - del = '/health-intervene/environment/area/indoor/delete/,' + - '/health-intervene/environment/area/outdoor/delete/,' + - '/health-intervene/environment/area/pollen/delete/,' + - '/health-intervene/environment/area/water/delete/', // 室内 室外 花粉 水质 - addTable = '/health-intervene/environment/indoorEnvironmentMeterInfo/add,' + - '/health-intervene/environment/outdoorEnvironmentMeterInfo/add,' + - '/health-intervene/environment/pollenMeterInfo/add,' + - '/health-intervene/environment/waterQualityMeterInfo/add', // 室内 室外 花粉 水质 - editTable = '/health-intervene/environment/indoorEnvironmentMeterInfo/edit,' + - '/health-intervene/environment/outdoorEnvironmentMeterInfo/edit,' + - '/health-intervene/environment/pollenMeterInfo/edit,' + - '/health-intervene/environment/waterQualityMeterInfo/edit', // 室内 室外 花粉 水质 - deleteTable = '/health-intervene/environment/indoorEnvironmentMeterInfo/delete,' + - '/health-intervene/environment/outdoorEnvironmentMeterInfo/delete,' + - '/health-intervene/environment/pollenMeterInfo/delete,' + - '/health-intervene/environment/waterQualityMeterInfo/delete', // 室内 室外 花粉 水质 - deleteBatchTable = '/health-intervene/environment/indoorEnvironmentMeterInfo/deleteBatch,' + - '/health-intervene/environment/outdoorEnvironmentMeterInfo/deleteBatch,' + - '/health-intervene/environment/pollenMeterInfo/deleteBatch,' + - '/health-intervene/environment/waterQualityMeterInfo/deleteBatch', // 室内 室外 花粉 水质 - exportXlsTable = '/health-intervene/environment/indoorEnvironmentMeterInfo/exportXls,' + - '/health-intervene/environment/outdoorEnvironmentMeterInfo/exportXls,' + - '/health-intervene/environment/pollenMeterInfo/exportXls,' + - '/health-intervene/environment/waterQualityMeterInfo/exportXls', // 室内 室外 花粉 水质 - queryById = '/health-intervene/environment/indoorEnvironmentMeterInfo/queryById,' + - '/health-intervene/environment/outdoorEnvironmentMeterInfo/queryById,' + - '/health-intervene/environment/pollenMeterInfo/queryById,' + - '/health-intervene/environment/waterQualityMeterInfo/queryById', // 室内 室外 花粉 水质 - //设备分类新增接口 - categoryAddOrEdit = '/health-intervene/environment/category/saveOrUpdate', - //设备分类列表 - categoryPage = '/health-intervene/environment/category/page', - //设备分类删除 - categoryDelete = '/health-intervene/environment/category/delete', - // 设备分类下拉 - categoryList = '/health-intervene/environment/category/list', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const indoorApi = (params: any, typeId: number) => defHttp.get({ url: Api.indoor.split(',')[typeId], params: params }); -export const addApi = (params: any, typeId: number) => defHttp.post({ url: Api.add.split(',')[typeId], params: params }); -export const delApi = (params: any, typeId: number) => - defHttp.delete({ url: Api.del.split(',')[typeId], params: params }, { joinParamsToUrl: true, isTransformResponse: false }); - -export const addTableApi = (params: any, typeId: number) => defHttp.post({ url: Api.addTable.split(',')[typeId], params: params }); -export const editTableApi = (params: any, typeId: number) => defHttp.put({ url: Api.editTable.split(',')[typeId], params: params }); -export const queryByIdApi = (params: any, typeId: number) => defHttp.get({ url: Api.queryById.split(',')[typeId], params: params }); -export const deleteTableApi = (params: any, typeId: number) => - defHttp.delete({ url: Api.deleteTable.split(',')[typeId], params: params }, { joinParamsToUrl: true }); -export const deleteBatchTableApi = (params: any, typeId: number) => - defHttp.delete({ url: Api.deleteBatchTable.split(',')[typeId], params: params }, { joinParamsToUrl: true }); - -export const getExportUrl = Api.exportXlsTable; - -//设备分类新增或者编辑 -export const categoryAddOrEditApi = (params: any) => defHttp.post({ url: Api.categoryAddOrEdit, params: params }); - -//设备分类列表 -export const categoryPageApi = (params: any) => defHttp.get({ url: Api.categoryPage, params: params }); -//设备分类删除 -export const categoryDeleteApi = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.categoryDelete, - params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -//设备分类下拉列表 -export const categoryListApi = (params: any) => defHttp.get({ url: Api.categoryList, params: params }); diff --git a/src/views/interveneNew/environment/components/device/deviceList.data.ts b/src/views/interveneNew/environment/components/device/deviceList.data.ts deleted file mode 100644 index cc716b8..0000000 --- a/src/views/interveneNew/environment/components/device/deviceList.data.ts +++ /dev/null @@ -1,1795 +0,0 @@ -import { FormSchema } from '/@/components/Form'; -import { BasicColumn } from '/@/components/Table'; -import dayjs, { Dayjs } from 'dayjs'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; -import { categoryListApi } from '/@/views/interveneNew/environment/components/device/deviceList.api'; - -export function getsearchFormSchema(typeId: number) { - const schemas: FormSchema[] = [ - { - label: 'DTU编号', - field: 'dtuCode', - component: 'Input', - }, - { - label: '设备编号', - field: 'meterCode', - component: 'Input', - }, - { - label: '设备名称', - field: 'meterName', - component: 'Input', - }, - { - label: '设备所属单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '设备监测场所', - field: 'meterAddress', - component: 'Input', - }, - { - label: '设备分类', - field: 'categoryId', - component: 'ApiSelect', - componentProps: () => { - return { - api: categoryListApi, - resultField: 'list', - labelField: 'category', - valueField: 'id', - getPopupContainer: () => document.body, - params: { - type: typeId || 0, - }, - immediate: false, - }; - }, - }, - ]; - return schemas; -} -export const columns: BasicColumn[] = [ - { - title: '设备名称', - align: 'center', - dataIndex: 'meterName', - }, - { - title: 'DTU编号', - align: 'center', - dataIndex: 'dtuCode', - }, - { - title: '设备编号', - align: 'center', - dataIndex: 'meterCode', - }, - { - title: '设备分类', - align: 'center', - dataIndex: 'categoryName', - }, - { - title: '设备所属单位', - align: 'center', - dataIndex: 'unitName', - }, - { - title: '设备监测场所', - align: 'center', - dataIndex: 'meterAddress', - }, - { - title: '布点日期', - align: 'center', - dataIndex: 'createDate', - customRender: ({ text }) => { - return text && dayjs(text * 1000).format('YYYY/MM/DD'); - }, - }, - { - title: '监测时长(天)', - align: 'center', - dataIndex: 'monitorTime', - }, -]; - -export const treeFormSchema: FormSchema[] = [ - { - label: '父id', - field: 'userName', - component: 'Input', - componentProps: () => { - return { - readonly: true, - }; - }, - rules: [{ required: true }], - }, - { - label: '', - field: 'pid', - component: 'Input', - show: false, - }, - { - label: '名称', - field: 'name', - component: 'Input', - rules: [{ required: true }], - }, - { - label: '排序', - field: 'orderNum', - component: 'Input', - rules: [{ required: true }], - }, - { - label: '图标', - field: 'icon', - component: 'Input', - rules: [{ required: true }], - }, - // { - // label: '传感器编号', - // field: 'meterCode', - // component: 'Input', - // rules: [{ required: true }], - // }, - { - label: '展开标识', - field: 'open', - component: 'RadioGroup', - defaultValue: '0', - rules: [{ required: true }], - componentProps: () => { - return { - options: [ - { - label: '否', - value: '0', - }, - { - label: '是', - value: '1', - }, - ], - }; - }, - }, -]; - -export function getFormSchema(typeId: number) { - const formSchema: FormSchema[] = [ - { - label: '', - field: 'a', - component: 'Input', - slot: 'basicInfo', - }, - { - label: '设备名称', - field: 'meterName', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: 'DTU编号', - field: 'dtuCode', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '设备编号', - field: 'meterCode', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '设备分类', - field: 'categoryId', - component: 'ApiSelect', - componentProps: () => { - return { - api: categoryListApi, - resultField: 'list', - labelField: 'category', - valueField: 'id', - getPopupContainer: () => document.body, - params: { - type: typeId || 0, - }, - immediate: false, - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '设备所属单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '设备监测场所', - field: 'meterAddress', - component: 'Input', - slot: 'meterAddress', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '设备经度', - field: 'longitude', - component: 'Input', - show: false, - // rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '设备纬度', - field: 'latitude', - component: 'Input', - show: false, - // rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '布点日期', - field: 'createDate', - component: 'DatePicker', - componentProps: () => { - return { - disabledDate: (current: Dayjs) => { - return current && current > dayjs(); - }, - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - // { - // label: '', - // field: 'b', - // component: 'Input', - // slot: 'threshold', - // }, - // { - // label: '温度上限', - // field: 'temperatureUpperLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: '℃', - // ifShow: [0, 1, 3].includes(typeId), - // }, - // { - // label: '温度下限', - // field: 'temperatureLowerLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: '℃', - // ifShow: [0, 1, 3].includes(typeId), - // }, - // { - // label: '湿度上限', - // field: 'humidityUpperLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: '%', - // ifShow: [0, 1].includes(typeId), - // }, - // { - // label: '湿度下限', - // field: 'humidityLowerLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: '%', - // ifShow: [0, 1].includes(typeId), - // }, - // // { - // // label: typeId == 1 ? '辐射上限' : '二氧化碳上限', - // // field: typeId == 1 ? 'rsraUpperLimit' : 'carbonDioxideUpperLimit', - // // component: 'InputNumber', - // // rules: [{ required: true, trigger: 'blur' }], - // // componentProps: () => { - // // return { - // // style: { - // // width: '510px', - // // }, - // // }; - // // }, - // // suffix: typeId == 1 ? 'W/m²' : 'ppm', - // // ifShow: [0, 1].includes(typeId), - // // }, - // // { - // // label: typeId == 1 ? '辐射下限' : '二氧化碳下限', - // // field: typeId == 1 ? 'rsraLowerLimit' : 'carbonDioxideLowerLimit', - // // component: 'InputNumber', - // // rules: [{ required: true, trigger: 'blur' }], - // // componentProps: () => { - // // return { - // // style: { - // // width: '510px', - // // }, - // // }; - // // }, - // // suffix: typeId == 1 ? 'W/m²' : 'ppm', - // // ifShow: [0, 1].includes(typeId), - // // }, - // { - // label: '太阳辐射上限', - // field: 'rsraUpperLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: 'W/m²', - // ifShow: [1].includes(typeId), - // }, - // { - // label: '太阳辐射下限', - // field: 'rsraLowerLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: 'W/m²', - // ifShow: [1].includes(typeId), - // }, - // { - // label: '甲醛上限', - // field: 'hchoUpperLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: 'mg/m³', - // ifShow: typeId === 0, - // }, - // { - // label: '甲醛下限', - // field: 'hchoLowerLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: 'mg/m³', - // ifShow: typeId === 0, - // }, - // { - // label: 'PM2.5上限', - // field: 'pm25UpperLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: 'μg/m³', - // ifShow: [0, 1].includes(typeId), - // }, - // { - // label: 'PM2.5下限', - // field: 'pm25LowerLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: 'μg/m³', - // ifShow: [0, 1].includes(typeId), - // }, - // { - // label: 'PM10上限', - // field: 'pm10UpperLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: 'μg/m³', - // ifShow: [0, 1].includes(typeId), - // }, - // { - // label: 'PM10下限', - // field: 'pm10LowerLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: 'μg/m³', - // ifShow: [0, 1].includes(typeId), - // }, - // // { - // // label: '噪声上限', - // // field: 'noiseUpperLimit', - // // component: 'InputNumber', - // // rules: [{ required: true, trigger: 'blur' }], - // // componentProps: () => { - // // return { - // // style: { - // // width: '510px', - // // }, - // // }; - // // }, - // // suffix: 'dB', - // // ifShow: [1].includes(typeId), - // // }, - // // { - // // label: '噪声下限', - // // field: 'noiseLowerLimit', - // // component: 'InputNumber', - // // rules: [{ required: true, trigger: 'blur' }], - // // componentProps: () => { - // // return { - // // style: { - // // width: '510px', - // // }, - // // }; - // // }, - // // suffix: 'dB', - // // ifShow: [1].includes(typeId), - // // }, - // { - // label: '照度上限', - // field: 'illuminanceUpperLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: 'lm/m²', - // ifShow: [1].includes(typeId), - // }, - // { - // label: '照度下限', - // field: 'illuminanceLowerLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: 'lm/m²', - // ifShow: [1].includes(typeId), - // }, - // { - // label: '风速上限', - // field: 'windSpeedUpperLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: 'm/s', - // ifShow: [1].includes(typeId), - // }, - // { - // label: '风速下限', - // field: 'windSpeedLowerLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: 'm/s', - // ifShow: [1].includes(typeId), - // }, - // // { - // // label: '风向', - // // field: 'windDirection', - // // component: 'InputNumber', - // // rules: [{ required: true, trigger: 'blur' }], - // // componentProps: () => { - // // return { - // // style: { - // // width: '510px', - // // }, - // // }; - // // }, - // // ifShow: [2].includes(typeId), - // // }, - // { - // label: '电导率上限', - // field: 'conductivityUpperLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: 'US/cm', - // ifShow: [3].includes(typeId), - // }, - // { - // label: '电导率下限', - // field: 'conductivityLowerLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: 'US/cm', - // ifShow: [3].includes(typeId), - // }, - // // { - // // label: '浊度上限', - // // field: 'turbidityUpperLimit', - // // component: 'InputNumber', - // // rules: [{ required: true, trigger: 'blur' }], - // // componentProps: () => { - // // return { - // // style: { - // // width: '510px', - // // }, - // // }; - // // }, - // // ifShow: [3].includes(typeId), - // // }, - // // { - // // label: '浊度下限', - // // field: 'turbidityLowerLimit', - // // component: 'InputNumber', - // // rules: [{ required: true, trigger: 'blur' }], - // // componentProps: () => { - // // return { - // // style: { - // // width: '510px', - // // }, - // // }; - // // }, - // // ifShow: [3].includes(typeId), - // // }, - // // { - // // label: '余氯上限', - // // field: 'residualChlorineUpperLimit', - // // component: 'InputNumber', - // // rules: [{ required: true, trigger: 'blur' }], - // // componentProps: () => { - // // return { - // // style: { - // // width: '510px', - // // }, - // // }; - // // }, - // // suffix: 'mg/L', - // // ifShow: [3].includes(typeId), - // // }, - // // { - // // label: '余氯下限', - // // field: 'residualChlorineLowerLimit', - // // component: 'InputNumber', - // // rules: [{ required: true, trigger: 'blur' }], - // // componentProps: () => { - // // return { - // // style: { - // // width: '510px', - // // }, - // // }; - // // }, - // // suffix: 'mg/L', - // // ifShow: [3].includes(typeId), - // // }, - // { - // label: 'PH上限', - // field: 'phUpperLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // ifShow: [3].includes(typeId), - // }, - // { - // label: 'PH下限', - // field: 'phLowerLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // ifShow: [3].includes(typeId), - // }, - // { - // label: '盐度上限', - // field: 'salinityUpperLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: 'mg/L', - // ifShow: [3].includes(typeId), - // }, - // { - // label: '盐度下限', - // field: 'salinityLowerLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: 'mg/L', - // ifShow: [3].includes(typeId), - // }, - // { - // label: '电阻率上限', - // field: 'resistivityUpperLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: 'Ω-m', - // ifShow: [3].includes(typeId), - // }, - // { - // label: '电阻率下限', - // field: 'resistivityLowerLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: 'Ω-m', - // ifShow: [3].includes(typeId), - // }, - // { - // label: 'TDS上限', - // field: 'tdsUpperLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // ifShow: [3].includes(typeId), - // }, - // { - // label: 'TDS下限', - // field: 'tdsLowerLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '510px', - // }, - // }; - // }, - // suffix: 'mg/L', - // ifShow: [3].includes(typeId), - // }, - // { - // label: '花粉浓度上限', - // field: 'oneUpperLimit', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // componentProps: () => { - // return { - // style: { - // width: '100%', - // }, - // }; - // }, - // suffix: '粒/千mm²', - // ifShow: [2].includes(typeId), - // }, - // // { - // // label: '1通道下限', - // // field: 'oneLowerLimit', - // // component: 'InputNumber', - // // rules: [{ required: true, trigger: 'blur' }], - // // componentProps: () => { - // // return { - // // style: { - // // width: '100%', - // // }, - // // }; - // // }, - // // ifShow: [4].includes(typeId), - // // }, - // // { - // // label: '2通道上限', - // // field: 'twoUpperLimit', - // // component: 'InputNumber', - // // rules: [{ required: true, trigger: 'blur' }], - // // componentProps: () => { - // // return { - // // style: { - // // width: '100%', - // // }, - // // }; - // // }, - // // ifShow: [4].includes(typeId), - // // }, - // // { - // // label: '2通道下限', - // // field: 'twoLowerLimit', - // // component: 'InputNumber', - // // rules: [{ required: true, trigger: 'blur' }], - // // componentProps: () => { - // // return { - // // style: { - // // width: '100%', - // // }, - // // }; - // // }, - // // ifShow: [4].includes(typeId), - // // }, - // // { - // // label: '3通道上限', - // // field: 'threeUpperLimit', - // // component: 'InputNumber', - // // rules: [{ required: true, trigger: 'blur' }], - // // componentProps: () => { - // // return { - // // style: { - // // width: '100%', - // // }, - // // }; - // // }, - // // ifShow: [4].includes(typeId), - // // }, - // // { - // // label: '3通道下限', - // // field: 'threeLowerLimit', - // // component: 'InputNumber', - // // rules: [{ required: true, trigger: 'blur' }], - // // componentProps: () => { - // // return { - // // style: { - // // width: '100%', - // // }, - // // }; - // // }, - // // ifShow: [4].includes(typeId), - // // }, - // // { - // // label: '4通道上限', - // // field: 'fourUpperLimit', - // // component: 'InputNumber', - // // rules: [{ required: true, trigger: 'blur' }], - // // componentProps: () => { - // // return { - // // style: { - // // width: '100%', - // // }, - // // }; - // // }, - // // ifShow: [4].includes(typeId), - // // }, - // // { - // // label: '4通道下限', - // // field: 'fourLowerLimit', - // // component: 'InputNumber', - // // rules: [{ required: true, trigger: 'blur' }], - // // componentProps: () => { - // // return { - // // style: { - // // width: '100%', - // // }, - // // }; - // // }, - // // ifShow: [4].includes(typeId), - // // }, - // // { - // // label: '5通道上限', - // // field: 'fiveUpperLimit', - // // component: 'InputNumber', - // // rules: [{ required: true, trigger: 'blur' }], - // // componentProps: () => { - // // return { - // // style: { - // // width: '100%', - // // }, - // // }; - // // }, - // // ifShow: [4].includes(typeId), - // // }, - // // { - // // label: '5通道下限', - // // field: 'fiveLowerLimit', - // // component: 'InputNumber', - // // rules: [{ required: true, trigger: 'blur' }], - // // componentProps: () => { - // // return { - // // style: { - // // width: '100%', - // // }, - // // }; - // // }, - // // ifShow: [4].includes(typeId), - // // }, - // // { - // // label: '6通道上限', - // // field: 'sixUpperLimit', - // // component: 'InputNumber', - // // rules: [{ required: true, trigger: 'blur' }], - // // componentProps: () => { - // // return { - // // style: { - // // width: '100%', - // // }, - // // }; - // // }, - // // ifShow: [4].includes(typeId), - // // }, - // // { - // // label: '6通道下限', - // // field: 'sixLowerLimit', - // // component: 'InputNumber', - // // rules: [{ required: true, trigger: 'blur' }], - // // componentProps: () => { - // // return { - // // style: { - // // width: '100%', - // // }, - // // }; - // // }, - // // ifShow: [4].includes(typeId), - // // }, - { - label: '', - field: 'createUser', - component: 'InputNumber', - defaultValue: 100, - show: false, - }, - { - label: '', - field: 'dtuId', - component: 'Input', - show: false, - }, - { - label: '', - field: 'meterId', - component: 'Input', - show: false, - }, - ]; - - return formSchema; -} - -export const mapInfo: FormSchema[] = [ - { - label: '设备名称', - field: 'meterName', - component: 'Input', - componentProps: () => { - return { - disabled: true, - }; - }, - }, - { - label: 'DTU编号', - field: 'dtuCode', - component: 'Input', - componentProps: () => { - return { - disabled: true, - }; - }, - }, - { - label: '设备编号', - field: 'meterCode', - component: 'Input', - componentProps: () => { - return { - disabled: true, - }; - }, - }, - { - label: '设备监测场所', - field: 'meterAddress', - component: 'Input', - componentProps: () => { - return { - disabled: true, - }; - }, - }, - { - label: '布点日期', - field: 'createDate', - component: 'Input', - componentProps: ({ formModel }) => { - formModel.createDate = formModel.createDate ? dayjs(formModel.createDate * 1000).format('YYYY-MM-DD') : ''; - return { - disabled: true, - }; - }, - }, - { - label: '', - field: 'meterId', - component: 'Input', - show: false, - }, -]; - -export function getClassColumn(typeId: number) { - const column: BasicColumn[] = [ - { - title: '分类名称', - dataIndex: 'category', - align: 'center', - width: 200, - }, - { - title: '温度(℃)', - dataIndex: '', - align: 'center', - ifShow: [0, 1, 3].includes(typeId), - children: [ - { - title: '上限', - dataIndex: 'temperatureUpperLimit', - align: 'center', - width: 80, - }, - { - title: '下限', - dataIndex: 'temperatureLowerLimit', - align: 'center', - width: 80, - }, - ], - }, - { - title: '湿度(%)', - dataIndex: '', - align: 'center', - ifShow: [0, 1].includes(typeId), - children: [ - { - title: '上限', - dataIndex: 'humidityUpperLimit', - align: 'center', - width: 80, - }, - { - title: '下限', - dataIndex: 'humidityLowerLimit', - align: 'center', - width: 80, - }, - ], - }, - { - title: '甲醛(mg/m³)', - dataIndex: '', - align: 'center', - ifShow: typeId === 0, - children: [ - { - title: '上限', - dataIndex: 'hchoUpperLimit', - align: 'center', - width: 80, - }, - { - title: '下限', - dataIndex: 'hchoLowerLimit', - align: 'center', - width: 80, - }, - ], - }, - { - title: 'PM2.5(μg/m³)', - dataIndex: '', - align: 'center', - ifShow: [0, 1].includes(typeId), - children: [ - { - title: '上限', - dataIndex: 'pm25UpperLimit', - align: 'center', - width: 80, - }, - { - title: '下限', - dataIndex: 'pm25LowerLimit', - align: 'center', - width: 80, - }, - ], - }, - { - title: 'PM10(μg/m³)', - dataIndex: '', - ifShow: [0, 1].includes(typeId), - align: 'center', - children: [ - { - title: '上限', - dataIndex: 'pm10UpperLimit', - align: 'center', - width: 80, - }, - { - title: '下限', - dataIndex: 'pm10LowerLimit', - align: 'center', - width: 80, - }, - ], - }, - { - title: '太阳辐射(W/m²)', - dataIndex: '', - ifShow: [1].includes(typeId), - align: 'center', - children: [ - { - title: '上限', - dataIndex: 'rsRaUpperLimit', - align: 'center', - width: 80, - }, - { - title: '下限', - dataIndex: 'rsRaLowerLimit', - align: 'center', - width: 80, - }, - ], - }, - { - title: '照度(lm/m²)', - dataIndex: '', - ifShow: [1].includes(typeId), - align: 'center', - children: [ - { - title: '上限', - dataIndex: 'illuminanceUpperLimit', - align: 'center', - width: 80, - }, - { - title: '下限', - dataIndex: 'illuminanceLowerLimit', - align: 'center', - width: 80, - }, - ], - }, - { - title: '风速(m/s)', - dataIndex: '', - ifShow: [1].includes(typeId), - align: 'center', - children: [ - { - title: '上限', - dataIndex: 'windSpeedUpperLimit', - align: 'center', - width: 80, - }, - { - title: '下限', - dataIndex: 'windSpeedLowerLimit', - align: 'center', - width: 80, - }, - ], - }, - { - title: '电导率(US/cm)', - dataIndex: '', - ifShow: [3].includes(typeId), - align: 'center', - children: [ - { - title: '上限', - dataIndex: 'conductivityUpperLimit', - align: 'center', - width: 80, - }, - { - title: '下限', - dataIndex: 'conductivityLowerLimit', - align: 'center', - width: 80, - }, - ], - }, - { - title: 'PH', - dataIndex: '', - ifShow: [3].includes(typeId), - align: 'center', - children: [ - { - title: '上限', - dataIndex: 'phUpperLimit', - align: 'center', - width: 80, - }, - { - title: '下限', - dataIndex: 'phLowerLimit', - align: 'center', - width: 80, - }, - ], - }, - { - title: '盐度(mg/L)', - dataIndex: '', - ifShow: [3].includes(typeId), - align: 'center', - children: [ - { - title: '上限', - dataIndex: 'salinityUpperLimit', - align: 'center', - width: 80, - }, - { - title: '下限', - dataIndex: 'salinityLowerLimit', - align: 'center', - width: 80, - }, - ], - }, - { - title: '电阻率(Ω-m)', - dataIndex: '', - ifShow: [3].includes(typeId), - align: 'center', - children: [ - { - title: '上限', - dataIndex: 'resistivityUpperLimit', - align: 'center', - width: 80, - }, - { - title: '下限', - dataIndex: 'resistivityLowerLimit', - align: 'center', - width: 80, - }, - ], - }, - { - title: 'TDS', - dataIndex: '', - ifShow: [3].includes(typeId), - align: 'center', - children: [ - { - title: '上限', - dataIndex: 'tdsUpperLimit', - align: 'center', - width: 80, - }, - { - title: '下限', - dataIndex: 'tdsLowerLimit', - align: 'center', - width: 80, - }, - ], - }, - // { - // title: '花粉浓度', - // dataIndex: '', - // ifShow: [2].includes(typeId), - // align: 'center', - // children: [ - // { - // title: '上限', - // dataIndex: 'oneUpperLimit', - // align: 'center', - // width: 100, - // }, - // ], - // }, - ]; - return column; -} -export const oneColumn: BasicColumn[] = [ - { - title: '分类名称', - dataIndex: 'category', - align: 'center', - width: 200, - }, - { - title: '花粉浓度', - dataIndex: '', - align: 'center', - children: [ - { - title: '上限', - dataIndex: 'oneUpperLimit', - align: 'center', - width: 100, - }, - ], - }, -]; -export const classSchema: FormSchema[] = [ - { - label: '分类名称', - field: 'category', - component: 'Input', - }, -]; - -export function getClassSchema(typeId: number) { - const formSchema: FormSchema[] = [ - { - label: '', - field: 'a', - component: 'Input', - slot: 'basicInfo', - }, - { - label: '分类名称', - field: 'category', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '', - field: 'b', - component: 'Input', - slot: 'threshold', - }, - { - label: '温度上限', - field: 'temperatureUpperLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: '℃', - ifShow: [0, 1, 3].includes(typeId), - }, - { - label: '温度下限', - field: 'temperatureLowerLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: '℃', - ifShow: [0, 1, 3].includes(typeId), - }, - { - label: '湿度上限', - field: 'humidityUpperLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: '%', - ifShow: [0, 1].includes(typeId), - }, - { - label: '湿度下限', - field: 'humidityLowerLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: '%', - ifShow: [0, 1].includes(typeId), - }, - { - label: '太阳辐射上限', - field: 'rsraUpperLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: 'W/m²', - ifShow: [1].includes(typeId), - }, - { - label: '太阳辐射下限', - field: 'rsraLowerLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: 'W/m²', - ifShow: [1].includes(typeId), - }, - { - label: '甲醛上限', - field: 'hchoUpperLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: 'mg/m³', - ifShow: typeId === 0, - }, - { - label: '甲醛下限', - field: 'hchoLowerLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: 'mg/m³', - ifShow: typeId === 0, - }, - { - label: 'PM2.5上限', - field: 'pm25UpperLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: 'μg/m³', - ifShow: [0, 1].includes(typeId), - }, - { - label: 'PM2.5下限', - field: 'pm25LowerLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: 'μg/m³', - ifShow: [0, 1].includes(typeId), - }, - { - label: 'PM10上限', - field: 'pm10UpperLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: 'μg/m³', - ifShow: [0, 1].includes(typeId), - }, - { - label: 'PM10下限', - field: 'pm10LowerLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: 'μg/m³', - ifShow: [0, 1].includes(typeId), - }, - { - label: '照度上限', - field: 'illuminanceUpperLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: 'lm/m²', - ifShow: [1].includes(typeId), - }, - { - label: '照度下限', - field: 'illuminanceLowerLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: 'lm/m²', - ifShow: [1].includes(typeId), - }, - { - label: '风速上限', - field: 'windSpeedUpperLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: 'm/s', - ifShow: [1].includes(typeId), - }, - { - label: '风速下限', - field: 'windSpeedLowerLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: 'm/s', - ifShow: [1].includes(typeId), - }, - { - label: '电导率上限', - field: 'conductivityUpperLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: 'US/cm', - ifShow: [3].includes(typeId), - }, - { - label: '电导率下限', - field: 'conductivityLowerLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: 'US/cm', - ifShow: [3].includes(typeId), - }, - { - label: 'PH上限', - field: 'phUpperLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - ifShow: [3].includes(typeId), - }, - { - label: 'PH下限', - field: 'phLowerLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - ifShow: [3].includes(typeId), - }, - { - label: '盐度上限', - field: 'salinityUpperLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: 'mg/L', - ifShow: [3].includes(typeId), - }, - { - label: '盐度下限', - field: 'salinityLowerLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: 'mg/L', - ifShow: [3].includes(typeId), - }, - { - label: '电阻率上限', - field: 'resistivityUpperLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: 'Ω-m', - ifShow: [3].includes(typeId), - }, - { - label: '电阻率下限', - field: 'resistivityLowerLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: 'Ω-m', - ifShow: [3].includes(typeId), - }, - { - label: 'TDS上限', - field: 'tdsUpperLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - ifShow: [3].includes(typeId), - }, - { - label: 'TDS下限', - field: 'tdsLowerLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '510px', - }, - }; - }, - suffix: 'mg/L', - ifShow: [3].includes(typeId), - }, - { - label: '花粉浓度上限', - field: 'oneUpperLimit', - component: 'InputNumber', - rules: [{ required: true, trigger: 'blur' }], - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - suffix: '粒/千mm²', - ifShow: [2].includes(typeId), - }, - ]; - return formSchema; -} diff --git a/src/views/interveneNew/environment/components/device/deviceList.vue b/src/views/interveneNew/environment/components/device/deviceList.vue deleted file mode 100644 index c967635..0000000 --- a/src/views/interveneNew/environment/components/device/deviceList.vue +++ /dev/null @@ -1,461 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/components/device/deviceListNew.vue b/src/views/interveneNew/environment/components/device/deviceListNew.vue deleted file mode 100644 index 560686e..0000000 --- a/src/views/interveneNew/environment/components/device/deviceListNew.vue +++ /dev/null @@ -1,439 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/components/deviceType/deviceType.api.ts b/src/views/interveneNew/environment/components/deviceType/deviceType.api.ts deleted file mode 100644 index e69de29..0000000 diff --git a/src/views/interveneNew/environment/components/deviceType/deviceType.data.ts b/src/views/interveneNew/environment/components/deviceType/deviceType.data.ts deleted file mode 100644 index 15e2fc7..0000000 --- a/src/views/interveneNew/environment/components/deviceType/deviceType.data.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -export const columns: BasicColumn[] = []; - -export const searchSchema: FormSchema[] = []; - -export const formSchema: FormSchema[] = []; diff --git a/src/views/interveneNew/environment/components/deviceType/deviceTypeList.vue b/src/views/interveneNew/environment/components/deviceType/deviceTypeList.vue deleted file mode 100644 index 8606599..0000000 --- a/src/views/interveneNew/environment/components/deviceType/deviceTypeList.vue +++ /dev/null @@ -1,39 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/components/historyRecord/historyRecord.vue b/src/views/interveneNew/environment/components/historyRecord/historyRecord.vue deleted file mode 100644 index b3e20f0..0000000 --- a/src/views/interveneNew/environment/components/historyRecord/historyRecord.vue +++ /dev/null @@ -1,132 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/components/historyRecord/monitor.vue b/src/views/interveneNew/environment/components/historyRecord/monitor.vue deleted file mode 100644 index 26cbb98..0000000 --- a/src/views/interveneNew/environment/components/historyRecord/monitor.vue +++ /dev/null @@ -1,207 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/components/historyRecord/police.vue b/src/views/interveneNew/environment/components/historyRecord/police.vue deleted file mode 100644 index cf80568..0000000 --- a/src/views/interveneNew/environment/components/historyRecord/police.vue +++ /dev/null @@ -1,194 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/components/historyRecord/record.api.ts b/src/views/interveneNew/environment/components/historyRecord/record.api.ts deleted file mode 100644 index 28213f3..0000000 --- a/src/views/interveneNew/environment/components/historyRecord/record.api.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/meter_info/list', - listMeterHistory = '/health-intervene/environment/warnInfo/listMeterHistory', - getPoliceExportUrl = '/health-intervene/environment/warnInfo/listHistoryExportXls', - // getMonitorExportUrl = '/health-intervene/environment/indoorEnvironmentData/exportXls,' + - // '/health-intervene/environment/outdoorEnvironmentData/exportXls,' + - // '/health-intervene/environment/waterQualityData/exportXls,' + - // '/health-intervene/environment/pollenData/exportXls', // 室内 室外 水质 花粉 - getMonitorExportUrl = '/health-intervene/environment/indoorEnvironmentData/indoorExportXlsListInfo,' + - '/health-intervene/environment/outdoorEnvironmentData/outdoorExportXls,' + - '/health-intervene/environment/pollenData/poolenExportXls,' + - '/health-intervene/environment/waterQualityData/waterInfoExportXls', // 室内 室外 花粉 水质 - queryById1 = '/health-intervene/environment/indoorEnvironmentMeterInfo/queryById,' + - '/health-intervene/environment/outdoorEnvironmentMeterInfo/queryById,' + - '/health-intervene/environment/pollenMeterInfo/queryById,' + - '/health-intervene/environment/waterQualityMeterInfo/queryById', // 室内 室外 花粉 水质 - // queryById2 = '/health-intervene/environment/indoorEnvironmentData/list,' + - // '/health-intervene/environment/outdoorEnvironmentData/list,' + - // '/health-intervene/environment/pollenData/list,' + - // '/health-intervene/environment/waterQualityData/list', // 室内 室外 花粉 水质 - queryById2 = '/health-intervene/environment/indoorEnvironmentData/indoorListInfo,' + - '/health-intervene/environment/outdoorEnvironmentData/outdoorListInfo,' + - '/health-intervene/environment/pollenData/poolenListInfo,' + - '/health-intervene/environment/waterQualityData/waterInfolist', // 室内 室外 花粉 水质 -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const queryByIdApi = (params: any, typeId: number) => defHttp.get({ url: Api.queryById1.split(',')[typeId], params: params }); -export const listMeterHistoryApi = (params: any) => defHttp.get({ url: Api.listMeterHistory, params: params }); -export const getQueryByIdApi = (typeId: number) => { - return (params: any) => defHttp.get({ url: Api.queryById2.split(',')[typeId], params: params }); -}; - -export const getPoliceExportUrl = Api.getPoliceExportUrl; -export const getMonitorExportUrl = Api.getMonitorExportUrl; diff --git a/src/views/interveneNew/environment/components/historyRecord/record.data.ts b/src/views/interveneNew/environment/components/historyRecord/record.data.ts deleted file mode 100644 index 729400c..0000000 --- a/src/views/interveneNew/environment/components/historyRecord/record.data.ts +++ /dev/null @@ -1,177 +0,0 @@ -import { FormSchema } from '/@/components/Form'; -import { BasicColumn } from '/@/components/Table'; -import dayjs from 'dayjs'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; - -export const searchFormSchema: FormSchema[] = [ - { - label: '设备编号', - field: 'meterCode', - component: 'Input', - }, - { - label: '设备名称', - field: 'meterName', - component: 'Input', - }, - { - label: '设备所属单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '设备监测场所', - field: 'meterAddress', - component: 'Input', - }, -]; - -export const columns: BasicColumn[] = [ - { - title: '设备名称', - align: 'center', - dataIndex: 'meterName', - }, - { - title: '设备编号', - align: 'center', - dataIndex: 'meterCode', - }, - { - title: '设备所属单位', - align: 'center', - dataIndex: 'unitName', - }, - { - title: '设备监测场所', - align: 'center', - dataIndex: 'meterAddress', - }, - { - title: '总监测时间', - align: 'center', - dataIndex: 'createDate', - customRender: ({ text }) => { - return text && `${dayjs(text * 1000).format('YYYY/MM/DD')} - ${dayjs().format('YYYY/MM/DD')}`; - }, - }, - { - title: '监测数据', - align: 'center', - dataIndex: 'jData', - width: 100, - }, - { - title: '异常数据', - align: 'center', - dataIndex: 'yData', - width: 100, - }, -]; - -export const policeColumns: BasicColumn[] = [ - { - title: '设备名称', - align: 'center', - dataIndex: 'meterName', - }, - { - title: '设备编号', - align: 'center', - dataIndex: 'meterCode', - }, - { - title: '设备所属单位', - align: 'center', - dataIndex: 'unitName', - }, - { - title: '设备监测场所', - align: 'center', - dataIndex: 'address', - }, - { - title: '数据类型', - align: 'center', - dataIndex: 'dateType', - }, - { - title: '单位', - align: 'center', - dataIndex: 'unit', - }, - { - title: '上限', - align: 'center', - dataIndex: 'upperLimit', - }, - { - title: '下限', - align: 'center', - dataIndex: 'lowerLimit', - }, - { - title: '异常值', - align: 'center', - dataIndex: 'value', - }, - { - title: '报警时间', - align: 'center', - dataIndex: 'readDateTime', - }, -]; - -export function getDataColumns(list: any[]): BasicColumn[] { - return [ - { - title: '设备名称', - align: 'center', - dataIndex: 'meterName', - }, - { - title: '设备编号', - align: 'center', - dataIndex: 'meterCode', - }, - { - title: '设备所属单位', - align: 'center', - dataIndex: 'unitName', - }, - { - title: '设备监测场所', - align: 'center', - dataIndex: 'meterAddress', - }, - { - title: '监测时间', - align: 'center', - dataIndex: 'readTime', - customRender: ({ text }) => { - return `${dayjs(text * 1000).format('YYYY-MM-DD HH:mm:ss')}`; - }, - }, - ...list.map((item): BasicColumn => { - return { - title: item.name + item.unit, - align: 'center', - dataIndex: item.key, - }; - }), - ]; -} diff --git a/src/views/interveneNew/environment/inner/application/index.vue b/src/views/interveneNew/environment/inner/application/index.vue deleted file mode 100644 index 632cbcf..0000000 --- a/src/views/interveneNew/environment/inner/application/index.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/src/views/interveneNew/environment/inner/dataAnalysis/index.vue b/src/views/interveneNew/environment/inner/dataAnalysis/index.vue deleted file mode 100644 index 7de9dcc..0000000 --- a/src/views/interveneNew/environment/inner/dataAnalysis/index.vue +++ /dev/null @@ -1,82 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/inner/dataAnalysis/indexSon.vue b/src/views/interveneNew/environment/inner/dataAnalysis/indexSon.vue deleted file mode 100644 index 1d63e8b..0000000 --- a/src/views/interveneNew/environment/inner/dataAnalysis/indexSon.vue +++ /dev/null @@ -1,128 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/inner/deviceManage/class.vue b/src/views/interveneNew/environment/inner/deviceManage/class.vue deleted file mode 100644 index b5fe35f..0000000 --- a/src/views/interveneNew/environment/inner/deviceManage/class.vue +++ /dev/null @@ -1,6 +0,0 @@ - - diff --git a/src/views/interveneNew/environment/inner/deviceManage/index.vue b/src/views/interveneNew/environment/inner/deviceManage/index.vue deleted file mode 100644 index f05f9a7..0000000 --- a/src/views/interveneNew/environment/inner/deviceManage/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/inner/history/index.vue b/src/views/interveneNew/environment/inner/history/index.vue deleted file mode 100644 index 1ef5875..0000000 --- a/src/views/interveneNew/environment/inner/history/index.vue +++ /dev/null @@ -1,26 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/inner/history/monitor.vue b/src/views/interveneNew/environment/inner/history/monitor.vue deleted file mode 100644 index 775812e..0000000 --- a/src/views/interveneNew/environment/inner/history/monitor.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/inner/history/police.vue b/src/views/interveneNew/environment/inner/history/police.vue deleted file mode 100644 index eb2cf65..0000000 --- a/src/views/interveneNew/environment/inner/history/police.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/inner/warnInfo/index.vue b/src/views/interveneNew/environment/inner/warnInfo/index.vue deleted file mode 100644 index 2941ab8..0000000 --- a/src/views/interveneNew/environment/inner/warnInfo/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/outer/application/index.vue b/src/views/interveneNew/environment/outer/application/index.vue deleted file mode 100644 index 3de825e..0000000 --- a/src/views/interveneNew/environment/outer/application/index.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/src/views/interveneNew/environment/outer/dataAnalysis/index.vue b/src/views/interveneNew/environment/outer/dataAnalysis/index.vue deleted file mode 100644 index 1295f28..0000000 --- a/src/views/interveneNew/environment/outer/dataAnalysis/index.vue +++ /dev/null @@ -1,102 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/outer/dataAnalysis/indexSon.vue b/src/views/interveneNew/environment/outer/dataAnalysis/indexSon.vue deleted file mode 100644 index 6a2eab5..0000000 --- a/src/views/interveneNew/environment/outer/dataAnalysis/indexSon.vue +++ /dev/null @@ -1,136 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/outer/deviceManage/class.vue b/src/views/interveneNew/environment/outer/deviceManage/class.vue deleted file mode 100644 index 088be12..0000000 --- a/src/views/interveneNew/environment/outer/deviceManage/class.vue +++ /dev/null @@ -1,6 +0,0 @@ - - diff --git a/src/views/interveneNew/environment/outer/deviceManage/index.vue b/src/views/interveneNew/environment/outer/deviceManage/index.vue deleted file mode 100644 index 67eb647..0000000 --- a/src/views/interveneNew/environment/outer/deviceManage/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/outer/history/index.vue b/src/views/interveneNew/environment/outer/history/index.vue deleted file mode 100644 index b9e8e63..0000000 --- a/src/views/interveneNew/environment/outer/history/index.vue +++ /dev/null @@ -1,26 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/outer/history/monitor.vue b/src/views/interveneNew/environment/outer/history/monitor.vue deleted file mode 100644 index acc0013..0000000 --- a/src/views/interveneNew/environment/outer/history/monitor.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/outer/history/police.vue b/src/views/interveneNew/environment/outer/history/police.vue deleted file mode 100644 index eb2cf65..0000000 --- a/src/views/interveneNew/environment/outer/history/police.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/outer/warnInfo/index.vue b/src/views/interveneNew/environment/outer/warnInfo/index.vue deleted file mode 100644 index fa27d9e..0000000 --- a/src/views/interveneNew/environment/outer/warnInfo/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/pollen/application/index.vue b/src/views/interveneNew/environment/pollen/application/index.vue deleted file mode 100644 index 8e41ae8..0000000 --- a/src/views/interveneNew/environment/pollen/application/index.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/src/views/interveneNew/environment/pollen/dataAnalysis/index.vue b/src/views/interveneNew/environment/pollen/dataAnalysis/index.vue deleted file mode 100644 index 1cf98a8..0000000 --- a/src/views/interveneNew/environment/pollen/dataAnalysis/index.vue +++ /dev/null @@ -1,97 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/pollen/dataAnalysis/indexSon.vue b/src/views/interveneNew/environment/pollen/dataAnalysis/indexSon.vue deleted file mode 100644 index ca97cfd..0000000 --- a/src/views/interveneNew/environment/pollen/dataAnalysis/indexSon.vue +++ /dev/null @@ -1,133 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/pollen/deviceManage/class.vue b/src/views/interveneNew/environment/pollen/deviceManage/class.vue deleted file mode 100644 index 39c04cb..0000000 --- a/src/views/interveneNew/environment/pollen/deviceManage/class.vue +++ /dev/null @@ -1,6 +0,0 @@ - - diff --git a/src/views/interveneNew/environment/pollen/deviceManage/index.vue b/src/views/interveneNew/environment/pollen/deviceManage/index.vue deleted file mode 100644 index dbc2622..0000000 --- a/src/views/interveneNew/environment/pollen/deviceManage/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/pollen/history/index.vue b/src/views/interveneNew/environment/pollen/history/index.vue deleted file mode 100644 index fdf69d8..0000000 --- a/src/views/interveneNew/environment/pollen/history/index.vue +++ /dev/null @@ -1,26 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/pollen/history/monitor.vue b/src/views/interveneNew/environment/pollen/history/monitor.vue deleted file mode 100644 index 4d82f77..0000000 --- a/src/views/interveneNew/environment/pollen/history/monitor.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/pollen/history/police.vue b/src/views/interveneNew/environment/pollen/history/police.vue deleted file mode 100644 index eb2cf65..0000000 --- a/src/views/interveneNew/environment/pollen/history/police.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/pollen/knowledge/compoents/knowledgeDrawer.vue b/src/views/interveneNew/environment/pollen/knowledge/compoents/knowledgeDrawer.vue deleted file mode 100644 index 3b9c751..0000000 --- a/src/views/interveneNew/environment/pollen/knowledge/compoents/knowledgeDrawer.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/pollen/knowledge/knowledge.api.ts b/src/views/interveneNew/environment/pollen/knowledge/knowledge.api.ts deleted file mode 100644 index 3dbac21..0000000 --- a/src/views/interveneNew/environment/pollen/knowledge/knowledge.api.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -enum Api { - list = '/health-intervene/environment/pollenKnowledgePopularization/list', - add = '/health-intervene/environment/pollenKnowledgePopularization/add', - edit = '/health-intervene/environment/pollenKnowledgePopularization/edit', - deleteBatch = '/health-intervene/environment/pollenKnowledgePopularization/deleteBatch', -} -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const addApi = (params: any) => defHttp.post({ url: Api.add, params: params }); -export const editApi = (params: any) => defHttp.put({ url: Api.edit, params: params }); -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/environment/pollen/knowledge/knowledge.data.ts b/src/views/interveneNew/environment/pollen/knowledge/knowledge.data.ts deleted file mode 100644 index 7b6e826..0000000 --- a/src/views/interveneNew/environment/pollen/knowledge/knowledge.data.ts +++ /dev/null @@ -1,147 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; -import dayjs from 'dayjs'; - -export const columns: BasicColumn[] = [ - { - title: '文章名称', - align: 'center', - dataIndex: 'name', - }, - { - title: '封面图', - align: 'center', - dataIndex: 'coverImage', - customRender: ({ text }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 50, - width: 50, - fallback: getDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '链接地址', - align: 'center', - dataIndex: 'linkAddress', - customRender: ({ text }) => { - return h('a', { style: { cursor: 'pointer' }, href: text, target: '_blank' }, text); - }, - }, - { - title: '查看次数', - align: 'center', - dataIndex: 'showNum', - width: 100, - }, - { - title: '文章发布日期', - align: 'center', - dataIndex: 'createTime', - customRender: ({ text }) => { - return dayjs(text).format('YYYY-MM-DD'); - }, - width: 120, - }, - { - title: '排序', - align: 'center', - dataIndex: 'sort', - width: 100, - }, - { - title: '状态', - align: 'center', - dataIndex: 'state', - customRender: ({ text }) => { - return h('div', { style: { color: text == '0' ? '#12c925' : '#9bb6d8' } }, text == '0' ? '公开' : '关闭'); - }, - width: 100, - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - field: 'name', - label: '文章名称', - component: 'Input', - }, -]; - -export const formSchema: FormSchema[] = [ - { - field: 'name', - label: '文章名称', - component: 'Input', - required: true, - }, - { - field: 'coverImage', - label: '封面图', - component: 'JImageUpload', - required: true, - }, - { - field: 'linkAddress', - label: '链接地址', - component: 'Input', - required: true, - }, - { - field: 'createTime', - label: '文章发布日期', - component: 'DatePicker', - required: true, - componentProps: () => { - return { - format: 'YYYY-MM-DD', - valueFormat: 'YYYY-MM-DD HH:mm:ss', - }; - }, - }, - { - field: 'sort', - label: '排序', - component: 'Input', - required: true, - }, - { - field: 'state', - label: '文章名称', - component: 'JDictSelectTag', - defaultValue: '0', - componentProps: () => { - return { - type: 'radio', - options: [ - { - label: '公开', - value: '0', - }, - { - label: '关闭', - value: '1', - }, - ], - }; - }, - }, - { - field: 'id', - label: '', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/environment/pollen/knowledge/knowledgeList.vue b/src/views/interveneNew/environment/pollen/knowledge/knowledgeList.vue deleted file mode 100644 index a461393..0000000 --- a/src/views/interveneNew/environment/pollen/knowledge/knowledgeList.vue +++ /dev/null @@ -1,78 +0,0 @@ - - - - diff --git a/src/views/interveneNew/environment/pollen/warnInfo/index.vue b/src/views/interveneNew/environment/pollen/warnInfo/index.vue deleted file mode 100644 index cf316c4..0000000 --- a/src/views/interveneNew/environment/pollen/warnInfo/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/water/application/index.vue b/src/views/interveneNew/environment/water/application/index.vue deleted file mode 100644 index e690d3e..0000000 --- a/src/views/interveneNew/environment/water/application/index.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/src/views/interveneNew/environment/water/dataAnalysis/index.vue b/src/views/interveneNew/environment/water/dataAnalysis/index.vue deleted file mode 100644 index 844c0f5..0000000 --- a/src/views/interveneNew/environment/water/dataAnalysis/index.vue +++ /dev/null @@ -1,92 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/water/dataAnalysis/indexSon.vue b/src/views/interveneNew/environment/water/dataAnalysis/indexSon.vue deleted file mode 100644 index 6347cf3..0000000 --- a/src/views/interveneNew/environment/water/dataAnalysis/indexSon.vue +++ /dev/null @@ -1,103 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/water/deviceManage/class.vue b/src/views/interveneNew/environment/water/deviceManage/class.vue deleted file mode 100644 index b7e3a29..0000000 --- a/src/views/interveneNew/environment/water/deviceManage/class.vue +++ /dev/null @@ -1,6 +0,0 @@ - - diff --git a/src/views/interveneNew/environment/water/deviceManage/index.vue b/src/views/interveneNew/environment/water/deviceManage/index.vue deleted file mode 100644 index bf8bdde..0000000 --- a/src/views/interveneNew/environment/water/deviceManage/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/water/history/index.vue b/src/views/interveneNew/environment/water/history/index.vue deleted file mode 100644 index 3d62f5f..0000000 --- a/src/views/interveneNew/environment/water/history/index.vue +++ /dev/null @@ -1,25 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/water/history/monitor.vue b/src/views/interveneNew/environment/water/history/monitor.vue deleted file mode 100644 index fd0c759..0000000 --- a/src/views/interveneNew/environment/water/history/monitor.vue +++ /dev/null @@ -1,50 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/water/history/police.vue b/src/views/interveneNew/environment/water/history/police.vue deleted file mode 100644 index eb2cf65..0000000 --- a/src/views/interveneNew/environment/water/history/police.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/views/interveneNew/environment/water/warnInfo/index.vue b/src/views/interveneNew/environment/water/warnInfo/index.vue deleted file mode 100644 index 5b05771..0000000 --- a/src/views/interveneNew/environment/water/warnInfo/index.vue +++ /dev/null @@ -1,7 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivity.api.ts b/src/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivity.api.ts deleted file mode 100644 index c8d04e0..0000000 --- a/src/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivity.api.ts +++ /dev/null @@ -1,130 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/health-intervene/examPlan/list', - save = '/health-intervene/examPlan/save', - edit = '/health-intervene/examPlan/update', - deleteOne = '/health-intervene/examPlan/delete', - deleteBatch = '/health-intervene/answerActivity/healthAnswerExamPlan/deleteBatch', - importExcel = '/health-intervene/answerActivity/healthAnswerExamPlan/importExcel', - exportXls = '/health-intervene/answer/user-record/export', - getThirdDepartment = '/sys/sysDepart/getThirdDepartListByOrgCode', - detail = '/health-intervene/examPlan', - getPlanRecordById = '/health-intervene/examPlan/getPlanRecordById', - getPlanRuleById = '/health-intervene/examPlan/getPlanRuleById', - userList = '/sys/user/listUserJump', - questionNumber = '/health-intervene/question/statistic', - exportRecord = '/health-intervene/answer/exam-plan/export', -} - -/** - * 答题记录导出 - */ -export const exportRecord = Api.exportRecord; -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params: any) => defHttp.get({ url: Api.list, params }); -/** - * @desc 用户数据 - * @param params - */ -export const userList = (params: any) => defHttp.get({ url: Api.userList, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params: any, handleSuccess: () => void) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteOne, - params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - * @param handleSuccess - */ -export const batchDelete = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params: any, isUpdate: any) => { - if (isUpdate) { - return defHttp.put({ url: Api.edit, params }); - } else { - return defHttp.post({ url: Api.save, params }); - } -}; - -/** - * 获取三级部门 体检管理 - */ -export const getThirdDepartmentList = async (params: any) => { - return await defHttp.get({ url: Api.getThirdDepartment, params }); -}; - -//根据活动ID查询活动详情 -export const getDetail = (params: any) => defHttp.get({ url: Api.detail, params }); - -//根据id查询答题活动(答题记录) -export const getPlanRecordById = (params: any) => defHttp.get({ url: Api.getPlanRecordById, params }); -//根据id查询答题活动(活动规则) -export const getPlanRuleById = (params: any) => defHttp.get({ url: Api.getPlanRuleById, params }); - -//答题活动管理-答题详情-导出 -export const exportDetailApi = (params: any) => defHttp.get({ url: Api.exportXls, params }); -//C01体检答题 C02 癌症答题 C03 急救答题 -export const getQuestionNumber = (params: any) => defHttp.get({ url: Api.questionNumber, params }, { headParams: 'C01' }); diff --git a/src/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivity.data.ts b/src/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivity.data.ts deleted file mode 100644 index 56a5aaa..0000000 --- a/src/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivity.data.ts +++ /dev/null @@ -1,983 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; - -import { isNonNegativeString } from '/@/utils/is'; -import { getThirdDepartListByOrgCode } from '/@/views/archive/employeeFile/employeeFileList.api'; -import { getQuestionNumber } from '/@/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivity.api'; -import { useUserStore } from '/@/store/modules/user'; -import { h, ref } from 'vue'; -import { activeTime, getDeptList, getSumScore, hasValue } from '/@/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivityHooks'; -import { getTimeStr, subtractAndCheck } from '/@/views/interveneNew/konwledgeManage/examination/randomAnswer/randomAnswerHook'; -import { getThirdDepartsNew } from '/@/utils/system/api'; -import { dictByCodeOrNameApi } from '/@/views/interveneNew/konwledgeManage/examination/randomAnswer/randomAnswer.api'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { queryDepartTreeSync } from '/@/views/system/depart/depart.api'; - -const user = useUserStore(); - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '单位答题活动名称', - align: 'center', - dataIndex: 'examPlanName', - width: 200, - }, - { - title: '参加人员范围', - align: 'center', - dataIndex: 'scopeType_dictText', - }, - { - title: '题库类型', - align: 'center', - dataIndex: 'questionCategory', - }, - { - title: '活动起止日期', - align: 'center', - dataIndex: 'examPlanTime', - width: 200, - customRender: ({ record }) => { - return activeTime(record); - }, - }, - { - title: '应参加人数', - align: 'center', - dataIndex: 'shouldJoinNumber', - }, - { - title: '实际参加人数', - align: 'center', - dataIndex: 'actualJoinNumber', - }, - { - title: '活动状态', - align: 'center', - dataIndex: 'state', - customRender: ({ text, record }) => { - if (!text) return ''; - if (text != '1') { - return h('div', record?.state_dictText); - } - return h('div', { style: { color: 'green' } }, record?.state_dictText); - }, - }, - { - title: '组织部门', - align: 'center', - dataIndex: 'organizerDeptName', - }, - { - title: '负责人', - align: 'center', - dataIndex: 'managerName', - }, - { - title: '活动联系电话', - align: 'center', - dataIndex: 'managerPhone', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '活动名称', - field: 'examPlanName', - component: 'Input', - colProps: { span: 6 }, - }, - { - label: '题库类型', - field: 'questionCategoryId', - component: 'ApiSelect', - componentProps: () => ({ - api: dictByCodeOrNameApi, - resultField: 'result', - labelField: 'category', - valueField: 'id', - }), - colProps: { span: 6 }, - }, - { - label: '活动状态', - field: 'state', - component: 'JDictSelectTag', - colProps: { span: 6 }, - componentProps: () => ({ - options: [ - { label: '未开始', value: '0' }, - { label: '进行中', value: '1' }, - { label: '已结束', value: '2' }, - ], - }), - }, - { - label: '活动日期', - field: 'rangeDate', - component: 'RangePicker', - componentProps: () => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - }; - }, - }, -]; -//表单数据 -const deptOption = ref([]); -export function formSchema(validate: Function) { - return [ - { - label: '活动名称', - field: 'examPlanName', - required: true, - component: 'Input', - }, - { - label: '参加人员范围', - field: 'scopeType', - component: 'JDictSelectTag', - componentProps: ({ formModel }) => { - return { - type: 'radio', - options: [ - { label: '全体员工(管辖范围内)', value: '0' }, - { label: '指定人员', value: '1' }, - ], - onChange: (val: string) => { - if (val === '0') { - formModel.examPlanScopeDeptList = []; - formModel.userName = ''; - formModel.examPlanScopeUserList = []; - } - }, - }; - }, - defaultValue: '1', - required: true, - }, - { - label: '指定部门', - field: 'examPlanScopeDeptList', - component: 'JlazyTreeSelect', - ifShow: ({ values }) => values.scopeType == '1', - componentProps: ({ formModel }) => { - return { - api: queryDepartTreeSync, - loadApi: queryDepartTreeSync, - selectedKeys: - formModel.examPlanScopeDeptList && - formModel.examPlanScopeDeptList.map((item) => { - return JSON.parse(item); - }), - expandedKeys: - formModel.examPlanScopeDeptList && - formModel.examPlanScopeDeptList.map((item) => { - return JSON.parse(item); - }), - afterApi: (data) => { - data.forEach((item: any) => { - item['resultItem'] = JSON.stringify({ - record: item.title, - scopeId: item.orgCode, - type: 1, - }); - item['preTitle'] = item.title; - item['key'] = item['resultItem']; - }); - return data; - }, - preItem: (title, item) => { - item['preTitle'] = title + '/' + item.title; - item['resultItem'] = JSON.stringify({ - record: item.title, - scopeId: item.orgCode, - type: 1, - }); - item['key'] = item['resultItem']; - return item; - }, - fieldNamesInfo: { - value: 'resultItem', - label: 'preTitle', - key: 'resultItem', - }, - }; - }, - dynamicRules: ({ model }) => [ - { - trigger: 'blur', - validator: () => { - return new Promise((resolve, reject) => { - let dept = model?.examPlanScopeDeptList || []; - if (model.scopeType == '1' && dept.length == 0 && !model.userName) { - return reject('参加人员范围选择指定人员时,请选择指定部门或者指定人员'); - } - return resolve(); - }); - }, - }, - ], - }, - // { - // label: '指定部门', - // field: 'examPlanScopeDeptList', - // component: 'Input', - // show: false, - // }, - { - label: '指定员工', - field: 'userName', - component: 'Input', - slot: 'selectEmployee', - dynamicRules: ({ model }) => [ - { - trigger: 'blur', - validator: () => { - return new Promise((resolve, reject) => { - let dept = model?.examPlanScopeDeptList || []; - if (model.scopeType == '1' && dept.length == 0 && !model.userName) { - return reject('参加人员范围选择指定人员时,请选择指定部门或者指定人员'); - } - return resolve(); - }); - }, - }, - ], - ifShow: ({ values }) => values.scopeType == '1', - }, - { - label: '指定员工', - field: 'examPlanScopeUserList', - component: 'Input', - show: false, - }, - { - label: '活动起止日期', - field: 'date', - component: 'RangePicker', - required: true, - componentProps: ({ formModel }) => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - onChange: ([start, end]) => { - formModel.startTime = start; - formModel.endTime = end; - }, - }; - }, - }, - { - label: '开始时间', - field: 'startTime', - component: 'Input', - show: false, - }, - { - label: '结束时间', - field: 'endTime', - component: 'Input', - show: false, - }, - { - label: '活动组织部门', - field: 'organizerDeptName', - component: 'Input', - required: true, - }, - { - label: '活动联系电话', - field: 'managerPhone', - component: 'Input', - rules: [ - { - required: true, - message: '请输入${label}!', - trigger: 'blur', - }, - { - pattern: /^1[3456789]\d{9}$/, - message: '${label}格式有误!', - trigger: 'blur', - }, - ], - }, - { - label: '具体负责人', - field: 'managerName', - component: 'Input', - required: true, - }, - { - label: '奖励等级标准', - field: 'awardLevelStandard', - component: 'InputTextArea', - componentProps: () => { - return { - showCount: true, - rows: 4, - }; - }, - required: true, - }, - { - label: '题库类型', - field: 'questionCategoryId', - component: 'ApiSelect', - componentProps: ({ formModel }) => ({ - api: dictByCodeOrNameApi, - resultField: 'result', - labelField: 'category', - valueField: 'id', - allowClear: false, - disabledInitValue: true, - onChange: async (val: string) => { - if (val) { - formModel.questionCount = await getQuestionNumber({ questionCategoryId: val }); - formModel.questionSum = ''; - formModel.dgSum = ''; - formModel.dxSum = ''; - formModel.pdSum = ''; - } else { - formModel.questionCount = {}; - } - }, - }), - required: true, - }, - { - field: 'questionCount', - label: '', - component: 'Input', - slot: 'questionCount', - ifShow: ({ values }) => values.questionCount !== undefined, - }, - { - label: '随机抽题数量', - field: 'questionSum', - component: 'InputNumber', - componentProps: ({ formModel }) => ({ - style: { - width: '100%', - }, - min: 1, - max: formModel?.questionCount?.questionSum, - onChange: (val: string) => { - //联动校验 - if (val && (formModel?.dgSum || formModel?.dxSum || formModel?.pdSum)) { - validate(['a']); - } - }, - }), - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!model.questionCategoryId) { - return reject('请先选择题库类型!'); - } - if (!isNonNegativeString(model?.questionSum)) { - if (model?.questionSum == null) { - reject('请输入随机抽题数量!'); - } else { - reject('请检查输入格式!'); - } - } - if (model?.questionSum <= 0) { - reject('随机抽题数量必须大于0!'); - } - if (model?.questionSum > model?.questionCount?.questionSum) { - reject('随机抽题数量不能大于题库总数!'); - } - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - required: true, - }, - { - label: '题目类型数量', - field: 'a', - component: 'InputNumber', - slot: 'second', - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!model.questionCategoryId) { - return reject('请先选择题库类型!'); - } - if (!hasValue(model?.dgSum)) { - return reject('请输入单选数量!'); - } - if (!isNonNegativeString(model.dgSum)) { - return reject('请检查单选输入格式!'); - } - if (model?.dgSum > model?.questionCount?.dgSum) { - reject('输入单选数量不能大于题库单选数量!'); - } - if (!hasValue(model?.dxSum)) { - return reject('请输入多选数量!'); - } - if (!isNonNegativeString(model.dxSum)) { - return reject('请检查多选输入格式!'); - } - if (model?.dxSum > model?.questionCount?.dxSum) { - reject('输入多选数量不能大于题库多选数量!'); - } - if (!hasValue(model?.pdSum)) { - return reject('请输入判断数量!'); - } - if (!isNonNegativeString(model?.pdSum)) { - return reject('请检查判断输入格式!'); - } - if (model?.pdSum > model?.questionCount?.pdSum) { - reject('输入判断数量不能大于题库判断数量!'); - } - const n1 = Number(model.dgSum) + Number(model.dxSum) + Number(model.pdSum); - const n2 = Number(model.questionSum); - if (n1 !== n2) { - return reject('随机抽题数量与题目类型数量不符'); - } - model.examScore = getSumScore(model); - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '', - field: 'dgSum', - component: 'InputNumber', - show: false, - }, - { - label: '', - field: 'dxSum', - component: 'InputNumber', - show: false, - }, - { - label: '', - field: 'pdSum', - component: 'InputNumber', - show: false, - }, - { - label: '答题时长(分钟)', - field: 'answerTime', - component: 'InputNumber', - required: true, - componentProps: () => ({ - style: { - width: '100%', - }, - min: 1, - }), - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!model?.answerTime) { - return reject('请输入答题时长(分钟)!'); - } - if (!isNonNegativeString(model?.answerTime)) { - reject('请检查输入格式!'); - } - - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '单选题分值', - field: 'dgScore', - component: 'InputNumber', - required: true, - componentProps: () => ({ - style: { - width: '100%', - }, - }), - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!hasValue(model?.dgScore)) { - return reject('请输入单选题分值!'); - } - if (!isNonNegativeString(model?.dgScore)) { - reject('请检查输入格式!'); - } - model.examScore = getSumScore(model); - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '多选题分值', - field: 'dxScore', - component: 'InputNumber', - required: true, - componentProps: () => ({ - style: { - width: '100%', - }, - }), - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!hasValue(model?.dxScore)) { - return reject('请输入多选题分值!'); - } - if (!isNonNegativeString(model?.dxScore)) { - reject('请检查输入格式!'); - } - model.examScore = getSumScore(model); - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '判断题分值', - field: 'pdScore', - component: 'InputNumber', - required: true, - componentProps: () => ({ - style: { - width: '100%', - }, - }), - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!hasValue(model?.pdScore)) { - return reject('请输入判断题分值!'); - } - if (!isNonNegativeString(model?.pdScore)) { - reject('请检查输入格式!'); - } - model.examScore = getSumScore(model); - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '答题总分', - field: 'examScore', - component: 'InputNumber', - componentProps: () => ({ - disabled: true, - }), - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - ]; -} -//答题活动详情-答题记录 -export const answerSearchForm: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - ...orgSearchInfoByCode('deptCode1', 'deptCode2', 'userDept'), -]; -//答题活动详情-答题列表 -export const activityDetailColumn: BasicColumn[] = [ - { - title: '单位', - align: 'center', - dataIndex: 'orgName', - fixed: 'left', - }, - { - title: '部门', - align: 'center', - dataIndex: 'userDeptName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'userName', - width: 100, - fixed: 'left', - }, - { - title: '员工编号', - align: 'center', - dataIndex: 'workNo', - width: 100, - }, - { - title: '性别', - align: 'center', - dataIndex: 'gender', - width: 70, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - width: 70, - }, - { - title: '答题时间', - align: 'center', - dataIndex: 'endAnswerTime', - }, - { - title: '健康档案', - align: 'center', - dataIndex: 'archives', - width: 90, - }, - { - title: '得分', - align: 'center', - dataIndex: 'totalScore', - width: 80, - }, - { - title: '答题时长(分钟)', - align: 'center', - dataIndex: 'answerTimeSum', - customRender: ({ text }) => { - if (text) { - return getTimeStr(text); - } - }, - }, - { - title: '正确率%', - align: 'center', - dataIndex: 'trueRate', - customRender: ({ text }) => { - if (!text) return '0 %'; - let numStr = (text * 100).toFixed(1); - return numStr.endsWith('.0') ? `${parseInt(numStr, 10)} %` : `${numStr} %`; - }, - }, - { - title: '错题数量/总题数', - align: 'center', - dataIndex: 'orderCount', - customRender: ({ record }) => { - const wrong = subtractAndCheck(record?.questionSum, record?.yesAmount) || 0; - return `${wrong}/${record?.questionSum}`; - }, - }, - { - title: '排名', - align: 'center', - dataIndex: 'ranking', - width: 90, - sorter: { - compare: (a, b) => a.ranking - b.ranking, - }, - }, -]; -//答题活动详情-活动规则 -export const activityDetailForm: FormSchema[] = [ - { - label: '抽取题目数量', - field: 'questionSum', - component: 'Input', - componentProps: () => { - return { - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - }; - }, - }, - { - label: '题目类型数量', - field: 'a', - component: 'Input', - slot: 'second', - }, - { - label: '', - field: 'dgSum', - component: 'Input', - show: false, - componentProps: () => ({ - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - }), - }, - { - label: '', - field: 'dxSum', - component: 'Input', - show: false, - componentProps: () => ({ - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - }), - }, - { - label: '', - field: 'pdSum', - component: 'Input', - show: false, - componentProps: () => ({ - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - }), - }, - { - label: '答题时长(分钟)', - field: 'answerTime', - component: 'Input', - componentProps: () => ({ - style: { - width: '100%', - border: 'none', - outline: 'none', - }, - placeholder: '', - readonly: true, - }), - }, - { - label: '单选题分值', - field: 'dgScore', - component: 'Input', - componentProps: () => ({ - style: { - width: '100%', - border: 'none', - outline: 'none', - }, - placeholder: '', - readonly: true, - }), - }, - { - label: '多选题分值', - field: 'dxScore', - component: 'Input', - componentProps: () => ({ - style: { - width: '100%', - border: 'none', - outline: 'none', - }, - placeholder: '', - readonly: true, - }), - }, - { - label: '判断题分值', - field: 'pdScore', - component: 'Input', - componentProps: () => ({ - style: { - width: '100%', - border: 'none', - outline: 'none', - }, - placeholder: '', - readonly: true, - }), - }, - { - label: '答题总分', - field: 'examScore', - component: 'Input', - componentProps: () => { - return { - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - }; - }, - }, - { - label: '参加人员范围', - field: 'scopeType', - component: 'Input', - show: false, - }, - { - label: '参加人员范围', - field: 'scopeType_dictText', - component: 'Input', - componentProps: () => { - return { - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - }; - }, - }, - { - label: '指定部门', - field: 'depart', - component: 'InputTextArea', - componentProps: () => { - return { - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - autoSize: { - minRows: 4, - }, - }; - }, - ifShow: ({ values }) => values.scopeType == '1', - }, - { - label: '指定员工', - field: 'userName', - component: 'InputTextArea', - componentProps: () => { - return { - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - autoSize: { - minRows: 4, - }, - }; - }, - ifShow: ({ values }) => values.scopeType == '1', - }, - { - label: '奖励等级标准', - field: 'awardLevelStandard', - component: 'InputTextArea', - componentProps: () => { - return { - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - autoSize: { - minRows: 4, - }, - }; - }, - }, -]; -//用户数据列表 -export const userFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'username', - component: 'Input', - }, - { - label: '单位', - field: 'orgCode', - component: 'Input', - show: false, - }, - { - label: '部门名称', - field: 'orgCodeThree', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNew, - resultField: 'list', - labelField: 'departName', - params: { - idOrCode: user?.userInfo?.orgCode?.substring(0, 6) || '12313', - }, - onChange: (e) => { - console.log(e, 111111); - console.log(formModel); - formModel.orgCode = e; - }, - valueField: 'orgCode', - immediate: true, - style: { - width: '195px', - }, - }; - }, - }, - { - label: '员工编号', - field: 'workNo', - component: 'Input', - }, -]; diff --git a/src/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivity.vue b/src/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivity.vue deleted file mode 100644 index 6c7210f..0000000 --- a/src/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivity.vue +++ /dev/null @@ -1,130 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivityHooks.ts b/src/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivityHooks.ts deleted file mode 100644 index 03bce63..0000000 --- a/src/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivityHooks.ts +++ /dev/null @@ -1,203 +0,0 @@ -import { ref } from 'vue'; -import moment from 'moment'; - -export function activeTime(record, type = 'YYYY-MM-DD') { - if (record?.startTime && record?.endTime) { - const s = moment(record.startTime).format(type); - const e = moment(record.endTime).format(type); - return `${s}一${e}`; - } - return ''; -} - -/** - * @param state 状态0-未开始,1进行中,2-已结束 - */ -export function useStateColor(state: string) { - if (!state) return 'gray'; - const obj = { - 0: 'gray', - 1: 'green', - 2: 'gray', - }; - return obj[state]; -} -export function useInfoList() { - const title = ref(''); - const infoList = ref([ - { - text: '活动起止时间', - value: '', - key: 'date', - }, - { - text: '题库类型', - value: '', - key: 'questionCategory', - }, - { - text: '组织部门', - value: '', - key: 'organizerDeptName', - }, - { - text: '负责人', - value: '', - key: 'managerName', - }, - { - text: '活动联系电话', - value: '', - key: 'managerPhone', - }, - ]); - const detailInfo = ref(''); - - function setInfoList(res) { - infoList.value.forEach((item) => { - if (item.key == 'date') { - item.value = activeTime(res, 'yyyy/MM/DD'); - } else { - item.value = res[item.key]; - } - }); - detailInfo.value = res; - title.value = res.examPlanName; - } - - return { - title, - infoList, - detailInfo, - setInfoList, - }; -} - -//新增获取部门数据 -export function getDeptList(list = [], keyCode = []) { - const arr = []; - list.forEach((item) => { - if (keyCode.includes(item.orgCode)) { - const obj = { - record: item.departName, - scopeId: item.orgCode, - type: 1, - }; - arr.push(obj); - } - }); - return arr; -} - -//新增获取用户数据 -export function getUserList(list = []) { - const arr = []; - list?.forEach((item) => { - const val = JSON.parse(item); - const obj = { - record: val.realname, - scopeId: val.id, - type: 2, - }; - arr.push(obj); - }); - return arr; -} - -//计算总分数 -export function getSumScore(model) { - const sum = model?.dgSum * model?.dgScore + model?.dxSum * model?.dxScore + model?.pdSum * model?.pdScore; - return sum || 0; -} - -// 非空数组 -export function notEmptyArr(arr) { - return Array.isArray(arr) && arr.length != 0; -} - -export function hasValue(val) { - return val != null; -} -function getList(val) { - return val.split('},').map((item) => { - item = (item + '}').replace(/}}/g, '}'); - return item; - }); -} -// 处理请求参数 -export function setParams(value) { - let scopeType = 0; - const departScopeList = JSON.parse(value?.examPlanScopeDeptList || '[]'); - let examPlanScopeDeptList = []; - let examPlanScopeUserList = []; - const deptFlag = departScopeList.length > 0 && notEmptyArr(getList(departScopeList)); - const userFlag = notEmptyArr(JSON.parse(value?.examPlanScopeUserList || '[]')); - if (deptFlag && userFlag) { - scopeType = 3; - examPlanScopeDeptList = JSON.parse(value.examPlanScopeDeptList); - examPlanScopeUserList = JSON.parse(value.examPlanScopeUserList); - } else if (deptFlag) { - scopeType = 1; - examPlanScopeDeptList = JSON.parse(value.examPlanScopeDeptList); - } else if (userFlag) { - scopeType = 2; - examPlanScopeUserList = JSON.parse(value.examPlanScopeUserList); - } - return { - ...value, - examPaperRuleDTO: { - answerTime: value.answerTime, - dgScore: value.dgScore, - dgSum: value.dgSum, - dxScore: value.dxScore, - dxSum: value.dxSum, - pdScore: value.pdScore, - pdSum: value.pdSum, - questionSum: value.questionSum, - examScore: value.examScore, - }, - examPlanScopeDeptList, - examPlanScopeUserList, - scopeType, - }; -} - -// 处理回显数据 -export function getRecord(value) { - let depart = []; - let userName = ''; - let examPlanScopeDeptList = '[]'; - let examPlanScopeUserList = '[]'; - const deptFlag = notEmptyArr(value?.examPlanScopeDeptList || []); - const userFlag = notEmptyArr(value?.examPlanScopeUserList || []); - if (deptFlag && userFlag) { - depart = value.examPlanScopeDeptList.map((item) => item.scopeId); - userName = value.examPlanScopeUserList.map((item) => item.record).join(','); - examPlanScopeDeptList = JSON.stringify(value.examPlanScopeDeptList); - examPlanScopeUserList = JSON.stringify(value.examPlanScopeUserList); - } else if (deptFlag) { - depart = value.examPlanScopeDeptList.map((item) => item.scopeId); - examPlanScopeDeptList = JSON.stringify(value.examPlanScopeDeptList); - } else if (userFlag) { - userName = value.examPlanScopeUserList.map((item) => item.record).join(','); - examPlanScopeUserList = JSON.stringify(value.examPlanScopeUserList); - } - return { - ...value, - scopeType: value?.scopeType == '0' ? '0' : '1', - depart, - userName, - examPlanScopeDeptList, - examPlanScopeUserList, - date: [value.startTime, value.endTime], - answerTime: value.examPaperRule?.answerTime, - dgScore: value.examPaperRule?.dgScore, - dgSum: value.examPaperRule?.dgSum, - dxScore: value.examPaperRule?.dxScore, - dxSum: value.examPaperRule?.dxSum, - pdScore: value.examPaperRule?.pdScore, - pdSum: value.examPaperRule?.pdSum, - questionSum: value.examPaperRule?.questionSum, - examScore: value.examPaperRule?.examScore, - }; -} diff --git a/src/views/interveneNew/konwledgeManage/examination/answerActivity/components/answerActivityDetail.vue b/src/views/interveneNew/konwledgeManage/examination/answerActivity/components/answerActivityDetail.vue deleted file mode 100644 index 74835a3..0000000 --- a/src/views/interveneNew/konwledgeManage/examination/answerActivity/components/answerActivityDetail.vue +++ /dev/null @@ -1,282 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/examination/answerActivity/components/answerActivityDrawer.vue b/src/views/interveneNew/konwledgeManage/examination/answerActivity/components/answerActivityDrawer.vue deleted file mode 100644 index f237eeb..0000000 --- a/src/views/interveneNew/konwledgeManage/examination/answerActivity/components/answerActivityDrawer.vue +++ /dev/null @@ -1,249 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/examination/randomAnswer/components/answerRecordList.api.ts b/src/views/interveneNew/konwledgeManage/examination/randomAnswer/components/answerRecordList.api.ts deleted file mode 100644 index 113fcfd..0000000 --- a/src/views/interveneNew/konwledgeManage/examination/randomAnswer/components/answerRecordList.api.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -export enum Api { - list = '/health-intervene/exam-random/answer/page', - exportXls = '/health-intervene/answer/user-record/export', - questionNumber = '/health-intervene/question/statistic', -} - -/** - * @Description:列表接口 - * @date 2023/7/17 - * @param params - */ -export const list = (params: any) => defHttp.get({ url: Api.list, params: { ...params } }); - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -//C01体检答题 C02 癌症答题 C03 急救答题 -export const getQuestionNumber = (params: any) => defHttp.get({ url: Api.questionNumber, params }, { headParams: 'C01' }); diff --git a/src/views/interveneNew/konwledgeManage/examination/randomAnswer/components/answerRecordList.data.ts b/src/views/interveneNew/konwledgeManage/examination/randomAnswer/components/answerRecordList.data.ts deleted file mode 100644 index f804a78..0000000 --- a/src/views/interveneNew/konwledgeManage/examination/randomAnswer/components/answerRecordList.data.ts +++ /dev/null @@ -1,146 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getThirdDepartListByOrgCode } from '/@/views/archive/employeeFile/employeeFileList.api'; -import { useUserStore } from '/@/store/modules/user'; -import { getTimeStr, subtractAndCheck } from '/@/views/interveneNew/konwledgeManage/examination/randomAnswer/randomAnswerHook'; - -const user = useUserStore(); -// 随机答题管理列表 -export const columns = (titlePre = ''): BasicColumn[] => { - return [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'userName', - }, - { - title: '员工编号', - align: 'center', - dataIndex: 'workNo', - }, - { - title: '性别', - align: 'center', - dataIndex: 'gender', - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, - { - title: '单位', - align: 'center', - dataIndex: 'orgName', - }, - { - title: '部门', - align: 'center', - dataIndex: 'userDeptName', - }, - { - title: '健康档案', - align: 'center', - dataIndex: 'archives', - width: 150, - }, - { - title: titlePre + '得分' || '体检知识得分', - align: 'center', - dataIndex: 'totalScore', - }, - { - title: '答题时长(分钟)', - align: 'center', - dataIndex: 'answerTimeSum', - customRender: ({ text }) => { - if (text) { - return getTimeStr(text); - } - }, - }, - { - title: '答题时间', - align: 'center', - dataIndex: 'startAnswerTime', - }, - { - title: '正确率%', - align: 'center', - dataIndex: 'trueRate', - customRender: ({ text }) => { - if (text == 0) return '0%'; - return `${text * 100} %`; - }, - }, - { - title: '错题数量/总题数', - align: 'center', - dataIndex: 'orderCount', - customRender: ({ record }) => { - const wrong = subtractAndCheck(record?.questionSum, record?.yesAmount) || 0; - return `${wrong}/${record?.questionSum}`; - }, - }, - ]; -}; -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - { - label: '部门', - field: 'deptCode', - component: 'ApiSelect', - componentProps: () => { - const userOrgCode = user?.userInfo?.orgCode?.substring(0, 6); - return { - api: getThirdDepartListByOrgCode, - resultField: 'list', - labelField: 'departName', - params: { - orgCode: userOrgCode || '12313', - }, - valueField: 'orgCode', - immediate: true, - }; - }, - }, - { - label: '答题日期', - field: 'date', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - onChange: ([start, end]) => { - formModel.startDate = start; - formModel.endDate = end; - }, - }; - }, - }, - { - label: '开始时间', - field: 'startDate', - component: 'Input', - show: false, - }, - { - label: '结束时间', - field: 'endDate', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/konwledgeManage/examination/randomAnswer/components/answerRecordList.vue b/src/views/interveneNew/konwledgeManage/examination/randomAnswer/components/answerRecordList.vue deleted file mode 100644 index be48aa3..0000000 --- a/src/views/interveneNew/konwledgeManage/examination/randomAnswer/components/answerRecordList.vue +++ /dev/null @@ -1,106 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/examination/randomAnswer/components/setRuleModal.vue b/src/views/interveneNew/konwledgeManage/examination/randomAnswer/components/setRuleModal.vue deleted file mode 100644 index f460562..0000000 --- a/src/views/interveneNew/konwledgeManage/examination/randomAnswer/components/setRuleModal.vue +++ /dev/null @@ -1,129 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/examination/randomAnswer/randomAnswer.api.ts b/src/views/interveneNew/konwledgeManage/examination/randomAnswer/randomAnswer.api.ts deleted file mode 100644 index 12df7d1..0000000 --- a/src/views/interveneNew/konwledgeManage/examination/randomAnswer/randomAnswer.api.ts +++ /dev/null @@ -1,37 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -export enum Api { - list = '/health-intervene/exam-random/statistic', - rule = '/health-intervene/exam-random/rule', - getThirdDepartment = '/sys/sysDepart/getThirdDepartListBySecondDepartId', - dictByCodeOrName = '/health-intervene/question/category/list', - exportXls = '/health-intervene/answer/statistic/export', -} - -/** - * @Description:列表接口 - * @date 2023/7/17 - * @param params - */ -export const list = (params: any) => defHttp.get({ url: Api.list, params: { ...params } }); -/** - * 获取三级部门 体检管理 - */ -export const getThirdDepartmentList = async (params) => { - return await defHttp.get({ url: Api.getThirdDepartment, params }); -}; -// 答题类别 -export const dictByCodeOrNameApi = () => - defHttp.get({ - url: Api.dictByCodeOrName, - }); - -// 获取随机答题规则 -export const getRule = (params: any) => defHttp.get({ url: Api.rule, params: { ...params } }); - -// 设置随机答题规则 -export const setRule = (params: any) => defHttp.post({ url: Api.rule, params: { ...params } }); -/** - * 导出api - */ -export const getExportUrl = Api.exportXls; diff --git a/src/views/interveneNew/konwledgeManage/examination/randomAnswer/randomAnswer.data.ts b/src/views/interveneNew/konwledgeManage/examination/randomAnswer/randomAnswer.data.ts deleted file mode 100644 index 8f850b8..0000000 --- a/src/views/interveneNew/konwledgeManage/examination/randomAnswer/randomAnswer.data.ts +++ /dev/null @@ -1,384 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { isNonNegativeString } from '/@/utils/is'; -import { getSumScore, hasValue } from '/@/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivityHooks'; -import { formatNumber, getTimeStr } from '/@/views/interveneNew/konwledgeManage/examination/randomAnswer/randomAnswerHook'; -import { getThirdDepartListByOrgCode } from '/@/views/system/user/user.api'; -import { useUserStore } from '/@/store/modules/user'; - -const user = useUserStore(); -// 随机答题管理列表 -export function getColumn(arr: BasicColumn[] = []): BasicColumn[] { - return [ - { - title: '序号', - align: 'center', - width: 70, - customRender: ({ index }) => { - return index + 1; - }, - fixed: 'left', - }, - { - title: '单位名称', - align: 'center', - width: 150, - dataIndex: 'orgName', - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - width: 150, - dataIndex: 'deptName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'userName', - fixed: 'left', - }, - { - title: '员工编号', - align: 'center', - dataIndex: 'workNo', - }, - { - title: '性别', - align: 'center', - dataIndex: 'gender', - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, - ...arr, - { - title: '总答题次数', - align: 'center', - dataIndex: 'allAnswerSum', - }, - { - title: '总平均正确率', - align: 'center', - dataIndex: 'allKnowRate', - customRender: ({ text }) => { - if (!text) return ''; - let value = formatNumber(text); - return `${value} %`; - }, - }, - { - title: `总平均答题时长(分钟)`, - align: 'center', - dataIndex: 'avgAnswerTimeSum', - width: 132, - customRender: ({ text }) => { - if (text) { - return getTimeStr(text); - } - }, - }, - { - title: '排名', - align: 'center', - dataIndex: 'ranking', - sorter: { - // @ts-ignore - compare: (a, b) => a.ranking - b.ranking, - }, - }, - ]; -} -// 随机答题管理查询 -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - { - label: '部门', - field: 'deptCode', - component: 'ApiSelect', - componentProps: () => { - const userOrgCode = user?.userInfo?.orgCode?.substring(0, 6); - return { - api: getThirdDepartListByOrgCode, - resultField: 'list', - labelField: 'departName', - params: { - orgCode: userOrgCode || '12313', - }, - valueField: 'orgCode', - immediate: true, - }; - }, - }, - // ...orgCodeSearchNotShowDepart('deptCode1', 'deptCode2', 'deptCode'), -]; -//设置规则表单 -export function setRuleFormSchema(validate: Function) { - return [ - { - label: '各题目个数', - field: 'questionCount', - component: 'Input', - show: false, - }, - { - label: '', //答题总分 - field: 'examScore', - component: 'InputNumber', - slot: 'examScore', - }, - { - label: '题目分类ID', - field: 'questionCategoryId', - component: 'Input', - show: false, - }, - { - label: '随机抽题数量', - field: 'questionSum', - component: 'InputNumber', - componentProps: ({ formModel }) => ({ - style: { - width: '100%', - min: 1, - }, - onChange: (val: string) => { - if (val && (formModel?.dgSum || formModel?.dxSum || formModel?.pdSum)) { - validate(['a']); - } - }, - }), - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!isNonNegativeString(model?.questionSum)) { - if (model?.questionSum == null) { - reject('请输入随机抽题数量!'); - } else { - reject('请检查输入格式!'); - } - } - if (model?.questionSum <= 0) { - reject('随机抽题数量必须大于0!'); - } - if (model?.questionSum > model?.questionCount?.questionSum) { - reject('随机抽题数量不能大于题库总数!'); - } - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '题目类型数量', - field: 'a', - component: 'InputNumber', - slot: 'second', - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!hasValue(model?.dgSum)) { - return reject('请输入单选数量!'); - } - if (!isNonNegativeString(model.dgSum)) { - return reject('请检查单选输入格式!'); - } - if (model?.dgSum > model?.questionCount?.dgSum) { - reject('输入单选数量不能大于题库单选数量!'); - } - if (!hasValue(model?.dxSum)) { - return reject('请输入多选数量!'); - } - if (!isNonNegativeString(model.dxSum)) { - return reject('请检查多选输入格式!'); - } - if (model?.dxSum > model?.questionCount?.dxSum) { - reject('输入多选数量不能大于题库多选数量!'); - } - if (!hasValue(model?.pdSum)) { - return reject('请输入判断数量!'); - } - if (!isNonNegativeString(model?.pdSum)) { - return reject('请检查判断输入格式!'); - } - if (model?.pdSum > model?.questionCount?.pdSum) { - reject('输入判断数量不能大于题库判断数量!'); - } - const n1 = Number(model.dgSum) + Number(model.dxSum) + Number(model.pdSum); - const n2 = Number(model.questionSum); - if (n1 !== n2) { - return reject('随机抽题数量与题目类型数量不符'); - } - model.examScore = getSumScore(model); - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '', - field: 'dgSum', - component: 'InputNumber', - show: false, - }, - { - label: '', - field: 'dxSum', - component: 'InputNumber', - show: false, - }, - { - label: '', - field: 'pdSum', - component: 'InputNumber', - show: false, - }, - { - label: '答题时长(分钟)', - field: 'answerTime', - component: 'InputNumber', - componentProps: () => ({ - style: { - width: '100%', - }, - min: 1, - }), - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!model?.answerTime) { - return reject('请输入答题时长(分钟)!'); - } - if (!isNonNegativeString(model?.answerTime)) { - reject('请检查输入格式!'); - } - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '单选题分值', - field: 'dgScore', - required: true, - component: 'InputNumber', - componentProps: () => ({ - style: { - width: '100%', - }, - min: 0, - max: 100, - }), - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!hasValue(model?.dgScore)) { - return reject('请输入单选题分值!'); - } - if (!isNonNegativeString(model?.dgScore)) { - reject('请检查输入格式!'); - } - model.examScore = getSumScore(model); - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '多选题分值', - field: 'dxScore', - required: true, - component: 'InputNumber', - componentProps: () => ({ - style: { - width: '100%', - }, - min: 0, - max: 100, - }), - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!hasValue(model?.dxScore)) { - return reject('请输入多选题分值!'); - } - if (!isNonNegativeString(model?.dxScore)) { - reject('请检查输入格式!'); - } - model.examScore = getSumScore(model); - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '判断题分值', - field: 'pdScore', - required: true, - component: 'InputNumber', - componentProps: () => ({ - style: { - width: '100%', - }, - min: 0, - max: 100, - }), - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: () => { - return new Promise((resolve, reject) => { - if (!hasValue(model?.pdScore)) { - return reject('请输入判断题分值!'); - } - if (!isNonNegativeString(model?.pdScore)) { - reject('请检查输入格式!'); - } - model.examScore = getSumScore(model); - resolve(); - }); - }, - trigger: 'blur', - }, - ]; - }, - }, - ]; -} diff --git a/src/views/interveneNew/konwledgeManage/examination/randomAnswer/randomAnswer.vue b/src/views/interveneNew/konwledgeManage/examination/randomAnswer/randomAnswer.vue deleted file mode 100644 index 904a7f4..0000000 --- a/src/views/interveneNew/konwledgeManage/examination/randomAnswer/randomAnswer.vue +++ /dev/null @@ -1,162 +0,0 @@ - - - - diff --git a/src/views/interveneNew/konwledgeManage/examination/randomAnswer/randomAnswerHook.ts b/src/views/interveneNew/konwledgeManage/examination/randomAnswer/randomAnswerHook.ts deleted file mode 100644 index af1be76..0000000 --- a/src/views/interveneNew/konwledgeManage/examination/randomAnswer/randomAnswerHook.ts +++ /dev/null @@ -1,124 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { ref } from 'vue'; -import { multiply, round } from 'lodash-es'; -export function useColumn() { - const dynamicColumn = ref([]); - - function setDynamicColumn(column) { - dynamicColumn.value = column; - } - - return { - dynamicColumn, - setDynamicColumn, - }; -} -export function formatNumber(text: number) { - return round(multiply(text, 100), 2); -} -export function createColumn(list = []): BasicColumn[] { - const arr: BasicColumn[] = []; - if (list.length < 1) { - return arr; - } - list.forEach((element, i) => { - const { category: itemText, id: itemValue }: { category: string; id: string } = element; - // @ts-ignore - const column: BasicColumn = { - title: itemText.split('题')[0] + '答题', - width: 270, - children: [ - { - key: itemValue, - title: itemText, - align: 'center', - dataIndex: 'hasChildren', - children: [ - // TODO 更换字段,确定正确率字段 - { - title: '答题次数', - align: 'center', - dataIndex: ['statisticCategoryVOList', i, 'answerSum'], - }, - { - title: '平均得分', - align: 'center', - dataIndex: ['statisticCategoryVOList', i, 'avgScore'], - }, - { - title: '平均正确率', - align: 'center', - dataIndex: ['statisticCategoryVOList', i, 'knowRate'], - customRender: ({ text }) => { - if (!text) return ''; - let value = formatNumber(text); - return `${value} %`; - }, - }, - ], - }, - ], - }; - arr.push(column); - }); - - return arr; -} - -/** - * 根据id复制数组 - * @param array1 旧值 - * @param array2 新值 - * @returns array1 - */ -export function copyListById(array1, array2) { - array1 = array1.map((item1) => { - let item2 = array2.find((item2) => item2.id === item1.id); - if (item2) { - return { ...item1, ...item2 }; - } - // 如果没有找到匹配的项,则返回原始对象 - return item1; - }); - return array1; -} -/** - * @description 秒转小时 - * */ -export function convertSeconds(seconds: number) { - const hours = Math.floor(seconds / 3600); - const minutes = Math.floor((seconds % 3600) / 60); - const remainingSeconds = seconds % 60; - return { - hours: hours, - minutes: minutes, - seconds: remainingSeconds, - }; -} - -export function getTimeStr(time: number) { - if (!time) return ''; - const { minutes, seconds } = convertSeconds(time); - if (seconds && minutes) { - return `${minutes}分${parseInt(seconds)}秒`; - } - if (minutes) { - return minutes + '分'; - } - if (seconds) { - return parseInt(seconds) + '秒'; - } -} - -export function subtractAndCheck(num1, num2) { - // 校验两个参数是否都是数字 - if (typeof num1 !== 'number' || typeof num2 !== 'number') { - throw new Error('Both arguments must be numbers'); - } - // 校验两个参数是否都不是NaN - if (isNaN(num1) || isNaN(num2)) { - throw new Error('Both arguments must not be NaN'); - } - // 计算两个数的差值 - return num1 - num2; -} diff --git a/src/views/interveneNew/konwledgeManage/examination/topic/compoents/reportModal.vue b/src/views/interveneNew/konwledgeManage/examination/topic/compoents/reportModal.vue deleted file mode 100644 index 20a6fc1..0000000 --- a/src/views/interveneNew/konwledgeManage/examination/topic/compoents/reportModal.vue +++ /dev/null @@ -1,39 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/examination/topic/compoents/topicDrawer.vue b/src/views/interveneNew/konwledgeManage/examination/topic/compoents/topicDrawer.vue deleted file mode 100644 index ccbfbfe..0000000 --- a/src/views/interveneNew/konwledgeManage/examination/topic/compoents/topicDrawer.vue +++ /dev/null @@ -1,646 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/examination/topic/topicList.api.ts b/src/views/interveneNew/konwledgeManage/examination/topic/topicList.api.ts deleted file mode 100644 index 39f7991..0000000 --- a/src/views/interveneNew/konwledgeManage/examination/topic/topicList.api.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -enum Api { - employee = '/sys/user/listUserJump', - // dictByCodeOrName = '/sys/dictItem/list', - dictByCodeOrName = '/health-intervene/question/category/list', - list = '/health-intervene/question/list', - basicList = '/medical/uniItemInfo/list', - templateUrl = '/health-intervene/answer/question/template', - exportUrl = '/health-intervene/answer/question/export', - deleteOne = '/health-intervene/question/delete', - importUrl = '/health-intervene/answer/question/import', - deleteBatch = '/health-intervene/question/deleteBatch', - examRisk = '/health-intervene/exam-risk/list', // 危险因素 - questionSave = '/health-intervene/question/save', - questionUpdate = '/health-intervene/question/update', - questionGet = '/health-intervene/question/get', - questionList = '/health-intervene/question/re-list', - loadTreeData = '/medical/uniItemClass/loadTreeRoot', - getResultItemListByUniItemClassId = '/health-archives/historyReport/getResultItemListByUniItemClassId', //根据分类id查询体检 -} - -const { createConfirm } = useMessage(); - -export const loadTreeData = (params) => defHttp.get({ url: Api.loadTreeData, params }); -export const employee = (params) => defHttp.get({ url: Api.employee, params }); -export const dictByCodeOrNameApi = (params: any) => defHttp.get({ url: Api.dictByCodeOrName, params: params }); -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const basicListApi = (params: any) => defHttp.get({ url: Api.basicList, params: params }); -export const examRiskApi = (params: any) => defHttp.get({ url: Api.examRisk, params: params }); -export const questionSaveApi = (params: any) => defHttp.post({ url: Api.questionSave, params: params }); -export const questionUpdate = (params: any) => defHttp.put({ url: Api.questionUpdate, params: params }); -export const questionGetApi = (params: any) => defHttp.get({ url: Api.questionGet, params: params }); -export const questionListApi = (params: any) => defHttp.get({ url: Api.questionList, params: params }); -export const getResultItemListByUniItemClassIdApi = (params: any) => defHttp.get({ url: Api.getResultItemListByUniItemClassId, params: params }); -//题库管理-模板下载 -export const templateUrl = Api.templateUrl; -//题库管理-题库导出 -export const exportUrl = Api.exportUrl; -//题库管理-题库导入 -export const importUrl = Api.importUrl; -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteOne, - params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/konwledgeManage/examination/topic/topicList.data.ts b/src/views/interveneNew/konwledgeManage/examination/topic/topicList.data.ts deleted file mode 100644 index d54cb7b..0000000 --- a/src/views/interveneNew/konwledgeManage/examination/topic/topicList.data.ts +++ /dev/null @@ -1,294 +0,0 @@ -import { FormSchema } from '/@/components/Form'; -import { BasicColumn } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { loadTreeData } from '/@/views/interveneNew/konwledgeManage/examination/topic/topicList.api'; - -export function getSearchSchema() { - const searchSchema: FormSchema[] = [ - { - label: '题目名称', - field: 'questionDesc', - component: 'Input', - }, - { - label: '题目类型', - field: 'type', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'question_options_type', - }; - }, - }, - ]; - - return searchSchema; -} - -export function getTableColumns(type: string, max: number, tabList: any) { - const columns: BasicColumn[] = [ - { - title: '编号', - dataIndex: 'questionNo', - }, - { - title: '题目名称', - dataIndex: 'questionDesc', - }, - { - title: '题目类型', - dataIndex: 'type', - customRender: ({ text }) => { - return text ? render.renderDict(text, 'question_options_type') : ''; - }, - }, - ...getChooseNumber(max), - // { - // title: '选项A', - // dataIndex: 'A', - // ifShow: ['0'].includes(type), - // }, - // { - // title: '选项B', - // dataIndex: 'B', - // ifShow: ['0'].includes(type), - // }, - // { - // title: '选项C', - // dataIndex: 'C', - // ifShow: ['0'].includes(type), - // }, - // { - // title: '选项D', - // dataIndex: 'D', - // ifShow: ['0'].includes(type), - // }, - { - title: '正确选项', - dataIndex: 'realAnswer', - ifShow: !['2'].includes(type), - }, - { - title: '抽提概率', - dataIndex: 'pct', - }, - { - title: '关联体检项目', - dataIndex: 'project', - }, - { - title: '关联体检知识题库', - dataIndex: 'question', - ifShow: tabList[1].id == type, - }, - { - title: '关联危险因素', - dataIndex: 'factor', - ifShow: tabList[0].id == type, - }, - { - title: '关联员工', - dataIndex: 'col1', - ifShow: ['2', '3'].includes(type), - }, - { - title: '关联体检结果', - dataIndex: 'col2', - ifShow: ['2', '3'].includes(type), - }, - ]; - return columns; -} - -function getChooseNumber(max: number) { - const result: BasicColumn[] = []; - if (max === 0) return result; - for (let i = 0; i < indexList.length; i++) { - result.push({ - title: `${indexList[i]}选项`, - dataIndex: indexList[i], - }); - if (i + 1 === max) break; - } - return result; -} -export function getFormSchema(type: string, tabList) { - const formSchema: FormSchema[] = [ - { - label: '题目类型', - field: 'type', - component: 'JDictSelectTag', - defaultValue: 'DG', - componentProps: () => { - return { - type: 'radio', - dictCode: 'question_options_type', - }; - }, - required: true, - }, - { - label: '题目名称', - field: 'questionDesc', - component: 'Input', - required: true, - slot: 'questionDesc', - }, - { - label: '答疑', - field: 'answer', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 5, - }; - }, - }, - { - label: '关联体检项目', - field: 'reMedicalList', - component: 'Input', - slot: 'reMedicalList', - required: type == '2', - }, - { - label: '关联危险因素', - field: 'reRiskList', - slot: 'reRiskList', - component: 'Input', - ifShow: tabList[0].id == type, - }, - { - label: '关联体检知识题库', - field: 'reQuestionList', - slot: 'reQuestionList', - component: 'Input', - ifShow: tabList[1].id == type, - }, - { - label: '抽提概率(%)', - field: 'pct', - component: 'Input', - required: true, - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - ]; - return formSchema; -} - -export const userColumns: BasicColumn[] = [ - { - title: '员工姓名', - dataIndex: 'realname', - align: 'center', - }, - { - title: '员工编号', - dataIndex: 'workNo', - align: 'center', - }, - // { - // title: '单位名称', - // dataIndex: 'secondDepart', - // align: 'center', - // }, -]; - -export const userSearchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'realname', - component: 'Input', - }, - { - label: '员工编号', - field: 'workNo', - component: 'Input', - }, -]; - -export const indexList: string[] = [ - 'A', - 'B', - 'C', - 'D', - 'E', - 'F', - 'G', - 'H', - 'I', - 'J', - 'K', - 'L', - 'M', - 'N', - 'O', - 'P', - 'Q', - 'R', - 'S', - 'T', - 'U', - 'V', - 'W', - 'X', - 'Y', - 'Z', -]; - -export const basicColumns: BasicColumn[] = [ - { - title: '体检项目名称', - align: 'center', - dataIndex: 'uniItemName', - }, - { - title: '体检项目编码', - align: 'center', - dataIndex: 'uniItemNo', - }, - { - title: '体检项目分类', - align: 'center', - dataIndex: 'uniItemClassName', - }, - // { - // title: '体检项目别名', - // align: 'center', - // dataIndex: 'uniItemAlias', - // }, - { - title: '', - dataIndex: 'id', - ifShow: false, - }, -]; - -export const basicSearchFormSchema: FormSchema[] = [ - { - label: '体检项目分类', - field: 'uniItemClassId', - component: 'ApiTreeSelect', - componentProps: () => { - return { - api: loadTreeData, - fieldNames: { - value: 'key', - }, - getPopupContainer: () => document.body, - }; - }, - colProps: { span: 6 }, - }, - { - label: '体检项目名称', - field: 'uniItemName', - component: 'JInput', - colProps: { span: 6 }, - }, -]; diff --git a/src/views/interveneNew/konwledgeManage/examination/topic/topicList.vue b/src/views/interveneNew/konwledgeManage/examination/topic/topicList.vue deleted file mode 100644 index 7738abc..0000000 --- a/src/views/interveneNew/konwledgeManage/examination/topic/topicList.vue +++ /dev/null @@ -1,370 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/expert/expertManage/compoents/expertManageListModal.vue b/src/views/interveneNew/konwledgeManage/expert/expertManage/compoents/expertManageListModal.vue deleted file mode 100644 index 2240319..0000000 --- a/src/views/interveneNew/konwledgeManage/expert/expertManage/compoents/expertManageListModal.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/expert/expertManage/compoents/expertRecords.vue b/src/views/interveneNew/konwledgeManage/expert/expertManage/compoents/expertRecords.vue deleted file mode 100644 index a161a73..0000000 --- a/src/views/interveneNew/konwledgeManage/expert/expertManage/compoents/expertRecords.vue +++ /dev/null @@ -1,142 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/konwledgeManage/expert/expertManage/compoents/scienceUpload.vue b/src/views/interveneNew/konwledgeManage/expert/expertManage/compoents/scienceUpload.vue deleted file mode 100644 index 675390d..0000000 --- a/src/views/interveneNew/konwledgeManage/expert/expertManage/compoents/scienceUpload.vue +++ /dev/null @@ -1,57 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/konwledgeManage/expert/expertManage/expertManageList.api.ts b/src/views/interveneNew/konwledgeManage/expert/expertManage/expertManageList.api.ts deleted file mode 100644 index 440c0ea..0000000 --- a/src/views/interveneNew/konwledgeManage/expert/expertManage/expertManageList.api.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -enum Api { - list = '/health-intervene/knowledge/v2/knowledgeSpecialist/list', - addExpert = '/health-intervene//knowledge/v2/knowledgeSpecialist/add', - updateExpert = '/health-intervene/knowledge/v2/knowledgeSpecialist/edit', - deleteClass = '/health-intervene/knowledge/v2/knowledgeSpecialist/delete', - largeDel = '/health-intervene/knowledge/v2/knowledgeSpecialist/deleteBatch', - scienceUpload = '/health-intervene/knowledge/v2/knowledgeSpecialist/addKnowledgeStorageSpecialist', // 科普上传 - scienceRecord = '/health-intervene/knowledge/v2/knowledgeSpecialist/queryKnowledgeBySpecialist', - updateKnowledgeStorageSpecialist = '/health-intervene/knowledge/v2/knowledgeSpecialist/updateKnowledgeStorageSpecialist', - deleteKnowledgeStorageSpecialist = '/health-intervene/knowledge/v2/knowledgeSpecialist/deleteKnowledgeStorageSpecialist', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params }); -export const updateKnowledgeStorageSpecialistApi = (params: any) => defHttp.put({ url: Api.updateKnowledgeStorageSpecialist, params }); - -export const listRecord = (params) => defHttp.get({ url: Api.scienceRecord, params }); - -export const addOrUpdateApi = (params: any, isUpdate: boolean) => { - if (isUpdate) { - return defHttp.put({ url: Api.updateExpert, params }); - } else { - return defHttp.post({ url: Api.addExpert, params }); - } -}; - -export const deleteClassApi = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteClass, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -export const largeDelApi = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.largeDel, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -export const deleteKnowledgeStorageSpecialistApi = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删当前知识', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteKnowledgeStorageSpecialist, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; - -export const scienceUploadApi = (params) => defHttp.post({ url: Api.scienceUpload, params }); diff --git a/src/views/interveneNew/konwledgeManage/expert/expertManage/expertManageList.data.ts b/src/views/interveneNew/konwledgeManage/expert/expertManage/expertManageList.data.ts deleted file mode 100644 index eda1afa..0000000 --- a/src/views/interveneNew/konwledgeManage/expert/expertManage/expertManageList.data.ts +++ /dev/null @@ -1,416 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getExpertDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; -import { isShowIdCard } from '/@/utils/getEnv'; - -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '专家照片', - align: 'center', - dataIndex: 'pic', - customRender: ({ text }) => { - const t = text ? text.replace(',', '') : null; - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(t), - height: 50, - width: 50, - fallback: getExpertDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '专家姓名', - align: 'center', - dataIndex: 'name', - }, - { - title: '性别', - align: 'center', - dataIndex: 'gender', - width: 70, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - width: 70, - }, - { - title: '身份证', - align: 'center', - dataIndex: 'idCard', - ifShow: isShowIdCard(), - }, - { - title: '签约单位', - align: 'center', - dataIndex: 'contractUnit', - }, - { - title: '所属医院(机构)', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '科别', - align: 'center', - dataIndex: 'deptName', - }, - { - title: '职务职称', - align: 'center', - dataIndex: 'jobTitle', - // customRender: ({ text }) => { - // return render.renderDict(text, 'z_doct_lev'); - // }, - }, - { - title: '签约日期', - align: 'center', - dataIndex: 'createTime', - }, - { - title: '状态', - align: 'center', - width: 80, - dataIndex: 'status_dictText', - fixed: 'right', - }, - { - title: '排序', - align: 'center', - width: 80, - dataIndex: 'sort', - fixed: 'right', - }, - { - title: '科普记录', - align: 'center', - dataIndex: 'knowledgeSum', - fixed: 'right', - width: 90, - slots: { - customRender: 'knowledgeSum', - }, - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '专家姓名', - field: 'name', - component: 'Input', - }, - { - label: '签约单位', - field: 'contractUnit', - component: 'Input', - }, - { - label: '所属医院(机构)', - field: 'hospitalName', - component: 'Input', - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '专家名称', - field: 'name', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '专家照片', - field: 'pic', - component: 'JImageUpload', - componentProps: () => ({ - maxCount: 1, - }), - // rules: [{ required: false, trigger: 'blur' }], - }, - { - label: '身份证', - field: 'idCard', - component: 'Input', - rules: [{ pattern: /^\d{6}(18|19|20)?\d{2}(0[1-9]|1[012])(0[1-9]|[12]\d|3[01])\d{3}(\d|[xX])$/, message: '身份证号码格式有误' }], - }, - { - label: '签约单位', - field: 'contractUnit', - component: 'Input', - }, - { - label: '所属医院(机构)', - field: 'hospitalName', - component: 'Input', - required: true, - }, - { - label: '医院(机构)简称', - field: 'hospitalAddr', - component: 'Input', - }, - { - label: '医院/机构简介', - field: 'organization', - component: 'JEditor', - }, - { - label: '科别', - field: 'deptName', - component: 'Input', - required: true, - }, - { - label: '职务职称', - field: 'jobTitle', - component: 'Input', - required: true, - // component: 'JDictSelectTag', - // componentProps: () => ({ - // dictCode: 'z_doct_lev', - // }), - }, - { - label: '个人简介', - field: 'introduction', - component: 'JEditor', - }, - { - label: '状态', - field: 'status', - component: 'JDictSelectTag', - defaultValue: '2', - componentProps: () => ({ - type: 'radio', - options: [ - { - label: '正常', - value: '1', - }, - { - label: '维护中(维护中的专家将不会在移动端显示)', - value: '2', - }, - ], - }), - }, - { - label: '排序', - field: 'sort', - component: 'InputNumber', - componentProps: () => ({ - placeholder: '数字越小,排名越靠前', - style: { - width: '100%', - }, - min: 0, - }), - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; -export const scienceSchemas: FormSchema[] = [ - { - label: '专家名称', - field: 'name', - component: 'Input', - dynamicDisabled: true, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '知识标题', - field: 'title', - component: 'Input', - required: true, - }, - { - label: '封面图', - field: 'pic', - component: 'JImageUpload', - componentProps: () => ({ - maxCount: 1, - }), - rules: [{ required: false, trigger: 'blur' }], - }, - { - label: '内容简介', - field: 'content', - component: 'InputTextArea', - required: true, - }, - { - label: '知识类别', - field: 'type', - component: 'JDictSelectTag', - componentProps: ({ formModel }) => ({ - dictCode: 'knowledge_type', - unOptionValue: '3', - onChange: () => { - formModel.videoUrl = ''; - formModel.contentText = ''; - }, - }), - required: true, - }, - { - label: '图文内容', - field: 'contentText', - component: 'JEditor', - ifShow: ({ values }) => { - return values.type == '0'; - }, - required: true, - }, - { - label: '视频文件', - field: 'videoUrl', - component: 'JUpload', - componentProps: () => ({ accept: '.avi,.mov,.rmvb,.rm,.flv,.mp4,video/mp4,.3gp,.video/*,video/*' }), - ifShow: ({ values }) => { - return ['1'].includes(values.type); - }, - required: true, - }, - { - label: '音频文件', - field: 'videoUrl', - component: 'JUpload', - componentProps: () => ({ accept: '.mp3,.wma,.avi,.rm,.rmvb,.flv,.mpg,.mov,.mkv,.video/*' }), - ifShow: ({ values }) => { - return ['2'].includes(values.type); - }, - required: true, - }, - { - label: '文章内容', - field: 'contentText', - component: 'JEditor', - ifShow: ({ values }) => { - return values.type === '3'; - }, - required: true, - }, - // { - // label: '发布平台', - // field: 'publishPlatform', - // component: 'JDictSelectTag', - // componentProps: () => { - // return { - // options: [ - // { - // label: 'App', - // value: '1', - // }, - // ], - // }; - // }, - // }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; -// 弹窗科普记录 -export const columnsRecord: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '知识标题', - align: 'center', - dataIndex: 'title', - }, - { - title: '知识类别', - align: 'center', - dataIndex: 'type_dictText', - }, - // { - // title: '内容简介', - // align: 'center', - // dataIndex: 'content', - // slots: { customRender: 'content' }, - // }, - { - title: '所属专家', - align: 'center', - dataIndex: 'author', - }, - { - title: '上传日期', - align: 'center', - dataIndex: 'createTime', - }, - { - title: '发布状态', - align: 'center', - dataIndex: 'publishStatus', - customRender: ({ text }) => { - return render.renderDict(text, 'publish_status'); - }, - }, - { - title: '发布日期', - align: 'center', - dataIndex: 'publishDate', - }, - { - title: '发布人', - align: 'center', - dataIndex: 'publishUser', - }, -]; - -export const searchFormSchemaRecord: FormSchema[] = [ - { - label: '知识标题', - field: 'knowledgeName', - component: 'Input', - }, - { - label: '知识类别', - field: 'type', - component: 'JDictSelectTag', - componentProps: { - unOptionValue: '3', - dictCode: 'knowledge_type', - }, - }, - { - label: '上传日期', - field: 'date', - component: 'RangeDate', - }, -]; diff --git a/src/views/interveneNew/konwledgeManage/expert/expertManage/expertManageList.vue b/src/views/interveneNew/konwledgeManage/expert/expertManage/expertManageList.vue deleted file mode 100644 index 713156e..0000000 --- a/src/views/interveneNew/konwledgeManage/expert/expertManage/expertManageList.vue +++ /dev/null @@ -1,132 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/expert/knowledgeRelease/knowledgeReleaseList.vue b/src/views/interveneNew/konwledgeManage/expert/knowledgeRelease/knowledgeReleaseList.vue deleted file mode 100644 index f4d515e..0000000 --- a/src/views/interveneNew/konwledgeManage/expert/knowledgeRelease/knowledgeReleaseList.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/expert/scienceRecord/scienceRecordList.vue b/src/views/interveneNew/konwledgeManage/expert/scienceRecord/scienceRecordList.vue deleted file mode 100644 index 04316f3..0000000 --- a/src/views/interveneNew/konwledgeManage/expert/scienceRecord/scienceRecordList.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/health/manage/index.vue b/src/views/interveneNew/konwledgeManage/health/manage/index.vue deleted file mode 100644 index d27770b..0000000 --- a/src/views/interveneNew/konwledgeManage/health/manage/index.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/health/push/index.vue b/src/views/interveneNew/konwledgeManage/health/push/index.vue deleted file mode 100644 index aeddb49..0000000 --- a/src/views/interveneNew/konwledgeManage/health/push/index.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/health/record/index.vue b/src/views/interveneNew/konwledgeManage/health/record/index.vue deleted file mode 100644 index b828c35..0000000 --- a/src/views/interveneNew/konwledgeManage/health/record/index.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/jobKnowledge/compoents/modal/recoveryListModal.vue b/src/views/interveneNew/konwledgeManage/jobKnowledge/compoents/modal/recoveryListModal.vue deleted file mode 100644 index c3d6911..0000000 --- a/src/views/interveneNew/konwledgeManage/jobKnowledge/compoents/modal/recoveryListModal.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/jobKnowledge/compoents/modal/recoveryPostModal.vue b/src/views/interveneNew/konwledgeManage/jobKnowledge/compoents/modal/recoveryPostModal.vue deleted file mode 100644 index 7d01411..0000000 --- a/src/views/interveneNew/konwledgeManage/jobKnowledge/compoents/modal/recoveryPostModal.vue +++ /dev/null @@ -1,209 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/jobKnowledge/compoents/postTable.vue b/src/views/interveneNew/konwledgeManage/jobKnowledge/compoents/postTable.vue deleted file mode 100644 index 2f62aff..0000000 --- a/src/views/interveneNew/konwledgeManage/jobKnowledge/compoents/postTable.vue +++ /dev/null @@ -1,192 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/jobKnowledge/compoents/recovery.api.ts b/src/views/interveneNew/konwledgeManage/jobKnowledge/compoents/recovery.api.ts deleted file mode 100644 index 4fe9e6f..0000000 --- a/src/views/interveneNew/konwledgeManage/jobKnowledge/compoents/recovery.api.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -enum Api { - list = '/sys/position/list', - deleteBatch = '/sys/position/deleteBatch', - add = '/sys/position/add', - update = '/sys/position/edit', - postknowledgeUpdate = '/health-intervene/knowledge/v2/knowledgePost/add', - postDetail = '/health-intervene/knowledge/v2/knowledgePost/queryPostKnowledgeByPostId', - dotIfShow = '/health-intervene/knowledge/v2/knowledgePost/queryByIds', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); - -// 岗位详情 -export const postDetailApi = (params: any) => defHttp.get({ url: Api.postDetail, params: params }); - -// 岗位知识管理红点是否显示 -export const dotApi = (params: any) => defHttp.get({ url: Api.dotIfShow, params: params }); -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -// 新增、编辑 -export const addOrUpdateApi = (params: any, isUpdate: boolean) => { - if (isUpdate) { - return defHttp.put({ url: Api.update, params }); - } else { - return defHttp.post({ url: Api.add, params }); - } -}; -// 岗位知识管理 -export const postKnowledgeApi = (params: any) => defHttp.post({ url: Api.postknowledgeUpdate, params: params }); diff --git a/src/views/interveneNew/konwledgeManage/jobKnowledge/compoents/recovery.data.ts b/src/views/interveneNew/konwledgeManage/jobKnowledge/compoents/recovery.data.ts deleted file mode 100644 index 12076ea..0000000 --- a/src/views/interveneNew/konwledgeManage/jobKnowledge/compoents/recovery.data.ts +++ /dev/null @@ -1,226 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { postList } from '/@/hooks/post/usePost'; - -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '岗位名称', - align: 'center', - dataIndex: 'name', - }, - { - title: '单位类别', - align: 'center', - dataIndex: 'orgType_dictText', - }, - { - title: '岗位类别', - align: 'center', - dataIndex: 'postType_dictText', - }, - { - title: '岗位简介', - align: 'center', - dataIndex: 'remark', - }, - { - title: '岗位知识', - dataIndex: 'knowledge', - children: [ - { - title: '健康标准', - dataIndex: 'healthStandard', - key: 'healthStandard', - align: 'center', - slots: { - customRender: 'healthStandard', - }, - }, - { - title: '健康标示', - dataIndex: 'healthTips', - key: 'healthTips', - align: 'center', - slots: { - customRender: 'healthTips', - }, - }, - { - title: '知识图谱', - dataIndex: 'knowledgeGraph', - key: 'knowledgeGraph', - align: 'center', - slots: { - customRender: 'knowledgeGraph', - }, - }, - { - title: '危险因素', - dataIndex: 'riskFactor', - key: 'riskFactor', - align: 'center', - slots: { - customRender: 'riskFactor', - }, - }, - { - title: '注意事项', - dataIndex: 'note', - key: 'note', - align: 'center', - slots: { - customRender: 'note', - }, - }, - { - title: '健康红线', - dataIndex: 'redLine', - key: 'redLine', - align: 'center', - slots: { - customRender: 'redLine', - }, - }, - { - title: '禁忌证', - dataIndex: 'taboo', - key: 'taboo', - align: 'center', - slots: { - customRender: 'taboo', - }, - }, - ], - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '岗位名称', - field: 'name', - component: 'Input', - }, - { - label: '岗位类别', - field: 'postType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'post_type', - }, - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '单位类别', - field: 'unitType', - component: 'Input', - dynamicDisabled: true, - }, - { - label: '单位类别', - field: 'orgType', - component: 'Input', - show: false, - }, - { - label: '岗位名称', - field: 'name', - component: 'Input', - required: true, - }, - { - label: '岗位类别', - field: 'postType', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'post_type', - getPopupContainer: () => document.body, - }; - }, - required: true, - }, - { - label: '岗位简介', - field: 'remark', - component: 'InputTextArea', - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; -export const schemasEditor: FormSchema[] = [ - { - label: '', - field: 'healthStandard', - component: 'Input', - defaultValue: '', - slot: 'healthStandard', - }, - { - label: '', - field: 'healthTips', - component: 'Input', - defaultValue: '', - slot: 'healthTips', - }, - { - label: '', - field: 'knowledgeGraph', - component: 'Input', - defaultValue: '', - slot: 'knowledgeGraph', - }, - { - label: '', - field: 'riskFactor', - component: 'Input', - defaultValue: '', - slot: 'riskFactor', - }, - { - label: '', - field: 'note', - component: 'Input', - defaultValue: '', - slot: 'note', - }, - { - label: '', - field: 'redLine', - component: 'Input', - defaultValue: '', - slot: 'redLine', - }, - { - label: '', - field: 'taboo', - component: 'Input', - defaultValue: '', - slot: 'taboo', - }, - { - label: '', - field: 'postId', - component: 'Input', - show: false, - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/konwledgeManage/jobKnowledge/gasProduction/gasProductionList.vue b/src/views/interveneNew/konwledgeManage/jobKnowledge/gasProduction/gasProductionList.vue deleted file mode 100644 index 189fc93..0000000 --- a/src/views/interveneNew/konwledgeManage/jobKnowledge/gasProduction/gasProductionList.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/jobKnowledge/logistics/logisticsList.vue b/src/views/interveneNew/konwledgeManage/jobKnowledge/logistics/logisticsList.vue deleted file mode 100644 index 10465e1..0000000 --- a/src/views/interveneNew/konwledgeManage/jobKnowledge/logistics/logisticsList.vue +++ /dev/null @@ -1,8 +0,0 @@ - - diff --git a/src/views/interveneNew/konwledgeManage/jobKnowledge/oilTranspor/oilTransporList.vue b/src/views/interveneNew/konwledgeManage/jobKnowledge/oilTranspor/oilTransporList.vue deleted file mode 100644 index 670fdb0..0000000 --- a/src/views/interveneNew/konwledgeManage/jobKnowledge/oilTranspor/oilTransporList.vue +++ /dev/null @@ -1,9 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/jobKnowledge/recovery/recoveryList.vue b/src/views/interveneNew/konwledgeManage/jobKnowledge/recovery/recoveryList.vue deleted file mode 100644 index 30aaabf..0000000 --- a/src/views/interveneNew/konwledgeManage/jobKnowledge/recovery/recoveryList.vue +++ /dev/null @@ -1,8 +0,0 @@ - - diff --git a/src/views/interveneNew/konwledgeManage/jobKnowledge/scientific/scientificList.vue b/src/views/interveneNew/konwledgeManage/jobKnowledge/scientific/scientificList.vue deleted file mode 100644 index 2dd4bec..0000000 --- a/src/views/interveneNew/konwledgeManage/jobKnowledge/scientific/scientificList.vue +++ /dev/null @@ -1,8 +0,0 @@ - - diff --git a/src/views/interveneNew/konwledgeManage/jobKnowledge/staffManage/compoents/postModal.vue b/src/views/interveneNew/konwledgeManage/jobKnowledge/staffManage/compoents/postModal.vue deleted file mode 100644 index a194ca1..0000000 --- a/src/views/interveneNew/konwledgeManage/jobKnowledge/staffManage/compoents/postModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/jobKnowledge/staffManage/compoents/staffManageModal.vue b/src/views/interveneNew/konwledgeManage/jobKnowledge/staffManage/compoents/staffManageModal.vue deleted file mode 100644 index 5541136..0000000 --- a/src/views/interveneNew/konwledgeManage/jobKnowledge/staffManage/compoents/staffManageModal.vue +++ /dev/null @@ -1,152 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/jobKnowledge/staffManage/staffManage.api.ts b/src/views/interveneNew/konwledgeManage/jobKnowledge/staffManage/staffManage.api.ts deleted file mode 100644 index 9a0161b..0000000 --- a/src/views/interveneNew/konwledgeManage/jobKnowledge/staffManage/staffManage.api.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/sys/user/queryUserPageByOrgCode', - postList = '/sys/position/queryPostListByType', - updatePost = '/sys/user/updateSysUserPost', - postDetail = '/health-intervene/knowledge/v2/knowledgePost/queryPostKnowledgeByPostId', -} - -export const listApi = (params: any) => defHttp.post({ url: Api.list, params: params }); - -//岗位名称列表 -export const postListApi = (params: any) => defHttp.get({ url: Api.postList, params: params }); - -// 编辑岗位 -export const updatePostApi = (params: any) => defHttp.post({ url: Api.updatePost, params: params }, { joinParamsToUrl: true }); - -// 岗位详情 -export const postDetailApi = (params: any) => defHttp.get({ url: Api.postDetail, params: params }); diff --git a/src/views/interveneNew/konwledgeManage/jobKnowledge/staffManage/staffManage.data.ts b/src/views/interveneNew/konwledgeManage/jobKnowledge/staffManage/staffManage.data.ts deleted file mode 100644 index a6130a4..0000000 --- a/src/views/interveneNew/konwledgeManage/jobKnowledge/staffManage/staffManage.data.ts +++ /dev/null @@ -1,259 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { useMessage } from '/@/hooks/web/useMessage'; -import { postListApi } from '/@/views/interveneNew/konwledgeManage/jobKnowledge/staffManage/staffManage.api'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { getEnvInfo } from '/@/utils/getEnv'; -const { createMessage } = useMessage(); -export const columns: BasicColumn[] = [ - { - title: '单位名称', - align: 'center', - dataIndex: 'orgCodeName', - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - dataIndex: 'orgCodeLeafName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'userName', - fixed: 'left', - }, - { - title: '员工工号', - align: 'center', - dataIndex: 'userNo', - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - width: 70, - }, - { - title: '岗位名称', - align: 'center', - dataIndex: 'positionName', - }, - { - title: '岗位类别', - align: 'center', - dataIndex: 'postType_dictText', - }, - { - title: '岗位健康知识', - children: [ - { - title: '健康标准', - dataIndex: 'healthStandard', - key: 'healthStandard', - align: 'center', - slots: { - customRender: 'healthStandard', - }, - }, - { - title: '健康标示', - dataIndex: 'healthTips', - key: 'healthTips', - align: 'center', - slots: { - customRender: 'healthTips', - }, - }, - { - title: '知识图谱', - dataIndex: 'knowledgeGraph', - key: 'knowledgeGraph', - align: 'center', - slots: { - customRender: 'knowledgeGraph', - }, - }, - { - title: '危险因素', - dataIndex: 'riskFactor', - key: 'riskFactor', - align: 'center', - slots: { - customRender: 'riskFactor', - }, - }, - { - title: '注意事项', - dataIndex: 'note', - key: 'note', - align: 'center', - slots: { - customRender: 'note', - }, - }, - { - title: '健康红线', - dataIndex: 'redLine', - key: 'redLine', - align: 'center', - slots: { - customRender: 'redLine', - }, - }, - { - title: '禁忌证', - dataIndex: 'taboo', - key: 'taboo', - align: 'center', - slots: { - customRender: 'taboo', - }, - }, - ], - }, -]; -const res = getEnvInfo(import.meta.env); -let list = [ - { - label: '采油单位', - value: '0', - }, - { - label: '采气单位', - value: '1', - }, - { - label: '输油单位', - value: '2', - }, -]; -const JDList = list.filter((e) => e.value === '2'); -console.log(JDList); -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'name', - component: 'Input', - }, - { - label: '员工工号', - field: 'userNo', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2', 'orgCode'), -]; - -export const postSchemas: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - dynamicDisabled: true, - }, - { - label: '员工工号', - field: 'userNo', - component: 'Input', - dynamicDisabled: true, - }, - { - label: '年龄', - field: 'age', - component: 'Input', - dynamicDisabled: true, - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: { - type: 'radio', - dictCode: 'sex2', - }, - dynamicDisabled: true, - }, - { - label: '单位类别', - field: 'orgType', - component: 'JDictSelectTag', - required: true, - componentProps: ({ formModel }) => { - return { - dictCode: 'org_type', - // options: res.VITE_PLATFORM !== 'JD' ? list : JDList, - onChange: (val: any) => { - formModel.postId = ''; - formModel.orgType = val; - }, - onDeselect: () => { - formModel.postId = ''; - formModel.postType = ''; - }, - }; - }, - }, - { - label: '岗位类别', - field: 'postType', - component: 'JDictSelectTag', - required: true, - componentProps: ({ formModel }) => { - return { - dictCode: 'post_type', - onChange: (val: any) => { - formModel.postId = ''; - formModel.postType = val; - }, - onDeselect: () => { - formModel.postId = ''; - formModel.postType = ''; - }, - }; - }, - }, - { - label: '岗位名称', - field: 'postId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: postListApi, - resultField: 'list', - labelField: 'name', - params: { - postType: formModel.postType || 'abc', - orgType: formModel.orgType || 'abc', - }, - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onFocus: () => { - if (!formModel.orgType) { - return createMessage.warn('请先选择单位类别!'); - } - if (!formModel.postType) { - return createMessage.warn('请先选择岗位类别!'); - } - }, - }; - }, - required: true, - }, - { - label: '', - field: 'orgType', - show: false, - component: 'Input', - }, - { - label: '', - field: 'userId', - show: false, - component: 'Input', - }, -]; diff --git a/src/views/interveneNew/konwledgeManage/jobKnowledge/staffManage/staffManageList.vue b/src/views/interveneNew/konwledgeManage/jobKnowledge/staffManage/staffManageList.vue deleted file mode 100644 index c875b24..0000000 --- a/src/views/interveneNew/konwledgeManage/jobKnowledge/staffManage/staffManageList.vue +++ /dev/null @@ -1,114 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/medical/manage/index.vue b/src/views/interveneNew/konwledgeManage/medical/manage/index.vue deleted file mode 100644 index 2414586..0000000 --- a/src/views/interveneNew/konwledgeManage/medical/manage/index.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/medical/push/index.vue b/src/views/interveneNew/konwledgeManage/medical/push/index.vue deleted file mode 100644 index a6712bb..0000000 --- a/src/views/interveneNew/konwledgeManage/medical/push/index.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/medical/record/index.vue b/src/views/interveneNew/konwledgeManage/medical/record/index.vue deleted file mode 100644 index 06cf33e..0000000 --- a/src/views/interveneNew/konwledgeManage/medical/record/index.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/physical/physicalExamination/components/biochemistryModal.vue b/src/views/interveneNew/konwledgeManage/physical/physicalExamination/components/biochemistryModal.vue deleted file mode 100644 index 2a4d548..0000000 --- a/src/views/interveneNew/konwledgeManage/physical/physicalExamination/components/biochemistryModal.vue +++ /dev/null @@ -1,51 +0,0 @@ - - diff --git a/src/views/interveneNew/konwledgeManage/physical/physicalExamination/components/chooseUserModal.vue b/src/views/interveneNew/konwledgeManage/physical/physicalExamination/components/chooseUserModal.vue deleted file mode 100644 index 018f041..0000000 --- a/src/views/interveneNew/konwledgeManage/physical/physicalExamination/components/chooseUserModal.vue +++ /dev/null @@ -1,51 +0,0 @@ - - diff --git a/src/views/interveneNew/konwledgeManage/physical/physicalExamination/components/imageModal.vue b/src/views/interveneNew/konwledgeManage/physical/physicalExamination/components/imageModal.vue deleted file mode 100644 index 9037dbe..0000000 --- a/src/views/interveneNew/konwledgeManage/physical/physicalExamination/components/imageModal.vue +++ /dev/null @@ -1,50 +0,0 @@ - - diff --git a/src/views/interveneNew/konwledgeManage/physical/physicalExamination/components/physicalExaminationViews.vue b/src/views/interveneNew/konwledgeManage/physical/physicalExamination/components/physicalExaminationViews.vue deleted file mode 100644 index 58cb4d5..0000000 --- a/src/views/interveneNew/konwledgeManage/physical/physicalExamination/components/physicalExaminationViews.vue +++ /dev/null @@ -1,238 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/physical/physicalExamination/physicalExamination.api.ts b/src/views/interveneNew/konwledgeManage/physical/physicalExamination/physicalExamination.api.ts deleted file mode 100644 index e829f3e..0000000 --- a/src/views/interveneNew/konwledgeManage/physical/physicalExamination/physicalExamination.api.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/knowledge/v2/visualization/list', - historyList = '/health-intervene/knowledge/v2/visualization/history', -} - -export const list = (params: any) => defHttp.get({ url: Api.list, params }); - -export const historyList = (params: any) => defHttp.get({ url: Api.historyList, params }); diff --git a/src/views/interveneNew/konwledgeManage/physical/physicalExamination/physicalExamination.data.ts b/src/views/interveneNew/konwledgeManage/physical/physicalExamination/physicalExamination.data.ts deleted file mode 100644 index 1fe4ae9..0000000 --- a/src/views/interveneNew/konwledgeManage/physical/physicalExamination/physicalExamination.data.ts +++ /dev/null @@ -1,378 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { h } from 'vue'; -export const columns: BasicColumn[] = [ - { - title: '单位', - align: 'center', - dataIndex: 'unitName', - width: 150, - }, - { - title: '部门', - align: 'center', - dataIndex: 'deptName', - width: 150, - }, - { - title: '姓名', - align: 'center', - dataIndex: 'name', - width: 100, - }, - { - title: '工号', - align: 'center', - dataIndex: 'workNo', - width: 100, - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - width: 100, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - width: 100, - }, - { - title: '健康档案', - align: 'center', - dataIndex: 'healthFile', - slots: 'healthFile', - width: 100, - }, - { - title: '生化检查', - align: 'center', - dataIndex: 'itemName', - children: [ - { - title: '空腹血糖', - align: 'center', - dataIndex: ['fastingBloodSugar', 'tfRed'], - customRender: ({ text }) => { - return text ? h('span', { style: { color: '#ff0000' } }, '异常') : '正常'; - }, - width: 100, - }, - { - title: '收缩压', - align: 'center', - dataIndex: ['systolicPressure', 'tfRed'], - customRender: ({ text }) => { - return text ? h('span', { style: { color: '#ff0000' } }, '异常') : '正常'; - }, - width: 100, - }, - { - title: '舒张压', - align: 'center', - dataIndex: ['diastolicPressure', 'tfRed'], - customRender: ({ text }) => { - return text ? h('span', { style: { color: '#ff0000' } }, '异常') : '正常'; - }, - width: 100, - }, - { - title: '甘油三酯', - align: 'center', - dataIndex: ['triglyceride', 'tfRed'], - customRender: ({ text }) => { - return text ? h('span', { style: { color: '#ff0000' } }, '异常') : '正常'; - }, - width: 100, - }, - { - title: '胆固醇', - align: 'center', - dataIndex: ['totalCholesterol', 'tfRed'], - customRender: ({ text }) => { - return text ? h('span', { style: { color: '#ff0000' } }, '异常') : '正常'; - }, - width: 100, - }, - { - title: 'HDL', - align: 'center', - dataIndex: ['hdl', 'tfRed'], - customRender: ({ text }) => { - return text ? h('span', { style: { color: '#ff0000' } }, '异常') : '正常'; - }, - width: 100, - }, - { - title: 'LDL', - align: 'center', - dataIndex: ['ldl', 'tfRed'], - customRender: ({ text }) => { - return text ? h('span', { style: { color: '#ff0000' } }, '异常') : '正常'; - }, - width: 100, - }, - { - title: '血尿酸', - align: 'center', - dataIndex: ['bloodUricAcid', 'tfRed'], - customRender: ({ text }) => { - return text ? h('span', { style: { color: '#ff0000' } }, '异常') : '正常'; - }, - width: 100, - }, - { - title: '血肌酐', - align: 'center', - dataIndex: ['bloodCreatinine', 'tfRed'], - customRender: ({ text }) => { - return text ? h('span', { style: { color: '#ff0000' } }, '异常') : '正常'; - }, - width: 100, - }, - ], - }, - { - title: '影像检查', - align: 'center', - dataIndex: 'itemName', - children: [ - { - title: '肺结节', - align: 'center', - dataIndex: ['pulmonaryNodules', 'tfRed'], - customRender: ({ text }) => { - return text ? h('span', { style: { color: '#ff0000' } }, '异常') : '正常'; - }, - width: 100, - }, - { - title: '甲状腺结节', - align: 'center', - dataIndex: ['thyroidNodules', 'tfRed'], - customRender: ({ text }) => { - return text ? h('span', { style: { color: '#ff0000' } }, '异常') : '正常'; - }, - width: 100, - }, - { - title: '肝囊肿', - align: 'center', - dataIndex: ['liverCyst', 'tfRed'], - customRender: ({ text }) => { - return text ? h('span', { style: { color: '#ff0000' } }, '异常') : '正常'; - }, - width: 100, - }, - { - title: '胆结石', - align: 'center', - dataIndex: ['gallstone', 'tfRed'], - customRender: ({ text }) => { - return text ? h('span', { style: { color: '#ff0000' } }, '异常') : '正常'; - }, - width: 100, - }, - ], - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'name', - component: 'Input', - }, - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, - ...orgSearchInfoByCode('unitCode', 'deptCode'), -]; - -export const biochemistryColumns: BasicColumn[] = [ - { - title: '项目名称', - dataIndex: 'peItemName', - align: 'center', - width: 150, - }, - { - title: '结果', - dataIndex: 'peResult', - align: 'center', - width: 150, - }, - { - title: '单位', - dataIndex: 'unit', - align: 'center', - width: 150, - }, - { - title: '参考范围', - dataIndex: 'printContext', - align: 'center', - width: 150, - }, - { - title: '检查时间', - dataIndex: 'peYear', - align: 'center', - width: 150, - }, - { - title: '历史数据', - dataIndex: 'history', - align: 'center', - width: 150, - slots: 'history', - }, -]; -export const biochemistryModalColumns: BasicColumn[] = [ - { - title: '项目名称', - dataIndex: 'peItemName', - align: 'center', - width: 150, - }, - { - title: '结果', - dataIndex: 'peResult', - align: 'center', - width: 150, - }, - { - title: '单位', - dataIndex: 'unit', - align: 'center', - width: 150, - }, - { - title: '参考范围', - dataIndex: 'printContext', - align: 'center', - width: 150, - }, - { - title: '检查时间', - dataIndex: 'peYear', - align: 'center', - width: 150, - }, -]; -export const biochemistryModalSchema: FormSchema[] = [ - { - label: '检查日期', - component: 'RangeDate', - field: 'rangeDate', - }, -]; -export const imageColumns: BasicColumn[] = [ - { - title: '项目名称', - dataIndex: 'peItemName', - align: 'center', - width: 150, - }, - { - title: '结果', - dataIndex: 'tfRed', - align: 'center', - width: 150, - }, - { - title: '结论', - dataIndex: 'peResult', - width: 300, - align: 'center', - }, - { - title: '检查时间', - dataIndex: 'peYear', - width: 150, - align: 'center', - }, - { - title: '历史数据', - dataIndex: 'history', - align: 'center', - width: 150, - slots: 'history', - }, -]; -export const imageModalColumns: BasicColumn[] = [ - { - title: '项目名称', - dataIndex: 'peItemName', - align: 'center', - width: 150, - }, - { - title: '结果', - dataIndex: 'tfRed', - align: 'center', - width: 150, - }, - { - title: '结论', - dataIndex: 'peResult', - width: 300, - align: 'center', - }, - { - title: '检查时间', - dataIndex: 'peYear', - width: 150, - align: 'center', - }, -]; - -export const userColumns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'name', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, - { - title: '工号', - align: 'center', - dataIndex: 'workNo', - }, - { - title: '单位', - align: 'center', - dataIndex: 'unitName', - }, - { - title: '部门', - align: 'center', - dataIndex: 'deptName', - }, -]; - -export const userFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'name', - component: 'Input', - }, - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, - ...orgSearchInfoByCode('unitCode', 'deptCode'), -]; diff --git a/src/views/interveneNew/konwledgeManage/physical/physicalExamination/physicalExamination.vue b/src/views/interveneNew/konwledgeManage/physical/physicalExamination/physicalExamination.vue deleted file mode 100644 index e582c44..0000000 --- a/src/views/interveneNew/konwledgeManage/physical/physicalExamination/physicalExamination.vue +++ /dev/null @@ -1,93 +0,0 @@ - - diff --git a/src/views/interveneNew/konwledgeManage/physical/projectKnowledge/components/projectKnowledgeDrawer.vue b/src/views/interveneNew/konwledgeManage/physical/projectKnowledge/components/projectKnowledgeDrawer.vue deleted file mode 100644 index b74a0ee..0000000 --- a/src/views/interveneNew/konwledgeManage/physical/projectKnowledge/components/projectKnowledgeDrawer.vue +++ /dev/null @@ -1,57 +0,0 @@ - - diff --git a/src/views/interveneNew/konwledgeManage/physical/projectKnowledge/projectKnowledge.api.ts b/src/views/interveneNew/konwledgeManage/physical/projectKnowledge/projectKnowledge.api.ts deleted file mode 100644 index 6d4bad1..0000000 --- a/src/views/interveneNew/konwledgeManage/physical/projectKnowledge/projectKnowledge.api.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); -enum Api { - list = '/health-intervene/knowledge/v2/visualization/item/list', - addOrUpdate = '/health-intervene/knowledge/v2/visualization/item/addOrUpdate', - delete = '/health-intervene/knowledge/v2/visualization/item/delete', -} -export const list = (params: any) => defHttp.get({ url: Api.list, params }); -export const addOrUpdate = (params: any) => defHttp.post({ url: Api.addOrUpdate, params }); - -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.delete, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/konwledgeManage/physical/projectKnowledge/projectKnowledge.data.ts b/src/views/interveneNew/konwledgeManage/physical/projectKnowledge/projectKnowledge.data.ts deleted file mode 100644 index 7f886c1..0000000 --- a/src/views/interveneNew/konwledgeManage/physical/projectKnowledge/projectKnowledge.data.ts +++ /dev/null @@ -1,119 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -export const columns: BasicColumn[] = [ - { - title: '项目名称', - align: 'center', - dataIndex: 'itemName', - }, - { - title: '项目视频说明', - align: 'center', - children: [ - { - title: '检前说明', - align: 'center', - dataIndex: 'preCheckExplain', - slots: 'begin', - }, - { - title: '检后说明', - align: 'center', - dataIndex: 'afterCheckExplain', - slots: 'after', - }, - { - title: '问题说明', - align: 'center', - dataIndex: 'problemExplain', - slots: 'question', - }, - ], - }, - { - title: '状态', - align: 'center', - dataIndex: 'status', - slots: 'status', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '项目名称', - field: 'itemName', - component: 'Input', - }, -]; -export const formSchema: FormSchema[] = [ - { - label: '项目名称', - field: 'itemName', - component: 'Input', - required: true, - }, - { - label: '检前说明', - field: 'preCheckExplain', - component: 'JUpload', - componentProps: () => { - return { - tipText: '只能上传mp4文件', - accept: '.mp4,video/mp4', - }; - }, - required: true, - }, - { - label: '封面图', - field: 'preCheckCover', - component: 'JImageUpload', - }, - { - label: '检后说明', - field: 'afterCheckExplain', - component: 'JUpload', - componentProps: () => { - return { - tipText: '只能上传mp4文件', - accept: '.mp4,video/mp4', - }; - }, - required: true, - }, - { - label: '封面图', - field: 'afterCheckCover', - component: 'JImageUpload', - }, - { - label: '问题说明', - field: 'problemExplain', - component: 'JUpload', - componentProps: () => { - return { - tipText: '只能上传mp4文件', - accept: '.mp4,video/mp4', - }; - }, - required: true, - }, - { - label: '封面图', - field: 'problemCover', - component: 'JImageUpload', - }, - { - label: '状态', - field: 'status', - component: 'Switch', - helpMessage: '(关闭则不会在移动端显示)', - defaultValue: true, - componentProps: () => { - return { - checkedChildren: '开启', - unCheckedChildren: '关闭', - }; - }, - }, -]; diff --git a/src/views/interveneNew/konwledgeManage/physical/projectKnowledge/projectKnowledge.vue b/src/views/interveneNew/konwledgeManage/physical/projectKnowledge/projectKnowledge.vue deleted file mode 100644 index 6d81e42..0000000 --- a/src/views/interveneNew/konwledgeManage/physical/projectKnowledge/projectKnowledge.vue +++ /dev/null @@ -1,167 +0,0 @@ - - diff --git a/src/views/interveneNew/konwledgeManage/resource/manage/index.vue b/src/views/interveneNew/konwledgeManage/resource/manage/index.vue deleted file mode 100644 index 177133d..0000000 --- a/src/views/interveneNew/konwledgeManage/resource/manage/index.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/resource/push/index.vue b/src/views/interveneNew/konwledgeManage/resource/push/index.vue deleted file mode 100644 index 65f1c6a..0000000 --- a/src/views/interveneNew/konwledgeManage/resource/push/index.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/views/interveneNew/konwledgeManage/resource/record/index.vue b/src/views/interveneNew/konwledgeManage/resource/record/index.vue deleted file mode 100644 index ce6606f..0000000 --- a/src/views/interveneNew/konwledgeManage/resource/record/index.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/animation/manage/index.vue b/src/views/interveneNew/meals/animation/manage/index.vue deleted file mode 100644 index fb015a3..0000000 --- a/src/views/interveneNew/meals/animation/manage/index.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/animation/push/index.vue b/src/views/interveneNew/meals/animation/push/index.vue deleted file mode 100644 index 326e474..0000000 --- a/src/views/interveneNew/meals/animation/push/index.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/animation/record/index.vue b/src/views/interveneNew/meals/animation/record/index.vue deleted file mode 100644 index 6233364..0000000 --- a/src/views/interveneNew/meals/animation/record/index.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/chronic/Indicator/Indicator.api.ts b/src/views/interveneNew/meals/chronic/Indicator/Indicator.api.ts deleted file mode 100644 index 113815a..0000000 --- a/src/views/interveneNew/meals/chronic/Indicator/Indicator.api.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/meals/cd-nutrient/factor/page', - trend = '/health-intervene/meals/cd-nutrient/factor/trend', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const trendApi = (params: any) => defHttp.get({ url: Api.trend, params: params }); diff --git a/src/views/interveneNew/meals/chronic/Indicator/Indicator.data.ts b/src/views/interveneNew/meals/chronic/Indicator/Indicator.data.ts deleted file mode 100644 index aac4b54..0000000 --- a/src/views/interveneNew/meals/chronic/Indicator/Indicator.data.ts +++ /dev/null @@ -1,247 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - align: 'center', - dataIndex: 'orgName', - width: 120, - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - dataIndex: 'departName', - width: 120, - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'realName', - fixed: 'left', - width: 90, - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - width: 75, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - width: 75, - }, - { - title: '身高(cm)', - align: 'center', - dataIndex: 'height', - width: 75, - }, - { - title: '体重(kg)', - children: [ - { - title: '次数', - align: 'center', - dataIndex: 'weightCount', - width: 80, - }, - { - title: '均值', - align: 'center', - dataIndex: 'weight', - width: 80, - }, - ], - }, - { - title: '血糖(mmol/L)', - children: [ - { - title: '次数', - align: 'center', - dataIndex: 'fpgCount', - width: 80, - }, - { - title: '均值', - align: 'center', - dataIndex: 'fpg', - width: 80, - }, - ], - }, - { - title: '血胆固醇(mmol/L)', - children: [ - { - title: '次数', - align: 'center', - dataIndex: 'tcCount', - width: 80, - }, - { - title: '均值', - align: 'center', - dataIndex: 'tc', - width: 80, - }, - ], - }, - { - title: '甘油三酯(mmol/L)', - children: [ - { - title: '次数', - align: 'center', - dataIndex: 'tgCount', - width: 80, - }, - { - title: '均值', - align: 'center', - dataIndex: 'tg', - width: 80, - }, - ], - }, - { - title: '低密度脂蛋白(mmol/L)', - children: [ - { - title: '次数', - align: 'center', - dataIndex: 'ldl_cCount', - width: 80, - }, - { - title: '均值', - align: 'center', - dataIndex: 'ldl_c', - width: 80, - }, - ], - }, - { - title: '高密度脂蛋白(mmol/L)', - children: [ - { - title: '次数', - align: 'center', - dataIndex: 'hdl_cCount', - width: 80, - }, - { - title: '均值', - align: 'center', - dataIndex: 'hdl_c', - width: 80, - }, - ], - }, - { - title: '收缩压(mmHg)', - children: [ - { - title: '次数', - align: 'center', - dataIndex: 'sbpCount', - width: 80, - }, - { - title: '均值', - align: 'center', - dataIndex: 'sbp', - width: 80, - }, - ], - }, - { - title: '舒张压(mmHg)', - children: [ - { - title: '次数', - align: 'center', - dataIndex: 'dbpCount', - width: 80, - }, - { - title: '均值', - align: 'center', - dataIndex: 'dbp', - width: 80, - }, - ], - }, - { - title: '血尿酸(mmHg)', - children: [ - { - title: '次数', - align: 'center', - dataIndex: 'buaCount', - width: 80, - }, - { - title: '均值', - align: 'center', - dataIndex: 'bua', - width: 80, - }, - ], - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode', 'deptCode', 'orgCode2'), - // { - // label: '单位', - // field: 'orgCode', - // component: 'ApiSelect', - // componentProps: () => { - // return { - // api: getSecondaryDepartmentList, - // resultField: 'result', - // labelField: 'departName', - // valueField: 'orgCode', - // immediate: true, - // showSearch: true, - // filterOption: (input: string, option: any): boolean => { - // const str: string = input.toLowerCase(); - // return option.label.toLowerCase().indexOf(str) >= 0; - // }, - // }; - // }, - // }, - // { - // label: '部门', - // field: 'deptCode', - // component: 'ApiSelect', - // componentProps: ({ formModel }) => { - // return { - // api: getThirdDepartListByOrgCode, - // resultField: 'list', - // labelField: 'departName', - // params: { - // orgCode: formModel.orgCode, - // }, - // valueField: 'orgCode', - // immediate: false, - // onFocus: () => { - // if (!formModel.orgCode) { - // return createMessage.warn('请先选择单位!'); - // } - // }, - // }; - // }, - // }, -]; diff --git a/src/views/interveneNew/meals/chronic/Indicator/IndicatorList.vue b/src/views/interveneNew/meals/chronic/Indicator/IndicatorList.vue deleted file mode 100644 index 5fc9ba8..0000000 --- a/src/views/interveneNew/meals/chronic/Indicator/IndicatorList.vue +++ /dev/null @@ -1,68 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/chronic/compoents/TrendChange.vue b/src/views/interveneNew/meals/chronic/compoents/TrendChange.vue deleted file mode 100644 index d1c530f..0000000 --- a/src/views/interveneNew/meals/chronic/compoents/TrendChange.vue +++ /dev/null @@ -1,96 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/meals/chronic/compoents/TrendModal.vue b/src/views/interveneNew/meals/chronic/compoents/TrendModal.vue deleted file mode 100644 index 5385881..0000000 --- a/src/views/interveneNew/meals/chronic/compoents/TrendModal.vue +++ /dev/null @@ -1,219 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/chronic/nutritionImitate/NutritionImitate.api.ts b/src/views/interveneNew/meals/chronic/nutritionImitate/NutritionImitate.api.ts deleted file mode 100644 index 158ceaa..0000000 --- a/src/views/interveneNew/meals/chronic/nutritionImitate/NutritionImitate.api.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/meals/cd-nutrient/calculate/page', - practice = '/health-intervene/meals/cd-nutrient/calculate/practice', - simulate = '/health-intervene/meals/cd-nutrient/calculate/simulate', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -// 实测 -export const practiceApi = (params: any) => defHttp.post({ url: Api.practice, params: params }); -// 模拟 -export const simulateApi = (params: any) => defHttp.post({ url: Api.simulate, params: params }); diff --git a/src/views/interveneNew/meals/chronic/nutritionImitate/NutritionImitate.data.ts b/src/views/interveneNew/meals/chronic/nutritionImitate/NutritionImitate.data.ts deleted file mode 100644 index 9930cad..0000000 --- a/src/views/interveneNew/meals/chronic/nutritionImitate/NutritionImitate.data.ts +++ /dev/null @@ -1,827 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import moment from 'moment'; -import { renderColor, renderRealValue } from '../../useMeals'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { h } from 'vue'; -import { Tooltip } from 'ant-design-vue'; -const listColor = [ - { - name: '低风险', - color: '#333333', - }, - { - name: '中风险', - color: '#f09900', - }, - { - name: '高风险', - color: '#ff1e10', - }, -]; -// 风险值 -function riskValue(data) { - if (data == null) return false; - const find = listColor.find((e) => e.name === data.grade); - const text = `${data.value}(${data.grade})`; - return h(Tooltip, { title: text }, h('span', { style: { color: find ? find.color : '#333333' } }, text)); -} -const simulationWidth = 80; -const firstDayOfMonth = moment().subtract(1, 'months').format('YYYY-MM-DD'); -const lastDayOfMonth = moment().format('YYYY-MM-DD'); -export const setColumns = (ifShow) => { - return [ - { - title: 'a', - dataIndex: 'workStrength', - width: 0, - }, - { - title: '单位名称', - align: 'center', - dataIndex: 'secondDepartName', - fixed: 'left', - width: 120, - }, - { - title: '部门名称', - align: 'center', - dataIndex: 'thirdDepartName', - fixed: 'left', - width: 120, - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'realname', - fixed: 'left', - width: 90, - }, - { - title: '员工工号', - align: 'center', - dataIndex: 'workNo', - width: 90, - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - width: 80, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - width: 80, - }, - { - title: '身高(cm)', - align: 'center', - dataIndex: 'height', - width: 80, - }, - { - title: '自变量摄入', - children: [ - { - title: '日均摄入', - children: [ - { - title: '热量(千卡)', - width: 90, - align: 'center', - dataIndex: 'energy', - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '油(g)', - align: 'center', - width: 90, - dataIndex: 'oil', - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '盐(g)', - align: 'center', - width: 90, - dataIndex: 'salt', - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '肉(g)', - align: 'center', - width: 90, - dataIndex: 'animalFood', - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '糖(g)', - align: 'center', - width: 90, - dataIndex: 'sugar', - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '碳水(千卡)', - align: 'center', - dataIndex: 'choKcal', - width: 90, - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '蛋白质(千卡)', - align: 'center', - dataIndex: 'proteinKcal', - width: 100, - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '脂肪(千卡)', - align: 'center', - dataIndex: 'fatKcal', - width: 90, - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - ], - }, - { - title: '日均消耗', - children: [ - { - title: '步行(分钟)', - align: 'center', - dataIndex: 'walkTime', - width: 90, - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - ], - }, - { - title: '最新体检数据', - children: [ - { - title: '体重(kg)', - align: 'center', - dataIndex: 'nowWeight', - width: 90, - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '收缩压(mmHg)', - align: 'center', - dataIndex: 'sbp', - width: 120, - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '舒张压(mmHg)', - align: 'center', - dataIndex: 'dbp', - width: 120, - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '血脂(mmol/L)', - align: 'center', - dataIndex: 'bloodFat', - width: 120, - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '血糖(mmol/L)', - align: 'center', - dataIndex: 'bf', - width: 120, - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - { - title: '尿酸(umol/L)', - align: 'center', - dataIndex: 'bua', - width: 120, - rewriting: true, - rewroteCell: { - type: 'input', - }, - }, - ], - }, - ], - }, - { - title: '指标因变量数据', - children: [ - { - title: '体重(kg)', - children: [ - { - title: '模拟值', - align: 'center', - dataIndex: ['calculateResultVO', 'calculateWeight'], - width: simulationWidth, - customRender: ({ text }) => { - return renderRealValue(text); - }, - }, - { - title: '实值', - align: 'center', - dataIndex: 'weight', - width: simulationWidth, - ifShow: ifShow, - }, - { - title: '风险值', - align: 'center', - dataIndex: ['calculateResultVO', 'weightRisk'], - width: 150, - customRender: ({ text }) => { - return riskValue(text); - }, - }, - ], - }, - { - title: '血压(mmHg)', - children: [ - { - title: '收缩压模拟值', - align: 'center', - dataIndex: ['calculateResultVO', 'calculateSbp'], - width: 120, - customRender: ({ text }) => { - return renderRealValue(text); - }, - }, - { - title: '收缩压实值', - align: 'center', - dataIndex: 'ssbp', - width: 120, - ifShow: ifShow, - }, - { - title: '舒张压模拟值', - align: 'center', - dataIndex: ['calculateResultVO', 'calculateDbp'], - width: 120, - customRender: ({ text }) => { - return renderRealValue(text); - }, - }, - { - title: '舒张压实值', - align: 'center', - dataIndex: 'sdbp', - width: 120, - ifShow: ifShow, - }, - { - title: '风险值', - align: 'center', - dataIndex: ['calculateResultVO', 'bgRisk'], - width: 150, - customRender: ({ text }) => { - return riskValue(text); - }, - }, - ], - }, - { - title: '甘油三酯脂(mmol/L)', - children: [ - { - title: '模拟值', - align: 'center', - dataIndex: ['calculateResultVO', 'calculateBloodFat'], - width: simulationWidth, - customRender: ({ text }) => { - return renderRealValue(text); - }, - }, - { - title: '实值', - align: 'center', - dataIndex: 'sbloodFat', - width: simulationWidth, - ifShow: ifShow, - }, - { - title: '风险值', - align: 'center', - width: 150, - dataIndex: ['calculateResultVO', 'bpRisk'], - customRender: ({ text }) => { - return riskValue(text); - }, - }, - ], - }, - { - title: '血糖(mmol/L)', - children: [ - { - title: '模拟值', - align: 'center', - dataIndex: ['calculateResultVO', 'calculateBf'], - width: simulationWidth, - customRender: ({ text }) => { - return renderRealValue(text); - }, - }, - { - title: '实值', - align: 'center', - dataIndex: 'sbf', - width: simulationWidth, - ifShow: ifShow, - }, - { - title: '风险值', - align: 'center', - dataIndex: ['calculateResultVO', 'bfRisk'], - width: 150, - customRender: ({ text }) => { - return riskValue(text); - }, - }, - ], - }, - { - title: '血尿酸(mmol/L)', - children: [ - { - title: '模拟值', - align: 'center', - dataIndex: ['calculateResultVO', 'calculateBua'], - width: simulationWidth, - customRender: ({ text }) => { - return renderRealValue(text); - }, - }, - { - title: '实值', - align: 'center', - dataIndex: 'sbua', - width: simulationWidth, - ifShow: ifShow, - }, - { - title: '风险值', - align: 'center', - dataIndex: ['calculateResultVO', 'buaRisk'], - width: 150, - customRender: ({ text }) => { - return riskValue(text); - }, - }, - ], - }, - ], - }, - ]; -}; -export const columns: BasicColumn[] = [ - { - title: '单位名称', - align: 'center', - dataIndex: 'secondDepartName', - fixed: 'left', - width: 120, - }, - { - title: '部门名称', - align: 'center', - dataIndex: 'thirdDepartName', - fixed: 'left', - width: 120, - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'realname', - fixed: 'left', - width: 90, - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - width: 80, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - width: 80, - }, - { - title: '身高(cm)', - align: 'center', - dataIndex: 'height', - width: 80, - }, - { - title: '自变量摄入', - children: [ - { - title: '日均摄入', - children: [ - { - title: '热量(千卡)', - width: 90, - align: 'center', - dataIndex: 'energy', - slots: { customRender: 'energy' }, - }, - { - title: '油(g)', - align: 'center', - width: 90, - dataIndex: 'oil', - slots: { customRender: 'oil' }, - }, - { - title: '盐(g)', - align: 'center', - width: 90, - dataIndex: 'salt', - slots: { customRender: 'salt' }, - }, - { - title: '肉(g)', - align: 'center', - width: 90, - dataIndex: 'animalFood', - slots: { customRender: 'animalFood' }, - }, - { - title: '糖(g)', - align: 'center', - width: 90, - dataIndex: 'sugar', - slots: { customRender: 'sugar' }, - }, - { - title: '碳水(千卡)', - align: 'center', - dataIndex: 'choKcal', - width: 90, - slots: { customRender: 'choKcal' }, - }, - { - title: '蛋白质(千卡)', - align: 'center', - dataIndex: 'proteinKcal', - width: 100, - slots: { customRender: 'proteinKcal' }, - }, - { - title: '脂肪(千卡)', - align: 'center', - dataIndex: 'fatKcal', - width: 90, - slots: { customRender: 'fatKcal' }, - }, - ], - }, - { - title: '日均消耗', - children: [ - { - title: '步行(分钟)', - align: 'center', - dataIndex: 'walkTime', - width: 90, - slots: { customRender: 'walkTime' }, - }, - ], - }, - { - title: '最新体检数据', - children: [ - { - title: '体重(kg)', - align: 'center', - dataIndex: 'nowWeight', - width: 90, - slots: { customRender: 'nowWeight' }, - }, - { - title: '收缩压(mmHg)', - align: 'center', - dataIndex: 'sbp', - width: 120, - slots: { customRender: 'sbp' }, - }, - { - title: '舒张压(mmHg)', - align: 'center', - dataIndex: 'dbp', - width: 120, - slots: { customRender: 'dbp' }, - }, - { - title: '血脂(mmol/L)', - align: 'center', - dataIndex: 'bloodFat', - width: 120, - slots: { customRender: 'bloodFat' }, - }, - { - title: '血糖(mmol/L)', - align: 'center', - dataIndex: 'bf', - width: 120, - slots: { customRender: 'bf' }, - }, - { - title: '尿酸(umol/L)', - align: 'center', - dataIndex: 'bua', - width: 120, - slots: { customRender: 'bua' }, - }, - ], - }, - ], - }, - { - title: '指标因变量数据', - children: [ - { - title: '体重(kg)', - children: [ - { - title: '模拟值', - align: 'center', - dataIndex: 'mcalculateWeight', - width: simulationWidth, - customRender: ({ text }) => { - return renderColor(text, 1, ''); - }, - }, - { - title: '实值', - align: 'center', - dataIndex: 'snowWeight', - width: simulationWidth, - }, - { - title: '实测', - align: 'center', - dataIndex: 'scalculateWeight', - width: simulationWidth, - customRender: ({ text }) => { - return renderColor(text, 1, ''); - }, - }, - ], - }, - { - title: '血压(mmHg)', - children: [ - { - title: '收缩压模拟值', - align: 'center', - dataIndex: 'sbp', - width: 120, - }, - { - title: '舒张压模拟值', - align: 'center', - dataIndex: 'dbp', - width: 120, - }, - { - title: '风险值', - align: 'center', - dataIndex: 'sbp', - width: simulationWidth, - }, - ], - }, - { - title: '甘油三酯脂(mmol/L)', - children: [ - { - title: '实值', - align: 'center', - dataIndex: 'sbloodFat', - width: simulationWidth, - }, - { - title: '模拟值', - align: 'center', - dataIndex: 'mcalculateBloodFat', - width: simulationWidth, - customRender: ({ text }) => { - return renderColor(text, 1, ''); - }, - }, - { - title: '实测', - align: 'center', - dataIndex: 'scalculateBloodFat', - width: simulationWidth, - customRender: ({ text }) => { - return renderColor(text, 1, ''); - }, - }, - ], - }, - { - title: '血糖(mmol/L)', - children: [ - { - title: '实值', - align: 'center', - dataIndex: 'sbf', - width: simulationWidth, - }, - { - title: '模拟', - align: 'center', - dataIndex: 'mcalculateBf', - width: simulationWidth, - customRender: ({ text }) => { - return renderColor(text, 1, ''); - }, - }, - { - title: '实测', - align: 'center', - dataIndex: 'scalculateBf', - width: simulationWidth, - customRender: ({ text }) => { - return renderColor(text, 1, ''); - }, - }, - ], - }, - { - title: '血尿酸(mmol/L)', - children: [ - { - title: '实值', - align: 'center', - dataIndex: 'sbua', - width: simulationWidth, - }, - { - title: '模拟', - align: 'center', - dataIndex: 'mcalculateBua', - width: simulationWidth, - customRender: ({ text }) => { - return renderColor(text, 1, ''); - }, - }, - { - title: '实测', - align: 'center', - dataIndex: 'scalculateBua', - width: simulationWidth, - customRender: ({ text }) => { - return renderColor(text, 1, ''); - }, - }, - ], - }, - ], - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode', 'deptCode', 'orgCode2'), - { - label: '工号', - field: 'workNo', - component: 'Input', - }, - { - label: '监测日期', - field: 'sportDate', - component: 'RangePicker', - defaultValue: [firstDayOfMonth, lastDayOfMonth], - componentProps: ({ formModel }) => { - return { - valueType: 'Date', - valueFormat: 'YYYY-MM-DD', - onChange: ([start, end]) => { - formModel.startDate = start; - formModel.endDate = end; - }, - allowClear: false, - }; - }, - }, - { - label: '', - field: 'startDate', - defaultValue: firstDayOfMonth, - component: 'Input', - show: false, - }, - { - label: '', - field: 'endDate', - defaultValue: lastDayOfMonth, - component: 'Input', - show: false, - }, -]; -export const relationColumn: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'secondDepartName', - align: 'center', - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'thirdDepartName', - align: 'center', - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'realname', - align: 'center', - fixed: 'left', - }, - { - title: '员工工号', // 原来为工号 - dataIndex: 'workNo', - align: 'center', - }, - { - title: '性别', - dataIndex: 'sex', - align: 'center', - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - }, -]; -export const relationSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode', 'deptCode', 'orgCode2'), - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, -]; diff --git a/src/views/interveneNew/meals/chronic/nutritionImitate/NutritionImitateList.vue b/src/views/interveneNew/meals/chronic/nutritionImitate/NutritionImitateList.vue deleted file mode 100644 index 203ee14..0000000 --- a/src/views/interveneNew/meals/chronic/nutritionImitate/NutritionImitateList.vue +++ /dev/null @@ -1,161 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/chronic/nutritionImitate/components/ChronicRelationship.vue b/src/views/interveneNew/meals/chronic/nutritionImitate/components/ChronicRelationship.vue deleted file mode 100644 index f614b8f..0000000 --- a/src/views/interveneNew/meals/chronic/nutritionImitate/components/ChronicRelationship.vue +++ /dev/null @@ -1,90 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/meals/chronic/nutritionImitate/components/ImitateArgument.vue b/src/views/interveneNew/meals/chronic/nutritionImitate/components/ImitateArgument.vue deleted file mode 100644 index b69a601..0000000 --- a/src/views/interveneNew/meals/chronic/nutritionImitate/components/ImitateArgument.vue +++ /dev/null @@ -1,465 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/meals/chronic/nutritionImitate/components/imitate.data.ts b/src/views/interveneNew/meals/chronic/nutritionImitate/components/imitate.data.ts deleted file mode 100644 index b126392..0000000 --- a/src/views/interveneNew/meals/chronic/nutritionImitate/components/imitate.data.ts +++ /dev/null @@ -1,220 +0,0 @@ -import { FormSchema } from '/@/components/Form'; -import moment from 'moment'; -const firstDayOfMonth = moment().subtract(1, 'months').format('YYYY-MM-DD'); -const lastDayOfMonth = moment().format('YYYY-MM-DD'); -export const schemasLeft: FormSchema[] = [ - { - label: '监测时间', - field: 'monitorTimer', - component: 'RangePicker', - dynamicDisabled: true, - defaultValue: [firstDayOfMonth, lastDayOfMonth], - componentProps: { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - }, - }, - { - label: '', - field: 'tag1', - component: 'Input', - slot: 'tag1', - }, - { - label: '油', - field: 'oil', - component: 'JSlider', - componentProps: { - min: 0, - max: 100, - unit: '克', - }, - }, - { - label: '盐', - field: 'salt', - component: 'JSlider', - componentProps: { - min: 0, - max: 100, - unit: '克', - }, - }, - { - label: '糖', - field: 'sugar', - component: 'JSlider', - componentProps: { - min: 0, - max: 100, - unit: '克', - }, - }, - { - label: '肉', - field: 'animalFood', - component: 'JSlider', - componentProps: { - min: 0, - max: 1000, - unit: '克', - }, - }, - { - label: '脂肪', - field: 'fatKcal', - component: 'JSlider', - componentProps: { - min: 0, - max: 2500, - unit: '千卡', - }, - }, - { - label: '蛋白', - field: 'proteinKcal', - component: 'JSlider', - componentProps: { - min: 0, - max: 1000, - unit: '千卡', - }, - }, - { - label: '热量', - field: 'energy', - component: 'JSlider', - componentProps: { - min: 0, - max: 6000, - unit: '千卡', - }, - }, - { - label: '碳水', - field: 'choKcal', - component: 'JSlider', - componentProps: { - min: 0, - max: 4500, - unit: '千卡', - }, - }, - { - label: '', - field: 'tag2', - component: 'Input', - slot: 'tag2', - }, - - { - label: '步行', - field: 'walkTime', - component: 'JSlider', - componentProps: { - min: 0, - max: 1000, - unit: '分钟', - }, - }, -]; -export const schemasRight: FormSchema[] = [ - { - label: '体重', - field: 'weight', - component: 'JSlider', - componentProps: { - min: 0, - max: 200, - unit: 'kg', - }, - }, - { - label: '收缩压', - field: 'sbp', - component: 'JSlider', - componentProps: { - min: 0, - max: 250, - unit: 'mmHg', - }, - }, - { - label: '舒张压', - field: 'dbp', - component: 'JSlider', - componentProps: { - min: 0, - max: 150, - unit: 'mmHg', - }, - }, - { - label: '血糖', - field: 'bf', - component: 'JSlider', - componentProps: { - min: 0, - max: 50, - unit: 'mmol/L', - }, - }, - { - label: '甘油三酯', - field: 'bloodFat', - component: 'JSlider', - componentProps: { - min: 0, - max: 50, - unit: 'mmol/L', - }, - }, - { - label: '尿酸', - field: 'bua', - component: 'JSlider', - componentProps: { - min: 0, - max: 1000, - unit: 'umol/L', - }, - }, -]; -export const userList = [ - { - label: '单位名称', - value: 'secondDepartName', - width: '8%', - }, - { - label: '部门名称', - value: 'thirdDepartName', - width: '8%', - }, - { - label: '员工姓名', - value: 'realname', - width: '8%', - }, - { - label: '员工工号', - value: 'workNo', - width: '8%', - }, - { - label: '性别', - value: 'sex', - width: '8%', - }, - { - label: '年龄', - value: 'age', - width: '8%', - }, - { - label: '身高(cm)', - value: 'height', - width: '8%', - }, -]; diff --git a/src/views/interveneNew/meals/chronic/nutritionMonitor/NutritionMonitor.api.ts b/src/views/interveneNew/meals/chronic/nutritionMonitor/NutritionMonitor.api.ts deleted file mode 100644 index 94dabdd..0000000 --- a/src/views/interveneNew/meals/chronic/nutritionMonitor/NutritionMonitor.api.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/meals/cd-nutrient/page', - trend = '/health-intervene/meals/cd-nutrient/trend', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const trendApi = (params: any) => defHttp.get({ url: Api.trend, params: params }); diff --git a/src/views/interveneNew/meals/chronic/nutritionMonitor/NutritionMonitor.data.ts b/src/views/interveneNew/meals/chronic/nutritionMonitor/NutritionMonitor.data.ts deleted file mode 100644 index 51ff856..0000000 --- a/src/views/interveneNew/meals/chronic/nutritionMonitor/NutritionMonitor.data.ts +++ /dev/null @@ -1,239 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - width: 120, - dataIndex: 'secondDepartName', - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - width: 120, - dataIndex: 'thirdDepartName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - width: 90, - dataIndex: 'realname', - fixed: 'left', - }, - { - title: '性别', - align: 'center', - width: 75, - dataIndex: 'sex', - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - width: 75, - }, - { - title: '身高(cm)', - align: 'center', - dataIndex: 'height', - width: 75, - }, - { - title: '体重(kg)', - align: 'center', - dataIndex: 'weight', - width: 75, - }, - { - title: '体力活动', - align: 'center', - dataIndex: 'workStrength', - width: 90, - }, - { - title: '监测天数', - align: 'center', - dataIndex: 'eatDayNum', - width: 90, - }, - { - title: '监测餐数', - align: 'center', - dataIndex: 'eatTimesNum', - width: 90, - }, - { - title: '日均营养数据', - children: [ - { - title: '热量(千卡)', - align: 'center', - dataIndex: 'energy', - width: 90, - }, - { - title: '油(g)', - align: 'center', - dataIndex: 'oil', - width: 80, - }, - { - title: '盐(g)', - align: 'center', - dataIndex: 'salt', - width: 80, - }, - { - title: '肉(g)', - align: 'center', - dataIndex: 'animalFood', - width: 80, - }, - { - title: '糖(g)', - align: 'center', - dataIndex: 'sugar', - width: 90, - }, - { - title: '蛋白质', - children: [ - { - title: 'g', - align: 'center', - dataIndex: 'protein', - width: 90, - }, - { - title: '千卡', - align: 'center', - dataIndex: 'proteinKcal', - width: 90, - }, - ], - }, - { - title: '碳水化合物', - children: [ - { - title: 'g', - align: 'center', - dataIndex: 'cho', - width: 90, - }, - { - title: '千卡', - align: 'center', - dataIndex: 'choKcal', - width: 90, - }, - ], - }, - { - title: '脂肪', - children: [ - { - title: 'g', - align: 'center', - dataIndex: 'fat', - width: 90, - }, - { - title: '千卡', - align: 'center', - dataIndex: 'fatKcal', - width: 90, - }, - ], - }, - { - title: '维A(Rae)', - align: 'center', - dataIndex: 'vitA', - width: 90, - }, - { - title: '维C(mg)', - align: 'center', - dataIndex: 'vitC', - width: 90, - }, - { - title: '钙(mg)', - align: 'center', - dataIndex: 'ca', - width: 90, - }, - { - title: '镁(mg)', - align: 'center', - dataIndex: 'mg', - width: 90, - }, - { - title: '钠(mg)', - align: 'center', - dataIndex: 'na', - width: 90, - }, - { - title: '钾(mg)', - align: 'center', - dataIndex: 'elementK', - width: 90, - }, - ], - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode', 'deptCode', 'orgCode2'), - // { - // label: '单位', - // field: 'orgCode', - // component: 'ApiSelect', - // componentProps: () => { - // return { - // api: getSecondaryDepartmentList, - // resultField: 'result', - // labelField: 'departName', - // valueField: 'orgCode', - // immediate: true, - // showSearch: true, - // filterOption: (input: string, option: any): boolean => { - // const str: string = input.toLowerCase(); - // return option.label.toLowerCase().indexOf(str) >= 0; - // }, - // }; - // }, - // }, - // { - // label: '部门', - // field: 'deptCode', - // component: 'ApiSelect', - // componentProps: ({ formModel }) => { - // return { - // api: getThirdDepartListByOrgCode, - // resultField: 'list', - // labelField: 'departName', - // params: { - // orgCode: formModel.orgCode, - // }, - // valueField: 'orgCode', - // immediate: false, - // onFocus: () => { - // if (!formModel.orgCode) { - // return createMessage.warn('请先选择单位!'); - // } - // }, - // }; - // }, - // }, -]; diff --git a/src/views/interveneNew/meals/chronic/nutritionMonitor/NutritionMonitorList.vue b/src/views/interveneNew/meals/chronic/nutritionMonitor/NutritionMonitorList.vue deleted file mode 100644 index 99269d5..0000000 --- a/src/views/interveneNew/meals/chronic/nutritionMonitor/NutritionMonitorList.vue +++ /dev/null @@ -1,68 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/overweight/components/eventDetails/eventDetails.api.ts b/src/views/interveneNew/meals/overweight/components/eventDetails/eventDetails.api.ts deleted file mode 100644 index b5d03fb..0000000 --- a/src/views/interveneNew/meals/overweight/components/eventDetails/eventDetails.api.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/meals/fat-intervene/match_result', - manage = '/health-intervene/meals/fat-intervene/match_manage', - detail = '/health-intervene/meals/fat-intervene/match_details', - exportXls = '/health-intervene/meals/fat-intervene/exportXls', - joinExportXls = '/health-intervene/meals/fat-intervene/joinExportXls', - resultExportXls = '/health-intervene/meals/fat-intervene/resultExportXls', -} - -/** - * @desc 报名列表 - * @param params - */ -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -/** - * @desc 赛况管理列表 - * @param params - */ -export const manageList = (params: any) => defHttp.get({ url: Api.manage, params: params }); -/** - * @desc 明细列表 - * @param params - */ -export const detailList = (params: any) => defHttp.get({ url: Api.detail, params: params }); -/** - * @desc 赛况明细导出excel - */ -export const getImportUrl = Api.exportXls; -/** - * @desc 报名管理导出excel - */ -export const joinExportXls = Api.joinExportXls; -/** - * @desc 赛况管理导出excel - */ -export const resultExportXls = Api.resultExportXls; diff --git a/src/views/interveneNew/meals/overweight/components/eventDetails/eventDetails.data.ts b/src/views/interveneNew/meals/overweight/components/eventDetails/eventDetails.data.ts deleted file mode 100644 index f720be9..0000000 --- a/src/views/interveneNew/meals/overweight/components/eventDetails/eventDetails.data.ts +++ /dev/null @@ -1,287 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'name', - component: 'Input', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - }, - ...orgSearchInfoByCode('orgCode1', 'departmentCode', 'orgCode'), -]; -//报名列表 -export const columns1: BasicColumn[] = [ - { - title: '员工姓名', - dataIndex: 'userName', - }, - { - title: '员工编号', - dataIndex: 'workNo', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - dataIndex: 'age', - }, - { - title: '部门', - dataIndex: 'orgName', - }, - { - title: '身高(cm)', - dataIndex: 'height', - }, - { - title: '体重(kg)', - dataIndex: 'weight', - }, - { - title: 'BMI', - dataIndex: 'bmi', - }, - { - title: '目标体重(kg)', - dataIndex: 'targetWeight', - }, - { - title: '膳食处方', - dataIndex: 'foodRecipe', - slots: { - customRender: 'foodRecipe', - }, - }, - { - title: '运动处方', - dataIndex: 'sportRecipe', - slots: { - customRender: 'sportRecipe', - }, - }, - { - title: '日摄入不超过(千卡)', - dataIndex: 'dayInCalorieExceed', - }, - { - title: '日消耗不低于(千卡)', - dataIndex: 'dayOutCalorieExceed', - }, - { - title: '报名时间', - dataIndex: 'signUpDate', - }, -]; -//赛况管理列表 -export const columns2 = (dynamicTitle = '营养监控(应31天93餐)'): BasicColumn[] => { - return [ - { - title: '员工姓名', - dataIndex: 'userName', - width: 100, - }, - { - title: '员工编号', - dataIndex: 'workNo', - width: 100, - }, - { - title: '性别', - dataIndex: 'sex_dictText', - width: 80, - }, - { - title: '年龄', - dataIndex: 'age', - width: 80, - }, - { - title: '部门', - dataIndex: 'orgName', - width: 120, - }, - { - title: '身高(cm)', - dataIndex: 'height', - width: 100, - }, - { - title: '体重(kg)', - dataIndex: 'weight', - width: 100, - }, - { - title: 'BMI', - dataIndex: 'bmi', - }, - { - title: '当前体重(kg)', - dataIndex: 'currentWeight', - width: 120, - }, - { - title: '目标体重(kg)', - dataIndex: 'targetWeight', - width: 120, - }, - { - title: '已减体重(kg)', - dataIndex: 'loseWeight', - width: 120, - }, - { - title: dynamicTitle, - children: [ - { - title: '当前天数', - dataIndex: 'currentDays', - width: 105, - }, - { - title: '当前餐数', - dataIndex: 'currentMeal', - width: 105, - }, - { - title: '日均摄入(千卡)', - dataIndex: 'dayCalorieAvg', - width: 135, - }, - { - title: '总摄入(千卡)', - dataIndex: 'totalCalorie', - width: 135, - }, - ], - }, - { - title: '运动监控', - dataIndex: 'name', - children: [ - { - title: '运动天数', - dataIndex: 'sportDays', - width: 100, - }, - { - title: '日均步数', - dataIndex: 'dayStepsAvg', - width: 100, - }, - { - title: '日均消耗(千卡)', - width: 135, - dataIndex: 'dayExpendCalorie', - }, - { - title: '总消耗(千卡)', - width: 135, - dataIndex: 'totalExpendCalorie', - }, - ], - }, - { - title: '净减重排名', - dataIndex: 'loseWeightRank', - width: 130, - sorter: { - compare: (a, b) => a.loseWeightRank - b.loseWeightRank, - }, - }, - { - title: '减重率排名', - dataIndex: 'weightRateRank', - width: 130, - sorter: { - compare: (a, b) => a.weightRateRank - b.weightRateRank, - }, - }, - ]; -}; -//赛况明细 -export const page2Search: FormSchema[] = [ - { - label: '监测日期', - field: 'activityDate', - component: 'RangePicker', - componentProps: () => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - }; - }, - }, -]; -export const page2Columns: BasicColumn[] = [ - { - title: '监测日期', - dataIndex: 'monitorDate', - width: 100, - }, - { - title: '现体重(kg)', - dataIndex: 'weight', - width: 110, - }, - { - title: '已减体重(kg)', - dataIndex: 'haveLostWeight', - width: 120, - }, - { - title: '营养监控端能量摄入', - children: [ - { - title: '早餐(千卡)', - dataIndex: 'breakfastCalorie', - width: 120, - }, - { - title: '中餐(千卡)', - dataIndex: 'lunchCalorie', - width: 120, - }, - { - title: '晚餐(千卡)', - dataIndex: 'dinnerCalorie', - width: 120, - }, - ], - }, - { - title: '运动监控端能量消耗', - children: [ - { - title: '基础消耗(千卡)', - dataIndex: 'basicExpendCalorie', - width: 130, - }, - { - title: '当天步数', - dataIndex: 'currentDaySteps', - width: 130, - }, - { - title: '其他消耗(千卡)', - dataIndex: 'otherExpendCalorie', - width: 140, - }, - { - title: '当天总消耗(千卡)', - dataIndex: 'currentTotalExpend', - width: 150, - }, - ], - }, - { - title: '摄入消耗差', - dataIndex: 'calorieExpendNum', - width: 90, - }, -]; diff --git a/src/views/interveneNew/meals/overweight/components/eventDetails/eventDetails.vue b/src/views/interveneNew/meals/overweight/components/eventDetails/eventDetails.vue deleted file mode 100644 index b775389..0000000 --- a/src/views/interveneNew/meals/overweight/components/eventDetails/eventDetails.vue +++ /dev/null @@ -1,105 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/overweight/components/eventDetails/tabPage1.vue b/src/views/interveneNew/meals/overweight/components/eventDetails/tabPage1.vue deleted file mode 100644 index ad8b0b9..0000000 --- a/src/views/interveneNew/meals/overweight/components/eventDetails/tabPage1.vue +++ /dev/null @@ -1,161 +0,0 @@ - - - - diff --git a/src/views/interveneNew/meals/overweight/components/eventDetails/tabPage2.vue b/src/views/interveneNew/meals/overweight/components/eventDetails/tabPage2.vue deleted file mode 100644 index 1216be3..0000000 --- a/src/views/interveneNew/meals/overweight/components/eventDetails/tabPage2.vue +++ /dev/null @@ -1,96 +0,0 @@ - - - - diff --git a/src/views/interveneNew/meals/overweight/components/eventDetails/tabPage2Detail.vue b/src/views/interveneNew/meals/overweight/components/eventDetails/tabPage2Detail.vue deleted file mode 100644 index 51fa29d..0000000 --- a/src/views/interveneNew/meals/overweight/components/eventDetails/tabPage2Detail.vue +++ /dev/null @@ -1,202 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/overweight/components/eventDetails/tabPage3.vue b/src/views/interveneNew/meals/overweight/components/eventDetails/tabPage3.vue deleted file mode 100644 index e08ad7d..0000000 --- a/src/views/interveneNew/meals/overweight/components/eventDetails/tabPage3.vue +++ /dev/null @@ -1,75 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/overweight/components/indexDrawer.vue b/src/views/interveneNew/meals/overweight/components/indexDrawer.vue deleted file mode 100644 index 57ad016..0000000 --- a/src/views/interveneNew/meals/overweight/components/indexDrawer.vue +++ /dev/null @@ -1,176 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/overweight/index.api.ts b/src/views/interveneNew/meals/overweight/index.api.ts deleted file mode 100644 index 5de2507..0000000 --- a/src/views/interveneNew/meals/overweight/index.api.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -enum Api { - list = '/health-intervene/meals/fat-intervene/list', - edit = '/health-intervene/meals/fat-intervene/update', - save = '/health-intervene/meals/fat-intervene/save', - deleteOne = '/health-intervene/meals/fat-intervene/delete', -} - -const { createConfirm } = useMessage(); -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - if (isUpdate) { - return defHttp.post({ url: Api.edit, params }); - } else { - return defHttp.post({ url: Api.save, params }); - } -}; -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .get( - { - url: Api.deleteOne, - params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/meals/overweight/index.data.ts b/src/views/interveneNew/meals/overweight/index.data.ts deleted file mode 100644 index d368ff6..0000000 --- a/src/views/interveneNew/meals/overweight/index.data.ts +++ /dev/null @@ -1,448 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getThirdDepartListByOrgCode } from '/@/views/archive/employeeFile/employeeFileList.api'; -import { getDeptList } from '/@/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivityHooks'; -import { ref, h } from 'vue'; -import { useUserStore } from '/@/store/modules/user'; -import { dealRangeDate, statusToTagColor } from '/@/views/interveneNew/meals/overweight/overweightHooks'; -import { rules } from '/@/utils/helper/validator'; -import { queryDepartTreeSync } from '/@/views/system/depart/depart.api'; - -export const columns: BasicColumn[] = [ - { - title: '干预活动名称', - width: 214, - dataIndex: 'interveneName', - }, - { - title: '参加人员范围', - width: 170, - dataIndex: 'scopeType_dictText', - }, - { - title: '活动起止日期', - dataIndex: 'startTime', - width: 180, - customRender: ({ record }) => { - return dealRangeDate(record?.startTime, record?.endTime); - }, - }, - { - title: '报名起止日期', - dataIndex: 'applyStartTime', - width: 180, - customRender: ({ record }) => { - return dealRangeDate(record?.applyStartTime, record?.applyEndTime); - }, - }, - { - title: '干预目标', - dataIndex: 'bmiTarget', - }, - { - title: '应参加人数', - dataIndex: 'shouldJoinNum', - }, - { - title: '实际参加人数', - dataIndex: 'actualJoinNum', - }, - { - title: '活动状态', - dataIndex: 'state', - customRender: ({ record, text }) => { - if (!text) return ''; - const tagColor = statusToTagColor(text) || 'gray'; - return h('div', { style: { color: tagColor } }, record?.state_dictText); - }, - }, - { - title: '组织部门', - dataIndex: 'organizerDeptName', - }, - { - title: '负责人', - dataIndex: 'managerName', - }, - { - title: '活动联系电话', - dataIndex: 'managerPhone', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '活动名称', - field: 'interveneName', - component: 'Input', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - }, - { - label: '活动状态', - field: 'state', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'fat_intervene_state', - }; - }, - }, - { - label: '活动日期', - field: 'rangeDate', - component: 'RangeDate', - componentProps: () => { - return { - showTime: false, - }; - }, - }, -]; -const user = useUserStore(); -const deptOption = ref([]); -/** - * @description:开始时间校验 - * @param model - */ -export const startDateRules = (model: Recordable) => { - return [ - { - validator: () => { - const [startTime, endTime] = model?.activityDate || []; - // if (!startTime || !endTime) { - // return Promise.reject('请选择活动起止日期'); - // } - // if (!model.applyStartTime) { - // return Promise.resolve(); - // } - // if (startTime && endTime && endTime >= model.applyStartTime) { - // return Promise.resolve(); - // } - // return Promise.reject('活动结束日期不能小于报名开始日期!'); - if (startTime && endTime && endTime <= model.applyEndTime) { - return Promise.reject('活动结束日期必须大于报名结束日期!'); - } - return Promise.resolve(); - }, - trigger: 'change', - required: true, - }, - ]; -}; -/** - * @description:结束时间校验 - * @param model - */ -export const endDateRules = (model: Recordable) => { - return [ - { - validator: () => { - const [startTime, endTime] = model?.applicationDate || []; - // if (!startTime || !endTime) { - // return Promise.reject('请选择报名起止日期'); - // } - // if (!model.startTime) { - // return Promise.resolve(); - // } - // if (startTime && endTime && endTime <= model.startTime) { - // return Promise.resolve(); - // } - // return Promise.reject('报名结束日期不能大于活动开始日期'); - if (startTime && endTime && endTime >= model.endTime) { - return Promise.reject('活动结束日期必须大于报名结束日期!'); - } - return Promise.resolve(); - }, - trigger: 'change', - required: true, - }, - ]; -}; - -type Validate = (nameList?: string[] | undefined) => Promise; -export function formSchema(validate: Validate) { - return [ - { - label: '干预活动名称', - field: 'interveneName', - component: 'Input', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - required: true, - }, - { - label: '参加人员范围', - field: 'scopeType', - component: 'JDictSelectTag', - componentProps: ({ formModel }) => { - return { - type: 'radio', - options: [ - { label: '全体员工(管辖范围内)', value: '0' }, - { label: '指定人员', value: '1' }, - ], - onChange: (val) => { - if (val === '0') { - formModel.interveneScopeDeptList = []; - formModel.userName = ''; - formModel.interveneScopeUserList = []; - } - }, - }; - }, - defaultValue: '1', - required: true, - }, - { - label: '指定部门', - field: 'interveneScopeDeptList', - component: 'JlazyTreeSelect', - componentProps: ({ formModel }) => { - return { - api: queryDepartTreeSync, - loadApi: queryDepartTreeSync, - selectedKeys: - formModel.interveneScopeDeptList && - formModel.interveneScopeDeptList.map((item) => { - return JSON.parse(item); - }), - expandedKeys: - formModel.interveneScopeDeptList && - formModel.interveneScopeDeptList.map((item) => { - return JSON.parse(item); - }), - afterApi: (data) => { - data.forEach((item: any) => { - item['resultItem'] = JSON.stringify({ - record: item.title, - scopeId: item.orgCode, - type: 1, - }); - item['preTitle'] = item.title; - item['key'] = item['resultItem']; - }); - return data; - }, - preItem: (title, item) => { - item['preTitle'] = title + '/' + item.title; - item['resultItem'] = JSON.stringify({ - record: item.title, - scopeId: item.orgCode, - type: 1, - }); - item['key'] = item['resultItem']; - return item; - }, - fieldNamesInfo: { - value: 'resultItem', - label: 'preTitle', - key: 'resultItem', - }, - }; - }, - ifShow: ({ values }) => values.scopeType == '1', - dynamicRules: ({ model }) => [ - { - trigger: 'blur', - validator: () => { - return new Promise((resolve, reject) => { - //debugger; - let dept = model?.interveneScopeDeptList || []; - if (model.scopeType == '1' && dept.length == 0 && !model.userName) { - return reject('参加人员范围选择指定人员时,请选择指定部门或者指定人员'); - } - return resolve(); - }); - }, - }, - ], - }, - // { - // label: '指定部门', - // field: 'interveneScopeDeptList', - // component: 'Input', - // show: false, - // }, - { - label: '指定员工', - field: 'userName', - component: 'Input', - slot: 'selectEmployee', - ifShow: ({ values }) => values.scopeType == '1', - dynamicRules: ({ model }) => [ - { - trigger: 'blur', - validator: () => { - return new Promise((resolve, reject) => { - let dept = model?.interveneScopeDeptList || []; - if (model.scopeType == '1' && dept.length == 0 && !model.userName) { - return reject('参加人员范围选择指定人员时,请选择指定部门或者指定人员'); - } - return resolve(); - }); - }, - }, - ], - }, - { - label: '指定员工', - field: 'interveneScopeUserList', - component: 'Input', - show: false, - }, - { - label: '干预目标', - field: 'bmiTarget', - component: 'InputNumber', - required: true, - componentProps: () => { - return { - prefix: 'BMI下降', - style: { - width: '100%', - }, - }; - }, - }, - - { - label: '报名起止日期', - field: 'applicationDate', - component: 'RangePicker', - required: true, - componentProps: ({ formModel }) => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - disabledDate: (current) => current < new Date() - 86400000, - 'onUpdate:value': (value) => { - if (value) { - formModel.applyStartTime = value[0]; - formModel.applyEndTime = value[1]; - } else { - formModel.applyStartTime = null; - formModel.applyEndTime = null; - } - }, - onChange: () => { - if (formModel['activityDate']) { - validate(['activityDate']).catch(() => {}); - } - }, - }; - }, - dynamicRules: ({ model }) => endDateRules(model), - }, - { - label: '报名开始时间', - field: 'applyStartTime', - component: 'Input', - show: false, - }, - { - label: '报名结束时间', - field: 'applyEndTime', - component: 'Input', - show: false, - }, - { - label: '活动起止日期', - field: 'activityDate', - component: 'RangePicker', - required: true, - componentProps: ({ formModel }) => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - disabledDate: (current) => current < new Date() - 86400000, - 'onUpdate:value': (value) => { - if (value) { - formModel.startTime = value[0]; - formModel.endTime = value[1]; - } else { - formModel.startTime = null; - formModel.endTime = null; - } - }, - onChange: () => { - if (formModel['applicationDate']) { - validate(['applicationDate']).catch(() => {}); - } - }, - }; - }, - dynamicRules: ({ model }) => startDateRules(model), - }, - { - label: '活动开始时间', - field: 'startTime', - component: 'Input', - show: false, - }, - { - label: '活动结束时间', - field: 'endTime', - component: 'Input', - show: false, - }, - { - label: '活动组织部门', - field: 'organizerDeptName', - component: 'Input', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - required: true, - }, - { - label: '活动联系电话', - field: 'managerPhone', - component: 'Input', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - required: true, - rules: rules.phone(true), - }, - { - label: '具体负责人', - field: 'managerName', - component: 'Input', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - required: true, - }, - { - label: '奖励等级标准', - field: 'awardLevelStandard', - component: 'InputTextArea', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - required: true, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - ]; -} diff --git a/src/views/interveneNew/meals/overweight/index.vue b/src/views/interveneNew/meals/overweight/index.vue deleted file mode 100644 index b28036c..0000000 --- a/src/views/interveneNew/meals/overweight/index.vue +++ /dev/null @@ -1,120 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/overweight/overweightHooks.ts b/src/views/interveneNew/meals/overweight/overweightHooks.ts deleted file mode 100644 index 3a52828..0000000 --- a/src/views/interveneNew/meals/overweight/overweightHooks.ts +++ /dev/null @@ -1,353 +0,0 @@ -import { notEmptyArr } from '/@/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivityHooks'; -import moment from 'moment'; -import { ref, unref } from 'vue'; -import { isFunction } from 'xe-utils'; -import dayjs from 'dayjs'; -function getList(val) { - return val.split('},').map((item) => { - item = (item + '}').replace(/}}/g, '}'); - return item; - }); -} -export function setParams(value) { - let scopeType = 0; - const interveneScopeDeptList = JSON.parse(value?.interveneScopeDeptList || '[]'); - let interveneScopeUserList = []; - const deptFlag = interveneScopeDeptList.length > 0 && notEmptyArr(getList(interveneScopeDeptList)); - const userFlag = notEmptyArr(JSON.parse(value?.interveneScopeUserList || '[]')); - if (deptFlag && userFlag) { - scopeType = 3; - // interveneScopeDeptList = JSON.parse(value.interveneScopeDeptList); - interveneScopeUserList = JSON.parse(value.interveneScopeUserList); - } else if (deptFlag) { - scopeType = 1; - // interveneScopeDeptList = JSON.parse(value.interveneScopeDeptList); - } else if (userFlag) { - scopeType = 2; - interveneScopeUserList = JSON.parse(value.interveneScopeUserList); - } - return { - ...value, - interveneScopeDeptList, - interveneScopeUserList, - scopeType, - }; -} -function changeTimeType(time) { - return moment(time).format('YYYY-MM-DD'); -} -export function userArray(arr) { - if (Array.isArray(arr)) { - if (typeof arr[0] == 'string') { - return arr; - } else { - arr = arr.map((item) => - JSON.stringify({ - id: item.scopeId, - realname: item.record, - }) - ); - } - return arr; - } - return JSON.parse(arr); -} -export function apiDataToFormData(record) { - const { interveneScopeDeptList, interveneScopeUserList } = record; - const depart = interveneScopeDeptList?.map((item) => item?.scopeId) || []; - const userName = interveneScopeUserList?.map((item) => item?.record).join(','); - // const deptList = interveneScopeDeptList.length > 0 ? JSON.stringify(interveneScopeDeptList) : '[]'; - const deptList = - interveneScopeDeptList?.length > 0 - ? interveneScopeDeptList.map((item) => { - item = JSON.stringify({ - record: item.record, - scopeId: item.scopeId, - type: item.type, - }); - return item; - }) - : []; - const startTime = changeTimeType(record.startTime); - const endTime = changeTimeType(record.endTime); - const applyStartTime = changeTimeType(record.applyStartTime); - const applyEndTime = changeTimeType(record.applyEndTime); - const deptFlag = notEmptyArr(interveneScopeDeptList); - const userFlag = notEmptyArr(interveneScopeUserList); - if (deptFlag && userFlag) { - } else if (deptFlag) { - } else if (userFlag) { - } - return { - ...record, - scopeType: record?.scopeType == '0' ? '0' : '1', - depart, - userName, - interveneScopeDeptList: deptList, - interveneScopeUserList: JSON.stringify(interveneScopeUserList), - startTime, - endTime, - applyStartTime, - applyEndTime, - activityDate: [startTime, endTime], - applicationDate: [applyStartTime, applyEndTime], - }; -} -export function dealRangeDate(start, end) { - if (!start || !end) return; - const s = moment(start).format('YYYY/MM/DD'); - const e = moment(end).format('YYYY/MM/DD'); - return `${s}-${e}`; -} - -export function statusToTagColor(status) { - if (Number(status) > 5) return 'gray'; - const statusType = { - '0': 'gray', - '1': 'orange', - '2': 'gray', - '3': 'green', - '4': 'gray', - }; - return statusType[status]; -} -export const keys = { - detailKey: 'detailKey', - page2Key: 'page2Key', -}; -export function usePageData() { - function getData(key: string) { - const data = sessionStorage.getItem(key); - return JSON.parse(data); - } - function setData(key: string, record: any, callback?: Function) { - sessionStorage.setItem(key, JSON.stringify(record)); - if (callback && isFunction(callback)) callback(); - } - return { - getData, - setData, - }; -} -export function useHeaderData() { - const headerInfo = ref([ - { - label: '活动起止日期:', - key: 'startTime', - value: '', - customRender: (record) => { - return dealRangeDate(record?.startTime, record?.endTime); - }, - }, - { - label: '干预目标BMI下降:', - key: 'bmiTarget', - value: '', - }, - { - label: '组织部门:', - key: 'organizerDeptName', - value: '', - }, - { - label: '负责人:', - key: 'managerName', - value: '', - }, - { - label: '活动联系电话:', - key: 'managerPhone', - value: '', - }, - { - label: '报名起止日期:', - key: 'applyStartTime', - value: '', - customRender: (record) => { - return dealRangeDate(record?.applyStartTime, record?.applyEndTime); - }, - }, - ]); - const title = ref(''); - const stateDictText = ref(''); - function getHeaderData() { - return unref(headerInfo); - } - function setHeaderData(record = {}) { - headerInfo.value.forEach((item) => { - const { key } = item; - const isEmpty = (obj, key) => { - if (!obj) return true; - return obj[key] === undefined || obj[key] === null || obj[key] === ''; - }; - if (!isEmpty(record, key)) { - if (Object.hasOwn(item, 'customRender')) { - // @ts-ignore - item.value = item.customRender(record); - } else { - item.value = record[key] || ''; - } - } - }); - title.value = record?.interveneName; - stateDictText.value = record?.state_dictText; - } - - return { - title, - stateDictText, - getHeaderData, - setHeaderData, - }; -} - -export function useTabPage2Header() { - const headerInfo = ref([ - { - label: '参与时间:', - key: 'signUpDate', - value: '', - unit: '', - }, - { - label: '身高:', - key: 'height', - value: '', - unit: 'cm', - }, - { - label: '原体重:', - key: 'weight', - value: '', - unit: 'kg', - }, - { - label: '现体重:', - key: 'currentWeight', - value: '', - unit: 'kg', - }, - { - label: '目标体重:', - key: 'targetWeight', - value: '', - unit: 'kg', - }, - ]); - const stateDictText = ref(''); - function setHeader(record) { - headerInfo.value.forEach((item) => { - const { key } = item; - const isEmpty = (obj, key) => { - if (!obj) return true; - return obj[key] === undefined || obj[key] === null || obj[key] === ''; - }; - if (!isEmpty(record, key)) { - if (Object.hasOwn(item, 'customRender')) { - // @ts-ignore - item.value = item.customRender(record); - } else { - item.value = record[key] || ''; - } - } - }); - stateDictText.value = record?.stateDictText; - } - return { - headerInfo, - stateDictText, - setHeader, - }; -} - -export function useConsume() { - const consume = ref([ - { - label: '日均摄入:', - key: 'dayCalorieAvg', - value: '', - }, - { - label: '日均消耗:', - key: 'dayExpendCalorie', - value: '', - }, - { - label: '累计摄入:', - key: 'totalCalorie', - value: '', - }, - { - label: '累计消耗:', - key: 'totalExpendCalorie', - value: '', - }, - ]); - const employeeInfo = ref({ - userName: '', - age: '', - sex_dictText: '', - loseWeightRank: '', - weightRateRank: '', - }); - function setConsume(record) { - consume.value.forEach((item) => { - const { key } = item; - const isEmpty = (obj, key) => { - if (!obj) return true; - return obj[key] === undefined || obj[key] === null || obj[key] === ''; - }; - if (!isEmpty(record, key)) { - if (Object.hasOwn(item, 'customRender')) { - // @ts-ignore - item.value = item.customRender(record); - } else { - item.value = record[key] || ''; - } - } - }); - employeeInfo.value = { - userName: record?.userName, - age: record?.age, - sex_dictText: record?.sex_dictText, - loseWeightRank: record?.loseWeightRank, - weightRateRank: record?.weightRateRank, - }; - } - return { - consume, - employeeInfo, - setConsume, - }; -} - -/** - * @desc 计算两个日期的间隔天数(左包括,右不包括) - * - */ -export function useTimeInterval(startTime: string, endTime: string) { - let days = 0; - let meals = 0; - if (startTime && endTime) { - try { - days = dayjs(endTime).diff(dayjs(startTime), 'day') + 1; - meals = days * 3; - } catch { - days = 1; - meals = 3; - } - } - return { - days, - meals, - }; -} -export const selfAdaption = { - span: 6, - xs: 12, - sm: 12, - md: 12, - lg: 8, - xl: 8, - xxl: 6, -}; diff --git a/src/views/interveneNew/meals/useMeals.ts b/src/views/interveneNew/meals/useMeals.ts deleted file mode 100644 index ae0d915..0000000 --- a/src/views/interveneNew/meals/useMeals.ts +++ /dev/null @@ -1,346 +0,0 @@ -import { h, VNode } from 'vue'; -// 营养慢病-实测、模拟参数 -const nutRealLists = [ - 'age', - 'animalFood', - 'bf', - 'bloodFat', - 'bua', - 'choKcal', - 'dbp', - 'energy', - 'fatKcal', - 'height', - 'nowWeight', - 'oil', - 'proteinKcal', - 'salt', - 'sbp', - 'sex', - 'sugar', - 'userId', - 'walkTime', - 'workStrength', -]; -// 慢病预警-实测、模拟参数 -const warnRealLists = [ - 'age', - 'animalFood', - 'choKcal', - 'day', - 'dbp', - 'diabetes', - 'energy', - 'fatKcal', - 'fbg', - 'hdl_c', - 'height', - 'ldl_c', - 'oil', - 'parentDiabetes', - 'parentHypertension', - 'proteinKcal', - 'realName', - 'salt', - 'sbp', - 'secondDepartName', - 'sex', - 'smoking', - 'sugar', - 'tc', - 'tg', - 'thirdDepartName', - 'ua', - 'userId', - 'waistline', - 'walkTime', - 'weight', -]; -const nutRealValue = ['calculateBf', 'calculateBloodFat', 'calculateBua', 'calculateDbp', 'calculateSbp', 'calculateWeight']; -const warnRealValue = [ - 'chdRisk', - 'chdRiskGrade', - 'diabetesRisk', - 'diabetesRiskGrade', - 'hypertensionRisk', - 'hypertensionRiskGrade', - 'metSRisk', - 'metSRiskGrade', -]; -const listColor = [ - { - name: '低风险', - color: '#333333', - }, - { - name: '中风险', - color: '#f09900', - }, - { - name: '高风险', - color: '#ff1e10', - }, -]; -// 实值 -export function renderRealValue(text) { - return h('span', { style: { color: text !== '' ? '#f09900' : '#333333' } }, text); -} -/** - * - * @param text 内容 - * @param type 1 营养慢病-模拟实测,2 慢病预警-模拟实测 - * @param field 字段 - */ -export function renderColor(text, type, field) { - let valueDemo: VNode = ''; - if (type === 1) { - valueDemo = h('span', { style: { color: text !== '' ? '#f09900' : '#333333' } }, text); - } else { - if (text.userIllnessVO !== null && text.userIllnessVO[field] !== '') { - const find = listColor.find((e) => e.name === text.userIllnessVO[field]); - const textValue = `${text.userIllnessVO[field]}(${text.userIllnessVO[field + 'Grade']})`; - valueDemo = h('span', { style: { color: find !== undefined ? find.color : '#333333' } }, textValue); - } else { - valueDemo = h('span', { style: { color: '#333333' } }, text); - } - } - return valueDemo; -} - -/** - * 指标类型 - * @param type 1 营养慢病-营养监测 、2 指标监测 、 3 慢病预警-营养检测 - */ -export function quotaType(type) { - let lists: any = []; - if ([1, 3].includes(type)) { - lists = [ - { - name: '能量', - value: '0', - }, - { - name: '油', - value: '1', - }, - { - name: '盐', - value: '2', - }, - { - name: '糖', - value: '3', - }, - { - name: '肉', - value: '4', - }, - { - name: '蛋白质', - value: '5', - }, - { - name: '碳水', - value: '6', - }, - { - name: '脂肪', - value: '7', - }, - { - name: '维生素A', - value: '8', - }, - { - name: '维生素C', - value: '9', - }, - { - name: '钙', - value: '10', - }, - { - name: '镁', - value: '11', - }, - { - name: '钠', - value: '12', - }, - { - name: '钾', - value: '13', - }, - ]; - } else if (type === 2) { - lists = [ - { - name: '体重', - value: '体重', - }, - { - name: '血糖', - value: '血糖', - }, - { - name: '总胆固醇', - value: '总胆固醇', - }, - { - name: '甘油三酯', - value: '甘油三酯', - }, - { - name: '低密度脂蛋白', - value: '低密度脂蛋白', - }, - { - name: '高密度脂蛋白', - value: '高密度脂蛋白', - }, - { - name: '收缩压', - value: '收缩压', - }, - { - name: '舒张压', - value: '舒张压', - }, - { - name: '血尿酸', - value: '血尿酸', - }, - ]; - } - return lists; -} - -/** - * 插槽字段 - * @param type 1 营养监测、 2 慢病预警 - */ -export function useSlots(type) { - const slotsList = [ - { - key: 1, - list: [ - 'energy', - 'oil', - 'salt', - 'animalFood', - 'sugar', - 'walkTime', - 'proteinKcal', - 'fatKcal', - 'choKcal', - 'nowWeight', - 'sbp', - 'dbp', - 'bloodFat', - 'bf', - 'bua', - ], - }, - { - key: 2, - list: ['energy', 'oil', 'salt', 'animalFood', 'sugar', 'walkTime', 'proteinKcal', 'fatKcal', 'choKcal'], - }, - ]; - const finIndex = slotsList.findIndex((e) => e.key === type); - return slotsList[finIndex].list; -} -/** - * 表格数据添加字段key,实值字段 - * @param data 表格数据 - * @param menuType 菜单类型 nutrition 营养慢病、 warn 慢病预警 - */ -export function useImitateData(data: any, menuType: String) { - return menuType === 'nutrition' ? addNutr(data) : addWarn(data); -} -function addNutr(data: Array) { - const realValue = ['nowWeight', 'sbp', 'dbp', 'bloodFat', 'bf', 'bua']; - data.map((item, index) => { - item.key = index; - realValue.map((val) => { - item[`s${val}`] = item[val]; - }); - }); - return data; -} -function addWarn(data: Array) { - data.map((item, index) => { - item.key = index; - }); - return data; -} -/** - * 计算结果模拟、实测数据 - * @param data 计算结果数据 - * @param oldData 表格旧数据 - * @param type 模拟类型 1 模拟 、 2 实测 - * @param menuType 菜单类型 nutrition 营养慢病、 warn 慢病预警 - */ -export function useActual(data: any, oldData: any, type: number, menuType: String) { - const types = type === 1 ? 'm' : 's'; - return menuType === 'nutrition' ? updateNutr(data, oldData, types) : updateWarn(data, oldData, types); -} -function updateNutr(data: any, oldData: any, types: string) { - oldData.map((filItem) => { - data.map((somItem) => { - if (Object.is(filItem.userId, somItem.userId)) { - nutRealValue.map((rVal) => { - if (somItem.success) { - filItem[`${types}${rVal}`] = somItem[rVal] ? somItem[rVal] : ''; - } else { - filItem[`${types}${rVal}`] = ''; - } - }); - } - }); - }); - return oldData; -} -function updateWarn(data: any, oldData: any) { - oldData.map((filItem) => { - data.map((somItem) => { - const userIllnessVO = {}; - if (Object.is(filItem.cdForecastDoSimulateDTO.userId, somItem.userId)) { - warnRealValue.map((rVal) => { - if (somItem.success) { - userIllnessVO[`${rVal}`] = somItem[rVal] ? somItem[rVal] : ''; - } else { - userIllnessVO[`${rVal}`] = ''; - } - filItem.userIllnessVO = Object.assign({}, filItem.userIllnessVO, userIllnessVO); - }); - } - }); - }); - return oldData; -} -/** - * 模拟、实测接口传参处理 - * @param menuType 菜单类型 nutrition 营养慢病、 warn 慢病预警 - * @param data 当前页数据 - */ -export function useCountData(menuType: String, data: any) { - const list = []; - if (data.length > 0) { - for (const [key, val] of data.entries()) { - // @ts-ignore - list.push(getParams(menuType, val)); - } - } - return list; -} -function getParams(menuType: String, dataItem: any) { - const menuList = menuType === 'nutrition' ? nutRealLists : warnRealLists; - const item = menuType === 'nutrition' ? dataItem : dataItem && dataItem.cdForecastDoSimulateDTO; - for (const itemKey in item) { - const vis = menuList.find((item) => item === itemKey); - if (!vis) { - delete dataItem[itemKey]; - } - } - return item; -} diff --git a/src/views/interveneNew/meals/video/manage/index.vue b/src/views/interveneNew/meals/video/manage/index.vue deleted file mode 100644 index e52dbd7..0000000 --- a/src/views/interveneNew/meals/video/manage/index.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/video/push/index.vue b/src/views/interveneNew/meals/video/push/index.vue deleted file mode 100644 index 6900368..0000000 --- a/src/views/interveneNew/meals/video/push/index.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/video/record/index.vue b/src/views/interveneNew/meals/video/record/index.vue deleted file mode 100644 index f831216..0000000 --- a/src/views/interveneNew/meals/video/record/index.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/warning/chronicMonitoring/ChronicMonitoring.api.ts b/src/views/interveneNew/meals/warning/chronicMonitoring/ChronicMonitoring.api.ts deleted file mode 100644 index 7037a01..0000000 --- a/src/views/interveneNew/meals/warning/chronicMonitoring/ChronicMonitoring.api.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/meals/cd-forecast/page', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); diff --git a/src/views/interveneNew/meals/warning/chronicMonitoring/ChronicMonitoring.data.ts b/src/views/interveneNew/meals/warning/chronicMonitoring/ChronicMonitoring.data.ts deleted file mode 100644 index 994a50b..0000000 --- a/src/views/interveneNew/meals/warning/chronicMonitoring/ChronicMonitoring.data.ts +++ /dev/null @@ -1,170 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - align: 'center', - dataIndex: 'secondDepartName', - fixed: 'left', - width: 120, - }, - { - title: '部门名称', - align: 'center', - dataIndex: 'thirdDepartName', - fixed: 'left', - width: 120, - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'userName', - fixed: 'left', - width: 80, - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - width: 80, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - width: 80, - }, - { - title: '身高(cm)', - align: 'center', - dataIndex: 'height', - width: 80, - }, - { - title: '体重(kg)', - align: 'center', - dataIndex: 'weight', - width: 80, - }, - { - title: '代谢综合征', - children: [ - { - title: '确诊医院', - align: 'center', - dataIndex: ['userIllnessVO', 'metSHospital'], - width: 100, - }, - { - title: '确诊时间', - align: 'center', - dataIndex: ['userIllnessVO', 'metSTime'], - width: 100, - }, - ], - }, - { - title: '高血压病', - children: [ - { - title: '确诊医院', - align: 'center', - dataIndex: ['userIllnessVO', 'hypertensionHospital'], - width: 100, - }, - { - title: '确诊时间', - align: 'center', - dataIndex: ['userIllnessVO', 'hypertensionTime'], - width: 100, - }, - ], - }, - { - title: '冠心病', - children: [ - { - title: '确诊医院', - align: 'center', - dataIndex: ['userIllnessVO', 'chdHospital'], - width: 100, - }, - { - title: '确诊时间', - align: 'center', - dataIndex: ['userIllnessVO', 'chdTime'], - width: 100, - }, - ], - }, - { - title: '糖尿病', - children: [ - { - title: '确诊医院', - align: 'center', - dataIndex: ['userIllnessVO', 'diabetesHospital'], - width: 100, - }, - { - title: '确诊时间', - align: 'center', - dataIndex: ['userIllnessVO', 'diabetesTime'], - width: 100, - }, - ], - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode', 'deptCode', 'orgCode2'), - // { - // label: '单位', - // field: 'orgCode', - // component: 'ApiSelect', - // componentProps: ({ formModel }) => { - // return { - // api: getSecondaryDepartmentList, - // resultField: 'result', - // labelField: 'departName', - // valueField: 'orgCode', - // immediate: true, - // showSearch: true, - // filterOption: (input: string, option: any): boolean => { - // const str: string = input.toLowerCase(); - // return option.label.toLowerCase().indexOf(str) >= 0; - // }, - // onChange: (_value) => { - // formModel.deptCode = ''; - // }, - // }; - // }, - // }, - // { - // label: '部门', - // field: 'deptCode', - // component: 'ApiSelect', - // componentProps: ({ formModel }) => { - // return { - // api: getThirdDepartListByOrgCode, - // resultField: 'list', - // labelField: 'departName', - // params: { - // orgCode: formModel.orgCode, - // }, - // valueField: 'orgCode', - // immediate: false, - // onFocus: () => { - // if (!formModel.orgCode) { - // return createMessage.warn('请先选择单位!'); - // } - // }, - // }; - // }, - // }, -]; diff --git a/src/views/interveneNew/meals/warning/chronicMonitoring/ChronicMonitoringList.vue b/src/views/interveneNew/meals/warning/chronicMonitoring/ChronicMonitoringList.vue deleted file mode 100644 index 21d7ade..0000000 --- a/src/views/interveneNew/meals/warning/chronicMonitoring/ChronicMonitoringList.vue +++ /dev/null @@ -1,88 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/warning/nutritionImitate/NutritionImitate.api.ts b/src/views/interveneNew/meals/warning/nutritionImitate/NutritionImitate.api.ts deleted file mode 100644 index c1fd566..0000000 --- a/src/views/interveneNew/meals/warning/nutritionImitate/NutritionImitate.api.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/meals/cd-forecast/calculate/page', - practice = '/health-intervene/meals/cd-forecast/calculate/practice', - simulate = '/health-intervene/meals/cd-forecast/calculate/simulate', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params }); -// 实测 -export const practiceApi = (params: any) => defHttp.post({ url: Api.practice, params }); -// 模拟 -export const simulateApi = (params: any) => defHttp.post({ url: Api.simulate, params }); diff --git a/src/views/interveneNew/meals/warning/nutritionImitate/NutritionImitate.data.ts b/src/views/interveneNew/meals/warning/nutritionImitate/NutritionImitate.data.ts deleted file mode 100644 index 768cb53..0000000 --- a/src/views/interveneNew/meals/warning/nutritionImitate/NutritionImitate.data.ts +++ /dev/null @@ -1,330 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { BODY_CONTAINER } from '/@/utils/domUtils'; -import moment from 'moment'; -import { renderColor } from '../../useMeals'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -const simulationWidth = 120; -const firstDayOfMonth = moment().subtract(1, 'months').format('YYYY-MM-DD'); -const lastDayOfMonth = moment().format('YYYY-MM-DD'); -export const columns: BasicColumn[] = [ - { - title: '单位名称', - align: 'center', - width: 120, - dataIndex: ['cdForecastDoSimulateDTO', 'secondDepartName'], - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - width: 120, - dataIndex: ['cdForecastDoSimulateDTO', 'thirdDepartName'], - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - width: 80, - dataIndex: ['cdForecastDoSimulateDTO', 'realName'], - fixed: 'left', - }, - { - title: '性别', - align: 'center', - width: 80, - dataIndex: ['cdForecastDoSimulateDTO', 'sex'], - }, - { - title: '年龄', - align: 'center', - width: 80, - dataIndex: ['cdForecastDoSimulateDTO', 'age'], - }, - { - title: '身高(cm)', - align: 'center', - width: 100, - dataIndex: ['cdForecastDoSimulateDTO', 'height'], - }, - { - title: '日均数据(自变量)', - children: [ - { - title: '热量(千卡)', - align: 'center', - dataIndex: ['cdForecastDoSimulateDTO', 'energy'], - width: 90, - slots: { customRender: 'energy' }, - }, - { - title: '油(g)', - align: 'center', - width: 90, - dataIndex: ['cdForecastDoSimulateDTO', 'oil'], - slots: { customRender: 'oil' }, - }, - { - title: '盐(g)', - align: 'center', - width: 90, - dataIndex: ['cdForecastDoSimulateDTO', 'salt'], - slots: { customRender: 'salt' }, - }, - { - title: '肉(g)', - align: 'center', - width: 90, - dataIndex: ['cdForecastDoSimulateDTO', 'animalFood'], - slots: { customRender: 'animalFood' }, - }, - { - title: '糖(g)', - width: 90, - align: 'center', - dataIndex: ['cdForecastDoSimulateDTO', 'sugar'], - slots: { customRender: 'sugar' }, - }, - { - title: '步行(分钟)', - align: 'center', - dataIndex: ['cdForecastDoSimulateDTO', 'walkTime'], - width: 90, - slots: { customRender: 'walkTime' }, - }, - { - title: '蛋白质(千卡)', - align: 'center', - dataIndex: ['cdForecastDoSimulateDTO', 'proteinKcal'], - width: 120, - slots: { customRender: 'proteinKcal' }, - }, - { - title: '脂肪(千卡)', - align: 'center', - dataIndex: ['cdForecastDoSimulateDTO', 'fatKcal'], - width: 90, - slots: { customRender: 'fatKcal' }, - }, - { - title: '碳水(千卡)', - align: 'center', - dataIndex: ['cdForecastDoSimulateDTO', 'choKcal'], - width: 90, - slots: { customRender: 'choKcal' }, - }, - ], - }, - { - title: '代谢综合征预警值', - children: [ - { - title: '确诊日期', - align: 'center', - dataIndex: ['userIllnessVO', 'metSTime'], - width: 120, - }, - { - title: '预警值', - align: 'center', - width: simulationWidth, - dataIndex: ['forecastResult', 'metSRisk'], - customRender: ({ record }) => { - return renderColor(record, 2, 'metSRisk'); - }, - }, - ], - }, - { - title: '高血压病预警值', - children: [ - { - title: '确诊日期', - align: 'center', - dataIndex: ['userIllnessVO', 'hypertensionTime'], - width: 120, - }, - { - title: '预警值', - align: 'center', - width: simulationWidth, - dataIndex: ['forecastResult', 'hypertensionRisk'], - customRender: ({ record }) => { - return renderColor(record, 2, 'hypertensionRisk'); - }, - }, - ], - }, - { - title: '冠心病预警值', - children: [ - { - title: '确诊日期', - align: 'center', - dataIndex: ['userIllnessVO', 'chdTime'], - width: 120, - }, - { - title: '预警值', - align: 'center', - width: simulationWidth, - dataIndex: ['forecastResult', 'chdRisk'], - customRender: ({ record }) => { - return renderColor(record, 2, 'chdRisk'); - }, - }, - ], - }, - { - title: '糖尿病预警值', - children: [ - { - title: '确诊日期', - align: 'center', - dataIndex: ['userIllnessVO', 'diabetesTime'], - width: 120, - }, - { - title: '预警值', - align: 'center', - width: simulationWidth, - dataIndex: ['forecastResult', 'diabetesRisk'], - customRender: ({ record }) => { - return renderColor(record, 2, 'diabetesRisk'); - }, - }, - ], - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode', 'deptCode', 'orgCode2'), - // { - // label: '单位', - // field: 'orgCode', - // component: 'ApiSelect', - // componentProps: () => { - // return { - // api: getSecondaryDepartmentList, - // resultField: 'result', - // labelField: 'departName', - // valueField: 'orgCode', - // immediate: true, - // showSearch: true, - // filterOption: (input: string, option: any): boolean => { - // const str: string = input.toLowerCase(); - // return option.label.toLowerCase().indexOf(str) >= 0; - // }, - // onChange: (_value) => { - // formModel.deptCode = ''; - // }, - // }; - // }, - // }, - // { - // label: '部门', - // field: 'deptCode', - // component: 'ApiSelect', - // componentProps: ({ formModel }) => { - // return { - // api: getThirdDepartListByOrgCode, - // resultField: 'list', - // labelField: 'departName', - // params: { - // orgCode: formModel.orgCode, - // }, - // valueField: 'orgCode', - // immediate: false, - // onFocus: () => { - // if (!formModel.orgCode) { - // return createMessage.warn('请先选择单位!'); - // } - // }, - // }; - // }, - // }, - { - label: '监测日期', - field: 'sportDate', - component: 'RangePicker', - defaultValue: [firstDayOfMonth, lastDayOfMonth], - componentProps: ({ formModel }) => { - return { - valueType: 'Date', - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => BODY_CONTAINER, - onChange: ([start, end]) => { - formModel.startDate = start; - formModel.endDate = end; - }, - }; - }, - }, - { - label: '', - field: 'startDate', - defaultValue: firstDayOfMonth, - component: 'Input', - show: false, - }, - { - label: '', - field: 'endDate', - defaultValue: lastDayOfMonth, - component: 'Input', - show: false, - }, -]; - -export const relationColumn: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: ['cdForecastDoSimulateDTO', 'secondDepartName'], - align: 'center', - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: ['cdForecastDoSimulateDTO', 'thirdDepartName'], - align: 'center', - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: ['cdForecastDoSimulateDTO', 'realName'], - align: 'center', - fixed: 'left', - }, - { - title: '员工工号', // 原来为工号 - dataIndex: ['cdForecastDoSimulateDTO', 'workNo'], - align: 'center', - }, - { - title: '性别', - dataIndex: ['cdForecastDoSimulateDTO', 'sex'], - align: 'center', - }, - { - title: '年龄', - dataIndex: ['cdForecastDoSimulateDTO', 'age'], - align: 'center', - }, -]; - -export const relationSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode', 'deptCode', 'orgCode2'), - { - label: '员工工号', // 原来为工号 - field: 'workNo', - component: 'Input', - }, -]; diff --git a/src/views/interveneNew/meals/warning/nutritionImitate/NutritionImitateList.vue b/src/views/interveneNew/meals/warning/nutritionImitate/NutritionImitateList.vue deleted file mode 100644 index dbf87b0..0000000 --- a/src/views/interveneNew/meals/warning/nutritionImitate/NutritionImitateList.vue +++ /dev/null @@ -1,158 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/warning/nutritionImitate/components/fakeRelationShip.vue b/src/views/interveneNew/meals/warning/nutritionImitate/components/fakeRelationShip.vue deleted file mode 100644 index 8b9d298..0000000 --- a/src/views/interveneNew/meals/warning/nutritionImitate/components/fakeRelationShip.vue +++ /dev/null @@ -1,467 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/warning/nutritionImitate/components/relationShip.vue b/src/views/interveneNew/meals/warning/nutritionImitate/components/relationShip.vue deleted file mode 100644 index e60b99c..0000000 --- a/src/views/interveneNew/meals/warning/nutritionImitate/components/relationShip.vue +++ /dev/null @@ -1,143 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/warning/nutritionImitate/components/relationShipColumn.vue b/src/views/interveneNew/meals/warning/nutritionImitate/components/relationShipColumn.vue deleted file mode 100644 index aef6950..0000000 --- a/src/views/interveneNew/meals/warning/nutritionImitate/components/relationShipColumn.vue +++ /dev/null @@ -1,141 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/warning/nutritionImitate/components/trueRelationShip.vue b/src/views/interveneNew/meals/warning/nutritionImitate/components/trueRelationShip.vue deleted file mode 100644 index 0720312..0000000 --- a/src/views/interveneNew/meals/warning/nutritionImitate/components/trueRelationShip.vue +++ /dev/null @@ -1,287 +0,0 @@ - - - diff --git a/src/views/interveneNew/meals/warning/nutritionMonitor/NutritionMonitor.api.ts b/src/views/interveneNew/meals/warning/nutritionMonitor/NutritionMonitor.api.ts deleted file mode 100644 index 94dabdd..0000000 --- a/src/views/interveneNew/meals/warning/nutritionMonitor/NutritionMonitor.api.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/meals/cd-nutrient/page', - trend = '/health-intervene/meals/cd-nutrient/trend', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const trendApi = (params: any) => defHttp.get({ url: Api.trend, params: params }); diff --git a/src/views/interveneNew/meals/warning/nutritionMonitor/NutritionMonitor.data.ts b/src/views/interveneNew/meals/warning/nutritionMonitor/NutritionMonitor.data.ts deleted file mode 100644 index 47b0a97..0000000 --- a/src/views/interveneNew/meals/warning/nutritionMonitor/NutritionMonitor.data.ts +++ /dev/null @@ -1,248 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - align: 'center', - width: 120, - dataIndex: 'secondDepartName', - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - width: 120, - dataIndex: 'thirdDepartName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - width: 80, - dataIndex: 'realname', - fixed: 'left', - }, - { - title: '性别', - align: 'center', - width: 90, - dataIndex: 'sex', - }, - { - title: '年龄', - align: 'center', - width: 90, - dataIndex: 'age', - }, - { - title: '身高(cm)', - align: 'center', - dataIndex: 'height', - width: 90, - }, - { - title: '体重(kg)', - align: 'center', - dataIndex: 'weight', - width: 90, - }, - { - title: '体力活动', - align: 'center', - dataIndex: 'workStrength', - width: 90, - }, - { - title: '监测天数', - align: 'center', - dataIndex: 'eatDayNum', - width: 90, - }, - { - title: '监测餐数', - align: 'center', - dataIndex: 'eatTimesNum', - width: 90, - }, - { - title: '日均营养数据', - children: [ - { - title: '热量(千卡)', - align: 'center', - dataIndex: 'energy', - width: 90, - }, - { - title: '油(g)', - align: 'center', - dataIndex: 'oil', - width: 90, - }, - { - title: '盐(g)', - align: 'center', - dataIndex: 'salt', - width: 90, - }, - { - title: '肉(g)', - align: 'center', - dataIndex: 'animalFood', - width: 90, - }, - { - title: '糖(g)', - align: 'center', - dataIndex: 'sugar', - width: 90, - }, - { - title: '蛋白质', - children: [ - { - title: 'g', - align: 'center', - dataIndex: 'protein', - width: 90, - }, - { - title: '千卡', - align: 'center', - dataIndex: 'proteinKcal', - width: 90, - }, - ], - }, - { - title: '碳水化合物', - children: [ - { - title: 'g', - align: 'center', - dataIndex: 'cho', - width: 90, - }, - { - title: '千卡', - align: 'center', - dataIndex: 'choKcal', - width: 90, - }, - ], - }, - { - title: '脂肪', - children: [ - { - title: 'g', - align: 'center', - dataIndex: 'fat', - width: 90, - }, - { - title: '千卡', - align: 'center', - dataIndex: 'fatKcal', - width: 90, - }, - ], - }, - { - title: '维A(Rae)', - align: 'center', - dataIndex: 'vitA', - width: 90, - }, - { - title: '维C(mg)', - align: 'center', - dataIndex: 'vitC', - width: 90, - }, - { - title: '钙(mg)', - align: 'center', - dataIndex: 'ca', - width: 90, - }, - { - title: '镁(mg)', - align: 'center', - dataIndex: 'mg', - width: 90, - }, - { - title: '钠(mg)', - align: 'center', - dataIndex: 'na', - width: 90, - }, - { - title: '钾(mg)', - align: 'center', - dataIndex: 'elementK', - width: 90, - }, - ], - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode', 'deptCode', 'orgCode2'), - // { - // label: '单位', - // field: 'orgCode', - // component: 'ApiSelect', - // componentProps: () => { - // return { - // api: getSecondaryDepartmentList, - // resultField: 'result', - // labelField: 'departName', - // valueField: 'orgCode', - // immediate: true, - // showSearch: true, - // filterOption: (input: string, option: any): boolean => { - // const str: string = input.toLowerCase(); - // return option.label.toLowerCase().indexOf(str) >= 0; - // }, - // onChange: (_value) => { - // formModel.deptCode = ''; - // }, - // }; - // }, - // }, - // { - // label: '部门', - // field: 'deptCode', - // component: 'ApiSelect', - // componentProps: ({ formModel }) => { - // return { - // api: getThirdDepartListByOrgCode, - // resultField: 'list', - // labelField: 'departName', - // params: { - // orgCode: formModel.orgCode, - // }, - // valueField: 'orgCode', - // immediate: false, - // onFocus: () => { - // if (!formModel.orgCode) { - // return createMessage.warn('请先选择单位!'); - // } - // }, - // }; - // }, - // }, - { - label: '监测日期', - field: 'dateTime', - component: 'RangePicker', - }, -]; diff --git a/src/views/interveneNew/meals/warning/nutritionMonitor/NutritionMonitorList.vue b/src/views/interveneNew/meals/warning/nutritionMonitor/NutritionMonitorList.vue deleted file mode 100644 index 3f8c274..0000000 --- a/src/views/interveneNew/meals/warning/nutritionMonitor/NutritionMonitorList.vue +++ /dev/null @@ -1,68 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/accessToLibrary/accessToLibrary.api.ts b/src/views/interveneNew/medicalPoints/accessToLibrary/accessToLibrary.api.ts deleted file mode 100644 index beb7292..0000000 --- a/src/views/interveneNew/medicalPoints/accessToLibrary/accessToLibrary.api.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical-center/medicalCenter/medicalSpecialistAudit/queryPageList', - save = '/medical-center', - edit = '/medical-center', - queryById = '/medical-center/medicalCenter/medicalSpecialistAudit/queryById', - reAccept = '/medical-center/medicalCenter/medicalSpecialistAudit/reAccept', - rejectOrAgree = '/medical-center/medicalCenter/medicalSpecialistAudit/rejectOrAgree', - accept = '/medical-center/medicalCenter/medicalSpecialistAudit/accept', - checkUserRole = '/medical-center/medicalCenter/medicalSpecialistAudit/checkUserRole', - queryOfficeList = '/medical-center/medicalCenter/medicalSpecialistAudit/queryOfficeList', - exportXls = '/medical-center/medicalCenter/medicalSpecialistAudit/exportXls', -} - -export const getExportUrl = Api.exportXls; -export const list = (params = {}) => defHttp.post({ url: Api.list, params }); -//所属科室 -export const queryOfficeList = (params = {}) => defHttp.get({ url: Api.queryOfficeList, params }); -export const queryById = (params = {}) => defHttp.get({ url: Api.queryById, params }); -// 当前用户申请状态 -export const checkUserRole = (params = {}) => defHttp.get({ url: Api.checkUserRole, params }); -//重新申请 -export const reAccept = (params = {}) => defHttp.get({ url: Api.reAccept, params }); -// 初次申请 -export const firstAccept = (params = {}) => defHttp.get({ url: Api.accept, params }); -//申请拒绝/通过 -export const rejectOrAgree = (params = {}) => defHttp.post({ url: Api.rejectOrAgree, params }); diff --git a/src/views/interveneNew/medicalPoints/accessToLibrary/accessToLibrary.data.ts b/src/views/interveneNew/medicalPoints/accessToLibrary/accessToLibrary.data.ts deleted file mode 100644 index 3e6db9a..0000000 --- a/src/views/interveneNew/medicalPoints/accessToLibrary/accessToLibrary.data.ts +++ /dev/null @@ -1,287 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { BODY_CONTAINER } from '/@/utils/domUtils'; -import { useStatusType } from '/@/views/interveneNew/medicalPoints/accessToLibrary/hooks'; -export const statusText = { - 1: '待审核', - 2: `已拒绝`, - 3: `已通过`, - 4: '申请入库', -}; -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '申请人', - align: 'center', - dataIndex: 'docName', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, - { - title: '职称', - align: 'center', - dataIndex: 'jobTitle_dictText', - }, - { - title: '岗位', - align: 'center', - dataIndex: 'post_dictText', - }, - { - title: '医疗点', - align: 'center', - dataIndex: 'resourceName', - }, - { - title: '单位', - align: 'center', - dataIndex: 'unitName', - }, - { - title: '申请时间', - align: 'center', - dataIndex: 'acceptTime', - }, - { - title: '审核状态', - align: 'center', - dataIndex: 'status_dictText', - slots: { customRender: 'status' }, - }, - { - title: '审核人', - align: 'center', - dataIndex: 'auditName', - }, - { - title: '审核时间', - align: 'center', - dataIndex: 'auditTime', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '申请人', - field: 'docName', - component: 'Input', - }, - { - label: '申请日期', - field: 'date1', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - valueType: 'Date', - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => BODY_CONTAINER, - onChange: ([start, end]) => { - formModel.acceptStartTime = start; - formModel.acceptEndTime = end; - }, - }; - }, - }, - { - label: '', - field: 'acceptStartTime', - component: 'Input', - show: false, - }, - { - label: '', - field: 'acceptEndTime', - component: 'Input', - show: false, - }, - { - label: '审核日期', - field: 'date2', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - valueType: 'Date', - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => BODY_CONTAINER, - onChange: ([start, end]) => { - formModel.auditStartTime = start; - formModel.auditEndTime = end; - }, - }; - }, - }, - { - label: '', - field: 'auditStartTime', - component: 'Input', - show: false, - }, - { - label: '', - field: 'auditEndTime', - component: 'Input', - show: false, - }, - { - label: '审核状态', - field: 'status', - component: 'Select', - componentProps: () => { - return { - options: [ - { - value: '', - label: '全部', - }, - { - value: 0, - label: '待审核', - }, - { - value: 1, - label: '已通过', - }, - { - value: 2, - label: '已拒绝', - }, - ], - }; - }, - defaultValue: '', - }, -]; -const itemProps = { - labelCol: { - sm: 0, - xs: 0, - }, - wrapperCol: { - sm: 24, - xs: 24, - }, -}; - -const { status } = useStatusType(); -export const auditForm: FormSchema[] = [ - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - { - label: '审核状态:1同意,2拒绝', - field: 'auditStatus', - component: 'Input', - show: false, - }, - { - label: '', - slot: 'header', - field: 'header', - component: 'Input', - itemProps, - }, - { - label: '', - slot: 'basicInfo', - field: 'basicInfo', - component: 'Input', - itemProps, - }, - { - label: '单位', - field: 'unitName', - component: 'Input', - componentProps: () => { - return { - readonly: true, - }; - }, - }, - { - label: '医疗点', - field: 'resourceName', - component: 'Input', - componentProps: () => { - return { - readonly: true, - }; - }, - }, - { - label: '科室', - field: 'officeName', - component: 'Input', - componentProps: () => { - return { - readonly: true, - }; - }, - }, - { - label: '申请时间', - field: 'acceptTime', - component: 'Input', - componentProps: () => { - return { - readonly: true, - }; - }, - }, - { - label: '', - slot: 'auditInfo', - field: 'auditInfo', - component: 'Input', - itemProps, - }, - { - label: '审核人', - field: 'auditName', - component: 'Input', - componentProps: () => { - return { - readonly: true, - }; - }, - }, - { - label: '审核时间', - field: 'auditTime', - component: 'Input', - componentProps: () => { - return { - readonly: true, - }; - }, - }, - { - label: '拒绝理由', - field: 'auditOpinion', - component: 'InputTextArea', - required: true, - componentProps: ({ formModel }) => { - return { - readonly: formModel?.auditStatus == status.passThrough, - }; - }, - ifShow: ({ values }) => { - return values?.auditStatus == status.rejected; - }, - }, -]; diff --git a/src/views/interveneNew/medicalPoints/accessToLibrary/accessToLibrary.vue b/src/views/interveneNew/medicalPoints/accessToLibrary/accessToLibrary.vue deleted file mode 100644 index 97ac4c1..0000000 --- a/src/views/interveneNew/medicalPoints/accessToLibrary/accessToLibrary.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/accessToLibrary/components/auditModal.vue b/src/views/interveneNew/medicalPoints/accessToLibrary/components/auditModal.vue deleted file mode 100644 index fe9660e..0000000 --- a/src/views/interveneNew/medicalPoints/accessToLibrary/components/auditModal.vue +++ /dev/null @@ -1,178 +0,0 @@ - - - - diff --git a/src/views/interveneNew/medicalPoints/accessToLibrary/components/auditStatus.vue b/src/views/interveneNew/medicalPoints/accessToLibrary/components/auditStatus.vue deleted file mode 100644 index 84f05a9..0000000 --- a/src/views/interveneNew/medicalPoints/accessToLibrary/components/auditStatus.vue +++ /dev/null @@ -1,102 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/accessToLibrary/hooks.ts b/src/views/interveneNew/medicalPoints/accessToLibrary/hooks.ts deleted file mode 100644 index 49fa5a0..0000000 --- a/src/views/interveneNew/medicalPoints/accessToLibrary/hooks.ts +++ /dev/null @@ -1,189 +0,0 @@ -import { ref, Ref } from 'vue'; - -export function useStatus(defaultType: string) { - const status = ref(defaultType); - - function setStatus(type: string) { - status.value = type; - } - - return [status, setStatus]; -} - -export function useLoading() { - const loading = ref(false); - - function setLoading(type: Boolean) { - loading.value = type; - } - - return [loading, setLoading]; -} -export function useStatusType() { - enum status { - audit = '0', //待审核 - passThrough = '1', //已通过 - rejected = '2', //已拒绝 - application = '3', //待申请 - } - - const statusText = { - [status.audit]: '待审核', - [status.passThrough]: '已通过', - [status.rejected]: '已拒绝', - [status.application]: '申请入库', - }; - const statusImg = { - [status.passThrough]: new URL('/@/assets/images/pass-through.png', import.meta.url).href, - [status.rejected]: new URL('/@/assets/images/refuse.png', import.meta.url).href, - [status.application]: new URL('/@/assets/images/audit.png', import.meta.url).href, - }; - const statusColor = { - [status.audit]: `color:#333`, - [status.passThrough]: `color:#75db6a`, - [status.rejected]: `color:#ee2310`, - }; - const statusTag = { - [status.audit]: `default`, - [status.passThrough]: `success`, - [status.rejected]: `error`, - }; - const statusForm = { - //待审核 - [status.audit]: [ - { - text: '所属单位', - key: 'unitName', - }, - { - text: '医疗点', - key: 'resourceName', - }, - { - text: '所属科室', - key: 'officeName', - }, - { - text: '申请时间', - key: 'acceptTime', - }, - ], - //已拒绝 - [status.rejected]: [ - { - text: '所属单位', - key: 'unitName', - }, - { - text: '医疗点', - key: 'resourceName', - }, - { - text: '申请时间', - key: 'acceptTime', - }, - { - text: '审核时间', - key: 'auditTime', - }, - { - text: '审核人', - key: 'auditName', - }, - { - text: '拒绝理由', - key: 'auditOpinion', - }, - ], - //已通过 - [status.passThrough]: [ - { - text: '所属单位', - key: 'unitName', - }, - { - text: '医疗点', - key: 'resourceName', - }, - { - text: '申请时间', - key: 'acceptTime', - }, - { - text: '审核时间', - key: 'auditTime', - }, - { - text: '审核人', - key: 'auditName', - }, - ], - }; - - function getStatusText(type: string) { - if (statusText[type]) { - return statusText[type]; - } - return ''; - } - - function getStatusImg(type: string) { - if (statusImg[type]) { - return statusImg[type]; - } - return ''; - } - - function getStatusColor(type: string) { - if (statusColor[type]) { - return statusColor[type]; - } - return ''; - } - - function getStatusForm(type: string) { - if (statusForm[type]) { - return statusForm[type]; - } - return []; - } - - return { - status, - statusText, - statusImg, - statusColor, - statusTag, - statusForm, - getStatusImg, - getStatusText, - getStatusColor, - getStatusForm, - }; -} - -export function useModalRecord() { - interface R { - pic: string; - docName: string; - sex_dictText: string; - age: string; - jobTitle_dictText: string; - status: string; - } - - const record: Ref = ref({ - pic: '', - docName: '', - sex_dictText: '', - age: '', - jobTitle_dictText: '', - status: '', - }); - - function setRecord(data: R) { - record.value = data; - } - - return [record, setRecord]; -} diff --git a/src/views/interveneNew/medicalPoints/accessToLibraryForm/accessToLibraryForm.vue b/src/views/interveneNew/medicalPoints/accessToLibraryForm/accessToLibraryForm.vue deleted file mode 100644 index 780f739..0000000 --- a/src/views/interveneNew/medicalPoints/accessToLibraryForm/accessToLibraryForm.vue +++ /dev/null @@ -1,101 +0,0 @@ - - - - diff --git a/src/views/interveneNew/medicalPoints/ambulance/ambulance.api.ts b/src/views/interveneNew/medicalPoints/ambulance/ambulance.api.ts deleted file mode 100644 index d2470e2..0000000 --- a/src/views/interveneNew/medicalPoints/ambulance/ambulance.api.ts +++ /dev/null @@ -1,120 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); -enum Api { - ambulanceList = '/medical-center/medicalCenter/medicalAmbulance/list', - medicalCenterList = '/medical-center/medicalCenter/medicalResource/resourceListByHospitalId', - departList = '/sys/sysDepart/allSecondaryDepartsNewBack', - ambulanceAdd = '/medical-center/medicalCenter/medicalAmbulance/add', - ambulanceEdit = '/medical-center/medicalCenter/medicalAmbulance/edit', - selectMedicalHospitalList = '/medical-center/medicalCenter/medicalHospital/selectMedicalHospitalList', - ambulanceDelete = '/medical-center/medicalCenter/medicalAmbulance/delete', - ambulanceDeleteBatch = '/medical-center/medicalCenter/medicalAmbulance/deleteBatch', - dataList = '/medical-center/medicalCenter/medicalAmbulanceData/list', - datanewList = '/medical-center/medicalCenter/ambulanceDataNew/list', - ambulanceListById = '/medical-center/medicalCenter/medicalAmbulance/queryById', - dataAdd = '/medical-center/medicalCenter/medicalAmbulanceData/add', - dataNewAdd = '/medical-center/medicalCenter/ambulanceDataNew/add', - dataBuId = '/medical-center/medicalCenter/medicalAmbulanceData/queryById', - dataEdit = '/medical-center/medicalCenter/medicalAmbulanceData/edit', - dataNewEdit = '/medical-center/medicalCenter/ambulanceDataNew/edit', - dataDelete = '/medical-center/medicalCenter/medicalAmbulanceData/delete', - dataNewDelete = '/medical-center/medicalCenter/ambulanceDataNew/delete', - importExcelUrl = '/medical-center/medicalCenter/medicalAmbulance/importExcel', - exportExcelUrl = '/medical-center/medicalCenter/medicalAmbulance/exportXls', - dataExportExcelUrl = '/medical-center/medicalCenter/medicalAmbulanceData/exportXls', - dataExportExcelUrlNew = '/medical-center/medicalCenter/ambulanceDataNew/exportXls', - dataImportExcelUrl = '/medical-center/medicalCenter/medicalAmbulanceData/importExcel', - dataImportExcelUrlNew = '/medical-center/medicalCenter/ambulanceDataNew/importExcel', - // 救护车司机 - allDriverList = '/medical-center/medicalCenter/medicalAmbulance/driverList', -} -//列表 -export const ambulanceList = (params) => defHttp.get({ url: Api.ambulanceList, params }); -export const ambulanceListById = (params) => defHttp.get({ url: Api.ambulanceListById, params }); -//医疗点-用户单位 -export const departList = (params = {}) => defHttp.get({ url: Api.departList, params }); -export const medicalCenterList = (params = {}) => defHttp.get({ url: Api.medicalCenterList, params }); -// 救护车新增 -export const ambulanceAdd = (params) => defHttp.post({ url: Api.ambulanceAdd, params }); -//救护车编辑 -export const ambulanceEdit = (params) => defHttp.put({ url: Api.ambulanceEdit, params }); -// 医院列表 -export const selectMedicalHospitalList = (params) => defHttp.get({ url: Api.selectMedicalHospitalList, params }); -//删除 -export const ambulanceDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.ambulanceDelete, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; //删除 -export const ambulanceDeleteBatch = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.ambulanceDeleteBatch, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; - -//救护车数据管理列表 -export const dataListApi = (params) => defHttp.get({ url: Api.dataList, params }); -export const datanewListApi = (params) => defHttp.get({ url: Api.datanewList, params }); -//新增 -export const dataAddApi = (params) => defHttp.post({ url: Api.dataAdd, params }); -export const dataNewAddApi = (params) => defHttp.post({ url: Api.dataNewAdd, params }); -export const dataBuIdApi = (params) => defHttp.get({ url: Api.dataBuId, params }); -export const dataEditApi = (params) => defHttp.put({ url: Api.dataEdit, params }); -export const dataNewEditApi = (params) => defHttp.put({ url: Api.dataNewEdit, params }); -export const dataDeleteApi = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.dataDelete, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -export const dataNewDeleteApi = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.dataNewDelete, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; - -export const importExcelUrl = (params) => defHttp.post({ url: Api.importExcelUrl, params }, { isTransformResponse: false }); -export const dataImportExcelUrl = (params) => defHttp.post({ url: Api.dataImportExcelUrl, params }, { isTransformResponse: false }); -export const dataImportExcelUrlNew = (params) => defHttp.post({ url: Api.dataImportExcelUrlNew, params }, { isTransformResponse: false }); -export const exportExcelUrl = Api.exportExcelUrl; -export const dataExportExcelUrl = Api.dataExportExcelUrl; -export const dataExportExcelUrlNew = Api.dataExportExcelUrlNew; - -export const allDriverList = (params) => defHttp.get({ url: Api.allDriverList, params }); diff --git a/src/views/interveneNew/medicalPoints/ambulance/ambulance.data.ts b/src/views/interveneNew/medicalPoints/ambulance/ambulance.data.ts deleted file mode 100644 index 37663b8..0000000 --- a/src/views/interveneNew/medicalPoints/ambulance/ambulance.data.ts +++ /dev/null @@ -1,980 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { Image, message } from 'ant-design-vue'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; -import { getPhysicalHospitalsList } from '/@/views/system/user/user.api'; -import { medicalCenterList, resourceStaff } from '/@/views/medicalCenter/treatment/treatment.api'; -import { departList } from '/@/views/interveneNew/medicalPoints/managedCare/managedCare.api'; -import { allSecondaryDepartsNew, getThirdDepartsNew } from '/@/utils/orgSearchInfo'; -import { getApi } from '/@/utils/medicalUtils'; -import { getDictCache } from '/@/utils/dict'; -import { allDriverList } from '/@/views/interveneNew/medicalPoints/ambulance/ambulance.api'; - -export const columns: BasicColumn[] = [ - { - title: '所属单位', - dataIndex: ['medicalResource', 'departName'], - align: 'center', - width: 140, - }, - { - title: '所属医疗点', - dataIndex: ['medicalResource', 'name'], - align: 'center', - width: 140, - }, - { - title: '救护类型', - dataIndex: 'rescueCapabilityType', - align: 'center', - customRender: ({ text }) => { - if (text == '0') return '急救型'; - if (text == '1') return '转运型'; - }, - width: 100, - }, - { - title: '车型', - dataIndex: 'model', - align: 'center', - width: 100, - }, - { - title: '车牌号', - dataIndex: 'licensePlateNumber', - align: 'center', - width: 140, - }, - { - title: '覆盖区域', - dataIndex: 'propagateArea', - align: 'center', - width: 200, - }, - { - title: '覆盖人数', - dataIndex: 'propagateNum', - align: 'center', - width: 100, - }, - { - title: '驾驶员姓名', - dataIndex: 'driverName', - align: 'center', - width: 100, - }, - { - title: '驾驶员联系电话', - dataIndex: 'phone', - align: 'center', - width: 140, - }, - { - title: '是否安装GPS', - dataIndex: 'isGps', - align: 'center', - customRender: ({ text }) => { - if (text == '0') return '否'; - if (text == '1') return '是'; - }, - width: 100, - }, -]; - -export const schemas: FormSchema[] = [ - { - label: '所属单位', - field: 'departCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel['resourceId'] = ''; - }, - }; - }, - // dynamicRules: () => { - // return [{ required: true, message: '请选择所属单位' }]; - // }, - }, - { - label: '所属医疗点', - field: 'resourceId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel?.departCode || 'abab123', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - onFocus: () => { - if (!formModel?.departCode) { - return message.warn('请先选择所属单位'); - } - }, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '救护类型', - field: 'rescueCapabilityType', - component: 'Select', - componentProps: () => { - return { - options: [ - { - label: '急救型', - value: 0, - }, - { - label: '转运型', - value: 1, - }, - ], - }; - }, - }, -]; - -function getNumberRegExp(_, value) { - const patternNumber = /^\d*(\.\d+)?$/; - if (!patternNumber.test(value) || value < 0) { - return Promise.reject('请输入有效数字'); - } - return Promise.resolve(); -} - -export const ambulanceSchemas: FormSchema[] = [ - { - label: '', - field: 'info', - component: 'Input', - slot: 'info', - }, - { - label: '所属单位', - field: 'departCode', - required: true, - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel['resourceId'] = ''; - }, - }; - }, - dynamicRules: () => { - return [{ required: true, message: '请选择所属单位' }]; - }, - }, - { - label: '所属医疗点', - field: 'resourceId', - required: true, - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel?.departCode || 'abab123', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - onFocus: () => { - if (!formModel?.departCode) { - return message.warn('请先选择所属单位'); - } - }, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '车型', - field: 'model', - component: 'Input', - required: true, - }, - { - label: '车牌号', - field: 'licensePlateNumber', - component: 'Input', - required: true, - }, - { - label: '年支付费用', - field: 'payFeeYear', - component: 'InputNumber', - componentProps: () => { - return { - addonAfter: '万元', - style: { width: '100%' }, - }; - }, - rules: [ - { - required: false, - validator: getNumberRegExp, - }, - ], - }, - { - label: '救护车所属机构名称', - field: 'belongName', - component: 'Input', - }, - { - label: '开始服务年份', - field: 'yearOfService', - component: 'DatePicker', - required: true, - componentProps: () => { - return { - picker: 'year', - format: 'YYYY', - valueFormat: 'YYYY', - showTime: { format: 'YYYY' }, - disabledDate: (current) => current > new Date(), - }; - }, - }, - { - label: '是否安装GPS', - field: 'isGps', - component: 'RadioGroup', - componentProps: () => { - return { - options: [ - { - label: '是', - value: 1, - }, - { - label: '否', - value: 0, - }, - ], - }; - }, - }, - { - label: '是否链接公司车辆管理系统', - field: 'isManagementSystem', - component: 'RadioGroup', - componentProps: () => { - return { - options: [ - { - label: '是', - value: 1, - }, - { - label: '否', - value: 0, - }, - ], - }; - }, - }, - { - label: '救护车照片', - field: 'ambulancePhoto', - component: 'JImageUpload', - componentProps: { - fileMax: 5, - }, - }, - { - label: '', - field: 'cover', - component: 'Input', - slot: 'cover', - }, - { - label: '覆盖区域', - field: 'propagateArea', - required: true, - component: 'Input', - }, - { - label: '覆盖人数', - field: 'propagateNum', - component: 'InputNumber', - componentProps: () => { - return { - style: { width: '100%' }, - }; - }, - rules: [ - { - required: true, - validator: getNumberRegExp, - }, - ], - }, - { - label: '', - field: 'rescue', - component: 'Input', - slot: 'rescue', - }, - { - label: '类型', - field: 'rescueCapabilityType', - component: 'RadioGroup', - required: true, - componentProps: () => { - return { - options: [ - { - label: '急救型', - value: 0, - }, - { - label: '转运型', - value: 1, - }, - ], - }; - }, - }, - { - label: '所配急救设备', - field: 'rescueDevice', - component: 'InputTextArea', - }, - { - label: '救护能力', - field: 'rescueCapability', - component: 'InputTextArea', - }, - { - label: '', - field: 'driverInfo', - slot: 'driverInfo', - component: 'Input', - }, - { - label: '姓名', - field: 'driverName', - required: true, - component: 'Input', - }, - { - label: '联系电话', - field: 'phone', - component: 'Input', - rules: [ - { - required: true, - pattern: /^(0\d{2,3}-\d{7,8})$|^(0\d{2,3}\d{7,8})|^(\(\d{3,4}\)-\d{7,8})$|^(\(\d{3,4}\)\d{7,8})$|^1[3456789]\d{9}$/, - message: '手机号码或座机号码格式有误', - trigger: 'blur', - }, - ], - }, - { - label: '驾驶证', - field: 'driversLicensePhoto', - component: 'JImageUpload', - componentProps: { - fileMax: 5, - }, - // rules: [{ required: true, message: '请上传图片' }], - }, - { - label: '资格证', - field: 'qualificationLicensePhoto', - component: 'JImageUpload', - componentProps: { - fileMax: 5, - }, - // rules: [{ required: true, message: '请上传图片' }], - }, -]; - -//救护车数据管理 -export const embulanceDataColumns: BasicColumn[] = [ - { - title: '日期', - dataIndex: 'dataTime', - align: 'center', - width: 200, - }, - { - title: '病情急救', - dataIndex: '', - align: 'center', - children: [ - { - title: '出勤次数', - dataIndex: 'illnessAttendanceNum', - align: 'center', - width: 200, - }, - { - title: '急救人次', - dataIndex: 'illnessExigencyNum', - align: 'center', - width: 200, - }, - ], - }, - { - title: '伤情急救', - dataIndex: '', - align: 'center', - children: [ - { - title: '出勤次数', - dataIndex: 'woundAttendanceNum', - align: 'center', - width: 200, - }, - { - title: '急救人次', - dataIndex: 'woundExigencyNum', - align: 'center', - width: 200, - }, - ], - }, - { - title: '日常巡诊次数', - dataIndex: 'dayDiagnosisNum', - align: 'center', - customRender: ({ text }) => { - if (!text) return '0'; - return text; - }, - width: 200, - }, - { - title: '应急戒备次数', - dataIndex: 'emergencyNum', - align: 'center', - customRender: ({ text }) => { - if (!text) return '0'; - return text; - }, - width: 200, - }, -]; - -export const embulanceDataColumnsNew: BasicColumn[] = [ - { - title: '出勤日期', - dataIndex: 'dataTime', - align: 'center', - width: 200, - }, - { - title: '出勤类型', - dataIndex: 'dispatchType_dictText', - align: 'center', - width: 200, - }, - { - title: '出勤司机', - dataIndex: 'driverName', - align: 'center', - width: 200, - }, - { - title: '出勤司机电话', - dataIndex: 'driverPhone', - align: 'center', - width: 200, - }, - { - title: '随车医护', - dataIndex: 'staffInfo', - align: 'center', - customRender: ({ record }) => { - if (!record?.staffInfo) return '-'; - return record?.staffInfo - .map((item) => { - return item.realName; - }) - .toString(); - }, - width: 200, - }, - { - title: '出勤地点', - dataIndex: 'outAddress', - align: 'center', - width: 200, - }, - { - title: '到达地点', - dataIndex: 'toAddress', - align: 'center', - width: 200, - }, -]; -export const embulanceDataSchemas: FormSchema[] = [ - { - field: 'dataTime', - label: '日期', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - 'onUpdate:value': (value) => { - if (value) { - formModel.startDate = value[0]; - formModel.endDate = value[1]; - } else { - formModel.startDate = null; - formModel.endDate = null; - } - }, - }; - }, - }, - { - label: '', - field: 'startDate', - component: 'Input', - show: false, - }, - { - label: '', - field: 'endDate', - component: 'Input', - show: false, - }, -]; - -export const ambulanceDataSchemas: FormSchema[] = [ - { - label: '出勤日期', - field: 'dataTime', - component: 'DatePicker', - componentProps: { - //日期格式化 - format: 'YYYY-MM-DD', - valueFormat: 'YYYY-MM-DD', - }, - required: true, - }, - { - label: '', - field: 'disease', - component: 'Input', - slot: 'disease', - }, - { - label: '出勤次数', - field: 'illnessAttendanceNum', - component: 'Input', - required: true, - }, - { - label: '急救人次', - field: 'illnessExigencyNum', - component: 'Input', - required: true, - }, - { - label: '', - field: 'injury', - component: 'Input', - slot: 'injury', - }, - { - label: '出勤次数', - field: 'woundAttendanceNum', - component: 'Input', - required: true, - }, - { - label: '急救人次', - field: 'woundExigencyNum', - component: 'Input', - required: true, - }, - { - label: '日常巡诊次数', - field: 'dayDiagnosisNum', - component: 'Input', - required: true, - }, - { - label: '应急戒备次数', - field: 'emergencyNum', - component: 'Input', - required: true, - }, - // { - // label: '', - // field: 'disease', - // component: 'Input', - // slot: 'disease', - // }, - // { - // label: '出勤类型', - // field: 'dispatchType', - // component: 'RadioGroup', - // componentProps: () => { - // return { - // options: getDictCache('dispatch_type'), - // }; - // }, - // required: true, - // }, - // { - // label: '出勤司机', - // field: 'driverName', - // required: true, - // component: 'ApiSelect', - // componentProps: ({ formModel }) => { - // return { - // api: allDriverList, - // labelField: 'driverName', - // valueField: 'id', - // immediate: true, - // allowClear: false, - // disabledInitValue: true, - // getPopupContainer: () => document.body, - // onChange: async (val) => { - // console.log(val); - // const data = await allDriverList({}); - // const seleteData = data.filter((item) => item.id === val)[0]; - // formModel.driverName = seleteData?.driverName; - // formModel.driverPhone = seleteData?.phone; - // }, - // }; - // }, - // }, - // { - // label: '司机电话', - // field: 'driverPhone', - // component: 'Input', - // show: false, - // }, - // { - // label: '随车医护', - // field: 'staffVOList', - // component: 'ApiSelect', - // componentProps: ({ formModel }) => { - // return { - // api: '', - // }; - // }, - // required: true, - // slot: 'staffVOList', - // }, - // { - // label: '出勤地点', - // field: 'outAddress', - // component: 'Input', - // required: true, - // }, - // { - // label: '到达地点', - // field: 'toAddress', - // component: 'Input', - // required: true, - // }, - // { - // label: '出勤次数', - // field: 'illnessAttendanceNum', - // component: 'InputNumber', - // componentProps: () => { - // return { - // style: { width: '100%' }, - // }; - // }, - // rules: [ - // { - // required: true, - // validator: getNumberRegExp, - // }, - // ], - // }, - // { - // label: '急救人次', - // field: 'illnessExigencyNum', - // component: 'InputNumber', - // componentProps: () => { - // return { - // style: { width: '100%' }, - // }; - // }, - // rules: [ - // { - // required: true, - // validator: getNumberRegExp, - // }, - // ], - // }, - // { - // label: '', - // field: 'injury', - // component: 'Input', - // slot: 'injury', - // }, - // { - // label: '出勤次数', - // field: 'woundAttendanceNum', - // component: 'InputNumber', - // componentProps: () => { - // return { - // style: { width: '100%' }, - // }; - // }, - // rules: [ - // { - // required: true, - // validator: getNumberRegExp, - // }, - // ], - // }, - // { - // label: '急救人次', - // field: 'woundExigencyNum', - // component: 'InputNumber', - // componentProps: () => { - // return { - // style: { width: '100%' }, - // }; - // }, - // rules: [ - // { - // required: true, - // validator: getNumberRegExp, - // }, - // ], - // }, - // { - // label: '日常巡诊次数', - // field: 'dayDiagnosisNum', - // component: 'InputNumber', - // componentProps: () => { - // return { - // style: { width: '100%' }, - // }; - // }, - // rules: [ - // { - // required: true, - // validator: getNumberRegExp, - // }, - // ], - // }, - // { - // label: '应急戒备次数', - // field: 'emergencyNum', - // component: 'InputNumber', - // componentProps: () => { - // return { - // style: { width: '100%' }, - // }; - // }, - // rules: [ - // { - // required: true, - // validator: getNumberRegExp, - // }, - // ], - // }, -]; - -export const ambulanceDataSchemasNew: FormSchema[] = [ - { - label: '出勤日期', - field: 'dataTime', - component: 'DatePicker', - componentProps: { - //日期格式化 - format: 'YYYY-MM-DD', - valueFormat: 'YYYY-MM-DD', - }, - required: true, - }, - // { - // label: '', - // field: 'disease', - // component: 'Input', - // slot: 'disease', - // }, - { - label: '出勤类型', - field: 'dispatchType', - component: 'RadioGroup', - componentProps: () => { - return { - options: getDictCache('dispatch_type'), - }; - }, - required: true, - }, - { - label: '出勤司机', - field: 'driverName', - required: true, - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: allDriverList, - labelField: 'driverName', - valueField: 'id', - immediate: true, - allowClear: false, - disabledInitValue: true, - getPopupContainer: () => document.body, - onChange: async (val) => { - const data = await allDriverList({}); - const seleteData = data.filter((item) => item.id === val)[0]; - formModel.driverName = seleteData?.driverName; - formModel.driverPhone = seleteData?.phone; - }, - }; - }, - }, - { - label: '司机电话', - field: 'driverPhone', - component: 'Input', - show: false, - }, - { - label: '随车医护', - field: 'staffVOList', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: '', - }; - }, - required: true, - slot: 'staffVOList', - }, - { - label: '出勤地点', - field: 'outAddress', - component: 'Input', - required: true, - }, - { - label: '到达地点', - field: 'toAddress', - component: 'Input', - required: true, - }, -]; - -export const rkFormSchema: FormSchema[] = [ - { - label: '上传文件', - field: 'file', - component: 'Input', - required: true, - slot: 'file', - }, - { - label: '所属单位', - field: 'departCode', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - onChange: () => { - formModel['resourceId'] = ''; - }, - }; - }, - }, - { - label: '所属医疗点', - field: 'resourceId', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel?.departCode || 'abab123', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - onFocus: () => { - if (!formModel?.departCode) { - return message.warn('请先选择所属单位'); - } - }, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - }; - }, - }, -]; - -export const rkDataFormSchema: FormSchema[] = [ - { - label: '上传文件', - field: 'file', - component: 'Input', - required: true, - slot: 'file', - }, -]; diff --git a/src/views/interveneNew/medicalPoints/ambulance/ambulance.vue b/src/views/interveneNew/medicalPoints/ambulance/ambulance.vue deleted file mode 100644 index 9eb997e..0000000 --- a/src/views/interveneNew/medicalPoints/ambulance/ambulance.vue +++ /dev/null @@ -1,140 +0,0 @@ - - diff --git a/src/views/interveneNew/medicalPoints/ambulance/components/ambulanceDrawer.vue b/src/views/interveneNew/medicalPoints/ambulance/components/ambulanceDrawer.vue deleted file mode 100644 index 27f9cb0..0000000 --- a/src/views/interveneNew/medicalPoints/ambulance/components/ambulanceDrawer.vue +++ /dev/null @@ -1,149 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/ambulance/components/ambulanceImportModal.vue b/src/views/interveneNew/medicalPoints/ambulance/components/ambulanceImportModal.vue deleted file mode 100644 index a58d07e..0000000 --- a/src/views/interveneNew/medicalPoints/ambulance/components/ambulanceImportModal.vue +++ /dev/null @@ -1,114 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/ambulance/components/ambulanceViewDrawer.vue b/src/views/interveneNew/medicalPoints/ambulance/components/ambulanceViewDrawer.vue deleted file mode 100644 index e9d5303..0000000 --- a/src/views/interveneNew/medicalPoints/ambulance/components/ambulanceViewDrawer.vue +++ /dev/null @@ -1,208 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/ambulance/dataManagement/dataImportModal.vue b/src/views/interveneNew/medicalPoints/ambulance/dataManagement/dataImportModal.vue deleted file mode 100644 index ca90336..0000000 --- a/src/views/interveneNew/medicalPoints/ambulance/dataManagement/dataImportModal.vue +++ /dev/null @@ -1,120 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/ambulance/dataManagement/dataManagement.vue b/src/views/interveneNew/medicalPoints/ambulance/dataManagement/dataManagement.vue deleted file mode 100644 index 83253c8..0000000 --- a/src/views/interveneNew/medicalPoints/ambulance/dataManagement/dataManagement.vue +++ /dev/null @@ -1,185 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/ambulance/dataManagement/dataManagementModal.vue b/src/views/interveneNew/medicalPoints/ambulance/dataManagement/dataManagementModal.vue deleted file mode 100644 index cc838b2..0000000 --- a/src/views/interveneNew/medicalPoints/ambulance/dataManagement/dataManagementModal.vue +++ /dev/null @@ -1,242 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/ambulance/dataManagement/doctorModal.vue b/src/views/interveneNew/medicalPoints/ambulance/dataManagement/doctorModal.vue deleted file mode 100644 index c8b20b8..0000000 --- a/src/views/interveneNew/medicalPoints/ambulance/dataManagement/doctorModal.vue +++ /dev/null @@ -1,36 +0,0 @@ - - diff --git a/src/views/interveneNew/medicalPoints/ambulanceData/ambulanceData.api.ts b/src/views/interveneNew/medicalPoints/ambulanceData/ambulanceData.api.ts deleted file mode 100644 index 8856039..0000000 --- a/src/views/interveneNew/medicalPoints/ambulanceData/ambulanceData.api.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/medical-center/medicalCenter/medicalAmbulance/statisticsList', - listNew = '/medical-center/medicalCenter/medicalAmbulance/statisticsList/v2', -} - -export const listApi = (params) => defHttp.get({ url: Api.list, params }); -export const listNewApi = (params) => defHttp.get({ url: Api.listNew, params }); diff --git a/src/views/interveneNew/medicalPoints/ambulanceData/ambulanceData.data.ts b/src/views/interveneNew/medicalPoints/ambulanceData/ambulanceData.data.ts deleted file mode 100644 index 069a81a..0000000 --- a/src/views/interveneNew/medicalPoints/ambulanceData/ambulanceData.data.ts +++ /dev/null @@ -1,983 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; -import { medicalCenterList } from '/@/views/interveneNew/medicalPoints/managedCare/managedCare.api'; -import { message } from 'ant-design-vue'; -import { getStartEndByType } from '/@/views/archive/newHealthCabin/cabinStatistics/cabinStatisticsHooks'; -import dayjs from 'dayjs'; -import { getApi } from '/@/utils/medicalUtils'; - -const columns: BasicColumn[] = [ - { - title: '所属单位', - dataIndex: 'departName', - align: 'center', - width: 150, - }, - { - title: '所属医疗点', - dataIndex: 'resourceName', - align: 'center', - width: 150, - }, - { - title: '救护类型', - dataIndex: 'rescueCapabilityType', - align: 'center', - width: 150, - customRender: ({ text }) => { - if (text == '0') return '急救型'; - if (text == '1') return '转运型'; - }, - }, - { - title: '车型', - dataIndex: 'model', - align: 'center', - width: 150, - }, - { - title: '车牌号', - dataIndex: 'licensePlateNumber', - align: 'center', - width: 150, - }, -]; -const columns1: BasicColumn[] = [ - ...columns, - - { - title: '病情急救', - dataIndex: '', - align: 'center', - children: [ - { - title: '本周出勤次数', - dataIndex: 'illnessAttendanceNum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'illnessAttendanceTotalNum', - align: 'center', - width: 150, - }, - { - title: '本周急救人次', - dataIndex: 'illnessExigencyNum', - align: 'center', - width: 150, - }, - { - title: '累计急救人次', - dataIndex: 'illnessExigencyTotalNum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '伤情急救 ', - dataIndex: '', - align: 'center', - children: [ - { - title: '本周出勤次数', - dataIndex: 'woundAttendanceNum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'woundAttendanceTotalNum', - align: 'center', - width: 150, - }, - { - title: '本周急救人次', - dataIndex: 'woundExigencyNum', - align: 'center', - width: 150, - }, - { - title: '累计急救人次', - dataIndex: 'woundExigencyTotalNum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '日常巡诊', - dataIndex: '', - align: 'center', - children: [ - { - title: '本周次数', - dataIndex: 'dayDiagnosisNum', - align: 'center', - width: 150, - }, - { - title: '累计次数', - dataIndex: 'dayDiagnosisTotalNum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '应急戒备', - dataIndex: '', - align: 'center', - children: [ - { - title: '本周次数', - dataIndex: 'emergencyNum', - align: 'center', - width: 150, - }, - { - title: '累计次数', - dataIndex: 'emergencyTotalNum', - align: 'center', - width: 150, - }, - ], - }, -]; -const columns2: BasicColumn[] = [ - ...columns, - - { - title: '病情急救', - dataIndex: '', - align: 'center', - children: [ - { - title: '本月出勤次数', - dataIndex: 'illnessAttendanceNum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'illnessAttendanceTotalNum', - align: 'center', - width: 150, - }, - { - title: '本月急救人次', - dataIndex: 'illnessExigencyNum', - align: 'center', - width: 150, - }, - { - title: '累计急救人次', - dataIndex: 'illnessExigencyTotalNum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '伤情急救 ', - dataIndex: '', - align: 'center', - children: [ - { - title: '本月出勤次数', - dataIndex: 'woundAttendanceNum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'woundAttendanceTotalNum', - align: 'center', - width: 150, - }, - { - title: '本月急救人次', - dataIndex: 'woundExigencyNum', - align: 'center', - width: 150, - }, - { - title: '累计急救人次', - dataIndex: 'woundExigencyTotalNum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '日常巡诊', - dataIndex: '', - align: 'center', - children: [ - { - title: '本月次数', - dataIndex: 'dayDiagnosisNum', - align: 'center', - width: 150, - }, - { - title: '累计次数', - dataIndex: 'dayDiagnosisTotalNum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '应急戒备', - dataIndex: '', - align: 'center', - children: [ - { - title: '本月次数', - dataIndex: 'emergencyNum', - align: 'center', - width: 150, - }, - { - title: '累计次数', - dataIndex: 'emergencyTotalNum', - align: 'center', - width: 150, - }, - ], - }, -]; -const columns3: BasicColumn[] = [ - ...columns, - - { - title: '病情急救', - dataIndex: '', - align: 'center', - children: [ - { - title: '本年出勤次数', - dataIndex: 'illnessAttendanceNum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'illnessAttendanceTotalNum', - align: 'center', - width: 150, - }, - { - title: '本年急救人次', - dataIndex: 'illnessExigencyNum', - align: 'center', - width: 150, - }, - { - title: '累计急救人次', - dataIndex: 'illnessExigencyTotalNum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '伤情急救 ', - dataIndex: '', - align: 'center', - children: [ - { - title: '本年出勤次数', - dataIndex: 'woundAttendanceNum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'woundAttendanceTotalNum', - align: 'center', - width: 150, - }, - { - title: '本年急救人次', - dataIndex: 'woundExigencyNum', - align: 'center', - width: 150, - }, - { - title: '累计急救人次', - dataIndex: 'woundExigencyTotalNum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '日常巡诊', - dataIndex: '', - align: 'center', - children: [ - { - title: '本年次数', - dataIndex: 'dayDiagnosisNum', - align: 'center', - width: 150, - }, - { - title: '累计次数', - dataIndex: 'dayDiagnosisTotalNum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '应急戒备', - dataIndex: '', - align: 'center', - children: [ - { - title: '本年次数', - dataIndex: 'emergencyNum', - align: 'center', - width: 150, - }, - { - title: '累计次数', - dataIndex: 'emergencyTotalNum', - align: 'center', - width: 150, - }, - ], - }, -]; -const columns4: BasicColumn[] = [ - ...columns, - - { - title: '病情急救', - dataIndex: '', - align: 'center', - children: [ - { - title: '当前出勤次数', - dataIndex: 'illnessAttendanceNum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'illnessAttendanceTotalNum', - align: 'center', - width: 150, - }, - { - title: '当前急救人次', - dataIndex: 'illnessExigencyNum', - align: 'center', - width: 150, - }, - { - title: '累计急救人次', - dataIndex: 'illnessExigencyTotalNum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '伤情急救 ', - dataIndex: '', - align: 'center', - children: [ - { - title: '当前出勤次数', - dataIndex: 'woundAttendanceNum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'woundAttendanceTotalNum', - align: 'center', - width: 150, - }, - { - title: '当前急救人次', - dataIndex: 'woundExigencyNum', - align: 'center', - width: 150, - }, - { - title: '累计急救人次', - dataIndex: 'woundExigencyTotalNum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '日常巡诊', - dataIndex: '', - align: 'center', - children: [ - { - title: '当前次数', - dataIndex: 'dayDiagnosisNum', - align: 'center', - width: 150, - }, - { - title: '累计次数', - dataIndex: 'dayDiagnosisTotalNum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '应急戒备', - dataIndex: '', - align: 'center', - children: [ - { - title: '当前次数', - dataIndex: 'emergencyNum', - align: 'center', - width: 150, - }, - { - title: '累计次数', - dataIndex: 'emergencyTotalNum', - align: 'center', - width: 150, - }, - ], - }, -]; - -const columns1New: BasicColumn[] = [ - ...columns, - { - title: '急诊转运', - dataIndex: '', - align: 'center', - children: [ - { - title: '本周出勤次数', - dataIndex: 'jzWeekSum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'jzTotalSum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '平诊转运', - dataIndex: '', - align: 'center', - children: [ - { - title: '本周出勤次数', - dataIndex: 'pzWeekSum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'pzTotalSum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '日常巡诊', - dataIndex: '', - align: 'center', - children: [ - { - title: '本周出勤次数', - dataIndex: 'rcWeekSum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'rcTotalSum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '应急戒备', - dataIndex: '', - align: 'center', - children: [ - { - title: '本周出勤次数', - dataIndex: 'yjWeekSum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'yjTotalSum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '其他', - dataIndex: '', - align: 'center', - children: [ - { - title: '本周出勤次数', - dataIndex: 'qtWeekSum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'qtTotalSum', - align: 'center', - width: 150, - }, - ], - }, -]; -const columns2New: BasicColumn[] = [ - ...columns, - { - title: '急诊转运', - dataIndex: '', - align: 'center', - children: [ - { - title: '本月出勤次数', - dataIndex: 'jzWeekSum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'jzTotalSum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '平诊转运', - dataIndex: '', - align: 'center', - children: [ - { - title: '本月出勤次数', - dataIndex: 'pzWeekSum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'pzTotalSum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '日常巡诊', - dataIndex: '', - align: 'center', - children: [ - { - title: '本月出勤次数', - dataIndex: 'rcWeekSum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'rcTotalSum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '应急戒备', - dataIndex: '', - align: 'center', - children: [ - { - title: '本月出勤次数', - dataIndex: 'yjWeekSum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'yjTotalSum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '其他', - dataIndex: '', - align: 'center', - children: [ - { - title: '本月出勤次数', - dataIndex: 'qtWeekSum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'qtTotalSum', - align: 'center', - width: 150, - }, - ], - }, -]; -const columns3New: BasicColumn[] = [ - ...columns, - { - title: '急诊转运', - dataIndex: '', - align: 'center', - children: [ - { - title: '本年出勤次数', - dataIndex: 'jzWeekSum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'jzTotalSum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '平诊转运', - dataIndex: '', - align: 'center', - children: [ - { - title: '本年出勤次数', - dataIndex: 'pzWeekSum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'pzTotalSum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '日常巡诊', - dataIndex: '', - align: 'center', - children: [ - { - title: '本年出勤次数', - dataIndex: 'rcWeekSum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'rcTotalSum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '应急戒备', - dataIndex: '', - align: 'center', - children: [ - { - title: '本年出勤次数', - dataIndex: 'yjWeekSum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'yjTotalSum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '其他', - dataIndex: '', - align: 'center', - children: [ - { - title: '本年出勤次数', - dataIndex: 'qtWeekSum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'qtTotalSum', - align: 'center', - width: 150, - }, - ], - }, -]; -const columns4New: BasicColumn[] = [ - ...columns, - { - title: '急诊转运', - dataIndex: '', - align: 'center', - children: [ - { - title: '时段内出勤次数', - dataIndex: 'jzWeekSum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'jzTotalSum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '平诊转运', - dataIndex: '', - align: 'center', - children: [ - { - title: '时段内出勤次数', - dataIndex: 'pzWeekSum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'pzTotalSum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '日常巡诊', - dataIndex: '', - align: 'center', - children: [ - { - title: '时段内出勤次数', - dataIndex: 'rcWeekSum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'rcTotalSum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '应急戒备', - dataIndex: '', - align: 'center', - children: [ - { - title: '时段内出勤次数', - dataIndex: 'yjWeekSum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'yjTotalSum', - align: 'center', - width: 150, - }, - ], - }, - { - title: '其他', - dataIndex: '', - align: 'center', - children: [ - { - title: '时段内出勤次数', - dataIndex: 'qtWeekSum', - align: 'center', - width: 150, - }, - { - title: '累计出勤次数', - dataIndex: 'qtTotalSum', - align: 'center', - width: 150, - }, - ], - }, -]; -export const columnList = [columns1, columns2, columns3, columns4]; -export const columnListNew = [columns1New, columns2New, columns3New, columns4New]; -const formatRule = { - week: 'YYYY-MM-DD', - month: 'YYYY-MM', - year: 'YYYY', -}; -export const schema = (dateType) => { - let [start] = getStartEndByType(dateType, formatRule[dateType]); - return [ - { - label: '单位名称', - field: 'departCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel.resourceId = ''; - }, - onDeselect: () => { - formModel.resourceId = ''; - }, - }; - }, - }, - { - label: '所属医疗点', - field: 'resourceId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel.departCode || 'abc', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onFocus: () => { - if (!formModel.departCode) { - return message.warning('请先选择单位'); - } - }, - }; - }, - }, - { - label: '救护类型', - field: 'rescueCapabilityType', - component: 'Select', - componentProps: () => { - return { - options: [ - { - label: '转运型', - value: 1, - }, - { - label: '急救型', - value: 0, - }, - ], - }; - }, - }, - { - field: 'dateRange', - label: '时间', - component: 'DatePicker', - componentProps: () => ({ - picker: dateType, - valueFormat: formatRule[dateType], - format: (value) => - dateType == 'week' - ? `${dayjs(value).startOf(dateType).format(formatRule[dateType])} ~ ${dayjs(value) - .endOf(dateType) - .format(formatRule[dateType])}` - : dayjs(value).format(dateType === 'picker' ? 'YYYY-MM-DD' : formatRule[dateType]), - style: { - width: '100%', - }, - allowClear: false, - }), - defaultValue: start, - ifShow: dateType !== 'picker', - }, - { - field: 'dateRange1', - label: '时间', - component: 'RangeDate', - componentProps: () => { - return { - format: 'YYYY-MM-DD', - valueFormat: 'YYYY-MM-DD', - allowClear: false, - }; - }, - ifShow: dateType === 'picker', - }, - { - field: 'startTime', - label: '开始时间', - component: 'Input', - show: false, - }, - { - field: 'endTime', - label: '结束时间', - component: 'Input', - show: false, - }, - ] as FormSchema[]; -}; diff --git a/src/views/interveneNew/medicalPoints/ambulanceData/ambulanceData.vue b/src/views/interveneNew/medicalPoints/ambulanceData/ambulanceData.vue deleted file mode 100644 index 3dc619b..0000000 --- a/src/views/interveneNew/medicalPoints/ambulanceData/ambulanceData.vue +++ /dev/null @@ -1,95 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/medicalPoints/education/components/educationDetailModel.vue b/src/views/interveneNew/medicalPoints/education/components/educationDetailModel.vue deleted file mode 100644 index 998bbde..0000000 --- a/src/views/interveneNew/medicalPoints/education/components/educationDetailModel.vue +++ /dev/null @@ -1,194 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/medicalPoints/education/components/educationDrawer.vue b/src/views/interveneNew/medicalPoints/education/components/educationDrawer.vue deleted file mode 100644 index ed392b1..0000000 --- a/src/views/interveneNew/medicalPoints/education/components/educationDrawer.vue +++ /dev/null @@ -1,92 +0,0 @@ - - - - diff --git a/src/views/interveneNew/medicalPoints/education/education.api.ts b/src/views/interveneNew/medicalPoints/education/education.api.ts deleted file mode 100644 index 3e42080..0000000 --- a/src/views/interveneNew/medicalPoints/education/education.api.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical-center/medicalCenter/healthPropagate/list', - save = '/medical-center/medicalCenter/healthPropagate/add', - edit = '/medical-center/medicalCenter/healthPropagate/edit', - deleteOne = '/medical-center/medicalCenter/healthPropagate/delete', - deleteBatch = '/medical-center/medicalCenter/healthPropagate/deleteBatch', - exportXls = '/medical-center/medicalCenter/healthPropagate/exportXls', - importExcel = '/medical-center/medicalCenter/healthPropagate/importExcel', - departList = '/sys/sysDepart/allSecondaryDepartsNewBack', - medicalCenterList = '/medical-center/medicalCenter/medicalResource/all', - queryById = '/medical-center/medicalCenter/healthPropagate/queryById', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; - -export const list = (params) => defHttp.get({ url: Api.list, params }); -//医疗点-用户单位 -export const departList = (params = {}) => defHttp.get({ url: Api.departList, params }); -//医疗点集合 -export const medicalCenterList = (params = {}) => defHttp.get({ url: Api.medicalCenterList, params }); -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; -export const queryByData = (params) => defHttp.get({ url: Api.queryById, params }); diff --git a/src/views/interveneNew/medicalPoints/education/education.data.ts b/src/views/interveneNew/medicalPoints/education/education.data.ts deleted file mode 100644 index e13ac8d..0000000 --- a/src/views/interveneNew/medicalPoints/education/education.data.ts +++ /dev/null @@ -1,260 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { departList, medicalCenterList } from './education.api'; -import { message } from 'ant-design-vue'; -import dayjs from 'dayjs'; -import { getApi } from '/@/utils/medicalUtils'; - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'departName', - }, - { - title: '医疗点', - dataIndex: 'medicalCenterName', - }, - { - title: '宣教标题', - dataIndex: 'themeName', - }, - { - title: '宣教内容', - dataIndex: 'content', - }, - { - title: '宣教日期', - dataIndex: 'propagateDate', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, - { - title: '覆盖区域', - dataIndex: 'propagateArea', - }, - { - title: '参加人数', - dataIndex: 'participateNum', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '单位名称', - field: 'departmentId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'result', - labelField: 'departName', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: (_val: string, option: Recordable) => { - formModel.medicalCenterId = ''; - formModel.deptCode = option?.orgCode || ''; - }, - onDeselect: () => { - formModel.medicalCenterId = ''; - }, - }; - }, - }, - { - label: '医疗点', - field: 'medicalCenterId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel?.deptCode || 'ascas', - }, - resultField: 'result', - labelField: 'name', - valueField: 'id', - immediate: true, - onFocus: () => { - if (!formModel.departmentId) { - return message.warn('请先选择单位名称!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '单位orgCode', - field: 'deptCode', - component: 'Input', - show: false, - }, - { - label: '', - field: 'publicityType', - component: 'Input', - defaultValue: 1, - show: false, - }, - { - label: '日期', - field: 'propagateDate', - component: 'RangePicker', - componentProps: (formModel) => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - }; - }, - }, -]; - -export const drawerFormSchema: FormSchema[] = [ - { - label: '单位名称', - field: 'departmentId', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'result', - labelField: 'departName', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: (_val: string, option: Recordable) => { - formModel.medicalCenterId = ''; - formModel.departCode = option?.orgCode || ''; - }, - onDeselect: () => { - formModel.medicalCenterId = ''; - }, - }; - }, - }, - { - label: '医疗点', - field: 'medicalCenterId', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel?.departCode || 'ascas', - }, - resultField: 'result', - labelField: 'name', - valueField: 'id', - immediate: true, - onFocus: () => { - if (!formModel.departmentId) { - return message.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '单位orgCode', - field: 'departCode', - component: 'Input', - show: false, - }, - { - label: '宣教标题', - field: 'themeName', - component: 'Input', - required: true, - }, - { - label: '宣教日期', - field: 'propagateDate', - component: 'DatePicker', - required: true, - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - style: { - width: '100%', - }, - }; - }, - }, - { - label: '覆盖区域', - field: 'propagateArea', - component: 'InputTextArea', - componentProps: { - showCount: true, - maxlength: 2000, - }, - required: true, - }, - { - label: '参加人数', - field: 'participateNum', - component: 'InputNumber', - componentProps: () => ({ style: { width: '100%', min: 1 } }), - required: true, - }, - { - label: '宣教内容', - field: 'content', - component: 'InputTextArea', - required: true, - }, - { - label: '现场宣教照片', - field: 'trainingPhoto', - component: 'JImageUpload', - componentProps: () => ({ - accept: '.jpg,.png', - tipText: '只支持.jpg,.png格式', - fileMax: 999, - }), - }, - { - label: '宣教资料', - field: 'trainingMaterials', - component: 'JUpload', - componentProps: () => ({ - // accept: '.pdf,.pptx,.docx,.xlsx', - // tipText: '支持.pdf,.pptx,.docx,.xlsx格式', - fileMax: 999, - fileSize: 200, - }), - }, - { - label: '', - field: 'publicityType', - component: 'Input', - show: false, - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/medicalPoints/education/education.vue b/src/views/interveneNew/medicalPoints/education/education.vue deleted file mode 100644 index 1ad8bfb..0000000 --- a/src/views/interveneNew/medicalPoints/education/education.vue +++ /dev/null @@ -1,185 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationManagement/allocationManagement.data.ts b/src/views/interveneNew/medicalPoints/employeeAllocation/allocationManagement/allocationManagement.data.ts deleted file mode 100644 index 99605b4..0000000 --- a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationManagement/allocationManagement.data.ts +++ /dev/null @@ -1,388 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { message } from 'ant-design-vue'; -import { getSecondaryDepartmentList, getThirdDepartListByOrgCode } from '/@/views/system/user/user.api'; -import { medicalCenterList } from '/@/views/interveneNew/medicalPoints/managedCare/managedCare.api'; -import { orgSearchInfo } from '/@/utils/orgSearchInfo'; -import { allSecondaryDepartsNew } from '/@/utils/system/api'; -import { getApi } from '/@/utils/medicalUtils'; - -const columns1: BasicColumn[] = [ - { - title: '员工所属单位', - dataIndex: 'orgName', - align: 'center', - width: 120, - fixed: 'left', - }, - { - title: '员工所属部门', - dataIndex: 'userDepartName', - align: 'center', - width: 120, - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'name', - align: 'center', - width: 120, - fixed: 'left', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - align: 'center', - width: 120, - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - width: 120, - }, - { - title: '员工工号', - dataIndex: 'employeeCode', - align: 'center', - width: 120, - }, - { - title: '联系电话', - dataIndex: 'telPhone', - align: 'center', - width: 120, - }, - { - title: '医疗点所属单位', - dataIndex: 'medicalOrgName', - align: 'center', - width: 160, - }, - { - title: '分配医疗点', - dataIndex: 'medicalName', - align: 'center', - width: 160, - }, - { - title: '分配日期', - dataIndex: 'allocatedTime', - align: 'center', - width: 160, - }, -]; -const columns2: BasicColumn[] = [ - { - title: '员工所属单位', - dataIndex: 'orgName', - align: 'center', - width: 120, - fixed: 'left', - }, - { - title: '员工所属部门', - dataIndex: 'userDepartName', - align: 'center', - width: 120, - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'userName', - align: 'center', - width: 120, - fixed: 'left', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - align: 'center', - width: 120, - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - width: 120, - }, - { - title: '工号', - dataIndex: 'userNo', - align: 'center', - width: 120, - }, - { - title: '联系电话', - dataIndex: 'telPhone', - align: 'center', - width: 120, - }, -]; -export const columnsList = [columns1, columns2]; -export const schemas: FormSchema[] = [ - { - label: '员工姓名', - field: 'employeeName', - component: 'Input', - }, - { - label: '姓名', - field: 'name', - component: 'Input', - }, - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, - { - label: '员工工号', - field: 'employeeWork', - component: 'Input', - }, - ...orgSearchInfo({ - orgName: '员工所属单位', - orgPlaceholder: '请选择员工所属单位', - deptName: '员工所属部门', - deptPlaceholder: '请选择员工所属部门', - deptMessage: '请先选择员工所属单位', - }), - { - label: '医疗点所属单位', - field: 'medicalOrgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel.medicalId = ''; - }, - onDeselect: () => { - formModel.medicalId = ''; - }, - }; - }, - }, - { - label: '分配医疗点', - field: 'medicalId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel.medicalOrgCode || 'abc', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onFocus: () => { - if (!formModel.medicalOrgCode) { - return message.warning('请先选择医疗点所属单位'); - } - }, - }; - }, - }, -]; - -export const peopleColumns: BasicColumn[] = [ - { - title: '单位', - dataIndex: 'orgName', - align: 'center', - }, - { - title: '部门', - dataIndex: 'userDepartName', - align: 'center', - }, - { - title: '员工姓名', - dataIndex: 'userName', - align: 'center', - }, - { - title: '员工工号', - dataIndex: 'userNo', - align: 'center', - width: '100', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - align: 'center', - width: '60', - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - width: '60', - }, -]; - -export const formSchema: FormSchema[] = [ - { - label: '单位名称', - field: 'orgCode', - component: 'ApiSelect', - colProps: { span: 12 }, - required: true, - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - onChange: () => { - formModel.medicalId = ''; - }, - onDeselect: () => { - formModel.medicalId = ''; - }, - }; - }, - }, - { - label: '所属医疗点', - field: 'medicalId', - component: 'ApiSelect', - colProps: { span: 12 }, - required: true, - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel.orgCode || 'abc', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - onFocus: () => { - if (!formModel.orgCode) { - return message.warning('请先选择单位'); - } - }, - }; - }, - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'name', - component: 'Input', - }, - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, - ...orgSearchInfo({ - orgName: '所属单位', - orgPlaceholder: '请选择所属单位', - deptName: '所属部门', - deptPlaceholder: '请选择所属部门', - deptMessage: '请先选择所属单位', - }), -]; - -export const rkFormSchema: FormSchema[] = [ - { - label: '上传文件', - field: 'file', - component: 'Input', - required: true, - slot: 'file', - }, - { - label: '单位', - field: 'orgCode', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - onChange: () => { - formModel.medicalId = ''; - }, - onDeselect: () => { - formModel.medicalId = ''; - }, - }; - }, - }, - { - label: '所属医疗点', - field: 'medicalId', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel.orgCode || 'abc', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - onFocus: () => { - if (!formModel.orgCode) { - return message.warning('请先选择单位名称'); - } - }, - }; - }, - }, -]; diff --git a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationManagement/allocationManagement.vue b/src/views/interveneNew/medicalPoints/employeeAllocation/allocationManagement/allocationManagement.vue deleted file mode 100644 index f77c1fd..0000000 --- a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationManagement/allocationManagement.vue +++ /dev/null @@ -1,210 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationManagement/components/allocationAgain.vue b/src/views/interveneNew/medicalPoints/employeeAllocation/allocationManagement/components/allocationAgain.vue deleted file mode 100644 index 9f63a23..0000000 --- a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationManagement/components/allocationAgain.vue +++ /dev/null @@ -1,79 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationManagement/components/allocationMedical.vue b/src/views/interveneNew/medicalPoints/employeeAllocation/allocationManagement/components/allocationMedical.vue deleted file mode 100644 index 08ab820..0000000 --- a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationManagement/components/allocationMedical.vue +++ /dev/null @@ -1,78 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationManagement/components/allocationPeople.vue b/src/views/interveneNew/medicalPoints/employeeAllocation/allocationManagement/components/allocationPeople.vue deleted file mode 100644 index 8d73aab..0000000 --- a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationManagement/components/allocationPeople.vue +++ /dev/null @@ -1,139 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationManagement/components/exportModal.vue b/src/views/interveneNew/medicalPoints/employeeAllocation/allocationManagement/components/exportModal.vue deleted file mode 100644 index 1d3d7b5..0000000 --- a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationManagement/components/exportModal.vue +++ /dev/null @@ -1,113 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationManagement/components/exportUtil.vue b/src/views/interveneNew/medicalPoints/employeeAllocation/allocationManagement/components/exportUtil.vue deleted file mode 100644 index 2107aba..0000000 --- a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationManagement/components/exportUtil.vue +++ /dev/null @@ -1,140 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationStatistics/allcationStatistics.api.ts b/src/views/interveneNew/medicalPoints/employeeAllocation/allocationStatistics/allcationStatistics.api.ts deleted file mode 100644 index 67ce561..0000000 --- a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationStatistics/allcationStatistics.api.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - statisticList = '/medical-center/user-allocation/statistic/page', - employeeList = '/medical-center/user-allocation/allocated/employee/list', - nonList = '/medical-center/user-allocation/non', - allocationMedical = '/medical-center/user-allocation/for/employees/allocation/medical', - list = '/sys/healthUserEmployeeEx/list', - - batchMedical = '/medical-center/user-allocation/batch/allocate/medical', - statisticALL = '/medical-center/user-allocation/statistic', - allocateMedical = '/medical-center/user-allocation/again/allocate/medical', - downloadTemplate = '/medical-center/user-allocation/download/import/template', - importExcelUrl = '/medical-center/user-allocation/importExcel', -} - -// 列表 -export const statisticListApi = (params) => defHttp.get({ url: Api.statisticList, params }); -//已分配的列表 -export const employeeListApi = (params) => defHttp.get({ url: Api.employeeList, params }); -//未分配的列表 -export const nonListApi = (params) => defHttp.get({ url: Api.nonList, params }); -//为员工分配医疗点 -export const allocationMedicalApi = (params) => defHttp.post({ url: Api.allocationMedical, params }); -//用户列表 -export const listApi = (params) => defHttp.get({ url: Api.list, params }); -//获取统计信息 -export const statisticALLApi = (params) => defHttp.get({ url: Api.statisticALL, params }); -//批量分配员工 -export const batchMedicalApi = (params, query) => defHttp.post({ url: `${Api.batchMedical}?medicalId=${query}`, params }); -//重新分配 -export const allocateMedicalApi = (params) => defHttp.put({ url: Api.allocateMedical, params }, { joinParamsToUrl: true }); -//导入模板 -export const getExportUrl = Api.downloadTemplate; -//导入 -export const importExcelUrl = (params) => defHttp.post({ url: Api.importExcelUrl, params }); diff --git a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationStatistics/allocationStatistics.data.ts b/src/views/interveneNew/medicalPoints/employeeAllocation/allocationStatistics/allocationStatistics.data.ts deleted file mode 100644 index 7129eb4..0000000 --- a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationStatistics/allocationStatistics.data.ts +++ /dev/null @@ -1,163 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { medicalCenterList } from '/@/views/interveneNew/medicalPoints/managedCare/managedCare.api'; -import { message } from 'ant-design-vue'; -import { allSecondaryDepartsNew } from '/@/utils/system/api'; -import { getApi } from '/@/utils/medicalUtils'; - -export const columns: BasicColumn[] = [ - { - title: '医疗点所属单位', - align: 'center', - dataIndex: 'medicalDepartName', - width: 180, - }, - { - title: '医疗点名称', - align: 'center', - dataIndex: 'name', - width: 180, - }, - { - title: '医疗点地址', - align: 'center', - dataIndex: 'address', - width: 300, - }, - { - title: '合作医院', - align: 'center', - dataIndex: 'hospitalName', - width: 180, - }, - { - title: '设立时间', - align: 'center', - dataIndex: 'setUpTime', - width: 180, - }, - { - title: '医护人员数量(人)', - align: 'center', - dataIndex: 'medicalStaffNum', - width: 180, - }, - { - title: '已分配员工数量(人)', - align: 'center', - dataIndex: 'medicalAllocationNum', - width: 180, - slots: 'allocationPeople', - }, -]; - -export const schemas: FormSchema[] = [ - // { - // label: '单位', - // field: 'orgCode', - // component: 'Input', - // ifShow: false, - // }, - { - label: '医疗点所属单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel.medicalId = ''; - }, - onDeselect: () => { - formModel.medicalId = ''; - }, - }; - }, - }, - { - label: '医疗点', - field: 'medicalId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel.orgCode || 'abc', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - onFocus: () => { - if (!formModel.orgCode) { - return message.warning('请先选择医疗点所属单位'); - } - }, - }; - }, - }, -]; - -export const groupColumn: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'orgName', - align: 'center', - }, - { - title: '部门名称', - dataIndex: 'userDepartName', - align: 'center', - }, - { - title: '姓名', - dataIndex: 'name', - align: 'center', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - align: 'center', - width: 80, - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - width: 80, - }, - { - title: '工号', - dataIndex: 'employeeCode', - align: 'center', - }, -]; -export const groupFormSchema: FormSchema[] = [ - ...orgSearchInfoByCode('departCode', 'orgCode'), - { - label: '姓名', - field: 'realName', - component: 'Input', - }, - { - label: '工号', - field: 'workNo', - component: 'Input', - }, -]; diff --git a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationStatistics/allocationStatistics.vue b/src/views/interveneNew/medicalPoints/employeeAllocation/allocationStatistics/allocationStatistics.vue deleted file mode 100644 index dc78a5b..0000000 --- a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationStatistics/allocationStatistics.vue +++ /dev/null @@ -1,132 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationStatistics/components/allocationStatisticsModal.vue b/src/views/interveneNew/medicalPoints/employeeAllocation/allocationStatistics/components/allocationStatisticsModal.vue deleted file mode 100644 index 00e9d2a..0000000 --- a/src/views/interveneNew/medicalPoints/employeeAllocation/allocationStatistics/components/allocationStatisticsModal.vue +++ /dev/null @@ -1,71 +0,0 @@ - - diff --git a/src/views/interveneNew/medicalPoints/employeeFile/employeeFile.api.ts b/src/views/interveneNew/medicalPoints/employeeFile/employeeFile.api.ts deleted file mode 100644 index a7da673..0000000 --- a/src/views/interveneNew/medicalPoints/employeeFile/employeeFile.api.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/medical-center/user-allocation/allocated/employee/list', -} -export const list = (params) => defHttp.get({ url: Api.list, params }); diff --git a/src/views/interveneNew/medicalPoints/employeeFile/employeeFile.data.ts b/src/views/interveneNew/medicalPoints/employeeFile/employeeFile.data.ts deleted file mode 100644 index 661dce7..0000000 --- a/src/views/interveneNew/medicalPoints/employeeFile/employeeFile.data.ts +++ /dev/null @@ -1,121 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { allSecondaryDepartsNewBack } from '/@/utils/orgSearchInfo'; -import { getApi } from '/@/utils/medicalUtils'; -import { medicalCenterList } from '/@/views/interveneNew/medicalPoints/managedCare/managedCare.api'; -import { message } from 'ant-design-vue'; - -export const columns: BasicColumn[] = [ - { - title: '员工所属单位', - dataIndex: 'orgName', - }, - { - title: '员工姓名', - dataIndex: 'name', - }, - { - title: '员工工号', - dataIndex: 'employeeCode', - }, - { - title: '医疗点所属单位', - dataIndex: 'medicalOrgName', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - dataIndex: 'age', - }, - { - title: '联系电话', - dataIndex: 'telPhone', - }, - { - title: '分配医疗点', - dataIndex: 'medicalName', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'employeeName', - label: '员工姓名', - component: 'Input', - }, - { - field: 'employeeWork', - label: '员工工号', - component: 'Input', - }, - { - field: 'orgCode', - label: '员工所属单位', - component: 'ApiSelect', - componentProps: () => { - return { - api: allSecondaryDepartsNewBack, - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - field: 'medicalOrgCode', - label: '医疗点所属单位', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel.medicalId = ''; - }, - onDeselect: () => { - formModel.medicalId = ''; - }, - }; - }, - }, - { - field: 'medicalId', - label: '分配医疗点', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel.medicalOrgCode || 'abc', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onFocus: () => { - if (!formModel.medicalOrgCode) { - return message.warning('请先选择医疗点所属单位'); - } - }, - }; - }, - }, -]; diff --git a/src/views/interveneNew/medicalPoints/employeeFile/employeeFile.vue b/src/views/interveneNew/medicalPoints/employeeFile/employeeFile.vue deleted file mode 100644 index af66749..0000000 --- a/src/views/interveneNew/medicalPoints/employeeFile/employeeFile.vue +++ /dev/null @@ -1,79 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/employeeTreatment/components/employeeTreatmentDrawer.vue b/src/views/interveneNew/medicalPoints/employeeTreatment/components/employeeTreatmentDrawer.vue deleted file mode 100644 index 07a37d5..0000000 --- a/src/views/interveneNew/medicalPoints/employeeTreatment/components/employeeTreatmentDrawer.vue +++ /dev/null @@ -1,391 +0,0 @@ - - - - diff --git a/src/views/interveneNew/medicalPoints/employeeTreatment/components/employeeTreatmentModal.vue b/src/views/interveneNew/medicalPoints/employeeTreatment/components/employeeTreatmentModal.vue deleted file mode 100644 index 253fe28..0000000 --- a/src/views/interveneNew/medicalPoints/employeeTreatment/components/employeeTreatmentModal.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/employeeTreatment/employeeTreatment.api.ts b/src/views/interveneNew/medicalPoints/employeeTreatment/employeeTreatment.api.ts deleted file mode 100644 index 35431f8..0000000 --- a/src/views/interveneNew/medicalPoints/employeeTreatment/employeeTreatment.api.ts +++ /dev/null @@ -1,75 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical-center/medicalCenter/dailyDiagnosis/list', - save = '/medical-center/medicalCenter/dailyDiagnosis/add', - edit = '/medical-center/medicalCenter/dailyDiagnosis/edit', - deleteOne = '/medical-center/medicalCenter/dailyDiagnosis/delete', - deleteBatch = '/medical-center/medicalCenter/dailyDiagnosis/deleteBatch', - getMedicineList = '/medical-center/medicalCenter/medicalMedicine/getMedicineList', - queryById = '/medical-center/medicalCenter/dailyDiagnosis/queryById', - medicalCenterList = '/medical-center/medicalCenter/medicalResource/all', - resourceStaff = '/medical-center/api/resource/resourceStaff', - // resourceStaff = '/medical-center/api/resource/selectMedicalStaffListByOrgCode', - deleteMedical = '/medical-center/medicalCenter/dailyDiagnosis/deleteMedicineById', - departList = '/sys/sysDepart/allSecondaryDepartsNewBack', - exportXls = '/medical-center/medicalCenter/dailyDiagnosis/exportXls', - viewEmployee = '/sys/healthUserEmployeeEx/list', -} -export const getExportXlsUrl = Api.exportXls; -export const list = (params: Recordable) => defHttp.get({ url: Api.list, params: { ...params, userSign: true } }); - -//医疗点-用户单位 -export const departList = (params = {}) => defHttp.get({ url: Api.departList, params }); -export const medicalCenterList = (params = {}) => defHttp.get({ url: Api.medicalCenterList, params }); -export const resourceStaff = (params: Recordable) => defHttp.get({ url: Api.resourceStaff, params }); -export const queryById = (params: Recordable) => defHttp.get({ url: Api.queryById, params }); -export const getMedicineList = (params: Recordable) => defHttp.get({ url: Api.getMedicineList, params }); -export const saveOrUpdate = (params: Recordable, isUpdate: Boolean) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; -/** - * 删除单个 - */ -export const deleteOne = (params: Recordable, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: async () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - * @param handleSuccess - */ -export const batchDelete = (params: Recordable, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: async () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -export const deleteMedical = (params: Recordable) => defHttp.delete({ url: Api.deleteMedical, params }, { joinParamsToUrl: true }); -/** - *查看员工档案 - */ -export const viewEmployee = (params: Recordable) => defHttp.get({ url: Api.viewEmployee, params: { ...params, selectFamily: true } }); diff --git a/src/views/interveneNew/medicalPoints/employeeTreatment/employeeTreatment.data.ts b/src/views/interveneNew/medicalPoints/employeeTreatment/employeeTreatment.data.ts deleted file mode 100644 index 0de38f9..0000000 --- a/src/views/interveneNew/medicalPoints/employeeTreatment/employeeTreatment.data.ts +++ /dev/null @@ -1,671 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { BODY_CONTAINER } from '/@/utils/domUtils'; -import { message } from 'ant-design-vue'; -import { getMedicineList, medicalCenterList, resourceStaff } from '/@/views/interveneNew/medicalPoints/employeeTreatment/employeeTreatment.api'; -import { ref } from 'vue'; -import { listByMcApi } from '/@/views/emergency/communication/components/commApi'; -import { mColumns } from '/@/views/intervene/medical/slowManage/components/slow/slow.data'; -import { useUserStore } from '/@/store/modules/user'; -import { getSecondaryDepartmentList, getThirdDepartmentList, getThreeDepartByOrgCode } from '/@/views/system/user/user.api'; -import { AesEncryption } from '/@/utils/cipher'; -import { cacheCipher } from '/@/settings/encryptionSetting'; -import { allSecondaryDepartsNew } from '/@/utils/system/api'; -import { orgSearchInfo } from '/@/utils/orgSearchInfo'; -import { getApi } from '/@/utils/medicalUtils'; - -export const baseColProps = { - span: 24, - xs: 24, // <576px - sm: 24, // ≥576px - md: 24, // ≥768px - lg: 24, // ≥992px - xl: 24, // ≥1200px - xxl: 24, // ≥1600px -}; -export const columns: BasicColumn[] = [ - { - title: '序号', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '就诊人', - dataIndex: 'userName', - width: 100, - }, - { - title: '工号', - width: 110, - dataIndex: 'workNo', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - width: 80, - }, - { - title: '年龄', - dataIndex: 'age', - width: 80, - }, - { - title: '体检报告', - dataIndex: 'lookReport', - width: 120, - }, - { - title: '就诊人所属单位', - dataIndex: 'userOrgName', - }, - { - title: '就诊人所属部门', - dataIndex: 'userDepartName', - }, - { - title: '医疗点所属单位', - dataIndex: 'departName', - }, - { - title: '就诊医疗点', - dataIndex: 'medicalCenterName', - }, - { - title: '就诊疾病', - dataIndex: 'diagnosisDisease', - }, - { - title: '联系电话', - dataIndex: 'phone', - }, - { - title: '就诊医生', - dataIndex: 'doctorName', - width: 100, - }, - { - title: '就诊时间', - dataIndex: 'diagnosisDate', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '就诊人', - field: 'userName', - component: 'Input', - }, - ...orgSearchInfo({ - orgName: '就诊人所属单位', - orgPlaceholder: '请选择就诊人所属单位', - deptName: '就诊人所属部门', - deptPlaceholder: '请选择就诊人所属部门', - deptMessage: '请先选择就诊人所属单位', - }), - { - label: '医疗点所属单位', - field: 'departCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel.medicalCenterId = ''; - }, - onDeselect: () => { - formModel.medicalCenterId = ''; - }, - }; - }, - }, - { - label: '就诊医疗点', - field: 'medicalCenterId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel.departCode || 'abc', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onFocus: () => { - if (!formModel.departCode) { - return message.warning('请先选择医疗点所属单位'); - } - }, - }; - }, - }, - { - label: '就诊时间', - field: 'date', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - valueType: 'Date', - format: 'YYYY-MM-DD', - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => BODY_CONTAINER, - 'onUpdate:value': (value) => { - if (value) { - formModel.startDate = value[0]; - formModel.endDate = value[1]; - } else { - formModel.startDate = null; - formModel.endDate = null; - } - }, - style: { - width: '100%', - }, - }; - }, - }, - { - label: '', - field: 'startDate', - component: 'Input', - show: false, - }, - { - label: '', - field: 'endDate', - component: 'Input', - show: false, - }, -]; -const itemProps = { - labelCol: { - sm: 0, - xs: 0, - }, - wrapperCol: { - sm: 24, - xs: 24, - }, -}; -export const drawerFormSchema: FormSchema[] = [ - { - label: '就诊人', - field: 'userId', - component: 'Select', - slot: 'user', - rules: [{ required: true }], - }, - { - label: '', - field: 'followUp', - component: 'Select', - slot: 'followUp', - itemProps, - }, - { - label: '就诊时间', - field: 'diagnosisDate', - required: true, - component: 'DatePicker', - componentProps: () => { - return { - format: 'YYYY-MM-DD HH:mm', - valueFormat: 'YYYY-MM-DD HH:mm', - showTime: { format: 'YYYY-MM-DD HH:mm' }, - style: { - width: '50%', - }, - }; - }, - }, - { - label: '单位Code', - field: 'orgCode', - component: 'Input', - show: false, - }, - { - label: '就诊医疗点', - field: 'medicalCenterId', - required: true, - component: 'ApiSelect', - componentProps: ({ formModel }) => { - const userInfo = useUserStore().userInfo; - return { - api: medicalCenterList, - params: { - staffId: userInfo?.id || '123', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel['doctorId'] = ''; - }, - getPopupContainer: () => document.body, - style: { - width: '50%', - }, - }; - }, - }, - { - label: '就诊医生', - field: 'doctorId', - required: true, - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: resourceStaff, - params: { - resourceId: formModel?.medicalCenterId || 'abab123', - }, - resultField: 'list', - labelField: 'realname', - valueField: 'id', - immediate: true, - showSearch: true, - onFocus: () => { - if (!formModel?.medicalCenterId) { - return message.warn('请先选择就诊医疗点'); - } - }, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - style: { - width: '50%', - }, - }; - }, - }, - { - label: '', - field: 'userName', - component: 'Select', - slot: 'content', - rules: [{ required: true }], - itemProps, - }, - { - label: '主诉', - field: 'mainDemands', - component: 'InputTextArea', - required: true, - componentProps: () => { - return { - rows: 2, - }; - }, - }, - { - label: '查体', - field: 'inspectionTool', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 2, - }; - }, - }, - { - label: '既往史', - field: 'pastHistory', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 2, - }; - }, - }, - { - label: '现病史', - field: 'historyPresentIllness', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 2, - }; - }, - }, - { - label: '过敏史', - field: 'allergicHistory', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 2, - }; - }, - }, - { - label: '诊断疾病', - field: 'diagnosisDisease', - required: true, - component: 'InputTextArea', - componentProps: () => { - return { - rows: 2, - }; - }, - }, - { - label: '是否复诊', - field: 'isRevisit', - required: true, - component: 'RadioGroup', - componentProps: () => { - return { - options: [ - { - label: '是', - value: 1, - }, - { - label: '否', - value: 0, - }, - ], - }; - }, - }, - { - label: '', - field: 'plan', - component: 'Select', - slot: 'plan', - itemProps, - }, - { - label: '', - field: 'suggest', - component: 'Input', - slot: 'suggest', - itemProps, - }, - { - label: '医嘱', - field: 'doctorAdvice', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '膳食处方', - field: 'foodFormula', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '运动处方', - field: 'exerciseFormula', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '主键id', - field: 'id', - component: 'Input', - show: false, - }, -]; -export const drawerColumns: BasicColumn[] = [ - { - title: '医药id', - dataIndex: 'medicineId', - ifShow: false, - }, - { - title: '主键', - dataIndex: 'id', - ifShow: false, - }, - { - title: '药品名称', - dataIndex: 'medicineName', - width: '25%', - }, - { - title: '药品规格', - dataIndex: 'medicineSpecification', - width: '25%', - }, - { - title: '数量', - dataIndex: 'drugsNum', - width: '10%', - }, - { - title: '用法用量', - dataIndex: 'dosage', - width: '25%', - }, -]; -const maxMedicineNum = ref(); -export const modalForm: FormSchema[] = [ - { - label: '药品名称', - field: 'medicineId', - required: true, - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getMedicineList, - params: { - resourceId: formModel.medicalCenterId || 'sca', - }, - resultField: 'list', - labelField: 'medicineName', - valueField: 'id', - immediate: true, - getPopupContainer: () => document.body, - onChange: (_val: string, option: Recordable) => { - maxMedicineNum.value = 0; - formModel.medicineName = option?.label; - maxMedicineNum.value = option?.medicineNumber; - formModel.medicineSpecification = option?.medicineSpecification; - formModel.sellingPrice = option?.sellingPrice; - formModel.specification = option?.specification; - formModel.medicineNumber = option?.medicineNumber; - if (_val) { - formModel.drugsNum = 1; - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '规格', - field: 'medicineSpecification', - component: 'Input', - slot: 'medicineSpecification', - show: ({ values }) => values.medicineId, - }, - { - label: '价格', - field: 'sellingPrice', - component: 'Input', - slot: 'sellingPrice', - show: ({ values }) => values.medicineId, - }, - { - label: '库存', - field: 'medicineNumber', - component: 'Input', - slot: 'medicineNumber', - show: ({ values }) => values.medicineId, - }, - { - label: '说明书', - field: 'specification', - component: 'JImageUpload', - componentProps: ({ formModel }) => { - return { - disabled: true, - text: formModel.medicineId && formModel?.specification ? '查看' : '暂无说明书', - noIcon: true, - }; - }, - show: ({ values }) => values.medicineId, - }, - { - label: '药品名称', - field: 'medicineName', - component: 'Input', - show: false, - }, - { - label: '药品规格', - field: 'medicineSpecification', - component: 'Input', - show: false, - }, - { - label: '药物数量', - field: 'drugsNum', - required: true, - component: 'InputNumber', - componentProps: () => { - return { - onChange: (val) => { - if (val > maxMedicineNum.value) { - return message.warn('您输入的药物数量大于库存数量'); - } - }, - style: { - width: '100%', - }, - }; - }, - rules: [ - { - required: true, - validator: async (_rule, value) => { - if (!value || value <= 0) { - return Promise.reject('请输入有效的用药数量!'); - } - return Promise.resolve(); - }, - trigger: 'change', - }, - ], - }, - { - label: '用法用量', - field: 'dosage', - required: true, - component: 'Input', - }, - { - label: '医疗点ID', - field: 'medicalCenterId', - component: 'Input', - show: false, - }, -]; -//用户查询表单 -export const mSearchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - ...orgSearchInfo({ - orgApi: getSecondaryDepartmentList, - deptApi: getThreeDepartByOrgCode, - departParams: 'orgCode', - deptMessage: '请先选择单位', - }), -]; -export const userTableProps = ref({ - tableProps: { - // title: '一线医疗点医药管理', - api: listByMcApi, - columns: mColumns, - canResize: false, - formConfig: { - labelWidth: 100, - schemas: mSearchFormSchema, - autoSubmitOnEnter: true, - showAdvancedButton: false, - fieldMapToNumber: [], - fieldMapToTime: [], - baseColProps: { - xs: 8, - sm: 8, - md: 8, - lg: 8, - xl: 12, - xxl: 12, - }, - actionColOptions: { - span: 24, - offset: 0, - style: { - paddingLeft: '104px', - }, - xs: 8, - sm: 8, - md: 8, - lg: 8, - xl: 12, - xxl: 12, - }, - }, - showActionColumn: false, - }, -}); -export function encryption() { - const aes = new AesEncryption(cacheCipher); - function encrypt(word: string) { - if (!word) return; - return aes.encryptByAES(word); - } - function decrypt(word: string) { - if (!word) return; - return aes.decryptByAES(word); - } - return { encrypt, decrypt }; -} diff --git a/src/views/interveneNew/medicalPoints/employeeTreatment/employeeTreatment.vue b/src/views/interveneNew/medicalPoints/employeeTreatment/employeeTreatment.vue deleted file mode 100644 index fc278ec..0000000 --- a/src/views/interveneNew/medicalPoints/employeeTreatment/employeeTreatment.vue +++ /dev/null @@ -1,205 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/follow/componets/followDrawer.vue b/src/views/interveneNew/medicalPoints/follow/componets/followDrawer.vue deleted file mode 100644 index 1f037f7..0000000 --- a/src/views/interveneNew/medicalPoints/follow/componets/followDrawer.vue +++ /dev/null @@ -1,684 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/follow/componets/followShow.vue b/src/views/interveneNew/medicalPoints/follow/componets/followShow.vue deleted file mode 100644 index 3444304..0000000 --- a/src/views/interveneNew/medicalPoints/follow/componets/followShow.vue +++ /dev/null @@ -1,44 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/follow/follow.api.ts b/src/views/interveneNew/medicalPoints/follow/follow.api.ts deleted file mode 100644 index 82da9cd..0000000 --- a/src/views/interveneNew/medicalPoints/follow/follow.api.ts +++ /dev/null @@ -1,113 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -import { BasicColumn } from '/@/components/Table'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical-center/medicalCenter/followUpRecord/list', - add = '/medical-center/medicalCenter/followUpRecord/add', - exportXls = '/medical-center/medicalCenter/followUpRecord/exportXls', - queryById = '/medical-center/medicalCenter/followUpRecord/queryById', - queryByFollowUpRecordIdPdf = '/medical-center/medicalCenter/followUpRecord/queryByFollowUpRecordIdPdf', - edit = '/medical-center/medicalCenter/followUpRecord/edit', - deleteOne = '/medical-center/medicalCenter/followUpRecord/delete', - deleteBatch = '/medical-center/medicalCenter/followUpRecord/deleteBatch', - allSecondaryDepartsNewBack = '/health-system/sys/sysDepart/allSecondaryDepartsNew', // 新单位 2024.2.27 二次更新 20247.18 - employeeList = '/medical-center/user-allocation/allocated/employee/list', // 新单位 2024.2.27 - deleteOneRecord = '/medical-center/medicalCenter/dailyDiagnosis/delete', - taskList = '/medical-center/follow-up/task/user/list', // 查询员工待完成的随访任务 - queryByIdNew = '/medical-center/follow-up/task/record', // 详情新 -} - -export const deleteOneRecordApi = (params: Recordable, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: async () => { - return defHttp.delete({ url: Api.deleteOneRecord, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -export const getExportUrl = Api.exportXls; -export const queryByIdNewApi = (params) => defHttp.get({ url: Api.queryByIdNew, params }); -export const taskListApi = (params) => defHttp.get({ url: Api.taskList, params }); -export const list = (params) => defHttp.get({ url: Api.list, params }); -export const employeeListApi = (params) => defHttp.get({ url: Api.employeeList, params }); -export const allSecondaryDepartsNewBack = (params = {}) => defHttp.get({ url: Api.allSecondaryDepartsNewBack, params }); -export const queryById = (params) => defHttp.get({ url: Api.queryById, params }); -export const queryByFollowUpRecordIdPdf = (params) => defHttp.get({ url: Api.queryByFollowUpRecordIdPdf, params }, { isTransformResponse: false }); -export const edit = (params) => defHttp.put({ url: Api.edit, params }); -export const add = (params) => defHttp.post({ url: Api.add, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; - -export const recordColumns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '就诊疾病', - align: 'center', - dataIndex: 'diagnosisDisease', - }, - { - title: '就诊医疗点', - align: 'center', - dataIndex: 'medicalCenterName', - }, - { - title: '就诊医生', - align: 'center', - dataIndex: 'doctorName', - }, - { - title: '就诊日期', - align: 'center', - dataIndex: 'diagnosisDate', - }, -]; diff --git a/src/views/interveneNew/medicalPoints/follow/follow.data.ts b/src/views/interveneNew/medicalPoints/follow/follow.data.ts deleted file mode 100644 index 603470e..0000000 --- a/src/views/interveneNew/medicalPoints/follow/follow.data.ts +++ /dev/null @@ -1,952 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { medicalCenterList, resourceStaff } from '/@/views/medicalCenter/treatment/treatment.api'; -import { message } from 'ant-design-vue'; -import { getNotHaveName } from '/@/views/interveneNew/compoents/utils'; -import { orgSearchInfo } from '/@/utils/orgSearchInfo'; -import { getApi } from '/@/utils/medicalUtils'; - -const isConfirm = { - options: [ - { label: '否', value: '0' }, - { label: '是', value: '1' }, - ], -}; -export const columns: BasicColumn[] = [ - { - title: '随访员工', - dataIndex: 'userName', - align: 'center', - width: 100, - }, - { - title: '员工编号', - dataIndex: 'userNo', - align: 'center', - width: 100, - }, - { - title: '性别', - dataIndex: 'sex_dictText', - align: 'center', - width: 80, - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - width: 80, - }, - { - title: '症状', - dataIndex: 'symptom', - align: 'center', - }, - { - title: '员工所属单位', - dataIndex: 'orgName', - align: 'center', - }, - { - title: '员工所属部门', - dataIndex: 'userDepartName', - align: 'center', - }, - { - title: '医疗点所属单位', - dataIndex: 'medicalResourceOrgName', - customRender: ({ text }) => { - if (!text) return '--'; - }, - align: 'center', - }, - { - title: '分配医疗点', - dataIndex: 'medicalName', - customRender: ({ text }) => { - if (!text) return '--'; - }, - align: 'center', - }, - { - title: '随访医生', - dataIndex: 'doctorName', - align: 'center', - width: 100, - }, - { - title: '随访形式', - dataIndex: 'followUp', - align: 'center', - customRender: ({ text }) => { - return getNotHaveName(text, followType); - }, - width: 80, - }, - { - title: '随访日期', - dataIndex: 'followDate', - align: 'center', - width: 140, - }, - // { - // title: '员工确认状态', - // dataIndex: 'tfConfirm_dictText', - // align: 'center', - // width: 100, - // }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'userName', - component: 'Input', - }, - ...orgSearchInfo({ - orgName: '员工所属单位', - orgPlaceholder: '请选择员工所属单位', - deptName: '员工所属部门', - deptPlaceholder: '请选择员工所属部门', - deptMessage: '请先选择员工所属单位', - }), - { - label: '医疗点所属单位', - field: 'medicalOrgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel.medicalId = ''; - }, - onDeselect: () => { - formModel.medicalId = ''; - }, - }; - }, - }, - { - label: '分配医疗点', - field: 'medicalId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel.medicalOrgCode || 'abc', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onFocus: () => { - if (!formModel.medicalOrgCode) { - return message.warning('请先选择医疗点所属单位'); - } - }, - }; - }, - }, - { - label: '随访日期', - field: 'joinDate', - component: 'RangeDate', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - }; - }, - }, - // { - // label: '员工是否确认', - // field: 'tfConfirm', - // component: 'Select', - // componentProps: () => isConfirm, - // }, -]; - -export const formSchema: FormSchema[] = [ - { - label: '随访员工', - field: 'name', - component: 'Input', - slot: 'employSlot', - rules: [{ required: true, trigger: 'blur', message: '请选择随访员工' }], - }, - { - label: '员工id', - field: 'userId', - component: 'Input', - show: false, - }, - { - label: '员工编号', - field: 'employeeCode', - component: 'Input', - show: false, - }, - { - label: '性别T', - field: 'sex', - component: 'Input', - show: false, - }, - { - label: '性别', - field: 'sex_dictText', - component: 'Input', - show: false, - }, - { - label: '年龄', - field: 'age', - component: 'Input', - show: false, - }, - { - label: '联系电话', - field: 'telPhone', - component: 'Input', - show: false, - }, - { - label: '身份证号', - field: 'idCard', - component: 'Input', - show: false, - }, - { - label: '所属单位', - field: 'orgCode', - component: 'Input', - show: false, - }, - { - label: '所属单位', - field: 'orgName', - component: 'Input', - show: false, - }, - { - label: '所属部门', - field: 'userDepartName', - component: 'Input', - show: false, - }, - { - label: '慢病类型', - field: 'type', - component: 'Input', - show: false, - }, - { - label: '医疗点', - field: 'medicalId', - component: 'Input', - show: false, - }, - { - label: '症状', - field: 'symptom', - component: 'InputTextArea', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '', - field: 'a', - component: 'Input', - slot: 'tSlotTop', - }, - { - label: '体征', - field: 'name', - component: 'Input', - slot: 'tSlot', - }, - { - label: '生活方式', - field: 'name', - component: 'Input', - slot: 'lSlot', - }, - { - label: '用药情况', - field: 'name', - component: 'Input', - slot: 'mSlot', - }, - { - label: '健康风险评估', - field: 'name', - component: 'Input', - slot: 'hSlot', - }, - { - label: '膳食处方', - field: 'foodFormula', - component: 'InputTextArea', - }, - { - label: '运动处方', - field: 'exerciseFormula', - component: 'InputTextArea', - }, - { - label: '随访形式', - field: 'followUp', - component: 'RadioGroup', - componentProps: () => { - return { - options: followType, - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '随访效果评价', - field: 'evaluate', - component: 'RadioGroup', - componentProps: () => { - return { - options: [ - { - label: '良好', - value: '1', - }, - { - label: '一般', - value: '2', - }, - { - label: '差', - value: '3', - }, - ], - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '随访时间', - field: 'followDate', - component: 'DatePicker', - componentProps: () => { - return { - // showTime: true, - valueFormat: 'YYYY-MM-DD', - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '随访医生', - field: 'doctorId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: resourceStaff, - params: { - resourceId: formModel?.medicalId || 'abab123', - }, - resultField: 'list', - labelField: 'realname', - valueField: 'id', - immediate: !!formModel?.orgCode, - showSearch: true, - onFocus: () => { - if (!formModel?.orgCode) { - return message.warn('请先选择随访员工'); - } - }, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - // getPopupContainer: () => document.body, - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '下次随访日期', - field: 'nextDate', - component: 'DatePicker', - componentProps: () => { - return { - // showTime: true, - valueFormat: 'YYYY-MM-DD', - }; - }, - required: true, - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -function getNumberRegExp(value) { - const patternNumber = /^[+]?[0-9]+(.[0-9]+)?$/; - if (!value) return Promise.resolve(); - if (!patternNumber.test(value)) { - return Promise.reject('请输入数字'); - } - return Promise.resolve(); -} -function getNumberNoPoint(value) { - const patternNumber = /^[0-9]\d*$/; - if (!value) return Promise.resolve(); - if (!patternNumber.test(value)) { - return Promise.reject('请输入数字'); - } - return Promise.resolve(); -} -export const tForm: FormSchema[] = [ - { - label: '血压', - field: 'bloodPressure', - component: 'Input', - componentProps: () => { - return { - suffix: '(mmHg)', - }; - }, - }, - { - label: '心率', - field: 'heartRate', - component: 'Input', - componentProps: () => { - return { - suffix: '(次/分钟)', - }; - }, - }, - { - label: '腰围', - field: 'waistline', - component: 'Input', - componentProps: ({ formModel }) => { - return { - suffix: '(cm)', - onChange: (v) => { - v = v.target.value; - if (formModel?.height && v) { - formModel!.waistBodyRatio = (v * 1) / (formModel.height * 1); - formModel!.waistBodyRatio = !isNaN(formModel!.waistBodyRatio * 1) ? parseFloat(formModel!.waistBodyRatio).toFixed(2) : ''; - } else { - formModel!.waistBodyRatio = ''; - } - }, - }; - }, - }, - { - label: '身高', - field: 'height', - component: 'Input', - componentProps: ({ formModel }) => { - return { - suffix: '(cm)', - onChange: (v) => { - v = v.target.value; - if (v && formModel?.weight) { - formModel!.bmi = (formModel.wieght * 1) / (((v * 1) / 100) * ((v * 1) / 100)); - formModel!.bmi = !isNaN(formModel!.bmi * 1) ? parseFloat(formModel!.bmi).toFixed(1) : ''; - } - - if (formModel?.waistline && v) { - formModel!.waistBodyRatio = (formModel.waistline * 1) / (v * 1); - formModel!.waistBodyRatio = !isNaN(formModel!.waistBodyRatio * 1) ? parseFloat(formModel!.waistBodyRatio).toFixed(2) : ''; - } - - if (!v) { - if (!formModel.weight) { - formModel!.bmi = ''; - } - if (!formModel.waistline) { - formModel!.waistBodyRatio = ''; - } - } - }, - }; - }, - required: true, - }, - { - label: '体重', - field: 'weight', - component: 'Input', - componentProps: ({ formModel }) => { - return { - suffix: '(kg)', - onChange: (v) => { - v = v.target.value; - if (formModel?.height && v) { - formModel!.bmi = (v * 1) / (((formModel.height * 1) / 100) * ((formModel.height * 1) / 100)); - formModel!.bmi = !isNaN(formModel!.bmi * 1) ? parseFloat(formModel!.bmi).toFixed(1) : ''; - } else { - formModel!.bmi = ''; - } - }, - }; - }, - required: true, - }, - { - label: '', - field: 'b', - component: 'Input', - slot: 'b', - }, - { - label: '体质指数BMI', - field: 'bmi', - component: 'Input', - show: false, - }, - { - label: '腰身比', - field: 'waistBodyRatio', - component: 'Input', - show: false, - }, - { - label: '血糖', - field: 'bloodSugar', - component: 'Input', - componentProps: () => { - return { - suffix: '(mmol/L)', - }; - }, - }, - { - label: '其他', - field: 'otherThing', - component: 'Input', - }, -]; -export const lifeSchema: FormSchema[] = [ - { - label: '日吸烟量', - field: 'smokeDay', - component: 'Input', - componentProps: () => { - return { - suffix: '(支)', - }; - }, - rules: [ - { - required: false, - validator: (_, value) => getNumberNoPoint(value), - }, - ], - }, - { - label: '日饮酒量', - field: 'drinkDay', - component: 'Input', - componentProps: () => { - return { - suffix: '(两)', - }; - }, - rules: [ - { - required: false, - validator: (_, value) => getNumberNoPoint(value), - }, - ], - }, - { - label: '运动', - field: 'sportWeek', - component: 'Input', - componentProps: () => { - return { - suffix: '(次/周)', - }; - }, - rules: [ - { - required: false, - validator: (_, value) => getNumberNoPoint(value), - }, - ], - }, - { - label: '运动', - field: 'sportMinuts', - component: 'Input', - componentProps: () => { - return { - suffix: '(分钟/次)', - }; - }, - rules: [ - { - required: false, - validator: (_, value) => getNumberNoPoint(value), - }, - ], - }, - { - label: '摄盐情况', - field: 'saltIntake', - // component: 'Input', - component: 'RadioGroup', - componentProps: () => { - return { - options: [ - { - label: '轻', - value: '1', - }, - { - label: '中', - value: '2', - }, - { - label: '重', - value: '3', - }, - ], - }; - }, - // componentProps: () => { - // return { - // suffix: '(咸淡)', - // }; - // }, - }, - { - label: '心理行为', - field: 'mentalState', - component: 'RadioGroup', - componentProps: () => { - return { - options: [ - { - label: '良好', - value: '1', - }, - { - label: '一般', - value: '2', - }, - { - label: '差', - value: '3', - }, - ], - }; - }, - }, - { - label: '遵医行为', - field: 'doctorWill', - component: 'RadioGroup', - componentProps: () => { - return { - options: [ - { - label: '良好', - value: '1', - }, - { - label: '一般', - value: '2', - }, - { - label: '差', - value: '3', - }, - ], - }; - }, - }, -]; -export const health: FormSchema[] = [ - { - label: '原因', - field: 'reason', - component: 'InputTextArea', - }, - { - label: '措施', - field: 'measure', - component: 'InputTextArea', - }, -]; - -export const medicine: FormSchema[] = [ - { - label: '其他药物', - field: 'otherMedicine', - component: 'Input', - // rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '服药依从性', - field: 'takeMedicine', - component: 'RadioGroup', - componentProps: () => { - return { - options: [ - { - label: '规律', - value: '1', - }, - { - label: '间接', - value: '2', - }, - { - label: '不服药', - value: '3', - }, - ], - }; - }, - // rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '药物不良反应', - field: 'medicalEffects', - component: 'RadioGroup', - componentProps: () => { - return { - options: [ - { - label: '有', - value: '1', - }, - { - label: '无', - value: '2', - }, - ], - }; - }, - // rules: [{ required: true, trigger: 'blur' }], - }, -]; - -export const mColumns: BasicColumn[] = [ - { - title: '药品名称', - align: 'center', - dataIndex: 'medicineName', - }, - { - title: '别名', - align: 'center', - dataIndex: 'medicineNameAlias', - }, - { - title: '药品单位', - align: 'center', - dataIndex: 'medicineUnit', - }, - { - title: '药品规格', - align: 'center', - dataIndex: 'medicineSpecification', - }, - { - title: '药品类别', - align: 'center', - dataIndex: 'medicineType', - }, - { - title: '入库日期', - align: 'center', - dataIndex: 'warehousingDate', - }, - { - title: '现存数量', - align: 'center', - dataIndex: 'medicineNumber', - }, - { - title: '进价(元)', - align: 'center', - dataIndex: 'buyingPrice', - }, - { - title: '售价(元)', - align: 'center', - dataIndex: 'sellingPrice', - }, - { - title: '售出数量', - align: 'center', - dataIndex: 'sellingNumber', - }, - { - title: '销售金额(元)', - align: 'center', - dataIndex: 'sellingMoney', - }, - { - title: '所属单位', - align: 'center', - dataIndex: 'departmentName', - }, - { - title: '医疗点', - align: 'center', - dataIndex: 'medicalName', - }, -]; - -export const mSearchFormSchema: FormSchema[] = [ - { - label: '药物名称', - field: 'medicineName', - component: 'Input', - }, -]; - -export const uColumns: BasicColumn[] = [ - { - title: '姓名', - dataIndex: 'name', - align: 'center', - }, - { - title: '员工编号', // 原来为工号 - dataIndex: 'employeeCode', - align: 'center', - }, - { - title: '员工所属单位', - dataIndex: 'orgName', - align: 'center', - }, - { - title: '员工所属部门', - dataIndex: 'userDepartName', - align: 'center', - }, - { - title: '医疗点所属单位', - dataIndex: 'medicalOrgName', - align: 'center', - }, - { - title: '分配医疗点', - dataIndex: 'medicalName', - align: 'center', - }, -]; - -export const searchFormSchemaNew: FormSchema[] = [ - { - label: '姓名', - field: 'employeeName', - component: 'Input', - }, - { - label: '员工编号', // 原来为工号 - field: 'employeeWork', - component: 'Input', - }, - ...orgSearchInfo({ - orgName: '员工所属单位', - orgPlaceholder: '请选择员工所属单位', - deptName: '员工所属部门', - deptPlaceholder: '请选择员工所属部门', - deptMessage: '请先选择员工所属单位', - }), - { - label: '医疗点所属单位', - field: 'medicalOrgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel.medicalId = ''; - }, - onDeselect: () => { - formModel.medicalId = ''; - }, - }; - }, - }, - { - label: '分配医疗点', - field: 'medicalId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel.medicalOrgCode || 'abc', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onFocus: () => { - if (!formModel.medicalOrgCode) { - return message.warning('请先选择医疗点所属单位'); - } - }, - }; - }, - }, -]; - -const followType = [ - { - label: '门诊', - value: '1', - }, - { - label: '巡诊', - value: '4', - }, - { - label: '家庭', - value: '2', - }, - { - label: '电话', - value: '3', - }, -]; diff --git a/src/views/interveneNew/medicalPoints/follow/followList.vue b/src/views/interveneNew/medicalPoints/follow/followList.vue deleted file mode 100644 index 176371e..0000000 --- a/src/views/interveneNew/medicalPoints/follow/followList.vue +++ /dev/null @@ -1,293 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/medicalPoints/followUpTasks/components/expectModal.vue b/src/views/interveneNew/medicalPoints/followUpTasks/components/expectModal.vue deleted file mode 100644 index 669e591..0000000 --- a/src/views/interveneNew/medicalPoints/followUpTasks/components/expectModal.vue +++ /dev/null @@ -1,57 +0,0 @@ - - diff --git a/src/views/interveneNew/medicalPoints/followUpTasks/components/followUpTasksDrawer.vue b/src/views/interveneNew/medicalPoints/followUpTasks/components/followUpTasksDrawer.vue deleted file mode 100644 index 776bd8e..0000000 --- a/src/views/interveneNew/medicalPoints/followUpTasks/components/followUpTasksDrawer.vue +++ /dev/null @@ -1,187 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/followUpTasks/components/followUpTasksViewDrawer.vue b/src/views/interveneNew/medicalPoints/followUpTasks/components/followUpTasksViewDrawer.vue deleted file mode 100644 index 0acf393..0000000 --- a/src/views/interveneNew/medicalPoints/followUpTasks/components/followUpTasksViewDrawer.vue +++ /dev/null @@ -1,257 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/followUpTasks/followUpTasks.api.ts b/src/views/interveneNew/medicalPoints/followUpTasks/followUpTasks.api.ts deleted file mode 100644 index dd35796..0000000 --- a/src/views/interveneNew/medicalPoints/followUpTasks/followUpTasks.api.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -enum Api { - listApi = '/medical-center/follow-up/task/page', - tasksAdd = '/medical-center/follow-up/task/save', - employeeList = '/medical-center/user-allocation/allocated/employee/list', - tasksEdit = '/medical-center/follow-up/task/update', - tasksDelete = '/medical-center/follow-up/task/delete', - exportXls = '/medical-center/follow-up/task/page/export', - recordById = '/medical-center/medicalCenter/followUpRecord/queryById', - taskInfo = '/medical-center/follow-up/task/periodic', -} - -export const listApi = (params) => defHttp.get({ url: Api.listApi, params }); - -//新增 -export const taskAddApi = (params) => defHttp.post({ url: Api.tasksAdd, params }); - -//医疗点人员接口 -export const employeeListApi = (params) => defHttp.get({ url: Api.employeeList, params }); -//编辑 -export const tasksEditApi = (params) => defHttp.put({ url: Api.tasksEdit, params }); - -//删除 -export const tasksDeleteApi = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.tasksDelete, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; - -export const getExportUrl = Api.exportXls; - -export const recordByIdApi = (params) => defHttp.get({ url: Api.recordById, params }); -export const taskInfo = (params) => defHttp.get({ url: Api.taskInfo, params }); diff --git a/src/views/interveneNew/medicalPoints/followUpTasks/followUpTasks.data.ts b/src/views/interveneNew/medicalPoints/followUpTasks/followUpTasks.data.ts deleted file mode 100644 index 457cb81..0000000 --- a/src/views/interveneNew/medicalPoints/followUpTasks/followUpTasks.data.ts +++ /dev/null @@ -1,804 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getNotHaveName } from '/@/views/interveneNew/compoents/utils'; -import { medicalCenterList } from '/@/views/interveneNew/medicalPoints/managedCare/managedCare.api'; -import { message } from 'ant-design-vue'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; -import { h } from 'vue'; -import { allSecondaryDepartsNew } from '/@/utils/system/api'; -import { orgSearchInfo } from '/@/utils/orgSearchInfo'; -import { getApi } from '/@/utils/medicalUtils'; -const columns: BasicColumn[] = [ - { - title: '员工姓名', - align: 'center', - dataIndex: 'userName', - width: 120, - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - width: 100, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - width: 100, - }, - { - title: '联系电话', - align: 'center', - dataIndex: 'telPhone', - width: 150, - }, - { - title: '员工所属单位', - align: 'center', - dataIndex: 'orgName', - width: 150, - }, - { - title: '员工所属部门', - align: 'center', - dataIndex: 'userDepartName', - width: 150, - }, - { - title: '分配医疗点', - align: 'center', - dataIndex: 'medicalResourceName', - width: 150, - }, - { - title: '医疗点所属单位', - align: 'center', - dataIndex: 'medicalResourceOrgName', - width: 150, - }, -]; -const columns1: BasicColumn[] = [ - ...columns, - { - title: '计划随访日期', - align: 'center', - dataIndex: 'expectDate', - width: 150, - }, - { - title: '实际随访日期', - align: 'center', - dataIndex: 'followUpRecordDate', - customRender: ({ text }) => { - return text ? text : '-'; - }, - width: 150, - }, - { - title: '状态', - align: 'center', - dataIndex: 'status', - customRender: ({ text }) => { - if (text == '1') return h('span', { style: { color: '#e19100' } }, '待随访'); - if (text == '2') return h('span', { style: { color: '#fb0000' } }, '已逾期'); - if (text == '3') return h('span', { style: { color: '#00c32d' } }, '已完成'); - }, - width: 150, - }, -]; -const columns2: BasicColumn[] = [ - ...columns, - { - title: '计划随访日期', - align: 'center', - dataIndex: 'expectDate', - width: 150, - }, - { - title: '实际随访日期', - align: 'center', - dataIndex: 'followUpRecordDate', - customRender: ({ text }) => { - return text ? text : '-'; - }, - width: 150, - }, - { - title: '状态', - align: 'center', - dataIndex: 'status', - customRender: ({ text }) => { - if (text == '1') return h('span', { style: { color: '#e19100' } }, '待随访'); - if (text == '2') return h('span', { style: { color: '#fb0000' } }, '已逾期'); - if (text == '3') return h('span', { style: { color: '#00c32d' } }, '已完成'); - }, - width: 150, - }, -]; -const columns3: BasicColumn[] = [ - ...columns, - { - title: '申请内容', - align: 'center', - dataIndex: 'applications', - width: 150, - }, - { - title: '申请日期', - align: 'center', - dataIndex: 'expectDate', - width: 150, - customRender: ({ text }) => { - return text ? text : '-'; - }, - }, - { - title: '实际随访日期', - align: 'center', - dataIndex: 'followUpRecordDate', - width: 150, - customRender: ({ text }) => { - return text ? text : '-'; - }, - }, - { - title: '状态', - align: 'center', - dataIndex: 'status', - customRender: ({ text }) => { - if (text == '1') return h('span', { style: { color: '#e19100' } }, '待随访'); - if (text == '2') return h('span', { style: { color: '#fb0000' } }, '已逾期'); - if (text == '3') return h('span', { style: { color: '#00c32d' } }, '已完成'); - }, - width: 150, - }, -]; -export const columnsList = [columns1, columns3, columns2]; - -export const getSearchSchema = (type) => { - return [ - { - label: '员工姓名', - field: 'name', - component: 'Input', - }, - ...orgSearchInfo({ - orgName: '员工所属单位', - orgPlaceholder: '请选择员工所属单位', - deptName: '员工所属部门', - deptPlaceholder: '请选择员工所属部门', - deptMessage: '请先选择员工所属单位!', - }), - { - label: '医疗点所属单位', - field: 'medicalOrgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel.medicalResourceId = ''; - }, - onDeselect: () => { - formModel.medicalResourceId = ''; - }, - }; - }, - }, - { - label: '分配医疗点', - field: 'medicalResourceId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel.medicalOrgCode || 'abc', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onFocus: () => { - if (!formModel.medicalOrgCode) { - return message.warning('请先选择医疗点所属单位!'); - } - }, - }; - }, - }, - { - label: '计划随访日期', - field: 'followDate', - component: 'RangeDate', - ifShow: type != '2', - }, - ]; -}; - -export const drawerFormSchema: FormSchema[] = [ - { - label: '员工', - field: 'userId', - component: 'Select', - slot: 'user', - rules: [{ required: true }], - }, - { - label: '', - field: 'userName', - component: 'Select', - ifShow: false, - }, - { - label: '', - field: 'followUp', - component: 'Select', - slot: 'followUp', - }, - { - label: '', - field: 'followInfo', - component: 'Select', - slot: 'followInfo', - }, - { - label: '随访日期', - field: 'expectDate', - component: 'DatePicker', - componentProps: () => { - return { - format: 'YYYY-MM-DD', - valueFormat: 'YYYY-MM-DD', - showTime: { format: 'YYYY-MM-DD' }, - style: { - width: '100%', - }, - }; - }, - rules: [{ required: true }], - }, -]; - -export interface HeaderColumns { - label: string; - value: string; - key: string; - show?: boolean; - customRender?: ({ text, record }: { text: any; record: any }) => JSX.Element | string; - slot?: string; -} - -export const headerColumns: HeaderColumns[] = [ - { - label: '工号:', - value: '--', - key: 'userNo', - show: true, - }, - { - label: '联系电话:', - value: '--', - key: 'telPhone', - show: true, - }, - { - label: '身份证:', - value: '--', - key: 'idNo', - show: true, - }, - { - label: '所属单位:', - value: '--', - key: 'orgName', - show: true, - }, - { - label: '所属部门:', - value: '--', - key: 'userDepartName', - show: true, - }, - { - label: '慢病类型:', - value: '--', - key: 'type', - slot: 'type', - show: true, - }, - { - label: '员工档案:', - value: '--', - key: 'createTime', - slot: 'employeeFile', - show: true, - }, -]; - -export const headerColumns1: HeaderColumns[] = [ - { - label: '随访医生:', - value: '--', - key: 'doctorName', - show: true, - }, - { - label: '随访日期:', - value: '--', - key: 'followDate', - show: true, - }, - { - label: '随访形式:', - value: '--', - key: 'followUp', - customRender: (record) => { - return getNotHaveName(record.followUp, followFormat); - }, - show: true, - }, - { - label: '随访效果:', - value: '--', - key: 'evaluate', - customRender: (record) => { - return getNotHaveName(record.evaluate, followEffect); - }, - show: true, - }, - { - label: '下次随访:', - value: '--', - key: 'nextDate', - show: true, - }, - { - label: '膳食处方:', - value: '--', - key: 'foodFormula', - show: true, - }, - { - label: '运动处方:', - value: '--', - key: 'exerciseFormula', - show: true, - }, -]; -export const headerColumns2: HeaderColumns[] = [ - { - label: '血压(mmHg):', - value: '--', - key: 'bloodPressure', - customRender: (record) => { - return `${record.bloodPressure}`; - }, - show: true, - }, - { - label: '心率(次/分钟):', - value: '--', - key: 'heartRate', - customRender: (record) => { - return `${record.heartRate}`; - }, - show: true, - }, - { - label: '腰围(cm):', - value: '--', - key: 'waistline', - customRender: (record) => { - return `${record.waistline}`; - }, - show: true, - }, - { - label: '体重(kg):', - value: '--', - key: 'weight', - customRender: (record) => { - return `${record.weight}`; - }, - show: true, - }, - { - label: 'BMI:', - value: '--', - key: 'bmi', - show: true, - }, - { - label: '血糖(mmol/L):', - value: '--', - key: 'bloodSugar', - customRender: (record) => { - return `${record.bloodSugar}`; - }, - show: true, - }, - { - label: '其他:', - value: '--', - key: 'otherThing', - show: true, - }, -]; -export const headerColumns3: HeaderColumns[] = [ - { - label: '吸烟量:', - value: '--', - key: 'smokeDay', - customRender: (record) => { - return `${record.smokeDay}(支/天)`; - }, - show: true, - }, - { - label: '饮酒量:', - value: '--', - key: 'drinkDay', - customRender: (record) => { - return `${record.drinkDay}(两/天)`; - }, - show: true, - }, - { - label: '运动:', - value: '--', - key: 'sportWeek', - customRender: (record) => { - return `${record.sportWeek}(次/周) ${record.sportMinuts}(分钟/次)`; - }, - show: true, - }, - { - label: '摄盐情况:', - value: '--', - key: 'saltIntake', - customRender: (record) => { - return getNotHaveName(record.saltIntake, saltIntake); - }, - show: true, - }, - { - label: '心理行为:', - value: '--', - key: 'mentalState', - customRender: (record) => { - return getNotHaveName(record.mentalState, psyAdjustment); - }, - show: true, - }, - { - label: '遵医行为:', - value: '--', - key: 'doctorWill', - customRender: (record) => { - return getNotHaveName(record.doctorWill, complianceBehavior); - }, - show: true, - }, -]; -export const headerColumns4: HeaderColumns[] = [ - { - label: '其他药物:', - value: '--', - key: 'otherMedicine', - show: true, - }, - { - label: '服药依从性:', - value: '--', - key: 'takeMedicine', - customRender: (record) => { - return getNotHaveName(record.takeMedicine, MedicationCompliance); - }, - show: true, - }, - { - label: '药物不良反应:', - value: '--', - key: 'medicalEffects', - customRender: (record) => { - return getNotHaveName(record.medicalEffects, drugReactions); - }, - show: true, - }, -]; -export const headerColumns5: HeaderColumns[] = [ - { - label: '原因:', - value: '--', - key: 'reason', - show: true, - }, - { - label: '措施:', - value: '--', - key: 'measure', - show: true, - }, -]; -export const mColumns: BasicColumn[] = [ - { - title: '姓名', - dataIndex: 'name', - align: 'center', - }, - { - title: '年龄', // 原来为工号 - dataIndex: 'age', - align: 'center', - }, - { - title: '医疗点', - dataIndex: 'medicalName', - align: 'center', - }, -]; - -export const groupColumn: BasicColumn[] = [ - { - title: '员工姓名', - dataIndex: 'name', - align: 'center', - }, - { - title: '工号', - dataIndex: 'employeeCode', - align: 'center', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - align: 'center', - width: 100, - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - width: 100, - }, - { - title: '联系电话', - dataIndex: 'telPhone', - align: 'center', - }, - { - title: '所属单位', - dataIndex: 'orgName', - align: 'center', - }, - { - title: '分配医疗点', - dataIndex: 'medicalName', - align: 'center', - }, - { - title: '人员类型', - dataIndex: 'personGroup', - align: 'center', - }, - { - title: '随访频次', - dataIndex: 'frequency', - align: 'center', - }, -]; - -export const groupFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'name', - component: 'Input', - }, - { - label: '单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel.medicalResourceId = ''; - }, - onDeselect: () => { - formModel.medicalResourceId = ''; - }, - }; - }, - }, - { - label: '所属医疗点', - field: 'medicalResourceId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel.orgCode || 'abc', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onFocus: () => { - if (!formModel.orgCode) { - return message.warning('请先选择医疗点所属单位'); - } - }, - }; - }, - }, -]; -// 摄盐情况 -export const saltIntake = [ - { - label: '轻', - value: '1', - }, - { - label: '中', - value: '2', - }, - { - label: '重', - value: '3', - }, -]; - -//心理调整 -export const psyAdjustment = [ - { - label: '良好', - value: '1', - }, - { - label: '一般', - value: '2', - }, - { - label: '差', - value: '3', - }, -]; - -// 遵医行为 -export const complianceBehavior = [ - { - label: '良好', - value: '1', - }, - { - label: '一般', - value: '2', - }, - { - label: '差', - value: '3', - }, -]; - -// 服药依从性 -export const MedicationCompliance = [ - { - label: '规律', - value: '1', - }, - { - label: '间接', - value: '2', - }, - { - label: '不服药', - value: '3', - }, - { - label: '--', - value: '0', - }, -]; - -// 药物不良反应 -export const drugReactions = [ - { - label: '有', - value: '1', - }, - { - label: '无', - value: '2', - }, -]; - -// 随访形式 -export const followFormat = [ - { - label: '门诊', - value: '1', - }, - { - label: '巡诊', - value: '4', - }, - { - label: '家庭', - value: '2', - }, - { - label: '电话', - value: '3', - }, -]; - -//随访效果 -export const followEffect = [ - { - label: '良好', - value: '1', - }, - { - label: '一般', - value: '2', - }, - { - label: '差', - value: '3', - }, -]; -// 慢病类型 -export const diseaseTypes = [ - { - label: '高血压', - value: '0', - }, - { - label: '冠心病', - value: '1', - }, - { - label: '肥胖', - value: '2', - }, - { - label: '糖尿病', - value: '3', - }, - { - label: '其他', - value: '4', - }, -]; diff --git a/src/views/interveneNew/medicalPoints/followUpTasks/followUpTasks.vue b/src/views/interveneNew/medicalPoints/followUpTasks/followUpTasks.vue deleted file mode 100644 index a3e1c4b..0000000 --- a/src/views/interveneNew/medicalPoints/followUpTasks/followUpTasks.vue +++ /dev/null @@ -1,252 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/helpCenter/helpCenter.api.ts b/src/views/interveneNew/medicalPoints/helpCenter/helpCenter.api.ts deleted file mode 100644 index c72b320..0000000 --- a/src/views/interveneNew/medicalPoints/helpCenter/helpCenter.api.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/medical-center/medicalCenter/helpCenter/list', -} - -export const list = (params) => defHttp.get({ url: Api.list, params }); diff --git a/src/views/interveneNew/medicalPoints/helpCenter/helpCenter.vue b/src/views/interveneNew/medicalPoints/helpCenter/helpCenter.vue deleted file mode 100644 index 6418c0d..0000000 --- a/src/views/interveneNew/medicalPoints/helpCenter/helpCenter.vue +++ /dev/null @@ -1,49 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/interpret/components/editModal.vue b/src/views/interveneNew/medicalPoints/interpret/components/editModal.vue deleted file mode 100644 index 58c0a60..0000000 --- a/src/views/interveneNew/medicalPoints/interpret/components/editModal.vue +++ /dev/null @@ -1,53 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/interpret/components/interpretDetail.vue b/src/views/interveneNew/medicalPoints/interpret/components/interpretDetail.vue deleted file mode 100644 index 921e8dc..0000000 --- a/src/views/interveneNew/medicalPoints/interpret/components/interpretDetail.vue +++ /dev/null @@ -1,263 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/interpret/components/interpretModal.vue b/src/views/interveneNew/medicalPoints/interpret/components/interpretModal.vue deleted file mode 100644 index 29be10d..0000000 --- a/src/views/interveneNew/medicalPoints/interpret/components/interpretModal.vue +++ /dev/null @@ -1,338 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/interpret/interpret.api.ts b/src/views/interveneNew/medicalPoints/interpret/interpret.api.ts deleted file mode 100644 index 24cd2a4..0000000 --- a/src/views/interveneNew/medicalPoints/interpret/interpret.api.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/medical-center/reportInterpretation/task/page', - userGroupInfo = '/health-system/sys/api/userGroupInfo', - info = '/medical-center/reportInterpretation/task/info', - save = '/medical-center/reportInterpretation/task/save', - taskModify = '/medical-center/reportInterpretation/task/modify', - resultModify = '/medical-center/reportInterpretation/task/result/modify', - export = '/medical-center/reportInterpretation/task/page/export', -} -export const listApi = (params) => defHttp.get({ url: Api.list, params }); -export const userGroupInfoApi = (params) => defHttp.get({ url: Api.userGroupInfo, params }); -export const infoApi = (params) => defHttp.get({ url: Api.info, params }); -export const saveApi = (params) => defHttp.post({ url: Api.save, params }); -export const taskModifyApi = (params) => defHttp.put({ url: Api.taskModify, params }); -export const resultModifyApi = (params) => defHttp.put({ url: Api.resultModify, params }); -export const exportApi = Api.export; diff --git a/src/views/interveneNew/medicalPoints/interpret/interpret.data.ts b/src/views/interveneNew/medicalPoints/interpret/interpret.data.ts deleted file mode 100644 index 7d0f4f6..0000000 --- a/src/views/interveneNew/medicalPoints/interpret/interpret.data.ts +++ /dev/null @@ -1,236 +0,0 @@ -import { FormSchema } from '/@/components/Form'; -import { getApi } from '/@/utils/medicalUtils'; -import { medicalCenterList } from '/@/views/interveneNew/medicalPoints/managedCare/managedCare.api'; -import { message } from 'ant-design-vue'; -import { BasicColumn } from '/@/components/Table'; -import { h } from 'vue'; -import { getName } from '/@/views/interveneNew/compoents/utils'; -import dayjs from 'dayjs'; - -function getApiInfo() { - return { - api: getApi(), - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; -} - -export const searchForm: FormSchema[] = [ - { - label: '姓名', - field: 'name', - component: 'Input', - }, - { - label: '员工所属单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: () => { - return getApiInfo(); - }, - }, - { - label: '医疗点所属单位', - field: 'medicalOrgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - ...getApiInfo(), - onChange: () => { - formModel.medicalResourceId = ''; - }, - onDeselect: () => { - formModel.medicalResourceId = ''; - }, - }; - }, - }, - { - label: '分配医疗点', - field: 'medicalResourceId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel.medicalOrgCode || 'abc', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onFocus: () => { - if (!formModel.medicalOrgCode) { - return message.warning('请先选择医疗点所属单位!'); - } - }, - }; - }, - }, - { - label: '解读日期', - field: 'dateRange', - component: 'RangeDate', - componentProps: () => { - return { - format: 'YYYY-MM-DD', - valueFormat: 'YYYY-MM-DD', - }; - }, - }, - { - label: '体检年份', - field: 'checkupYear', - component: 'DatePicker', - componentProps: () => { - return { - picker: 'year', - format: 'YYYY', - valueFormat: 'YYYY', - style: { - width: '100%', - }, - }; - }, - }, -]; - -export const columns: BasicColumn[] = [ - { - title: '姓名', - dataIndex: 'userName', - width: 120, - }, - { - title: '工号', - dataIndex: 'workNo', - width: 120, - }, - { - title: '性别', - dataIndex: 'sex_dictText', - width: 70, - }, - { - title: '年龄', - dataIndex: 'age', - width: 70, - }, - { - title: '联系电话', - dataIndex: 'telPhone', - width: 110, - }, - { - title: '员工所属单位', - dataIndex: 'orgName', - }, - { - title: '分配医疗点', - dataIndex: 'medicalResourceName', - }, - { - title: '医疗点所属单位', - dataIndex: 'medicalResourceOrgName', - }, - { - title: '体检年份', - dataIndex: 'checkupYear', - width: 110, - }, - { - title: '截止日期', - dataIndex: 'deadlineDate', - width: 120, - }, - { - title: '解读日期', - dataIndex: 'InterpretationDate', - width: 120, - customRender: ({ text }) => { - return text ? dayjs(text).format('YYYY-MM-DD') : '-'; - }, - }, - { - title: '状态', - dataIndex: 'status', - width: 90, - customRender: ({ text }) => { - return h('span', { style: { color: text == '1' ? '#fdd143' : text == '2' ? 'red' : '#41cc31' } }, getName(text, list)); - }, - }, -]; - -export const formSchema: FormSchema[] = [ - { - label: '员工基本信息', - field: 'a', - component: 'Input', - slot: 'employeeSlot', - }, - { - label: '综合解读建议', - field: 'advise', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 6, - placeholder: '请输入', - }; - }, - required: true, - }, - { - label: '五类人群重新分类', - field: 'userGroup', - component: 'Input', - required: true, - defaultValue: 'e', - slot: 'fivePeople', - }, - { - label: '员工确认签字', - field: 'userSign', - component: 'JSignature', - componentProps: ({ formModel }) => { - return { - width: '80%', - height: '50%', - placeholder: '请签名', - isUpdate: false, - title: '本人已确认健康随访', - 'onUpdate:value': (v) => { - formModel.userSign = v; - }, - }; - }, - }, -]; - -const list: any[] = [ - { - label: '待解读', - value: '1', - }, - { - label: '已逾期', - value: '2', - }, - { - label: '已完成', - value: '3', - }, -]; diff --git a/src/views/interveneNew/medicalPoints/interpret/interpret.vue b/src/views/interveneNew/medicalPoints/interpret/interpret.vue deleted file mode 100644 index dff09f6..0000000 --- a/src/views/interveneNew/medicalPoints/interpret/interpret.vue +++ /dev/null @@ -1,211 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/interpretManage/interpretManage.api.ts b/src/views/interveneNew/medicalPoints/interpretManage/interpretManage.api.ts deleted file mode 100644 index 4b84ffb..0000000 --- a/src/views/interveneNew/medicalPoints/interpretManage/interpretManage.api.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/medical-center/reportInterpretation/task/result/page', - info = '/medical-center/reportInterpretation/task/info', - save = '/medical-center/reportInterpretation/task/save', - export = '/medical-center/reportInterpretation/task/result/page/export', -} -export const listApi = (params) => defHttp.get({ url: Api.list, params }); -export const saveApi = (params) => defHttp.post({ url: Api.save, params }); -export const exportApi = Api.export; diff --git a/src/views/interveneNew/medicalPoints/interpretManage/interpretManage.data.ts b/src/views/interveneNew/medicalPoints/interpretManage/interpretManage.data.ts deleted file mode 100644 index 5d9d3f0..0000000 --- a/src/views/interveneNew/medicalPoints/interpretManage/interpretManage.data.ts +++ /dev/null @@ -1,217 +0,0 @@ -import { FormSchema } from '/@/components/Form'; -import { getApi } from '/@/utils/medicalUtils'; -import { medicalCenterList } from '/@/views/interveneNew/medicalPoints/managedCare/managedCare.api'; -import { message } from 'ant-design-vue'; -import { BasicColumn } from '/@/components/Table'; -import { orgSearchInfo } from '/@/utils/orgSearchInfo'; -import dayjs from 'dayjs'; - -function getApiInfo() { - return { - api: getApi(), - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; -} - -export const searchForm: FormSchema[] = [ - { - label: '员工姓名', - field: 'name', - component: 'Input', - }, - { - label: '工号', - field: 'workNo', - component: 'Input', - }, - ...orgSearchInfo({ - orgName: '员工所属单位', - orgApi: getApi(), - orgPlaceholder: '请选择员工所属单位', - deptName: '员工所属部门', - deptPlaceholder: '请选择员工所属部门', - deptMessage: '请先选择员工所属单位', - }), - { - label: '医疗点所属单位', - field: 'medicalOrgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - ...getApiInfo(), - onChange: () => { - formModel.medicalResourceId = ''; - }, - onDeselect: () => { - formModel.medicalResourceId = ''; - }, - }; - }, - }, - { - label: '分配医疗点', - field: 'medicalResourceId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel.medicalOrgCode || 'abc', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onFocus: () => { - if (!formModel.medicalOrgCode) { - return message.warning('请先选择医疗点所属单位!'); - } - }, - }; - }, - }, - { - label: '体检年份', - field: 'checkupYear', - component: 'DatePicker', - componentProps: () => { - return { - picker: 'year', - format: 'YYYY', - valueFormat: 'YYYY', - style: { - width: '100%', - }, - }; - }, - }, - { - label: '解读日期', - field: 'dateRange', - component: 'RangeDate', - componentProps: () => { - return { - format: 'YYYY-MM-DD', - valueFormat: 'YYYY-MM-DD', - }; - }, - }, -]; - -export const columns: BasicColumn[] = [ - { - title: '解读员工', - dataIndex: 'userName', - width: 120, - }, - { - title: '工号', - dataIndex: 'workNo', - width: 120, - }, - { - title: '性别', - dataIndex: 'sex_dictText', - width: 70, - }, - { - title: '年龄', - dataIndex: 'age', - width: 70, - }, - { - title: '员工所属单位', - dataIndex: 'orgName', - }, - { - title: '员工所属部门', - dataIndex: 'userDepartName', - width: 110, - }, - { - title: '分配医疗点', - dataIndex: 'medicalResourceName', - }, - { - title: '医疗点所属单位', - dataIndex: 'medicalResourceOrgName', - }, - { - title: '体检年份', - dataIndex: 'checkupYear', - width: 110, - }, - { - title: '解读医生', - dataIndex: 'doctorName', - width: 120, - }, - { - title: '解读日期', - dataIndex: 'InterpretationDate', - width: 120, - customRender: ({ text }) => { - return text ? dayjs(text).format('YYYY-MM-DD') : '-'; - }, - }, -]; - -export const formSchema: FormSchema[] = [ - { - label: '员工基本信息', - field: 'a', - component: 'Input', - slot: 'employeeSlot', - }, - { - label: '综合解读建议', - field: 'advise', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 6, - placeholder: '请输入', - }; - }, - required: true, - }, - { - label: '五类人群重新分类', - field: 'userGroup', - component: 'Input', - required: true, - defaultValue: 'e', - slot: 'fivePeople', - }, - { - label: '员工确认签字', - field: 'userSign', - component: 'JSignature', - componentProps: ({ formModel }) => { - return { - width: '80%', - height: '50%', - placeholder: '请签名', - isUpdate: false, - title: '本人已确认健康随访', - 'onUpdate:value': (v) => { - formModel.userSign = v; - }, - }; - }, - }, -]; diff --git a/src/views/interveneNew/medicalPoints/interpretManage/interpretManage.vue b/src/views/interveneNew/medicalPoints/interpretManage/interpretManage.vue deleted file mode 100644 index 7f4de5c..0000000 --- a/src/views/interveneNew/medicalPoints/interpretManage/interpretManage.vue +++ /dev/null @@ -1,146 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/managedCare/components/managedCareDrawer.vue b/src/views/interveneNew/medicalPoints/managedCare/components/managedCareDrawer.vue deleted file mode 100644 index 33e640e..0000000 --- a/src/views/interveneNew/medicalPoints/managedCare/components/managedCareDrawer.vue +++ /dev/null @@ -1,75 +0,0 @@ - - - - diff --git a/src/views/interveneNew/medicalPoints/managedCare/managedCare.api.ts b/src/views/interveneNew/medicalPoints/managedCare/managedCare.api.ts deleted file mode 100644 index 65a9fc8..0000000 --- a/src/views/interveneNew/medicalPoints/managedCare/managedCare.api.ts +++ /dev/null @@ -1,71 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical-center/medicalCenter/medicalStaff/listCustom', - save = '/medical-center/medicalCenter/medicalStaff/add', - edit = '/medical-center/medicalCenter/medicalStaff/edit', - deleteOne = '/medical-center/medicalCenter/medicalStaff/delete', - deleteBatch = '/medical-center/medicalCenter/medicalStaff/deleteBatch', - queryById = '/medical-center/medicalCenter/medicalStaff/queryById', - exportXls = '/medical-center/medicalCenter/medicalStaff/exportXls', - departList = '/sys/sysDepart/allSecondaryDepartsNewBack', - medicalCenterList = '/medical-center/medicalCenter/medicalResource/all', -} -export const getExportXlsUrl = Api.exportXls; -export const startExportXls = (params: any) => { - return defHttp.get({ url: getExportXlsUrl, params }); -}; -export const list = (params) => defHttp.get({ url: Api.list, params }); -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - * @param handleSuccess - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; -export const queryById = (params) => defHttp.get({ url: Api.queryById, params }); - -//医疗点-用户单位 -export const departList = (params = {}) => defHttp.get({ url: Api.departList, params }); -export const medicalCenterList = (params = {}) => defHttp.get({ url: Api.medicalCenterList, params }); diff --git a/src/views/interveneNew/medicalPoints/managedCare/managedCare.data.ts b/src/views/interveneNew/medicalPoints/managedCare/managedCare.data.ts deleted file mode 100644 index a2c0c5d..0000000 --- a/src/views/interveneNew/medicalPoints/managedCare/managedCare.data.ts +++ /dev/null @@ -1,459 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { render } from '/@/utils/common/renderUtils'; -import { Image, message } from 'ant-design-vue'; -import { getFamaleDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; -import { departList, medicalCenterList } from '/@/views/interveneNew/medicalPoints/managedCare/managedCare.api'; -import moment from 'moment'; -import { rules } from '/@/utils/helper/validator'; -import { getIDCardRegExp } from '/@/utils'; -import { checkPassword } from '/@/hooks/checkPassword/checkPassword'; -import { allSecondaryDepartsNew } from '/@/utils/system/api'; -import { getApi } from '/@/utils/medicalUtils'; -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '图片', - align: 'center', - dataIndex: 'avatar', - width: 100, - customRender: ({ text, record }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 50, - width: 50, - fallback: getFamaleDefaultImage(record.sex), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'realname', - }, - { - title: '单位名称', - align: 'center', - dataIndex: 'departName', - }, - { - title: '所属医疗点', - align: 'center', - dataIndex: 'resourceName', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - width: 70, - customRender: ({ text }) => { - if (!text) return ''; - return render.renderDict(text, 'sex2'); - }, - }, - { - title: '年龄', - width: 70, - align: 'center', - dataIndex: 'age', - }, - { - title: '身份证', - align: 'center', - dataIndex: 'idCard', - }, - { - title: '联系电话', - align: 'center', - dataIndex: 'mobile', - }, - { - title: '职称', - align: 'center', - dataIndex: 'job_dictText', - }, - { - title: '岗位', - align: 'center', - dataIndex: 'post_dictText', - }, - { - title: '驻点时间', - align: 'center', - dataIndex: 'joinTime', - customRender: ({ text }) => { - if (!text) return ''; - try { - return moment(text).format('YYYY-MM-DD'); - } catch { - return ''; - } - }, - }, - { - title: '毕业院校', - align: 'center', - dataIndex: 'graduationSchool', - }, - { - title: '工作时间', - align: 'center', - dataIndex: 'workTime', - }, - { - title: '开启状态', - align: 'center', - dataIndex: 'status', - fixed: 'right', - width: 100, - }, - { - title: '开启状态', - align: 'center', - dataIndex: 'loading', - ifShow: false, - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'realname', - component: 'Input', - }, - { - label: '单位名称', - field: 'departCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel.resourceId = ''; - }, - onDeselect: () => { - formModel.resourceId = ''; - }, - }; - }, - }, - { - label: '所属医疗点', - field: 'resourceId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel.departCode || 'abc', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onFocus: () => { - if (!formModel.departCode) { - return message.warning('请先选择单位'); - } - }, - }; - }, - }, -]; -export const drawerFormSchema: FormSchema[] = [ - { - label: '主键', - field: 'id', - component: 'Input', - show: false, - }, - { - label: '用户账号', - field: 'username', - component: 'Input', - componentProps: ({ formModel }) => { - return { - onInput: () => { - formModel.username = formModel.username.replace(/[^a-zA-Z0-9_]/g, ''); - }, - autocomplete: 'off', - }; - }, - dynamicDisabled: ({ values }) => { - return !!values.id; - }, - required: true, - // dynamicRules: ({ model, schema }) => { - // return !model?.id && rules.duplicateCheckRule('sys_user', 'username', model, schema, true); - // }, - }, - { - label: '登录密码', - field: 'password', - component: 'StrengthMeter', - componentProps: () => { - return { - autocomplete: 'new-password', - }; - }, - dynamicRules: () => { - return [ - { - required: true, - validator: (_, value) => { - if (!value) { - return Promise.reject('请输入登录密码'); - } - let { message } = checkPassword(value); - if (message === 'ok') { - return Promise.resolve(); - } else { - return Promise.reject(message); - } - }, - trigger: 'blur', - }, - ]; - }, - ifShow: ({ values }) => { - return !values.id; - }, - }, - { - label: '确认密码', - field: 'confirmPassword', - component: 'InputPassword', - dynamicRules: ({ values }) => rules.confirmPassword(values, true), - ifShow: ({ values }) => { - return !values.id; - }, - }, - { - label: '姓名', - field: 'realname', - component: 'Input', - required: true, - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'sex2', - type: 'radio', - }; - }, - }, - - { - label: '头像', - field: 'avatar', - // required: true, - component: 'JImageUpload', - componentProps: { - // @ts-ignore - maxCount: 1, - }, - }, - { - label: '生日', - field: 'birthday', - component: 'DatePicker', - }, - { - label: '身份证', - field: 'idCard', - component: 'Input', - rules: [ - { - pattern: getIDCardRegExp(), - message: '身份证号码格式有误', - required: true, - }, - ], - }, - { - label: '联系电话', - field: 'mobile', - component: 'Input', - rules: [ - { required: true, message: '请输入联系电话', trigger: 'blur' }, - { pattern: /^1[3456789]\d{9}$/, message: '手机号码格式有误' }, - ], - }, - { - label: '所属单位', - field: 'departCode', - required: true, - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel['resourceId'] = ''; - }, - }; - }, - dynamicRules: () => { - return [{ required: true, message: '请选择所属单位' }]; - }, - }, - { - label: '所属医疗点', - field: 'resourceId', - required: true, - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel?.departCode || 'abab123', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - onFocus: () => { - if (!formModel?.departCode) { - return message.warn('请先选择所属单位'); - } - }, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '职称', - field: 'job', - component: 'JDictSelectTag', - required: true, - componentProps: () => { - return { - dictCode: 'z_doct_lev', - }; - }, - }, - { - label: '岗位', - field: 'post', - component: 'JDictSelectTag', - required: true, - componentProps: () => { - return { - dictCode: 'medical_center_staff_type', - }; - }, - }, - { - label: '驻点时间', - field: 'joinTime', - component: 'DatePicker', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - }; - }, - required: true, - }, - { - label: '学历', - field: 'education', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'education', - }; - }, - }, - { - label: '毕业院校', - field: 'graduationSchool', - component: 'Input', - }, - { - label: '毕业时间', - field: 'graduationTime', - component: 'DatePicker', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - }; - }, - }, - { - label: '工作时间', - field: 'workTime', - component: 'DatePicker', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - }; - }, - }, - { - label: '简介', - field: 'staffDesc', - component: 'InputTextArea', - }, - { - label: '开启状态', - field: 'status', - component: 'JDictSelectTag', - componentProps: () => { - return { - options: [ - { label: '开启', value: '0' }, - { label: '关闭', value: '1' }, - ], - type: 'radio', - }; - }, - defaultValue: '0', - }, -]; diff --git a/src/views/interveneNew/medicalPoints/managedCare/managedCare.vue b/src/views/interveneNew/medicalPoints/managedCare/managedCare.vue deleted file mode 100644 index 2ffe27b..0000000 --- a/src/views/interveneNew/medicalPoints/managedCare/managedCare.vue +++ /dev/null @@ -1,202 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/medicalAnalysis/ambulance/ambulance.api.ts b/src/views/interveneNew/medicalPoints/medicalAnalysis/ambulance/ambulance.api.ts deleted file mode 100644 index 143d1a2..0000000 --- a/src/views/interveneNew/medicalPoints/medicalAnalysis/ambulance/ambulance.api.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - globalList = '/medical-center/ambulance/getAllAmbulanceData', - singleList = '/medical-center/ambulance/queryDataByYiliaodian', - importExcel = '/medical-center/ambulance/excelReadAmbulance', - selectList = '/medical-center/ambulance/queryYiliaodian', - statistics = '/medical-center/medicalCenter/ambulanceDataNew/statistics', -} -export const getImport = Api.importExcel; -// 救护车-全部 -export const getGlobalList = (params) => defHttp.get({ url: Api.globalList, params }); - -//救护车-单个 -export const getSingleList = (params) => defHttp.get({ url: Api.singleList, params }); - -// 救护车 - 医疗点 -export const getSelect = (params) => defHttp.get({ url: Api.selectList, params }); - -export const statisticsApi = (params) => defHttp.get({ url: Api.statistics, params }); diff --git a/src/views/interveneNew/medicalPoints/medicalAnalysis/ambulance/ambulance.data.ts b/src/views/interveneNew/medicalPoints/medicalAnalysis/ambulance/ambulance.data.ts deleted file mode 100644 index 8e90d2b..0000000 --- a/src/views/interveneNew/medicalPoints/medicalAnalysis/ambulance/ambulance.data.ts +++ /dev/null @@ -1,41 +0,0 @@ -export const dataArr = [ - { - title: '总数量', - dataIndex: 'ambulanceTotal', - }, - { - title: '急救型数量', - dataIndex: 'jjAmbulanceSum', - }, - { - title: '转运型数量', - dataIndex: 'zyAmbulanceSum', - }, - { - title: '辐射人数', - dataIndex: 'radiationSum', - }, -]; - -export const attendanceArr = [ - { - title: '急救转运', - dataIndex: 'jzSum', - }, - { - title: '平诊转运', - dataIndex: 'pzSum', - }, - { - title: '日常巡诊', - dataIndex: 'rcSum', - }, - { - title: '应急戒备', - dataIndex: 'yjSum', - }, - { - title: '其他出勤', - dataIndex: 'qtSum', - }, -]; diff --git a/src/views/interveneNew/medicalPoints/medicalAnalysis/ambulance/ambulanceList.vue b/src/views/interveneNew/medicalPoints/medicalAnalysis/ambulance/ambulanceList.vue deleted file mode 100644 index f772955..0000000 --- a/src/views/interveneNew/medicalPoints/medicalAnalysis/ambulance/ambulanceList.vue +++ /dev/null @@ -1,750 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/medicalAnalysis/ambulance/ambulanceNewList.vue b/src/views/interveneNew/medicalPoints/medicalAnalysis/ambulance/ambulanceNewList.vue deleted file mode 100644 index 76a324d..0000000 --- a/src/views/interveneNew/medicalPoints/medicalAnalysis/ambulance/ambulanceNewList.vue +++ /dev/null @@ -1,435 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/medicalAnalysis/ambulance/components/barCharts.vue b/src/views/interveneNew/medicalPoints/medicalAnalysis/ambulance/components/barCharts.vue deleted file mode 100644 index 9fadb6d..0000000 --- a/src/views/interveneNew/medicalPoints/medicalAnalysis/ambulance/components/barCharts.vue +++ /dev/null @@ -1,129 +0,0 @@ - - diff --git a/src/views/interveneNew/medicalPoints/medicalAnalysis/ambulance/components/lineCharts.vue b/src/views/interveneNew/medicalPoints/medicalAnalysis/ambulance/components/lineCharts.vue deleted file mode 100644 index 3bded82..0000000 --- a/src/views/interveneNew/medicalPoints/medicalAnalysis/ambulance/components/lineCharts.vue +++ /dev/null @@ -1,75 +0,0 @@ - - diff --git a/src/views/interveneNew/medicalPoints/medicalAnalysis/ambulance/components/pieCharts.vue b/src/views/interveneNew/medicalPoints/medicalAnalysis/ambulance/components/pieCharts.vue deleted file mode 100644 index c99678b..0000000 --- a/src/views/interveneNew/medicalPoints/medicalAnalysis/ambulance/components/pieCharts.vue +++ /dev/null @@ -1,73 +0,0 @@ - - diff --git a/src/views/interveneNew/medicalPoints/medicalAnalysis/analysisPoint/analysisPoint.api.ts b/src/views/interveneNew/medicalPoints/medicalAnalysis/analysisPoint/analysisPoint.api.ts deleted file mode 100644 index f4989df..0000000 --- a/src/views/interveneNew/medicalPoints/medicalAnalysis/analysisPoint/analysisPoint.api.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - globalAnalysis = '/medical-center/yiliaodian/getAllYilidiaoData', - globalImportExcel = '/medical-center/yiliaodian/excelReadYiliaodian', - medicalSelect = '/medical-center/yiliaodian/allYiliaodian', - singleAnalysis = '/medical-center/yiliaodian/queryYiliaodianByName', -} -export const getGlobalImport = Api.globalImportExcel; - -export const globalList = (params) => defHttp.get({ url: Api.globalAnalysis, params }); - -// 医疗点下拉框 -export const getMedical = (params) => defHttp.get({ url: Api.medicalSelect, params }); - -// 单个医疗点数据 -export const singleAnalysis = (params) => defHttp.get({ url: Api.singleAnalysis, params }); diff --git a/src/views/interveneNew/medicalPoints/medicalAnalysis/analysisPoint/analysisPointList.vue b/src/views/interveneNew/medicalPoints/medicalAnalysis/analysisPoint/analysisPointList.vue deleted file mode 100644 index 3b22721..0000000 --- a/src/views/interveneNew/medicalPoints/medicalAnalysis/analysisPoint/analysisPointList.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/medicalAnalysis/analysisPoint/components/AllAnalysis.vue b/src/views/interveneNew/medicalPoints/medicalAnalysis/analysisPoint/components/AllAnalysis.vue deleted file mode 100644 index 755de45..0000000 --- a/src/views/interveneNew/medicalPoints/medicalAnalysis/analysisPoint/components/AllAnalysis.vue +++ /dev/null @@ -1,478 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/medicalPoints/medicalAnalysis/analysisPoint/components/PartAnalysis.vue b/src/views/interveneNew/medicalPoints/medicalAnalysis/analysisPoint/components/PartAnalysis.vue deleted file mode 100644 index bd427c8..0000000 --- a/src/views/interveneNew/medicalPoints/medicalAnalysis/analysisPoint/components/PartAnalysis.vue +++ /dev/null @@ -1,751 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/medicalPoints/medicalAnalysis/components/FileUpload.vue b/src/views/interveneNew/medicalPoints/medicalAnalysis/components/FileUpload.vue deleted file mode 100644 index e3d7487..0000000 --- a/src/views/interveneNew/medicalPoints/medicalAnalysis/components/FileUpload.vue +++ /dev/null @@ -1,51 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/medicalPoints/medicalAnalysis/components/LineChart.vue b/src/views/interveneNew/medicalPoints/medicalAnalysis/components/LineChart.vue deleted file mode 100644 index 7b325b6..0000000 --- a/src/views/interveneNew/medicalPoints/medicalAnalysis/components/LineChart.vue +++ /dev/null @@ -1,163 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/medicalPoints/medicalAnalysis/components/NoChart.vue b/src/views/interveneNew/medicalPoints/medicalAnalysis/components/NoChart.vue deleted file mode 100644 index 5d9b7c3..0000000 --- a/src/views/interveneNew/medicalPoints/medicalAnalysis/components/NoChart.vue +++ /dev/null @@ -1,30 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/medicalPoints/medicalAnalysis/components/PieChart.vue b/src/views/interveneNew/medicalPoints/medicalAnalysis/components/PieChart.vue deleted file mode 100644 index b342546..0000000 --- a/src/views/interveneNew/medicalPoints/medicalAnalysis/components/PieChart.vue +++ /dev/null @@ -1,112 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/medicalPoints/medicalAnalysis/rescueItems/rescueItems.api.ts b/src/views/interveneNew/medicalPoints/medicalAnalysis/rescueItems/rescueItems.api.ts deleted file mode 100644 index 3b6249d..0000000 --- a/src/views/interveneNew/medicalPoints/medicalAnalysis/rescueItems/rescueItems.api.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - globalList = '/medical-center/medicineCase/getAllYpxData', - singleList = '/medical-center/medicineCase/getYpxByYiliaodian', - importExcel = '/medical-center/medicineCase/excelReadYpx', - selectList = '/medical-center/medicineCase/queryYiliaodian', -} -export const getImport = Api.importExcel; -// 救助物品-全部 -export const getGlobalList = (params) => defHttp.get({ url: Api.globalList, params }); - -//救助物品-单个 -export const getSingleList = (params) => defHttp.get({ url: Api.singleList, params }); - -// 救助物品 - 医疗点 -export const getSelect = (params) => defHttp.get({ url: Api.selectList, params }); diff --git a/src/views/interveneNew/medicalPoints/medicalAnalysis/rescueItems/rescueItemsList.vue b/src/views/interveneNew/medicalPoints/medicalAnalysis/rescueItems/rescueItemsList.vue deleted file mode 100644 index 9879b8c..0000000 --- a/src/views/interveneNew/medicalPoints/medicalAnalysis/rescueItems/rescueItemsList.vue +++ /dev/null @@ -1,460 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/medicalPointStatistics/medicalPointStatistics.api.ts b/src/views/interveneNew/medicalPoints/medicalPointStatistics/medicalPointStatistics.api.ts deleted file mode 100644 index e53cf55..0000000 --- a/src/views/interveneNew/medicalPoints/medicalPointStatistics/medicalPointStatistics.api.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -enum Api { - list = '/medical-center/medicalCenter/medicalResource/resourceStatistics', - houseStatisticsExport = '/medical-center/medicalCenter/medicalResource/resourceStatisticsExport', -} -const { createConfirm } = useMessage(); - -/** - * 列表接口 - * @param params - */ -export const list = (params: any) => defHttp.post({ url: Api.list, params }); -/** - * 启动导出 - * - */ -export const exportExcelStart = (params: any) => { - createConfirm({ - iconType: 'info', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: Api.houseStatisticsExport, params }); - }, - }); -}; diff --git a/src/views/interveneNew/medicalPoints/medicalPointStatistics/medicalPointStatistics.data.ts b/src/views/interveneNew/medicalPoints/medicalPointStatistics/medicalPointStatistics.data.ts deleted file mode 100644 index 6acb792..0000000 --- a/src/views/interveneNew/medicalPoints/medicalPointStatistics/medicalPointStatistics.data.ts +++ /dev/null @@ -1,286 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { allSecondaryDepartsNew, orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { getStartEndByType } from '/@/views/archive/newHealthCabin/cabinStatistics/cabinStatisticsHooks'; -import moment from 'moment'; -import dayjs from 'dayjs'; -import { getApi } from '/@/utils/medicalUtils'; - -export interface StatisticsColumns { - name: string; - secondDepart: string; - thirdDepart: string; - setUpTime: string; - equipmentNum: number; - itemOne: number; - itemOneTotal: number; - itemTwo: number; - itemTwoTotal: number; -} - -export const columns = (dateType: string) => { - let o = { - week: '本周', - month: '本月', - year: '本年', - picker: '当前', - }; - let text = o[dateType] || '本周'; - return [ - { - title: '所属单位', - align: 'center', - width: 150, - dataIndex: 'departName', - resizable: false, - fixed: 'left', - }, - { - title: '医疗点名称', - align: 'center', - width: 150, - dataIndex: 'resourceName', - resizable: false, - fixed: 'left', - }, - { - title: '建立时间', - align: 'center', - width: 100, - dataIndex: 'createTime', - resizable: false, - }, - { - title: '合作医院', - align: 'center', - width: 150, - dataIndex: 'hospitalName', - resizable: false, - }, - { - title: '医护人数', - align: 'center', - width: 100, - dataIndex: 'staffCount', - resizable: false, - }, - { - title: '每个医疗点\n已分配的员工数量', - align: 'center', - dataIndex: 'radiationNum', - width: 100, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - resizable: false, - }, - { - title: '就诊人次', - align: 'center', - dataIndex: 'A1', - children: [ - { - title: text + '就诊人次', - align: 'center', - width: 120, - dataIndex: 'diagnosisCount', - }, - { - title: '累计就诊人次', - align: 'center', - width: 120, - dataIndex: 'totalDiagnosisCount', - }, - ], - }, - { - title: '慢病管理', - align: 'center', - dataIndex: 'A2', - children: [ - { title: '慢病人数', align: 'center', width: 100, dataIndex: 'diseaseCount' }, - { title: '当前应服务人数', align: 'center', width: 120, dataIndex: 'followUpShouldCount' }, - { title: '当前已服务人数', align: 'center', width: 120, dataIndex: 'followUpAlreadyCount' }, - { title: '累计服务人数', align: 'center', width: 120, dataIndex: 'totalServiceCount' }, - // { title: text + '服务人次', align: 'center', width: 120, dataIndex: 'serviceCount' }, - // { - // title: '累计服务人次', - // align: 'center', - // width: 120, - // dataIndex: 'totalServiceCount', - // }, - ], - }, - { - title: '培训宣教', - align: 'center', - dataIndex: 'A3', - children: [ - { - title: '急救培训', - align: 'center', - dataIndex: 'equipmentNum', - children: [ - { - title: text + '场次', - align: 'center', - width: 100, - dataIndex: 'trainingCount', - }, - { - title: '累计场次', - align: 'center', - width: 100, - dataIndex: 'totalTrainingCount', - }, - { - title: text + '人次', - align: 'center', - width: 100, - dataIndex: 'trainingPersonCount', - }, - { - title: '累计人次', - align: 'center', - width: 100, - dataIndex: 'totalTrainingPersonCount', - }, - ], - }, - { - title: '健康宣教', - align: 'center', - dataIndex: 'equipmentNum', - children: [ - { - title: text + '场次', - align: 'center', - width: 100, - dataIndex: 'healthCount', - }, - { - title: '累计场次', - align: 'center', - width: 100, - dataIndex: 'totalHealthCount', - }, - { - title: text + '人次', - align: 'center', - width: 100, - dataIndex: 'healthPersonCount', - }, - { - title: '累计人次', - align: 'center', - width: 100, - dataIndex: 'totalHealthPersonCount', - }, - ], - }, - ], - }, - { - title: '体检报告解读', - align: 'center', - dataIndex: 'A4', - children: [ - { title: '一对一', align: 'center', width: 100, dataIndex: 'oneToOneCount' }, - { title: '群体', align: 'center', width: 100, dataIndex: 'groupCount' }, - ], - }, - ] as BasicColumn[]; -}; -const formatRule = { - week: 'YYYY-MM-DD', - month: 'YYYY-MM', - year: 'YYYY', -}; -const isValidRange = (startDate, endDate, dateType: string) => { - const date1 = moment(startDate); - const date2 = moment(endDate); - if (dateType == 'week') { - return date1.isoWeek() === date2.isoWeek() && date1.year() === date2.year(); - } - if (dateType == 'month') { - return date1.month() === date2.month() && date1.year() === date2.year(); - } - if (dateType == 'year') { - return date1.year() === date2.year(); - } -}; -export const searchFormSchema = (dateType: string) => { - let [start] = getStartEndByType(dateType, formatRule[dateType]); - return [ - { - label: '所属单位', - field: 'departCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: getApi(), - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位', - showSearch: true, - showDefaultValue: false, - filterOption: (input: string, option: any): boolean => { - const str: string = input.trim().toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - field: 'dateRange', - label: '时间范围', - component: 'DatePicker', - componentProps: () => ({ - picker: dateType, - valueFormat: formatRule[dateType], - format: (value) => - dateType == 'week' - ? `${dayjs(value).startOf(dateType).format(formatRule[dateType])} ~ ${dayjs(value) - .endOf(dateType) - .format(formatRule[dateType])}` - : dayjs(value).format(formatRule[dateType]), - style: { - width: '100%', - }, - allowClear: false, - }), - defaultValue: start, - ifShow: dateType !== 'picker', - }, - { - field: 'dateRange1', - label: '时间', - component: 'RangeDate', - componentProps: () => { - return { - format: 'YYYY-MM-DD', - valueFormat: 'YYYY-MM-DD', - allowClear: false, - }; - }, - ifShow: dateType === 'picker', - }, - { - field: 'startTime', - label: '开始时间', - component: 'Input', - show: false, - }, - { - field: 'endTime', - label: '结束时间', - component: 'Input', - show: false, - }, - ] as FormSchema[]; -}; diff --git a/src/views/interveneNew/medicalPoints/medicalPointStatistics/medicalPointStatistics.vue b/src/views/interveneNew/medicalPoints/medicalPointStatistics/medicalPointStatistics.vue deleted file mode 100644 index 673c0af..0000000 --- a/src/views/interveneNew/medicalPoints/medicalPointStatistics/medicalPointStatistics.vue +++ /dev/null @@ -1,129 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/medicalPointStatistics/medicalPointStatisticsHooks.ts b/src/views/interveneNew/medicalPoints/medicalPointStatistics/medicalPointStatisticsHooks.ts deleted file mode 100644 index 4ef474c..0000000 --- a/src/views/interveneNew/medicalPoints/medicalPointStatistics/medicalPointStatisticsHooks.ts +++ /dev/null @@ -1,79 +0,0 @@ -import dayjs from 'dayjs'; - -const weekFormat = 'YYYY-MM-DD'; - -/** - * 根据 时间类型获取开始结束时间 - * @param dateType - * @param format - */ - -export function getStartEndByType(dateType: string, format = weekFormat) { - let start = ''; - let end = ''; - if (dateType == 'week') { - start = dayjs().startOf('week').format(format); - end = dayjs().endOf('week').format(format); - } - if (dateType == 'month') { - start = dayjs().startOf('month').format(format); - end = dayjs().endOf('month').format(format); - } - if (dateType == 'year') { - start = new Date().getFullYear() + '-01-01'; - end = new Date().getFullYear() + '-12-31'; - } - // console.log('--start', start, 'end', end); - return [start, end]; -} -//根据时间类型获取开始结束时间 -export function getStartEndByType2(dateType: string, time = new Date(), format = weekFormat) { - let start = ''; - let end = ''; - if (dateType == 'week') { - start = dayjs(time).startOf('week').format(format); - end = dayjs(time).endOf('week').format(format); - } - // if (dateType == 'month') { - // start = dayjs().startOf('month').format(format); - // end = dayjs().endOf('month').format(format); - // } - return [start, end]; -} - -/** - * 获取年份 - * @param dateString - */ -export function extractYear(dateString) { - // 使用正则表达式匹配年份,这里假设年份总是四位数 - const match = dateString.match(/\d{4}/); - if (match) { - // 返回匹配到的年份 - return [match[0], match[0]]; - } else { - // 如果没有找到年份,返回null或其他适当的值 - return [dayjs(new Date()).format('YYYY'), dayjs(new Date()).format('YYYY')]; - } -} -export type DateType = 'week' | 'month' | 'year' | 'picker'; -/** - * 处理请求参数 - */ -export function handleParams(formModel: any, dateType: DateType) { - let date = formModel['dateRange']; - if (!date) return formModel; - const weekFormat = 'YYYY-MM-DD'; - const yearFormat = 'YYYY'; - - if (dateType == 'week' || dateType == 'month') { - formModel['startTime'] = dayjs(date).startOf(dateType).format(weekFormat); - formModel['endTime'] = dayjs(date).endOf(dateType).format(weekFormat); - } - if (dateType == 'year') { - formModel['startTime'] = dayjs(date).startOf(dateType).format(yearFormat) + '-01-01'; - formModel['endTime'] = dayjs(date).startOf(dateType).format(yearFormat) + '-12-31'; - } - delete formModel['dateRange']; - return formModel; -} diff --git a/src/views/interveneNew/medicalPoints/medicalResource/components/Map.vue b/src/views/interveneNew/medicalPoints/medicalResource/components/Map.vue deleted file mode 100644 index 2b778d2..0000000 --- a/src/views/interveneNew/medicalPoints/medicalResource/components/Map.vue +++ /dev/null @@ -1,253 +0,0 @@ - - - - diff --git a/src/views/interveneNew/medicalPoints/medicalResource/components/MedicalResourceForm.vue b/src/views/interveneNew/medicalPoints/medicalResource/components/MedicalResourceForm.vue deleted file mode 100644 index fc3398b..0000000 --- a/src/views/interveneNew/medicalPoints/medicalResource/components/MedicalResourceForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/medicalResource/components/MedicalResourceModal.vue b/src/views/interveneNew/medicalPoints/medicalResource/components/MedicalResourceModal.vue deleted file mode 100644 index a143c09..0000000 --- a/src/views/interveneNew/medicalPoints/medicalResource/components/MedicalResourceModal.vue +++ /dev/null @@ -1,112 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/medicalPoints/medicalResource/medicalResource.api.ts b/src/views/interveneNew/medicalPoints/medicalResource/medicalResource.api.ts deleted file mode 100644 index 45ca99f..0000000 --- a/src/views/interveneNew/medicalPoints/medicalResource/medicalResource.api.ts +++ /dev/null @@ -1,79 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical-center/medicalCenter/medicalResource/listCustom', - allList = '/medical-center/medicalCenter/medicalResource/all', - save = '/medical-center/medicalCenter/medicalResource/add', - edit = '/medical-center/medicalCenter/medicalResource/edit', - deleteOne = '/medical-center/medicalCenter/medicalResource/delete', - deleteBatch = '/medical-center/medicalCenter/medicalResource/deleteBatch', - importExcel = '/medical-center/medicalCenter/medicalResource/importExcel', - exportXls = '/medical-center/medicalCenter/medicalResource/exportXls', - allSecondaryDepartsNewBack = '/sys/sysDepart/allSecondaryDepartsNewBack', - selectMedicalHospitalList = '/medical-center/medicalCenter/medicalHospital/selectMedicalHospitalList', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const allSecondaryDepartsNewBack = (params = {}) => defHttp.get({ url: Api.allSecondaryDepartsNewBack, params }); -export const list = (params) => defHttp.get({ url: Api.list, params }); -export const allList = (params) => defHttp.get({ url: Api.allList, params }); -//新查询医院列表 -export const selectMedicalHospitalList = (params) => defHttp.get({ url: Api.selectMedicalHospitalList, params }); -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/interveneNew/medicalPoints/medicalResource/medicalResource.data.ts b/src/views/interveneNew/medicalPoints/medicalResource/medicalResource.data.ts deleted file mode 100644 index e102e6c..0000000 --- a/src/views/interveneNew/medicalPoints/medicalResource/medicalResource.data.ts +++ /dev/null @@ -1,318 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; -import { selectMedicalHospitalList } from '/@/views/interveneNew/medicalPoints/medicalResource/medicalResource.api'; -import { getApi } from '/@/utils/medicalUtils'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '医疗点名称', - align: 'center', - dataIndex: 'name', - }, - { - title: '医疗点地址', - align: 'center', - dataIndex: 'address', - }, - { - title: '所属医院', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '联系电话', - align: 'center', - dataIndex: 'mobile', - }, - { - title: '单位', - align: 'center', - dataIndex: 'departName', - }, - { - title: '负责人', - align: 'center', - dataIndex: 'adminUser', - }, - { - title: '设立时间', - align: 'center', - dataIndex: 'setUpTime', - }, - { - title: '医护人员数量', - align: 'center', - dataIndex: 'medicalStaffNum', - }, - { - title: '辐射人数', - align: 'center', - dataIndex: 'radiationNum', - }, - { - title: '救护车数量', - align: 'center', - dataIndex: 'ambulanceNum', - }, - // { - // title: '辐射单位', - // align: 'center', - // dataIndex: 'radiationDepart', - // }, - { - // title: '状态(0正常 1停用)', - title: '开启状态', - align: 'center', - fixed: 'right', - dataIndex: 'status', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '医疗点名称', - field: 'name', - component: 'Input', - }, - { - label: '单位', - field: 'departCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: getApi(), - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, -]; -function getNumberRegExp(_, value) { - const patternNumber = /^\d*(\.\d+)?$/; - if (!patternNumber.test(value) || value < 0) { - return Promise.reject('请输入有效的人数'); - } - return Promise.resolve(); -} -function getRegExp(_, value) { - const patternNumber = /^\d*(\.\d+)?$/; - if (!patternNumber.test(value) || value < 0) { - return Promise.reject('请输入有效救护车数量'); - } - return Promise.resolve(); -} -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '医疗点名称', - field: 'name', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '图片', - field: 'img', - component: 'JImageUpload', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '医疗点地址', - field: 'address', - component: 'Input', - slot: 'addressSlot', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '联系电话', - field: 'mobile', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '经度', - field: 'longitude', - component: 'InputNumber', - ifShow: () => false, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '纬度', - field: 'latitude', - component: 'InputNumber', - ifShow: () => false, - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '所属单位', - field: 'departCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: (_value, arg) => { - formModel.departName = arg?.label; - }, - }; - }, - rules: [{ required: true, trigger: 'change' }], - }, - // { - // label: '医疗点类型 (1:油田医院 2:合作医院 3:医疗点 4:aed 5:救护车 6:护理员)', - // field: 'type', - // component: 'Input', - // dynamicRules: ({ model, schema }) => { - // return [{ required: true, message: '请输入医疗点类型 (1:油田医院 2:合作医院 3:医疗点 4:aed 5:救护车 6:护理员)!' }]; - // }, - // }, - { - label: '所属医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - // @ts-ignore - api: selectMedicalHospitalList, - resultField: 'list', - labelField: 'resourceName', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: (_value, arg) => { - formModel.hospitalName = arg?.label; - }, - }; - }, - rules: [{ required: true, trigger: 'change' }], - }, - { - label: '负责人', - field: 'adminUser', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '设立时间', - field: 'setUpTime', - component: 'DatePicker', - componentProps: () => { - return { - // showTime: true, - valueFormat: 'YYYY-MM-DD', - }; - }, - rules: [{ required: true, trigger: 'blur' }], - }, - // { - // label: '医护人员数量', - // field: 'medicalStaffNum', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur' }], - // }, - // { - // label: '辐射人数', - // field: 'radiationNum', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur', validator: getNumberRegExp }], - // }, - // { - // label: '救护车数量', - // field: 'ambulanceNum', - // component: 'InputNumber', - // rules: [{ required: true, trigger: 'blur', validator: getRegExp }], - // }, - { - label: '辐射单位', - field: 'radiationDepart', - component: 'ApiSelect', - componentProps: () => { - return { - // @ts-ignore - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - mode: 'multiple', - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - rules: [{ required: true, validator: validatorDepart, trigger: 'blur' }], - }, - { - label: '简介', - field: 'resourceDesc', - component: 'InputTextArea', - }, - { - label: '所属医院', - field: 'hospitalName', - component: 'Input', - show: false, - }, - { - label: '单位', - field: 'departName', - component: 'Input', - show: false, - }, - { - label: '状态', - field: 'status', - component: 'JDictSelectTag', - defaultValue: '0', - componentProps: () => { - return { - dictCode: 'data_status', - type: 'radio', - }; - }, - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} - -function validatorDepart(_, value) { - if (value && value.length > 0) { - return Promise.resolve(); - } else { - return Promise.reject('请选择辐射单位'); - } -} diff --git a/src/views/interveneNew/medicalPoints/medicalResource/medicalResource.vue b/src/views/interveneNew/medicalPoints/medicalResource/medicalResource.vue deleted file mode 100644 index bd9e891..0000000 --- a/src/views/interveneNew/medicalPoints/medicalResource/medicalResource.vue +++ /dev/null @@ -1,278 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/medicalPoints/medicineManagement/components/medicineManagementDrawer.vue b/src/views/interveneNew/medicalPoints/medicineManagement/components/medicineManagementDrawer.vue deleted file mode 100644 index dc58e0c..0000000 --- a/src/views/interveneNew/medicalPoints/medicineManagement/components/medicineManagementDrawer.vue +++ /dev/null @@ -1,65 +0,0 @@ - - - - diff --git a/src/views/interveneNew/medicalPoints/medicineManagement/components/medicineManagementModal.vue b/src/views/interveneNew/medicalPoints/medicineManagement/components/medicineManagementModal.vue deleted file mode 100644 index d54cc0d..0000000 --- a/src/views/interveneNew/medicalPoints/medicineManagement/components/medicineManagementModal.vue +++ /dev/null @@ -1,104 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/medicineManagement/medicineManagement.api.ts b/src/views/interveneNew/medicalPoints/medicineManagement/medicineManagement.api.ts deleted file mode 100644 index b44ee32..0000000 --- a/src/views/interveneNew/medicalPoints/medicineManagement/medicineManagement.api.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -export enum Api { - list = '/medical-center/medicalCenter/medicalMedicine/list', - save = '/medical-center/medicalCenter/medicalMedicine/add', - edit = '/medical-center/medicalCenter/medicalMedicine/edit', - deleteOne = '/medical-center/medicalCenter/medicalMedicine/delete', - deleteBatch = '/medical-center/medicalCenter/medicalMedicine/deleteBatch', - importExcel = '/medical-center/medicalCenter/medicalMedicine/importExcel', - exportXls = '/medical-center/medicalCenter/medicalMedicine/exportXls', - queryById = '/medical-center/medicalCenter/medicalMedicine/queryById', - departList = '/sys/sysDepart/allSecondaryDepartsNewBack', - medicalCenterList = '/medical-center/medicalCenter/medicalResource/allByDepartId', -} - -export const getExportXlsUrl = Api.exportXls; -export const importExcel = Api.importExcel; -//批量导入 -export const importFilesApi = (params: any) => defHttp.get({ url: Api.importExcel, params }); -export const list = (params) => defHttp.get({ url: Api.list, params }); -//医疗点-用户单位 -export const departList = (params = {}) => defHttp.get({ url: Api.departList, params }); -//医疗点集合 -export const medicalCenterList = (params = {}) => defHttp.get({ url: Api.medicalCenterList, params }); -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - * @param handleSuccess - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; -export const queryById = (params) => defHttp.get({ url: Api.queryById, params }); diff --git a/src/views/interveneNew/medicalPoints/medicineManagement/medicineManagement.data.ts b/src/views/interveneNew/medicalPoints/medicineManagement/medicineManagement.data.ts deleted file mode 100644 index 1b4f878..0000000 --- a/src/views/interveneNew/medicalPoints/medicineManagement/medicineManagement.data.ts +++ /dev/null @@ -1,524 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; -import { Image, message } from 'ant-design-vue'; -import { medicalCenterList, departList } from '/@/views/interveneNew/medicalPoints/medicineManagement/medicineManagement.api'; -import { allSecondaryDepartsNew } from '/@/utils/system/api'; -import { getApi } from '/@/utils/medicalUtils'; - -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '药品名称', - align: 'center', - dataIndex: 'medicineName', - }, - { - title: '别名', - align: 'center', - dataIndex: 'medicineNameAlias', - }, - { - title: '所属单位', - align: 'center', - dataIndex: 'departmentName', - }, - { - title: '所属医疗点', - align: 'center', - dataIndex: 'medicalCenterName', - }, - { - title: '药品单位', - align: 'center', - dataIndex: 'medicineUnit', - }, - { - title: '药品规格', - align: 'center', - dataIndex: 'medicineSpecification', - }, - { - title: '药品类别', - align: 'center', - dataIndex: 'medicineType', - }, - { - title: '说明书', - dataIndex: 'specification', - // customRender: ({ text }) => { - // console.log(text); - // return h(Image, { - // placeholder: true, - // src: getFileAccessHttpUrl(text), - // height: 50, - // width: 50, - // fallback: getDefaultImage(), - // previewMask: () => { - // return h(EyeOutlined, { - // style: { - // color: 'white', - // }, - // }); - // }, - // }); - // }, - }, - { - title: '入库日期', - align: 'center', - dataIndex: 'warehousingDate', - }, - { - title: '现存数量', - align: 'center', - dataIndex: 'medicineNumber', - }, - { - title: '进价(元)', - align: 'center', - dataIndex: 'buyingPrice', - }, - { - title: '售价(元)', - align: 'center', - dataIndex: 'sellingPrice', - }, - { - title: '售出数量', - align: 'center', - dataIndex: 'sellingNumber', - }, - { - title: '销售金额(元)', - align: 'center', - dataIndex: 'sellingMoney', - }, - { - title: '所属单位', - align: 'center', - dataIndex: 'departmentName', - }, - { - title: '医疗点', - align: 'center', - dataIndex: 'medicalCenterName', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '药物名称', - field: 'medicineName', - component: 'Input', - }, - { - label: '所属单位', - field: 'departmentId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'result', - labelField: 'departName', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: (_val: string, option: Recordable) => { - formModel.medicalCenterId = ''; - formModel.deptCode = option?.orgCode || ''; - }, - onDeselect: () => { - formModel.medicalCenterId = ''; - }, - }; - }, - }, - { - label: '单位orgCode', - field: 'deptCode', - component: 'Input', - show: false, - }, - { - label: '所属医疗点', - field: 'medicalCenterId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departId: formModel?.departmentId || 'ascas', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - onFocus: () => { - if (!formModel?.departmentId) { - return message.warn('请先选择所属单位'); - } - }, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, -]; -export const drawerFormSchema: FormSchema[] = [ - { - label: '所属单位', - field: 'departmentId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'result', - labelField: 'departName', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: (_value: string, option: Recordable) => { - formModel.medicalCenterId = ''; - formModel.deptCode = option?.orgCode || ''; - }, - onDeselect: () => { - formModel.medicalCenterId = ''; - }, - }; - }, - dynamicRules: () => { - return [{ required: true, message: '请选择所属单位' }]; - }, - }, - { - label: '单位orgCode', - field: 'deptCode', - component: 'Input', - show: false, - }, - { - label: '所属医疗点', - field: 'medicalCenterId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departId: formModel?.departmentId || 'ascas', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - onFocus: () => { - if (!formModel?.departmentId) { - return message.warn('请先选择所属单位'); - } - }, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - }; - }, - dynamicRules: () => { - return [{ required: true, message: '请选择所属医疗点' }]; - }, - }, - { - label: '药品名称', - field: 'medicineName', - component: 'Input', - dynamicRules: () => { - return [{ required: true, message: '请输入药品名称!' }]; - }, - }, - { - label: '别名', - field: 'medicineNameAlias', - component: 'Input', - }, - { - label: '药品单位', - field: 'medicineUnit', - component: 'Input', - dynamicRules: () => { - return [{ required: true, message: '请输入药品单位!' }]; - }, - }, - { - label: '药品规格', - field: 'medicineSpecification', - component: 'Input', - dynamicRules: () => { - return [{ required: true, message: '请输入药品规格!' }]; - }, - }, - { - label: '药品类别', - field: 'medicineType', - component: 'Input', - dynamicRules: () => { - return [{ required: true, message: '请输入药品类别!' }]; - }, - }, - { - label: '入库日期', - field: 'warehousingDate', - component: 'DatePicker', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - }; - }, - dynamicRules: () => { - return [{ required: true, message: '请输入入库日期!' }]; - }, - }, - { - label: '现存数量', - field: 'medicineNumber', - component: 'InputNumber', - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - dynamicRules: () => { - return [ - { required: true, message: '请输入现存数量!' }, - { - validator: (_, value: any) => { - if (!value || value > 0) { - return Promise.resolve(); - } else { - return Promise.reject('请输入大于0的数字'); - } - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '进价(元)', - field: 'buyingPrice', - component: 'InputNumber', - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - dynamicRules: () => { - return [ - { required: true, message: '请输入进价(元)!' }, - { - validator: (_, value: any) => { - if (!value || value > 0) { - return Promise.resolve(); - } else { - return Promise.reject('请输入大于0的数字'); - } - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '售价(元)', - field: 'sellingPrice', - component: 'InputNumber', - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - dynamicRules: () => { - return [ - { required: true, message: '请输入售价(元)!' }, - { - validator: (_, value: any) => { - if (!value || value > 0) { - return Promise.resolve(); - } else { - return Promise.reject('请输入大于0的数字'); - } - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '售出数量', - field: 'sellingNumber', - component: 'InputNumber', - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - dynamicRules: () => { - return [ - { - validator: (_, value: any) => { - if (!value || value > 0) { - return Promise.resolve(); - } else { - return Promise.reject('请输入大于0的数字'); - } - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '销售金额', - field: 'sellingMoney', - component: 'InputNumber', - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - dynamicRules: () => { - return [ - { - validator: (_, value: any) => { - if (!value || value > 0) { - return Promise.resolve(); - } else { - return Promise.reject('请输入大于0的数字'); - } - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '说明书', - field: 'specification', - component: 'JImageUpload', - componentProps: () => { - return { - tipText: '支持批量上传,上传格式为.png.jpg文件', - accept: '.png,.jpg', - fileMax: 10, - }; - }, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -export const proSearchFormSchema: FormSchema[] = [ - { - label: '药物名称', - field: 'medicineName', - component: 'Input', - }, -]; -//医药批量导入form -export const importFormSchema: FormSchema[] = [ - { - label: '所属单位', - field: 'departmentId', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'result', - labelField: 'departName', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: (_val: string, option: Recordable) => { - formModel.medicalCenterId = ''; - formModel.deptCode = option?.orgCode || ''; - }, - onDeselect: () => { - formModel.medicalCenterId = ''; - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '所属医疗点', - field: 'medicalCenterId', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departId: formModel?.departmentId || 'ascas', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - onFocus: () => { - if (!formModel?.departmentId) { - return message.warn('请先选择所属单位'); - } - }, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '文件导入', - field: 'fileComponent', - component: 'Input', - slot: 'importXls', - }, -]; diff --git a/src/views/interveneNew/medicalPoints/medicineManagement/medicineManagement.vue b/src/views/interveneNew/medicalPoints/medicineManagement/medicineManagement.vue deleted file mode 100644 index f54c47e..0000000 --- a/src/views/interveneNew/medicalPoints/medicineManagement/medicineManagement.vue +++ /dev/null @@ -1,225 +0,0 @@ - - - - diff --git a/src/views/interveneNew/medicalPoints/partnerHospital/components/addAnAdministratorModal.vue b/src/views/interveneNew/medicalPoints/partnerHospital/components/addAnAdministratorModal.vue deleted file mode 100644 index 46b5768..0000000 --- a/src/views/interveneNew/medicalPoints/partnerHospital/components/addAnAdministratorModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - diff --git a/src/views/interveneNew/medicalPoints/partnerHospital/components/addJurisdictionPoint.vue b/src/views/interveneNew/medicalPoints/partnerHospital/components/addJurisdictionPoint.vue deleted file mode 100644 index 48d6ae1..0000000 --- a/src/views/interveneNew/medicalPoints/partnerHospital/components/addJurisdictionPoint.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - - diff --git a/src/views/interveneNew/medicalPoints/partnerHospital/components/hospitalAdministratorModal.vue b/src/views/interveneNew/medicalPoints/partnerHospital/components/hospitalAdministratorModal.vue deleted file mode 100644 index e44727a..0000000 --- a/src/views/interveneNew/medicalPoints/partnerHospital/components/hospitalAdministratorModal.vue +++ /dev/null @@ -1,182 +0,0 @@ - - - - diff --git a/src/views/interveneNew/medicalPoints/partnerHospital/components/jurisdictionDetailDrawer.vue b/src/views/interveneNew/medicalPoints/partnerHospital/components/jurisdictionDetailDrawer.vue deleted file mode 100644 index 4117515..0000000 --- a/src/views/interveneNew/medicalPoints/partnerHospital/components/jurisdictionDetailDrawer.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - - diff --git a/src/views/interveneNew/medicalPoints/partnerHospital/components/jurisdictionModal.vue b/src/views/interveneNew/medicalPoints/partnerHospital/components/jurisdictionModal.vue deleted file mode 100644 index 733e8dc..0000000 --- a/src/views/interveneNew/medicalPoints/partnerHospital/components/jurisdictionModal.vue +++ /dev/null @@ -1,182 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/medicalPoints/partnerHospital/components/partnerHospitalDrawer.vue b/src/views/interveneNew/medicalPoints/partnerHospital/components/partnerHospitalDrawer.vue deleted file mode 100644 index bb65c7c..0000000 --- a/src/views/interveneNew/medicalPoints/partnerHospital/components/partnerHospitalDrawer.vue +++ /dev/null @@ -1,125 +0,0 @@ - - - - diff --git a/src/views/interveneNew/medicalPoints/partnerHospital/partnerHospital.api.ts b/src/views/interveneNew/medicalPoints/partnerHospital/partnerHospital.api.ts deleted file mode 100644 index 95c7fa6..0000000 --- a/src/views/interveneNew/medicalPoints/partnerHospital/partnerHospital.api.ts +++ /dev/null @@ -1,155 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); - -export enum Api { - list = '/medical-center/medicalCenter/medicalHospital/list', - save = '/medical-center/medicalCenter/medicalHospital/add', - edit = '/medical-center/medicalCenter/medicalHospital/edit', - queryById = '/medical-center/medicalCenter/medicalHospital/queryById', - deleteOne = '/medical-center/medicalCenter/medicalHospital/delete', - deleteBatch = '/medical-center/medicalCenter/medicalHospital/deleteBatch', - administratorList = '/medical-center/medicalCenter/medicalHospitalManager/list', - administratorSave = '/medical-center/medicalCenter/medicalHospitalManager/add', - administratorEdit = '/medical-center/medicalCenter/medicalHospitalManager/edit', - administratorDeleteOne = '/medical-center/medicalCenter/medicalHospitalManager/delete', - administratorDeleteBatch = '/medical-center/medicalCenter/medicalHospitalManager/deleteBatch', - jurisdictionList = '/medical-center/medicalCenter/medicalResource/selectResourceByHospital', - jurisdictionQuery = '/medical-center/medicalCenter/medicalResource/queryById', - addHospitalToResource = '/medical-center/medicalCenter/medicalResource/addHospitalToResource', - //接口变动 2024-08-01 - getAddJurisdictionList = '/medical-center/medicalCenter/medicalResource/selectResourceByHospitalNew', - removeHospitalToResource = '/medical-center/medicalCenter/medicalResource/removeHospitalToResource', - getExportXlsUrl = '/medical-center/medicalCenter/medicalHospital/exportXls', - departList = '/sys/sysDepart/allSecondaryDepartsNewBack', -} -export const getExportXlsUrl = Api.getExportXlsUrl; -export const list = (params: any) => defHttp.get({ url: Api.list, params }); -export const deleteOne = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -export const batchDelete = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -export const queryById = (params: any) => defHttp.get({ url: Api.queryById, params }); -/** - *新增或修改 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params: any, isUpdate: boolean) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -//医院管理员列表 -export const administratorList = (params: any) => defHttp.get({ url: Api.administratorList, params }); -/** - *新增或修改 - * @param params - * @param isUpdate - */ -export const administratorSaveOrUpdate = (params: any, isUpdate: boolean) => { - const url = isUpdate ? Api.administratorEdit : Api.administratorSave; - return defHttp.post({ url: url, params }); -}; -/** - *删除 - * @param params - * @param handleSuccess - */ -export const administratorDeleteOne = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.administratorDeleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - *批量删除 - * @param params - * @param handleSuccess - */ -export const administratorDeleteBatch = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.administratorDeleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -//管辖点列表 -export const jurisdictionList = (params: any) => defHttp.get({ url: Api.jurisdictionList, params }); -//新增管辖点弹窗列表 -export const getAddJurisdictionList = (params: any) => defHttp.get({ url: Api.getAddJurisdictionList, params }); -//新增管辖点 -export const addHospitalToResource = (params: any) => defHttp.get({ url: Api.addHospitalToResource, params }); -//取消管辖 -export const removeHospitalOne = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认取消管辖', - content: '是否取消选中数据管辖', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: Api.removeHospitalToResource, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -//管辖点详请 -export const jurisdictionDetail = (params: any) => defHttp.get({ url: Api.jurisdictionQuery, params }); -//批量取消管辖 -export const removeHospitalToResource = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认取消管辖', - content: '是否取消选中数据管辖', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: Api.removeHospitalToResource, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -//医疗点-用户单位 -export const departList = (params = {}) => defHttp.get({ url: Api.departList, params }); diff --git a/src/views/interveneNew/medicalPoints/partnerHospital/partnerHospital.data.ts b/src/views/interveneNew/medicalPoints/partnerHospital/partnerHospital.data.ts deleted file mode 100644 index 5a143c9..0000000 --- a/src/views/interveneNew/medicalPoints/partnerHospital/partnerHospital.data.ts +++ /dev/null @@ -1,417 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; -import { rules } from '/@/utils/helper/validator'; -import { departList } from '/@/views/interveneNew/medicalPoints/partnerHospital/partnerHospital.api'; -import { checkPassword } from '/@/hooks/checkPassword/checkPassword'; -import { getApi } from '/@/utils/medicalUtils'; -// 合作医院-表格列 -export const columns: BasicColumn[] = [ - { - title: '医院名称', - dataIndex: 'resourceName', - }, - { - title: '医院主图', - dataIndex: 'coverImg', - customRender: ({ text }) => { - const t = text ? text.replace(',', '') : null; - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(t), - height: 50, - width: 50, - fallback: getDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '医院级别', - dataIndex: 'resourceLevel_dictText', - }, - { - title: '医院简介', - dataIndex: 'resourceIntroduction', - }, - { - title: '详细地址', - dataIndex: 'address', - }, -]; -// 合作医院-查询表单 -export const searchFormSchema: FormSchema[] = [ - { - field: 'resourceName', - label: '医院名称', - component: 'Input', - colProps: { - span: 8, - }, - }, - { - field: 'resourceLevel', - label: '医院级别', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'hospital_level', - }; - }, - }, -]; -// 合作医院-新增表单 -export const formSchema: FormSchema[] = [ - { - field: 'resourceName', - label: '医院名称', - component: 'Input', - required: true, - }, - { - field: 'coverImg', - label: '医院主图', - component: 'JImageUpload', - componentProps: () => { - return { - maxCount: 1, - }; - }, - }, - { - field: 'resourceLevel', - label: '医院级别', - component: 'JDictSelectTag', - required: true, - componentProps: () => { - return { - dictCode: 'hospital_level', - }; - }, - }, - { - field: 'address', - label: '详细地址', - component: 'Input', - slot: 'address', - required: true, - }, - { - label: '地址', - field: 'customAddress', - component: 'Input', - slot: 'customAddress', - rules: [{ required: true }], - ifShow: false, - }, - { - label: '经度', - field: 'longitude', - component: 'InputNumber', - ifShow: false, - }, - { - label: '纬度', - field: 'latitude', - component: 'InputNumber', - ifShow: false, - }, - { - field: 'resourceIntroduction', - label: '医院简介', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 4, - }; - }, - }, - { - field: 'id', - label: 'id', - component: 'Input', - show: false, - }, -]; -//管辖范围-表格列 -export const jurisdictionColumns: BasicColumn[] = [ - { - title: '医疗点名称', - dataIndex: 'name', - }, - { - title: '所属单位', - dataIndex: 'departName', - }, - { - title: '医疗点地址', - dataIndex: 'address', - }, - { - title: '负责人', - dataIndex: 'adminUser', - }, - { - title: '设立时间', - dataIndex: 'setUpTime', - }, -]; -//管辖范围-查询表单 -export const jurisdictionSearchForm: FormSchema[] = [ - { - field: 'name', - label: '医疗点名称', - component: 'Input', - }, - { - label: '所属单位', - field: 'departCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: (_val: string, option: Recordable) => { - formModel.medicalCenterId = ''; - formModel.deptCode = option?.orgCode || ''; - }, - onDeselect: () => { - formModel.medicalCenterId = ''; - }, - }; - }, - }, -]; -//新增管辖点-查询表单 -export const addJurisdictionSearchForm: FormSchema[] = [ - { - field: 'name', - label: '医疗点名称', - component: 'Input', - }, - { - label: '所属单位', - field: 'departCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: getApi(), - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, -]; -//新增管辖点-表格列表 -export const addJurisdictionColumns: BasicColumn[] = [ - { - title: '医疗点名称', - dataIndex: 'name', - }, - { - title: '医疗点地址', - dataIndex: 'address', - }, - { - title: '所属单位', - dataIndex: 'departName', - }, - { - title: '负责人', - dataIndex: 'adminUser', - }, - { - title: '设立时间', - dataIndex: 'setUpTime', - }, -]; -interface DetailForm extends FormSchema { - label: string; - field: string; - customRender?: Function; -} -export const jurisdictionDetailsForm: DetailForm[] = [ - { - label: '医疗点名称', - field: 'name', - component: 'Input', - }, - { - label: '图片', - field: 'img', - component: 'JImageUpload', - }, - { - label: '医疗点地址', - field: 'address', - component: 'Input', - }, - { - label: '所属单位', - field: 'departName', - component: 'Input', - }, - { - label: '所属医院', - field: 'hospitalName', - component: 'Input', - }, - { - label: '负责人', - field: 'adminUser', - component: 'Input', - }, - { - label: '设立时间', - field: 'setUpTime', - component: 'Input', - }, - { - label: '辐射人数', - field: 'radiationNum', - component: 'Input', - }, - { - label: '救护车数量', - field: 'ambulanceNum', - component: 'Input', - }, - { - label: '辐射单位', - field: 'radiationDepartList', - component: 'Input', - customRender: (record) => { - return record?.radiationDepartList?.join(','); - }, - }, - { - label: '医疗点简介', - field: 'resourceDesc', - component: 'Input', - }, -]; -//医院管理员-表格列表 -export const administratorColumns: BasicColumn[] = [ - { - title: '账号', - dataIndex: 'username', - }, - { - title: '姓名', - dataIndex: 'realname', - }, -]; -//医院管理员-查询表单 -export const administratorSearchForm: FormSchema[] = [ - { - field: 'realname', - label: '姓名', - component: 'Input', - }, -]; -//医院管理员-表单 -export const administratorFormSchema: FormSchema[] = [ - { - label: '主键', - field: 'id', - component: 'Input', - show: false, - }, - { - field: 'username', - label: '账号', - component: 'Input', - componentProps: ({ formModel }) => { - return { - onInput: () => { - formModel.username = formModel.username.replace(/[^a-zA-Z0-9_]/g, ''); - }, - autocomplete: 'off', - }; - }, - dynamicDisabled: ({ values }) => { - return !!values.id; - }, - required: true, - }, - { - field: 'realname', - label: '姓名', - component: 'Input', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - required: true, - }, - { - label: '密码', - field: 'password', - component: 'StrengthMeter', - componentProps: () => { - return { - autocomplete: 'new-password', - }; - }, - dynamicRules: () => { - return [ - { - required: true, - validator: (_, value) => { - if (!value) { - return Promise.reject('请输入登录密码'); - } - let { message } = checkPassword(value); - if (message === 'ok') { - return Promise.resolve(); - } else { - return Promise.reject(message); - } - }, - trigger: 'blur', - }, - ]; - }, - ifShow: ({ values }) => { - return !values.id; - }, - }, - { - label: '确认密码', - field: 'confirmPassword', - component: 'InputPassword', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - dynamicRules: ({ values }) => rules.confirmPassword(values, true), - ifShow: ({ values }) => { - return !values.id; - }, - }, -]; diff --git a/src/views/interveneNew/medicalPoints/partnerHospital/partnerHospital.vue b/src/views/interveneNew/medicalPoints/partnerHospital/partnerHospital.vue deleted file mode 100644 index ddc4f1c..0000000 --- a/src/views/interveneNew/medicalPoints/partnerHospital/partnerHospital.vue +++ /dev/null @@ -1,161 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/slow/components/slowDrawer.vue b/src/views/interveneNew/medicalPoints/slow/components/slowDrawer.vue deleted file mode 100644 index 8c97d21..0000000 --- a/src/views/interveneNew/medicalPoints/slow/components/slowDrawer.vue +++ /dev/null @@ -1,276 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/slow/handle/compoents/conpoents/followSlowDrawer.vue b/src/views/interveneNew/medicalPoints/slow/handle/compoents/conpoents/followSlowDrawer.vue deleted file mode 100644 index 9932384..0000000 --- a/src/views/interveneNew/medicalPoints/slow/handle/compoents/conpoents/followSlowDrawer.vue +++ /dev/null @@ -1,145 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/slow/handle/compoents/conpoents/planModal.vue b/src/views/interveneNew/medicalPoints/slow/handle/compoents/conpoents/planModal.vue deleted file mode 100644 index 40c937a..0000000 --- a/src/views/interveneNew/medicalPoints/slow/handle/compoents/conpoents/planModal.vue +++ /dev/null @@ -1,101 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/slow/handle/compoents/conpoents/programmeModal.vue b/src/views/interveneNew/medicalPoints/slow/handle/compoents/conpoents/programmeModal.vue deleted file mode 100644 index 0f60852..0000000 --- a/src/views/interveneNew/medicalPoints/slow/handle/compoents/conpoents/programmeModal.vue +++ /dev/null @@ -1,142 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/slow/handle/compoents/plan.vue b/src/views/interveneNew/medicalPoints/slow/handle/compoents/plan.vue deleted file mode 100644 index 24e8051..0000000 --- a/src/views/interveneNew/medicalPoints/slow/handle/compoents/plan.vue +++ /dev/null @@ -1,182 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/slow/handle/compoents/programme.vue b/src/views/interveneNew/medicalPoints/slow/handle/compoents/programme.vue deleted file mode 100644 index 6bb6f1b..0000000 --- a/src/views/interveneNew/medicalPoints/slow/handle/compoents/programme.vue +++ /dev/null @@ -1,89 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/slow/handle/compoents/record.vue b/src/views/interveneNew/medicalPoints/slow/handle/compoents/record.vue deleted file mode 100644 index 52f313a..0000000 --- a/src/views/interveneNew/medicalPoints/slow/handle/compoents/record.vue +++ /dev/null @@ -1,116 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/slow/handle/compoents/slowView.vue b/src/views/interveneNew/medicalPoints/slow/handle/compoents/slowView.vue deleted file mode 100644 index 3117f1d..0000000 --- a/src/views/interveneNew/medicalPoints/slow/handle/compoents/slowView.vue +++ /dev/null @@ -1,90 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/slow/handle/index.vue b/src/views/interveneNew/medicalPoints/slow/handle/index.vue deleted file mode 100644 index 0aa05d9..0000000 --- a/src/views/interveneNew/medicalPoints/slow/handle/index.vue +++ /dev/null @@ -1,95 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/slow/slow.api.ts b/src/views/interveneNew/medicalPoints/slow/slow.api.ts deleted file mode 100644 index c54affd..0000000 --- a/src/views/interveneNew/medicalPoints/slow/slow.api.ts +++ /dev/null @@ -1,165 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -import { BasicColumn } from '/@/components/Table'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical-center/medicalCenter/chronicDiseaseUser/list', - allList = '/medical-center/medicalCenter/medicalResource/all', - add = '/medical-center/medicalCenter/chronicDiseaseUser/add', - edit = '/medical-center/medicalCenter/chronicDiseaseUser/edit', - queryDailyDiagnosisVOByUserId = '/medical-center/medicalCenter/dailyDiagnosis/queryDailyDiagnosisVOByUserId', - selectHaveMedicalId = '/medical-center/medicalCenter/chronicDiseaseUser/selectHaveMedicalId', - deleteOne = '/medical-center/medicalCenter/chronicDiseaseUser/delete', - exportXls = '/medical-center/medicalCenter/chronicDiseaseUser/exportXls', - deleteOneD = '/medical-center/medicalCenter/dietaryPrescription/delete', - deleteOneS = '/medical-center/medicalCenter/sportsPrescription/delete', - deleteBatch = '/medical-center/medicalCenter/chronicDiseaseUser/deleteBatch', - queryByIdChronicDisease = '/medical-center/medicalCenter/chronicDiseaseUser/queryByIdChronicDisease', - dietaryPrescription = '/medical-center/medicalCenter/dietaryPrescription/selectDietaryPrescriptionMapperByTypeAndId', // 膳食处方 - addPrescription = '/medical-center/medicalCenter/dietaryPrescription/add', // 膳食处方add - editPrescription = '/medical-center/medicalCenter/dietaryPrescription/edit', // 膳食处方edit - sportsPrescription = '/medical-center/medicalCenter/sportsPrescription/selectDietaryPrescriptionMapperByTypeAndId', // 运动处方 - addSportsPrescription = '/medical-center/medicalCenter/sportsPrescription/add', // 运动处方add - editSportsPrescription = '/medical-center/medicalCenter/sportsPrescription/edit', // 运动处方edit - medicinePrescription = '/medical-center/medicalCenter/medicinePrescriptionNew/selectMedicinePrescriptionDTONewListBack', // 用药方案 - medicinePrescriptionAdd = '/medical-center/medicalCenter/medicinePrescriptionNew/add', // 用药方案新增 - medicinePrescriptionEdit = '/medical-center/medicalCenter/medicinePrescriptionNew/edit', // 用药方案修改 - medicinePrescriptionDel = '/medical-center/medicalCenter/medicinePrescriptionNew/delete', // 用药方案删除 - allSecondaryDepartsNewBack = '/sys/sysDepart/allSecondaryDepartsNewBack', // 新单位 2024.2.27 - //已分配员工列表 - employeeList = '/medical-center/user-allocation/allocated/employee/list', - //通过用户id查询用户的随访记录 - followUserById = '/medical-center/medicalCenter/followUpRecord/user', - dailyDiagnosisList = '/medical-center/medicalCenter/dailyDiagnosis/list', - // 异步导出 - exportXlsAsync = '/medical-center/medicalCenter/chronicDiseaseUser/exportXlsAsync', -} -export const getExportUrl = Api.exportXls; -export const exportXlsAsyncApi = (params) => defHttp.get({ url: Api.exportXlsAsync, params }); -export const list = (params) => defHttp.get({ url: Api.list, params }); -export const dailyDiagnosisList = (params: Recordable) => defHttp.get({ url: Api.dailyDiagnosisList, params: { ...params, userSign: true } }); -export const allSecondaryDepartsNewBack = (params = {}) => defHttp.get({ url: Api.allSecondaryDepartsNewBack, params }); -export const medicinePrescription = (params) => defHttp.get({ url: Api.medicinePrescription, params }); -export const allList = (params) => defHttp.get({ url: Api.allList, params }, { isTransformResponse: false }); -export const add = (params) => defHttp.post({ url: Api.add, params }); -export const edit = (params) => defHttp.post({ url: Api.edit, params }); -export const queryDailyDiagnosisVOByUserId = (params) => defHttp.get({ url: Api.queryDailyDiagnosisVOByUserId, params }); -export const selectHaveMedicalId = (params) => defHttp.get({ url: Api.selectHaveMedicalId, params }); -export const queryByIdChronicDisease = (params) => defHttp.get({ url: Api.queryByIdChronicDisease, params }); -export const dietaryPrescription = (params) => defHttp.get({ url: Api.dietaryPrescription, params }); -export const sportsPrescription = (params) => defHttp.get({ url: Api.sportsPrescription, params }); - -export const employeeListApi = (params) => defHttp.get({ url: Api.employeeList, params }); -export const followUserById = (params) => defHttp.get({ url: Api.followUserById, params }); - -export const addOrUpdate = async (params, isUpdate, type) => { - if (isUpdate) { - await defHttp.put({ url: type === '0' ? Api.editPrescription : Api.editSportsPrescription, params }); - } else { - await defHttp.post({ url: type === '0' ? Api.addPrescription : Api.addSportsPrescription, params }); - } -}; -export const medicineAddOrUpdate = async (params, isUpdate) => { - if (isUpdate) { - await defHttp.put({ url: Api.medicinePrescriptionEdit, params }); - } else { - await defHttp.post({ url: Api.medicinePrescriptionAdd, params }); - } -}; - -export const medicinePrescriptionDel = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.medicinePrescriptionDel, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -export const deleteOneF = (params, handleSuccess, type) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: type === '0' ? Api.deleteOneD : Api.deleteOneS, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(type); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; - -export const recordColumns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '就诊疾病', - align: 'center', - dataIndex: 'diagnosisDisease', - }, - { - title: '就诊医疗点', - align: 'center', - dataIndex: 'medicalCenterName', - }, - { - title: '就诊医生', - align: 'center', - dataIndex: 'doctorName', - }, - { - title: '就诊日期', - align: 'center', - dataIndex: 'diagnosisDate', - }, -]; diff --git a/src/views/interveneNew/medicalPoints/slow/slow.data.ts b/src/views/interveneNew/medicalPoints/slow/slow.data.ts deleted file mode 100644 index 1876b7e..0000000 --- a/src/views/interveneNew/medicalPoints/slow/slow.data.ts +++ /dev/null @@ -1,734 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import moment from 'moment'; -import { useUserStore } from '/@/store/modules/user'; -import { medicalCenterList } from '/@/views/medicalCenter/treatment/treatment.api'; -import { message } from 'ant-design-vue'; -import { orgSearchInfo } from '/@/utils/orgSearchInfo'; -import { getApi } from '/@/utils/medicalUtils'; -import { getNotHaveName } from '/@/views/interveneNew/compoents/utils'; -export const recordSchema: FormSchema[] = [ - { - label: '就诊日期', - field: 'date', - component: 'RangeDate', - componentProps: () => { - return { - format: 'YYYY-MM-DD', - valueFormat: 'YYYY-MM-DD', - }; - }, - }, -]; -export const slowViewSchema: FormSchema[] = [ - { - label: '随访日期', - field: 'date', - component: 'RangeDate', - componentProps: () => { - return { - format: 'YYYY-MM-DD', - valueFormat: 'YYYY-MM-DD', - }; - }, - }, -]; -export const followEffect = [ - { - label: '良好', - value: '1', - }, - { - label: '一般', - value: '2', - }, - { - label: '差', - value: '3', - }, -]; -export const followFormat = [ - { - label: '门诊', - value: '1', - }, - { - label: '巡诊', - value: '4', - }, - { - label: '家庭', - value: '2', - }, - { - label: '电话', - value: '3', - }, -]; - -const userInfo = useUserStore().userInfo; -export function getBasicTableType(type) { - const columns: BasicColumn[] = [ - { - title: '员工姓名', - dataIndex: 'userName', - align: 'center', - }, - { - title: '员工编号', // 原来为工号 - dataIndex: 'userNo', - align: 'center', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - align: 'center', - width: 80, - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - width: 80, - }, - { - title: '慢病类型', - dataIndex: 'typeList', - align: 'center', - // resizable: true, - // ellipsis: true, - width: 210, - // maxWidth: 210, - // minWidth: 210, - }, - { - title: '体检报告', - dataIndex: 'a', - align: 'center', - width: 100, - }, - { - title: '员工所属单位', - align: 'center', - dataIndex: 'orgName', - }, - { - title: '员工所属部门', - align: 'center', - dataIndex: 'userDepartName', - }, - { - title: '医疗点所属单位', - align: 'center', - dataIndex: 'medicalOrgName', - }, - { - title: '分配医疗点', - dataIndex: 'medicalName', - align: 'center', - }, - { - title: '入组日期', - dataIndex: 'newDiseaseTime', - align: 'center', - customRender: ({ text }) => { - return text ? moment(text).format('YYYY-MM-DD') : '-'; - }, - }, - ]; - return columns; -} -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - ...orgSearchInfo({ - orgName: '员工所属单位', - orgPlaceholder: '请选择员工所属单位', - deptName: '员工所属部门', - deptPlaceholder: '请选择员工所属部门', - deptMessage: '请先选择员工所属单位', - }), - { - label: '医疗点所属单位', - field: 'medicalOrgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel.medicalId = ''; - }, - onDeselect: () => { - formModel.medicalId = ''; - }, - }; - }, - }, - { - label: '分配医疗点', - field: 'medicalId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel.medicalOrgCode || 'abc', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onFocus: () => { - if (!formModel.medicalOrgCode) { - return message.warning('请先选择医疗点所属单位'); - } - }, - }; - }, - }, - { - label: '慢病类型', - field: 'type', - component: 'JDictSelectTag', - componentProps: () => { - return { - showChooseOption: false, - dictCode: 'slow_disease_type', - mode: 'multiple', - }; - }, - }, - { - label: '入组日期', - field: 'joinDate', - component: 'RangeDate', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - style: { - width: '100%', - }, - }; - }, - }, -]; - -export const recordColumns: BasicColumn[] = [ - { - title: '就诊医疗点', - dataIndex: 'medicalCenterName', - align: 'center', - }, - { - title: '就诊医生', - dataIndex: 'doctorName', - align: 'center', - }, - { - title: '诊断疾病', - dataIndex: 'diagnosisDisease', - align: 'center', - }, - { - title: '就诊日期', - dataIndex: 'diagnosisDate', - align: 'center', - }, -]; - -export function getPrescription(type) { - const formSchema: FormSchema[] = [ - { - label: '周期', - field: 'week', - component: 'Input', - slot: 'weekSlot', - rules: [{ required: true, trigger: 'change' }], - }, - { - label: '早餐', - field: 'breakfast', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - ifShow: type === '0', - }, - { - label: '午餐', - field: 'lunch', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - ifShow: type === '0', - }, - { - label: '晚餐', - field: 'dinner', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - ifShow: type === '0', - }, - { - label: '运动名称', - field: 'sportsName', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - ifShow: type === '1', - }, - { - label: '运动时长(分钟)', - field: 'sportsTime', - component: 'Input', - componentProps: () => { - return { - placeholder: '请输入运动时长', - }; - }, - rules: [{ required: true, trigger: 'blur', message: '请输入运动时长' }], - ifShow: type === '1', - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - ]; - return formSchema; -} - -// 用药方案 -export const columns: BasicColumn[] = [ - { - title: '药物名称', - dataIndex: 'medicineName', - align: 'center', - }, - { - title: '规格', - dataIndex: 'medicineSpecification', - align: 'center', - }, - // { - // title: '药物数量', - // dataIndex: 'drugsNum', - // align: 'center', - // }, - { - title: '用法用量', - dataIndex: 'dosage', - align: 'center', - }, - { - title: '服用开始日期', - dataIndex: 'startTime', - align: 'center', - }, - { - title: '服用结束日期', - dataIndex: 'endTime', - align: 'center', - }, -]; -function bigZero(_, value) { - if (!value) { - return Promise.reject('请输入药物数量'); - } - if (!Number.isInteger(value)) { - return Promise.reject('请输入整数'); - } - if (Number(value) < 1) { - return Promise.reject('药物数量必须大于0'); - } else { - return Promise.resolve(); - } -} -export const formSchema: FormSchema[] = [ - { - label: '药物名称', - field: 'medicineName', - component: 'Input', - required: true, - }, - { - label: '规格', - field: 'medicineSpecification', - component: 'Input', - }, - { - label: '用法用量', - field: 'dosage', - component: 'Input', - rules: [{ required: true, trigger: 'blur' }], - }, - { - label: '服用日期', - field: 'date', - component: 'RangePicker', - required: true, - componentProps: ({ formModel }) => { - return { - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - onChange: ([start, end]) => { - formModel.startTime = start; - formModel.endTime = end; - }, - }; - }, - }, - { - label: '服用开始日期', - field: 'startTime', - component: 'Input', - show: false, - }, - { - label: '服用结束日期', - field: 'endTime', - component: 'Input', - show: false, - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -export const mColumns: BasicColumn[] = [ - { - title: '员工姓名', - dataIndex: 'name', - align: 'center', - }, - { - title: '员工编号', // 原来为工号 - dataIndex: 'employeeCode', - align: 'center', - }, - { - title: '员工所属单位', - dataIndex: 'orgName', - align: 'center', - }, - { - title: '员工所属部门', - dataIndex: 'userDepartName', - align: 'center', - }, - { - title: '医疗点所属单位', - dataIndex: 'medicalOrgName', - align: 'center', - }, - { - title: '分配医疗点', - dataIndex: 'medicalName', - align: 'center', - }, -]; - -export const mSearchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'employeeName', - component: 'Input', - }, - { - label: '员工编号', // 原来为工号 - field: 'employeeWork', - component: 'Input', - }, - ...orgSearchInfo({ - orgName: '员工所属单位', - orgPlaceholder: '请选择员工所属单位', - deptName: '员工所属部门', - deptPlaceholder: '请选择员工所属部门', - deptMessage: '请先选择员工所属部门', - }), - { - label: '医疗点所属单位', - field: 'medicalOrgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getApi(), - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel.medicalId = ''; - }, - onDeselect: () => { - formModel.medicalId = ''; - }, - }; - }, - }, - { - label: '分配医疗点', - field: 'medicalId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel.medicalOrgCode || 'abc', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onFocus: () => { - if (!formModel.medicalOrgCode) { - return message.warning('请先选择医疗点所属单位'); - } - }, - }; - }, - }, -]; - -export const recordSlowColumns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '随访日期', - align: 'center', - dataIndex: 'followDate', - }, - { - title: '随访医生', - align: 'center', - dataIndex: 'doctorName', - }, - { - title: '症状', - align: 'center', - dataIndex: 'symptom', - }, - { - title: '下次随访日期', - align: 'center', - dataIndex: 'nextDate', - }, -]; - -export const headerColumns: HeaderColumns[] = [ - { - label: '工号:', - value: '--', - key: 'userNo', - show: true, - }, - { - label: '联系电话:', - value: '--', - key: 'telPhone', - show: true, - }, - { - label: '身份证号码:', - value: '--', - key: 'idNo', - show: true, - }, - { - label: '所属单位:', - value: '--', - key: 'orgName', - show: true, - }, -]; - -export const headerColumns1: HeaderColumns[] = [ - { - label: '随访医生:', - value: '--', - key: 'doctorName', - show: true, - }, - { - label: '随访日期:', - value: '--', - key: 'followDate', - show: true, - }, - { - label: '随访形式:', - value: '--', - key: 'followUp', - customRender: (record) => { - return getNotHaveName(record.followUp, followFormat); - }, - show: true, - }, - { - label: '随访效果:', - value: '--', - key: 'evaluate', - customRender: (record) => { - return getNotHaveName(record.evaluate, followEffect); - }, - show: true, - }, - { - label: '下次随访:', - value: '--', - key: 'nextDate', - show: true, - }, -]; -export const headerColumns2: HeaderColumns[] = [ - { - label: '血压(mmHg):', - value: '--', - key: 'bloodPressure', - customRender: (record) => { - return `${record.bloodPressure}`; - }, - show: true, - }, - { - label: '心率(次/分钟):', - value: '--', - key: 'heartRate', - customRender: (record) => { - return `${record.heartRate}`; - }, - show: true, - }, - { - label: '腰围(cm):', - value: '--', - key: 'waistline', - customRender: (record) => { - return `${record.waistline}`; - }, - show: true, - }, - { - label: '体重(kg):', - value: '--', - key: 'weight', - customRender: (record) => { - return `${record.weight}`; - }, - show: true, - }, - { - label: 'BMI:', - value: '--', - key: 'bmi', - show: true, - }, - { - label: '血糖(mmol/L):', - value: '--', - key: 'bloodSugar', - customRender: (record) => { - return `${record.bloodSugar}`; - }, - show: true, - }, - { - label: '其他:', - value: '--', - key: 'otherThing', - show: true, - }, -]; -interface HeaderColumns { - label: string; - value: string; - key: string; - show?: boolean; - customRender?: ({ text, record }: { text: any; record: any }) => JSX.Element | string; -} -export const headerColumns3: HeaderColumns[] = [ - { - label: '吸烟量:', - value: '--', - key: 'smokeDay', - customRender: (record) => { - return `${record.smokeDay}(支/天)`; - }, - show: true, - }, - { - label: '饮酒量:', - value: '--', - key: 'drinkDay', - customRender: (record) => { - return `${record.drinkDay}(两/天)`; - }, - show: true, - }, - { - label: '运动:', - value: '--', - key: 'sportWeek', - customRender: (record) => { - return `${record.sportWeek}(次/周) ${record.sportMinuts}(分钟/次)`; - }, - show: true, - }, - { - label: '摄盐情况:', - value: '--', - key: 'saltIntake', - customRender: (record) => { - return getNotHaveName(record.saltIntake, saltIntake); - }, - show: true, - }, -]; -export const saltIntake = [ - { - label: '轻', - value: '1', - }, - { - label: '中', - value: '2', - }, - { - label: '重', - value: '3', - }, -]; diff --git a/src/views/interveneNew/medicalPoints/slow/slowList.vue b/src/views/interveneNew/medicalPoints/slow/slowList.vue deleted file mode 100644 index 3cc280e..0000000 --- a/src/views/interveneNew/medicalPoints/slow/slowList.vue +++ /dev/null @@ -1,287 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/medicalPoints/treatmentWrong/components/treatmentDrawer.vue b/src/views/interveneNew/medicalPoints/treatmentWrong/components/treatmentDrawer.vue deleted file mode 100644 index e4c58d3..0000000 --- a/src/views/interveneNew/medicalPoints/treatmentWrong/components/treatmentDrawer.vue +++ /dev/null @@ -1,301 +0,0 @@ - - - - diff --git a/src/views/interveneNew/medicalPoints/treatmentWrong/components/treatmentModal.vue b/src/views/interveneNew/medicalPoints/treatmentWrong/components/treatmentModal.vue deleted file mode 100644 index cd6a593..0000000 --- a/src/views/interveneNew/medicalPoints/treatmentWrong/components/treatmentModal.vue +++ /dev/null @@ -1,61 +0,0 @@ - - - diff --git a/src/views/interveneNew/medicalPoints/treatmentWrong/hooks.ts b/src/views/interveneNew/medicalPoints/treatmentWrong/hooks.ts deleted file mode 100644 index 3e1bbbb..0000000 --- a/src/views/interveneNew/medicalPoints/treatmentWrong/hooks.ts +++ /dev/null @@ -1,201 +0,0 @@ -import { ref, Ref } from 'vue'; - -export function showFormTip(domId: string) { - const dom: HTMLElement | null = document.getElementById(domId); - - function showDom() { - if (dom) { - dom.style.display = 'block'; - dom.scrollIntoView(); - } - } - - function hiddenDom() { - if (dom) { - dom.style.display = 'none'; - } - } - - return { - showDom, - hiddenDom, - }; -} - -function setInfo(record, list, callback?: Function) { - if (callback) { - callback(list); - return; - } - list.forEach((item) => { - const { field } = item; - const isEmpty = (obj, field) => { - if (!obj) return true; - return obj[field] === undefined || obj[field] === null || obj[field] === ''; - }; - if (!isEmpty(record, field)) { - if (Object.hasOwn(item, 'customRender')) { - // @ts-ignore - item.value = item.customRender(record); - } else if (Object.hasOwn(item, 'slot')) { - item.value = { ...record, dataIndex: field }; - } else { - item.value = record[field] || ''; - } - } - }); - return list; -} -interface IUseNonEmployee { - label?: string; - value: string; - component: string; - field: string; - slot?: string; -} -export function useNonEmployee() { - const basicInfo: Ref = ref([ - { - label: '就诊人', - value: '', - component: 'Input', - field: 'userName', - slot: 'userName', - }, - { - label: '身份证号', - value: '', - component: 'Input', - field: 'idCard', - }, - { - label: '联系电话', - value: '', - component: 'Input', - field: 'phone', - }, - ]); - const medicalInformation: Ref = ref([ - { - label: '就诊时间', - value: '', - component: 'Input', - field: 'diagnosisDate', - }, - { - label: '就诊医疗点', - value: '', - component: 'Input', - field: 'medicalCenterName', - }, - { - label: '就诊医生', - value: '', - component: 'Input', - field: 'doctorName', - }, - { - label: '诊断', - value: '', - component: 'Textarea', - field: 'diagnosisDisease', - }, - { - label: '主诉', - value: '', - component: 'Textarea', - field: 'mainDemands', - }, - { - label: '查体', - value: '', - component: 'Textarea', - field: 'inspectionTool', - }, - { - label: '现病史', - value: '', - component: 'Textarea', - field: 'historyPresentIllness', - }, - { - label: '既往史', - value: '', - component: 'Textarea', - field: 'pastHistory', - }, - { - label: '过敏史', - value: '', - component: 'Textarea', - field: 'allergicHistory', - }, - ]); - const medicineList: Ref = ref([ - { - label: '药品名称', - value: '', - component: 'Input', - field: 'medicineName', - }, - { - label: '规格', - value: '', - component: 'Input', - field: 'medicineSpecification', - }, - { - label: '价格', - value: '', - component: 'Input', - field: 'sellingPrice', - }, - { - label: '数量', - value: '', - component: 'Input', - field: 'drugsNum', - }, - { - label: '用法用量', - value: '', - component: 'Input', - field: 'dosage', - }, - ]); - const lifeAdvice: Ref = ref([ - { - label: '医嘱', - value: '', - component: 'Textarea', - field: 'doctorAdvice', - }, - { - label: '运动处方', - value: '', - component: 'Textarea', - field: 'exerciseFormula', - }, - { - label: '膳食处方', - value: '', - component: 'Textarea', - field: 'foodFormula', - }, - ]); - function setFormValues(values = {}) { - basicInfo.value = setInfo(values, basicInfo.value); - medicalInformation.value = setInfo(values, medicalInformation.value); - lifeAdvice.value = setInfo(values, lifeAdvice.value); - } - function getMedicineList(values = []) { - return setInfo(values, medicineList.value); - } - return { - basicInfo, - medicalInformation, - lifeAdvice, - setFormValues, - getMedicineList, - }; -} diff --git a/src/views/interveneNew/medicalPoints/treatmentWrong/treatmentWrong.api.ts b/src/views/interveneNew/medicalPoints/treatmentWrong/treatmentWrong.api.ts deleted file mode 100644 index ecb0097..0000000 --- a/src/views/interveneNew/medicalPoints/treatmentWrong/treatmentWrong.api.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); -enum Api { - list = '/medical-center/medicalCenter/dailyDiagnosis/list', - save = '/medical-center/medicalCenter/dailyDiagnosis/add', - edit = '/medical-center/medicalCenter/dailyDiagnosis/edit', - deleteOne = '/medical-center/medicalCenter/dailyDiagnosis/delete', - deleteBatch = '/medical-center/medicalCenter/dailyDiagnosis/deleteBatch', - getMedicineList = '/medical-center/medicalCenter/medicalMedicine/getMedicineList', - queryById = '/medical-center/medicalCenter/dailyDiagnosis/queryById', - medicalCenterList = '/medical-center/medicalCenter/medicalResource/all', - resourceStaff = '/medical-center/api/resource/resourceStaff', - departList = '/sys/sysDepart/allSecondaryDepartsNewBack', - exportXls = '/medical-center/medicalCenter/dailyDiagnosis/exportXls', -} -export const getExportXlsUrl = Api.exportXls; -export const list = (params: Recordable) => defHttp.get({ url: Api.list, params: { ...params, userSign: false } }); -//医疗点-用户单位 -export const departList = (params = {}) => defHttp.get({ url: Api.departList, params }); -//医疗点集合 -export const medicalCenterList = (params = {}) => defHttp.get({ url: Api.medicalCenterList, params }); -export const resourceStaff = (params: Recordable) => defHttp.get({ url: Api.resourceStaff, params }); -export const queryById = (params: Recordable) => defHttp.get({ url: Api.queryById, params }); -export const getMedicineList = (params: Recordable) => defHttp.get({ url: Api.getMedicineList, params }); -export const saveOrUpdate = (params: Recordable, isUpdate: Boolean) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; -/** - * 删除单个 - */ -export const deleteOne = (params: Recordable, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: async () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - * @param handleSuccess - */ -export const batchDelete = (params: Recordable, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: async () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/medicalPoints/treatmentWrong/treatmentWrong.data.ts b/src/views/interveneNew/medicalPoints/treatmentWrong/treatmentWrong.data.ts deleted file mode 100644 index b9aa7dc..0000000 --- a/src/views/interveneNew/medicalPoints/treatmentWrong/treatmentWrong.data.ts +++ /dev/null @@ -1,656 +0,0 @@ -import { ref } from 'vue'; -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { BODY_CONTAINER } from '/@/utils/domUtils'; -import { message } from 'ant-design-vue'; -import { getMedicineList, medicalCenterList, resourceStaff, departList } from '/@/views/interveneNew/medicalPoints/treatmentWrong/treatmentWrong.api'; -import { employListApi } from '/@/views/emergency/communication/components/commApi'; -import { mColumns } from '/@/views/intervene/medical/slowManage/components/slow/slow.data'; -import { useUserStore } from '/@/store/modules/user'; -import { getIDCardRegExp, isBirthdayInFuture } from '/@/utils'; - -export const baseColProps = { - span: 24, - xs: 24, // <576px - sm: 24, // ≥576px - md: 24, // ≥768px - lg: 24, // ≥992px - xl: 24, // ≥1200px - xxl: 24, // ≥1600px -}; -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '就诊人', - align: 'center', - dataIndex: 'userName', - width: 100, - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - width: 80, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - width: 80, - }, - { - title: '身份证', - align: 'center', - dataIndex: 'idCard', - }, - { - title: '就诊疾病', - align: 'center', - dataIndex: 'diagnosisDisease', - }, - { - title: '联系电话', - align: 'center', - dataIndex: 'phone', - }, - { - title: '就诊医疗点', - align: 'center', - dataIndex: 'medicalCenterName', - }, - { - title: '就诊医生', - align: 'center', - dataIndex: 'doctorName', - width: 100, - }, - { - title: '就诊时间', - align: 'center', - dataIndex: 'diagnosisDate', - }, -]; -const userStore = useUserStore(); -export const searchFormSchema: FormSchema[] = [ - { - label: '就诊人', - field: 'userName', - component: 'Input', - }, - { - label: '就诊医疗点', - field: 'medicalCenterId', - component: 'ApiSelect', - componentProps: () => { - let orgCode = userStore.getUserInfo.orgCode || 'abc'; - return { - api: medicalCenterList, - params: { - departCode: orgCode, - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '就诊时间', - field: 'date', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - valueType: 'Date', - format: 'YYYY-MM-DD', - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => BODY_CONTAINER, - 'onUpdate:value': (value) => { - if (value) { - formModel.startDate = value[0]; - formModel.endDate = value[1]; - } else { - formModel.startDate = null; - formModel.endDate = null; - } - }, - }; - }, - }, - { - label: '', - field: 'startDate', - component: 'Input', - show: false, - }, - { - label: '', - field: 'endDate', - component: 'Input', - show: false, - }, -]; -const itemProps = { - labelCol: { - sm: 0, - xs: 0, - }, - wrapperCol: { - sm: 24, - xs: 24, - }, -}; -// 新增非职工就诊表单 -export const drawerFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'userName', - component: 'Input', - componentProps: () => { - return { - placeholder: '请输入就诊人姓名', - }; - }, - required: true, - }, - { - label: '身份证', - field: 'idCard', - component: 'Input', - componentProps: () => { - return { - placeholder: '请输入就诊人身份证', - }; - }, - slot: 'idCard', - rules: [ - { - pattern: getIDCardRegExp(), - message: '${label}格式有误', - required: true, - }, - { - validator: async (_, value) => { - //判断生日是否大于今天 - let flag = isBirthdayInFuture(value); - if (flag) return Promise.reject('输入的身份证号码中的生日在未来,请检查输入是否正确。'); - return Promise.resolve(); - }, - }, - ], - }, - { - label: '联系电话', - field: 'phone', - component: 'Input', - componentProps: () => { - return { - placeholder: '请输入就诊人联系电话', - }; - }, - rules: [{ pattern: /^1[3456789]\d{9}$/, message: '手机号码格式有误', trigger: 'blur', required: true }], - }, - { - label: '', - field: 'followUp', - component: 'Select', - slot: 'followUp', - itemProps, - }, - { - label: '就诊时间', - field: 'diagnosisDate', - required: true, - component: 'DatePicker', - componentProps: () => { - return { - format: 'YYYY-MM-DD HH:mm', - valueFormat: 'YYYY-MM-DD HH:mm', - showTime: { format: 'YYYY-MM-DD HH:mm' }, - style: { - width: '50%', - }, - }; - }, - }, - { - label: '单位Code', - field: 'orgCode', - component: 'Input', - show: false, - }, - { - label: '就诊医疗点', - field: 'medicalCenterId', - required: true, - component: 'ApiSelect', - componentProps: ({ formModel }) => { - const userInfo = useUserStore().userInfo; - return { - api: medicalCenterList, - params: { - staffId: userInfo?.id || '123', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel['doctorId'] = ''; - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '就诊医生', - field: 'doctorId', - required: true, - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: resourceStaff, - params: { - resourceId: formModel?.medicalCenterId || 'abab123', - }, - resultField: 'list', - labelField: 'realname', - valueField: 'id', - immediate: true, - showSearch: true, - onFocus: () => { - if (!formModel?.userName) { - return message.warn('请先输入就诊人'); - } - if (!formModel?.medicalCenterId) { - return message.warn('请先选择就诊医疗点'); - } - }, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '', - field: 'content', - component: 'Select', - slot: 'content', - itemProps, - }, - { - label: '主诉', - field: 'mainDemands', - component: 'InputTextArea', - required: true, - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '查体', - field: 'inspectionTool', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 2, - }; - }, - }, - { - label: '既往史', - field: 'pastHistory', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '现病史', - field: 'historyPresentIllness', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '过敏史', - field: 'allergicHistory', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '诊断疾病', - field: 'diagnosisDisease', - required: true, - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '是否复诊', - field: 'isRevisit', - required: true, - component: 'RadioGroup', - componentProps: () => { - return { - options: [ - { - label: '是', - value: 1, - }, - { - label: '否', - value: 0, - }, - ], - }; - }, - }, - { - label: '', - field: 'plan', - component: 'Select', - slot: 'plan', - itemProps, - }, - { - label: '', - field: 'suggest', - component: 'Input', - slot: 'suggest', - itemProps, - }, - { - label: '医嘱', - field: 'doctorAdvice', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '膳食处方', - field: 'foodFormula', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '运动处方', - field: 'exerciseFormula', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '主键id', - field: 'id', - component: 'Input', - show: false, - }, -]; -//医药方案列表 -export const drawerColumns: BasicColumn[] = [ - { - title: '医药id', - dataIndex: 'medicineId', - ifShow: false, - }, - { - title: '主键', - dataIndex: 'id', - ifShow: false, - }, - { - title: '药品名称', - dataIndex: 'medicineName', - width: '25%', - }, - { - title: '药品规格', - dataIndex: 'medicineSpecification', - width: '25%', - }, - { - title: '数量', - dataIndex: 'drugsNum', - width: '25%', - }, - { - title: '用法用量', - dataIndex: 'dosage', - width: '25%', - }, -]; -const maxMedicineNum = ref(); -export const modalForm: FormSchema[] = [ - { - label: '药品名称', - field: 'medicineId', - required: true, - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getMedicineList, - params: { - resourceId: formModel.medicalCenterId || 'sca', - }, - resultField: 'list', - labelField: 'medicineName', - valueField: 'id', - immediate: true, - getPopupContainer: () => document.body, - onChange: (_val: string, option: Recordable) => { - maxMedicineNum.value = 0; - formModel.medicineName = option?.label; - maxMedicineNum.value = option?.medicineNumber; - formModel.medicineSpecification = option?.medicineSpecification; - formModel.sellingPrice = option?.sellingPrice; - formModel.specification = option?.specification; - formModel.medicineNumber = option?.medicineNumber; - if (_val) { - formModel.drugsNum = 1; - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '规格', - field: 'medicineSpecification', - component: 'Input', - slot: 'medicineSpecification', - show: ({ values }) => values.medicineId, - }, - { - label: '价格', - field: 'sellingPrice', - component: 'Input', - slot: 'sellingPrice', - show: ({ values }) => values.medicineId, - }, - { - label: '库存', - field: 'medicineNumber', - component: 'Input', - slot: 'medicineNumber', - show: ({ values }) => values.medicineId, - }, - { - label: '说明书', - field: 'specification', - component: 'JImageUpload', - componentProps: () => { - return { - disabled: true, - }; - }, - show: ({ values }) => values.medicineId, - }, - { - label: '药品名称', - field: 'medicineName', - component: 'Input', - show: false, - }, - { - label: '药品规格', - field: 'medicineSpecification', - component: 'Input', - show: false, - }, - { - label: '药物数量', - field: 'drugsNum', - required: true, - component: 'InputNumber', - componentProps: () => { - return { - onChange: (val) => { - if (val > maxMedicineNum.value) { - return message.warn('您输入的药物数量大于库存数量'); - } - }, - style: { - width: '100%', - }, - }; - }, - rules: [ - { - required: true, - validator: async (_rule, value) => { - if (!value || value <= 0) { - return Promise.reject('请输入有效的用药数量!'); - } - return Promise.resolve(); - }, - trigger: 'change', - }, - ], - }, - { - label: '用法用量', - field: 'dosage', - required: true, - component: 'Input', - }, - { - label: '医疗点ID', - field: 'medicalCenterId', - component: 'Input', - show: false, - }, -]; -//用户查询表单 -export const mSearchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: departList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - style: { - width: '150px', - }, - }; - }, - }, -]; -export const userTableProps = ref({ - tableProps: { - // title: '一线医疗点医药管理', - api: employListApi, - columns: mColumns, - canResize: false, - formConfig: { - //labelWidth: 120, - schemas: mSearchFormSchema, - autoSubmitOnEnter: true, - showAdvancedButton: false, - fieldMapToNumber: [], - fieldMapToTime: [], - baseColProps: { - xs: 8, - sm: 8, - md: 8, - lg: 8, - xl: 12, - xxl: 12, - }, - actionColOptions: { - span: 24, - offset: 0, - xs: 8, - sm: 8, - md: 8, - lg: 8, - xl: 12, - xxl: 12, - }, - }, - showActionColumn: false, - }, -}); diff --git a/src/views/interveneNew/medicalPoints/treatmentWrong/treatmentWrong.vue b/src/views/interveneNew/medicalPoints/treatmentWrong/treatmentWrong.vue deleted file mode 100644 index 7b47d78..0000000 --- a/src/views/interveneNew/medicalPoints/treatmentWrong/treatmentWrong.vue +++ /dev/null @@ -1,155 +0,0 @@ - - - diff --git a/src/views/interveneNew/motion/dataTransmission/components/dataTransmissionDrawer.vue b/src/views/interveneNew/motion/dataTransmission/components/dataTransmissionDrawer.vue deleted file mode 100644 index 3f925a3..0000000 --- a/src/views/interveneNew/motion/dataTransmission/components/dataTransmissionDrawer.vue +++ /dev/null @@ -1,68 +0,0 @@ - - - diff --git a/src/views/interveneNew/motion/dataTransmission/dataTransmission.api.ts b/src/views/interveneNew/motion/dataTransmission/dataTransmission.api.ts deleted file mode 100644 index cf5514e..0000000 --- a/src/views/interveneNew/motion/dataTransmission/dataTransmission.api.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -enum Api { - list = '/health-intervene/exercise/dataInterface/list', - add = '/health-intervene/exercise/dataInterface/add', - edit = '/health-intervene/exercise/dataInterface/edit', - deleteOneApi = '/health-intervene/exercise/dataInterface/delete', - deleteBatch = '/health-intervene/exercise/dataInterface/deleteBatch', -} -export const listApi = (params: any) => defHttp.get({ url: Api.list, params }); -/** - * 删除单条数据 - * @param params - * @param handleSuccess - */ -export const deleteOne = (params: any, handleSuccess: Function) => { - return createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据?', - okText: '确认', - cancelText: '取消', - onOk: () => - defHttp.delete({ url: Api.deleteOneApi, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }), - }); -}; -/** - * 删除多条数据 - * @param params - * @param handleSuccess - */ -export const deleteBatch = (params: any, handleSuccess: Function) => { - return createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据?', - okText: '确认', - cancelText: '取消', - onOk: () => - defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }), - }); -}; -/** - * 保存或更新数据 - * @param params 任意参数,根据实际需要传递,用于保存或更新的数据 - * @param isUpdate 更新标志,true表示更新数据,false表示新增数据 - */ -export const saveOrUpdate = (params: any, isUpdate: boolean) => { - const url = isUpdate ? Api.edit : Api.add; - return defHttp.post({ url, params }); -}; diff --git a/src/views/interveneNew/motion/dataTransmission/dataTransmission.data.ts b/src/views/interveneNew/motion/dataTransmission/dataTransmission.data.ts deleted file mode 100644 index 9a9d898..0000000 --- a/src/views/interveneNew/motion/dataTransmission/dataTransmission.data.ts +++ /dev/null @@ -1,187 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -export const columns: BasicColumn[] = [ - { - title: '编号', - dataIndex: 'interfaceNo', - align: 'center', - width: 100, - }, - { - title: '提供单位', - dataIndex: 'supplyOrgCode', - align: 'center', - }, - { - title: '运动数据接口名称', - dataIndex: 'interfaceName', - align: 'center', - }, - { - title: '类型', - dataIndex: 'typeName_dictText', - align: 'center', - }, - { - title: '品牌', - dataIndex: 'brandName', - align: 'center', - }, - { - title: '传输形式', - dataIndex: 'transmissionType', - align: 'center', - }, - { - title: '输入程序', - dataIndex: 'inputProgram', - align: 'center', - }, - { - title: '中间程序', - dataIndex: 'middleProgram', - align: 'center', - }, - { - title: '输出程序', - dataIndex: 'outProgram', - align: 'center', - }, - { - title: '绑定标识', - dataIndex: 'bindingId', - align: 'center', - }, - { - title: '开发单位', - dataIndex: 'developOrg', - align: 'center', - }, - { - title: '负责人', - dataIndex: 'principal', - align: 'center', - }, - { - title: '开发日期', - dataIndex: 'developDate', - align: 'center', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'interfaceName', - label: '接口名称', - component: 'Input', - }, - { - field: 'transmissionType', - label: '传输形式', - component: 'Input', - }, -]; -//新增抽屉表单数据 -export const drawerFormSchema: FormSchema[] = [ - { - field: 'supplyOrgCode', - label: '提供单位', - component: 'Input', - required: true, - }, - { - field: 'interfaceName', - label: '运动数据接口名称', - component: 'Input', - required: true, - }, - { - field: 'typeName', - label: '类型', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'data_interface_type', - }; - }, - required: true, - }, - { - field: 'brandName', - label: '品牌', - component: 'Input', - }, - { - field: 'transmissionType', - label: '传输形式', - component: 'Input', - required: true, - }, - { - field: 'inputProgram', - label: '输入程序', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - required: true, - }, - { - field: 'middleProgram', - label: '中间程序', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - required: true, - }, - { - field: 'outProgram', - label: '输出程序', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - required: true, - }, - { - field: 'bindingId', - label: '绑定标识', - component: 'Input', - required: true, - }, - { - field: 'developOrg', - label: '开发单位', - component: 'Input', - required: true, - }, - { - field: 'principal', - label: '负责人', - component: 'Input', - required: true, - }, - { - field: 'developDate', - label: '开发日期', - component: 'DatePicker', - required: true, - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - }; - }, - }, - { - field: 'id', - label: '隐藏id', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/motion/dataTransmission/dataTransmission.vue b/src/views/interveneNew/motion/dataTransmission/dataTransmission.vue deleted file mode 100644 index 8faafa1..0000000 --- a/src/views/interveneNew/motion/dataTransmission/dataTransmission.vue +++ /dev/null @@ -1,102 +0,0 @@ - - - diff --git a/src/views/interveneNew/motion/dataTransmission/dataTransmissionHooks.ts b/src/views/interveneNew/motion/dataTransmission/dataTransmissionHooks.ts deleted file mode 100644 index e69de29..0000000 diff --git a/src/views/interveneNew/motion/dataTransmission/equipmentManagement/components/equipmentManagementDrawer.vue b/src/views/interveneNew/motion/dataTransmission/equipmentManagement/components/equipmentManagementDrawer.vue deleted file mode 100644 index c26ec2c..0000000 --- a/src/views/interveneNew/motion/dataTransmission/equipmentManagement/components/equipmentManagementDrawer.vue +++ /dev/null @@ -1,101 +0,0 @@ - - - diff --git a/src/views/interveneNew/motion/dataTransmission/equipmentManagement/equipmentManagement.api.ts b/src/views/interveneNew/motion/dataTransmission/equipmentManagement/equipmentManagement.api.ts deleted file mode 100644 index 579751a..0000000 --- a/src/views/interveneNew/motion/dataTransmission/equipmentManagement/equipmentManagement.api.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/exercise/dataDevice/list', - add = '/health-intervene/exercise/dataDevice/add', - edit = '/health-intervene/exercise/dataDevice/edit', -} -export const listApi = (params: any) => defHttp.get({ url: Api.list, params }); - -/** - * 保存或更新数据 - * @param params 任意参数,根据实际需要传递,用于保存或更新的数据 - * @param isUpdate 更新标志,true表示更新数据,false表示新增数据 - */ -export const saveOrUpdate = (params: any, isUpdate: boolean) => { - const url = isUpdate ? Api.edit : Api.add; - return defHttp.post({ url, params }); -}; diff --git a/src/views/interveneNew/motion/dataTransmission/equipmentManagement/equipmentManagement.data.ts b/src/views/interveneNew/motion/dataTransmission/equipmentManagement/equipmentManagement.data.ts deleted file mode 100644 index 03acae1..0000000 --- a/src/views/interveneNew/motion/dataTransmission/equipmentManagement/equipmentManagement.data.ts +++ /dev/null @@ -1,197 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: ['watchDeviceDO', 'departmentName'], - align: 'center', - }, - // { - // title: '设备名称', - // dataIndex: 'deviceName', - // align: 'center', - // }, - { - title: '设备编码', - dataIndex: ['watchDeviceDO', 'watchNo'], - align: 'center', - }, - { - title: '设备类型', - dataIndex: 'typeName_dictText', - customRender: () => { - return '手表'; - }, - align: 'center', - }, - // { - // title: '品牌', - // dataIndex: 'brandName', - // align: 'center', - // }, - { - title: '型号', - dataIndex: 'deviceType', - align: 'center', - }, - { - title: '权属', - dataIndex: 'ownership_dictText', - align: 'center', - }, - { - title: '应用场所', - dataIndex: 'applicationPlaces', - align: 'center', - }, - { - title: '配备日期', - dataIndex: ['watchDeviceDO', 'bindDate'], - align: 'center', - }, - { - title: '管理人', - dataIndex: 'manager', - align: 'center', - }, - { - title: '使用人', - dataIndex: ['watchDeviceDO', 'bindRealName'], - align: 'center', - }, - { - title: '数据接口', - dataIndex: 'dataInterface', - align: 'center', - }, - { - title: '传输开关', - dataIndex: ['watchDeviceDO', 'switchFlag'], - align: 'center', - }, - { - title: '传输频次', - dataIndex: 'transmissionFrequency', - align: 'center', - }, - { - title: '传输总时长(分钟)', - dataIndex: 'transmissionTime', - align: 'center', - }, - { - title: '传输数据大小(MB)', - dataIndex: 'transmissionSize', - align: 'center', - }, - { - title: '设备状态', - dataIndex: ['watchDeviceDO', 'dataFlag_dictText'], - align: 'center', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'type', - label: '设备类型', - component: 'JDictSelectTag', - componentProps: () => { - return { - options: [ - { - label: '手表', - value: '0', - }, - ], - }; - }, - }, - { - field: 'bindRealName', - label: '使用人', - component: 'Input', - }, - { - field: 'date', - label: '配备日期', - component: 'RangeDate', - }, -]; -//新增抽屉表单数据 -export const drawerFormSchema: FormSchema[] = [ - { - field: 'deviceName', - label: '设备名称', - component: 'Input', - }, - { - field: 'brandName', - label: '品牌', - component: 'Input', - }, - { - field: 'deviceType', - label: '型号', - component: 'Input', - }, - { - field: 'ownership', - label: '权属', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'data_watch_owner', - }; - }, - }, - { - field: 'applicationPlaces', - label: '应用场所', - component: 'Input', - }, - { - field: 'manager', - label: '管理人', - component: 'Input', - }, - { - field: 'dataInterface', - label: '数据接口', - component: 'Input', - }, - { - field: 'transmissionFrequency', - label: '传输频次', - component: 'Input', - }, - { - field: 'transmissionTime', - label: '传输总时长(分钟)', - component: 'InputNumber', - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - }, - { - field: 'transmissionSize', - label: '传输数据大小(MB)', - component: 'InputNumber', - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - }, - { - field: 'id', - label: '隐藏id', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/motion/dataTransmission/equipmentManagement/equipmentManagement.vue b/src/views/interveneNew/motion/dataTransmission/equipmentManagement/equipmentManagement.vue deleted file mode 100644 index 24140a8..0000000 --- a/src/views/interveneNew/motion/dataTransmission/equipmentManagement/equipmentManagement.vue +++ /dev/null @@ -1,68 +0,0 @@ - - - diff --git a/src/views/interveneNew/motion/dataTransmission/equipmentManagement/equipmentManagementHooks.ts b/src/views/interveneNew/motion/dataTransmission/equipmentManagement/equipmentManagementHooks.ts deleted file mode 100644 index ad9f7c8..0000000 --- a/src/views/interveneNew/motion/dataTransmission/equipmentManagement/equipmentManagementHooks.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { ref } from 'vue'; - -export function useDrawerHeader() { - const headerInfo = ref([ - { - label: '使用人:', - key: 'bindRealName', - value: '', - }, - { - label: '配备日期:', - key: 'bindDate', - value: '', - }, - { - label: '设备类型:', - key: 'weight', - value: '手表', - customRender: () => { - return '手表'; - }, - }, - { - label: '设备编码:', - key: 'watchNo', - value: '', - }, - { - label: '传输开关:', - key: 'switchFlag', - value: '', - }, - { - label: '设备状态:', - key: 'dataFlag_dictText', - value: '', - }, - ]); - function setHeader(record, callback?: Function) { - if (callback) { - callback(headerInfo); - return; - } - headerInfo.value.forEach((item) => { - const { key } = item; - const isEmpty = (obj, key) => { - if (!obj) return true; - return obj[key] === undefined || obj[key] === null || obj[key] === ''; - }; - if (!isEmpty(record, key)) { - if (Object.hasOwn(item, 'customRender')) { - // @ts-ignore - item.value = item.customRender(record); - } else { - item.value = record[key] || ''; - } - } - }); - } - return { - headerInfo, - setHeader, - }; -} diff --git a/src/views/interveneNew/motion/dataTransmission/motionData/components/bloodOxygenCom.vue b/src/views/interveneNew/motion/dataTransmission/motionData/components/bloodOxygenCom.vue deleted file mode 100644 index a18afc4..0000000 --- a/src/views/interveneNew/motion/dataTransmission/motionData/components/bloodOxygenCom.vue +++ /dev/null @@ -1,132 +0,0 @@ - - - - diff --git a/src/views/interveneNew/motion/dataTransmission/motionData/components/datePeriodSelector.vue b/src/views/interveneNew/motion/dataTransmission/motionData/components/datePeriodSelector.vue deleted file mode 100644 index 8ec90cc..0000000 --- a/src/views/interveneNew/motion/dataTransmission/motionData/components/datePeriodSelector.vue +++ /dev/null @@ -1,49 +0,0 @@ - - - - diff --git a/src/views/interveneNew/motion/dataTransmission/motionData/components/heartRateCom.vue b/src/views/interveneNew/motion/dataTransmission/motionData/components/heartRateCom.vue deleted file mode 100644 index 652678d..0000000 --- a/src/views/interveneNew/motion/dataTransmission/motionData/components/heartRateCom.vue +++ /dev/null @@ -1,156 +0,0 @@ - - - - diff --git a/src/views/interveneNew/motion/dataTransmission/motionData/components/physiologyModel.vue b/src/views/interveneNew/motion/dataTransmission/motionData/components/physiologyModel.vue deleted file mode 100644 index e543051..0000000 --- a/src/views/interveneNew/motion/dataTransmission/motionData/components/physiologyModel.vue +++ /dev/null @@ -1,107 +0,0 @@ - - - diff --git a/src/views/interveneNew/motion/dataTransmission/motionData/components/realTimeModel.vue b/src/views/interveneNew/motion/dataTransmission/motionData/components/realTimeModel.vue deleted file mode 100644 index 7c44f32..0000000 --- a/src/views/interveneNew/motion/dataTransmission/motionData/components/realTimeModel.vue +++ /dev/null @@ -1,185 +0,0 @@ - - - diff --git a/src/views/interveneNew/motion/dataTransmission/motionData/components/sleepCom.vue b/src/views/interveneNew/motion/dataTransmission/motionData/components/sleepCom.vue deleted file mode 100644 index 0bcb6d7..0000000 --- a/src/views/interveneNew/motion/dataTransmission/motionData/components/sleepCom.vue +++ /dev/null @@ -1,199 +0,0 @@ - - - - diff --git a/src/views/interveneNew/motion/dataTransmission/motionData/components/temperatureCom.vue b/src/views/interveneNew/motion/dataTransmission/motionData/components/temperatureCom.vue deleted file mode 100644 index 11fb4d3..0000000 --- a/src/views/interveneNew/motion/dataTransmission/motionData/components/temperatureCom.vue +++ /dev/null @@ -1,136 +0,0 @@ - - - - diff --git a/src/views/interveneNew/motion/dataTransmission/motionData/components/timeQueryModel.vue b/src/views/interveneNew/motion/dataTransmission/motionData/components/timeQueryModel.vue deleted file mode 100644 index d8d2357..0000000 --- a/src/views/interveneNew/motion/dataTransmission/motionData/components/timeQueryModel.vue +++ /dev/null @@ -1,133 +0,0 @@ - - - diff --git a/src/views/interveneNew/motion/dataTransmission/motionData/components/timeSelector.vue b/src/views/interveneNew/motion/dataTransmission/motionData/components/timeSelector.vue deleted file mode 100644 index d122dfa..0000000 --- a/src/views/interveneNew/motion/dataTransmission/motionData/components/timeSelector.vue +++ /dev/null @@ -1,153 +0,0 @@ - - - - diff --git a/src/views/interveneNew/motion/dataTransmission/motionData/components/userInfoComponents.vue b/src/views/interveneNew/motion/dataTransmission/motionData/components/userInfoComponents.vue deleted file mode 100644 index 2c78b5a..0000000 --- a/src/views/interveneNew/motion/dataTransmission/motionData/components/userInfoComponents.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - diff --git a/src/views/interveneNew/motion/dataTransmission/motionData/motionData.api.ts b/src/views/interveneNew/motion/dataTransmission/motionData/motionData.api.ts deleted file mode 100644 index 00a9a51..0000000 --- a/src/views/interveneNew/motion/dataTransmission/motionData/motionData.api.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-watch/watch/watchBindHis/selectWatchSportData', - selectSportTimingTotal = '/health-watch/watch/watchData/selectSportTimingTotal', - selectSportTiming = '/health-watch/watch/watchData/selectSportTiming', - selectSportCostTotal = '/health-watch/watch/watchData/selectSportCostTotal', - selectSportCostList = '/health-watch/watch/watchData/selectSportCostListNews', - departList = '/sys/sysDepart/allSecondaryDepartsNewBack', - thirdDepartList = '/sys/sysDepart/getThirdDepartListByOrgCode', - selectSportType = '/sys/dictItem/list', - heartChart = '/health-watch/watch/watchData/queryHeartRateStatisticsData', - bloodChart = '/health-watch/watch/watchData/queryBloodOxygenStatisticsData', - sleepCHart = '/health-watch/watch/watchData/querySleepStatisticsData', - temperatureChart = '/health-watch/watch/watchData/queryBodyTemperatureStatData', -} -export const listApi = (params: any) => defHttp.get({ url: Api.list, params }); -export const departList = (params = {}) => defHttp.get({ url: Api.departList, params }); -export const thirdDepartList = (params = {}) => defHttp.get({ url: Api.thirdDepartList, params }); -/** - *实时运动总消耗 - */ -export const selectSportData = (params: any) => defHttp.get({ url: Api.selectSportTimingTotal, params }); -/** - * 实时运动 - * @param params - */ -export const selectSportTiming = (params: any) => defHttp.get({ url: Api.selectSportTiming, params }); -/** - *分时运动总消耗 - * @param params - */ -export const selectSportCostTotal = (params: any) => defHttp.get({ url: Api.selectSportCostTotal, params }); -/** - * 分时运动列表 - * @param params - */ -export const selectSportCostList = (params: any) => defHttp.get({ url: Api.selectSportCostList, params }); -/** - * 获取运动类型 - * @param params - */ -export const selectSportType = (params = {}) => - defHttp.get({ url: Api.selectSportType, params: { pageNo: 1, pageSize: 200, dictId: '1768149033168711682', ...params } }); -/** - * 心率图表 - * @param params - */ -export const heartChartApi = (params: any) => defHttp.post({ url: Api.heartChart, params }); -/** - * 血氧图表 - * @param params - */ -export const bloodChartApi = (params: any) => defHttp.post({ url: Api.bloodChart, params }); -/** - * 睡眠图表 - * @param params - */ -export const sleepChartApi = (params: any) => defHttp.post({ url: Api.sleepCHart, params }); -/** - * 体温图表 - * @param params - */ -export const temperatureChartApi = (params: any) => defHttp.post({ url: Api.temperatureChart, params }); diff --git a/src/views/interveneNew/motion/dataTransmission/motionData/motionData.data.ts b/src/views/interveneNew/motion/dataTransmission/motionData/motionData.data.ts deleted file mode 100644 index d7eb172..0000000 --- a/src/views/interveneNew/motion/dataTransmission/motionData/motionData.data.ts +++ /dev/null @@ -1,286 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { departList, thirdDepartList } from '/@/views/interveneNew/motion/dataTransmission/motionData/motionData.api'; -import { message } from 'ant-design-vue'; -import { convertSeconds } from '/@/views/interveneNew/cancer/examinationCancer/randomAnswer/randomAnswerHook'; - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'unitName', - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'departmentName', - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'bindRealName', - width: 80, - fixed: 'left', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - width: 80, - }, - { - title: '年龄', - dataIndex: 'age', - width: 80, - }, - { - title: '设备类型', - dataIndex: 'address', - customRender: () => { - return '手表'; - }, - width: 90, - }, - { - title: '传输日期', - dataIndex: 'startDate', - width: 180, - // @ts-ignore - customRender: ({ record }): string => { - if (!record?.startDate) return ''; - return `${record?.startDate}-${record?.endDate}`; - }, - }, - { - title: '实时运动数据', - dataIndex: 'realTime', - }, - { - title: '分时运动数据', - dataIndex: 'timeQuery', - }, - { - title: '生理监测数据', - dataIndex: 'physical', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'type', - label: '设备类型', - component: 'JDictSelectTag', - componentProps: () => { - return { - options: [ - { - label: '手表', - value: '0', - }, - ], - }; - }, - }, - { - field: 'bindRealName', - label: '员工姓名', - component: 'Input', - }, - { - label: '所属单位', - field: 'secondDepart', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: departList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel['thirdDepart'] = ''; - }, - }; - }, - }, - { - label: '部门', - field: 'thirdDepart', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: thirdDepartList, - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - params: { - orgCode: formModel?.secondDepart || '12313', - }, - immediate: true, - onFocus: () => { - if (!formModel.secondDepart) { - return message.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, -]; -//新增抽屉表单数据 -export const drawerFormSchema: FormSchema[] = [ - { - field: 'name', - label: '提供单位', - component: 'Input', - required: true, - }, - { - field: 'name', - label: '运动数据接口名称', - component: 'Input', - required: true, - }, - { - field: 'address', - label: '类型', - component: 'Input', - required: true, - }, - { - field: 'address', - label: '品牌', - component: 'Input', - }, - { - field: 'address', - label: '传输形式', - component: 'Input', - required: true, - }, - { - field: 'address', - label: '输入程序', - component: 'Input', - required: true, - }, - { - field: 'address', - label: '中间程序', - component: 'Input', - required: true, - }, - { - field: 'address', - label: '输出程序', - component: 'Input', - required: true, - }, - { - field: 'address', - label: '绑定标识', - component: 'Input', - required: true, - }, - { - field: 'address', - label: '开发单位', - component: 'Input', - required: true, - }, - { - field: 'address', - label: '负责人', - component: 'Input', - required: true, - }, - { - field: 'date', - label: '开发日期', - component: 'DatePicker', - required: true, - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - }; - }, - }, -]; - -//分时运动数据弹窗 -export const timeQueryColumns: BasicColumn[] = [ - { - title: '运动日期', - dataIndex: 'startTimeStamp', - width: 158, - }, - { - title: '运动类型', - dataIndex: 'workoutType_dictText', - }, - { - title: '运动耗时', - dataIndex: 'totalTime', - customRender: ({ text }) => { - if (!text) return ''; - const { hours, minutes, seconds } = convertSeconds(text); - const parts = []; - if (hours) parts.push(hours); - if (minutes || hours) parts.push(minutes); // 只有当存在小时或分钟时才添加分钟 - if (seconds || minutes || hours) parts.push(seconds); // 只有当存在小时、分钟或秒时才添加秒 - return parts.join(':'); - }, - }, - { - title: '运动消耗(千卡)', - dataIndex: 'sportExpenditure', - children: [ - { - title: '总消耗', - dataIndex: 'calorie', - }, - { - title: '糖分消耗', - dataIndex: 'sugarCalories', - }, - { - title: '脂质消耗', - dataIndex: 'fatCalories', - }, - ], - }, -]; -export const timeQueryFormSchema: FormSchema[] = [ - { - field: 'date', - label: '运动日期', - component: 'RangePicker', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - }; - }, - }, -]; -export interface TotalData { - bindUserId?: string; - calorie?: number; - dataDate?: string; - distance?: string; - endTime?: string; - endTimeStamp?: string; - fatCalories?: string; - id?: string; - maxId?: string; - startTime?: string; - startTimeStamp?: string; - sugarCalories?: string; - totalTime?: string; - watchNo?: string; - workoutType?: string; -} diff --git a/src/views/interveneNew/motion/dataTransmission/motionData/motionData.vue b/src/views/interveneNew/motion/dataTransmission/motionData/motionData.vue deleted file mode 100644 index fc6f576..0000000 --- a/src/views/interveneNew/motion/dataTransmission/motionData/motionData.vue +++ /dev/null @@ -1,95 +0,0 @@ - - - diff --git a/src/views/interveneNew/motion/dataTransmission/motionData/motionDataHooks.ts b/src/views/interveneNew/motion/dataTransmission/motionData/motionDataHooks.ts deleted file mode 100644 index 4226272..0000000 --- a/src/views/interveneNew/motion/dataTransmission/motionData/motionDataHooks.ts +++ /dev/null @@ -1,595 +0,0 @@ -import * as echarts from 'echarts'; -import { onMounted, ref } from 'vue'; -import { selectSportType } from '/@/views/interveneNew/motion/dataTransmission/motionData/motionData.api'; -import { cloneDeep } from 'lodash-es'; -import moment from 'moment'; - -//柱状图 -export function getBarOptions({ xAxisData, seriesData, seriesName, yAxisName, barColor }) { - function everyIsNull() { - return seriesData.length === 0 || seriesData.every((item: any) => item === null); - } - const flag = everyIsNull(); - return { - grid: { - left: '4%', - right: '4%', - // bottom: '10%', - // containLabel: true, - }, - tooltip: { - trigger: 'axis', - axisPointer: { - type: 'shadow', - }, - }, - xAxis: { - type: 'category', - data: xAxisData, - boundaryGap: true, - axisLine: { - show: false, - }, - axisTick: { - show: false, - }, - }, - yAxis: { - type: 'value', - name: yAxisName, - nameTextStyle: { - align: 'center', - }, - splitLine: { - lineStyle: { - color: '#ededed', - type: 'dashed', - }, - }, - }, - series: [ - { - color: barColor, - name: seriesName, - type: 'bar', - data: seriesData, - barWidth: 10, - itemStyle: { - barBorderRadius: 5, - }, - }, - ], - graphic: { - type: 'text', // 类型:文本 - left: 'center', - top: 'center', - silent: true, // 不响应事件 - invisible: !flag, // 有数据就隐藏 - style: { - fill: '#999', - text: '暂无数据', - fontSize: '20', - }, - }, - }; -} -//睡眠柱状图-日 -export function getSleepBarOptionsByDay({ xAxisData, seriesData }) { - // const state = ['深睡', '浅睡', '清醒', '零星小睡']; - // const colors = ['#5635b9', '#6f4dfd', '#b7b0fd', '#9990fe']; - function everyIsNull() { - return seriesData.length === 0 || seriesData.every((item: any) => item === null); - } - - const flag = everyIsNull(); - const state = ['深睡', '浅睡']; - const colors = ['#5635b9', '#9990fe']; //三种状态的颜色 - function createSeries(seriesData) { - const arr = []; - seriesData.map((item) => { - const { start, end, flag } = item; - if ([3, 1].includes(flag)) { - const color = flag == 3 ? colors[0] : colors[1]; - const name = flag == 3 ? '深睡' : '浅睡'; - const value = flag == 3 ? 0 : 1; - const startTime = moment(start).format('YYYY/MM/DD HH:mm'); - const endTime = moment(end).format('YYYY/MM/DD HH:mm'); - const data = { - itemStyle: { normal: { color: color } }, - name: name, - value: [value, startTime, endTime], - }; - arr.push(data); - } - }); - return arr; - } - const data = createSeries(seriesData) || []; - return { - color: colors, - grid: { - left: '10%', - right: '4%', - }, - legend: { - data: state, - selectedMode: false, // 图例设为不可点击 - textStyle: { - color: '#000', - }, - itemStyle: { - color: 'inherit', - }, - // left: 0, - top: '5%', - }, - tooltip: { - trigger: 'axis', - axisPointer: { - type: 'shadow', - }, - formatter: function (data: any[]) { - const params = data[0]; - return ` -
${params.name}
-
${params.value[1]}~${params.value[2]}
- `; - }, - }, - xAxis: { - type: 'time', - interval: 3600 * 1000, //以一个小时递增 - // min: '2009/6/1 06:00', - boundaryGap: true, - axisLine: { - show: false, - }, - axisTick: { - show: false, - }, - axisLabel: { - formatter: function (value) { - const date = new Date(value); - function getzf(num) { - if (parseInt(num) < 10) { - num = '0' + num; - } - return num; - } - return getzf(date.getHours()) + ':00'; - }, - }, - }, - yAxis: { - type: 'value', - // show: false, - data: state, - nameTextStyle: { - align: 'center', - }, - splitLine: { - lineStyle: { - color: '#ededed', - type: 'dashed', - }, - }, - axisLabel: { - formatter: function (value) { - if (value == 0.5) { - return '深睡'; - } else if (value == 1.5) { - return '浅睡'; - } else if (value == 2.5) { - return '清醒'; - } else if (value == 3) return '零星小睡'; - }, - align: 'left', - }, - }, - series: [ - { name: state[0], type: 'bar', data: [], color: colors[0] }, - { name: state[1], type: 'bar', data: [], color: colors[1] }, - // { name: state[2], type: 'bar', data: [], color: colors[2] }, - // { name: state[3], type: 'bar', data: [], color: colors[3] }, - { - type: 'custom', - renderItem: function (params, api) { - //开发者自定义的图形元素渲染逻辑,是通过书写 renderItem 函数实现的 - const categoryIndex = api.value(0); //这里使用 api.value(0) 取出当前 dataItem 中第一个维度的数值。 - const start = api.coord([api.value(1), categoryIndex]); // 这里使用 api.coord(...) 将数值在当前坐标系中转换成为屏幕上的点的像素值。 - const end = api.coord([api.value(2), categoryIndex]); - const height = api.size([0, 1])[1]; - return { - type: 'rect', // 表示这个图形元素是矩形。还可以是 'circle', 'sector', 'polygon' 等等。 - shape: echarts.graphic.clipRectByRect( - { - // 矩形的位置和大小。 - x: start[0], - y: start[1] - height / 2, - width: end[0] - start[0], - height: height, - }, - { - // 当前坐标系的包围盒。 - x: params.coordSys.x, - y: params.coordSys.y, - width: params.coordSys.width, - height: params.coordSys.height, - } - ), - style: api.style(), - }; - }, - encode: { - x: [1, 2, 3, 4], // data 中『维度1』和『维度2』对应到 X 轴 - y: 0, // data 中『维度0』对应到 Y 轴 - }, - // data: [ - // { - // itemStyle: { normal: { color: colors[0] } }, - // name: '深睡', - // value: [0, '2009/6/1 6:13', '2009/6/1 8:22'], - // }, - // { - // itemStyle: { normal: { color: colors[1] } }, - // name: '浅睡', - // value: [1, '2009/6/1 9:00', '2009/6/1 10:13'], - // }, - // { - // itemStyle: { normal: { color: colors[2] } }, - // name: '清醒', - // value: [2, '2009/6/1 14:00', '2009/6/1 16:13'], - // }, - // { - // itemStyle: { normal: { color: colors[3] } }, - // name: '零星小睡', - // value: [3, '2009/6/1 18:00', '2009/6/1 20:13'], - // }, - // ], - data: data, - barWidth: 10, - itemStyle: { - barBorderRadius: 5, - }, - }, - ], - graphic: { - type: 'text', // 类型:文本 - left: 'center', - top: 'center', - silent: true, // 不响应事件 - invisible: !flag, // 有数据就隐藏 - style: { - fill: '#999', - text: '暂无数据', - fontSize: '20', - }, - }, - }; -} -//睡眠柱状图-周、月、年 -export function getSleepBarOptionsByWeek({ xAxisData, value, value1 }) { - function everyIsNull(list) { - return list.length === 0 || list.every((item: any) => item === null); - } - const flag = everyIsNull(value); - const flag1 = everyIsNull(value1); - const colors = ['#5635b9', '#9990fe']; //三种状态的颜色 - //堆叠柱状图 - const grid = { - left: 100, - right: 100, - top: 50, - bottom: 50, - }; - return { - tooltip: { - trigger: 'axis', - axisPointer: { - type: 'shadow', - }, - formatter: function (params) { - const tar1 = params[1]; - const tar = params[0]; - return `${xAxisData[tar.dataIndex]} -
-
-
- 深睡:${tar.value ? tar.value : 0} -
-
- 分钟 -
-
-
-
- 浅睡:${tar1.value ? tar1.value : 0} -
-
- 分钟 -
-
-
`; - }, - }, - legend: { - selectedMode: false, - }, - grid, - yAxis: { - type: 'value', - }, - xAxis: { - type: 'category', - data: xAxisData, - }, - series: [ - { - name: '深睡', - type: 'bar', - color: colors[0], - stack: 'total', - barWidth: '60%', - data: value, - }, - { - name: '浅睡', - type: 'bar', - color: colors[1], - stack: 'total', - barWidth: '60%', - data: value1, - }, - ], - graphic: { - type: 'text', // 类型:文本 - left: 'center', - top: 'center', - silent: true, // 不响应事件 - invisible: flag + flag1 < 1, // 有数据就隐藏 - style: { - fill: '#999', - text: '暂无数据', - fontSize: '20', - }, - }, - }; -} -//弹窗用户信息头部 -export function useUserInfoHeader() { - const headerData = ref([ - { - label: '员工姓名:', - key: 'bindRealName', - value: '', - }, - { - label: '员工性别:', - value: '', - key: 'sex_dictText', - }, - { - label: '员工年龄:', - value: '', - key: 'age', - }, - { - label: '员工单位:', - value: '', - key: 'unitName', - }, - { - label: '员工部门:', - value: '', - key: 'departmentName', - }, - { - label: '传输日期:', - value: '', - key: 'startDate', - customRender: (record: any): string => { - if (!record?.startDate) return ''; - return `${record?.startDate} ~ ${record?.endDate}`; - }, - }, - ]); - function setUserInfoHeader(record, callback?: Function) { - if (callback) { - callback(headerData); - return; - } - headerData.value.forEach((item) => { - const { key } = item; - const isEmpty = (obj, key) => { - if (!obj) return true; - return obj[key] === undefined || obj[key] === null || obj[key] === ''; - }; - if (!isEmpty(record, key)) { - if (Object.hasOwn(item, 'customRender')) { - // @ts-ignore - item.value = item.customRender(record); - } else { - item.value = record[key] || ''; - } - } - }); - } - return { - headerData, - setUserInfoHeader, - }; -} -/** - * 将给定的时间(分钟)转换为小时和分钟的形式。 - * @param time 需要转换的时间,单位为分钟,必须为非负数。 - * @returns 返回一个对象,包含格式化后的小时和分钟。 - * @throws 如果时间参数为负数,抛出错误。 - */ -export function toMinutesAndHours(time: number) { - const hour = ref('--'); - const minute = ref('--'); - if (time < 0) { - console.log('时间参数必须为非负数'); - return { - hour, - minute, - }; - } - if (time) { - hour.value = Math.floor(time / 60); - minute.value = time % 60; - } - return { - hour, - minute, - }; -} -/** - * 将给定的时间(分钟)转换为小时和分钟的形式。 - * @param ms 需要转换的时间,单位为分钟,必须为非负数。 - * @param type 返回类型,可选值为object和string,默认为object - * @returns 返回一个对象,包含格式化后的小时和分钟,或者返回字符串 - * @throws 如果时间参数为负数,抛出错误。 - */ -export function msToHMS(ms: number, type = 'object') { - // 输入验证:确保ms是数字 - // if (typeof ms !== 'number' || isNaN(ms)) { - // throw new TypeError('ms must be a number'); - // } - // 负值处理:时间不能为负,对负值输入进行异常处理 - if (ms < 0) { - throw new Error('Time cannot be negative'); - } - if (!ms) { - return type === 'object' - ? { - hours: '--', - minutes: '--', - seconds: '--', - } - : '--:--:--'; - } - // 封装时间计算逻辑 - function calculateTime(ms) { - let hours = Math.floor(ms / 3600); - let minutes = Math.floor((ms % 3600) / 60); - let seconds = ms % 60; - hours = hours < 10 ? '0' + hours : hours; - minutes = minutes < 10 ? '0' + minutes : minutes; - seconds = seconds < 10 ? '0' + seconds : seconds; - return { hours, minutes, seconds }; - } - - // 根据type返回不同格式的结果 - const { hours, minutes, seconds } = calculateTime(parseInt(ms)); - if (type === 'string') { - return `${hours}:${minutes}:${seconds}`; - } else { - return { hours, minutes, seconds }; - } -} -/** - * 获取运动类型 - */ -export function useSportType() { - const sportType = ref([]); - onMounted(async () => { - await initSportType(); - }); - async function initSportType() { - try { - const data = await selectSportType(); - sportType.value = data.records; - } catch (e) { - console.warn('获取运动类型失败', e); - } - } - function getSportType() { - return sportType.value; - } - return { - getSportType, - initSportType, - }; -} -export function getImgUrl(url: string) { - const imgList = { - run: new URL('/@/assets/images/allLook/run.png', import.meta.url), - walk: new URL('/@/assets/images/allLook/walk.png', import.meta.url), - dynamicBicycle: new URL('/@/assets/images/allLook/dynamicBicycle.png', import.meta.url), - swimming: new URL('/@/assets/images/allLook/swimming.png', import.meta.url), - yoga: new URL('/@/assets/images/allLook/yoga.png', import.meta.url), - taekwondo: new URL('/@/assets/images/allLook/taekwondo.png', import.meta.url), - badminton: new URL('/@/assets/images/allLook/badminton.png', import.meta.url), - pilates: new URL('/@/assets/images/allLook/pilates.png', import.meta.url), - tableTennis: new URL('/@/assets/images/allLook/tableTennis.png', import.meta.url), - rideBike: new URL('/@/assets/images/allLook/rideBike.png', import.meta.url), - }; - return imgList[url]; -} -//给list赋值 -export function setList(list, record, callback?: Function | null, checkNull = true) { - const selfList = cloneDeep(list); - selfList.forEach((item) => { - const { key } = item; - const isEmpty = (obj, key) => { - if (!obj) return true; - return obj[key] === undefined || obj[key] === null || obj[key] === ''; - }; - if (checkNull && !isEmpty(record, key)) { - const hasCustomRender = Object.hasOwn(item, 'customRender'); - if (item?.customField == true && hasCustomRender) { - item.customRender(record, item); - } else if (hasCustomRender) { - item.value = item.customRender(record); - } else { - item.value = record[key] || ''; - } - } - if (!checkNull) { - const hasCustomRender = Object.hasOwn(item, 'customRender'); - if (item?.customField == true && hasCustomRender) { - item.customRender(record, item); - } else if (hasCustomRender) { - item.value = item.customRender(record); - } else { - item.value = record[key] || ''; - } - } - }); - return selfList; -} - -/** - * 获取参数 - * @param type - * @param dateTime - */ -export function getParams(type: string, dateTime: string) { - enum Flag { - day = '1', - week = '2', - month = '3', - year = '4', - } - enum Field { - day = 'dateDay', - week = 'dateWeek', - month = 'dateMonth', - year = 'dateYear', - } - if (type === 'week') { - const [dateWeekStart, dateWeekEnd] = dateTime.split('~'); - return { - dateWeekStart, - dateWeekEnd, - flag: Flag.week, - }; - } else { - const fieldName = Field[type]; - return { - [fieldName]: dateTime, - flag: Flag[type], - }; - } -} diff --git a/src/views/interveneNew/motion/employeeList/components/employModal.vue b/src/views/interveneNew/motion/employeeList/components/employModal.vue deleted file mode 100644 index 78066d7..0000000 --- a/src/views/interveneNew/motion/employeeList/components/employModal.vue +++ /dev/null @@ -1,249 +0,0 @@ - - - - diff --git a/src/views/interveneNew/motion/employeeList/employeeList.api.ts b/src/views/interveneNew/motion/employeeList/employeeList.api.ts deleted file mode 100644 index d588b80..0000000 --- a/src/views/interveneNew/motion/employeeList/employeeList.api.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -export enum Api { - list = '/sys/healthUserEmployeeEx/list', - commonPage = '/health-system/api/sys/jiaoda/weight/record/page', - commonTrend = '/health-system/api/sys/jiaoda/weight/record', -} - -export const list = (params) => defHttp.get({ url: Api.list, params: { ...params, selectFamily: true } }); - -export const commonPageApi = (params) => defHttp.get({ url: Api.commonPage, params }, { joinParamsToUrl: true }); -export const commonTrendApi = (params) => defHttp.get({ url: Api.commonTrend, params }, { joinParamsToUrl: true }); diff --git a/src/views/interveneNew/motion/employeeList/employeeList.data.ts b/src/views/interveneNew/motion/employeeList/employeeList.data.ts deleted file mode 100644 index 4969c96..0000000 --- a/src/views/interveneNew/motion/employeeList/employeeList.data.ts +++ /dev/null @@ -1,249 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { Image, message } from 'ant-design-vue'; -import { getFamaleDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; -import { render } from '/@/utils/common/renderUtils'; -import { useDepartment } from '/@/utils/auth/formAuth'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; -import { getThirdDepartListByOrgCode } from '/@/views/archive/employeeFile/employeeFileList.api'; -import { AesEncryption } from '/@/utils/cipher'; -import { cacheCipher } from '/@/settings/encryptionSetting'; -import dayjs from 'dayjs'; - -export const columns: BasicColumn[] = [ - { - title: '用户账号', - align: 'center', - dataIndex: 'username', - width: 120, - fixed: 'left', - }, - { - title: '姓名', - align: 'center', - dataIndex: 'realname', - fixed: 'left', - width: 120, - }, - { - title: '头像', - align: 'center', - dataIndex: 'avatar', - width: 120, - customRender: ({ text, record }) => { - const t = text ? text.replace(',', '') : null; - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(t), - height: 50, - width: 50, - fallback: getFamaleDefaultImage(record.sex), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - width: 100, - customRender: ({ text }) => { - return render.renderDict(text, 'gender'); - }, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - width: 100, - }, - { - title: '单位', - align: 'center', - dataIndex: ['secondDepart', 'departName'], - width: 120, - }, - { - title: '部门', - align: 'center', - dataIndex: ['depart', 'departName'], - width: 120, - }, - { - title: '身份证', - align: 'center', - dataIndex: 'idCard', - width: 200, - }, - { - title: '手机号', - align: 'center', - dataIndex: 'phone', - width: 120, - }, - { - title: '身高', - align: 'center', - dataIndex: ['extension', 'height'], - width: 100, - }, - { - title: '体重', - align: 'center', - dataIndex: ['extension', 'weight'], - width: 100, - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '手机号', - field: 'phone', - component: 'Input', - }, - { - label: '身份证号', - field: 'idCord', - component: 'Input', - }, - { - label: '单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - const { secondSelectValue, secondSelectDisabled } = useDepartment({ schema, key: 'orgCode' }); - secondSelectValue(); - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - onChange: () => { - formModel.orgCode2 = ''; - }, - onDeselect: () => { - formModel.orgCode = ''; - formModel.orgCode2 = ''; - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - disabled: secondSelectDisabled, - }; - }, - }, - { - label: '部门', - field: 'orgCode2', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - const { thirdSelectValue, thirdSelectDisabled } = useDepartment({ schema, key: 'orgCode' }); - thirdSelectValue(); - return { - api: getThirdDepartListByOrgCode, - resultField: 'list', - labelField: 'departName', - params: { - orgCode: formModel?.orgCode || '12313', - }, - valueField: 'orgCode', - immediate: true, - onFocus: () => { - if (!formModel.orgCode) { - return message.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - disabled: thirdSelectDisabled, - }; - }, - }, -]; - -export function encryption() { - const aes = new AesEncryption(cacheCipher); - - function encrypt(word: string) { - if (!word) return; - return aes.encryptByAES(word); - } - - function decrypt(word: string) { - if (!word) return; - return aes.decryptByAES(word); - } - - return { encrypt, decrypt }; -} -export const Column2: BasicColumn[] = [ - { - title: '更新日期', - dataIndex: 'checkTime', - align: 'center', - width: 120, - customRender: ({ text }) => { - return dayjs(text).format('YYYY-MM-DD HH:mm:ss'); - }, - }, - { - title: '数值', - dataIndex: 'weight', - align: 'center', - width: 120, - }, - { - title: '来源', - dataIndex: 'dataSource_dictText', - align: 'center', - width: 120, - }, -]; - -export const leftUserInfo = [ - { - label: '员工姓名', - value: 'realname', - }, - { - label: '性别', - value: 'sex_dictText', - }, - { - label: '年龄', - value: 'age', - }, - { - label: '员工工号', - value: 'workNo', - }, - { - label: '所属单位', - value: 'secondDepart', - }, - { - label: '所属部门', - value: 'threeDepart', - }, - { - label: '身高', - value: 'height', - }, -]; diff --git a/src/views/interveneNew/motion/employeeList/employeeList.vue b/src/views/interveneNew/motion/employeeList/employeeList.vue deleted file mode 100644 index 769723b..0000000 --- a/src/views/interveneNew/motion/employeeList/employeeList.vue +++ /dev/null @@ -1,71 +0,0 @@ - - diff --git a/src/views/interveneNew/motion/exerciseEffect/activityPlan/activityPlan.api.ts b/src/views/interveneNew/motion/exerciseEffect/activityPlan/activityPlan.api.ts deleted file mode 100644 index ed66f0d..0000000 --- a/src/views/interveneNew/motion/exerciseEffect/activityPlan/activityPlan.api.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -enum Api { - list = '/health-intervene/exercise-effect/plan/list', - evaluationList = '/health-intervene/exercise-effect/planScope/list', - sportDetails = '/health-intervene/exercise-effect/planScope/detailList', - add = '/health-intervene/exercise-effect/plan/add', - edit = '/health-intervene/exercise-effect/plan/edit', - deleteBatch = '/health-intervene/exercise-effect/plan/delete', -} -const { createConfirm } = useMessage(); -export const list = (params: any) => defHttp.get({ url: Api.list, params }); -// 运动评价 -export const evaluationListApi = (params: any) => defHttp.get({ url: Api.evaluationList, params }); - -//运动明细 -export const sportDetailsListApi = (params: any) => defHttp.get({ url: Api.sportDetails, params }); -export const saveOrUpdate = (params, isUpdate) => { - return isUpdate ? defHttp.put({ url: Api.edit, params }) : defHttp.post({ url: Api.add, params }); -}; -export const deleteBatch = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - defHttp.delete({ url: Api.deleteBatch, params }, { joinParamsToUrl: true }).then(()=>{ - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/motion/exerciseEffect/activityPlan/activityPlan.data.ts b/src/views/interveneNew/motion/exerciseEffect/activityPlan/activityPlan.data.ts deleted file mode 100644 index 5a1b715..0000000 --- a/src/views/interveneNew/motion/exerciseEffect/activityPlan/activityPlan.data.ts +++ /dev/null @@ -1,960 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getThirdDepartListByOrgCode } from '/@/views/archive/employeeFile/employeeFileList.api'; -import { getDeptList } from '/@/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivityHooks'; -import { h, ref } from 'vue'; -import { useUserStore } from '/@/store/modules/user'; -import { getThirdDepartsNew } from '/@/utils/system/api'; -import { getDictLabelByValue, getDictInfoByValue } from '/@/utils/dict'; -import { stateList, exerciseTypeList, evaluateTypeList, sortList } from '/@/views/interveneNew/motion/exerciseEffect/activityPlan/activityPlanHooks'; -import { dealRangeDate } from '/@/views/interveneNew/meals/overweight/overweightHooks'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { queryDepartTreeSync } from '/@/views/system/depart/depart.api'; -// 参与人范围 -const scopeTypeList = [ - { - value: '0', - label: '全体人员', - }, - { - value: '1', - label: '指定部门', - }, - { - value: '2', - label: '指定员工', - }, - { - value: '3', - label: '指定部门,指定员工', - }, -]; - -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '计划名称', - dataIndex: 'planName', - }, - { - title: '参与人范围', - dataIndex: 'scopeType', - customRender: ({ text }) => { - return getDictLabelByValue(scopeTypeList, text); - }, - }, - { - title: '运动类型', - dataIndex: 'exerciseType', - customRender: ({ text }) => { - return getDictLabelByValue(exerciseTypeList, text); - }, - }, - { - title: '使用评价模型', - dataIndex: 'modelName', - }, - { - title: '预期效果', - dataIndex: 'expectedEffect', - }, - { - title: '活动起止时间', - dataIndex: 'startTime', - width: 200, - customRender: ({ record }) => { - return dealRangeDate(record?.startTime, record.endTime); - }, - }, - { - title: '应参加人数', - dataIndex: 'attendNum', - }, - { - title: '实际参加人数', - dataIndex: 'actualNum', - }, - { - title: '活动状态', - dataIndex: 'state', - customRender: ({ text }) => { - return h( - 'span', - { - style: { - color: getDictInfoByValue(stateList, text).desc, - }, - }, - getDictLabelByValue(stateList, text) - ); - }, - }, - { - title: '组织部门', - dataIndex: 'organizerDeptName', - }, - { - title: '负责人', - dataIndex: 'managerName', - }, - { - title: '活动联系电话', - dataIndex: 'managerPhone', - }, -]; -// 活动详情数据 -export const detailColumns = [ - { - label: '活动起止时间', - value: '', - field: 'startTime', - customRender: (record) => { - return dealRangeDate(record?.startTime, record.endTime); - }, - }, - { - label: '运动类型', - value: '', - field: 'exerciseType', - customRender: (record) => { - return getDictLabelByValue(exerciseTypeList, record.exerciseType); - }, - }, - { - label: '使用评价模型', - value: '', - field: 'modelName', - }, - { - label: '预期效果', - value: '', - field: 'expectedEffect', - }, - { - label: '组织部门', - value: '', - field: 'organizerDeptName', - }, - { - label: '负责人', - value: '', - field: 'managerName', - }, - { - label: '活动联系电话', - value: '', - field: 'managerPhone', - }, -]; -// @ts-ignore -export const searchFormSchema: FormSchema[] = [ - { - field: 'planName', - label: '计划名称', - component: 'Input', - }, - { - field: 'exerciseType', - label: '运动类型', - component: 'Select', - componentProps: { - options: exerciseTypeList, - }, - }, - { - field: 'state', - label: '活动状态', - component: 'Select', - componentProps: { - options: stateList, - }, - }, - { - field: 'activityDate', - label: '活动日期', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - 'onUpdate:value': (value) => { - if (value) { - formModel.startTime = value[0]; - formModel.endTime = value[1]; - } else { - formModel.startTime = null; - formModel.endTime = null; - } - }, - }; - }, - }, - { - field: 'startTime', - label: '', - component: 'Input', - show: false, - }, - { - label: '', - field: 'endTime', - component: 'Input', - show: false, - }, -]; -const deptOption = ref([]); -const user = useUserStore(); -export const formSchema: FormSchema[] = [ - { - label: '计划名称', - field: 'planName', - required: true, - component: 'Input', - }, - { - label: '使用评价模型', - field: 'exerciseAssessModelId', - slot: 'modelName', - component: 'Input', - required: true, - }, - { - label: '使用评价模型', - field: 'modelName', - component: 'Input', - show: false, - }, - { - label: '运动名称', - field: 'exerciseName', - component: 'Input', - show: false, - }, - { - label: '运动类型', - field: 'exerciseType_dictText', - component: 'Input', - show: false, - }, - { - label: '难度系数', - field: 'difficultyLevel_dictText', - component: 'Input', - show: false, - }, - { - label: '参加人员范围', - field: 'scopeType', - component: 'JDictSelectTag', - componentProps: ({ formModel }) => { - return { - type: 'radio', - options: [ - { label: '全体人员', value: '0' }, - { label: '指定人员', value: '1' }, - ], - onChange: (val: string) => { - if (val === '0') { - formModel.departScopeList = []; - formModel.userName = ''; - formModel.userScopeList = []; - } - }, - }; - }, - defaultValue: '1', - required: true, - }, - // { - // label: '指定部门', - // field: 'departScopeList', - // component: 'JlazyTreeSelect', - // ifShow: ({ values }) => values.scopeType == '1', - // componentProps: ({ formModel }) => { - // return { - // api: queryDepartTreeSync, - // loadApi: queryDepartTreeSync, - // // selectedKeys: keys, - // // expandedKeys: keys, - // afterApi: (data) => { - // data.forEach((item: any) => { - // item['resultItem'] = JSON.stringify({ - // record: item.title, - // scopeId: item.orgCode, - // type: 1, - // }); - // item['preTitle'] = item.title; - // item['key'] = item['resultItem']; - // }); - // return data; - // }, - // preItem: (item) => { - // item['preTitle'] = item['preTitle'] + '/' + item.title; - // item['resultItem'] = JSON.stringify({ - // record: item.title, - // scopeId: item.orgCode, - // type: 1, - // }); - // item['key'] = item['resultItem']; - // return item; - // }, - // fieldNamesInfo: { - // value: 'resultItem', - // label: 'preTitle', - // key: 'resultItem', - // }, - // }; - // }, - // dynamicRules: ({ model }) => [ - // { - // trigger: 'blur', - // validator: () => { - // return new Promise((resolve, reject) => { - // let dept = model?.departScopeList || []; - // if (model.scopeType == '1' && dept.length == 0 && !model.userName) { - // return reject('参加人员范围选择指定人员时,请选择指定部门或者指定人员'); - // } - // return resolve(); - // }); - // }, - // }, - // ], - // // ifShow: ({ values }) => values.scopeType == '1', - // }, - { - label: '指定部门', - field: 'departScopeList', - component: 'JlazyTreeSelect', - ifShow: ({ values }) => values.scopeType == '1', - componentProps: ({ formModel }) => { - return { - api: queryDepartTreeSync, - loadApi: queryDepartTreeSync, - selectedKeys: - formModel.departScopeList && - formModel.departScopeList.map((item) => { - return JSON.parse(item); - }), - expandedKeys: - formModel.departScopeList && - formModel.departScopeList.map((item) => { - return JSON.parse(item); - }), - afterApi: (data) => { - data.forEach((item: any) => { - item['resultItem'] = JSON.stringify({ - record: item.title, - scopeId: item.orgCode, - type: 1, - }); - item['preTitle'] = item.title; - item['key'] = item['resultItem']; - }); - return data; - }, - preItem: (title, item) => { - item['preTitle'] = title + '/' + item.title; - item['resultItem'] = JSON.stringify({ - record: item.title, - scopeId: item.orgCode, - type: 1, - }); - item['key'] = item['resultItem']; - return item; - }, - fieldNamesInfo: { - value: 'resultItem', - label: 'preTitle', - key: 'resultItem', - }, - }; - }, - dynamicRules: ({ model }) => [ - { - trigger: 'blur', - validator: () => { - return new Promise((resolve, reject) => { - let dept = model?.departScopeList || []; - if (model.scopeType == '1' && dept.length == 0 && !model.userName) { - return reject('参加人员范围选择指定人员时,请选择指定部门或者指定人员'); - } - return resolve(); - }); - }, - }, - ], - }, - // { - // label: '指定部门', - // field: 'departScopeList', - // component: 'Input', - // show: false, - // }, - { - label: '指定员工', - field: 'userName', - component: 'Input', - slot: 'selectEmployee', - ifShow: ({ values }) => values.scopeType == '1', - dynamicRules: ({ model }) => [ - { - trigger: 'blur', - validator: () => { - return new Promise((resolve, reject) => { - let dept = model?.departScopeList || []; - if (model.scopeType == '1' && dept.length == 0 && !model.userName) { - return reject('参加人员范围选择指定人员时,请选择指定部门或者指定人员'); - } - return resolve(); - }); - }, - }, - ], - }, - { - label: '指定员工', - field: 'userScopeList', - component: 'Input', - show: false, - }, - { - label: '活动起止日期', - field: 'date', - component: 'RangePicker', - required: true, - componentProps: ({ formModel }) => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - onChange: ([start, end]) => { - formModel.startTime = start; - formModel.endTime = end; - }, - }; - }, - }, - { - label: '开始时间', - field: 'startTime', - component: 'Input', - show: false, - }, - { - label: '结束时间', - field: 'endTime', - component: 'Input', - show: false, - }, - { - label: '预期效果', - field: 'expectedEffect', - component: 'Input', - }, - { - label: '活动组织部门', - field: 'organizerDeptName', - component: 'Input', - required: true, - }, - { - label: '活动联系电话', - field: 'managerPhone', - component: 'Input', - rules: [ - { - required: true, - pattern: /^1[3456789]\d{9}$/, - message: '${label}格式有误', - trigger: 'blur', - }, - ], - }, - { - label: '具体负责人', - field: 'managerName', - component: 'Input', - required: true, - }, - - { - label: '奖励等级标准', - field: 'awardLevelStandard', - component: 'InputTextArea', - componentProps: () => { - return { - showCount: true, - rows: 4, - }; - }, - required: true, - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; -//用户数据列表 -export const userFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'username', - component: 'Input', - }, - { - label: '单位', - field: 'orgCode', - component: 'Input', - show: false, - }, - { - label: '部门名称', - field: 'orgCodeThree', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNew, - resultField: 'list', - labelField: 'departName', - params: { - idOrCode: user?.userInfo?.orgCode?.substring(0, 6) || '12313', - }, - onChange: (e) => { - formModel.orgCode = e; - }, - valueField: 'orgCode', - immediate: true, - style: { - width: '195px', - }, - }; - }, - }, - { - label: '员工编号', - field: 'workNo', - component: 'Input', - }, -]; - -// 运动评价 -export const evaluationColumns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - fixed: 'left', - }, - { - title: '单位', - dataIndex: 'departName', - width: 120, - fixed: 'left', - }, - { - title: '部门', - dataIndex: 'orgName', - width: 120, - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'realName', - width: 90, - fixed: 'left', - }, - { - title: '员工工号', - dataIndex: 'workNo', - width: 90, - }, - { - title: '性别', - dataIndex: 'sex_dictText', - width: 90, - }, - { - title: '年龄', - dataIndex: 'age', - width: 90, - }, - { - title: '身高(cm)', - dataIndex: 'height', - width: 90, - }, - { - title: '体重(kg)', - dataIndex: 'weight', - width: 90, - }, - { - title: '最优运动评价', - children: [ - { - title: '运动时间', - dataIndex: 'exerciseDate', - width: 180, - }, - { - title: '对比方式', - dataIndex: 'evaluateType', - customRender: ({ text }) => { - return getDictLabelByValue(evaluateTypeList, text); - }, - width: 90, - }, - { - title: '视频对比相似度', - dataIndex: 'similarity', - width: 120, - customRender: ({ text }) => { - return text !== null ? text + '%' : ''; - }, - }, - { - title: '运动视频', - dataIndex: 'exerciseVideoUrl', - width: 80, - }, - { - title: '各项评分明细', - dataIndex: 'scoringDetails', - width: 120, - }, - { - title: '运动时长', - dataIndex: 'exerciseTime', - width: 80, - }, - { - title: '运动耗能(千卡)', - dataIndex: 'energy', - width: 130, - }, - { - title: '运动总得分', - dataIndex: 'evaluateScore', - width: 120, - }, - { - title: '总体效果评价', - dataIndex: 'evaluateLevel', - width: 120, - }, - ], - }, - { - title: '活动排名', - dataIndex: 'rank', - width: 80, - }, - { - title: '总运动次数', - dataIndex: 'exerciseCount', - width: 120, - }, - { - title: '累计运动时长', - dataIndex: 'totalExerciseTime', - width: 110, - }, - { - title: '累计运动耗能(千卡)', - dataIndex: 'totalEnergy', - width: 150, - }, -]; -export const evaluationSearchFormSchema: FormSchema[] = [ - { - field: 'realName', - label: '员工姓名', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2', 'orgCode'), - { - field: 'sort', - label: '列表排序', - component: 'Select', - componentProps: { - options: sortList, - }, - }, -]; - -//运动明细 -export const sportColumns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '运动时间', - dataIndex: 'exerciseDate', - width: 180, - }, - { - title: '运动评价', - children: [ - { - title: '对比方式', - dataIndex: 'evaluateType', - width: 80, - customRender: ({ text }) => { - return getDictLabelByValue(evaluateTypeList, text); - }, - }, - { - title: '视频对比相似度', - dataIndex: 'similarity', - width: 120, - customRender: ({ text }) => { - return text !== null ? text + '%' : ''; - }, - }, - { - title: '运动视频', - dataIndex: 'exerciseVideoUrl', - width: 80, - }, - { - title: '各项评分明细', - dataIndex: 'scoringDetails', - width: 120, - }, - { - title: '运动时长', - dataIndex: 'exerciseTime', - width: 80, - }, - { - title: '运动耗能', - dataIndex: 'energy', - width: 80, - }, - { - title: '运动总得分', - dataIndex: 'evaluateScore', - width: 100, - }, - { - title: '总体效果评价', - dataIndex: 'evaluateLevel', - width: 120, - }, - ], - }, -]; -export const sportSearchFormSchema: FormSchema[] = [ - { - field: 'activityDate', - label: '运动日期', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - onChange: ([start, end]) => { - formModel.startTime = start; - formModel.endTime = end; - }, - }; - }, - }, - { - field: 'startTime', - label: '', - component: 'Input', - show: false, - }, - { - label: '', - field: 'endTime', - component: 'Input', - show: false, - }, - { - field: 'sort', - label: '列表排序', - component: 'Select', - componentProps: { - options: sortList, - }, - }, -]; - -// 运动明细-用户基础信息 -export const sportUserInfo = [ - { - label: '姓名', - value: '', - field: 'realName', - }, - { - label: '工号', - value: '', - field: 'workNo', - }, - { - label: '性别', - value: '', - field: 'sex_dictText', - }, - { - label: '年龄', - value: '', - field: 'age', - unit: '岁', - }, - { - label: '身高', - value: '', - field: 'height', - unit: 'cm', - }, - { - label: '体重', - value: '', - field: 'weight', - unit: 'kg', - }, - { - label: '单位', - value: '', - field: 'departName', - }, - { - label: '部门', - value: '', - field: 'orgName', - }, -]; -// 运动明细-活动信息 -export const activityInfo = [ - { - label: '计划名称', - value: '', - field: 'planName', - }, - { - label: '活动起止日期', - value: '', - field: 'startTime', - customRender: (record) => { - return dealRangeDate(record?.startTime, record.endTime); - }, - }, - { - label: '运动类型', - value: '', - field: 'exerciseType', - customRender: (record) => { - return getDictLabelByValue(exerciseTypeList, record.exerciseType); - }, - }, - { - label: '使用评价模型', - value: '', - field: 'modelName', - }, - { - label: '活动排名', - value: '', - field: 'rank', - }, -]; - -export const activityRulesSchema: FormSchema[] = [ - { - label: '参加人员范围', - field: 'scopeTypeRang', - component: 'Input', - componentProps: () => { - return { - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - }; - }, - }, - { - label: '参加人员范围', - field: 'scopeType', - component: 'Input', - ifShow: false, - }, - { - label: '指定部门', - field: 'depart', - component: 'InputTextArea', - componentProps: () => { - return { - placeholder: '', - style: { - border: 'none', - outline: 'none', - }, - readonly: true, - autoSize: { - minRows: 4, - }, - }; - }, - ifShow: ({ values }) => values.scopeType == '1', - }, - { - label: '指定员工', - field: 'userName', - component: 'InputTextArea', - componentProps: () => { - return { - placeholder: '', - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - autoSize: { - minRows: 4, - }, - }; - }, - ifShow: ({ values }) => values.scopeType == '1', - }, - { - label: '奖励等级标准', - field: 'awardLevelStandard', - component: 'InputTextArea', - componentProps: () => { - return { - readonly: true, - style: { - border: 'none', - outline: 'none', - }, - autoSize: { - minRows: 4, - }, - }; - }, - }, -]; diff --git a/src/views/interveneNew/motion/exerciseEffect/activityPlan/activityPlan.vue b/src/views/interveneNew/motion/exerciseEffect/activityPlan/activityPlan.vue deleted file mode 100644 index 0292b85..0000000 --- a/src/views/interveneNew/motion/exerciseEffect/activityPlan/activityPlan.vue +++ /dev/null @@ -1,88 +0,0 @@ - - - diff --git a/src/views/interveneNew/motion/exerciseEffect/activityPlan/activityPlanHooks.ts b/src/views/interveneNew/motion/exerciseEffect/activityPlan/activityPlanHooks.ts deleted file mode 100644 index 73f4fd4..0000000 --- a/src/views/interveneNew/motion/exerciseEffect/activityPlan/activityPlanHooks.ts +++ /dev/null @@ -1,225 +0,0 @@ -// 运动类型 -import moment from 'moment'; -export const exerciseTypeList = [ - { - value: '1', - label: '耐力型', - }, - { - value: '2', - label: '力量型', - }, - { - value: '3', - label: '柔韧性', - }, -]; -// 活动状态 -export const stateList = [ - { - value: '0', - label: '未开始', - desc: '#919191', - }, - { - value: '1', - label: '进行中', - desc: '#f5a202', - }, - { - value: '2', - label: '已结束', - desc: '#919191', - }, -]; -// 对比方式 -export const evaluateTypeList = [ - { - value: '0', - label: '同步摄影', - }, - { - value: '1', - label: '上传视频', - }, -]; -// 列表排序 -export const sortList = [ - { - value: '0', - label: '按最新运动总得分正序', - }, - { - value: '1', - label: '按最新运动总得分倒序', - }, - { - value: '2', - label: '按最新运动时间正序', - }, - { - value: '3', - label: '按最新运动时间倒序', - }, -]; -export function setInfoList(columns, record) { - columns.map((item: any) => { - const { field } = item; - const isEmpty = (obj, key) => { - if (!obj) return true; - return obj[key] === undefined || obj[key] === null || obj[key] === ''; - }; - if (!isEmpty(record, field)) { - if (Object.hasOwn(item, 'customRender')) { - // @ts-ignore - item.value = item.customRender(record); - } else { - item.value = record[field] || ''; - } - } - }); - return columns; -} -export const selfPlan = { - span: 6, - xs: 12, - sm: 12, - md: 12, - lg: 8, - xl: 8, - xxl: 6, -}; -export const selfPlanDetails = { - span: 24, - lg: 24, - xl: 24, - xxl: 24, -}; -export function dealRangeDate(start, end) { - if (!start || !end) return; - const s = moment(start).format('YYYY/MM/DD'); - const e = moment(end).format('YYYY/MM/DD'); - return `${s}-${e}`; -} -// 非空数组 -export function notEmptyArr(arr) { - return Array.isArray(arr) && arr.length != 0; -} -//新增获取用户数据 -export function getUserList(list = []) { - const arr = []; - list.forEach((item) => { - const val = JSON.parse(item); - const obj = { - record: val.realname, - scopeId: val.id, - type: 2, - }; - arr.push(obj); - }); - return arr; -} -// 处理请求参数 -function getList(val) { - return val.split('},').map((item) => { - item = (item + '}').replace(/}}/g, '}'); - return item; - }); -} - -export function setParams(value) { - let scopeType = 0; - let departScopeList = JSON.parse(value?.departScopeList || '[]'); - let userScopeList = []; - const deptFlag = departScopeList.length > 0 && notEmptyArr(getList(departScopeList)); - const userFlag = notEmptyArr(JSON.parse(value?.userScopeList || '[]')); - if (deptFlag && userFlag) { - scopeType = 3; - departScopeList = JSON.parse(value.departScopeList); - userScopeList = JSON.parse(value.userScopeList); - } else if (deptFlag) { - scopeType = 1; - departScopeList = JSON.parse(value.departScopeList); - } else if (userFlag) { - scopeType = 2; - userScopeList = JSON.parse(value.userScopeList); - } - return { - ...value, - departScopeList, - userScopeList, - scopeType, - }; -} - -// 处理回显数据 -export function getParams(record) { - // let depart = []; - let scopeType = '0'; - // let userName = ''; - // let departScopeList = '[]'; - // let userScopeList = '[]'; - // const deptFlag = notEmptyArr(value?.departScopeList || []); - // const userFlag = notEmptyArr(value?.userScopeList || []); - // console.log(deptFlag); - // if (deptFlag && userFlag) { - // depart = value.departScopeList.map((item) => item.record).join(','); - // userName = value.userScopeList.map((item) => item.record).join(','); - // departScopeList = JSON.stringify(value.departScopeList); - // userScopeList = JSON.stringify(value.userScopeList); - // scopeType = '1'; - // } else if (deptFlag) { - // depart = value.departScopeList.map((item) => item.record).join(','); - // departScopeList = - // value.departScopeList?.length > 0 - // ? value.departScopeList.map((item) => { - // item = JSON.stringify({ - // record: item.record, - // scopeId: item.scopeId, - // type: item.type, - // }); - // return item; - // }) - // : []; - // scopeType = '1'; - // console.log(departScopeList); - // } else if (userFlag) { - // userName = value.userScopeList.map((item) => item.record).join(','); - // userScopeList = JSON.stringify(value.userScopeList); - // scopeType = '1'; - // } - const { departScopeList, userScopeList } = record; - const depart = departScopeList?.map((item) => item?.scopeId) || []; - const userName = userScopeList?.map((item) => item?.record).join(','); - const deptList = - departScopeList?.length > 0 - ? departScopeList.map((item) => { - item = JSON.stringify({ - record: item.record, - scopeId: item.scopeId, - type: item.type, - }); - return item; - }) - : []; - console.log(deptList); - const deptFlag = notEmptyArr(departScopeList); - const userFlag = notEmptyArr(userScopeList); - if (deptFlag && userFlag) { - scopeType = '1'; - } else if (deptFlag) { - scopeType = '1'; - } else if (userFlag) { - scopeType = '1'; - } - return { - ...record, - scopeType, - exerciseAssessModelId: record.modelId, - depart, - userName, - departScopeList: deptList, - userScopeList: JSON.stringify(userScopeList), - date: [record.startTime, record.endTime], - }; -} diff --git a/src/views/interveneNew/motion/exerciseEffect/activityPlan/components/SportsDetailsModal.vue b/src/views/interveneNew/motion/exerciseEffect/activityPlan/components/SportsDetailsModal.vue deleted file mode 100644 index 1f094a2..0000000 --- a/src/views/interveneNew/motion/exerciseEffect/activityPlan/components/SportsDetailsModal.vue +++ /dev/null @@ -1,184 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/motion/exerciseEffect/activityPlan/components/activityBasicDrawer.vue b/src/views/interveneNew/motion/exerciseEffect/activityPlan/components/activityBasicDrawer.vue deleted file mode 100644 index de7371d..0000000 --- a/src/views/interveneNew/motion/exerciseEffect/activityPlan/components/activityBasicDrawer.vue +++ /dev/null @@ -1,260 +0,0 @@ - - - diff --git a/src/views/interveneNew/motion/exerciseEffect/activityPlan/components/activityDetail.vue b/src/views/interveneNew/motion/exerciseEffect/activityPlan/components/activityDetail.vue deleted file mode 100644 index e286110..0000000 --- a/src/views/interveneNew/motion/exerciseEffect/activityPlan/components/activityDetail.vue +++ /dev/null @@ -1,328 +0,0 @@ - - - - diff --git a/src/views/interveneNew/motion/exerciseEffect/evaluationModel/components/scoreWeightsRules.vue b/src/views/interveneNew/motion/exerciseEffect/evaluationModel/components/scoreWeightsRules.vue deleted file mode 100644 index 2900d53..0000000 --- a/src/views/interveneNew/motion/exerciseEffect/evaluationModel/components/scoreWeightsRules.vue +++ /dev/null @@ -1,86 +0,0 @@ - - - diff --git a/src/views/interveneNew/motion/exerciseEffect/evaluationModel/evaluationModel.api.ts b/src/views/interveneNew/motion/exerciseEffect/evaluationModel/evaluationModel.api.ts deleted file mode 100644 index e1165e7..0000000 --- a/src/views/interveneNew/motion/exerciseEffect/evaluationModel/evaluationModel.api.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/exercise-effect/model/list', - edit = '/health-intervene/exercise-effect/model/update', - updateWarmUpTime = '/health-intervene/exercise-effect/model/updateWarmUpTime', -} -export const list = (params: any) => defHttp.get({ url: Api.list, params }); -export const edit = (params: any) => defHttp.get({ url: Api.edit, params }); -export const updateWarmUpTimeApi = (params: any) => defHttp.post({ url: Api.updateWarmUpTime, params }, { joinParamsToUrl: true }); diff --git a/src/views/interveneNew/motion/exerciseEffect/evaluationModel/evaluationModel.data.ts b/src/views/interveneNew/motion/exerciseEffect/evaluationModel/evaluationModel.data.ts deleted file mode 100644 index d37728d..0000000 --- a/src/views/interveneNew/motion/exerciseEffect/evaluationModel/evaluationModel.data.ts +++ /dev/null @@ -1,159 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getTimeStr } from '/@/views/interveneNew/konwledgeManage/examination/randomAnswer/randomAnswerHook'; -interface Option { - label: string; - value: number | string; -} -const exerciseType: Option[] = [ - { - label: '耐力型', - value: 1, - }, - { - label: '力量型', - value: 2, - }, - { - label: '柔韧性', - value: 3, - }, -]; -const difficultyLevel: Option[] = [ - { - label: '零基础', - value: 'K1', - }, - { - label: '初学', - value: 'K2', - }, - { - label: '进阶', - value: 'K3', - }, - { - label: '强化', - value: 'K4', - }, -]; -function getType(value: number, typeList: Option[]) { - if (!value) return ''; - return typeList.find((item) => item.value == value)?.label; -} - -export const columns: BasicColumn[] = [ - { - title: '模型名称', - dataIndex: 'modelName', - }, - { - title: '运动名称', - dataIndex: 'exerciseName', - }, - { - title: '运动类型', - dataIndex: 'exerciseType', - customRender: ({ record }) => getType(record.exerciseType, exerciseType), - }, - { - title: '难度系数', - dataIndex: 'difficultyLevel', - customRender: ({ record }) => getType(record.difficultyLevel, difficultyLevel), - }, - { - title: '热身时间(分钟)', - dataIndex: 'warmUpTime', - // customRender: ({ text }) => { - // return text ? (text * 1) / 60 : '--'; - // }, - width: 150, - }, - { - title: '评分项目权重和规则', - dataIndex: 'rule', - }, - { - title: '关联3D动画视频库', - dataIndex: '3dAnimation', - }, - { - title: '关联真人运动视频库', - dataIndex: 'realPerson', - }, - { - title: '状态', - dataIndex: 'status', - fixed: 'right', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'modelName', - label: '模型名称', - component: 'Input', - }, - { - field: 'exerciseName', - label: '运动名称', - component: 'Input', - }, - { - field: 'exerciseType', - label: '运动类型', - component: 'Select', - componentProps: () => { - return { - options: exerciseType, - }; - }, - }, -]; -export const scoreWeightRuleColumns: BasicColumn[] = [ - { - title: '评分项目', - dataIndex: 'itemName', - width: 100, - }, - { - title: '权重', - dataIndex: 'proportion', - width: 75, - }, - { - title: '分值', - dataIndex: 'score', - width: 135, - }, - { - title: '规则', - dataIndex: 'ruleStr', - }, - { - title: '评分公式', - dataIndex: 'formulaStr', - }, -]; -export const headerColumns = [ - { - label: '模型名称:', - key: 'modelName', - value: '', - }, - { - label: '运动名称:', - value: '', - key: 'exerciseName', - }, - { - label: '运动类型:', - value: '', - key: 'exerciseType', - customRender: (record) => getType(record.exerciseType, exerciseType), - }, - { - label: '难度系数:', - value: '', - key: 'difficultyLevel', - customRender: (record) => getType(record.difficultyLevel, difficultyLevel), - }, -]; diff --git a/src/views/interveneNew/motion/exerciseEffect/evaluationModel/evaluationModel.vue b/src/views/interveneNew/motion/exerciseEffect/evaluationModel/evaluationModel.vue deleted file mode 100644 index 72d58e6..0000000 --- a/src/views/interveneNew/motion/exerciseEffect/evaluationModel/evaluationModel.vue +++ /dev/null @@ -1,180 +0,0 @@ - - - diff --git a/src/views/interveneNew/motion/exerciseEffect/freeTrainingRecords/freeTrainingRecords.api.ts b/src/views/interveneNew/motion/exerciseEffect/freeTrainingRecords/freeTrainingRecords.api.ts deleted file mode 100644 index 52009d6..0000000 --- a/src/views/interveneNew/motion/exerciseEffect/freeTrainingRecords/freeTrainingRecords.api.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/exercise-effect/model/record', -} -export const listApi = (params: any) => defHttp.post({ url: Api.list, params }); diff --git a/src/views/interveneNew/motion/exerciseEffect/freeTrainingRecords/freeTrainingRecords.data.ts b/src/views/interveneNew/motion/exerciseEffect/freeTrainingRecords/freeTrainingRecords.data.ts deleted file mode 100644 index 62d4b58..0000000 --- a/src/views/interveneNew/motion/exerciseEffect/freeTrainingRecords/freeTrainingRecords.data.ts +++ /dev/null @@ -1,231 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { getName } from '/@/views/interveneNew/compoents/utils'; - -export const columns: BasicColumn[] = [ - { - title: '单位', - align: 'center', - dataIndex: 'orgName', - fixed: 'left', - }, - { - title: '部门', - align: 'center', - dataIndex: 'deptName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'employeeName', - fixed: 'left', - }, - { - title: '员工工号', - align: 'center', - dataIndex: 'workNo', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, - { - title: '身高(cm)', - align: 'center', - dataIndex: 'height', - }, - { - title: '体重(kg)', - align: 'center', - dataIndex: 'weight', - }, - { - title: '运动时间', - align: 'center', - dataIndex: 'exerciseDate', - }, - { - title: '运动名称', - align: 'center', - dataIndex: 'exerciseName', - }, - { - title: '难度系数', - align: 'center', - dataIndex: 'difficultyLevel_dictText', - }, - { - title: '对比方式', - align: 'center', - dataIndex: 'evaluateType', - customRender: ({ text }) => { - return getName(text, evaluateTypeList); - }, - }, - { - title: '视频对比相似度', - align: 'center', - dataIndex: 'similarity', - }, - { - title: '运动视频', - align: 'center', - dataIndex: 'exerciseVideoUrl', - }, - { - title: '运动时长', - align: 'center', - dataIndex: 'exerciseTime', - }, - { - title: '运动耗能(千卡)', - align: 'center', - dataIndex: 'energy', - customRender: ({ text }) => { - return isNaN(text) ? '' : parseFloat(text).toFixed(2); - }, - }, - { - title: '各项评分明细', - align: 'center', - dataIndex: 'evaluateInfo', - }, - { - title: '运动总得分', - align: 'center', - dataIndex: 'evaluateScore', - }, - { - title: '效果评价 ', - align: 'center', - dataIndex: 'evaluateLevel', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'employeeName', - component: 'Input', - }, - ...orgSearchInfoByCode('unitCode', 'deptCode'), - { - label: '运动名称', - field: 'exerciseName', - component: 'Input', - }, - { - label: '运动类型', - field: 'exerciseType', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'exercise_effect_type', - }; - }, - }, - { - label: '运动日期', - field: 'startTime', - component: 'DatePicker', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - format: 'YYYY-MM-DD', - style: { - width: '100%', - }, - }; - }, - }, - { - label: '列表排序', - field: 'reorder', - component: 'Select', - componentProps: () => { - return { - options: [ - { - label: '按运动总得分正序', - value: JSON.stringify({ - orderType: 'asc', - sort: 'evaluate_score', - }), - }, - { - label: '按运动总得分倒序', - value: JSON.stringify({ - orderType: 'desc', - sort: 'evaluate_score', - }), - }, - { - label: '按运动时间正序', - value: JSON.stringify({ - orderType: 'asc', - sort: 'exercise_date', - }), - }, - { - label: '按运动时间倒序', - value: JSON.stringify({ - orderType: 'desc', - sort: 'exercise_date', - }), - }, - ], - }; - }, - }, - { - label: '效果评价', - field: 'evaluateLevel', - component: 'Select', - componentProps: () => { - return { - options: [ - { - label: '优秀', - value: '优秀', - }, - { - label: '良好', - value: '良好', - }, - { - label: '一般', - value: '一般', - }, - ], - }; - }, - }, - { - label: '难度系数', - field: 'difficulty', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'difficulty_level', - }; - }, - }, -]; - -const evaluateTypeList = [ - { - label: '同步摄影', - value: '0', - }, - { - label: '上传视屏', - value: '1', - }, -]; diff --git a/src/views/interveneNew/motion/exerciseEffect/freeTrainingRecords/freeTrainingRecords.vue b/src/views/interveneNew/motion/exerciseEffect/freeTrainingRecords/freeTrainingRecords.vue deleted file mode 100644 index 3665442..0000000 --- a/src/views/interveneNew/motion/exerciseEffect/freeTrainingRecords/freeTrainingRecords.vue +++ /dev/null @@ -1,102 +0,0 @@ - - - diff --git a/src/views/interveneNew/motion/motionPlatform/components/eventDetails/eventDetails.api.ts b/src/views/interveneNew/motion/motionPlatform/components/eventDetails/eventDetails.api.ts deleted file mode 100644 index b0e7cf0..0000000 --- a/src/views/interveneNew/motion/motionPlatform/components/eventDetails/eventDetails.api.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/health-exercise/userRecord/list', - manage = '/health-intervene/health-exercise/userRecordMatch/list', - detail = '/health-intervene/health-exercise/userRecordDetail/list', - exportXls = '/health-intervene/health-exercise/userRecordDetail/exportXls', - joinExportXls = '/health-intervene/health-exercise/userRecord/exportXls', - resultExportXls = '/health-intervene/health-exercise/userRecordMatch/exportXls', - planRule = '/health-intervene/health-exercise/plan/getPlanRule', - planStep = '/health-intervene/health-exercise/plan/stepList', -} - -/** - * @desc 报名列表 - * @param params - */ -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -/** - * @desc 赛况管理列表 - * @param params - */ -export const manageList = (params: any) => defHttp.get({ url: Api.manage, params: params }); -/** - * @desc 明细列表 - * @param params - */ -export const detailList = (params: any) => defHttp.get({ url: Api.detail, params: params }); -/** - * @desc 活动规则 - * @param params - */ -export const getPlanRule = (params: any) => defHttp.get({ url: Api.planRule, params: params }); - -/** - * @desc 运动记录导出 - */ -export const getImportUrl = Api.exportXls; -/** - * @desc 运动报名人员导出 - */ -export const joinExportXls = Api.joinExportXls; -/** - * @desc 赛况管理导出excel - */ -export const resultExportXls = Api.resultExportXls; - -export const planStepApi = (params) => defHttp.get({ url: Api.planStep, params }); diff --git a/src/views/interveneNew/motion/motionPlatform/components/eventDetails/eventDetails.data.ts b/src/views/interveneNew/motion/motionPlatform/components/eventDetails/eventDetails.data.ts deleted file mode 100644 index 8f9a2ea..0000000 --- a/src/views/interveneNew/motion/motionPlatform/components/eventDetails/eventDetails.data.ts +++ /dev/null @@ -1,334 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { isShowIdCard } from '/@/utils/getEnv'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -export const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - }, - ...orgSearchInfoByCode('orgCode1', 'departmentCode', 'orgCode'), -]; -//报名列表 -export const columns1 = (show: Boolean): BasicColumn[] => { - return [ - { - title: '单位', - dataIndex: 'departName', - }, - { - title: '部门', - dataIndex: 'orgName', - }, - { - title: '员工编号', - dataIndex: 'workNo', - }, - { - title: '员工姓名', - dataIndex: 'realName', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - dataIndex: 'age', - }, - { - title: '身份证号', - dataIndex: 'idCard', - ifShow: isShowIdCard(), - }, - { - title: '身高(cm)', - dataIndex: 'height', - }, - { - title: '原体重(kg)', - dataIndex: 'weight', - }, - { - title: '原BMI', - dataIndex: 'bmi', - }, - { - title: '目标体重(kg)', - dataIndex: 'targetWeight', - ifShow: show, - }, - { - title: '评价', - dataIndex: 'appraise', - }, - { - title: '每日目标', - dataIndex: 'target', - }, - { - title: '运动处方', - dataIndex: 'formula', - }, - { - title: '报名时间', - dataIndex: 'attendTime', - }, - { - title: '预期效果', - dataIndex: 'expect', - }, - ]; -}; -//赛况管理列表 -export const columns2 = (show: Boolean): BasicColumn[] => { - return [ - { - title: '员工姓名', - dataIndex: 'realName', - width: 100, - }, - { - title: '员工编号', - dataIndex: 'workNo', - width: 100, - }, - { - title: '性别', - dataIndex: 'sex_dictText', - width: 80, - }, - { - title: '年龄', - dataIndex: 'age', - width: 80, - }, - { - title: '单位', - dataIndex: 'departName', - width: 120, - }, - { - title: '部门', - dataIndex: 'orgName', - width: 120, - }, - { - title: '身高(cm)', - dataIndex: 'height', - width: 100, - }, - { - title: '原体重(kg)', - dataIndex: 'weight', - width: 120, - }, - { - title: '原BMI', - dataIndex: 'bmi', - width: 80, - }, - { - title: '当前体重(kg)', - dataIndex: 'weightNew', - width: 120, - }, - { - title: '目标体重(kg)', - dataIndex: 'targetWeight', - width: 120, - }, - { - title: '坚持天数', - dataIndex: 'days', - width: 120, - }, - { - title: '日均运动消耗(千卡)', - dataIndex: 'dayAvgExerciseDeplete', - width: 170, - ifShow: !show, - }, - { - title: '累计运动消耗(千卡)', - dataIndex: 'sumExerciseDeplete', - width: 170, - ifShow: !show, - }, - { - title: '日均运动时长(分钟)', - dataIndex: 'dayAvgExerciseLength', - width: 170, - ifShow: !show, - }, - { - title: '累计运动时长(分钟)', - dataIndex: 'sumExerciseLength', - width: 170, - ifShow: !show, - }, - { - title: '排名', - dataIndex: 'sort', - width: 130, - ifShow: !show, - }, - { - title: '日均步数', - dataIndex: 'avgStep', - width: 120, - ifShow: show, - }, - // { - // title: '系统评价', - // dataIndex: 'evaluate', - // width: 130, - // }, - ]; -}; -//赛况明细 -export const page2Search: FormSchema[] = [ - { - label: '运动日期', - field: 'activityDate', - component: 'RangePicker', - componentProps: () => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - }; - }, - }, -]; -export const page2Columns: BasicColumn[] = [ - { - title: '运动日期', - dataIndex: 'exerciseDate', - width: 100, - }, - { - title: '营养监控端能量摄入', - children: [ - { - title: '早餐(千卡)', - dataIndex: 'morningFood', - width: 100, - }, - { - title: '中餐(千卡)', - dataIndex: 'middayFood', - width: 100, - }, - { - title: '晚餐(千卡)', - dataIndex: 'eveningFood', - width: 100, - }, - ], - }, - { - title: '运动监控端能量消耗', - children: [ - { - title: '运动时长(分钟)', - dataIndex: 'exerciseLength', - width: 130, - }, - { - title: '能量消耗(千卡)', - dataIndex: 'energyDeplete', - width: 130, - }, - { - title: '平均频率', - dataIndex: 'avgFrequency', - width: 130, - }, - { - title: '平均速度', - dataIndex: 'avgSpeed', - width: 140, - }, - ], - }, -]; - -export const leftUserInfo = [ - { - label: '员工姓名', - value: 'realName', - }, - { - label: '性别', - value: 'sex_dictText', - }, - { - label: '年龄', - value: 'age', - }, - { - label: '员工工号', - value: 'workNo', - }, - { - label: '所属单位', - value: 'departName', - }, - { - label: '所属部门', - value: 'orgName', - }, -]; - -export const stepColumn: BasicColumn[] = [ - { - title: '日期', - dataIndex: 'stepTime', - align: 'center', - width: 120, - }, - { - title: '步数', - dataIndex: 'step', - align: 'center', - width: 120, - }, - { - title: '图片', - dataIndex: 'images', - align: 'center', - width: 120, - }, -]; - -export const getOptions = (xData: any[] = [], yData: any[] = []) => ({ - tooltip: { - trigger: 'axis', - }, - xAxis: { - type: 'category', - data: xData, - }, - label: { - show: true, - position: 'top', - }, - yAxis: { - type: 'value', - }, - series: getSeries(yData), -}); -function getSeries(data) { - return data.map((item) => { - return { - type: 'line', - data: item, - smooth: true, - }; - }); -} diff --git a/src/views/interveneNew/motion/motionPlatform/components/eventDetails/eventDetails.vue b/src/views/interveneNew/motion/motionPlatform/components/eventDetails/eventDetails.vue deleted file mode 100644 index 6d42821..0000000 --- a/src/views/interveneNew/motion/motionPlatform/components/eventDetails/eventDetails.vue +++ /dev/null @@ -1,109 +0,0 @@ - - - diff --git a/src/views/interveneNew/motion/motionPlatform/components/eventDetails/imgModal.vue b/src/views/interveneNew/motion/motionPlatform/components/eventDetails/imgModal.vue deleted file mode 100644 index 441e976..0000000 --- a/src/views/interveneNew/motion/motionPlatform/components/eventDetails/imgModal.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - - diff --git a/src/views/interveneNew/motion/motionPlatform/components/eventDetails/tabPage1.vue b/src/views/interveneNew/motion/motionPlatform/components/eventDetails/tabPage1.vue deleted file mode 100644 index 7253b61..0000000 --- a/src/views/interveneNew/motion/motionPlatform/components/eventDetails/tabPage1.vue +++ /dev/null @@ -1,105 +0,0 @@ - - - - diff --git a/src/views/interveneNew/motion/motionPlatform/components/eventDetails/tabPage2.vue b/src/views/interveneNew/motion/motionPlatform/components/eventDetails/tabPage2.vue deleted file mode 100644 index 94f1b43..0000000 --- a/src/views/interveneNew/motion/motionPlatform/components/eventDetails/tabPage2.vue +++ /dev/null @@ -1,114 +0,0 @@ - - - - diff --git a/src/views/interveneNew/motion/motionPlatform/components/eventDetails/tabPage2Detail.vue b/src/views/interveneNew/motion/motionPlatform/components/eventDetails/tabPage2Detail.vue deleted file mode 100644 index 23fad77..0000000 --- a/src/views/interveneNew/motion/motionPlatform/components/eventDetails/tabPage2Detail.vue +++ /dev/null @@ -1,226 +0,0 @@ - - - diff --git a/src/views/interveneNew/motion/motionPlatform/components/eventDetails/tabPage3.vue b/src/views/interveneNew/motion/motionPlatform/components/eventDetails/tabPage3.vue deleted file mode 100644 index 17df04b..0000000 --- a/src/views/interveneNew/motion/motionPlatform/components/eventDetails/tabPage3.vue +++ /dev/null @@ -1,90 +0,0 @@ - - - diff --git a/src/views/interveneNew/motion/motionPlatform/components/indexDrawer.vue b/src/views/interveneNew/motion/motionPlatform/components/indexDrawer.vue deleted file mode 100644 index c1a389b..0000000 --- a/src/views/interveneNew/motion/motionPlatform/components/indexDrawer.vue +++ /dev/null @@ -1,188 +0,0 @@ - - - diff --git a/src/views/interveneNew/motion/motionPlatform/components/stepModal.vue b/src/views/interveneNew/motion/motionPlatform/components/stepModal.vue deleted file mode 100644 index f270f54..0000000 --- a/src/views/interveneNew/motion/motionPlatform/components/stepModal.vue +++ /dev/null @@ -1,269 +0,0 @@ - - - - diff --git a/src/views/interveneNew/motion/motionPlatform/index.api.ts b/src/views/interveneNew/motion/motionPlatform/index.api.ts deleted file mode 100644 index 07c8397..0000000 --- a/src/views/interveneNew/motion/motionPlatform/index.api.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -enum Api { - list = '/health-intervene/health-exercise/plan/list', - edit = '/health-intervene/health-exercise/plan/edit', - save = '/health-intervene/health-exercise/plan/add', - deleteOne = '/health-intervene/health-exercise/plan/delete', -} - -const { createConfirm } = useMessage(); -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params: any, isUpdate: boolean) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; -/** - * 删除单个 - */ -export const deleteOne = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteOne, - params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/motion/motionPlatform/index.data.ts b/src/views/interveneNew/motion/motionPlatform/index.data.ts deleted file mode 100644 index 1784dde..0000000 --- a/src/views/interveneNew/motion/motionPlatform/index.data.ts +++ /dev/null @@ -1,528 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getThirdDepartListByOrgCode } from '/@/views/archive/employeeFile/employeeFileList.api'; -import { getDeptList } from '/@/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivityHooks'; -import { ref, h } from 'vue'; -import { useUserStore } from '/@/store/modules/user'; -import { dealRangeDate, endDateRules, startDateRules, statusToTagColor } from '/@/views/interveneNew/motion/motionPlatform/platformHooks'; -import { getThirdDepartsNew } from '/@/utils/system/api'; -import { rules } from '/@/utils/helper/validator'; -import { queryDepartTreeSync } from '/@/views/system/depart/depart.api'; - -export const columns: BasicColumn[] = [ - { - title: '活动名称', - width: 214, - dataIndex: 'planName', - }, - { - title: '参加人员范围', - width: 170, - dataIndex: 'scopeType_dictText', - }, - { - title: '运动类型', - width: 170, - dataIndex: 'exerciseType_dictText', - }, - { - title: '报名起止日期', - dataIndex: 'attendStartTime', - width: 200, - customRender: ({ record }) => { - return dealRangeDate(record?.attendStartTime, record?.attendEndTime); - }, - }, - { - title: '活动起止日期', - dataIndex: 'startTime', - width: 200, - customRender: ({ record }) => { - return dealRangeDate(record?.startTime, record?.endTime); - }, - }, - - { - title: '应参加人数', - dataIndex: 'attendNum', - }, - { - title: '实际参加人数', - dataIndex: 'actualNum', - }, - { - title: '活动状态', - dataIndex: 'state', - customRender: ({ record, text }) => { - if (!text) return ''; - const tagColor = statusToTagColor(text) || 'gray'; - return h('div', { style: { color: tagColor } }, record?.state_dictText); - }, - }, - { - title: '组织部门', - dataIndex: 'organizerDeptName', - }, - { - title: '负责人', - dataIndex: 'managerName', - }, - { - title: '活动联系电话', - dataIndex: 'managerPhone', - }, -]; - -export function Columns(type) { - const columns: BasicColumn[] = [ - { - title: '活动名称', - width: 214, - dataIndex: 'planName', - }, - { - title: '参加人员范围', - width: 170, - dataIndex: 'scopeType_dictText', - }, - { - title: '运动类型', - width: 170, - dataIndex: 'exerciseType_dictText', - ifShow: !type, - }, - { - title: '报名起止日期', - dataIndex: 'attendStartTime', - width: 200, - customRender: ({ record }) => { - return dealRangeDate(record?.attendStartTime, record?.attendEndTime); - }, - }, - { - title: '活动起止日期', - dataIndex: 'startTime', - width: 200, - customRender: ({ record }) => { - return dealRangeDate(record?.startTime, record?.endTime); - }, - }, - - { - title: '应参加人数', - dataIndex: 'attendNum', - }, - { - title: '实际参加人数', - dataIndex: 'actualNum', - }, - { - title: '活动状态', - dataIndex: 'state', - customRender: ({ record, text }) => { - if (!text) return ''; - const tagColor = statusToTagColor(text) || 'gray'; - return h('div', { style: { color: tagColor } }, record?.state_dictText); - }, - }, - { - title: '组织部门', - dataIndex: 'organizerDeptName', - }, - { - title: '负责人', - dataIndex: 'managerName', - }, - { - title: '活动联系电话', - dataIndex: 'managerPhone', - }, - ]; - return columns; -} -export const searchFormSchema: FormSchema[] = [ - { - label: '活动名称', - field: 'planName', - component: 'Input', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - }, - { - label: '活动状态', - field: 'state', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'exercise_status', - }; - }, - }, - { - label: '活动日期', - field: 'rangeDate', - component: 'RangeDate', - componentProps: () => { - return { - showTime: false, - }; - }, - }, -]; -const user = useUserStore(); -const deptOption = ref([]); -type Validate = (nameList?: string[] | undefined) => Promise; -export function formSchema(validate: Validate, type) { - return [ - { - label: '活动名称', - field: 'planName', - component: 'Input', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - required: true, - }, - { - label: '运动类型', - field: 'exerciseType', - component: 'JDictSelectTag', - defaultValue: !type ? '' : 0, - componentProps: () => { - return { - dictCode: 'exercise_type_new', - }; - }, - show: !type, - required: true, - }, - { - label: '参加人员范围', - field: 'scopeType', - component: 'JDictSelectTag', - componentProps: ({ formModel }) => { - return { - type: 'radio', - options: [ - { label: '全体员工(管理范围内)', value: '0' }, - { label: '指定人员', value: '1' }, - ], - onChange: (val: string) => { - if (val === '0') { - formModel.departScopeList = []; - formModel.userName = ''; - formModel.userScopeList = []; - } - }, - }; - }, - defaultValue: '1', - required: true, - }, - // { - // label: '管辖部门', - // field: 'a', - // component: 'Input', - // slot: 'administer', - // ifShow: ({ values }) => { - // return values.scopeType == '0'; - // }, - // }, - { - label: '指定部门', - field: 'departScopeList', - component: 'JlazyTreeSelect', - ifShow: ({ values }) => values.scopeType == '1', - componentProps: ({ formModel }) => { - return { - api: queryDepartTreeSync, - loadApi: queryDepartTreeSync, - selectedKeys: - formModel.departScopeList && - formModel.departScopeList.map((item) => { - return JSON.parse(item); - }), - expandedKeys: - formModel.departScopeList && - formModel.departScopeList.map((item) => { - return JSON.parse(item); - }), - afterApi: (data) => { - data.forEach((item: any) => { - item['resultItem'] = JSON.stringify({ - record: item.title, - scopeId: item.orgCode, - type: 1, - }); - item['preTitle'] = item.title; - item['key'] = item['resultItem']; - }); - return data; - }, - preItem: (title, item) => { - item['preTitle'] = title + '/' + item.title; - item['resultItem'] = JSON.stringify({ - record: item.title, - scopeId: item.orgCode, - type: 1, - }); - item['key'] = item['resultItem']; - return item; - }, - fieldNamesInfo: { - value: 'resultItem', - label: 'preTitle', - key: 'resultItem', - }, - }; - }, - dynamicRules: ({ model }) => [ - { - trigger: 'blur', - validator: () => { - return new Promise((resolve, reject) => { - let dept = model?.departScopeList || []; - if (model.scopeType == '1' && dept.length == 0 && !model.userName) { - return reject('参加人员范围选择指定人员时,请选择指定部门或者指定人员'); - } - return resolve(); - }); - }, - }, - ], - }, - // { - // label: '指定部门', - // field: 'departScopeList', - // component: 'Input', - // show: false, - // }, - { - label: '指定员工', - field: 'userName', - component: 'Input', - slot: 'selectEmployee', - ifShow: ({ values }) => values.scopeType == '1', - dynamicRules: ({ model }) => [ - { - trigger: 'blur', - validator: () => { - return new Promise((resolve, reject) => { - let dept = model?.departScopeList || []; - if (model.scopeType == '1' && dept.length == 0 && !model.userName) { - return reject('参加人员范围选择指定人员时,请选择指定部门或者指定人员'); - } - return resolve(); - }); - }, - }, - ], - }, - { - label: '指定员工', - field: 'userScopeList', - component: 'Input', - show: false, - }, - { - label: '报名起止日期', - field: 'applicationDate', - component: 'RangePicker', - required: true, - componentProps: ({ formModel }) => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - disabledDate: (current) => current < new Date() - 86400000, - 'onUpdate:value': (value) => { - if (value) { - formModel.attendStartTime = value[0]; - formModel.attendEndTime = value[1]; - } else { - formModel.attendStartTime = null; - formModel.attendEndTime = null; - } - }, - onChange: () => { - if (formModel['activityDate']) { - validate(['activityDate']).catch(() => {}); - } - }, - }; - }, - dynamicRules: ({ model }) => endDateRules(model), - }, - { - label: '报名开始时间', - field: 'attendStartTime', - component: 'Input', - show: false, - }, - { - label: '报名结束时间', - field: 'attendEndTime', - component: 'Input', - show: false, - }, - { - label: '活动起止日期', - field: 'activityDate', - component: 'RangePicker', - required: true, - componentProps: ({ formModel }) => { - return { - showTime: false, - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - disabledDate: (current) => current < new Date() - 86400000, - 'onUpdate:value': (value) => { - if (value) { - formModel.startTime = value[0]; - formModel.endTime = value[1]; - } else { - formModel.startTime = null; - formModel.endTime = null; - } - }, - onChange: () => { - if (formModel['applicationDate']) { - validate(['applicationDate']).catch(() => {}); - } - }, - }; - }, - dynamicRules: ({ model }) => startDateRules(model), - }, - { - label: '活动开始时间', - field: 'startTime', - component: 'Input', - show: false, - }, - { - label: '活动结束时间', - field: 'endTime', - component: 'Input', - show: false, - }, - - { - label: '活动组织部门', - field: 'organizerDeptName', - component: 'Input', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - required: true, - }, - { - label: '活动联系电话', - field: 'managerPhone', - component: 'Input', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - required: true, - rules: rules.rule('phone', true), - }, - { - label: '具体负责人', - field: 'managerName', - component: 'Input', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - required: true, - }, - { - label: '奖励等级标准', - field: 'awardLevelStandard', - component: 'InputTextArea', - componentProps: () => { - return { - autocomplete: 'off', - rows: 4, - }; - }, - required: true, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - ]; -} -//新增弹窗员工列表 -export const userColumns: BasicColumn[] = [ - { - title: '员工姓名', - dataIndex: 'realname', - align: 'center', - }, - { - title: '部门名称', - dataIndex: ['depart', 'departName'], - align: 'center', - }, - { - title: '员工编号', - dataIndex: 'workNo', - align: 'center', - }, -]; -//用户数据查询列表 -export const userFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'realname', - component: 'Input', - }, - { - label: '单位', - field: 'orgCode', - component: 'Input', - show: false, - }, - { - label: '部门名称', - field: 'orgCodeThree', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNew, - resultField: 'list', - labelField: 'departName', - params: { - idOrCode: user?.userInfo?.orgCode?.substring(0, 6) || '12313', - }, - onChange: (e) => { - formModel.orgCode = e; - }, - valueField: 'orgCode', - immediate: true, - style: { - width: '195px', - }, - }; - }, - }, - { - label: '员工编号', - field: 'workNo', - component: 'Input', - }, -]; diff --git a/src/views/interveneNew/motion/motionPlatform/index.vue b/src/views/interveneNew/motion/motionPlatform/index.vue deleted file mode 100644 index 4b1c10a..0000000 --- a/src/views/interveneNew/motion/motionPlatform/index.vue +++ /dev/null @@ -1,116 +0,0 @@ - - - diff --git a/src/views/interveneNew/motion/motionPlatform/platformHooks.ts b/src/views/interveneNew/motion/motionPlatform/platformHooks.ts deleted file mode 100644 index d51d1ac..0000000 --- a/src/views/interveneNew/motion/motionPlatform/platformHooks.ts +++ /dev/null @@ -1,447 +0,0 @@ -import { notEmptyArr } from '/@/views/interveneNew/konwledgeManage/examination/answerActivity/answerActivityHooks'; -import moment from 'moment'; -import { ref, unref } from 'vue'; -import { isFunction } from 'xe-utils'; -import { useUserStore } from '/@/store/modules/user'; - -export enum PagePath { - //运动平台查看详情 - eventDetails = '/platform/eventDetails', -} -function getList(val) { - return val.split('},').map((item) => { - item = (item + '}').replace(/}}/g, '}'); - return item; - }); -} - -export function setParams(value: any) { - let scopeType = 0; - const departScopeList = JSON.parse(value?.departScopeList || '[]'); - let userScopeList = []; - const deptFlag = departScopeList.length > 0 && notEmptyArr(getList(departScopeList)); - const userFlag = notEmptyArr(JSON.parse(value?.userScopeList || '[]')); - const startTime = changeTimeType(value.startTime); - const endTime = changeTimeType(value.endTime); - const attendStartTime = changeTimeType(value.attendStartTime); - const attendEndTime = changeTimeType(value.attendEndTime); - if (deptFlag && userFlag) { - scopeType = 3; - userScopeList = JSON.parse(value.userScopeList); - } else if (deptFlag) { - scopeType = 1; - // departScopeList = JSON.parse(value.departScopeList); - } else if (userFlag) { - scopeType = 2; - userScopeList = JSON.parse(value.userScopeList); - } - return { - ...value, - departScopeList, - userScopeList, - scopeType, - startTime, - endTime, - attendStartTime, - attendEndTime, - }; -} -function changeTimeType(time) { - return moment(time).format('YYYY-MM-DD'); -} -export function apiDataToFormData(record) { - const { departScopeList, userScopeList } = record; - const depart = departScopeList?.map((item) => item?.scopeId) || []; - const userName = userScopeList?.map((item) => item?.record).join(','); - const deptList = - departScopeList?.length > 0 - ? departScopeList.map((item) => { - item = JSON.stringify({ - record: item.record, - scopeId: item.scopeId, - type: item.type, - }); - return item; - }) - : []; - console.log(deptList); - const startTime = changeTimeType(record.startTime); - const endTime = changeTimeType(record.endTime); - const attendStartTime = changeTimeType(record.attendStartTime); - const attendEndTime = changeTimeType(record.attendEndTime); - const deptFlag = notEmptyArr(departScopeList); - const userFlag = notEmptyArr(userScopeList); - if (deptFlag && userFlag) { - } else if (deptFlag) { - } else if (userFlag) { - } - return { - ...record, - scopeType: record?.scopeType == '0' ? '0' : '1', - depart, - userName, - departScopeList: deptList, - userScopeList: JSON.stringify(userScopeList), - startTime, - endTime, - attendStartTime, - attendEndTime, - activityDate: [startTime, endTime], - applicationDate: [attendStartTime, attendEndTime], - }; -} - -//0未开始,1进行中,2-已结束 3报名中 -export enum State { - type0 = '0', - type1 = '1', - type2 = '2', - type3 = '3', - type4 = '4', -} -export function statusToTagColor(status) { - if (Number(status) > 5) return 'gray'; - const statusType = { - [State.type0]: 'gray', - [State.type1]: 'green', - [State.type2]: 'gray', - [State.type3]: 'orange', - [State.type4]: 'orange', - }; - return statusType[status]; -} -export const keys = { - detailKey: 'platform-detailKey', - page2Key: 'platform-page2Key', -}; -export function dealRangeDate(start, end) { - if (!start || !end) return; - try { - const s = moment(start).format('YYYY/MM/DD'); - const e = moment(end).format('YYYY/MM/DD'); - return `${s} 一 ${e}`; - } catch { - return ''; - } -} -export function usePageData() { - function getData(key: string) { - const data = sessionStorage.getItem(key) || '{}'; - return JSON.parse(data); - } - function setData(key: string, record: any, callback?: Function) { - sessionStorage.setItem(key, JSON.stringify(record)); - if (callback && isFunction(callback)) callback(); - } - return { - getData, - setData, - }; -} -const { userInfo } = useUserStore(); -const isQiyi = ref(userInfo?.roleCodes.includes('qiyi_inter') || false); - -export function useHeaderData() { - const headerInfo = ref([ - { - label: '活动起止日期:', - key: 'startTime', - value: '', - customRender: (record) => { - return dealRangeDate(record?.startTime, record?.endTime); - }, - show: true, - }, - { - label: '运动类型:', - key: 'exerciseType_dictText', - value: '', - show: !isQiyi.value, - }, - { - label: '组织部门:', - key: 'organizerDeptName', - value: '', - show: true, - }, - { - label: '负责人:', - key: 'managerName', - value: '', - show: true, - }, - { - label: '活动联系电话:', - key: 'managerPhone', - value: '', - show: true, - }, - { - label: '报名起止日期:', - key: 'attendStartTime', - value: '', - show: true, - customRender: (record) => { - return dealRangeDate(record?.attendStartTime, record?.attendEndTime); - }, - }, - ]); - const title = ref(''); - const stateDictText = ref(''); - function getHeaderData() { - return unref(headerInfo); - } - function setHeaderData(record = {}) { - headerInfo.value.forEach((item) => { - const { key } = item; - const isEmpty = (obj, key) => { - if (!obj) return true; - return obj[key] === undefined || obj[key] === null || obj[key] === ''; - }; - if (!isEmpty(record, key)) { - if (Object.hasOwn(item, 'customRender')) { - // @ts-ignore - item.value = item.customRender(record); - } else { - item.value = record[key] || ''; - } - } - }); - title.value = record?.planName; - stateDictText.value = record?.state_dictText; - } - - return { - title, - stateDictText, - getHeaderData, - setHeaderData, - }; -} - -export function useTabPage2Header() { - const headerInfo = ref([ - { - label: '报名时间:', - key: 'attendTime', - value: '', - unit: '', - }, - { - label: '身高:', - key: 'height', - value: '', - unit: 'cm', - }, - { - label: '原体重:', - key: 'weight', - value: '', - unit: 'kg', - }, - { - label: '原BMI:', - key: 'bmi', - value: '', - unit: '', - }, - { - label: '现体重:', - key: 'weightNew', - value: '', - unit: 'kg', - }, - { - label: '目标体重:', - key: 'targetWeight', - value: '', - unit: 'kg', - }, - { - label: '每日目标:', - key: 'target', - value: '', - unit: '', - }, - { - label: '坚持天数:', - key: 'days', - value: '', - unit: '天', - }, - ]); - const stateDictText = ref(''); - function setHeader(record, callback?: Function) { - if (callback) { - callback(headerInfo); - return; - } - headerInfo.value.forEach((item) => { - const { key } = item; - const isEmpty = (obj, key) => { - if (!obj) return true; - return obj[key] === undefined || obj[key] === null || obj[key] === ''; - }; - if (!isEmpty(record, key)) { - if (Object.hasOwn(item, 'customRender')) { - // @ts-ignore - item.value = item.customRender(record); - } else { - item.value = record[key] || ''; - } - } - }); - stateDictText.value = record?.stateDictText; - } - return { - headerInfo, - stateDictText, - setHeader, - }; -} -export function getTime(time: number) { - if (!time) return ''; - if (time < 60) { - return `${time} 分`; - } - return `${(time - (time % 60)) / 60}时${time % 60}分`; -} -export function useConsume() { - const consume = ref([ - { - label: '日均消耗能量:', - key: 'dayAvgExerciseDeplete', - value: '', - unit: '千卡', - }, - { - label: '累计消耗能量:', - key: 'sumExerciseDeplete', - value: '', - unit: '千卡', - }, - { - label: '日均运动时长:', - key: 'dayAvgExerciseLength', - value: '', - unit: '', - customRender: (record) => { - return getTime(record.dayAvgExerciseLength); - }, - }, - { - label: '累计运动时长:', - key: 'sumExerciseLength', - value: '', - unit: '', - customRender: (record) => { - return getTime(record.sumExerciseLength); - }, - }, - ]); - const employeeInfo = ref({ - realName: '', - age: '', - sex_dictText: '', - loseWeightRank: '', - weightRateRank: '', - sort: '', - }); - function setConsume(record) { - consume.value.forEach((item) => { - const { key } = item; - const isEmpty = (obj, key) => { - if (!obj) return true; - return obj[key] === undefined || obj[key] === null || obj[key] === ''; - }; - if (!isEmpty(record, key)) { - if (Object.hasOwn(item, 'customRender')) { - // @ts-ignore - item.value = item.customRender(record); - } else { - item.value = record[key] || ''; - } - } - }); - employeeInfo.value = { - realName: record?.realName, - age: record?.age, - sex_dictText: record?.sex_dictText, - loseWeightRank: record?.loseWeightRank, - weightRateRank: record?.weightRateRank, - sort: record?.sort, - }; - } - return { - consume, - employeeInfo, - setConsume, - }; -} - -export const selfAdaption = { - span: 6, - xs: 12, - sm: 12, - md: 12, - lg: 8, - xl: 8, - xxl: 6, -}; - -/** - * @description:开始时间校验 - * @param model - */ -export const startDateRules = (model: Recordable) => { - return [ - { - validator: () => { - const [startTime, endTime] = model?.activityDate || []; - // if (!startTime || !endTime) { - // return Promise.reject('请选择活动起止日期'); - // } - // if (!model.attendStartTime) { - // return Promise.resolve(); - // } - // if (startTime && endTime && endTime < model.attendStartTime) { - // return Promise.reject('活动结束日期不能小于报名开始日期!'); - // } - if (startTime && endTime && endTime <= model.attendEndTime) { - return Promise.reject('活动结束日期必须大于报名结束日期!'); - } - return Promise.resolve(); - }, - trigger: 'change', - required: true, - }, - ]; -}; -/** - * @description:结束时间校验 - * @param model - */ -export const endDateRules = (model: Recordable) => { - return [ - { - validator: () => { - let [startTime, endTime] = model?.applicationDate || []; - // if (!startTime || !endTime) { - // return Promise.reject('请选择报名起止日期'); - // } - // if (!model.startTime) { - // return Promise.resolve(); - // } - // if (startTime && endTime && endTime <= model.startTime) { - // return Promise.resolve(); - // } - if (startTime && endTime && endTime >= model.endTime) { - return Promise.reject('活动结束日期必须大于报名结束日期!'); - } - return Promise.resolve(); - }, - trigger: 'change', - required: true, - }, - ]; -}; diff --git a/src/views/interveneNew/motion/motionVideo/compoents/videoDrawer.vue b/src/views/interveneNew/motion/motionVideo/compoents/videoDrawer.vue deleted file mode 100644 index 86855ec..0000000 --- a/src/views/interveneNew/motion/motionVideo/compoents/videoDrawer.vue +++ /dev/null @@ -1,179 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/motion/motionVideo/video.api.ts b/src/views/interveneNew/motion/motionVideo/video.api.ts deleted file mode 100644 index cf60432..0000000 --- a/src/views/interveneNew/motion/motionVideo/video.api.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -enum Api { - list = '/health-intervene/exercise-effect/video/list', - modelList = '/health-intervene/exercise-effect/model/list', - addOrUpdate = '/health-intervene/exercise-effect/video/addOrUpdate', - deleteOne = '/health-intervene/exercise-effect/video/delete', -} -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const modelListApi = (params: any) => defHttp.get({ url: Api.modelList, params: params }); -export const updateApi = (params: any) => defHttp.put({ url: Api.addOrUpdate, params: params }); - -export const deleteApi = (params: any, handleSuccess: Function) => { - return createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据?', - okText: '确认', - cancelText: '取消', - onOk: async () => { - try { - await defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }); - handleSuccess(); - } catch (e) { - console.log(e); - } - }, - }); -}; diff --git a/src/views/interveneNew/motion/motionVideo/video.data.ts b/src/views/interveneNew/motion/motionVideo/video.data.ts deleted file mode 100644 index 7b590d2..0000000 --- a/src/views/interveneNew/motion/motionVideo/video.data.ts +++ /dev/null @@ -1,264 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; - -export function getColumns(hasCoach = true, handleClick: Function) { - return [ - { - title: '视频名称', - dataIndex: 'videoName', - }, - { - title: '运动类型', - dataIndex: 'exerciseType_dictText', - }, - { - title: '关联评价模型', - dataIndex: 'modelName', - }, - { - title: '难度系数', - dataIndex: 'difficultyLevel_dictText', - }, - // { - // title: '预热时间', - // dataIndex: 'videoSize', - // }, - { - title: '视频时长', - dataIndex: 'exerciseTime', - customRender: ({ text }) => { - text = text ? text : 0; - return getTime(text); - }, - }, - { - title: '锻炼部位', - dataIndex: 'bodyRegions', - }, - { - title: '使用器械', - dataIndex: 'equipment', - }, - { - title: '动作特点', - dataIndex: 'peculiarity', - // customRender: ({ text }) => { - // return h('a-button', { onClick: () => handleClick(text), style: { cursor: 'pointer', color: '#1890ff' } }, '查看'); - // }, - }, - // { - // title: '教练', - // dataIndex: 'coach', - // ifShow: hasCoach, - // }, - // { - // title: '制作人', - // dataIndex: 'producer', - // }, - // { - // title: '上传日期', - // dataIndex: 'importDate', - // }, - ] as BasicColumn[]; -} - -export const searchSchema: FormSchema[] = [ - { - field: 'videoName', - label: '视频名称', - component: 'Input', - }, - { - field: 'exerciseType', - label: '运动类型', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'exercise_effect_type', - }; - }, - }, - { - field: 'modelName', - label: '关联评价模型', - component: 'Input', - }, -]; -export function getFormSchema(hasCoach = true) { - return [ - { - label: '视频名称', - field: 'videoName', - component: 'Input', - required: true, - }, - { - label: '运动类型', - field: 'exerciseType', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'exercise_effect_type', - }; - }, - required: true, - }, - { - label: '关联评价模型', - field: 'exerciseAssessModelId', - component: 'Input', - slot: 'model', - required: true, - }, - { - label: '视频文件', - field: 'videoUrl', - component: 'JUpload', - componentProps: ({ formModel }) => { - return { - tipText: '只能上传mp4文件', - accept: '.mp4,video/mp4', - maxCount: 1, - onFileUpload: (info) => { - const url = URL.createObjectURL(info.file.originFileObj); - const audioElement = new Audio(url); - audioElement.addEventListener('loadedmetadata', () => { - formModel.exerciseTimeShow = getTime(parseInt(audioElement.duration)); - formModel.exerciseTime = parseInt(audioElement.duration.toFixed(2)); - }); - }, - }; - }, - required: true, - }, - { - label: '视频时长', - field: 'exerciseTimeShow', - component: 'Input', - slot: 'exerciseTimeShow', - }, - { - label: '视频时长', - field: 'exerciseTime', - component: 'Input', - show: false, - }, - { - label: '难度系数', - field: 'difficultyLevel', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'difficulty_level', - }; - }, - required: true, - }, - // { - // label: '预热时间', - // field: 'videoSize', - // component: 'Input', - // required: true, - // }, - { - label: '锻炼部位', - field: 'bodyRegions', - component: 'Input', - required: true, - }, - { - label: '使用器械', - field: 'equipment', - component: 'Input', - }, - { - label: '动作特点', - field: 'peculiarity', - component: 'InputTextArea', - componentProps: () => { - return { - row: 3, - }; - }, - required: true, - }, - { - label: '教练', - field: 'coach', - component: 'Input', - ifShow: hasCoach, - }, - { - label: '制作人', - field: 'producer', - component: 'Input', - }, - { - label: '上传日期', - field: 'importDate', - component: 'DatePicker', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - format: 'YYYY-MM-DD', - }; - }, - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - ] as FormSchema[]; -} - -export const chooseSearchSchema: FormSchema[] = [ - { - field: 'modelName', - label: '模型名称', - component: 'Input', - }, - { - field: 'exerciseType', - label: '运动类型', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'exercise_effect_type', - }; - }, - }, - { - field: 'exerciseName', - label: '运动名称', - component: 'Input', - }, -]; - -export const chooseColumns: BasicColumn[] = [ - { - title: '模型名称', - dataIndex: 'modelName', - }, - { - title: '运动名称', - dataIndex: 'exerciseName', - }, - { - title: '运动类型', - dataIndex: 'exerciseType_dictText', - }, - { - title: '难度系数', - dataIndex: 'difficultyLevel_dictText', - }, -]; - -export function getTime(time) { - time = time * 1; - const h = time >= 3600 ? Math.floor(time / 3600) + '小时' : ''; - const m = time >= 60 ? Math.floor((time % 3600) / 60) + '分钟' : ''; - const s = ((time % 3600) % 60) + '秒'; - return (h ? h : '') + (m ? m : '') + `${s}`; -} diff --git a/src/views/interveneNew/motion/motionVideo/videoList.vue b/src/views/interveneNew/motion/motionVideo/videoList.vue deleted file mode 100644 index e7f2260..0000000 --- a/src/views/interveneNew/motion/motionVideo/videoList.vue +++ /dev/null @@ -1,123 +0,0 @@ - - - diff --git a/src/views/interveneNew/psychology/answerManagement/bgMusicManagement/bgMusicManagement.api.ts b/src/views/interveneNew/psychology/answerManagement/bgMusicManagement/bgMusicManagement.api.ts deleted file mode 100644 index ea455ca..0000000 --- a/src/views/interveneNew/psychology/answerManagement/bgMusicManagement/bgMusicManagement.api.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); -enum Api { - list = '/health-intervene/psychology/answer/music/list', - add = '/health-intervene/psychology/answer/music/add', - edit = '/health-intervene/psychology/answer/music/edit', - delete = '/health-intervene/psychology/answer/music/delete', -} - -export const listApi = (params) => defHttp.get({ url: Api.list, params }); - -export const addApi = (params) => defHttp.post({ url: Api.add, params }); - -export const editApi = (params) => defHttp.put({ url: Api.edit, params }); - -export const deleteApi = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.delete, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/psychology/answerManagement/bgMusicManagement/bgMusicManagement.data.ts b/src/views/interveneNew/psychology/answerManagement/bgMusicManagement/bgMusicManagement.data.ts deleted file mode 100644 index 5781c7a..0000000 --- a/src/views/interveneNew/psychology/answerManagement/bgMusicManagement/bgMusicManagement.data.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -export const columns: BasicColumn[] = [ - { - title: '音乐名称', - dataIndex: 'musicName', - align: 'center', - width: '200', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '音乐名称', - field: 'musicName', - component: 'Input', - }, -]; - -export const addSchema: FormSchema[] = [ - { - label: '音乐名称', - field: 'musicName', - component: 'Input', - required: true, - }, - { - label: '音乐文件', - field: 'fileUrl', - component: 'JUpload', - componentProps: () => { - return { - accept: '.mp3', - maxCount: 1, - }; - }, - required: true, - }, - { - label: '封面图', - field: 'banner', - component: 'JImageUpload', - }, - { - label: '音乐介绍', - field: 'description', - component: 'InputTextArea', - componentProps: () => { - return { - showCount: true, - rows: 3, - maxlength: 100, - }; - }, - }, -]; diff --git a/src/views/interveneNew/psychology/answerManagement/bgMusicManagement/bgMusicManagement.vue b/src/views/interveneNew/psychology/answerManagement/bgMusicManagement/bgMusicManagement.vue deleted file mode 100644 index 8cc25af..0000000 --- a/src/views/interveneNew/psychology/answerManagement/bgMusicManagement/bgMusicManagement.vue +++ /dev/null @@ -1,80 +0,0 @@ - - diff --git a/src/views/interveneNew/psychology/answerManagement/bgMusicManagement/components/bgMusicManagementDrawer.vue b/src/views/interveneNew/psychology/answerManagement/bgMusicManagement/components/bgMusicManagementDrawer.vue deleted file mode 100644 index 1736239..0000000 --- a/src/views/interveneNew/psychology/answerManagement/bgMusicManagement/components/bgMusicManagementDrawer.vue +++ /dev/null @@ -1,53 +0,0 @@ - - diff --git a/src/views/interveneNew/psychology/answerManagement/organizationManagement/components/AddOrganizationManagement.vue b/src/views/interveneNew/psychology/answerManagement/organizationManagement/components/AddOrganizationManagement.vue deleted file mode 100644 index a3abc59..0000000 --- a/src/views/interveneNew/psychology/answerManagement/organizationManagement/components/AddOrganizationManagement.vue +++ /dev/null @@ -1,181 +0,0 @@ - - - - diff --git a/src/views/interveneNew/psychology/answerManagement/organizationManagement/components/omDetail/detailTab1.vue b/src/views/interveneNew/psychology/answerManagement/organizationManagement/components/omDetail/detailTab1.vue deleted file mode 100644 index ecc1b7f..0000000 --- a/src/views/interveneNew/psychology/answerManagement/organizationManagement/components/omDetail/detailTab1.vue +++ /dev/null @@ -1,134 +0,0 @@ - - - diff --git a/src/views/interveneNew/psychology/answerManagement/organizationManagement/components/omDetail/detailTab2.vue b/src/views/interveneNew/psychology/answerManagement/organizationManagement/components/omDetail/detailTab2.vue deleted file mode 100644 index d920176..0000000 --- a/src/views/interveneNew/psychology/answerManagement/organizationManagement/components/omDetail/detailTab2.vue +++ /dev/null @@ -1,89 +0,0 @@ - - - diff --git a/src/views/interveneNew/psychology/answerManagement/organizationManagement/components/omDetail/detailTab3.vue b/src/views/interveneNew/psychology/answerManagement/organizationManagement/components/omDetail/detailTab3.vue deleted file mode 100644 index 035e41e..0000000 --- a/src/views/interveneNew/psychology/answerManagement/organizationManagement/components/omDetail/detailTab3.vue +++ /dev/null @@ -1,56 +0,0 @@ - - - diff --git a/src/views/interveneNew/psychology/answerManagement/organizationManagement/components/omDetail/omDetail.api.ts b/src/views/interveneNew/psychology/answerManagement/organizationManagement/components/omDetail/omDetail.api.ts deleted file mode 100644 index d23460e..0000000 --- a/src/views/interveneNew/psychology/answerManagement/organizationManagement/components/omDetail/omDetail.api.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -export enum Api { - list = '/health-intervene/psychology/answer/plan/user-record', - getStatistics = '/health-intervene/psychology/answer/plan/statistic', - exportExcel = '/health-intervene/psychology/answer/plan/user-record/export', - exportStatistics = '/health-intervene/psychology/answer/plan/statistic/export', -} -export const list = (params: any) => defHttp.get({ url: Api.list, params }); -//活动详情-统计分析 -export const getStatistics = (params: any) => defHttp.get({ url: Api.getStatistics, params }, { isTransformResponse: true }); - -//人员管理-导出 -export const exportExcelUrl = Api.exportExcel; -//统计分析-导出 -export const exportStatistics = Api.exportStatistics; diff --git a/src/views/interveneNew/psychology/answerManagement/organizationManagement/components/omDetail/omDetail.data.ts b/src/views/interveneNew/psychology/answerManagement/organizationManagement/components/omDetail/omDetail.data.ts deleted file mode 100644 index 1245b3a..0000000 --- a/src/views/interveneNew/psychology/answerManagement/organizationManagement/components/omDetail/omDetail.data.ts +++ /dev/null @@ -1,153 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { getTimeStr } from '/@/views/interveneNew/cancer/examinationCancer/randomAnswer/randomAnswerHook'; - -export interface QueryInfo { - id: string; - planName: string; - evaluationType: string; - queCode: string; - scopeType: number; - startTime: string; - endTime: string; - state: string; - description: string; - delFlag: number; - createBy: string; - createTime: string; - updateBy: string; - updateTime: string; - remark: string; - rangeTime: string; -} -export const detailTab1 = (showColumns: boolean = false) => { - return [ - { - title: '单位名称', - dataIndex: 'orgName', - width: 100, - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'deptName', - width: 100, - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'userName', - width: 100, - fixed: 'left', - }, - { - title: '员工工号', - dataIndex: 'workNo', - width: 100, - }, - { - title: '性别', - dataIndex: 'sex_dictText', - width: 100, - }, - { - title: '年龄', - dataIndex: 'age', - width: 100, - }, - { - title: '答题开始时间', - dataIndex: 'endAnswerTime', - width: 100, - customRender: ({ text }) => { - if (!text) return '--'; - return text; - }, - sorter: true, - }, - { - title: '答题时长', - dataIndex: 'answerTimeSum', - width: 100, - customRender: ({ text }) => { - if (text == 0) return 0; - if (!text) return '--'; - return getTimeStr(text); - }, - }, - { - title: '心理知识掌握程度', - ifShow: showColumns, - children: [ - { - title: '总分', - dataIndex: 'paperScore', - width: 80, - }, - { - title: '得分', - dataIndex: 'totalScore', - width: 80, - }, - { - title: '排名', - dataIndex: 'ranking', - width: 80, - sorter: true, - }, - ], - }, - ] as BasicColumn[]; -}; -export const searchFormTab1: FormSchema[] = [ - { - field: 'userName', - label: '姓名', - component: 'Input', - }, - ...orgSearchInfoByCode('department', 'departmentCode', 'orgCode'), -]; -//计算百分比 -function calcPercent(val: number, sum: number) { - if (!val || !sum) return '0%'; - return (val / sum) * 100 + '%'; -} -export function formatValue(val: number, sum: number) { - if (!val) return '-'; - return val + `(${calcPercent(val, sum)})`; -} -export const columns3: BasicColumn[] = [ - { - title: '答题项目', - dataIndex: 'questionProject', - }, - { - title: '答题模块', - dataIndex: 'questionModel', - }, - { - title: '答题分类', - dataIndex: 'questionCategory', - }, - { - title: '答题人数', - dataIndex: 'answerSum', - }, - { - title: '答题结果', - children: [ - { - title: '不合格/异常', - dataIndex: 'abnormal', - }, - { - title: '合格/正常', - dataIndex: 'normal', - }, - { - title: '优秀', - dataIndex: 'perfect', - }, - ], - }, -]; diff --git a/src/views/interveneNew/psychology/answerManagement/organizationManagement/components/omDetail/omDetail.vue b/src/views/interveneNew/psychology/answerManagement/organizationManagement/components/omDetail/omDetail.vue deleted file mode 100644 index ed0b17c..0000000 --- a/src/views/interveneNew/psychology/answerManagement/organizationManagement/components/omDetail/omDetail.vue +++ /dev/null @@ -1,120 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/psychology/answerManagement/organizationManagement/organizationManagement.api.ts b/src/views/interveneNew/psychology/answerManagement/organizationManagement/organizationManagement.api.ts deleted file mode 100644 index 0f7ffa3..0000000 --- a/src/views/interveneNew/psychology/answerManagement/organizationManagement/organizationManagement.api.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/psychology/answer/plan/page', - queryById = '/health-intervene/psychology/answer/plan', - category = '/health-intervene/psychology/answer/category/level-one', - formCategory = '/health-intervene/psychology/answer/category/list', - save = '/health-intervene/psychology/answer/plan/save', - update = '/health-intervene/psychology/answer/plan/update', - musicList = '/health-intervene/psychology/answer/music/radio', -} -export const list = (params = {}) => defHttp.get({ url: Api.list, params }); -export const queryById = (params: any) => defHttp.get({ url: Api.queryById, params }); -/** - * @description 答题项目分类-查询用 - */ -export const category = (params: any) => defHttp.get({ url: Api.category, params }); -/** - * @description 答题项目分类-form用(全部) - */ -export const formCategory = (params: any) => defHttp.get({ url: Api.formCategory, params }); -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params: any, isUpdate: boolean) => { - return isUpdate ? defHttp.put({ url: Api.update, params }) : defHttp.post({ url: Api.save, params }); -}; -/** - * @description 音乐列表 - */ -export const musicList = (params: any) => defHttp.get({ url: Api.musicList, params }); diff --git a/src/views/interveneNew/psychology/answerManagement/organizationManagement/organizationManagement.data.ts b/src/views/interveneNew/psychology/answerManagement/organizationManagement/organizationManagement.data.ts deleted file mode 100644 index e75e80e..0000000 --- a/src/views/interveneNew/psychology/answerManagement/organizationManagement/organizationManagement.data.ts +++ /dev/null @@ -1,436 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { taskState } from '/@/views/interveneNew/psychology/assessment/unitOrganizationManagement/unitOrganizationManagement.data'; -import { render } from '/@/utils/common/renderUtils'; -import { ref } from 'vue'; -import { getThirdDepartListByOrgCode } from '/@/views/archive/employeeFile/employeeFileList.api'; -import dayjs, { Dayjs } from 'dayjs'; -import { useUserStore } from '/@/store/modules/user'; -import { - canEditSchema, - endDateRules, - getDeptList, - rangeTimeFormat, - startDateRules, - typeToText, -} from '/@/views/interveneNew/psychology/psychologyHooks'; -import { - category, - formCategory, - musicList, -} from '/@/views/interveneNew/psychology/answerManagement/organizationManagement/organizationManagement.api'; -import { forEach } from 'lodash-es'; -import { filterTree } from '/@/utils/common/compUtils'; -import { queryDepartTreeSync } from '/@/views/system/depart/depart.api'; -//知识答题-组织管理 -const user = useUserStore(); -export const columns: BasicColumn[] = [ - { - title: '活动标题', - dataIndex: 'planName', - }, - { - title: '参加人员范围', - dataIndex: 'scopeType', - customRender: ({ text }) => { - return typeToText(parseInt(text, 10)); - }, - }, - { - title: '答题项目', - dataIndex: 'topQuestionCategory', - }, - { - title: '任务起止日期', - dataIndex: 'taskStartDate', - customRender: ({ record }) => rangeTimeFormat(record.startTime, record.endTime), - }, - { - title: '应参加人数', - dataIndex: 'shouldJoinNumber', - }, - { - title: '实际参加人数', - dataIndex: 'actualJoinNumber', - }, - { - title: '任务状态', - dataIndex: 'state', - width: 120, - customRender: ({ text }) => { - return render.renderDictNative( - text, - [ - { label: '未开始', value: '0' }, - { label: '进行中', value: '1', color: 'green' }, - { label: '已结束', value: '2', color: 'orange' }, - ], - true - ); - }, - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - field: 'planName', - label: '活动标题', - component: 'Input', - }, - { - field: 'questionCategoryId', - label: '答题项目', - component: 'ApiSelect', - componentProps: () => { - return { - api: category, - params: { - categoryLevel: '1', - }, - labelField: 'category', - valueField: 'id', - afterFetch: (option) => { - forEach(option, (item) => { - item.disabled = false; - }); - return option; - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - field: 'state', - label: '活动状态', - component: 'Select', - componentProps: () => { - return { - options: taskState, - }; - }, - }, - { - field: 'date', - label: '活动日期', - component: 'RangeDate', - }, -]; -type Validate = (nameList?: string[] | undefined) => Promise; -export function useFormSchema(validate: Validate, disabledDate?) { - const deptOption = ref([]); - const userList = ref([]); - const formSchema: FormSchema[] = [ - { - field: 'planName', - label: '活动标题', - component: 'Input', - required: true, - dynamicDisabled: ({ values }) => canEditSchema(values?.state), - }, - { - field: 'scopeType', - label: '参加人员范围', - component: 'RadioGroup', - required: true, - defaultValue: 1, - componentProps: () => { - return { - options: [ - { - label: '全体员工(管辖范围内)', - value: 0, - }, - { - label: '指定人员', - value: 1, - }, - ], - }; - }, - dynamicDisabled: ({ values }) => canEditSchema(values?.state), - }, - { - label: '指定部门', - field: 'depart', - component: 'JlazyTreeSelect', - componentProps: ({ formModel }) => { - return { - api: queryDepartTreeSync, - loadApi: queryDepartTreeSync, - selectedKeys: - formModel.depart && - formModel.depart.map((item) => { - return JSON.parse(item); - }), - expandedKeys: - formModel.depart && - formModel.depart.map((item) => { - return JSON.parse(item); - }), - afterApi: (data) => { - data.forEach((item: any) => { - item['resultItem'] = JSON.stringify({ - record: item.title, - scopeId: item.orgCode, - type: 1, - }); - item['preTitle'] = item.title; - item['key'] = item['resultItem']; - }); - return data; - }, - preItem: (title, item) => { - item['preTitle'] = title + '/' + item.title; - item['resultItem'] = JSON.stringify({ - record: item.title, - scopeId: item.orgCode, - type: 1, - }); - item['key'] = item['resultItem']; - return item; - }, - fieldNamesInfo: { - value: 'resultItem', - label: 'preTitle', - key: 'resultItem', - }, - }; - }, - ifShow: ({ values }) => values.scopeType == 1, - dynamicRules: ({ model }) => { - return [ - { - trigger: 'blur', - validator: () => { - let dept = model?.depart || []; - if (model.scopeType == '1' && dept?.length == 0 && !model.userName) { - return Promise.reject('参加人员范围选择指定人员时,请选择指定部门或者指定人员'); - } - return Promise.resolve(); - }, - }, - ]; - }, - dynamicDisabled: ({ values }) => canEditSchema(values?.state), - }, - { - label: '指定员工', - field: 'userName', - component: 'InputTextArea', - slot: 'selectEmployee', - ifShow: ({ values }) => values.scopeType == 1, - dynamicRules: ({ model }) => { - return [ - { - trigger: 'blur', - validator: () => { - let dept = model?.depart || []; - if (model.scopeType == '1' && dept?.length == 0 && !model.userName) { - return Promise.reject('参加人员范围选择指定人员时,请选择指定部门或者指定人员'); - } - return Promise.resolve(); - }, - }, - ]; - }, - }, - { - field: 'startTime', - label: '活动开始日期', - component: 'DatePicker', - required: true, - componentProps: ({ formModel }) => { - return { - style: { - width: '100%', - }, - onChange: (date: string) => { - if (date && formModel['endTime']) validate(['endTime']).catch(() => {}); - }, - disabled: formModel.state == 1 || formModel.state == 2, - }; - }, - dynamicRules: ({ model }) => startDateRules(model), - }, - { - field: 'endTime', - label: '活动结束日期', - component: 'DatePicker', - required: true, - componentProps: ({ formModel }) => { - return { - style: { - width: '100%', - }, - onChange: (date: string) => { - if (date && formModel['startTime']) validate(['startTime']).catch(() => {}); - }, - disabledDate: (current: Dayjs) => { - if (!formModel?.id) return false; - if (formModel.state == 1 || formModel.state == 2) { - return current && current < dayjs(disabledDate.value); - } - return false; - }, - }; - }, - dynamicRules: ({ model }) => endDateRules(model), - }, - { - field: 'description', - label: '活动说明', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 4, - showCount: true, - }; - }, - dynamicDisabled: ({ values }) => canEditSchema(values?.state), - }, - { - field: 'questionCategoryId', - label: '答题分类', - component: 'ApiTreeSelect', - componentProps: { - api: formCategory, - params: { - //传1查数量 - findSum: 1, - }, - fieldNames: { - label: 'category', - value: 'id', - children: 'childrenList', - }, - immediate: true, - multiple: true, - treeCheckable: true, - disabledInitValue: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: (v) => { - console.log('v', v); - }, - treeNodeLabelProp: 'title', - treeNodeFilterProp: 'title', - afterFetch: (option) => { - const getTitle = (d, type) => { - d.forEach((item) => { - item['title'] = type ? `${type}/${item.category}` : item.category; - if (item.hasOwnProperty('disabled')) { - delete item['disabled']; - } - if (item.childrenList && item.childrenList.length > 0) { - item['checkable'] = false; - getTitle(item.childrenList, item['title']); - } - }); - }; - getTitle(option, ''); - return filterTree( - option, - (node) => { - if (node.id.includes('A01') || node.id.includes('B01')) { - return Object.hasOwn(node, 'questionSum') && node.questionSum >= 5; - } - if (node.id.includes('C01')) { - return Object.hasOwn(node, 'questionSum') && node.questionSum >= 1; - } - return false; - }, - { children: 'childrenList' } - ); - }, - }, - required: true, - dynamicDisabled: ({ values }) => canEditSchema(values?.state), - }, - { - field: 'musicId', - component: 'ApiSelect', - componentProps: () => { - return { - api: musicList, - labelField: 'musicName', - valueField: 'id', - disabledInitValue: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - label: '答题背景音乐', - required: true, - dynamicDisabled: ({ values }) => canEditSchema(values?.state), - }, - { - field: 'maxLimitTime', - component: 'InputNumber', - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - label: '答题时长(分钟)', - required: true, - dynamicDisabled: ({ values }) => canEditSchema(values?.state), - }, - { - field: 'state', - component: 'Input', - label: 'state', - show: false, - }, - { - field: 'id', - component: 'Input', - label: 'id', - show: false, - }, - ]; - function getUser() { - return userList.value || []; - } - function setUser(list: any[]) { - userList.value = list; - } - /** - * @description: 获取选择部门数据 - */ - function getDartList(keyCode: string[]) { - const arr = getList(keyCode).map((item) => JSON.parse(item).scopeId); - return getDeptList(deptOption.value, arr); - } - function getList(val) { - return val.split('},').map((item) => { - item = (item + '}').replace(/}}/g, '}'); - return item; - }); - } - /** - * @description: 部门数据转换为orgCode - * @param list - */ - function departListToOrgCode(list: any[]) { - if (!list?.length) return []; - return list.map((item) => item?.scopeId); - } - return { - formSchema, - getUser, - setUser, - getDeptList: getDartList, - departListToOrgCode, - }; -} diff --git a/src/views/interveneNew/psychology/answerManagement/organizationManagement/organizationManagement.vue b/src/views/interveneNew/psychology/answerManagement/organizationManagement/organizationManagement.vue deleted file mode 100644 index 16da345..0000000 --- a/src/views/interveneNew/psychology/answerManagement/organizationManagement/organizationManagement.vue +++ /dev/null @@ -1,101 +0,0 @@ - - - - diff --git a/src/views/interveneNew/psychology/answerManagement/recommendation/components/recommendaionDrawer.vue b/src/views/interveneNew/psychology/answerManagement/recommendation/components/recommendaionDrawer.vue deleted file mode 100644 index dbab3ab..0000000 --- a/src/views/interveneNew/psychology/answerManagement/recommendation/components/recommendaionDrawer.vue +++ /dev/null @@ -1,53 +0,0 @@ - - diff --git a/src/views/interveneNew/psychology/answerManagement/recommendation/recommendation.api.ts b/src/views/interveneNew/psychology/answerManagement/recommendation/recommendation.api.ts deleted file mode 100644 index d60a5ac..0000000 --- a/src/views/interveneNew/psychology/answerManagement/recommendation/recommendation.api.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); -enum Api { - list = '/health-intervene/psychology/answer/knowledge/list', - add = '/health-intervene/psychology/answer/knowledge/add', - edit = '/health-intervene/psychology/answer/knowledge/edit', - delete = '/health-intervene/psychology/answer/knowledge/delete', - treeList = '/health-intervene/psychology/answer/category/list', -} - -export const listApi = (params) => defHttp.get({ url: Api.list, params }); - -export const addApi = (params) => defHttp.post({ url: Api.add, params }); - -export const editApi = (params) => defHttp.put({ url: Api.edit, params }); - -export const treeListApi = (params) => defHttp.get({ url: Api.treeList, params }); - -export const deleteApi = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.delete, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/psychology/answerManagement/recommendation/recommendation.data.ts b/src/views/interveneNew/psychology/answerManagement/recommendation/recommendation.data.ts deleted file mode 100644 index c9571ca..0000000 --- a/src/views/interveneNew/psychology/answerManagement/recommendation/recommendation.data.ts +++ /dev/null @@ -1,194 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; -import { treeListApi } from '/@/views/interveneNew/psychology/answerManagement/recommendation/recommendation.api'; - -export const columns: BasicColumn[] = [ - { - title: '知识名称', - dataIndex: 'knowledgeName', - align: 'center', - width: 200, - }, - { - title: '封面图', - dataIndex: 'banner', - align: 'center', - customRender: ({ text }) => { - const t = text ? text.replace(',', '') : null; - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(t), - height: 50, - width: 50, - fallback: getDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - width: 150, - }, - { - title: '关联题库分类', - dataIndex: 'categoryList', - align: 'center', - customRender: ({ text }) => { - const value = text.map((item) => { - return item.questionCategoryName; - }); - return value.toString(); - }, - width: 200, - }, - { - title: '知识简介', - dataIndex: 'description', - align: 'center', - width: 500, - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '知识名称', - field: 'knowledgeName', - component: 'Input', - }, - { - label: '关联题库分类', - field: 'categoryIds', - component: 'ApiTreeSelect', - componentProps: () => { - return { - api: treeListApi, - pidField: 'id', - multiple: true, - treeCheckable: true, - fieldNames: { - label: 'category', - value: 'id', - children: 'childrenList', - }, - maxTagCount: 1, - treeDefaultExpandAll: true, - afterFetch: (data) => { - const getTitle = (d, type) => { - d.forEach((item) => { - item['title'] = type ? `${type}/${item.category}` : item.category; - if (item.childrenList && item.childrenList.length > 0) { - getTitle(item.childrenList, item['title']); - } - }); - }; - - getTitle(data, ''); - return data; - }, - treeNodeLabelProp: 'title', - treeNodeFilterProp: 'title', - getPopupContainer: () => document.body, - }; - }, - }, -]; - -export const addSchema: FormSchema[] = [ - { - label: '知识名称', - field: 'knowledgeName', - component: 'Input', - required: true, - }, - { - label: '封面图', - field: 'banner', - component: 'JImageUpload', - }, - { - label: '关联题库分类', - field: 'categoryIds', - component: 'ApiTreeSelect', - componentProps: () => { - return { - api: treeListApi, - pidField: 'id', - multiple: true, - treeCheckable: true, - fieldNames: { - label: 'category', - value: 'id', - children: 'childrenList', - }, - maxTagCount: 4, - treeDefaultExpandAll: true, - afterFetch: (data) => { - const getTitle = (d, type) => { - d.forEach((item) => { - item['title'] = type ? `${type}/${item.category}` : item.category; - if (item.childrenList && item.childrenList.length > 0) { - getTitle(item.childrenList, item['title']); - } - }); - }; - - getTitle(data, ''); - return data; - }, - treeNodeLabelProp: 'title', - getPopupContainer: () => document.body, - }; - }, - required: true, - }, - { - label: '内容简介', - field: 'description', - component: 'InputTextArea', - componentProps: () => { - return { - showCount: true, - rows: 3, - maxlength: 100, - }; - }, - required: true, - }, - { - label: '主要内容', - field: 'content', - component: 'JEditor', - required: true, - componentProps: () => { - return { - height: 200, - }; - }, - }, - { - label: '推荐理由', - field: 'recommendReason', - component: 'JEditor', - componentProps: () => { - return { - height: 200, - }; - }, - }, - { - label: '具体帮助', - field: 'help', - component: 'JEditor', - componentProps: () => { - return { - height: 200, - }; - }, - }, -]; diff --git a/src/views/interveneNew/psychology/answerManagement/recommendation/recommendation.vue b/src/views/interveneNew/psychology/answerManagement/recommendation/recommendation.vue deleted file mode 100644 index c154bc2..0000000 --- a/src/views/interveneNew/psychology/answerManagement/recommendation/recommendation.vue +++ /dev/null @@ -1,82 +0,0 @@ - - diff --git a/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/components/evaluationHook.ts b/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/components/evaluationHook.ts deleted file mode 100644 index 7fff335..0000000 --- a/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/components/evaluationHook.ts +++ /dev/null @@ -1,10 +0,0 @@ -export function getNameColor(type) { - switch (type) { - case 1: - return '#00c32d'; - case 2: - return '#e38500'; - case 3: - return '#fb0000'; - } -} diff --git a/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/components/evaluationRecord.vue b/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/components/evaluationRecord.vue deleted file mode 100644 index bab6bd3..0000000 --- a/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/components/evaluationRecord.vue +++ /dev/null @@ -1,86 +0,0 @@ - - diff --git a/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/components/evaluationRecordModal.vue b/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/components/evaluationRecordModal.vue deleted file mode 100644 index df425d9..0000000 --- a/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/components/evaluationRecordModal.vue +++ /dev/null @@ -1,178 +0,0 @@ - - - diff --git a/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/components/questionResult.vue b/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/components/questionResult.vue deleted file mode 100644 index 38e5ca9..0000000 --- a/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/components/questionResult.vue +++ /dev/null @@ -1,307 +0,0 @@ - - - diff --git a/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/selfEvaluationManagement.api.ts b/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/selfEvaluationManagement.api.ts deleted file mode 100644 index 2ccb4aa..0000000 --- a/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/selfEvaluationManagement.api.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/psychology/answer/record/statistic', - userList = '/health-intervene/psychology/answer/record/monitor', - personList = '/health-intervene/psychology/answer/record/user', - report = '/health-intervene/psychology/answer/record/report', - statisticExport = '/health-intervene/psychology/answer/record/statistic/export', - monitorExport = '/health-intervene/psychology/answer/record/monitor/export', - userExport = '/health-intervene/psychology/answer/record/user/export', - questionList = '/health-intervene/api/psychology/answer/details', -} - -export const listApi = (params) => defHttp.get({ url: Api.list, params }); -export const userListApi = (params) => defHttp.get({ url: Api.userList, params }); -export const personListApi = (params) => defHttp.get({ url: Api.personList, params }); -export const reportApi = (params) => defHttp.get({ url: Api.report, params }); -export const questionListApi = (params) => defHttp.get({ url: Api.questionList, params }); -export const statisticExportApi = Api.statisticExport; -export const monitorExportApi = Api.monitorExport; -export const userExportApi = Api.userExport; diff --git a/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/selfEvaluationManagement.data.ts b/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/selfEvaluationManagement.data.ts deleted file mode 100644 index 26036fa..0000000 --- a/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/selfEvaluationManagement.data.ts +++ /dev/null @@ -1,324 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; -import { getThirdDepartsNewApi } from '/@/views/interveneNew/diabetes/signalWarning/imitate/imitate.api'; -import { message } from 'ant-design-vue'; -import { HeaderColumns } from '/@/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/earlyWarningHistory.data'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { treeListApi } from '/@/views/interveneNew/psychology/answerManagement/recommendation/recommendation.api'; - -const columns: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'orgName', - align: 'center', - width: 180, - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'deptName', - align: 'center', - width: 180, - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'userName', - align: 'center', - width: 150, - fixed: 'left', - }, - { - title: '员工工号', - dataIndex: 'workNo', - align: 'center', - width: 150, - fixed: 'left', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - align: 'center', - width: 100, - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - width: 100, - }, -]; -const columns1: BasicColumn[] = [ - ...columns, - { - title: '答题次数', - dataIndex: '', - align: 'center', - children: [ - { - title: '专题心理知识', - dataIndex: 'specialSum', - align: 'center', - width: 190, - }, - { - title: '综合心理知识', - dataIndex: 'allSum', - align: 'center', - width: 190, - }, - { - title: '心理问题题', - dataIndex: 'problemSum', - align: 'center', - width: 190, - }, - { - title: '总次数', - dataIndex: 'totalSum', - align: 'center', - width: 190, - }, - ], - }, -]; - -const columns2: BasicColumn[] = [ - ...columns, - { - title: '答题项目', - dataIndex: 'questionCategory', - align: 'center', - width: 400, - }, - { - title: '答题时间', - dataIndex: 'endAnswerTime', - align: 'center', - width: 380, - }, -]; -export const columnsList = [columns1, columns2]; - -const searchSchema1: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2', 'orgCode'), - // { - // label: '单位', - // field: 'orgCode', - // component: 'ApiSelect', - // componentProps: ({ formModel }) => { - // return { - // api: getSecondaryDepartmentList, - // resultField: 'result', - // labelField: 'departName', - // valueField: 'orgCode', - // immediate: true, - // showSearch: true, - // filterOption: (input: string, option: any): boolean => { - // const str: string = input.toLowerCase(); - // return option.departName.toLowerCase().indexOf(str) >= 0; - // }, - // onChange: () => { - // formModel.deptCode = ''; - // }, - // onDeselect: () => { - // formModel.deptCode = ''; - // }, - // }; - // }, - // }, - // { - // label: '部门', - // field: 'deptCode', - // component: 'ApiSelect', - // componentProps: ({ formModel }) => { - // return { - // api: getThirdDepartsNewApi, - // params: { - // idOrCode: formModel?.orgCode || 'xasd', - // }, - // resultField: 'list', - // labelField: 'departName', - // valueField: 'orgCode', - // onFocus: () => { - // if (!formModel.orgCode) { - // return message.warn('请先选择单位!'); - // } - // }, - // showSearch: true, - // filterOption: (input: string, option: any): boolean => { - // const str: string = input.toLowerCase(); - // return option.label.toLowerCase().indexOf(str) >= 0; - // }, - // }; - // }, - // }, -]; - -const searchSchema2: FormSchema[] = [ - ...searchSchema1, - { - label: '关联题库分类', - field: 'questionCategoryId', - component: 'ApiSelect', - componentProps: () => { - return { - api: treeListApi, - params: { - id: 'C01', - }, - labelField: 'category', - valueField: 'id', - immediate: true, - showSearch: true, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '答题日期', - field: 'rangeDate', - component: 'RangeDate', - componentProps: () => ({ format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD', style: { width: '100%' } }), - }, -]; - -export const searchSchemaList = [searchSchema1, searchSchema2]; - -export const recordColumns: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'orgName', - align: 'center', - width: 180, - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'deptName', - align: 'center', - width: 180, - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'userName', - align: 'center', - width: 180, - fixed: 'left', - }, - { - title: '员工工号', - dataIndex: 'workNo', - align: 'center', - width: 180, - fixed: 'left', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - align: 'center', - width: 180, - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - width: 180, - }, - { - title: '答题项目', - dataIndex: 'questionCategory', - align: 'center', - width: 270, - }, - { - title: '答题时间', - dataIndex: 'endAnswerTime', - align: 'center', - width: 270, - }, -]; - -export const recordSearchSchema: FormSchema[] = [ - { - label: '关联题库分类', - field: 'questionCategoryId', - component: 'ApiSelect', - componentProps: () => { - return { - api: treeListApi, - params: { - id: 'C01', - }, - labelField: 'category', - valueField: 'id', - immediate: true, - showSearch: true, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '答题日期', - field: 'rangeDate', - component: 'RangeDate', - componentProps: () => ({ format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD', style: { width: '100%' } }), - }, -]; - -export const headerColumns: HeaderColumns[] = [ - { - label: '员工姓名:', - value: '', - key: 'userName', - show: true, - }, - { - label: '员工工号:', - value: '', - key: 'workNo', - show: true, - }, - { - label: '性别:', - value: '', - key: 'sex_dictText', - show: true, - }, - { - label: '年龄:', - value: '', - key: 'age', - show: true, - }, - - { - label: '单位名称:', - value: '', - key: 'orgName', - show: true, - }, - { - label: '部门名称:', - value: '', - key: 'deptName', - show: true, - }, - { - label: '答题时间:', - value: '', - key: 'endAnswerTime', - show: true, - }, -]; diff --git a/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/selfEvaluationManagement.vue b/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/selfEvaluationManagement.vue deleted file mode 100644 index 81030fc..0000000 --- a/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/selfEvaluationManagement.vue +++ /dev/null @@ -1,126 +0,0 @@ - - diff --git a/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/selfEvaluationManagementhooks.ts b/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/selfEvaluationManagementhooks.ts deleted file mode 100644 index e22de28..0000000 --- a/src/views/interveneNew/psychology/answerManagement/selfEvaluationManagement/selfEvaluationManagementhooks.ts +++ /dev/null @@ -1,115 +0,0 @@ -// 标准答案内容 -export function answerText(item: any, optionList: any, fields: string) { - if (!item[fields]) return '暂无'; - if (item[fields] !== '') { - const userAnswer = item[fields].split(','); - const same = optionList.filter((item: any) => userAnswer.includes(item.optionId)); - const answer = same.map((item: any) => item.optionNo).join(','); - return answer; - } - return '暂无'; -} - -// 用户选择样式 -export function userAnswerClass(item: any) { - if (item.realAnswer === '' || item.realAnswer === null) return false; - return item.realAnswer === item.userAnswer ? 'correct-color' : 'error-color'; -} - -export function questionType(type: string) { - const typeParams = { - DG: '单选题', - DX: '多选题', - PD: '单选题', - }; - // @ts-ignore - return typeParams[type]; -} - -export function optionClass(isEdit: Boolean, item: any, optionItem: any, optionList: any) { - let optionClass = ''; - if (isEdit) { - optionClass = item.userAnswer !== null && item.userAnswer.split(',').includes(optionItem.optionId) ? 'select-item' : ''; - } else { - if (item.userAnswer === null || item.userAnswer === '') { - optionClass = ''; - } else { - const vis = optionList.some((e: any) => e.isTrue); - if (vis) { - // 有正确答题 - const userAnswer = item.userAnswer.split(','); - if (userAnswer.includes(optionItem.optionId)) { - optionItem.isTrue ? (optionClass = 'correct-item') : (optionClass = 'error-item'); - } - } else { - // 无正确答案,使用默认样式显示用户选项 - if (optionItem.optionId === item.userAnswer) { - optionClass = 'select-item'; - } - } - } - } - return optionClass; -} - -export function showTitle(list: any) { - let oneText = '', - twoText = '', - threeTwo = ''; - if (list.length === 3) { - oneText = list[0]; - twoText = list[1]; - threeTwo = list[2]; - } - if (list.length === 2) { - oneText = list[0]; - twoText = list[1]; - } - if (list.length === 1) { - twoText = list[0]; - } - return { - one: { - // icon: iconback(oneText), - text: oneText, - }, - two: twoText, - three: threeTwo, - }; -} - -function calculateTime(ms) { - let hours: any = Math.floor(ms / 3600); - let minutes: any = Math.floor((ms % 3600) / 60); - let seconds: any = ms % 60; - let day: any = Math.floor(ms / 86400); - hours = zeroFill(hours); - minutes = zeroFill(minutes); - seconds = zeroFill(seconds); - day = zeroFill(day); - return { day, hours, minutes, seconds }; -} - -function zeroFill(num: any) { - if (num < 10) { - return '0' + num; - } - return num; -} - -/** - * getTimeStr type 类型 - * ss 秒 - * mm 分:秒 - * hh 时:分:秒 - * DD 天 时:分:秒 - */ - -export function getTimeStr(time: number, type: string) { - if (!time) return ''; - const { minutes, seconds, hours, day } = calculateTime(time); - if (type == 'ss') return seconds; - if (type == 'mm') return `${minutes}:${seconds}`; - if (type == 'hh') return `${hours}:${minutes}:${seconds}`; - if (type == 'DD') return `${day} ${hours}:${minutes}:${seconds}`; -} diff --git a/src/views/interveneNew/psychology/answerManagement/topic/compoents/reportModal.vue b/src/views/interveneNew/psychology/answerManagement/topic/compoents/reportModal.vue deleted file mode 100644 index 20a6fc1..0000000 --- a/src/views/interveneNew/psychology/answerManagement/topic/compoents/reportModal.vue +++ /dev/null @@ -1,39 +0,0 @@ - - - diff --git a/src/views/interveneNew/psychology/answerManagement/topic/compoents/topicDrawer.vue b/src/views/interveneNew/psychology/answerManagement/topic/compoents/topicDrawer.vue deleted file mode 100644 index 78cf362..0000000 --- a/src/views/interveneNew/psychology/answerManagement/topic/compoents/topicDrawer.vue +++ /dev/null @@ -1,189 +0,0 @@ - - - diff --git a/src/views/interveneNew/psychology/answerManagement/topic/topicList.api.ts b/src/views/interveneNew/psychology/answerManagement/topic/topicList.api.ts deleted file mode 100644 index c896df0..0000000 --- a/src/views/interveneNew/psychology/answerManagement/topic/topicList.api.ts +++ /dev/null @@ -1,87 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -enum Api { - getCategory = '/health-intervene/psychology/answer/category/level-one', - categoryList = '/health-intervene/psychology/answer/category/list', - list = '/health-intervene/psychology/answer/question/list', - templateUrl = '/health-intervene/psychology/answer/question/template', - exportUrl = '/health-intervene/psychology/answer/question/export', - deleteOne = '/health-intervene/psychology/answer/question/delete', - importUrl = '/health-intervene/psychology/answer/question/import', - deleteBatch = '/health-intervene/psychology/answer/question/deleteBatch', - questionSave = '/health-intervene/psychology/answer/question/save', - questionUpdate = '/health-intervene/psychology/answer/question/update', - questionGet = '/health-intervene/psychology/answer/question', - questionList = '/health-intervene/question/re-list', - exportList = '/sys/common/commonExportsInfo/list', -} - -export const exportList = (params) => { - return defHttp.get({ url: Api.exportList, params }); -}; - -const { createConfirm } = useMessage(); -export const getCategoryApi = (params: any) => defHttp.get({ url: Api.getCategory, params: params }); -export const categoryListApi = (params: any) => defHttp.get({ url: Api.categoryList, params: params }); -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const questionSaveApi = (params: any) => defHttp.post({ url: Api.questionSave, params: params }); -export const questionUpdate = (params: any) => defHttp.put({ url: Api.questionUpdate, params: params }); -export const questionGetApi = (params: any) => defHttp.get({ url: Api.questionGet, params: params }); -export const questionListApi = (params: any) => defHttp.get({ url: Api.questionList, params: params }); -//题库管理-模板下载 -export const templateUrl = Api.templateUrl; -//题库管理-题库导出 -export const exportUrl = Api.exportUrl; -//题库管理-题库导入 -export const importUrl = Api.importUrl; -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除数据', - okText: '确认', - cancelText: '取消', - onOk: async () => { - return defHttp - .delete( - { - url: Api.deleteOne, - params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: async () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/psychology/answerManagement/topic/topicList.data.ts b/src/views/interveneNew/psychology/answerManagement/topic/topicList.data.ts deleted file mode 100644 index 4c04c26..0000000 --- a/src/views/interveneNew/psychology/answerManagement/topic/topicList.data.ts +++ /dev/null @@ -1,187 +0,0 @@ -import { FormSchema } from '/@/components/Form'; -import { BasicColumn } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { orgSearchInfo } from '/@/utils/orgSearchInfo'; -import { categoryListApi } from '/@/views/interveneNew/psychology/answerManagement/topic/topicList.api'; - -export function getSearchSchema(type: string) { - const searchSchema: FormSchema[] = [ - { - label: '题目标题', - field: 'questionDesc', - component: 'Input', - }, - ...orgSearchInfo({ - orgName: '所属模块', - orgApi: categoryListApi, - orgParams: { id: type }, - orgField: 'categoryId1', - orgPlaceholder: '请选择所属模块', - orgMessage: '请先选择所属模块', - orgLabelField: 'category', - orgValueField: 'id', - deptName: '所属类别', - deptApi: categoryListApi, - departParams: 'id', - deptFiled: 'categoryId2', - deptValueField: 'id', - deptPlaceholder: '请选择所属类别', - deptMessage: '请先选择所属模块', - deptLabelField: 'category', - orgCode: 'categoryId', - }), - { - label: '题目类型', - field: 'type', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'question_options_type', - }; - }, - }, - ]; - - return searchSchema; -} - -export function getTableColumns(max: number, activeKey: string) { - const columns: BasicColumn[] = [ - { - title: '模块', - dataIndex: 'categoryModel', - }, - { - title: '类别', - dataIndex: 'questionCategory', - }, - { - title: '题目标题', - dataIndex: 'questionDesc', - }, - { - title: '题目类型', - dataIndex: 'type', - customRender: ({ text }) => { - return render.renderDict(text, 'question_options_type'); - }, - }, - ...getChooseNumber(max, activeKey), - ]; - return columns; -} - -function getChooseNumber(max: number, activeKey: string) { - const result: BasicColumn[] = []; - if (max === 0) return result; - for (let i = 0; i < indexList.length; i++) { - result.push({ - title: activeKey === 'C01' ? `选项${i + 1}` : `${indexList[i]}选项`, - dataIndex: indexList[i], - }); - if (i + 1 === max) break; - } - return result; -} -export const getAddSearchSchema = (type: any) => { - const formSchema: FormSchema[] = [ - { - label: '题目分类', - field: 'questionCategoryId', - component: 'ApiTreeSelect', - componentProps: () => { - return { - api: categoryListApi, - params: { id: type }, - fieldNames: { - children: 'childrenList', - disabled: 'aaa', - label: 'category', - value: 'id', - }, - afterFetch: (data) => { - const getTitle = (d, type) => { - d.forEach((item) => { - item['title'] = type ? `${type}/${item.category}` : item.category; - if (item.hasOwnProperty('disabled')) { - delete item['disabled']; - } - if (item.childrenList && item.childrenList.length > 0) { - item['selectable'] = false; - getTitle(item.childrenList, item['title']); - } - }); - }; - - getTitle(data, ''); - return data; - }, - treeNodeLabelProp: 'title', - treeNodeFilterProp: 'title', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - required: true, - }, - { - label: '题目类型', - field: 'type', - component: 'JDictSelectTag', - defaultValue: 'DG', - componentProps: () => { - return { - type: 'radio', - dictCode: 'question_options_type', - }; - }, - required: true, - }, - { - label: '题目名称', - field: 'questionDesc', - component: 'Input', - required: true, - slot: 'questionDesc', - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - ]; - return formSchema; -}; - -export const indexList: string[] = [ - 'A', - 'B', - 'C', - 'D', - 'E', - 'F', - 'G', - 'H', - 'I', - 'J', - 'K', - 'L', - 'M', - 'N', - 'O', - 'P', - 'Q', - 'R', - 'S', - 'T', - 'U', - 'V', - 'W', - 'X', - 'Y', - 'Z', -]; diff --git a/src/views/interveneNew/psychology/answerManagement/topic/topicList.vue b/src/views/interveneNew/psychology/answerManagement/topic/topicList.vue deleted file mode 100644 index e3fa553..0000000 --- a/src/views/interveneNew/psychology/answerManagement/topic/topicList.vue +++ /dev/null @@ -1,380 +0,0 @@ - - - diff --git a/src/views/interveneNew/psychology/assessment/conceptManagement/components/conceptManagementDrawer.vue b/src/views/interveneNew/psychology/assessment/conceptManagement/components/conceptManagementDrawer.vue deleted file mode 100644 index 659b254..0000000 --- a/src/views/interveneNew/psychology/assessment/conceptManagement/components/conceptManagementDrawer.vue +++ /dev/null @@ -1,50 +0,0 @@ - - diff --git a/src/views/interveneNew/psychology/assessment/conceptManagement/conceptManagement.api.ts b/src/views/interveneNew/psychology/assessment/conceptManagement/conceptManagement.api.ts deleted file mode 100644 index 36e04cf..0000000 --- a/src/views/interveneNew/psychology/assessment/conceptManagement/conceptManagement.api.ts +++ /dev/null @@ -1,33 +0,0 @@ -// -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/health-intervene/psychology/psychologyConceptKnow/list', - add = '/health-intervene/psychology/psychologyConceptKnow/add', - edit = '/health-intervene/psychology/psychologyConceptKnow/edit', - delete = '/health-intervene/psychology/psychologyConceptKnow/delete', -} - -export const listApi = (params) => defHttp.get({ url: Api.list, params }); - -export const addApi = (params) => defHttp.post({ url: Api.add, params }); - -export const editApi = (params) => defHttp.put({ url: Api.edit, params }); - -export const deleteApi = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除该数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.delete, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/psychology/assessment/conceptManagement/conceptManagement.data.ts b/src/views/interveneNew/psychology/assessment/conceptManagement/conceptManagement.data.ts deleted file mode 100644 index d6af47a..0000000 --- a/src/views/interveneNew/psychology/assessment/conceptManagement/conceptManagement.data.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { TreeSelect } from 'ant-design-vue'; - -export const columns: BasicColumn[] = [ - { - title: '标题', - dataIndex: 'title', - align: 'center', - width: 200, - }, - { - title: '内容', - dataIndex: 'content', - align: 'center', - }, -]; - -export const searchFormSchema: FormSchema[] = [ - { - label: '标题', - field: 'title', - component: 'JInput', - }, -]; - -export const addSchema: FormSchema[] = [ - { - label: '标题', - field: 'title', - component: 'Input', - required: true, - }, - { - label: '内容', - field: 'content', - component: 'InputTextArea', - componentProps: () => { - return { - showCount: true, - rows: 6, - }; - }, - required: true, - }, -]; diff --git a/src/views/interveneNew/psychology/assessment/conceptManagement/conceptManagement.vue b/src/views/interveneNew/psychology/assessment/conceptManagement/conceptManagement.vue deleted file mode 100644 index 79bf4f4..0000000 --- a/src/views/interveneNew/psychology/assessment/conceptManagement/conceptManagement.vue +++ /dev/null @@ -1,80 +0,0 @@ - - diff --git a/src/views/interveneNew/psychology/assessment/selfEvaluationManagement/components/evaluationHook.ts b/src/views/interveneNew/psychology/assessment/selfEvaluationManagement/components/evaluationHook.ts deleted file mode 100644 index 7fff335..0000000 --- a/src/views/interveneNew/psychology/assessment/selfEvaluationManagement/components/evaluationHook.ts +++ /dev/null @@ -1,10 +0,0 @@ -export function getNameColor(type) { - switch (type) { - case 1: - return '#00c32d'; - case 2: - return '#e38500'; - case 3: - return '#fb0000'; - } -} diff --git a/src/views/interveneNew/psychology/assessment/selfEvaluationManagement/components/evaluationRecord.vue b/src/views/interveneNew/psychology/assessment/selfEvaluationManagement/components/evaluationRecord.vue deleted file mode 100644 index 6de1473..0000000 --- a/src/views/interveneNew/psychology/assessment/selfEvaluationManagement/components/evaluationRecord.vue +++ /dev/null @@ -1,75 +0,0 @@ - - diff --git a/src/views/interveneNew/psychology/assessment/selfEvaluationManagement/components/evaluationRecordModal.vue b/src/views/interveneNew/psychology/assessment/selfEvaluationManagement/components/evaluationRecordModal.vue deleted file mode 100644 index 7905a79..0000000 --- a/src/views/interveneNew/psychology/assessment/selfEvaluationManagement/components/evaluationRecordModal.vue +++ /dev/null @@ -1,117 +0,0 @@ - - - diff --git a/src/views/interveneNew/psychology/assessment/selfEvaluationManagement/selfEvaluationManagement.api.ts b/src/views/interveneNew/psychology/assessment/selfEvaluationManagement/selfEvaluationManagement.api.ts deleted file mode 100644 index ab9111d..0000000 --- a/src/views/interveneNew/psychology/assessment/selfEvaluationManagement/selfEvaluationManagement.api.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/assess/psychologyEvaluateTotal/selectAllUserPsychologyList', - userList = '/health-intervene/assess/psychologyEvaluateTotal/selectUserPsychologyList', - userInfo = '/health-intervene/assess/psychologyEvaluateTotal/selectUserPsychologyInfo', -} -export const listApi = (params) => defHttp.get({ url: Api.list, params }); -export const userListApi = (params) => defHttp.get({ url: Api.userList, params }); -export const userInfoApi = (params) => defHttp.get({ url: Api.userInfo, params }); diff --git a/src/views/interveneNew/psychology/assessment/selfEvaluationManagement/selfEvaluationManagement.data.ts b/src/views/interveneNew/psychology/assessment/selfEvaluationManagement/selfEvaluationManagement.data.ts deleted file mode 100644 index 438534f..0000000 --- a/src/views/interveneNew/psychology/assessment/selfEvaluationManagement/selfEvaluationManagement.data.ts +++ /dev/null @@ -1,391 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; -import { getThirdDepartsNewApi } from '/@/views/interveneNew/diabetes/signalWarning/imitate/imitate.api'; -import { message } from 'ant-design-vue'; -import { HeaderColumns } from '/@/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/earlyWarningHistory.data'; -import { h } from 'vue'; -const columns: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'orgCode', - align: 'center', - width: 150, - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'departCode', - align: 'center', - width: 150, - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'realname', - align: 'center', - width: 150, - fixed: 'left', - }, - { - title: '员工工号', - dataIndex: 'workNo', - align: 'center', - width: 150, - fixed: 'left', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - align: 'center', - width: 100, - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - width: 100, - }, -]; - -const columns1: BasicColumn[] = [ - ...columns, - { - title: '量表评估次数', - dataIndex: '', - align: 'center', - children: [ - { - title: '职业倦怠量表\n(MBI-GS)', - dataIndex: 'burnoutAnalyze', - align: 'center', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - width: 150, - }, - { - title: '工作内容问卷\n(JCQ-22)', - dataIndex: 'occupationalStressAnalyze', - align: 'center', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - width: 150, - }, - { - title: '生命质量调查问卷\n(EQ-5D)', - dataIndex: 'qualityLifeAnalyze', - align: 'center', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - width: 150, - }, - { - title: '匹兹堡睡眠质量指数量表\n(PSQI简版)', - dataIndex: 'sleepProblemsAnalyze', - align: 'center', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - width: 150, - }, - { - title: '焦虑量表\n(GAD-7)', - dataIndex: 'anxietyLevelAnalyze', - align: 'center', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - width: 100, - }, - { - title: '抑郁量表\n(PHQ-9)', - dataIndex: 'depressionLevelAnalyze', - align: 'center', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - width: 100, - }, - { - title: '总次数', - dataIndex: 'totalNum', - align: 'center', - width: 100, - }, - ], - }, -]; -const columns2: BasicColumn[] = [ - ...columns, - { - title: '评估量表', - dataIndex: 'queNames', - align: 'center', - customRender: ({ text }) => { - // return h('span',{}) - return h('div', { innerHTML: text }); - }, - width: 200, - }, - { - title: '分析模块', - dataIndex: 'moduleNames', - align: 'center', - customRender: ({ text }) => { - // return h('span',{}) - return h('div', { innerHTML: text }); - }, - width: 200, - }, - { - title: '评估时间', - dataIndex: 'createTime', - align: 'center', - width: 150, - }, -]; -export const columnsList = [columns1, columns2]; - -const searchSchema1: FormSchema[] = [ - { - label: '员工姓名', - field: 'realname', - component: 'Input', - }, - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, - { - label: '单位名称', - field: 'orgCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.departName.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel.departCode = ''; - }, - onDeselect: () => { - formModel.departCode = ''; - }, - }; - }, - }, - { - label: '部门名称', - field: 'departCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNewApi, - params: { - idOrCode: formModel?.orgCode || 'xasd', - }, - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - onFocus: () => { - if (!formModel.orgCode) { - return message.warn('请先选择单位名称!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, -]; - -const searchSchema2: FormSchema[] = [ - ...searchSchema1, - { - label: '评估量表', - field: 'queCode', - component: 'JDictSelectTag', - componentProps: () => ({ - dictCode: 'assessment_scale_code', - // stringToNumber: true, - }), - }, - { - label: '评估日期', - field: 'rangeDate', - component: 'RangeDate', - componentProps: () => ({ format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD', style: { width: '100%' } }), - }, -]; - -export const searchSchemaList = [searchSchema1, searchSchema2]; - -export const recordColumns: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'orgCode', - align: 'center', - width: 180, - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'departCode', - align: 'center', - width: 180, - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'realname', - align: 'center', - width: 180, - fixed: 'left', - }, - { - title: '员工工号', - dataIndex: 'workNo', - align: 'center', - width: 180, - fixed: 'left', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - align: 'center', - width: 100, - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - width: 100, - }, - { - title: '评估量表', - dataIndex: 'queNames', - align: 'center', - customRender: ({ text }) => { - // return h('span',{}) - return h('div', { innerHTML: text }); - }, - width: 200, - }, - { - title: '分析模块', - dataIndex: 'moduleNames', - align: 'center', - customRender: ({ text }) => { - // return h('span',{}) - return h('div', { innerHTML: text }); - }, - width: 200, - }, - { - title: '评估时间', - dataIndex: 'createTime', - align: 'center', - width: 180, - }, -]; - -export const recordSearchSchema: FormSchema[] = [ - { - label: '评估量表', - field: 'queCode', - component: 'JDictSelectTag', - componentProps: () => ({ - dictCode: 'assessment_scale_code', - // stringToNumber: true, - }), - }, - { - label: '评估日期', - field: 'rangeDate', - component: 'RangeDate', - componentProps: () => ({ format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD', style: { width: '100%' } }), - }, -]; - -export const headerColumns: HeaderColumns[] = [ - { - label: '姓名:', - value: '', - key: 'realname', - show: true, - }, - { - label: '工号:', - value: '', - key: 'workNo', - show: true, - }, - { - label: '性别:', - value: '', - key: 'sex_dictText', - show: true, - }, - { - label: '年龄:', - value: '', - key: 'age', - show: true, - }, - - { - label: '单位:', - value: '', - key: 'orgCode', - show: true, - }, - { - label: '部门:', - value: '', - key: 'departCode', - show: true, - }, - { - label: '评估时间:', - value: '', - key: 'createTime', - show: true, - }, -]; diff --git a/src/views/interveneNew/psychology/assessment/selfEvaluationManagement/selfEvaluationManagement.vue b/src/views/interveneNew/psychology/assessment/selfEvaluationManagement/selfEvaluationManagement.vue deleted file mode 100644 index 09b1769..0000000 --- a/src/views/interveneNew/psychology/assessment/selfEvaluationManagement/selfEvaluationManagement.vue +++ /dev/null @@ -1,108 +0,0 @@ - - diff --git a/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/components/addOrganization.vue b/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/components/addOrganization.vue deleted file mode 100644 index eb7e0fb..0000000 --- a/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/components/addOrganization.vue +++ /dev/null @@ -1,175 +0,0 @@ - - - diff --git a/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/components/organizationDetail/detailTab1.vue b/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/components/organizationDetail/detailTab1.vue deleted file mode 100644 index a893caa..0000000 --- a/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/components/organizationDetail/detailTab1.vue +++ /dev/null @@ -1,135 +0,0 @@ - - - diff --git a/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/components/organizationDetail/detailTab2.vue b/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/components/organizationDetail/detailTab2.vue deleted file mode 100644 index 034f916..0000000 --- a/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/components/organizationDetail/detailTab2.vue +++ /dev/null @@ -1,71 +0,0 @@ - - - diff --git a/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/components/organizationDetail/detailTab3.vue b/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/components/organizationDetail/detailTab3.vue deleted file mode 100644 index f1b7d61..0000000 --- a/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/components/organizationDetail/detailTab3.vue +++ /dev/null @@ -1,107 +0,0 @@ - - - diff --git a/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/components/organizationDetail/organizationDetail.api.ts b/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/components/organizationDetail/organizationDetail.api.ts deleted file mode 100644 index 0b6b2de..0000000 --- a/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/components/organizationDetail/organizationDetail.api.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); -export enum Api { - list = '/health-intervene/psychology/psychologyPlan/userList', - getPlanStatistics = '/health-intervene/psychology/psychologyPlan/getPlanStatistics', - getDepartPlanStatistics = '/health-intervene/psychology/psychologyPlan/getDepartPlanStatistics', - tab1Export = '/health-intervene/psychology/psychologyPlan/exportXls', - tab3Export = '/health-intervene/psychology/psychologyPlan/exportStatisticsXls', -} -export const list = (params: any) => defHttp.get({ url: Api.list, params }); -//活动详情-统计分析总览 -export const getPlanStatistics = (params: any) => defHttp.get({ url: Api.getPlanStatistics, params }); -//活动详情-统计分析部门 -export const getDepartPlanStatistics = (params: any) => defHttp.get({ url: Api.getDepartPlanStatistics, params }); -//人员管理导出 -export const tab1Export = (params: any) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: Api.tab1Export, params }); - }, - }); -}; -//统计分析导出 -export const tab3Export = Api.tab3Export; diff --git a/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/components/organizationDetail/organizationDetail.data.ts b/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/components/organizationDetail/organizationDetail.data.ts deleted file mode 100644 index 6976def..0000000 --- a/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/components/organizationDetail/organizationDetail.data.ts +++ /dev/null @@ -1,699 +0,0 @@ -import { ref } from 'vue'; -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; - -export interface QueryInfo { - id: string; - planName: string; - evaluationType: string; - queCode: string; - scopeType: number; - startTime: string; - endTime: string; - state: string; - description: string; - delFlag: number; - createBy: string; - createTime: string; - updateBy: string; - updateTime: string; - remark: string; - rangeTime: string; - topQuestionCategory: string; - totalScore: string; -} -export const detailTab1: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'deptName', - width: 100, - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'orgName', - width: 100, - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'realName', - width: 100, - fixed: 'left', - }, - { - title: '员工工号', - dataIndex: 'workNo', - width: 100, - }, - { - title: '性别', - dataIndex: 'sex_dictText', - width: 100, - }, - { - title: '年龄', - dataIndex: 'age', - width: 100, - }, - - { - title: '量表测评进度', - dataIndex: 'queSum', - width: 100, - customRender: ({ text, record }) => { - if (text) { - return `${text}/${(record as any)['queTotal']}`; - } - return `0/${(record as any)['queTotal']}`; - }, - }, - { - title: '测评完成时间', - dataIndex: 'finishTime', - width: 120, - }, -]; -export const detailTab1ExportColumn: BasicColumn[] = [ - { - title: '文件', - align: 'center', - dataIndex: 'exportUrl', - ifShow: true, - }, - { - title: '处理进度', - align: 'center', - dataIndex: 'handleMsg', - }, - { - title: '信息提示', - align: 'center', - dataIndex: 'exportMsg', - }, - { - title: '状态', - align: 'center', - dataIndex: 'exportStatus_dictText', - }, - { - title: '创建日期', - align: 'center', - dataIndex: 'handleStartTime', - }, - { - title: '开始处理时间', - align: 'center', - dataIndex: 'handleStartTime', - }, - { - title: '处理结束时间', - align: 'center', - dataIndex: 'handleEndTime', - }, -]; -export const searchFormTab1: FormSchema[] = [ - { - field: 'realName', - label: '员工姓名', - component: 'Input', - }, - ...orgSearchInfoByCode('department', 'departmentCode', 'orgCode'), -]; -export function formatValue(record: any, key: string, title: string) { - let list = record[key]; - let item = list?.find((item) => item?.queName == title); - if (!item) return ''; - return `${item?.peopleNum}(${item?.percent})`; -} - -enum QueCodeEnum { - MBI_GS = 'MBI-GS', //职业倦怠量表 - JCQ_22 = 'JCQ-22', //工作内容问卷 - EQ_5D = 'EQ-5D', //生命质量调查问卷 - PSQI_JIAN_BAN = 'PSQI简版', //匹兹堡睡眠质量指数量表 - PHQ_9 = 'PHQ-9', //抑郁量表 - GAD_7 = 'GAD-7', //焦虑量表 -} -export function useStatisticsTop(queCode: string[] = []) { - const dataSource = ref([]); - const columns: BasicColumn[] = [ - { - title: '总测评人数', - dataIndex: 'totalUser', - key: 'totalUser', - width: 100, - align: 'center', - }, - { - title: '职业倦怠', - children: [ - { - title: '无职业倦怠', - dataIndex: 'Aa', - key: 'Aa', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'burnoutAnalyze', '无职业倦怠'); - }, - }, - { - title: '轻度职业倦怠', - dataIndex: 'Ab', - key: 'Ab', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'burnoutAnalyze', '轻度职业倦怠'); - }, - }, - { - title: '中度职业倦怠', - dataIndex: 'Ac', - key: 'Ac', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'burnoutAnalyze', '中度职业倦怠'); - }, - }, - { - title: '重度职业倦怠', - dataIndex: 'Ad', - key: 'Ad', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'burnoutAnalyze', '重度职业倦怠'); - }, - }, - ], - ifShow: queCode.includes(QueCodeEnum.MBI_GS), - }, - { - title: '职业紧张', - dataIndex: 'address', - children: [ - { - title: '无职业紧张', - dataIndex: 'Ba', - key: 'Ba', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'occupationalStressAnalyze', '无职业紧张'); - }, - }, - { - title: '职业紧张', - dataIndex: 'Bc', - key: 'Bc', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'occupationalStressAnalyze', '职业紧张'); - }, - }, - ], - ifShow: queCode.includes(QueCodeEnum.JCQ_22), - }, - { - title: '社会支持', - children: [ - { - title: '高社会支持度', - dataIndex: 'Ca', - key: 'Ca', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'socialSupportAnalyze', '高社会支持度'); - }, - }, - { - title: '低社会支持度', - dataIndex: 'Cb', - key: 'Cb', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'socialSupportAnalyze', '低社会支持度'); - }, - }, - ], - ifShow: queCode.includes(QueCodeEnum.JCQ_22), - }, - { - title: '生命质量', - children: [ - { - title: '较高生命质量', - dataIndex: 'Da', - key: 'Da', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'qualityLifeAnalyze', '较高生命质量'); - }, - }, - { - title: '较低生命质量', - dataIndex: 'Db', - key: 'Db', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'qualityLifeAnalyze', '较低生命质量'); - }, - }, - ], - ifShow: queCode.includes(QueCodeEnum.EQ_5D), - }, - { - title: '抑郁', - children: [ - { - title: '无抑郁症', - dataIndex: 'Ea', - key: 'Ea', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'depressionLevelAnalyze', '无抑郁症'); - }, - }, - { - title: '轻度抑郁症', - dataIndex: 'Eb', - key: 'Eb', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'depressionLevelAnalyze', '轻度抑郁症'); - }, - }, - { - title: '中度抑郁症', - dataIndex: 'Ec', - key: 'Ec', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'depressionLevelAnalyze', '中度抑郁症'); - }, - }, - { - title: '中重度抑郁症', - dataIndex: 'Ed', - key: 'Ed', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'depressionLevelAnalyze', '中重度抑郁症'); - }, - }, - { - title: '重度抑郁症', - dataIndex: 'Ee', - key: 'Ee', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'depressionLevelAnalyze', '重度抑郁症'); - }, - }, - ], - ifShow: queCode.includes(QueCodeEnum.PHQ_9), - }, - { - title: '焦虑', - children: [ - { - title: '无焦虑', - dataIndex: 'Fa', - key: 'Fa', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'anxietyLevelAnalyze', '无焦虑'); - }, - }, - { - title: '轻度焦虑', - dataIndex: 'Fb', - key: 'Fb', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'anxietyLevelAnalyze', '轻度焦虑'); - }, - }, - { - title: '中度焦虑', - dataIndex: 'Fc', - key: 'Fc', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'anxietyLevelAnalyze', '中度焦虑'); - }, - }, - { - title: '重度焦虑', - dataIndex: 'Fd', - key: 'Fd', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'anxietyLevelAnalyze', '重度焦虑'); - }, - }, - ], - ifShow: queCode.includes(QueCodeEnum.GAD_7), - }, - { - title: '睡眠质量', - children: [ - { - title: '睡眠质量很好', - dataIndex: 'Ga', - key: 'Ga', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'sleepQualityAnalyze', '睡眠质量很好'); - }, - }, - { - title: '睡眠质量较好', - dataIndex: 'Gb', - key: 'Gb', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'sleepQualityAnalyze', '睡眠质量较好'); - }, - }, - { - title: '睡眠质量较差', - dataIndex: 'Gc', - key: 'Gc', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'sleepQualityAnalyze', '睡眠质量较差'); - }, - }, - { - title: '睡眠质量很差', - dataIndex: 'Gd', - key: 'Gd', - width: 155, - align: 'center', - customRender: ({ record }) => { - return formatValue(record, 'sleepQualityAnalyze', '睡眠质量很差'); - }, - }, - ], - ifShow: queCode.includes(QueCodeEnum.PSQI_JIAN_BAN), - }, - ]; - - /** - * 过滤columns显示,根据ifShow==false隐藏 - * */ - function initColumns(columns: BasicColumn[]) { - return columns.filter((item) => !Object.hasOwn(item, 'ifShow') || item.ifShow); - } - - return { - columns: initColumns(columns), - dataSource, - setDataSource(res: any) { - dataSource.value = res; - }, - }; -} -export const searchFormTab3: FormSchema[] = [...orgSearchInfoByCode('department', 'departmentCode', 'orgCode')]; -type StatisticsVO = { - statisticsVO?: any; - // 其他属性... -}; -type RecordType = { - statisticsVO: StatisticsVO; - [key: string]: any; -}; -export const columns3 = (queCode: string[] = []) => { - return [ - { - title: '单位', - width: 120, - dataIndex: 'departName', - }, - { - title: '部门', - width: 120, - dataIndex: 'orgName', - }, - { - title: '测评人数', - width: 80, - dataIndex: ['statisticsVO', 'totalUser'], - }, - { - title: '职业倦怠', - children: [ - { - title: '无职业倦怠', - dataIndex: 'address', - key: 'address', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'burnoutAnalyze', '无职业倦怠'); - }, - }, - { - title: '轻度职业倦怠', - dataIndex: 'address', - key: 'address', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'burnoutAnalyze', '轻度职业倦怠'); - }, - }, - { - title: '中度职业倦怠', - dataIndex: 'address', - key: 'address', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'burnoutAnalyze', '中度职业倦怠'); - }, - }, - { - title: '重度职业倦怠', - dataIndex: 'address', - key: 'address', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'burnoutAnalyze', '重度职业倦怠'); - }, - }, - ], - ifShow: queCode.includes(QueCodeEnum.MBI_GS), - }, - { - title: '职业紧张', - ifShow: queCode.includes(QueCodeEnum.JCQ_22), - children: [ - { - title: '无职业紧张', - dataIndex: 'address', - key: 'address', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'occupationalStressAnalyze', '无职业紧张'); - }, - }, - { - title: '职业紧张', - dataIndex: 'address', - key: 'address', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'occupationalStressAnalyze', '职业紧张'); - }, - }, - ], - }, - { - title: '社会支持', - ifShow: () => queCode.includes(QueCodeEnum.JCQ_22), - children: [ - { - title: '高社会支持度', - dataIndex: 'Ca', - key: 'Ca', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'socialSupportAnalyze', '高社会支持度'); - }, - }, - { - title: '低社会支持度', - dataIndex: 'Cb', - key: 'Cb', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'socialSupportAnalyze', '低社会支持度'); - }, - }, - ], - }, - { - title: '生命质量', - ifShow: queCode.includes(QueCodeEnum.EQ_5D), - children: [ - { - title: '较高生命质量', - dataIndex: 'Da', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'qualityLifeAnalyze', '较高生命质量'); - }, - }, - { - title: '较低生命质量', - dataIndex: 'Db', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'qualityLifeAnalyze', '较低生命质量'); - }, - }, - ], - }, - { - title: '抑郁', - ifShow: queCode.includes(QueCodeEnum.PHQ_9), - children: [ - { - title: '无抑郁症', - dataIndex: 'Ea', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'depressionLevelAnalyze', '无抑郁症'); - }, - }, - { - title: '轻度抑郁症', - dataIndex: 'Eb', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'depressionLevelAnalyze', '轻度抑郁症'); - }, - }, - { - title: '中度抑郁症', - dataIndex: 'Ec', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'depressionLevelAnalyze', '中度抑郁症'); - }, - }, - { - title: '中重度抑郁症', - dataIndex: 'Ed', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'depressionLevelAnalyze', '中重度抑郁症'); - }, - }, - { - title: '重度抑郁症', - dataIndex: 'Ee', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'depressionLevelAnalyze', '重度抑郁症'); - }, - }, - ], - }, - { - title: '焦虑', - ifShow: queCode.includes(QueCodeEnum.GAD_7), - children: [ - { - title: '无焦虑', - dataIndex: 'Fa', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'anxietyAnalyze', '无焦虑'); - }, - }, - { - title: '轻度焦虑', - dataIndex: 'Fb', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'anxietyLevelAnalyze', '轻度焦虑'); - }, - }, - { - title: '中度焦虑', - dataIndex: 'Fc', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'anxietyLevelAnalyze', '中度焦虑'); - }, - }, - { - title: '重度焦虑', - dataIndex: 'Fd', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'anxietyLevelAnalyze', '重度焦虑'); - }, - }, - ], - }, - { - title: '睡眠质量', - ifShow: queCode.includes(QueCodeEnum.PSQI_JIAN_BAN), - children: [ - { - title: '睡眠质量很好', - dataIndex: 'Ga', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'sleepQualityAnalyze', '睡眠质量很好'); - }, - }, - { - title: '睡眠质量较好', - dataIndex: 'Gb', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'sleepQualityAnalyze', '睡眠质量较好'); - }, - }, - { - title: '睡眠质量较差', - dataIndex: 'Gc', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'sleepQualityAnalyze', '睡眠质量较差'); - }, - }, - { - title: '睡眠质量很差', - dataIndex: 'Gd', - width: 155, - customRender: ({ record }) => { - return formatValue((record as RecordType)['statisticsVO'], 'sleepQualityAnalyze', '睡眠质量很差'); - }, - }, - ], - }, - ] as BasicColumn[]; -}; diff --git a/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/components/organizationDetail/organizationDetail.vue b/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/components/organizationDetail/organizationDetail.vue deleted file mode 100644 index 8b88042..0000000 --- a/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/components/organizationDetail/organizationDetail.vue +++ /dev/null @@ -1,117 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/unitOrganizationManagement.api.ts b/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/unitOrganizationManagement.api.ts deleted file mode 100644 index ab45f2e..0000000 --- a/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/unitOrganizationManagement.api.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); -export enum Api { - list = '/health-intervene/psychology/psychologyPlan/list', - save = '/health-intervene/psychology/psychologyPlan/add', - update = '/health-intervene/psychology/psychologyPlan/edit', - delete = '/health-intervene/psychology/psychologyPlan/delete', - queryById = '/health-intervene/psychology/psychologyPlan/queryById', - getQueCode = '/health-intervene/psychology/psychologyPlan/getQueCode', -} - -/** - * 获取量表 - * @param params - */ -export const getQueCode = (params: any) => defHttp.get({ url: Api.getQueCode, params }); -export const list = (params: any) => defHttp.get({ url: Api.list, params }); -/** - * 删除单个 - */ -export const deleteOne = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.delete, - params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 根据id查询 - * @param params - */ -export const queryById = (params: any) => defHttp.get({ url: Api.queryById, params }); - -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params: any, isUpdate: boolean) => { - return defHttp.post({ url: isUpdate ? Api.update : Api.save, params }); -}; diff --git a/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/unitOrganizationManagement.data.ts b/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/unitOrganizationManagement.data.ts deleted file mode 100644 index a82fa9e..0000000 --- a/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/unitOrganizationManagement.data.ts +++ /dev/null @@ -1,372 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getThirdDepartListByOrgCode } from '/@/views/archive/employeeFile/employeeFileList.api'; -import { useUserStore } from '/@/store/modules/user'; -import { ref } from 'vue'; -import { getQueCode } from '/@/views/interveneNew/psychology/assessment/unitOrganizationManagement/unitOrganizationManagement.api'; -import { - canEditSchema, - endDateRules, - getDeptList, - rangeTimeFormat, - startDateRules, - typeToText, -} from '/@/views/interveneNew/psychology/psychologyHooks'; -import { queryDepartTreeSync } from '/@/views/system/depart/depart.api'; -import dayjs, { Dayjs } from 'dayjs'; -import { render } from '/@/utils/common/renderUtils'; - -export const taskState = [ - { - label: '未开始', - value: 0, - }, - { - label: '进行中', - value: 1, - }, - { - label: '已结束', - value: 2, - }, -]; -const user = useUserStore(); -export const columns: BasicColumn[] = [ - { - title: '任务标题', - dataIndex: 'planName', - }, - { - title: '参加人员范围', - dataIndex: 'scopeType', - customRender: ({ text }) => { - return typeToText(text); - }, - }, - { - title: '测评量表', - dataIndex: 'queCodeList', - align: 'left', - customRender: ({ text }) => { - return text && text.map((item) => item.name).join('、'); - }, - }, - { - title: '任务起止日期', - dataIndex: 'startTime', - customRender: ({ record }) => rangeTimeFormat(record.startTime, record.endTime), - }, - { - title: '应参加人数', - dataIndex: 'shouldAttendNumber', - width: 140, - }, - { - title: '实际参加人数', - dataIndex: 'actualAttendNumber', - width: 140, - }, - { - title: '任务状态', - dataIndex: 'state', - width: 140, - customRender: ({ text }) => { - return render.renderDictNative( - text, - [ - { label: '未开始', value: '0' }, - { label: '进行中', value: '1', color: 'green' }, - { label: '已结束', value: '2', color: 'orange' }, - ], - true - ); - }, - }, -]; -// @ts-ignore -export const searchFormSchema: FormSchema[] = [ - { - field: 'planName', - label: '任务标题', - component: 'Input', - }, - { - field: 'queCode', - label: '测评量表', - component: 'ApiSelect', - componentProps: { - api: getQueCode, - resultField: 'list', - labelField: 'name', - valueField: 'code', - disabledInitValue: true, - }, - }, - { - field: 'state', - label: '任务状态', - component: 'Select', - componentProps: () => { - return { - options: taskState, - }; - }, - }, - { - field: 'date', - label: '任务日期', - component: 'RangeDate', - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - }, -]; -type Validate = (nameList?: string[] | undefined) => Promise; - -export function useFormSchema(validate: Validate, disabledDate) { - const deptOption = ref([]); - const userList = ref([]); - - const formSchema = [ - { - field: 'planName', - label: '任务标题', - component: 'Input', - required: true, - dynamicDisabled: ({ values }) => canEditSchema(values?.state), - }, - { - field: 'queCode', - label: '测评量表', - component: 'ApiSelect', - componentProps: { - api: getQueCode, - resultField: 'list', - labelField: 'name', - valueField: 'code', - mode: 'multiple', - disabledInitValue: true, - }, - required: true, - dynamicDisabled: ({ values }) => canEditSchema(values?.state), - }, - { - field: 'scopeType', - label: '参加人员范围', - component: 'RadioGroup', - required: true, - componentProps: () => { - return { - options: [ - { - label: '全体员工(管辖范围内)', - value: 0, - }, - { - label: '指定人员', - value: 1, - }, - ], - }; - }, - defaultValue: 1, - dynamicDisabled: ({ values }) => canEditSchema(values?.state), - }, - { - label: '指定部门', - field: 'depart', - component: 'JlazyTreeSelect', - componentProps: ({ formModel }) => { - return { - api: queryDepartTreeSync, - loadApi: queryDepartTreeSync, - selectedKeys: - formModel.depart && - formModel.depart.map((item) => { - return JSON.parse(item); - }), - expandedKeys: - formModel.depart && - formModel.depart.map((item) => { - return JSON.parse(item); - }), - afterApi: (data) => { - data.forEach((item: any) => { - item['resultItem'] = JSON.stringify({ - record: item.title, - scopeId: item.orgCode, - type: 1, - }); - item['preTitle'] = item.title; - item['key'] = item['resultItem']; - }); - return data; - }, - preItem: (title, item) => { - item['preTitle'] = title + '/' + item.title; - item['resultItem'] = JSON.stringify({ - record: item.title, - scopeId: item.orgCode, - type: 1, - }); - item['key'] = item['resultItem']; - return item; - }, - fieldNamesInfo: { - value: 'resultItem', - label: 'preTitle', - key: 'resultItem', - }, - }; - }, - ifShow: ({ values }) => values.scopeType == 1, - dynamicRules: ({ model }) => { - return [ - { - trigger: 'blur', - validator: () => { - let dept = model?.depart || []; - if (model.scopeType == '1' && dept?.length == 0 && !model.userName) { - return Promise.reject('参加人员范围选择指定人员时,请选择指定部门或者指定人员'); - } - return Promise.resolve(); - }, - }, - ]; - }, - dynamicDisabled: ({ values }) => canEditSchema(values?.state), - }, - { - label: '指定员工', - field: 'userName', - component: 'InputTextArea', - slot: 'selectEmployee', - ifShow: ({ values }) => values.scopeType == 1, - dynamicRules: ({ model }) => [ - { - trigger: 'blur', - validator: () => { - return new Promise((resolve, reject) => { - let dept = model?.depart || []; - - if (model.scopeType == '1' && dept.length == 0 && !model.userName) { - return reject('参加人员范围选择指定人员时,请选择指定部门或者指定人员'); - } - return resolve(); - }); - }, - }, - ], - }, - { - field: 'startTime', - label: '任务开始日期', - component: 'DatePicker', - required: true, - componentProps: ({ formModel }) => { - return { - style: { - width: '100%', - }, - onChange: (date: string) => { - if (date && formModel['endTime']) validate(['endTime']).catch(() => {}); - }, - disabled: formModel.state == 1 || formModel.state == 2, - }; - }, - dynamicRules: ({ model }) => startDateRules(model), - dynamicDisabled: ({ values }) => canEditSchema(values?.state), - }, - { - field: 'endTime', - label: '任务结束日期', - component: 'DatePicker', - required: true, - componentProps: ({ formModel }) => { - return { - style: { - width: '100%', - }, - onChange: (date: string) => { - if (date && formModel['startTime']) validate(['startTime']).catch(() => {}); - }, - disabledDate: (current: Dayjs) => { - if (!formModel?.id) return false; - if (formModel.state == 1 || formModel.state == 2) { - return current && current < dayjs(disabledDate.value); - } - return false; - }, - }; - }, - dynamicRules: ({ model }) => endDateRules(model), - }, - { - field: 'description', - label: '任务说明', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 4, - showCount: true, - }; - }, - dynamicDisabled: ({ values }) => canEditSchema(values?.state), - }, - { - field: 'state', - component: 'Input', - label: 'state', - show: false, - }, - { - field: 'id', - component: 'Input', - label: 'id', - show: false, - }, - ]; - - /** - * @description: 获取选择部门数据 - */ - function getDept(keyCode: string[]) { - console.log(getList(keyCode)); - const arr = getList(keyCode).map((item) => JSON.parse(item).scopeId); - console.log(deptOption.value); - return getDeptList(deptOption.value, arr); - } - function getList(val) { - return val.split('},').map((item) => { - item = (item + '}').replace(/}}/g, '}'); - return item; - }); - } - /** - * @description: 部门数据转换为orgCode - * @param list - */ - function departListToOrgCode(list: any[]) { - if (!list?.length) return []; - return list.map((item) => item?.scopeId); - } - - function getUser() { - return userList.value || []; - } - - function setUser(list: any[]) { - userList.value = list; - } - - return { - formSchema, - getDeptList: getDept, - departListToOrgCode, - getUser, - setUser, - }; -} diff --git a/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/unitOrganizationManagement.vue b/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/unitOrganizationManagement.vue deleted file mode 100644 index b0bb78c..0000000 --- a/src/views/interveneNew/psychology/assessment/unitOrganizationManagement/unitOrganizationManagement.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - diff --git a/src/views/interveneNew/psychology/psychologyHooks.ts b/src/views/interveneNew/psychology/psychologyHooks.ts deleted file mode 100644 index 26fc159..0000000 --- a/src/views/interveneNew/psychology/psychologyHooks.ts +++ /dev/null @@ -1,286 +0,0 @@ -import { h } from 'vue'; -import { employListApi } from '/@/views/emergency/communication/components/commApi'; -import { mColumns } from '/@/views/healthMonitor/healMonitorManage/monitorToll/toolManagement/toolManagement.data'; -import moment from 'moment/moment'; -import { getThirdDepartsNew } from '/@/utils/system/api'; -import { FormSchema } from '/@/components/Form'; -import { useUserStore } from '/@/store/modules/user'; - -type DeptItem = { - departName: string; - orgCode: string; -}; -type Item = { - record: string; - scopeId: string; - type: number; -}; -/** - * @descption:根据部门code获取部门名称 - * @param list - * @param keyCode - */ -export function getDeptList(list: DeptItem[] = [], keyCode: string[] = []) { - const arr: Item[] = []; - list.forEach((item: DeptItem) => { - if (keyCode.includes(item.orgCode)) { - const obj = { - record: item.departName, - scopeId: item.orgCode, - type: 1, - }; - arr.push(obj); - } - }); - return arr; -} - -/** - * 新增获取用户数据 - * @param list - */ -export function getUserList(list = []) { - const arr: Item[] = []; - list.forEach((item) => { - const val = JSON.parse(item); - const obj = { - record: val.realname, - scopeId: val.id, - type: 2, - }; - arr.push(obj); - }); - return arr; -} -const user = useUserStore(); -//用户数据列表 -export const userFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'realname', - component: 'Input', - }, - // { - // label: '单位', - // field: 'orgCode', - // component: 'Input', - // show: false, - // }, - { - label: '部门名称', - field: 'orgCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: getThirdDepartsNew, - resultField: 'list', - labelField: 'departName', - params: { - idOrCode: user?.userInfo?.orgCode?.substring(0, 6) || '12313', - }, - valueField: 'orgCode', - immediate: true, - style: { - width: '100%', - }, - }; - }, - }, - { - label: '员工编号', - field: 'workNo', - component: 'Input', - }, -]; - -export function useChooseCattle(userCode?: string) { - const tableContext = { - tableProps: { - title: '选择指定员工', - api: employListApi, - columns: mColumns, - canResize: false, - clearSelectOnPageChange: false, - formConfig: { - labelWidth: 63, - schemas: userFormSchema, - autoSubmitOnEnter: true, - showAdvancedButton: false, - fieldMapToNumber: [], - fieldMapToTime: [], - baseColProps: { - xs: 12, - sm: 12, - md: 12, - lg: 12, - xl: 12, - xxl: 12, - }, - actionColOptions: { - span: 24, - offset: 0, - xs: 12, - sm: 12, - md: 12, - lg: 12, - xl: 12, - xxl: 12, - }, - }, - beforeFetch: (params: any) => { - // params['orgCode'] = userCode; - return params; - }, - showActionColumn: false, - rowKey: (record: Recordable) => - JSON.stringify({ - id: record.id, - realname: record.realname, - }), - }, - }; - return { tableContext }; -} - -/** - * @descption:根据类型返回文字 - */ -export function typeToText(type: number) { - switch (type) { - case 0: - return '全体员工'; - case 1: - return '指定部门'; - case 2: - return '指定人群'; - case 3: - return '指定部门、指定人群'; - default: - return ''; - } -} - -/** - * 根据depart和userList 返回scopeType - * @param depart 部门 - * @param userList 员工 - * @param type 0:给后台传参用 1 前端回显用 - */ -export function listToScopeType(depart: any[] = [], userList: any[] = [], type: number) { - if (type == 0) { - if (depart?.length > 0 && userList?.length > 0) { - return 3; - } else if (userList?.length > 0) { - return 2; - } else if (depart?.length > 0) { - return 1; - } else { - return 0; - } - } - if (type == 1) { - // debugger; - if ((!depart && !userList) || (!depart?.length && !userList?.length)) { - return 0; - } else { - return 1; - } - } -} - -/** - * @descption:返回status对应的文本 - */ -export function statusToText(state: string) { - const statusObj = { - 0: h('div', { style: { color: 'gray' } }, '未开始'), - 1: h('div', { style: { color: 'green' } }, '进行中'), - 2: h('div', { style: { color: 'orange' } }, '已结束'), - }; - return statusObj[state] || ''; -} -export function statusToTag(state: string) { - const statusObj = { - 0: { color: 'gray', text: '未开始' }, - 1: { color: 'green', text: '进行中' }, - 2: { color: 'orange', text: '已结束' }, - }; - return statusObj[state] || { color: '', text: '正在加载' }; -} - -/** - * @descption:区间时间格式化 - * @param startTime 开始时间 - * @param endTime 结束时间 - */ -export function rangeTimeFormat(startTime: string, endTime: string): string { - if (!startTime || !startTime) { - return ''; - } - let start = moment(startTime).format('YYYY/MM/DD'); - let end = moment(endTime).format('YYYY/MM/DD'); - return start + ' - ' + end; -} - -/** - * @description:判断是否可以编辑 - * @param state - */ -export function canEditSchema(state: string) { - // 0 未开始 1 进行中 2 已结束 - const stateObj = { - 0: false, - 1: true, - 2: true, - }; - return stateObj[state] || false; -} - -/** - * @description:开始时间校验 - * @param model - */ -export const startDateRules = (model: Recordable) => { - return [ - { - validator: (_, value) => { - if (!value) { - return Promise.reject('请选择开始日期'); - } - if (!model.endTime) { - return Promise.resolve(); - } - if (value && value <= model.endTime) { - return Promise.resolve(); - } - return Promise.reject('开始日期不能大于结束日期'); - }, - trigger: 'change', - required: true, - }, - ]; -}; -/** - * @description:结束时间校验 - * @param model - */ -export const endDateRules = (model: Recordable) => { - return [ - { - validator: (_, value) => { - if (!value) { - return Promise.reject('请选择结束日期'); - } - if (!model.startTime) { - return Promise.resolve(); - } - if (value && value >= model.startTime) { - return Promise.resolve(); - } - return Promise.reject('结束日期不能小于开始日期'); - }, - trigger: 'change', - required: true, - }, - ]; -}; diff --git a/src/views/interveneNew/psychology/regularLivingHabits/reportStatistics/components/reportStatisiticsModal.vue b/src/views/interveneNew/psychology/regularLivingHabits/reportStatistics/components/reportStatisiticsModal.vue deleted file mode 100644 index e0d8a56..0000000 --- a/src/views/interveneNew/psychology/regularLivingHabits/reportStatistics/components/reportStatisiticsModal.vue +++ /dev/null @@ -1,131 +0,0 @@ - - - diff --git a/src/views/interveneNew/psychology/regularLivingHabits/reportStatistics/reportStatistics.api.ts b/src/views/interveneNew/psychology/regularLivingHabits/reportStatistics/reportStatistics.api.ts deleted file mode 100644 index 156e315..0000000 --- a/src/views/interveneNew/psychology/regularLivingHabits/reportStatistics/reportStatistics.api.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -enum Api { - list = '/health-intervene/ruleLife/assess/result/statisticsAnalyze', - userList = '/health-intervene/ruleLife/assess/result/userPage', - analyzeAll = '/health-intervene/ruleLife/assess/result/statisticsAnalyzeAll', - analyzeExport = '/health-intervene/ruleLife/assess/result/statisticsAnalyzeExport', - exportUserList = '/health-intervene/ruleLife/assess/result/exportUserList', - assessReport = '/health-intervene/rest/health-rulelife/assess/report', -} - -export const listApi = (params: any) => defHttp.get({ url: Api.list, params }); -export const userListApi = (params: any) => defHttp.get({ url: Api.userList, params }); -export const analyzeAllApi = (params: any) => defHttp.get({ url: Api.analyzeAll, params }); -export const assessReportApi = (params: any) => defHttp.get({ url: Api.assessReport, params }, { isReturnNativeResponse: true }); -export const analyzeExport = Api.analyzeExport; -export const exportUserList = Api.exportUserList; -export const analyzeExportApi = (params: any) => { - createConfirm({ - iconType: 'info', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: analyzeExport, params }); - }, - }); -}; -export const exportUserListApi = (params: any) => { - createConfirm({ - iconType: 'info', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: exportUserList, params }); - }, - }); -}; diff --git a/src/views/interveneNew/psychology/regularLivingHabits/reportStatistics/reportStatistics.data.ts b/src/views/interveneNew/psychology/regularLivingHabits/reportStatistics/reportStatistics.data.ts deleted file mode 100644 index 6f0c7e6..0000000 --- a/src/views/interveneNew/psychology/regularLivingHabits/reportStatistics/reportStatistics.data.ts +++ /dev/null @@ -1,724 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfo } from '/@/utils/orgSearchInfo'; -import { HeaderColumns } from '/@/views/interveneNew/cancer/signalPrediction/earlyWarningHistory/earlyWarningHistory.data'; -import { message } from 'ant-design-vue'; -import createEnum from '/@/utils/enumUtils'; -export const column: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'secondDepart', - align: 'center', - width: 120, - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'thirdDepart', - align: 'center', - width: 120, - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'realName', - align: 'center', - width: 120, - fixed: 'left', - }, - { - title: '员工工号', - dataIndex: 'workNo', - align: 'center', - width: 120, - fixed: 'left', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - align: 'center', - width: 80, - }, - { - title: '年龄', - dataIndex: 'age', - align: 'center', - width: 80, - }, - { - title: '起居监测', - dataIndex: '', - align: 'center', - children: [ - { - title: '检测时间', - dataIndex: 'createTime', - align: 'center', - width: 150, - }, - { - title: '按时入睡', - dataIndex: 'sleepOnTime_dictText', - align: 'center', - customRender: ({ text }) => { - if (!text) { - return '-'; - } else { - return text; - } - }, - width: 120, - }, - { - title: '按时起床', - dataIndex: 'getUpOnTime_dictText', - align: 'center', - customRender: ({ text }) => { - if (!text) { - return '-'; - } else { - return text; - } - }, - width: 120, - }, - { - title: '睡眠质量', - dataIndex: 'sleepLevel_dictText', - align: 'center', - customRender: ({ text }) => { - if (!text) { - return '-'; - } else { - return text; - } - }, - width: 120, - }, - { - title: '体力活动水平', - dataIndex: 'phyLevel_dictText', - align: 'center', - customRender: ({ text }) => { - if (!text) { - return '-'; - } else { - return text; - } - }, - width: 120, - }, - { - title: '上网时长', - dataIndex: 'onlineTime_dictText', - align: 'center', - customRender: ({ text }) => { - if (!text) { - return '-'; - } else { - return text; - } - }, - width: 120, - }, - { - title: '手机拿起次数', - dataIndex: 'mobilePickedUpNum_dictText', - align: 'center', - customRender: ({ text }) => { - if (!text) { - return '-'; - } else { - return text; - } - }, - width: 120, - }, - ], - }, -]; - -const searchFormSchema: FormSchema[] = [ - { - label: '员工姓名', - field: 'realName', - component: 'Input', - }, - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, - ...orgSearchInfo({ - orgName: '所属单位', - orgPlaceholder: '请选择所属单位', - deptName: '所属部门', - deptPlaceholder: '请选择所属部门', - deptMessage: '请先选择所属单位', - orgField: 'orgCode1', - deptFiled: 'orgCode2', - orgCode: 'orgCode', - }), - { - label: '监测类型', - field: 'type', - component: 'JDictSelectTag', - componentProps: ({ formModel }) => { - return { - dictCode: 'regular_living_monitor_type', - onChange: () => { - formModel.level = ''; - }, - onDeselect: () => { - formModel.level = ''; - }, - }; - }, - }, - { - label: '评估等级', - field: 'level', - component: 'JDictSelectTag', - componentProps: ({ formModel }) => { - return { - onFocus: () => { - if (!formModel.type) { - return message.warn('请先选择监测类型'); - } - }, - dictCode: regularLiving.getDescFromValue(formModel.type), - }; - }, - }, - { - label: '时间', - field: 'pinkTime', - component: 'Input', - show: false, - }, -]; - -export const regularLiving = createEnum({ - ruleLifeSleepOn: [0, 'rule_life_sleep_on'], // 按时入睡 - ruleLifeGetUp: [1, 'rule_life_get_up'], // 按时起床 - ruleLifeSleepLevel: [2, 'rule_life_sleep_level'], //睡眠质量 - ruleLifePhyLevel: [3, 'rule_life_phy_level'], //体力活动水平 - ruleLifeOnLine: [4, 'rule_life_on_line'], //上网时长 - ruleLifeMobilePicked: [5, 'rule_life_mobile_picked'], //手机拿去次数 -}); - -export const OverviewColums = [ - { - title: '周报日期范围', - dataIndex: 'assessDateTime', - key: 'assessDateTime', - align: 'center', - }, - { - title: '监测人数', - dataIndex: 'assessUserNum', - key: 'assessUserNum', - align: 'center', - }, - { - title: '按时入睡', - dataIndex: 'sleepOnTime', - key: 'sleepOnTime', - align: 'center', - children: [ - { - title: '否', - dataIndex: ['sleepOnTime', 'no'], - key: 'no', - customRender: ({ record }) => { - return getNumAnd(record?.sleepOnTime?.no, record?.sleepOnTime?.noRatio); - }, - align: 'center', - }, - { - title: '是', - dataIndex: ['sleepOnTime', 'yes'], - key: 'yes', - customRender: ({ record }) => { - return getNumAnd(record?.sleepOnTime?.yes, record?.sleepOnTime?.yesRatio); - }, - align: 'center', - }, - ], - }, - { - title: '按时起床', - dataIndex: 'getUpOnTime', - key: 'getUpOnTime', - align: 'center', - children: [ - { - title: '否', - dataIndex: ['getUpOnTime', 'no'], - key: 'no', - customRender: ({ record }) => { - return getNumAnd(record?.getUpOnTime?.no, record?.getUpOnTime?.noRatio); - }, - align: 'center', - }, - { - title: '是', - dataIndex: ['getUpOnTime', 'yes'], - key: 'yes', - customRender: ({ record }) => { - return getNumAnd(record?.getUpOnTime?.yes, record?.getUpOnTime?.yesRatio); - }, - align: 'center', - }, - ], - }, - { - title: '睡眠质量', - dataIndex: 'sleepLevel', - key: 'sleepLevel', - align: 'center', - children: [ - { - title: '很差', - dataIndex: ['sleepLevel', 'varyBad'], - key: 'varyBad', - customRender: ({ record }) => { - return getNumAnd(record?.sleepLevel?.varyBad, record?.sleepLevel?.varyBadRatio); - }, - align: 'center', - }, - { - title: '一般', - dataIndex: ['sleepLevel', 'normal'], - key: 'normal', - customRender: ({ record }) => { - return getNumAnd(record?.sleepLevel?.normal, record?.sleepLevel?.normalRatio); - }, - align: 'center', - }, - { - title: '还行', - dataIndex: ['sleepLevel', 'notSoBad'], - key: 'notSoBad', - customRender: ({ record }) => { - return getNumAnd(record?.sleepLevel?.notSoBad, record?.sleepLevel?.notSoBadRatio); - }, - align: 'center', - }, - { - title: '很好', - dataIndex: ['sleepLevel', 'good'], - key: 'good', - customRender: ({ record }) => { - return getNumAnd(record?.sleepLevel?.good, record?.sleepLevel?.goodRatio); - }, - align: 'center', - }, - ], - }, - { - title: '体力活动水平', - dataIndex: 'phyLevel', - key: 'phyLevel', - align: 'center', - children: [ - { - title: '低', - dataIndex: ['phyLevel', 'low'], - customRender: ({ record }) => { - return getNumAnd(record?.phyLevel?.low, record?.phyLevel?.lowRatio); - }, - key: 'low', - align: 'center', - }, - { - title: '中', - dataIndex: ['phyLevel', 'inThe'], - key: 'inThe', - customRender: ({ record }) => { - return getNumAnd(record?.phyLevel?.inThe, record?.phyLevel?.inTheRatio); - }, - align: 'center', - }, - { - title: '高', - dataIndex: ['phyLevel', 'high'], - customRender: ({ record }) => { - return getNumAnd(record?.phyLevel?.high, record?.phyLevel?.highRatio); - }, - key: 'high', - align: 'center', - }, - ], - }, - { - title: '上网时长', - dataIndex: 'onlineTime', - key: 'onlineTime', - align: 'center', - children: [ - { - title: '过多', - dataIndex: ['onlineTime', 'overmuch'], - key: 'overmuch', - customRender: ({ record }) => { - return getNumAnd(record?.onlineTime?.overmuch, record?.onlineTime?.overmuchRatio); - }, - align: 'center', - }, - { - title: '正常', - dataIndex: ['onlineTime', 'normal'], - customRender: ({ record }) => { - return getNumAnd(record?.onlineTime?.normal, record?.onlineTime?.normalRatio); - }, - key: 'normal', - align: 'center', - }, - ], - }, - { - title: '手机拿起次数', - dataIndex: 'mobilePickedUpNum', - align: 'center', - key: 'mobilePickedUpNum', - children: [ - { - title: '过多', - dataIndex: ['mobilePickedUpNum', 'overmuch'], - key: 'overmuch', - customRender: ({ record }) => { - return getNumAnd(record?.mobilePickedUpNum?.overmuch, record?.mobilePickedUpNum?.overmuchRatio); - }, - align: 'center', - }, - { - title: '正常', - dataIndex: ['mobilePickedUpNum', 'normal'], - key: 'normal', - customRender: ({ record }) => { - return getNumAnd(record?.mobilePickedUpNum?.normal, record?.mobilePickedUpNum?.normalRatio); - }, - align: 'center', - }, - ], - }, -]; - -function getNumAnd(data, value) { - if (data !== 0 && !data) { - return `-`; - } else { - return `${data}(${value * 100}%)`; - } -} - -export const analysisColumn: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'secondDepart', - align: 'center', - width: 150, - }, - { - title: '部门名称', - dataIndex: 'thirdDepart', - align: 'center', - width: 150, - }, - { - title: '监测人数', - dataIndex: 'assessUserNum', - width: 120, - align: 'center', - }, - { - title: '按时入睡', - dataIndex: 'sleepOnTime', - align: 'center', - children: [ - { - title: '否', - dataIndex: ['sleepOnTime', 'no'], - width: 100, - customRender: ({ record }) => { - return getNumAnd(record?.sleepOnTime?.no, record?.sleepOnTime?.noRatio); - }, - align: 'center', - }, - { - title: '是', - dataIndex: ['sleepOnTime', 'yes'], - width: 100, - customRender: ({ record }) => { - return getNumAnd(record?.sleepOnTime?.yes, record?.sleepOnTime?.yesRatio); - }, - align: 'center', - }, - ], - }, - { - title: '按时起床', - dataIndex: 'getUpOnTime', - align: 'center', - children: [ - { - title: '否', - dataIndex: ['getUpOnTime', 'no'], - customRender: ({ record }) => { - return getNumAnd(record?.getUpOnTime?.no, record?.getUpOnTime?.noRatio); - }, - width: 100, - align: 'center', - }, - { - title: '是', - dataIndex: ['getUpOnTime', 'yes'], - customRender: ({ record }) => { - return getNumAnd(record?.getUpOnTime?.yes, record?.getUpOnTime?.yesRatio); - }, - width: 100, - align: 'center', - }, - ], - }, - { - title: '睡眠质量', - dataIndex: 'sleepLevel', - align: 'center', - children: [ - { - title: '很差', - dataIndex: ['sleepLevel', 'varyBad'], - width: 100, - customRender: ({ record }) => { - return getNumAnd(record?.sleepLevel?.varyBad, record?.sleepLevel?.varyBadRatio); - }, - align: 'center', - }, - { - title: '一般', - dataIndex: ['sleepLevel', 'normal'], - width: 100, - customRender: ({ record }) => { - return getNumAnd(record?.sleepLevel?.normal, record?.sleepLevel?.normalRatio); - }, - align: 'center', - }, - { - title: '还行', - dataIndex: ['sleepLevel', 'notSoBad'], - width: 100, - customRender: ({ record }) => { - return getNumAnd(record?.sleepLevel?.notSoBad, record?.sleepLevel?.notSoBadRatio); - }, - align: 'center', - }, - { - title: '很好', - dataIndex: ['sleepLevel', 'good'], - width: 100, - customRender: ({ record }) => { - return getNumAnd(record?.sleepLevel?.good, record?.sleepLevel?.goodRatio); - }, - align: 'center', - }, - ], - }, - { - title: '体力活动水平', - dataIndex: 'phyLevel', - align: 'center', - children: [ - { - title: '低', - dataIndex: ['phyLevel', 'low'], - customRender: ({ record }) => { - return getNumAnd(record?.phyLevel?.low, record?.phyLevel?.lowRatio); - }, - width: 100, - align: 'center', - }, - { - title: '中', - dataIndex: ['phyLevel', 'inThe'], - customRender: ({ record }) => { - return getNumAnd(record?.phyLevel?.inThe, record?.phyLevel?.inTheRatio); - }, - width: 100, - align: 'center', - }, - { - title: '高', - dataIndex: ['phyLevel', 'high'], - customRender: ({ record }) => { - return getNumAnd(record?.phyLevel?.high, record?.phyLevel?.highRatio); - }, - width: 100, - align: 'center', - }, - ], - }, - { - title: '上网时长', - dataIndex: 'onlineTime', - align: 'center', - children: [ - { - title: '过多', - dataIndex: ['onlineTime', 'overmuch'], - customRender: ({ record }) => { - return getNumAnd(record?.onlineTime?.overmuch, record?.onlineTime?.overmuchRatio); - }, - width: 100, - align: 'center', - }, - { - title: '正常', - dataIndex: ['onlineTime', 'normal'], - customRender: ({ record }) => { - return getNumAnd(record?.onlineTime?.normal, record?.onlineTime?.normalRatio); - }, - width: 100, - align: 'center', - }, - ], - }, - { - title: '手机拿起次数', - dataIndex: 'mobilePickedUpNum', - align: 'center', - children: [ - { - title: '过多', - dataIndex: ['mobilePickedUpNum', 'overmuch'], - customRender: ({ record }) => { - return getNumAnd(record?.mobilePickedUpNum?.overmuch, record?.mobilePickedUpNum?.overmuchRatio); - }, - align: 'center', - width: 100, - }, - { - title: '正常', - dataIndex: ['mobilePickedUpNum', 'normal'], - customRender: ({ record }) => { - return getNumAnd(record?.mobilePickedUpNum?.normal, record?.mobilePickedUpNum?.normalRatio); - }, - align: 'center', - width: 100, - }, - ], - }, -]; - -const analysisSchema: FormSchema[] = [ - ...orgSearchInfo({ - orgName: '所属单位', - orgPlaceholder: '请选择所属单位', - deptName: '所属部门', - deptPlaceholder: '请选择所属部门', - deptMessage: '请先选择所属单位', - orgField: 'orgCode1', - deptFiled: 'orgCode2', - orgCode: 'orgCode', - }), - { - label: '时间', - field: 'pinkTime', - component: 'Input', - show: false, - }, -]; - -export const schemaArr = [searchFormSchema, analysisSchema]; - -export const headerColumns: HeaderColumns[] = [ - { - label: '员工姓名:', - value: '', - key: 'realName', - show: true, - }, - { - label: '员工工号:', - value: '', - key: 'workNo', - show: true, - }, - { - label: '年龄:', - value: '', - key: 'age', - show: true, - }, - { - label: '性别:', - value: '', - key: 'sex_dictText', - show: true, - }, - { - label: '单位名称:', - value: '', - key: 'secondDepart', - show: true, - }, - { - label: '部门名称:', - value: '', - key: 'thirdDepart', - show: true, - }, - { - label: '评估时间:', - value: '', - key: 'createTime', - show: true, - }, -]; - -export const RegularLivingPlan = [ - { - name: '入睡时间:', - label: 'sleepTime', - unit: '(24小时制)', - }, - { - name: '起床时间:', - label: 'getUpTime', - unit: '(24小时制)', - }, - { - name: '运动时间:', - label: 'exerciseTimeMinutes', - unit: '分钟', - }, - { - name: '上网时间:', - label: 'onlineTime', - unit: '分钟', - }, - { - name: '手机拿起次数:', - label: 'pickUpPhoneNum', - unit: '次', - }, -]; - -export const MonthEvaluationPlan = [ - { - name: '检测项目(每天)', - label: 'day', - }, - { - name: '入睡时间', - label: 'sleepTimeDay', - }, - { - name: '起床时间', - label: 'sleepTimeDay', - }, - { - name: '运动时间(min)', - label: 'sleepTimeDay', - }, -]; diff --git a/src/views/interveneNew/psychology/regularLivingHabits/reportStatistics/reportStatistics.vue b/src/views/interveneNew/psychology/regularLivingHabits/reportStatistics/reportStatistics.vue deleted file mode 100644 index 154e764..0000000 --- a/src/views/interveneNew/psychology/regularLivingHabits/reportStatistics/reportStatistics.vue +++ /dev/null @@ -1,219 +0,0 @@ - - - diff --git a/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/personalHistory/personalHistory.api.ts b/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/personalHistory/personalHistory.api.ts deleted file mode 100644 index d2786cc..0000000 --- a/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/personalHistory/personalHistory.api.ts +++ /dev/null @@ -1,6 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - personalList = '/health-intervene/psychology/psychologyDiagnosisReport/selectUserPshchologyList', -} -//列表 -export const personalList = (params) => defHttp.get({ url: Api.personalList, params }); diff --git a/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/personalHistory/personalHistory.data.ts b/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/personalHistory/personalHistory.data.ts deleted file mode 100644 index db49444..0000000 --- a/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/personalHistory/personalHistory.data.ts +++ /dev/null @@ -1,133 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { h } from 'vue'; - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'unitName', - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'departName', - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'realname', - fixed: 'left', - }, - { - title: '员工工号', - dataIndex: 'workNo', - fixed: 'left', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - dataIndex: 'age', - }, - { - title: '自诊类型', - dataIndex: 'type', - customRender: ({ text }) => { - if (text == '1') return '焦虑'; - if (text == '2') return '抑郁'; - }, - }, - { - title: '得分', - dataIndex: 'score', - }, - { - title: '焦虑/抑郁程度', - dataIndex: 'scoreDesc', - customRender: ({ record, text }) => { - if (record.type == '1') { - if (text == 1) { - return h('span', { style: { color: '#72cf0b' } }, '正常水平'); - } else if (text == 2) { - return h('span', { style: { color: '#f7c822' } }, '轻度焦虑'); - } else if (text == 3) { - return h('span', { style: { color: '#f98500' } }, '中度焦虑'); - } else if (text == 4) { - return h('span', { style: { color: '#ff0000' } }, '中重度焦虑'); - } else if (text == 5) { - return h('span', { style: { color: '#970454' } }, '重度焦虑'); - } - } - if (record.type == '2') { - if (text == 1) { - return h('span', { style: { color: '#72cf0b' } }, '无抑郁'); - } else if (text == 2) { - return h('span', { style: { color: '#f7c822' } }, '轻度抑郁'); - } else if (text == 3) { - return h('span', { style: { color: '#f98500' } }, '中度抑郁'); - } else if (text == 4) { - return h('span', { style: { color: '#ff0000' } }, '中重度抑郁'); - } else if (text == 5) { - return h('span', { style: { color: '#970454' } }, '重度抑郁'); - } - } - }, - }, - { - title: '自诊时间', - dataIndex: 'createTime', - }, -]; - -export const searchSchema: FormSchema[] = [ - { - label: '自诊类型', - field: 'type', - component: 'JDictSelectTag', - componentProps: { - getPopupContainer: () => document.body, - dictCode: 'anxiety_depression_type', - // stringToNumber: true, - }, - }, - { - label: '焦虑程度 ', - field: 'scoreDesc', - component: 'JDictSelectTag', - componentProps: { - getPopupContainer: () => document.body, - dictCode: 'psychology_anxiety', - // stringToNumber: true, - }, - ifShow: ({ values }) => { - return values.type == '1'; - }, - }, - { - label: '抑郁程度 ', - field: 'scoreDesc', - component: 'JDictSelectTag', - componentProps: { - getPopupContainer: () => document.body, - dictCode: 'psychology_depression', - // stringToNumber: true, - }, - ifShow: ({ values }) => { - return values.type == '2'; - }, - }, - { - label: '自诊日期 ', - field: 'createTime', - component: 'RangeDate', - componentProps: () => { - return { - format: 'YYYY-MM-DD', - valueFormat: 'YYYY-MM-DD HH:mm:ss', - getPopupContainer: () => document.body, - }; - }, - }, -]; diff --git a/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/personalHistory/personalHistory.vue b/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/personalHistory/personalHistory.vue deleted file mode 100644 index a373af0..0000000 --- a/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/personalHistory/personalHistory.vue +++ /dev/null @@ -1,87 +0,0 @@ - - diff --git a/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/selfDiagnosis/components/analysisReportModal.vue b/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/selfDiagnosis/components/analysisReportModal.vue deleted file mode 100644 index 02c6232..0000000 --- a/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/selfDiagnosis/components/analysisReportModal.vue +++ /dev/null @@ -1,188 +0,0 @@ - - - diff --git a/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/selfDiagnosis/components/echarts.vue b/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/selfDiagnosis/components/echarts.vue deleted file mode 100644 index 9d183cc..0000000 --- a/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/selfDiagnosis/components/echarts.vue +++ /dev/null @@ -1,90 +0,0 @@ - - diff --git a/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/selfDiagnosis/selfDiagnosis.api.ts b/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/selfDiagnosis/selfDiagnosis.api.ts deleted file mode 100644 index 61c10f2..0000000 --- a/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/selfDiagnosis/selfDiagnosis.api.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - allUserList = '/health-intervene/psychology/psychologyDiagnosisReport/selectAllUserPshchologyList', - psychoList = '/health-intervene/psychology/psychologyDiagnosisReport/list', -} -//列表 -export const allUserList = (params) => defHttp.get({ url: Api.allUserList, params }); -export const psychoList = (params) => defHttp.get({ url: Api.psychoList, params }); diff --git a/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/selfDiagnosis/selfDiagnosis.data.ts b/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/selfDiagnosis/selfDiagnosis.data.ts deleted file mode 100644 index 88e5fb6..0000000 --- a/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/selfDiagnosis/selfDiagnosis.data.ts +++ /dev/null @@ -1,399 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { getDictCache } from '/@/utils/dict'; -import { render } from '/@/utils/common/renderUtils'; -import { allSecondaryDepartsNew, getThirdDepartsNew } from '/@/utils/system/api'; -import { message } from 'ant-design-vue'; -const column: BasicColumn[] = [ - { - title: '单位名称', - align: 'center', - width: 140, - dataIndex: 'unitName', - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - width: 100, - dataIndex: 'departName', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - width: 100, - dataIndex: 'realname', - fixed: 'left', - }, - { - title: '员工工号', - align: 'center', - width: 100, - dataIndex: 'workNo', - fixed: 'left', - }, - { - title: '性别', - align: 'center', - width: 100, - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - align: 'center', - width: 100, - dataIndex: 'age', - }, -]; -const columnWith = 150; -const column1: BasicColumn[] = [ - ...column, - { - title: '焦虑自诊次数', - align: 'center', - dataIndex: '', - children: [ - { - title: '正常水平(0-4分)', - dataIndex: 'anxietyNormal', - width: columnWith, - }, - { - title: '轻度焦虑(5-9分)', - dataIndex: 'anxietyMild', - width: columnWith, - }, - { - title: '中度焦虑(10-13分)', - dataIndex: 'anxietyModerate', - width: columnWith + 10, - }, - { - title: '中重度焦虑(14-18分)', - dataIndex: 'anxietyModerateSevere', - width: columnWith + 20, - }, - { - title: '重度焦虑(19-21分)', - dataIndex: 'anxietySevere', - width: columnWith + 10, - }, - { - title: '总次数', - dataIndex: 'anxietyTotal', - width: columnWith, - }, - ], - }, - { - title: '抑郁自诊次数', - align: 'center', - dataIndex: '', - children: [ - { - title: '无抑郁(0-4分)', - dataIndex: 'depressionNormal', - width: columnWith, - }, - { - title: '轻度抑郁(5-9分)', - dataIndex: 'depressionMild', - width: columnWith, - }, - { - title: '中度抑郁(10-14分)', - dataIndex: 'depressionModerate', - width: columnWith + 10, - }, - { - title: '中重度抑郁(15-19分)', - dataIndex: 'depressionModerateSevere', - width: columnWith + 20, - }, - { - title: '重度抑郁(20-27分)', - dataIndex: 'depressionSevere', - width: columnWith + 10, - }, - { - title: '总次数', - dataIndex: 'depressionTotal', - width: columnWith, - }, - ], - }, -]; -const column2: BasicColumn[] = [ - { - title: '单位名称', - align: 'center', - dataIndex: 'unitName', - width: 120, - fixed: 'left', - }, - { - title: '部门名称', - align: 'center', - dataIndex: 'departName', - width: 120, - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'realname', - width: 120, - fixed: 'left', - }, - { - title: '员工工号', - align: 'center', - width: 100, - dataIndex: 'workNo', - fixed: 'left', - }, - { - title: '性别', - align: 'center', - width: 80, - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - align: 'center', - width: 80, - dataIndex: 'age', - }, - { - title: '自诊类型', - dataIndex: 'type', - width: 120, - customRender: ({ text }) => { - if (text == '1') return '焦虑'; - if (text == '2') return '抑郁'; - }, - }, - { - title: '焦虑/抑郁程度', - dataIndex: 'scoreDesc', - width: 140, - customRender: ({ record, text }) => { - if (record.type == '1') { - if (text == 1) { - return h('span', { style: { color: '#72cf0b' } }, '正常水平'); - } else if (text == 2) { - return h('span', { style: { color: '#f7c822' } }, '轻度焦虑'); - } else if (text == 3) { - return h('span', { style: { color: '#f98500' } }, '中度焦虑'); - } else if (text == 4) { - return h('span', { style: { color: '#ff0000' } }, '中重度焦虑'); - } else if (text == 5) { - return h('span', { style: { color: '#970454' } }, '重度焦虑'); - } - } - if (record.type == '2') { - if (text == 1) { - return h('span', { style: { color: '#72cf0b' } }, '无抑郁'); - } else if (text == 2) { - return h('span', { style: { color: '#f7c822' } }, '轻度抑郁'); - } else if (text == 3) { - return h('span', { style: { color: '#f98500' } }, '中度抑郁'); - } else if (text == 4) { - return h('span', { style: { color: '#ff0000' } }, '中重度抑郁'); - } else if (text == 5) { - return h('span', { style: { color: '#970454' } }, '重度抑郁'); - } - } - }, - }, - { - title: '得分', - width: 80, - dataIndex: 'score', - }, - { - title: '自诊时间', - dataIndex: 'createTime', - }, -]; -export const columnsList = [column1, column2]; - -export const searchSchema = (type) => { - return [ - { - label: '员工姓名', - field: 'realname', - component: 'Input', - }, - { - label: '员工工号', - field: 'workNo', - component: 'Input', - }, - { - label: '单位名称', - field: 'unitCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: allSecondaryDepartsNew, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - placeholder: '请选择单位名称', - // disabled: disabled, - immediate: true, - // afterFetch: () => { - // getAnyFromOther().r(); - // }, - onChange: (_value) => { - formModel.unitCode = ''; - }, - onDeselect: () => { - formModel.departCode = ''; - formModel.unitCode = ''; - }, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '部门名称', - field: 'departCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getThirdDepartsNew, - resultField: 'list', - labelField: 'departName', - params: { - idOrCode: formModel?.unitCode || '12313', - }, - valueField: 'orgCode', - immediate: true, - onFocus: () => { - if (!formModel.unitCode) { - return message.warn('请先选择单位名称!'); - } - }, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - // ...orgSearchInfoByCode('unitCode', 'departCode'), - { - label: '自诊类型', - field: 'type', - component: 'JDictSelectTag', - componentProps: { - getPopupContainer: () => document.body, - dictCode: 'anxiety_depression_type', - // stringToNumber: true, - }, - ifShow: ({ values }) => { - return type == '1'; - }, - }, - { - label: '焦虑程度 ', - field: 'scoreDesc', - component: 'JDictSelectTag', - componentProps: { - getPopupContainer: () => document.body, - dictCode: 'psychology_anxiety', - // stringToNumber: true, - }, - ifShow: ({ values }) => { - return type == '1' && values.type == '1'; - }, - }, - { - label: '抑郁程度 ', - field: 'scoreDesc', - component: 'JDictSelectTag', - componentProps: { - getPopupContainer: () => document.body, - dictCode: 'psychology_depression', - // stringToNumber: true, - }, - ifShow: ({ values }) => { - return type == '1' && values.type == '2'; - }, - }, - { - label: '自诊日期 ', - field: 'createTime', - component: 'RangeDate', - componentProps: () => { - return { - format: 'YYYY-MM-DD', - valueFormat: 'YYYY-MM-DD HH:mm:ss', - getPopupContainer: () => document.body, - }; - }, - ifShow: type == '1', - }, - ]; -}; - -export function chartOptions({ data }) { - return [ - { - color: ['rgba(255, 145, 124, 0.5)', '#FFE434', '#56A3F1', '#FF917C'], - tooltip: { - trigger: 'axis', - }, - radar: [ - { - indicator: [ - { text: '工种', max: 10 }, - { text: '单人驻井', max: 10 }, - { text: '长期离家', max: 10 }, - { text: '人际关系', max: 10 }, - { text: '家庭负性影响', max: 10 }, - { text: '心理因素', max: 10 }, - { text: '疾病因素', max: 10 }, - { text: '遗传因素', max: 10 }, - { text: '生理因素', max: 10 }, - { text: '滥用药物', max: 10 }, - ], - center: ['50%', '50%'], - radius: 120, - axisName: { - color: '#fff', - backgroundColor: '#666', - borderRadius: 3, - padding: [3, 5], - }, - }, - ], - series: [ - { - type: 'radar', - tooltip: { - trigger: 'item', - }, - areaStyle: {}, - data: [ - { - value: data, - name: '影响因素', - }, - ], - }, - ], - }, - ]; -} diff --git a/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/selfDiagnosis/selfDiagnosis.vue b/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/selfDiagnosis/selfDiagnosis.vue deleted file mode 100644 index baf8893..0000000 --- a/src/views/interveneNew/psychology/selfdiagnosisAndJudgment/selfDiagnosis/selfDiagnosis.vue +++ /dev/null @@ -1,111 +0,0 @@ - - diff --git a/src/views/interveneNew/testbasicTable/testTable.vue b/src/views/interveneNew/testbasicTable/testTable.vue deleted file mode 100644 index 5591c05..0000000 --- a/src/views/interveneNew/testbasicTable/testTable.vue +++ /dev/null @@ -1,41 +0,0 @@ - - diff --git a/src/views/interveneNew/vascellum/aed/AEDMap/index.ts b/src/views/interveneNew/vascellum/aed/AEDMap/index.ts deleted file mode 100644 index 51fb805..0000000 --- a/src/views/interveneNew/vascellum/aed/AEDMap/index.ts +++ /dev/null @@ -1,1069 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-intervene/intervene/v2/aedEquipmentManger/nearbyAed', -} -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); - -// export const dataData = [ -// { -// id: 1, -// name: 'aed1', -// longitude: 108.972843, -// latitude: 34.318688, -// departCode: 'A01A58A05', -// hostModel: 'AED-3100', -// hostSerialNum: '00100220', -// electrodeSheetValidTime: '2022-09', -// routerModel: 'ZF-246V', -// routerSerialNum: '10000006', -// batteryModel: 'AED-002', -// batteryVoltage: 10.2, -// warrantyStartDate: '2023-12-06', -// warrantyEndDate: '2024-01-25', -// aedImg: null, -// mfrsName: '华为', -// mfrsMobile: '18888888888', -// installAddress: '陕西省西安市未央区大明宫街道太华北路5号龙湖·枫香庭', -// installAddressImg: null, -// manageUserId: null, -// manageUserName: '张三', -// manageUserMobile: '16666666666', -// checkStatus: '0', -// checkStatus_dictText: '正常', -// electrodeSheetStatus: '2', -// electrodeSheetStatus_dictText: '已过期', -// batteryStatus: '0', -// batteryStatus_dictText: '正常', -// routerStatus: '0', -// routerStatus_dictText: '正常', -// departName: null, -// secondDepartName: null, -// manageDepartName: null, -// manageDepartCode: 'A01A01A02', -// chargeFirst: null, -// chargeFirstMobile: null, -// chargeSecond: null, -// chargeSecondMobile: null, -// annex: null, -// videoHandle: null, -// handleExplain: null, -// aedAnnexStatus: null, -// installTime: '2023-12-15', -// coverUserNum: null, -// delFlag: 0, -// createBy: null, -// createTime: null, -// updateBy: 'admin', -// updateTime: '2023-12-19 14:27:03', -// memo: null, -// distance: 0.0, -// }, -// { -// id: 2, -// name: 'aed2', -// longitude: 104.352405, -// latitude: 37.294512, -// departCode: 'A01A01A06', -// hostModel: 'AED-3100', -// hostSerialNum: '00100221', -// electrodeSheetValidTime: '2023-12', -// routerModel: 'router-001', -// routerSerialNum: '001002', -// batteryModel: 'AED-002', -// batteryVoltage: 3.5, -// warrantyStartDate: '2023-12-05', -// warrantyEndDate: '2023-12-12', -// aedImg: null, -// mfrsName: '华为1111111111111111', -// mfrsMobile: '18888888888', -// installAddress: '西安室高新区宝德云谷', -// installAddressImg: null, -// manageUserId: null, -// manageUserName: '张三', -// manageUserMobile: '16666666666', -// checkStatus: '0', -// checkStatus_dictText: '正常', -// electrodeSheetStatus: '2', -// electrodeSheetStatus_dictText: '已过期', -// batteryStatus: '0', -// batteryStatus_dictText: '正常', -// routerStatus: '0', -// routerStatus_dictText: '正常', -// departName: null, -// secondDepartName: null, -// manageDepartName: null, -// manageDepartCode: 'A01A01A09', -// chargeFirst: null, -// chargeFirstMobile: null, -// chargeSecond: null, -// chargeSecondMobile: null, -// annex: null, -// videoHandle: null, -// handleExplain: null, -// aedAnnexStatus: null, -// installTime: '2023-12-15', -// coverUserNum: null, -// delFlag: 0, -// createBy: null, -// createTime: null, -// updateBy: 'admin', -// updateTime: '2023-12-19 13:38:09', -// memo: null, -// distance: 0.0, -// }, -// { -// id: 3, -// name: 'aed3', -// longitude: 103.352405, -// latitude: 37.294512, -// departCode: 'A01A01', -// hostModel: 'AED-3100', -// hostSerialNum: '00100222', -// electrodeSheetValidTime: '2023-12', -// routerModel: 'router-001', -// routerSerialNum: '001002', -// batteryModel: 'AED-002', -// batteryVoltage: 3.5, -// warrantyStartDate: '2023-12-05', -// warrantyEndDate: '2023-12-12', -// aedImg: null, -// mfrsName: '华为', -// mfrsMobile: '18888888888', -// installAddress: '西安室高新区宝德云谷', -// installAddressImg: null, -// manageUserId: null, -// manageUserName: '张三', -// manageUserMobile: '16666666666', -// checkStatus: '0', -// checkStatus_dictText: '正常', -// electrodeSheetStatus: '2', -// electrodeSheetStatus_dictText: '已过期', -// batteryStatus: '0', -// batteryStatus_dictText: '正常', -// routerStatus: '0', -// routerStatus_dictText: '正常', -// departName: null, -// secondDepartName: null, -// manageDepartName: null, -// manageDepartCode: 'A01A01A02', -// chargeFirst: null, -// chargeFirstMobile: null, -// chargeSecond: null, -// chargeSecondMobile: null, -// annex: null, -// videoHandle: null, -// handleExplain: null, -// aedAnnexStatus: null, -// installTime: '2023-12-15', -// coverUserNum: null, -// delFlag: 0, -// createBy: null, -// createTime: null, -// updateBy: null, -// updateTime: null, -// memo: null, -// distance: 0.0, -// }, -// { -// id: 4, -// name: 'aed4', -// longitude: 102.352405, -// latitude: 37.294512, -// departCode: 'A01A01', -// hostModel: 'AED-3100', -// hostSerialNum: '00100223', -// electrodeSheetValidTime: '2023-12', -// routerModel: 'router-001', -// routerSerialNum: '001002', -// batteryModel: 'AED-002', -// batteryVoltage: 3.5, -// warrantyStartDate: '2023-12-05', -// warrantyEndDate: '2023-12-12', -// aedImg: null, -// mfrsName: '华为', -// mfrsMobile: '18888888888', -// installAddress: '西安室高新区宝德云谷', -// installAddressImg: null, -// manageUserId: null, -// manageUserName: '张三', -// manageUserMobile: '16666666666', -// checkStatus: '0', -// checkStatus_dictText: '正常', -// electrodeSheetStatus: '2', -// electrodeSheetStatus_dictText: '已过期', -// batteryStatus: '0', -// batteryStatus_dictText: '正常', -// routerStatus: '0', -// routerStatus_dictText: '正常', -// departName: null, -// secondDepartName: null, -// manageDepartName: null, -// manageDepartCode: 'A01A01A02', -// chargeFirst: null, -// chargeFirstMobile: null, -// chargeSecond: null, -// chargeSecondMobile: null, -// annex: null, -// videoHandle: null, -// handleExplain: null, -// aedAnnexStatus: null, -// installTime: '2023-12-15', -// coverUserNum: null, -// delFlag: 0, -// createBy: null, -// createTime: null, -// updateBy: null, -// updateTime: null, -// memo: null, -// distance: 0.0, -// }, -// { -// id: 5, -// name: 'aed6', -// longitude: 101.352405, -// latitude: 37.294512, -// departCode: 'A01A01', -// hostModel: 'AED-3100', -// hostSerialNum: '00100224', -// electrodeSheetValidTime: '2023-12', -// routerModel: 'router-001', -// routerSerialNum: '001002', -// batteryModel: 'AED-002', -// batteryVoltage: 3.5, -// warrantyStartDate: '2023-12-05', -// warrantyEndDate: '2023-12-12', -// aedImg: null, -// mfrsName: '华为', -// mfrsMobile: '18888888888', -// installAddress: '西安室高新区宝德云谷', -// installAddressImg: null, -// manageUserId: null, -// manageUserName: '张三', -// manageUserMobile: '16666666666', -// checkStatus: '0', -// checkStatus_dictText: '正常', -// electrodeSheetStatus: '2', -// electrodeSheetStatus_dictText: '已过期', -// batteryStatus: '0', -// batteryStatus_dictText: '正常', -// routerStatus: '0', -// routerStatus_dictText: '正常', -// departName: null, -// secondDepartName: null, -// manageDepartName: null, -// manageDepartCode: 'A01A01A02', -// chargeFirst: null, -// chargeFirstMobile: null, -// chargeSecond: null, -// chargeSecondMobile: null, -// annex: null, -// videoHandle: null, -// handleExplain: null, -// aedAnnexStatus: null, -// installTime: '2023-12-15', -// coverUserNum: null, -// delFlag: 0, -// createBy: null, -// createTime: null, -// updateBy: null, -// updateTime: null, -// memo: null, -// distance: 0.0, -// }, -// { -// id: 6, -// name: 'aed5', -// longitude: 107.32, -// latitude: 37.294512, -// departCode: 'A01A01', -// hostModel: 'AED-3100', -// hostSerialNum: '00100225', -// electrodeSheetValidTime: '2023-12', -// routerModel: 'router-001', -// routerSerialNum: '001002', -// batteryModel: 'AED-002', -// batteryVoltage: 3.5, -// warrantyStartDate: '2023-12-05', -// warrantyEndDate: '2023-12-12', -// aedImg: null, -// mfrsName: '华为', -// mfrsMobile: '18888888888', -// installAddress: '西安室高新区宝德云谷', -// installAddressImg: null, -// manageUserId: null, -// manageUserName: '张三', -// manageUserMobile: '16666666666', -// checkStatus: '0', -// checkStatus_dictText: '正常', -// electrodeSheetStatus: '2', -// electrodeSheetStatus_dictText: '已过期', -// batteryStatus: '0', -// batteryStatus_dictText: '正常', -// routerStatus: '0', -// routerStatus_dictText: '正常', -// departName: null, -// secondDepartName: null, -// manageDepartName: null, -// manageDepartCode: 'A01A01A02', -// chargeFirst: null, -// chargeFirstMobile: null, -// chargeSecond: null, -// chargeSecondMobile: null, -// annex: null, -// videoHandle: null, -// handleExplain: null, -// aedAnnexStatus: null, -// installTime: '2023-12-15', -// coverUserNum: null, -// delFlag: 0, -// createBy: null, -// createTime: null, -// updateBy: null, -// updateTime: null, -// memo: null, -// distance: 0.0, -// }, -// { -// id: 7, -// name: 'aed7', -// longitude: 107.35333, -// latitude: 37.294512, -// departCode: 'A01A01', -// hostModel: 'AED-3100', -// hostSerialNum: '00100226', -// electrodeSheetValidTime: '2023-12', -// routerModel: 'router-001', -// routerSerialNum: '001002', -// batteryModel: 'AED-002', -// batteryVoltage: 3.5, -// warrantyStartDate: '2023-12-05', -// warrantyEndDate: '2023-12-12', -// aedImg: null, -// mfrsName: '华为', -// mfrsMobile: '18888888888', -// installAddress: '西安室高新区宝德云谷', -// installAddressImg: null, -// manageUserId: null, -// manageUserName: '张三', -// manageUserMobile: '16666666666', -// checkStatus: '0', -// checkStatus_dictText: '正常', -// electrodeSheetStatus: '2', -// electrodeSheetStatus_dictText: '已过期', -// batteryStatus: '0', -// batteryStatus_dictText: '正常', -// routerStatus: '0', -// routerStatus_dictText: '正常', -// departName: null, -// secondDepartName: null, -// manageDepartName: null, -// manageDepartCode: 'A01A01A02', -// chargeFirst: null, -// chargeFirstMobile: null, -// chargeSecond: null, -// chargeSecondMobile: null, -// annex: null, -// videoHandle: null, -// handleExplain: null, -// aedAnnexStatus: null, -// installTime: '2023-12-15', -// coverUserNum: null, -// delFlag: 0, -// createBy: null, -// createTime: null, -// updateBy: null, -// updateTime: null, -// memo: null, -// distance: 0.0, -// }, -// { -// id: 8, -// name: 'aed8', -// longitude: 107.362405, -// latitude: 37.294512, -// departCode: 'A01A01', -// hostModel: 'AED-3100', -// hostSerialNum: '00100227', -// electrodeSheetValidTime: '2023-12', -// routerModel: 'router-001', -// routerSerialNum: '001002', -// batteryModel: 'AED-002', -// batteryVoltage: 3.5, -// warrantyStartDate: '2023-12-05', -// warrantyEndDate: '2023-12-12', -// aedImg: null, -// mfrsName: '华为', -// mfrsMobile: '18888888888', -// installAddress: '西安室高新区宝德云谷', -// installAddressImg: null, -// manageUserId: null, -// manageUserName: '张三', -// manageUserMobile: '16666666666', -// checkStatus: '0', -// checkStatus_dictText: '正常', -// electrodeSheetStatus: '2', -// electrodeSheetStatus_dictText: '已过期', -// batteryStatus: '0', -// batteryStatus_dictText: '正常', -// routerStatus: '0', -// routerStatus_dictText: '正常', -// departName: null, -// secondDepartName: null, -// manageDepartName: null, -// manageDepartCode: 'A01A01A02', -// chargeFirst: null, -// chargeFirstMobile: null, -// chargeSecond: null, -// chargeSecondMobile: null, -// annex: null, -// videoHandle: null, -// handleExplain: null, -// aedAnnexStatus: null, -// installTime: '2023-12-15', -// coverUserNum: null, -// delFlag: 0, -// createBy: null, -// createTime: null, -// updateBy: null, -// updateTime: null, -// memo: null, -// distance: 0.0, -// }, -// { -// id: 9, -// name: 'aed9', -// longitude: 111.352405, -// latitude: 37.294512, -// departCode: 'A01A01', -// hostModel: 'AED-3100', -// hostSerialNum: '00100228', -// electrodeSheetValidTime: '2023-12', -// routerModel: 'router-001', -// routerSerialNum: '001002', -// batteryModel: 'AED-002', -// batteryVoltage: 3.5, -// warrantyStartDate: '2023-12-05', -// warrantyEndDate: '2023-12-12', -// aedImg: null, -// mfrsName: '华为', -// mfrsMobile: '18888888888', -// installAddress: '西安室高新区宝德云谷', -// installAddressImg: null, -// manageUserId: null, -// manageUserName: '张三', -// manageUserMobile: '16666666666', -// checkStatus: '0', -// checkStatus_dictText: '正常', -// electrodeSheetStatus: '2', -// electrodeSheetStatus_dictText: '已过期', -// batteryStatus: '0', -// batteryStatus_dictText: '正常', -// routerStatus: '0', -// routerStatus_dictText: '正常', -// departName: null, -// secondDepartName: null, -// manageDepartName: null, -// manageDepartCode: 'A01A01A02', -// chargeFirst: null, -// chargeFirstMobile: null, -// chargeSecond: null, -// chargeSecondMobile: null, -// annex: null, -// videoHandle: null, -// handleExplain: null, -// aedAnnexStatus: null, -// installTime: '2023-12-15', -// coverUserNum: null, -// delFlag: 0, -// createBy: null, -// createTime: null, -// updateBy: null, -// updateTime: null, -// memo: null, -// distance: 0.0, -// }, -// { -// id: 10, -// name: 'aed10', -// longitude: 112.352405, -// latitude: 37.294512, -// departCode: 'A01A01', -// hostModel: 'AED-3100', -// hostSerialNum: '00100229', -// electrodeSheetValidTime: '2023-12', -// routerModel: 'router-001', -// routerSerialNum: '001002', -// batteryModel: 'AED-002', -// batteryVoltage: 3.5, -// warrantyStartDate: '2023-12-05', -// warrantyEndDate: '2023-12-12', -// aedImg: null, -// mfrsName: '华为', -// mfrsMobile: '18888888888', -// installAddress: '西安室高新区宝德云谷', -// installAddressImg: null, -// manageUserId: null, -// manageUserName: '张三', -// manageUserMobile: '16666666666', -// checkStatus: '0', -// checkStatus_dictText: '正常', -// electrodeSheetStatus: '2', -// electrodeSheetStatus_dictText: '已过期', -// batteryStatus: '0', -// batteryStatus_dictText: '正常', -// routerStatus: '0', -// routerStatus_dictText: '正常', -// departName: null, -// secondDepartName: null, -// manageDepartName: null, -// manageDepartCode: 'A01A01A02', -// chargeFirst: null, -// chargeFirstMobile: null, -// chargeSecond: null, -// chargeSecondMobile: null, -// annex: null, -// videoHandle: null, -// handleExplain: null, -// aedAnnexStatus: null, -// installTime: '2023-12-15', -// coverUserNum: null, -// delFlag: 0, -// createBy: null, -// createTime: null, -// updateBy: null, -// updateTime: null, -// memo: null, -// distance: 0.0, -// }, -// { -// id: 11, -// name: 'aed11', -// longitude: 113.352405, -// latitude: 37.294512, -// departCode: 'A01A01', -// hostModel: 'AED-3100', -// hostSerialNum: '00100230', -// electrodeSheetValidTime: '2023-12', -// routerModel: 'router-001', -// routerSerialNum: '001002', -// batteryModel: 'AED-002', -// batteryVoltage: 3.5, -// warrantyStartDate: '2023-12-05', -// warrantyEndDate: '2023-12-12', -// aedImg: null, -// mfrsName: '华为', -// mfrsMobile: '18888888888', -// installAddress: '西安室高新区宝德云谷', -// installAddressImg: null, -// manageUserId: null, -// manageUserName: '张三', -// manageUserMobile: '16666666666', -// checkStatus: '0', -// checkStatus_dictText: '正常', -// electrodeSheetStatus: '2', -// electrodeSheetStatus_dictText: '已过期', -// batteryStatus: '0', -// batteryStatus_dictText: '正常', -// routerStatus: '0', -// routerStatus_dictText: '正常', -// departName: null, -// secondDepartName: null, -// manageDepartName: null, -// manageDepartCode: 'A01A01A02', -// chargeFirst: null, -// chargeFirstMobile: null, -// chargeSecond: null, -// chargeSecondMobile: null, -// annex: null, -// videoHandle: null, -// handleExplain: null, -// aedAnnexStatus: null, -// installTime: '2023-12-15', -// coverUserNum: null, -// delFlag: 0, -// createBy: null, -// createTime: null, -// updateBy: null, -// updateTime: null, -// memo: null, -// distance: 0.0, -// }, -// { -// id: 12, -// name: 'aed12', -// longitude: 114.352405, -// latitude: 37.294512, -// departCode: 'A01A01', -// hostModel: 'AED-3100', -// hostSerialNum: '00100231', -// electrodeSheetValidTime: '2023-12', -// routerModel: 'router-001', -// routerSerialNum: '001002', -// batteryModel: 'AED-002', -// batteryVoltage: 3.5, -// warrantyStartDate: '2023-12-05', -// warrantyEndDate: '2023-12-12', -// aedImg: null, -// mfrsName: '华为', -// mfrsMobile: '18888888888', -// installAddress: '西安室高新区宝德云谷', -// installAddressImg: null, -// manageUserId: null, -// manageUserName: '张三', -// manageUserMobile: '16666666666', -// checkStatus: '0', -// checkStatus_dictText: '正常', -// electrodeSheetStatus: '2', -// electrodeSheetStatus_dictText: '已过期', -// batteryStatus: '0', -// batteryStatus_dictText: '正常', -// routerStatus: '0', -// routerStatus_dictText: '正常', -// departName: null, -// secondDepartName: null, -// manageDepartName: null, -// manageDepartCode: 'A01A01A02', -// chargeFirst: null, -// chargeFirstMobile: null, -// chargeSecond: null, -// chargeSecondMobile: null, -// annex: null, -// videoHandle: null, -// handleExplain: null, -// aedAnnexStatus: null, -// installTime: '2023-12-15', -// coverUserNum: null, -// delFlag: 0, -// createBy: null, -// createTime: null, -// updateBy: null, -// updateTime: null, -// memo: null, -// distance: 0.0, -// }, -// { -// id: 13, -// name: 'aed13', -// longitude: 115.352405, -// latitude: 37.294512, -// departCode: 'A01A01', -// hostModel: 'AED-3100', -// hostSerialNum: '00100232', -// electrodeSheetValidTime: '2023-12', -// routerModel: 'router-001', -// routerSerialNum: '001002', -// batteryModel: 'AED-002', -// batteryVoltage: 3.5, -// warrantyStartDate: '2023-12-05', -// warrantyEndDate: '2023-12-12', -// aedImg: null, -// mfrsName: '华为', -// mfrsMobile: '18888888888', -// installAddress: '西安室高新区宝德云谷', -// installAddressImg: null, -// manageUserId: null, -// manageUserName: '张三', -// manageUserMobile: '16666666666', -// checkStatus: '0', -// checkStatus_dictText: '正常', -// electrodeSheetStatus: '2', -// electrodeSheetStatus_dictText: '已过期', -// batteryStatus: '0', -// batteryStatus_dictText: '正常', -// routerStatus: '0', -// routerStatus_dictText: '正常', -// departName: null, -// secondDepartName: null, -// manageDepartName: null, -// manageDepartCode: 'A01A01A02', -// chargeFirst: null, -// chargeFirstMobile: null, -// chargeSecond: null, -// chargeSecondMobile: null, -// annex: null, -// videoHandle: null, -// handleExplain: null, -// aedAnnexStatus: null, -// installTime: '2023-12-15', -// coverUserNum: null, -// delFlag: 0, -// createBy: null, -// createTime: null, -// updateBy: null, -// updateTime: null, -// memo: null, -// distance: 0.0, -// }, -// { -// id: 14, -// name: 'aed14', -// longitude: 103.4, -// latitude: 37.294512, -// departCode: 'A01A01', -// hostModel: 'AED-3100', -// hostSerialNum: '00100233', -// electrodeSheetValidTime: '2023-12', -// routerModel: 'router-001', -// routerSerialNum: '001002', -// batteryModel: 'AED-002', -// batteryVoltage: 3.5, -// warrantyStartDate: '2023-12-05', -// warrantyEndDate: '2023-12-12', -// aedImg: null, -// mfrsName: '华为', -// mfrsMobile: '18888888888', -// installAddress: '西安室高新区宝德云谷', -// installAddressImg: null, -// manageUserId: null, -// manageUserName: '张三', -// manageUserMobile: '16666666666', -// checkStatus: '0', -// checkStatus_dictText: '正常', -// electrodeSheetStatus: '2', -// electrodeSheetStatus_dictText: '已过期', -// batteryStatus: '0', -// batteryStatus_dictText: '正常', -// routerStatus: '0', -// routerStatus_dictText: '正常', -// departName: null, -// secondDepartName: null, -// manageDepartName: null, -// manageDepartCode: 'A01A01A02', -// chargeFirst: null, -// chargeFirstMobile: null, -// chargeSecond: null, -// chargeSecondMobile: null, -// annex: null, -// videoHandle: null, -// handleExplain: null, -// aedAnnexStatus: null, -// installTime: '2023-12-15', -// coverUserNum: null, -// delFlag: 0, -// createBy: null, -// createTime: null, -// updateBy: null, -// updateTime: null, -// memo: null, -// distance: 0.0, -// }, -// { -// id: 15, -// name: 'aed15', -// longitude: 105.356, -// latitude: 37.294512, -// departCode: 'A01A01', -// hostModel: 'AED-3100', -// hostSerialNum: '00100234', -// electrodeSheetValidTime: '2023-12', -// routerModel: 'router-001', -// routerSerialNum: '001002', -// batteryModel: 'AED-002', -// batteryVoltage: 3.5, -// warrantyStartDate: '2023-12-05', -// warrantyEndDate: '2023-12-12', -// aedImg: null, -// mfrsName: '华为', -// mfrsMobile: '18888888888', -// installAddress: '西安室高新区宝德云谷', -// installAddressImg: null, -// manageUserId: null, -// manageUserName: '张三', -// manageUserMobile: '16666666666', -// checkStatus: '0', -// checkStatus_dictText: '正常', -// electrodeSheetStatus: '2', -// electrodeSheetStatus_dictText: '已过期', -// batteryStatus: '0', -// batteryStatus_dictText: '正常', -// routerStatus: '0', -// routerStatus_dictText: '正常', -// departName: null, -// secondDepartName: null, -// manageDepartName: null, -// manageDepartCode: 'A01A01A02', -// chargeFirst: null, -// chargeFirstMobile: null, -// chargeSecond: null, -// chargeSecondMobile: null, -// annex: null, -// videoHandle: null, -// handleExplain: null, -// aedAnnexStatus: null, -// installTime: '2023-12-15', -// coverUserNum: null, -// delFlag: 0, -// createBy: null, -// createTime: null, -// updateBy: null, -// updateTime: null, -// memo: null, -// distance: 0.0, -// }, -// { -// id: 16, -// name: 'aed16', -// longitude: 105.36, -// latitude: 37.294512, -// departCode: 'A01A01', -// hostModel: 'AED-3100', -// hostSerialNum: '00100235', -// electrodeSheetValidTime: '2023-12', -// routerModel: 'router-001', -// routerSerialNum: '001002', -// batteryModel: 'AED-002', -// batteryVoltage: 3.5, -// warrantyStartDate: '2023-12-05', -// warrantyEndDate: '2023-12-12', -// aedImg: null, -// mfrsName: '华为', -// mfrsMobile: '18888888888', -// installAddress: '西安室高新区宝德云谷', -// installAddressImg: null, -// manageUserId: null, -// manageUserName: '张三', -// manageUserMobile: '16666666666', -// checkStatus: '0', -// checkStatus_dictText: '正常', -// electrodeSheetStatus: '2', -// electrodeSheetStatus_dictText: '已过期', -// batteryStatus: '0', -// batteryStatus_dictText: '正常', -// routerStatus: '0', -// routerStatus_dictText: '正常', -// departName: null, -// secondDepartName: null, -// manageDepartName: null, -// manageDepartCode: 'A01A01A02', -// chargeFirst: null, -// chargeFirstMobile: null, -// chargeSecond: null, -// chargeSecondMobile: null, -// annex: null, -// videoHandle: null, -// handleExplain: null, -// aedAnnexStatus: null, -// installTime: '2023-12-15', -// coverUserNum: null, -// delFlag: 0, -// createBy: null, -// createTime: null, -// updateBy: null, -// updateTime: null, -// memo: null, -// distance: 0.0, -// }, -// { -// id: 17, -// name: 'aed17', -// longitude: 105.35333, -// latitude: 37.294512, -// departCode: 'A01A01', -// hostModel: 'AED-3100', -// hostSerialNum: '00100236', -// electrodeSheetValidTime: '2023-12', -// routerModel: 'router-001', -// routerSerialNum: '001002', -// batteryModel: 'AED-002', -// batteryVoltage: 3.5, -// warrantyStartDate: '2023-12-05', -// warrantyEndDate: '2023-12-12', -// aedImg: null, -// mfrsName: '华为', -// mfrsMobile: '18888888888', -// installAddress: '西安室高新区宝德云谷', -// installAddressImg: null, -// manageUserId: null, -// manageUserName: '张三', -// manageUserMobile: '16666666666', -// checkStatus: '0', -// checkStatus_dictText: '正常', -// electrodeSheetStatus: '2', -// electrodeSheetStatus_dictText: '已过期', -// batteryStatus: '0', -// batteryStatus_dictText: '正常', -// routerStatus: '0', -// routerStatus_dictText: '正常', -// departName: null, -// secondDepartName: null, -// manageDepartName: null, -// manageDepartCode: 'A01A01A02', -// chargeFirst: null, -// chargeFirstMobile: null, -// chargeSecond: null, -// chargeSecondMobile: null, -// annex: null, -// videoHandle: null, -// handleExplain: null, -// aedAnnexStatus: null, -// installTime: '2023-12-15', -// coverUserNum: null, -// delFlag: 0, -// createBy: null, -// createTime: null, -// updateBy: null, -// updateTime: null, -// memo: null, -// distance: 0.0, -// }, -// { -// id: 18, -// name: 'aed18', -// longitude: 106.3333, -// latitude: 37.294512, -// departCode: 'A01A01', -// hostModel: 'AED-3100', -// hostSerialNum: '00100237', -// electrodeSheetValidTime: '2023-12', -// routerModel: 'router-001', -// routerSerialNum: '001002', -// batteryModel: 'AED-002', -// batteryVoltage: 3.5, -// warrantyStartDate: '2023-12-05', -// warrantyEndDate: '2023-12-12', -// aedImg: null, -// mfrsName: '华为', -// mfrsMobile: '18888888888', -// installAddress: '西安室高新区宝德云谷', -// installAddressImg: null, -// manageUserId: null, -// manageUserName: '张三', -// manageUserMobile: '16666666666', -// checkStatus: '0', -// checkStatus_dictText: '正常', -// electrodeSheetStatus: '2', -// electrodeSheetStatus_dictText: '已过期', -// batteryStatus: '0', -// batteryStatus_dictText: '正常', -// routerStatus: '0', -// routerStatus_dictText: '正常', -// departName: null, -// secondDepartName: null, -// manageDepartName: null, -// manageDepartCode: 'A01A01A02', -// chargeFirst: null, -// chargeFirstMobile: null, -// chargeSecond: null, -// chargeSecondMobile: null, -// annex: null, -// videoHandle: null, -// handleExplain: null, -// aedAnnexStatus: null, -// installTime: '2023-12-15', -// coverUserNum: null, -// delFlag: 0, -// createBy: null, -// createTime: null, -// updateBy: null, -// updateTime: null, -// memo: null, -// distance: 0.0, -// }, -// { -// id: 19, -// name: 'aed19', -// longitude: 107.33333, -// latitude: 37.294512, -// departCode: 'A01A01', -// hostModel: 'AED-3100', -// hostSerialNum: '00100238', -// electrodeSheetValidTime: '2023-12', -// routerModel: 'router-001', -// routerSerialNum: '001002', -// batteryModel: 'AED-002', -// batteryVoltage: 3.5, -// warrantyStartDate: '2023-12-05', -// warrantyEndDate: '2023-12-12', -// aedImg: null, -// mfrsName: '华为', -// mfrsMobile: '18888888888', -// installAddress: '西安室高新区宝德云谷', -// installAddressImg: null, -// manageUserId: null, -// manageUserName: '张三', -// manageUserMobile: '16666666666', -// checkStatus: '0', -// checkStatus_dictText: '正常', -// electrodeSheetStatus: '2', -// electrodeSheetStatus_dictText: '已过期', -// batteryStatus: '0', -// batteryStatus_dictText: '正常', -// routerStatus: '0', -// routerStatus_dictText: '正常', -// departName: null, -// secondDepartName: null, -// manageDepartName: null, -// manageDepartCode: 'A01A01A02', -// chargeFirst: null, -// chargeFirstMobile: null, -// chargeSecond: null, -// chargeSecondMobile: null, -// annex: null, -// videoHandle: null, -// handleExplain: null, -// aedAnnexStatus: null, -// installTime: '2023-12-15', -// coverUserNum: null, -// delFlag: 0, -// createBy: null, -// createTime: null, -// updateBy: null, -// updateTime: null, -// memo: null, -// distance: 0.0, -// }, -// { -// id: 26, -// name: 'aed1111', -// longitude: 108.970664, -// latitude: 34.31888, -// departCode: 'A01A58A20', -// hostModel: 'AED-3500', -// hostSerialNum: '00100220', -// electrodeSheetValidTime: '2023-12', -// routerModel: null, -// routerSerialNum: null, -// batteryModel: null, -// batteryVoltage: null, -// warrantyStartDate: null, -// warrantyEndDate: null, -// aedImg: null, -// mfrsName: '华为', -// mfrsMobile: '18738493034', -// installAddress: '陕西省西安市未央区大明宫街道供电局家属院', -// installAddressImg: null, -// manageUserId: null, -// manageUserName: '王能', -// manageUserMobile: '18736738994', -// checkStatus: '-1', -// checkStatus_dictText: '待确认', -// electrodeSheetStatus: '-1', -// electrodeSheetStatus_dictText: '待确认', -// batteryStatus: '-1', -// batteryStatus_dictText: '待确认', -// routerStatus: '-1', -// routerStatus_dictText: '待确认', -// departName: null, -// secondDepartName: null, -// manageDepartName: null, -// manageDepartCode: 'A01A58A03', -// chargeFirst: null, -// chargeFirstMobile: null, -// chargeSecond: null, -// chargeSecondMobile: null, -// annex: null, -// videoHandle: null, -// handleExplain: null, -// aedAnnexStatus: null, -// installTime: null, -// coverUserNum: 3, -// delFlag: 0, -// createBy: 'admin', -// createTime: '2023-12-16 10:46:29', -// updateBy: 'admin', -// updateTime: '2023-12-19 14:19:59', -// memo: null, -// distance: 0.0, -// }, -// ]; diff --git a/src/views/interveneNew/vascellum/aed/AEDMap/index.vue b/src/views/interveneNew/vascellum/aed/AEDMap/index.vue deleted file mode 100644 index 5bc9ada..0000000 --- a/src/views/interveneNew/vascellum/aed/AEDMap/index.vue +++ /dev/null @@ -1,514 +0,0 @@ - - - - - - diff --git a/src/views/interveneNew/vascellum/aed/application/applicationList.api.ts b/src/views/interveneNew/vascellum/aed/application/applicationList.api.ts deleted file mode 100644 index b05c393..0000000 --- a/src/views/interveneNew/vascellum/aed/application/applicationList.api.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -enum Api { - list = '/health-intervene/intervene/v2/aedUseRecord/queryPageList', - add = '/health-intervene/intervene/v2/aedUseRecord/add', - edit = '/health-intervene/intervene/v2/aedUseRecord/edit', - deleteBatch = '/health-intervene/intervene/v2/aedUseRecord/deleteBatch', -} -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const addApi = (params: any) => defHttp.post({ url: Api.add, params: params }); -export const editApi = (params: any) => defHttp.put({ url: Api.edit, params: params }); -export const deleteBatchApi = (params: any, handleSuccess: any) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, params: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/vascellum/aed/application/applicationList.data.ts b/src/views/interveneNew/vascellum/aed/application/applicationList.data.ts deleted file mode 100644 index f8ecc39..0000000 --- a/src/views/interveneNew/vascellum/aed/application/applicationList.data.ts +++ /dev/null @@ -1,191 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getDictCache } from '/@/utils/dict'; -import { getGeneralColumns } from '/@/views/interveneNew/vascellum/aed/device/deviceList.data'; - -export const columns: BasicColumn[] = [ - ...getGeneralColumns({ code3: 'secondDepart', code4: 'orgName' }), - // { - // title: '设备名称', - // align: 'center', - // dataIndex: 'name', - // }, - // { - // title: '所属部门', - // align: 'center', - // dataIndex: 'orgName', - // }, - // { - // title: '设备编号', - // align: 'center', - // dataIndex: 'hostModel', - // }, - { - title: '状态', - align: 'center', - dataIndex: 'status_dictText', - }, - { - title: '被救治人员', - align: 'center', - dataIndex: 'salvedPerson', - }, - { - title: '症状', - align: 'center', - dataIndex: 'a', - customRender: ({ record }) => { - return record?.heartFlag_dictText + '、' + record?.consciousnessFlag_dictText; - }, - }, - { - title: '操作人', - align: 'center', - dataIndex: 'useUser', - }, - { - title: '使用时间', - align: 'center', - dataIndex: 'usedTime', - }, - { - title: '使用过程说明', - align: 'center', - dataIndex: 'useInstruction', - }, - { - title: '启动次数', - align: 'center', - dataIndex: 'startNums', - }, - { - title: '成功除颤率', - align: 'center', - dataIndex: 'successRate', - }, - { - title: '故障率', - align: 'center', - dataIndex: 'failRate', - }, - { - title: '应用结果', - align: 'center', - dataIndex: 'userResult_dictText', - }, -]; - -export const formSchema: FormSchema[] = [ - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - { - label: '布点设备', - field: 'name', - component: 'Input', - slot: 'old', - required: true, - }, - { - label: '', - field: 'equipmentId', - component: 'ApiSelect', - show: false, - }, - { - label: '设备型号', - field: 'hostModel', - component: 'Input', - slot: 'hostModel', - }, - { - label: '布点位置', - field: 'installAddress', - component: 'Input', - slot: 'installAddress', - }, - { - label: '使用时间', - field: 'usedTime', - component: 'DatePicker', - componentProps: () => ({ format: 'YYYY-MM-DD HH:mm:ss', valueFormat: 'YYYY-MM-DD HH:mm:ss', style: { width: '100%' } }), - required: true, - }, - { - label: '被救治人', - field: 'salvedPerson', - component: 'Input', - required: true, - }, - { - label: '症状', - field: 'f', - component: 'Input', - slot: 'f', - }, - { - label: '使用人', - field: 'useUser', - component: 'Input', - required: true, - }, - { - label: '使用过程说明', - field: 'useInstruction', - component: 'InputTextArea', - required: true, - }, - { - label: '启动次数', - field: 'startNums', - component: 'InputNumber', - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - required: true, - }, - { - label: '成功除颤率', - field: 'successRate', - component: 'InputNumber', - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - required: true, - }, - { - label: '故障率', - field: 'failRate', - component: 'InputNumber', - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - required: true, - }, - { - label: '应用结果', - field: 'useResult', - component: 'RadioGroup', - defaultValue: getDictCache('aed_use_result') && getDictCache('aed_use_result')?.length > 0 ? getDictCache('aed_use_result')?.[0].value : '', - componentProps: () => { - return { - options: getDictCache('aed_use_result'), - }; - }, - required: true, - }, -]; diff --git a/src/views/interveneNew/vascellum/aed/application/applicationList.vue b/src/views/interveneNew/vascellum/aed/application/applicationList.vue deleted file mode 100644 index cc5e779..0000000 --- a/src/views/interveneNew/vascellum/aed/application/applicationList.vue +++ /dev/null @@ -1,90 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/aed/application/compoent/applicationDrawer.vue b/src/views/interveneNew/vascellum/aed/application/compoent/applicationDrawer.vue deleted file mode 100644 index 5254df2..0000000 --- a/src/views/interveneNew/vascellum/aed/application/compoent/applicationDrawer.vue +++ /dev/null @@ -1,155 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/aed/device/compoents/deviceDrawer.vue b/src/views/interveneNew/vascellum/aed/device/compoents/deviceDrawer.vue deleted file mode 100644 index 203f0ed..0000000 --- a/src/views/interveneNew/vascellum/aed/device/compoents/deviceDrawer.vue +++ /dev/null @@ -1,76 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/aed/device/deviceList.api.ts b/src/views/interveneNew/vascellum/aed/device/deviceList.api.ts deleted file mode 100644 index b244c85..0000000 --- a/src/views/interveneNew/vascellum/aed/device/deviceList.api.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/health-intervene/intervene/v2/aedEquipmentManger/queryManagerPage', - add = '/health-intervene/intervene/v2/aedEquipmentManger/add', - edit = '/health-intervene/intervene/v2/aedEquipmentManger/updateManager', - deleteBatchManager = '/health-intervene/intervene/v2/aedEquipmentManger/deleteBatchManager', - exportXls = '/health-intervene/intervene/v2/aedEquipmentManger/exportXlsManager', -} -export const getExportUrl = (params: any) => defHttp.get({ url: Api.exportXls, params: params }); -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const addApi = (params: any) => defHttp.post({ url: Api.add, params: params }); -export const editApi = (params: any) => defHttp.put({ url: Api.edit, params: params }); -export const deleteBatchManagerApi = (params: any, handleSuccess: any) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatchManager, params: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/vascellum/aed/device/deviceList.data.ts b/src/views/interveneNew/vascellum/aed/device/deviceList.data.ts deleted file mode 100644 index c0e749d..0000000 --- a/src/views/interveneNew/vascellum/aed/device/deviceList.data.ts +++ /dev/null @@ -1,528 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; -import { h } from 'vue'; -import VideoPreview from '/@/components/Video/VideoPreview.vue'; -import { Image, message } from 'ant-design-vue'; -import { getDictCache } from '/@/utils/dict'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; - -interface dI { - code1?: string; - code2?: string; - code3?: string; - code4?: string; -} - -const d: dI = { - code1: 'name', - code2: 'hostModel', - code3: 'orgName', - code4: 'deptName', -}; -export const getGeneralColumns = (data = d) => { - const { code1, code2, code3, code4 } = { ...d, ...data }; - return [ - { - title: '设备名称', - align: 'center', - dataIndex: code1, - }, - { - title: '设备型号', - align: 'center', - dataIndex: code2, - }, - { - title: '所属单位', - align: 'center', - dataIndex: code3, - }, - { - title: '所属部门', - align: 'center', - dataIndex: code4, - }, - ] as BasicColumn[]; -}; -export const columns: BasicColumn[] = [ - ...getGeneralColumns(), - // { - // title: '设备名称', - // align: 'center', - // dataIndex: 'name', - // }, - // { - // title: '所属部门', - // align: 'center', - // dataIndex: 'deptName', - // }, - // { - // title: '设备编号', - // align: 'center', - // dataIndex: 'hostSerialNum', - // }, - // { - // title: '品牌', - // align: 'center', - // dataIndex: 'brand', - // }, - // { - // title: '设备型号', - // align: 'center', - // dataIndex: 'hostModel', - // }, - { - title: '设备类型', - align: 'center', - dataIndex: 'type_dictText', - }, - { - title: '入库日期', - align: 'center', - dataIndex: 'inStorageDate', - }, - { - title: '电池电量', - align: 'center', - dataIndex: 'electricQuantity', - }, - { - title: '电池有效期', - align: 'center', - dataIndex: 'batteryLife', - }, - { - title: '电极片是否完好', - align: 'center', - dataIndex: 'electrodeIsOk_dictText', - }, - { - title: '电极片有效期', - align: 'center', - dataIndex: 'electrodeSheetValidTime', - }, - { - title: '操作图片', - align: 'center', - dataIndex: 'operateInstruction', - customRender: ({ text }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 50, - width: 50, - fallback: getDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '操作视频', - align: 'center', - dataIndex: 'operateVideo', - customRender: ({ text }) => { - return h(VideoPreview, { - url: getFileAccessHttpUrl(text), - }); - }, - }, - { - title: '管理部门', - align: 'center', - dataIndex: 'controlOrgName', - }, - { - title: '管理人', - align: 'center', - dataIndex: 'manageUserName', - }, - { - title: '管理人电话', - align: 'center', - dataIndex: 'manageUserMobile', - }, - { - title: '厂家电话', - align: 'center', - dataIndex: 'mfrsMobile', - }, -]; - -export const getSearchSchema = () => { - return [ - { - label: '设备名称', - field: 'name', - component: 'Input', - }, - { - label: '设备类型', - field: 'hostModel', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2', 'orgCode'), - // { - // label: '单位', - // field: 'orgCode1', - // component: 'Select', - // componentProps: ({ formModel }) => { - // return { - // options: list, - // fieldNames: { - // label: 'departName', - // value: 'orgCode', - // }, - // // resultField: 'list', - // labelField: 'departName', - // valueField: 'orgCode', - // placeholder: '请选择所属部门', - // showSearch: true, - // filterOption: (input: string, option: any): boolean => { - // const str: string = input.toLowerCase(); - // return option.departName.toLowerCase().indexOf(str) >= 0; - // }, - // onChange: (val) => { - // if (val) { - // formModel.orgCode2 = ''; - // if (formModel.hasOwnProperty('orgCode2')) { - // formModel.orgCode2 = ''; - // formModel.orgCode = val; - // } - // } - // }, - // onDeselect: () => { - // formModel.orgCode1 = ''; - // if (formModel.hasOwnProperty('orgCode2')) { - // formModel.orgCode2 = ''; - // formModel.orgCode = ''; - // } - // }, - // }; - // }, - // show: list.length > 0, - // }, - // { - // label: '所属部门', - // field: 'orgCode2', - // component: 'ApiSelect', - // componentProps: ({ formModel }) => { - // return { - // api: getThirdDepartsNewApi, - // resultField: 'list', - // labelField: 'departName', - // immediate: list.length > 0, - // valueField: 'orgCode', - // placeholder: '请选择所属部门', - // showSearch: true, - // params: { - // idOrCode: formModel?.orgCode1 || 'xasd', - // }, - // onFocus: () => { - // if (!formModel.orgCode1 && list.length > 0) { - // return message.warn('请先选择单位!'); - // } - // }, - // filterOption: (input: string, option: any): boolean => { - // const str: string = input.toLowerCase(); - // return option.label.toLowerCase().indexOf(str) >= 0; - // }, - // onDeselect: () => { - // formModel.orgCode = formModel.orgCode1; - // }, - // onChange: (val) => { - // if (val) { - // formModel.orgCode = val; - // } - // }, - // }; - // }, - // }, - // { - // label: '', - // field: 'orgCode', - // component: 'Input', - // show: false, - // }, - ]; -}; - -export const getFormSchema = () => { - return [ - ...orgSearchInfoByCode('orgCode1', 'orgCode2', 'departCode', true, true), - // { - // label: '单位', - // field: 'orgCode1', - // component: 'Select', - // componentProps: ({ formModel }) => { - // return { - // options: list, - // fieldNames: { - // label: 'departName', - // value: 'orgCode', - // }, - // // resultField: 'list', - // // labelField: 'departName', - // // valueField: 'orgCode', - // placeholder: '请选择所属部门', - // showSearch: true, - // filterOption: (input: string, option: any): boolean => { - // const str: string = input.toLowerCase(); - // return option.label.toLowerCase().indexOf(str) >= 0; - // }, - // onChange: (val) => { - // if (val) { - // formModel.orgCode2 = ''; - // if (formModel.hasOwnProperty('orgCode2')) { - // formModel.orgCode2 = ''; - // formModel.departCode = val; - // } - // } - // }, - // onDeselect: () => { - // formModel.orgCode1 = ''; - // if (formModel.hasOwnProperty('orgCode2')) { - // formModel.orgCode2 = ''; - // formModel.departCode = ''; - // } - // }, - // }; - // }, - // show: list.length > 0, - // required: list.length > 0, - // }, - // { - // label: '所属部门', - // field: 'orgCode2', - // component: 'ApiSelect', - // componentProps: ({ formModel }) => { - // return { - // api: getThirdDepartsNewApi, - // resultField: 'list', - // labelField: 'departName', - // immediate: list.length > 0, - // valueField: 'orgCode', - // placeholder: '请选择所属部门', - // showSearch: true, - // params: { - // idOrCode: formModel?.orgCode1 || '', - // }, - // onFocus: () => { - // if (!formModel.orgCode1 && list.length > 0) { - // return message.warn('请先选择单位!'); - // } - // }, - // filterOption: (input: string, option: any): boolean => { - // const str: string = input.toLowerCase(); - // return option.label.toLowerCase().indexOf(str) >= 0; - // }, - // onDeselect: () => { - // formModel.departCode = formModel.orgCode1; - // }, - // onChange: (val) => { - // if (val) { - // formModel.departCode = val; - // } - // }, - // }; - // }, - // required: true, - // }, - // { - // label: '', - // field: 'departCode', - // component: 'Input', - // show: false, - // }, - // { - // label: '所属部门', - // field: 'departCode', - // component: 'ApiSelect', - // componentProps: () => { - // return { - // api: getThirdDepartsNewApi, - // resultField: 'list', - // labelField: 'departName', - // valueField: 'orgCode', - // placeholder: '请选择所属部门', - // showSearch: true, - // filterOption: (input: string, option: any): boolean => { - // const str: string = input.toLowerCase(); - // return option.label.toLowerCase().indexOf(str) >= 0; - // }, - // }; - // }, - // required: true, - // }, - { - label: '设备名称', - field: 'name', - component: 'Input', - required: true, - }, - // { - // label: '品牌', - // field: 'brand', - // component: 'Input', - // }, - // { - // label: '设备编号', - // field: 'hostSerialNum', - // component: 'Input', - // }, - { - label: '设备型号', - field: 'hostModel', - component: 'Input', - required: true, - }, - { - label: '设备类型', - field: 'type', - component: 'JDictSelectTag', - componentProps: () => ({ - dictCode: 'intervene_aed_type', - }), - required: true, - }, - { - label: '出厂日期', - field: 'outFactoryDate', - component: 'DatePicker', - componentProps: () => ({ format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD', style: { width: '100%' } }), - required: true, - }, - { - label: '入库日期', - field: 'inStorageDate', - component: 'DatePicker', - componentProps: () => ({ format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD', style: { width: '100%' } }), - required: true, - }, - { - label: '电量', - field: 'electricQuantity', - component: 'InputNumber', - componentProps: () => ({ style: { width: '100%' } }), - required: true, - }, - { - label: '电极片是否完好', - field: 'electrodeIsOk', - component: 'RadioGroup', - defaultValue: - getDictCache('aed_electrode_is_ok') && getDictCache('aed_electrode_is_ok')?.length > 0 - ? getDictCache('aed_electrode_is_ok')?.[0].value - : '', - componentProps: () => { - return { - options: getDictCache('aed_electrode_is_ok'), - }; - }, - required: true, - }, - { - label: '电池有效期', - field: 'batteryLife', - component: 'DatePicker', - componentProps: () => ({ format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD', style: { width: '100%' } }), - required: true, - }, - { - label: '电极片有效期', - field: 'electrodeSheetValidTime', - component: 'DatePicker', - componentProps: () => ({ format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD', style: { width: '100%' } }), - required: true, - }, - { - label: '操作图片', - field: 'operateInstruction', - component: 'JImageUpload', - componentProps: () => { - return { - maxCount: 1, - accept: '.png,.jpg', - }; - }, - // required: true, - }, - { - label: '操作视频', - field: 'operateVideo', - component: 'JUpload', - componentProps: () => { - return { - maxCount: 1, - accept: '.mp4,video/mp4', - tipText: '支持MP4格式,最大200M', - }; - }, - // required: true, - }, - { - label: '免责声明', - field: 'disclaimer', - component: 'JUpload', - componentProps: () => { - return { - maxCount: 1, - accept: 'application/pdf', - tipText: '仅支持PDF格式文件,最大200M', - }; - }, - // required: true, - }, - { - label: '管理部门', - field: 'controlOrgName', - component: 'Input', - required: true, - }, - { - label: '管理人', - field: 'manageUserName', - component: 'Input', - required: true, - }, - { - label: '管理人电话', - field: 'manageUserMobile', - component: 'Input', - // rules: [{ pattern: /^1[3456789]\d{9}$/, message: '手机号码格式有误' }], - }, - { - label: '厂家电话', - field: 'mfrsMobile', - component: 'Input', - // rules: [{ pattern: /^1[3456789]\d{9}$/, message: '手机号码格式有误' }], - }, - { - label: '状态', - field: 'status', - component: 'RadioGroup', - defaultValue: - getDictCache('intervene_aed_status') && getDictCache('intervene_aed_status')?.length > 0 - ? getDictCache('intervene_aed_status')?.[0].value - : '', - componentProps: () => { - return { - options: getDictCache('intervene_aed_status'), - }; - }, - required: true, - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - ]; -}; diff --git a/src/views/interveneNew/vascellum/aed/device/deviceList.vue b/src/views/interveneNew/vascellum/aed/device/deviceList.vue deleted file mode 100644 index ae7a5df..0000000 --- a/src/views/interveneNew/vascellum/aed/device/deviceList.vue +++ /dev/null @@ -1,123 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/aed/location/compoents/locationDrawer.vue b/src/views/interveneNew/vascellum/aed/location/compoents/locationDrawer.vue deleted file mode 100644 index 8e7c386..0000000 --- a/src/views/interveneNew/vascellum/aed/location/compoents/locationDrawer.vue +++ /dev/null @@ -1,155 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/aed/location/compoents/locationModal.vue b/src/views/interveneNew/vascellum/aed/location/compoents/locationModal.vue deleted file mode 100644 index ba49594..0000000 --- a/src/views/interveneNew/vascellum/aed/location/compoents/locationModal.vue +++ /dev/null @@ -1,134 +0,0 @@ - - - - - diff --git a/src/views/interveneNew/vascellum/aed/location/locationList.api.ts b/src/views/interveneNew/vascellum/aed/location/locationList.api.ts deleted file mode 100644 index 4621d5a..0000000 --- a/src/views/interveneNew/vascellum/aed/location/locationList.api.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); - -enum Api { - list = '/health-intervene/intervene/v2/aedEquipmentManger/queryPublishPage', - getUnPublishEquipment = '/health-intervene/intervene/v2/aedEquipmentManger/getUnPublishEquipment', - insertPublishEquipment = '/health-intervene/intervene/v2/aedEquipmentManger/insertPublishEquipment', - updateManager = '/health-intervene/intervene/v2/aedEquipmentManger/edit', - deleteBatchPublish = '/health-intervene/intervene/v2/aedEquipmentManger/deleteBatchPublish', - exportXls = '/health-intervene/intervene/v2/aedEquipmentManger/exportXlsPublish', -} -export const getExportUrl = (params: any) => defHttp.get({ url: Api.exportXls, params: params }); -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const getUnPublishEquipmentApi = (params: any) => defHttp.get({ url: Api.getUnPublishEquipment, params: params }); -export const addApi = (params: any) => defHttp.post({ url: Api.insertPublishEquipment, params: params }); -export const editApi = (params: any) => defHttp.put({ url: Api.updateManager, params: params }); -export const deleteBatchPublishApi = (params: any, handleSuccess: any) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatchPublish, params: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/vascellum/aed/location/locationList.data.ts b/src/views/interveneNew/vascellum/aed/location/locationList.data.ts deleted file mode 100644 index 185b7fd..0000000 --- a/src/views/interveneNew/vascellum/aed/location/locationList.data.ts +++ /dev/null @@ -1,222 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { rules } from '/@/utils/helper/validator'; -import { getGeneralColumns } from '/@/views/interveneNew/vascellum/aed/device/deviceList.data'; - -export const columns: BasicColumn[] = [ - ...getGeneralColumns({ code3: 'secondDepart', code4: 'orgName' }), - // { - // title: '设备名称', - // align: 'center', - // dataIndex: 'name', - // }, - // { - // title: '所属部门', - // align: 'center', - // dataIndex: 'orgName', - // }, - // { - // title: '设备型号', - // align: 'center', - // dataIndex: 'hostSerialNum', - // }, - { - title: '详细位置', - align: 'center', - dataIndex: 'location', - }, - { - title: '状态', - align: 'center', - dataIndex: 'status_dictText', - }, - { - title: '布点日期', - align: 'center', - dataIndex: 'installTime', - }, - { - title: '管理部门', - align: 'center', - dataIndex: 'controlOrgName', - }, - { - title: '管理人', - align: 'center', - dataIndex: 'manageUserName', - }, - { - title: '管理人电话', - align: 'center', - dataIndex: 'manageUserMobile', - }, - { - title: '责任人1', - align: 'center', - dataIndex: 'chargeFirst', - }, - { - title: '责任人1电话', - align: 'center', - dataIndex: 'chargeFirstMobile', - }, - { - title: '责任人2', - align: 'center', - dataIndex: 'chargeSecond', - }, - { - title: '责任人2电话', - align: 'center', - dataIndex: 'chargeSecondMobile', - }, -]; - -export const formSchema: FormSchema[] = [ - { - label: '布点设备', - field: 'name', - component: 'Input', - slot: 'old', - required: true, - }, - { - label: '', - field: 'oldId', - component: 'Input', - show: false, - }, - { - label: '设备型号', - field: 'hostModel', - slot: 'hostSerialNum', - component: 'Input', - }, - { - label: '布点日期', - field: 'installTime', - component: 'DatePicker', - componentProps: () => ({ format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD', style: { width: '100%' } }), - required: true, - }, - { - label: '布点地址', - field: 'installAddress', - component: 'Input', - slot: 'installAddress', - required: true, - }, - { - label: '经度', - field: 'longitude', - component: 'InputNumber', - componentProps: () => ({ style: { width: '100%' } }), - show: false, - // required: true, - }, - { - label: '纬度', - field: 'latitude', - component: 'InputNumber', - componentProps: () => ({ style: { width: '100%' } }), - show: false, - // required: true, - }, - { - label: '覆盖人数', - field: 'coverUserNum', - component: 'InputNumber', - componentProps: () => ({ style: { width: '100%' } }), - required: true, - }, - { - label: '责任人1', - field: 'chargeFirst', - component: 'Input', - required: true, - }, - { - label: '责任人1电话', - field: 'chargeFirstMobile', - component: 'Input', - // rules: rules.phone(true), - }, - { - label: '责任人2', - field: 'chargeSecond', - component: 'Input', - // required: true, - }, - { - label: '责任人2电话', - field: 'chargeSecondMobile', - component: 'Input', - // rules: rules.phone(false), - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -export const mColumns: BasicColumn[] = [ - { - title: '设备名称', - align: 'center', - dataIndex: 'name', - }, - { - title: '所属部门', - align: 'center', - dataIndex: 'departName', - }, - { - title: '设备型号', - align: 'center', - dataIndex: 'hostModel', - }, - // { - // title: '品牌', - // align: 'center', - // dataIndex: 'brand', - // }, - { - title: '设备类型', - align: 'center', - dataIndex: 'type_dictText', - }, -]; -export const mSearchFormSchema: FormSchema[] = [ - { - label: '设备名称', - field: 'name', - component: 'Input', - }, - { - label: '设备类型', - field: 'hostModel', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2', 'orgCode'), - // { - // label: '所属部门', - // field: 'orgCode', - // component: 'ApiSelect', - // componentProps: () => { - // return { - // api: getThirdDepartsNewApi, - // resultField: 'list', - // labelField: 'departName', - // valueField: 'orgCode', - // placeholder: '请选择所属部门', - // showSearch: true, - // filterOption: (input: string, option: any): boolean => { - // const str: string = input.toLowerCase(); - // return option.label.toLowerCase().indexOf(str) >= 0; - // }, - // }; - // }, - // }, -]; diff --git a/src/views/interveneNew/vascellum/aed/location/locationList.vue b/src/views/interveneNew/vascellum/aed/location/locationList.vue deleted file mode 100644 index 03d67b6..0000000 --- a/src/views/interveneNew/vascellum/aed/location/locationList.vue +++ /dev/null @@ -1,130 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/aed/maintenance/compoents/maintenanceDrawer.vue b/src/views/interveneNew/vascellum/aed/maintenance/compoents/maintenanceDrawer.vue deleted file mode 100644 index 2bc2766..0000000 --- a/src/views/interveneNew/vascellum/aed/maintenance/compoents/maintenanceDrawer.vue +++ /dev/null @@ -1,219 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/aed/maintenance/compoents/maintenanceModal.vue b/src/views/interveneNew/vascellum/aed/maintenance/compoents/maintenanceModal.vue deleted file mode 100644 index 868fda1..0000000 --- a/src/views/interveneNew/vascellum/aed/maintenance/compoents/maintenanceModal.vue +++ /dev/null @@ -1,139 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/aed/maintenance/maintenanceList.api.ts b/src/views/interveneNew/vascellum/aed/maintenance/maintenanceList.api.ts deleted file mode 100644 index 99ecf01..0000000 --- a/src/views/interveneNew/vascellum/aed/maintenance/maintenanceList.api.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); - -enum Api { - list = '/health-intervene/intervene/v2/aedEquipmentMaintain/list', - add = '/health-intervene/intervene/v2/aedEquipmentMaintain/add', - edit = '/health-intervene/intervene/v2/aedEquipmentMaintain/edit', - queryById = '/health-intervene/intervene/v2/aedEquipmentMaintain/queryById', - deleteBatch = '/health-intervene/intervene/v2/aedEquipmentMaintain/deleteBatch', - exportXls = '/health-intervene/intervene/v2/aedEquipmentMaintain/exportXls', -} -export const getExportUrl = (params: any) => defHttp.get({ url: Api.exportXls, params: params }); -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const addApi = (params: any) => defHttp.post({ url: Api.add, params: params }); -export const editApi = (params: any) => defHttp.put({ url: Api.edit, params: params }); -export const queryByIdApi = (params: any) => defHttp.get({ url: Api.queryById, params: params }); -export const deleteBatchApi = (params: any, handleSuccess: any) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, params: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/vascellum/aed/maintenance/maintenanceList.data.ts b/src/views/interveneNew/vascellum/aed/maintenance/maintenanceList.data.ts deleted file mode 100644 index 9636c64..0000000 --- a/src/views/interveneNew/vascellum/aed/maintenance/maintenanceList.data.ts +++ /dev/null @@ -1,162 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getDictCache } from '/@/utils/dict'; -import { getGeneralColumns } from '/@/views/interveneNew/vascellum/aed/device/deviceList.data'; - -export const columns: BasicColumn[] = [ - ...getGeneralColumns({ code3: 'secondDepart', code4: 'orgName' }), - // { - // title: '设备名称', - // align: 'center', - // dataIndex: 'name', - // }, - // { - // title: '所属部门', - // align: 'center', - // dataIndex: 'orgName', - // }, - // { - // title: '设备编号', - // align: 'center', - // dataIndex: 'hostSerialNum', - // }, - { - title: '布点位置', - align: 'center', - dataIndex: 'location', - }, - { - title: '状态', - align: 'center', - dataIndex: 'status_dictText', - }, - { - title: '电池有效期', - align: 'center', - dataIndex: 'batteryLife', - }, - { - title: '布点日期', - align: 'center', - dataIndex: 'pickDate', - }, - { - title: '管理部门', - align: 'center', - dataIndex: 'orgName', - }, - { - title: '管理人', - align: 'center', - dataIndex: 'custodian', - }, - { - title: '管理人电话', - align: 'center', - dataIndex: 'custodianTel', - }, - { - title: '维护人', - align: 'center', - dataIndex: 'maintainUser', - }, - { - title: '维护人电话', - align: 'center', - dataIndex: 'maintainUserTel', - }, - { - title: '维护时间', - align: 'center', - dataIndex: 'maintainDate', - }, - { - title: '维护内容', - align: 'center', - dataIndex: 'content', - }, - { - title: '维护方', - align: 'center', - dataIndex: 'maintainUnit', - }, -]; - -export const formSchema: FormSchema[] = [ - { - label: '布点设备', - field: 'name', - component: 'Input', - slot: 'old', - required: true, - }, - { - label: '', - field: 'equipmentId', - component: 'Input', - show: false, - }, - { - label: '设备型号', - field: 'hostModel', - slot: 'hostModel', - component: 'Input', - }, - { - label: '布点位置', - field: 'installAddress', - slot: 'installAddress', - component: 'Input', - }, - { - label: '维护日期', - field: 'maintainDate', - component: 'DatePicker', - componentProps: () => ({ format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD', style: { width: '100%' } }), - required: true, - }, - { - label: '维护人', - field: 'maintainUser', - component: 'Input', - required: true, - }, - { - label: '维护人电话', - field: 'maintainUserTel', - component: 'Input', - required: true, - }, - { - label: '维护方', - field: 'maintainUnit', - component: 'Input', - required: true, - }, - { - label: '设备状态', - field: 'status', - component: 'RadioGroup', - defaultValue: - getDictCache('intervene_aed_status') && getDictCache('intervene_aed_status')?.length > 0 - ? getDictCache('intervene_aed_status')?.[0].value - : '', - componentProps: () => { - return { - options: getDictCache('intervene_aed_status'), - }; - }, - required: true, - }, - { - label: '维护内容', - field: 'i', - component: 'Input', - slot: 'i', - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/vascellum/aed/maintenance/maintenanceList.vue b/src/views/interveneNew/vascellum/aed/maintenance/maintenanceList.vue deleted file mode 100644 index 3720ec4..0000000 --- a/src/views/interveneNew/vascellum/aed/maintenance/maintenanceList.vue +++ /dev/null @@ -1,154 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/aed/performance/compoent/performanceDrawer.vue b/src/views/interveneNew/vascellum/aed/performance/compoent/performanceDrawer.vue deleted file mode 100644 index b3646d9..0000000 --- a/src/views/interveneNew/vascellum/aed/performance/compoent/performanceDrawer.vue +++ /dev/null @@ -1,162 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/aed/performance/performance.api.ts b/src/views/interveneNew/vascellum/aed/performance/performance.api.ts deleted file mode 100644 index 6b6c2dc..0000000 --- a/src/views/interveneNew/vascellum/aed/performance/performance.api.ts +++ /dev/null @@ -1,84 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); - -enum Api { - // 现场培训 、现场演练 - list = '/health-intervene/intervene/v2/aedEquipmentTrain/queryPageList', - add = '/health-intervene/intervene/v2/aedEquipmentTrain/add', - edit = '/health-intervene/intervene/v2/aedEquipmentTrain/edit', - deleteBatch = '/health-intervene/intervene/v2/aedEquipmentTrain/deleteBatch', - exportXls = '/health-intervene/intervene/v2/aedEquipmentTrain/exportXls', - // 取证人员名单 - list1 = '/health-intervene/intervene/v2/aedEquipmentCertificate/list', - add1 = '/health-intervene/intervene/v2/aedEquipmentCertificate/add', - edit1 = '/health-intervene/intervene/v2/aedEquipmentCertificate/edit', - deleteBatch1 = '/health-intervene/intervene/v2/aedEquipmentCertificate/deleteBatch', - exportXls1 = '/health-intervene/intervene/v2/aedEquipmentCertificate/exportXls', - // 复训记录 - list2 = '/health-intervene/intervene/v2/aedEquipmentRetrain/list', - add2 = '/health-intervene/intervene/v2/aedEquipmentRetrain/add', - edit2 = '/health-intervene/intervene/v2/aedEquipmentRetrain/edit', - deleteBatch2 = '/health-intervene/intervene/v2/aedEquipmentRetrain/deleteBatch', - exportXls2 = '/health-intervene/intervene/v2/aedEquipmentRetrain/exportXls', -} -export const getExportUrl = (params: any) => defHttp.get({ url: Api.exportXls, params: params }); -export const getExportUrl1 = (params: any) => defHttp.get({ url: Api.exportXls1, params: params }); -export const getExportUrl2 = (params: any) => defHttp.get({ url: Api.exportXls2, params: params }); -export const listApi = (params: any) => defHttp.get({ url: Api.list, params: params }); -export const addApi = (params: any) => defHttp.post({ url: Api.add, params: params }); -export const editApi = (params: any) => defHttp.put({ url: Api.edit, params: params }); - -export const deleteBatchApi = (params: any, handleSuccess: any) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, params: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; - -export const list1Api = (params: any) => defHttp.get({ url: Api.list1, params: params }); -export const add1Api = (params: any) => defHttp.post({ url: Api.add1, params: params }); - -export const edit1Api = (params: any) => defHttp.put({ url: Api.edit1, params: params }); - -export const deleteBatch1Api = (params: any, handleSuccess: any) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch1, params: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -export const list2Api = (params: any) => defHttp.get({ url: Api.list2, params: params }); -export const add2Api = (params: any) => defHttp.post({ url: Api.add2, params: params }); - -export const edit2Api = (params: any) => defHttp.put({ url: Api.edit2, params: params }); - -export const deleteBatch2Api = (params: any, handleSuccess: any) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch2, params: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/interveneNew/vascellum/aed/performance/performanceList.data.ts b/src/views/interveneNew/vascellum/aed/performance/performanceList.data.ts deleted file mode 100644 index b37bc36..0000000 --- a/src/views/interveneNew/vascellum/aed/performance/performanceList.data.ts +++ /dev/null @@ -1,470 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getDictCache } from '/@/utils/dict'; -import { getGeneralColumns, getSearchSchema } from '/@/views/interveneNew/vascellum/aed/device/deviceList.data'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; -import VideoPreview from '/@/components/Video/VideoPreview.vue'; - -function getC0(type = '1') { - return [ - ...getGeneralColumns({ code3: 'secondDepart', code4: 'orgName' }), - // { - // title: '设备名称', - // align: 'center', - // dataIndex: 'name', - // }, - // { - // title: '所属部门', - // align: 'center', - // dataIndex: 'orgName', - // }, - // { - // title: '设备编号', - // align: 'center', - // dataIndex: 'hostSerialNum', - // }, - { - title: '布点位置', - align: 'center', - dataIndex: 'location', - }, - { - title: '状态', - align: 'center', - dataIndex: 'status_dictText', - }, - { - title: `${type == '0' ? '培训日期' : '演练日期'}`, - align: 'center', - dataIndex: 'trainDate', - }, - { - title: '参加人数', - align: 'center', - dataIndex: 'joinNums', - }, - { - title: '负责人1', - align: 'center', - dataIndex: 'chargeUser1', - }, - { - title: '负责人2', - align: 'center', - dataIndex: 'chargeUser2', - }, - { - title: '现场签到表', - align: 'center', - dataIndex: 'siteSignSheet', - customRender: ({ text }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 50, - width: 50, - fallback: getDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '现场图片', - align: 'center', - dataIndex: 'sitePic', - customRender: ({ text }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 50, - width: 50, - fallback: getDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '现场视频', - align: 'center', - dataIndex: 'siteVideo', - customRender: ({ text }) => { - return h(VideoPreview, { - url: getFileAccessHttpUrl(text), - }); - }, - }, - { - title: '培演资料', - align: 'center', - dataIndex: 'siteProfile', - customRender: ({ text }) => { - return h(VideoPreview, { - url: getFileAccessHttpUrl(text), - }); - }, - }, - { - title: '培演效果', - align: 'center', - dataIndex: 'effect_dictText', - }, - ] as BasicColumn[]; -} -const columns2: BasicColumn[] = [ - { - title: '单位名称', - align: 'center', - dataIndex: 'unit', - fixed: 'left', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'name', - fixed: 'left', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, - // { - // title: '部门', - // align: 'center', - // dataIndex: 'dept', - // }, - { - title: '证书编号', - align: 'center', - dataIndex: 'certificateNo', - }, -]; -const columns3: BasicColumn[] = [ - { - title: '培训日期', - align: 'center', - dataIndex: 'trainDate', - }, - { - title: '培训地点', - align: 'center', - dataIndex: 'address', - }, - { - title: '参加人数', - align: 'center', - dataIndex: 'userNums', - }, - { - title: '复训效果', - align: 'center', - dataIndex: 'reTrainStatus_dictText', - }, - { - title: '现场图片', - align: 'center', - dataIndex: 'sitePic', - customRender: ({ text }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 50, - width: 50, - fallback: getDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '现场视频', - align: 'center', - dataIndex: 'siteVideo', - customRender: ({ text }) => { - return h(VideoPreview, { - url: getFileAccessHttpUrl(text), - }); - }, - }, -]; - -export const columnsList = [getC0('0'), getC0('1'), columns2, columns3]; - -const searchSchema2: FormSchema[] = [ - { - label: '员工姓名', - field: 'name', - component: 'Input', - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: () => ({ dictCode: 'sex2' }), - }, -]; -const searchSchema3: FormSchema[] = [ - { - label: '培训日期', - field: 'trainDate', - component: 'RangeDate', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - format: 'YYYY-MM-DD', - }; - }, - }, - { - label: '性别', - field: 'title', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'sex2', - }; - }, - }, -]; -function getF0(type = '0') { - return [ - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - { - label: '布点设备', - field: 'name', - component: 'Input', - slot: 'old', - required: true, - }, - { - label: '', - field: 'equipmentId', - component: 'ApiSelect', - show: false, - }, - { - label: '设备型号', - field: 'hostModel', - component: 'Input', - slot: 'hostModel', - }, - { - label: '设备位置', - field: 'installAddress', - component: 'Input', - slot: 'installAddress', - }, - { - label: `${type == '0' ? '培训日期' : '演练日期'}`, - field: 'trainDate', - component: 'DatePicker', - componentProps: () => ({ format: 'YYYY-MM-DD', valueFormat: 'YYYY-MM-DD', style: { width: '100%' } }), - required: true, - }, - { - label: '参加人数', - field: 'joinNums', - component: 'Input', - required: true, - }, - { - label: '负责人1', - field: 'chargeUser1', - component: 'Input', - required: true, - }, - { - label: '负责人2', - field: 'chargeUser2', - component: 'Input', - required: true, - }, - { - label: '现场签到表', - field: 'siteSignSheet', - component: 'JImageUpload', - required: true, - }, - { - label: '现场图片', - field: 'sitePic', - component: 'JImageUpload', - required: true, - }, - { - label: '现场视频', - field: 'siteVideo', - component: 'JUpload', - componentProps: () => { - return { - maxCount: 1, - accept: '.avi,.mov,.rmvb,.rm,.flv,.mp4,.3gp,video/*', - }; - }, - required: true, - }, - { - label: '培演资料', - field: 'siteProfile', - component: 'JUpload', - required: true, - }, - { - label: '培演效果', - field: 'effect', - component: 'RadioGroup', - defaultValue: - getDictCache('aed_train_result') && getDictCache('aed_train_result')?.length > 0 ? getDictCache('aed_train_result')?.[0].value : '', - componentProps: () => { - return { - options: getDictCache('aed_train_result'), - }; - }, - required: true, - }, - ] as FormSchema[]; -} -const formSchema2: FormSchema[] = [ - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - { - label: '单位名称', - field: 'unit', - component: 'Input', - required: true, - }, - { - label: '员工姓名', - field: 'name', - component: 'Input', - required: true, - }, - { - label: '性别', - field: 'sex', - component: 'RadioGroup', - defaultValue: getDictCache('sex2') && getDictCache('sex2')?.length > 0 ? getDictCache('sex2')?.[0].value : '', - componentProps: () => { - return { - options: getDictCache('sex2'), - }; - }, - required: true, - }, - { - label: '出生年月', - field: 'birthday', - component: 'DatePicker', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - format: 'YYYY-MM-DD', - }; - }, - required: true, - }, - { - label: '证书编号', - field: 'certificateNo', - component: 'Input', - required: true, - }, -]; -const formSchema3: FormSchema[] = [ - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - { - label: '培训日期', - field: 'trainDate', - component: 'DatePicker', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - format: 'YYYY-MM-DD', - }; - }, - required: true, - }, - { - label: '培训地点', - field: 'address', - component: 'Input', - required: true, - }, - { - label: '参训人数', - field: 'userNums', - component: 'Input', - required: true, - }, - { - label: '复训效果', - field: 'reTrainStatus', - component: 'RadioGroup', - required: true, - defaultValue: - getDictCache('aed_retrain_effect') && getDictCache('aed_retrain_effect')?.length > 0 ? getDictCache('aed_retrain_effect')?.[0].value : '', - componentProps: () => { - return { - options: getDictCache('aed_retrain_effect'), - }; - }, - }, - { - label: '现场图片', - field: 'sitePic', - component: 'JImageUpload', - required: true, - }, - { - label: '现场视频', - field: 'siteVideo', - component: 'JUpload', - componentProps: () => { - return { - maxCount: 1, - accept: '.avi,.mov,.rmvb,.rm,.flv,.mp4,.3gp,video/*', - }; - }, - required: true, - }, -]; -export const searchSchemaList = [getSearchSchema, getSearchSchema, searchSchema2, searchSchema3]; -export const formSchemaList = [getF0('0'), getF0('1'), formSchema2, formSchema3]; diff --git a/src/views/interveneNew/vascellum/aed/performance/performanceList.vue b/src/views/interveneNew/vascellum/aed/performance/performanceList.vue deleted file mode 100644 index bc4ad23..0000000 --- a/src/views/interveneNew/vascellum/aed/performance/performanceList.vue +++ /dev/null @@ -1,246 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/health/animation/animation.api.ts b/src/views/interveneNew/vascellum/health/animation/animation.api.ts deleted file mode 100644 index 1bbe237..0000000 --- a/src/views/interveneNew/vascellum/health/animation/animation.api.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/angiocarpy/vascularAnime/list', - edit = '/health-intervene/angiocarpy/vascularAnime/edit', -} -export const list = (params: any) => defHttp.get({ url: Api.list, params }); -export const edit = (params: any) => defHttp.post({ url: Api.edit, params }); diff --git a/src/views/interveneNew/vascellum/health/animation/animation.data.ts b/src/views/interveneNew/vascellum/health/animation/animation.data.ts deleted file mode 100644 index 2fc15a9..0000000 --- a/src/views/interveneNew/vascellum/health/animation/animation.data.ts +++ /dev/null @@ -1,55 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -//图片 视频 编辑 -export enum ModalEnum { - IMAGE = 'image', - VIDEO = 'video', - EDIT = 'edit', -} -export const columns: BasicColumn[] = [ - { - title: '级别', - dataIndex: 'level', - width: 100, - align: 'center', - }, - { - title: '数值范围', - dataIndex: 'scope', - width: 100, - align: 'center', - }, - { - title: '变化说明', - dataIndex: 'state', - width: 100, - align: 'center', - }, -]; -const accept = '.gif'; -export const formSchema: FormSchema[] = [ - { - field: 'resourceUrl', - label: '视频资源', - component: 'JUpload', - componentProps: { - maxCount: 1, - accept: accept, - }, - rules: [ - { - required: true, - validator: (_, value) => { - if (!value) { - return Promise.reject('请上传视频资源'); - } - let index = value?.lastIndexOf('.'); - let type = value?.substring(index); - if (!accept.includes(type)) { - return Promise.reject(`文件类型不符合要求,请上传${accept}格式`); - } - return Promise.resolve(); - }, - }, - ], - }, -]; diff --git a/src/views/interveneNew/vascellum/health/animation/animationList.vue b/src/views/interveneNew/vascellum/health/animation/animationList.vue deleted file mode 100644 index 0d1fdc7..0000000 --- a/src/views/interveneNew/vascellum/health/animation/animationList.vue +++ /dev/null @@ -1,126 +0,0 @@ - - - - diff --git a/src/views/interveneNew/vascellum/health/animation/components/datePeriodSelector.vue b/src/views/interveneNew/vascellum/health/animation/components/datePeriodSelector.vue deleted file mode 100644 index 5f1d9ec..0000000 --- a/src/views/interveneNew/vascellum/health/animation/components/datePeriodSelector.vue +++ /dev/null @@ -1,49 +0,0 @@ - - - - diff --git a/src/views/interveneNew/vascellum/health/animation/components/videoResourcesModal.vue b/src/views/interveneNew/vascellum/health/animation/components/videoResourcesModal.vue deleted file mode 100644 index 062e353..0000000 --- a/src/views/interveneNew/vascellum/health/animation/components/videoResourcesModal.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/health/comprehensive/components/fakeRelationShip.vue b/src/views/interveneNew/vascellum/health/comprehensive/components/fakeRelationShip.vue deleted file mode 100644 index 6d1542d..0000000 --- a/src/views/interveneNew/vascellum/health/comprehensive/components/fakeRelationShip.vue +++ /dev/null @@ -1,692 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/health/comprehensive/components/relationShip.vue b/src/views/interveneNew/vascellum/health/comprehensive/components/relationShip.vue deleted file mode 100644 index 1dd1cec..0000000 --- a/src/views/interveneNew/vascellum/health/comprehensive/components/relationShip.vue +++ /dev/null @@ -1,122 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/health/comprehensive/components/trueRelationShip.vue b/src/views/interveneNew/vascellum/health/comprehensive/components/trueRelationShip.vue deleted file mode 100644 index 1767b71..0000000 --- a/src/views/interveneNew/vascellum/health/comprehensive/components/trueRelationShip.vue +++ /dev/null @@ -1,402 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/health/comprehensive/comprehensive.api.ts b/src/views/interveneNew/vascellum/health/comprehensive/comprehensive.api.ts deleted file mode 100644 index a8690ee..0000000 --- a/src/views/interveneNew/vascellum/health/comprehensive/comprehensive.api.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/angiocarpy/bloodSimulate/bloodSynthesisList', - bloodSynthesisCompute = '/health-intervene/angiocarpy/bloodSimulate/bloodSynthesisCompute', -} -//单位 -export const list = (params: {}) => defHttp.post({ url: Api.list + `?pageNo=${params?.pageNo}&pageSize=${params?.pageSize}`, params }); -export const bloodSynthesisCompute = (params: {}) => defHttp.post({ url: Api.bloodSynthesisCompute, params }); diff --git a/src/views/interveneNew/vascellum/health/comprehensive/comprehensive.data.ts b/src/views/interveneNew/vascellum/health/comprehensive/comprehensive.data.ts deleted file mode 100644 index b376b61..0000000 --- a/src/views/interveneNew/vascellum/health/comprehensive/comprehensive.data.ts +++ /dev/null @@ -1,489 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfo, orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import dayjs from 'dayjs'; -import { h } from 'vue'; - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - width: 120, - dataIndex: 'secondDepart', - fixed: 'left', - }, - { - title: '部门名称', - width: 120, - dataIndex: 'thirdDepart', - fixed: 'left', - }, - { - title: '员工姓名', - width: 100, - dataIndex: 'realname', - fixed: 'left', - }, - { - title: '员工工号', - width: 100, - dataIndex: 'workNo', - }, - { - title: '性别', - width: 80, - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - width: 80, - dataIndex: 'age', - }, - { - title: '身高(cm)', - width: 100, - dataIndex: 'height', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '体重(kg)', - width: 100, - dataIndex: 'weight', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: 'BMI', - width: 100, - dataIndex: 'bmi', - }, - { - title: '体力活动', - width: 100, - dataIndex: 'physicalActivity', - }, - { - title: '疾病确诊日期', - children: [ - { - title: '高血压', - dataIndex: 'diagnosisTime', - width: 120, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '糖尿病确', - dataIndex: 'diabetesTime', - width: 120, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '冠心病', - dataIndex: 'coronaryHeartDiseaseTime', - width: 120, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - ], - }, - { - title: '近两次体检数据', - children: [ - { - title: '体检日期一', - dataIndex: ['checkDataList', 0, 'time'], - customRender: ({ text }) => { - return text ? dayjs(text).format('YYYY-MM-DD') : ''; - }, - width: 120, - rewriting: true, - rewroteCell: { - type: 'date', - }, - }, - { - title: '收缩压', - dataIndex: ['checkDataList', 0, 'sbp'], - rewriting: true, - width: 120, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '空腹血糖', - width: 120, - dataIndex: ['checkDataList', 0, 'fpg'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '甘油三酯\n(mmol/L)', - width: 120, - dataIndex: ['checkDataList', 0, 'tg'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '总胆固醇\n(mmol/L)', - width: 120, - dataIndex: ['checkDataList', 0, 'tc'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '高密度脂蛋白(mmol/L)', - width: 120, - dataIndex: ['checkDataList', 0, 'hdl'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '低密度脂蛋白(mmol/L)', - width: 120, - dataIndex: ['checkDataList', 0, 'ldl'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '体检日期二', - dataIndex: ['checkDataList', 1, 'time'], - customRender: ({ text }) => { - return text ? dayjs(text).format('YYYY-MM-DD') : ''; - }, - width: 120, - rewriting: true, - rewroteCell: { - type: 'date', - }, - }, - { - title: '收缩压', - dataIndex: ['checkDataList', 1, 'sbp'], - rewriting: true, - width: 120, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '空腹血糖', - width: 120, - dataIndex: ['checkDataList', 1, 'fpg'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '甘油三酯\n(mmol/L)', - width: 120, - dataIndex: ['checkDataList', 1, 'tg'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '总胆固醇\n(mmol/L)', - width: 120, - dataIndex: ['checkDataList', 1, 'tc'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '高密度脂蛋白(mmol/L)', - width: 120, - dataIndex: ['checkDataList', 1, 'hdl'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '低密度脂蛋白(mmol/L)', - width: 120, - dataIndex: ['checkDataList', 1, 'ldl'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - ], - }, - { - title: '血管综合风险', - width: 120, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ record }) => { - return record?.allResult?.allWarning - ? h( - 'span', - { style: { color: getColor(record?.allResult?.allWarning?.code) } }, - `${parseInt(record?.allResult?.allWarning?.riskValue)}(${record?.allResult?.allWarning?.grade})` - ) - : ''; - }, - }, - { - title: '血压损害血管各风险值', - width: 120, - children: [ - { - title: '硬化', - width: 120, - customRender: ({ record }) => { - return record?.allResult?.sclerosis - ? h( - 'span', - { style: { color: getColor(record?.allResult?.sclerosis?.code) } }, - `${parseInt(record?.allResult?.sclerosis?.riskValue)}(${record?.allResult?.sclerosis?.grade})` - ) - : ''; - }, - }, - { - title: '脆化', - width: 120, - customRender: ({ record }) => { - return record?.allResult?.fragility - ? h( - 'span', - { style: { color: getColor(record?.allResult?.fragility?.code) } }, - `${parseInt(record?.allResult?.fragility?.riskValue)}(${record?.allResult?.fragility?.grade})` - ) - : ''; - }, - }, - { - title: '糖化', - width: 120, - customRender: ({ record }) => { - return record?.allResult?.glycosylation - ? h( - 'span', - { style: { color: getColor(record?.allResult?.glycosylation?.code) } }, - `${parseInt(record?.allResult?.glycosylation?.riskValue)}(${record?.allResult?.glycosylation?.grade})` - ) - : ''; - }, - }, - { - title: '变性', - width: 120, - customRender: ({ record }) => { - return record?.allResult?.degeneration - ? h( - 'span', - { style: { color: getColor(record?.allResult?.degeneration?.code) } }, - `${parseInt(record?.allResult?.degeneration?.riskValue)}(${record?.allResult?.degeneration?.grade})` - ) - : ''; - }, - }, - { - title: '坏死', - width: 120, - customRender: ({ record }) => { - return record?.allResult?.angionecrosis - ? h( - 'span', - { style: { color: getColor(record?.allResult?.angionecrosis?.code) } }, - `${parseInt(record?.allResult?.angionecrosis?.riskValue)}(${record?.allResult?.angionecrosis?.grade})` - ) - : ''; - }, - }, - { - title: '斑块', - width: 120, - customRender: ({ record }) => { - return record?.allResult?.plaque - ? h( - 'span', - { style: { color: getColor(record?.allResult?.plaque?.code) } }, - `${parseInt(record?.allResult?.plaque?.riskValue)}(${record?.allResult?.plaque?.grade})` - ) - : ''; - }, - }, - { - title: '狭窄', - width: 120, - customRender: ({ record }) => { - return record?.allResult?.stenosis - ? h( - 'span', - { style: { color: getColor(record?.allResult?.stenosis?.code) } }, - `${parseInt(record?.allResult?.stenosis?.riskValue)}(${record?.allResult?.stenosis?.grade})` - ) - : ''; - }, - }, - { - title: '脱落', - width: 120, - customRender: ({ record }) => { - return record?.allResult?.plaqueShedding - ? h( - 'span', - { style: { color: getColor(record?.allResult?.plaqueShedding?.code) } }, - `${parseInt(record?.allResult?.plaqueShedding?.riskValue)}(${record?.allResult?.plaqueShedding?.grade})` - ) - : ''; - }, - }, - { - title: '出血', - width: 120, - dataIndex: 'cavity', - customRender: ({ record }) => { - return record?.allResult?.rupture - ? h( - 'span', - { style: { color: getColor(record?.allResult?.rupture?.code) } }, - `${parseInt(record?.allResult?.rupture?.riskValue)}(${record?.allResult?.rupture?.grade})` - ) - : ''; - }, - }, - ], - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'realname', - label: '员工姓名', - component: 'Input', - }, - { - field: 'workNo', - label: '员工工号', - component: 'Input', - }, - ...orgSearchInfo(), -]; - -function getColor(type) { - type = type * 1; - switch (type) { - case 2: - return '#e99d42'; - case 3: - return 'red'; - } -} diff --git a/src/views/interveneNew/vascellum/health/comprehensive/comprehensiveList.vue b/src/views/interveneNew/vascellum/health/comprehensive/comprehensiveList.vue deleted file mode 100644 index 5197667..0000000 --- a/src/views/interveneNew/vascellum/health/comprehensive/comprehensiveList.vue +++ /dev/null @@ -1,163 +0,0 @@ - - - - diff --git a/src/views/interveneNew/vascellum/health/fat/components/fakeRelationShip.vue b/src/views/interveneNew/vascellum/health/fat/components/fakeRelationShip.vue deleted file mode 100644 index 59a8d61..0000000 --- a/src/views/interveneNew/vascellum/health/fat/components/fakeRelationShip.vue +++ /dev/null @@ -1,450 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/health/fat/components/relationShip.vue b/src/views/interveneNew/vascellum/health/fat/components/relationShip.vue deleted file mode 100644 index 4bb4fa1..0000000 --- a/src/views/interveneNew/vascellum/health/fat/components/relationShip.vue +++ /dev/null @@ -1,114 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/health/fat/components/trueRelationShip.vue b/src/views/interveneNew/vascellum/health/fat/components/trueRelationShip.vue deleted file mode 100644 index b9132e2..0000000 --- a/src/views/interveneNew/vascellum/health/fat/components/trueRelationShip.vue +++ /dev/null @@ -1,262 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/health/fat/fat.api.ts b/src/views/interveneNew/vascellum/health/fat/fat.api.ts deleted file mode 100644 index c709590..0000000 --- a/src/views/interveneNew/vascellum/health/fat/fat.api.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/angiocarpy/bloodSimulate/bloodFatList', - bloodFatCompute = '/health-intervene/angiocarpy/bloodSimulate/bloodFatCompute', -} -//单位 -export const list = (params: {}) => defHttp.post({ url: Api.list + `?pageNo=${params?.pageNo}&pageSize=${params?.pageSize}`, params }); -export const bloodFatCompute = (params: {}) => defHttp.post({ url: Api.bloodFatCompute, params }); diff --git a/src/views/interveneNew/vascellum/health/fat/fat.data.ts b/src/views/interveneNew/vascellum/health/fat/fat.data.ts deleted file mode 100644 index b38842e..0000000 --- a/src/views/interveneNew/vascellum/health/fat/fat.data.ts +++ /dev/null @@ -1,345 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfo, orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import dayjs from 'dayjs'; -import { h } from 'vue'; - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - width: 120, - dataIndex: 'secondDepart', - fixed: 'left', - }, - { - title: '部门名称', - width: 120, - dataIndex: 'thirdDepart', - fixed: 'left', - }, - { - title: '员工姓名', - width: 100, - dataIndex: 'realname', - fixed: 'left', - }, - { - title: '员工工号', - width: 100, - dataIndex: 'workNo', - }, - { - title: '性别', - width: 80, - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - width: 80, - dataIndex: 'age', - }, - { - title: '身高(cm)', - width: 100, - dataIndex: 'height', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '体重(kg)', - width: 100, - dataIndex: 'weight', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: 'BMI', - width: 100, - dataIndex: 'bmi', - }, - { - title: '体力活动', - width: 100, - dataIndex: 'physicalActivity', - }, - { - title: '冠心病确\n诊日期', - dataIndex: 'coronaryHeartDiseaseTime', - width: 120, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '近两次体检数据', - children: [ - { - title: '体检日期一', - dataIndex: ['checkDataList', 0, 'time'], - customRender: ({ text }) => { - return text ? dayjs(text).format('YYYY-MM-DD') : ''; - }, - width: 120, - rewriting: true, - rewroteCell: { - type: 'date', - }, - }, - { - title: '甘油三酯\n(mmol/L)', - width: 120, - dataIndex: ['checkDataList', 0, 'tg'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '总胆固醇\n(mmol/L)', - width: 120, - dataIndex: ['checkDataList', 0, 'tc'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '高密度脂蛋白(mmol/L)', - width: 120, - dataIndex: ['checkDataList', 0, 'hdl'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '低密度脂蛋白(mmol/L)', - width: 120, - dataIndex: ['checkDataList', 0, 'ldl'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '体检日期二', - dataIndex: ['checkDataList', 1, 'time'], - customRender: ({ text }) => { - return text ? dayjs(text).format('YYYY-MM-DD') : ''; - }, - width: 120, - rewriting: true, - rewroteCell: { - type: 'date', - }, - }, - { - title: '甘油三酯\n(mmol/L)', - width: 120, - dataIndex: ['checkDataList', 1, 'tg'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '总胆固醇\n(mmol/L)', - width: 120, - dataIndex: ['checkDataList', 1, 'tc'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '高密度脂蛋白(mmol/L)', - width: 120, - dataIndex: ['checkDataList', 1, 'hdl'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '低密度脂蛋白(mmol/L)', - width: 120, - dataIndex: ['checkDataList', 1, 'ldl'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - ], - }, - { - title: '血压损害血管\n预警值', - width: 120, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ record }) => { - return record?.bfResult?.bfWarning - ? h( - 'span', - { style: { color: getColor(record?.bfResult?.bfWarning?.code) } }, - `${parseInt(record?.bfResult?.bfWarning?.riskValue)}(${record?.bfResult?.bfWarning?.grade})` - ) - : ''; - }, - }, - { - title: '血压损害血管各风险值', - width: 120, - children: [ - { - title: '硬化', - width: 120, - customRender: ({ record }) => { - return record?.bfResult?.sclerosis - ? h( - 'span', - { style: { color: getColor(record?.bfResult?.sclerosis?.code) } }, - `${parseInt(record?.bfResult?.sclerosis?.riskValue)}(${record?.bfResult?.sclerosis?.grade})` - ) - : ''; - }, - }, - { - title: '斑块', - width: 120, - customRender: ({ record }) => { - return record?.bfResult?.plaque - ? h( - 'span', - { style: { color: getColor(record?.bfResult?.plaque?.code) } }, - `${parseInt(record?.bfResult?.plaque?.riskValue)}(${record?.bfResult?.plaque?.grade})` - ) - : ''; - }, - }, - { - title: '血管狭窄', - width: 120, - customRender: ({ record }) => { - return record?.bfResult?.stenosis - ? h( - 'span', - { style: { color: getColor(record?.bfResult?.stenosis?.code) } }, - `${parseInt(record?.bfResult?.stenosis?.riskValue)}(${record?.bfResult?.stenosis?.grade})` - ) - : ''; - }, - }, - { - title: '斑块脱落', - width: 120, - dataIndex: 'cavity', - customRender: ({ record }) => { - return record?.bfResult?.plaqueShedding - ? h( - 'span', - { style: { color: getColor(record?.bfResult?.plaqueShedding?.code) } }, - `${parseInt(record?.bfResult?.plaqueShedding?.riskValue)}(${record?.bfResult?.plaqueShedding?.grade})` - ) - : ''; - }, - }, - ], - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'realname', - label: '员工姓名', - component: 'Input', - }, - { - field: 'workNo', - label: '员工工号', - component: 'Input', - }, - ...orgSearchInfo(), -]; - -function getColor(type) { - type = type * 1; - switch (type) { - case 2: - return '#e99d42'; - case 3: - return 'red'; - } -} diff --git a/src/views/interveneNew/vascellum/health/fat/fatList.vue b/src/views/interveneNew/vascellum/health/fat/fatList.vue deleted file mode 100644 index 4aa478f..0000000 --- a/src/views/interveneNew/vascellum/health/fat/fatList.vue +++ /dev/null @@ -1,173 +0,0 @@ - - - - diff --git a/src/views/interveneNew/vascellum/health/pressure/components/hooks.ts b/src/views/interveneNew/vascellum/health/pressure/components/hooks.ts deleted file mode 100644 index 8260019..0000000 --- a/src/views/interveneNew/vascellum/health/pressure/components/hooks.ts +++ /dev/null @@ -1,34 +0,0 @@ -export function getType(e) { - switch (e) { - case 1: - return '低风险'; - case 2: - return '中风险'; - case 3: - return '高风险'; - } -} - -export function getSpanColor(e) { - switch (e) { - case 1: - return '#00c32d'; - case 2: - return '#e28500'; - case 3: - return '#f10000'; - case 10000: - return '#a3a3a3'; - } -} - -export function getProgessColor(e) { - switch (e) { - case 1: - return ['#00c32d', '#00c32d']; - case 2: - return ['#e28500', '#e28500']; - case 3: - return ['#f10000', '#f10000']; - } -} diff --git a/src/views/interveneNew/vascellum/health/pressure/components/relationShip.vue b/src/views/interveneNew/vascellum/health/pressure/components/relationShip.vue deleted file mode 100644 index c281b29..0000000 --- a/src/views/interveneNew/vascellum/health/pressure/components/relationShip.vue +++ /dev/null @@ -1,488 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/health/pressure/components/relationShipTrue.vue b/src/views/interveneNew/vascellum/health/pressure/components/relationShipTrue.vue deleted file mode 100644 index ac247b7..0000000 --- a/src/views/interveneNew/vascellum/health/pressure/components/relationShipTrue.vue +++ /dev/null @@ -1,281 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/health/pressure/pressure.api.ts b/src/views/interveneNew/vascellum/health/pressure/pressure.api.ts deleted file mode 100644 index 13331c1..0000000 --- a/src/views/interveneNew/vascellum/health/pressure/pressure.api.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/angiocarpy/bloodSimulate/bloodPressureList', - bloodPressureCompute = '/health-intervene/angiocarpy/bloodSimulate/bloodPressureCompute', - vascularSimulationGif = '/health-intervene/api/intervene/vascular/vascularSimulationGif', -} -//单位 -export const list = (params: {}) => defHttp.post({ url: Api.list + `?pageNo=${params?.pageNo}&pageSize=${params?.pageSize}`, params }); -export const bloodPressureCompute = (params: {}) => defHttp.post({ url: Api.bloodPressureCompute, params }); - -export const vascularSimulationGifApi = (params: {}) => defHttp.get({ url: Api.vascularSimulationGif, params }, { successNeedMessage: false }); diff --git a/src/views/interveneNew/vascellum/health/pressure/pressure.data.ts b/src/views/interveneNew/vascellum/health/pressure/pressure.data.ts deleted file mode 100644 index daaed8b..0000000 --- a/src/views/interveneNew/vascellum/health/pressure/pressure.data.ts +++ /dev/null @@ -1,202 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfo, orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import dayjs from 'dayjs'; -import { h } from 'vue'; - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'secondDepart', - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'thirdDepart', - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'realname', - fixed: 'left', - }, - { - title: '员工工号', - dataIndex: 'workNo', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - dataIndex: 'age', - }, - { - title: '身高(cm)', - dataIndex: 'height', - }, - { - title: '体重(kg)', - dataIndex: 'weight', - }, - { - title: 'BMI', - dataIndex: 'bmi', - }, - { - title: '体力活动', - dataIndex: 'physicalActivity', - }, - { - title: '高血压确\n诊日期', - dataIndex: 'diagnosisTime', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '近两次体检数据', - children: [ - { - title: '体检日期一', - dataIndex: ['checkDataList', 0, 'time'], - customRender: ({ text }) => { - return text ? dayjs(text).format('YYYY-MM-DD') : ''; - }, - width: 120, - rewriting: true, - rewroteCell: { - type: 'date', - }, - }, - { - title: '收缩压', - dataIndex: ['checkDataList', 0, 'sbp'], - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '体检日期二', - dataIndex: ['checkDataList', 1, 'time'], - customRender: ({ text }) => { - return text ? dayjs(text).format('YYYY-MM-DD') : ''; - }, - width: 120, - rewriting: true, - rewroteCell: { - type: 'date', - }, - }, - { - title: '收缩压', - dataIndex: ['checkDataList', 1, 'sbp'], - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - ], - }, - { - title: '血压损害血管\n预警值', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ record }) => { - return record?.bpResult?.bpWarning - ? h( - 'span', - { style: { color: getColor(record?.bpResult?.bpWarning?.code) } }, - `${parseInt(record?.bpResult?.bpWarning?.riskValue)}(${record?.bpResult?.bpWarning?.grade})` - ) - : ''; - }, - }, - { - title: '血压损害血管各风险值', - children: [ - { - title: '硬化', - customRender: ({ record }) => { - return record?.bpResult?.sclerosis - ? h( - 'span', - { style: { color: getColor(record?.bpResult?.sclerosis?.code) } }, - `${parseInt(record?.bpResult?.sclerosis?.riskValue)}(${record?.bpResult?.sclerosis?.grade})` - ) - : ''; - }, - }, - { - title: '脆化', - customRender: ({ record }) => { - return record?.bpResult?.fragility - ? h( - 'span', - { style: { color: getColor(record?.bpResult?.fragility?.code) } }, - `${parseInt(record?.bpResult?.fragility?.riskValue)}(${record?.bpResult?.fragility?.grade})` - ) - : ''; - }, - }, - { - title: '破裂出血', - customRender: ({ record }) => { - return record?.bpResult?.rupture - ? h( - 'span', - { style: { color: getColor(record?.bpResult?.rupture?.code) } }, - `${parseInt(record?.bpResult?.rupture?.riskValue)}(${record?.bpResult?.rupture?.grade})` - ) - : ''; - }, - }, - { - title: '脱落腔梗', - dataIndex: 'cavity', - customRender: ({ record }) => { - return record?.bpResult?.plaqueShedding - ? h( - 'span', - { style: { color: getColor(record?.bpResult?.plaqueShedding?.code) } }, - `${parseInt(record?.bpResult?.plaqueShedding?.riskValue)}(${record?.bpResult?.plaqueShedding?.grade})` - ) - : ''; - }, - }, - ], - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'realname', - label: '员工姓名', - component: 'Input', - }, - { - field: 'workNo', - label: '员工工号', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2'), -]; - -function getColor(type) { - type = type * 1; - switch (type) { - case 2: - return '#e99d42'; - case 3: - return 'red'; - } -} diff --git a/src/views/interveneNew/vascellum/health/pressure/pressureList.vue b/src/views/interveneNew/vascellum/health/pressure/pressureList.vue deleted file mode 100644 index a8a31b2..0000000 --- a/src/views/interveneNew/vascellum/health/pressure/pressureList.vue +++ /dev/null @@ -1,156 +0,0 @@ - - - - diff --git a/src/views/interveneNew/vascellum/health/stress/stress.api.ts b/src/views/interveneNew/vascellum/health/stress/stress.api.ts deleted file mode 100644 index 6ab1f4b..0000000 --- a/src/views/interveneNew/vascellum/health/stress/stress.api.ts +++ /dev/null @@ -1,5 +0,0 @@ -import {defHttp} from '/@/utils/http/axios' -enum Api{ - list='/intervene/vascularFocusUser/pageCustom' -} -export const list = (params: any) =>defHttp.get({url: Api.list, params}) diff --git a/src/views/interveneNew/vascellum/health/stress/stress.data.ts b/src/views/interveneNew/vascellum/health/stress/stress.data.ts deleted file mode 100644 index 3aca0d5..0000000 --- a/src/views/interveneNew/vascellum/health/stress/stress.data.ts +++ /dev/null @@ -1,324 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import { h } from 'vue'; - -const customStyle = { - style: { - whiteSpace: 'pre-wrap', - }, -}; -interface Option { - label: string; - value: string; -} -const colorTextType = [ - { - label: '低', - value: '#000', - }, - { - label: '中', - value: '#ffa500', - }, - { - label: '高', - value: '#f00', - }, -]; -export function findColor(text: string) { - const color = '#000'; - if (!text) { - return color; - } - const f: Option = colorTextType.find((item) => text.includes(item.label)) || { label: '', value: '' }; - return f?.value ? f.value : color; -} -function renderText(text: string) { - return h('span', { style: { color: findColor(text) } }, text); -} -export const columns: BasicColumn[] = [ - { - title: '单位名称', - dataIndex: 'secondDepart', - width: 120, - fixed: 'left', - }, - { - title: '部门名称', - dataIndex: 'thirdDepart', - width: 120, - fixed: 'left', - }, - { - title: '员工姓名', - dataIndex: 'realname', - width: 120, - fixed: 'left', - }, - { - title: '员工工号', - dataIndex: 'workNo', - width: 120, - }, - { - title: '性别', - dataIndex: 'sex_dictText', - width: 60, - }, - { - title: '年龄', - dataIndex: 'age', - width: 60, - }, - { - title: '身高(cm)', - dataIndex: 'height', - width: 100, - }, - { - title: '体重(kg)', - dataIndex: 'weight', - width: 100, - }, - { - title: 'BMI', - dataIndex: 'bmi', - width: 100, - }, - { - title: '体力活动', - dataIndex: 'physicalActivity', - width: 100, - }, - { - title: '疾病确诊日期', - dataIndex: 'AA', - children: [ - { - title: '高血压', - width: 100, - dataIndex: 'hypertensionDiagnosisDate', - }, - { - title: '糖尿病', - width: 100, - dataIndex: 'hypertensionDiagnosisHospital', - }, - { - title: '冠心病', - width: 100, - dataIndex: 'hypertension', - }, - ], - }, - { - title: '近两次体检数据', - dataIndex: 'BB', - children: [ - { - title: '体检日期一', - dataIndex: 'checkTimeOne', - width: 150, - }, - { - title: '收缩压\n(mmHg)', - width: 120, - dataIndex: 'sbpOne', - customHeaderCell: () => { - return customStyle; - }, - }, - { - title: '空腹血糖\n(mmol/L)', - width: 120, - dataIndex: 'fbsOne', - customHeaderCell: () => { - return customStyle; - }, - }, - { - title: '甘油三酯\n(mmol/L)', - width: 120, - dataIndex: 'tgOne', - customHeaderCell: () => { - return customStyle; - }, - }, - { - title: '总胆固醇\n(mmol/L)', - width: 120, - dataIndex: 'tcOne', - customHeaderCell: () => { - return customStyle; - }, - }, - { - title: '高密度脂蛋白\n(mmol/L)', - width: 130, - dataIndex: 'hdlOne', - customHeaderCell: () => { - return customStyle; - }, - }, - { - title: '低密度脂蛋白\n(mmol/L)', - width: 130, - dataIndex: 'ldlOne', - customHeaderCell: () => { - return customStyle; - }, - }, - { - title: '体检日期二', - width: 150, - dataIndex: 'checkTimeTwo', - }, - { - title: '收缩压\n(mmHg)', - width: 120, - dataIndex: 'sbpTwo', - customHeaderCell: () => { - return customStyle; - }, - }, - { - title: '空腹血糖\n(mmol/L)', - width: 120, - dataIndex: 'fbsTwo', - customHeaderCell: () => { - return customStyle; - }, - }, - { - title: '甘油三酯\n(mmol/L)', - width: 120, - dataIndex: 'tgTwo', - customHeaderCell: () => { - return customStyle; - }, - }, - { - title: '总胆固醇\n(mmol/L)', - width: 120, - dataIndex: 'tcTwo', - customHeaderCell: () => { - return customStyle; - }, - }, - { - title: '高密度脂蛋白\n(mmol/L)', - width: 130, - dataIndex: 'hdlTwo', - customHeaderCell: () => { - return customStyle; - }, - }, - { - title: '低密度脂蛋白\n(mmol/L)', - width: 130, - dataIndex: 'ldlTwo', - customHeaderCell: () => { - return customStyle; - }, - }, - ], - }, - { - title: '血管综合风险', - dataIndex: 'compositeRisk', - width: 120, - }, - { - title: '血管单项风险值', - dataIndex: 'CC', - children: [ - { - title: '硬化', - dataIndex: 'harden', - width: 80, - customRender: ({ record }) => { - return renderText(record?.['harden']); - }, - }, - { - title: '脆化', - dataIndex: 'brittle', - width: 80, - customRender: ({ record }) => { - return renderText(record?.['brittle']); - }, - }, - { - title: '糖化', - dataIndex: 'saccharify', - width: 80, - customRender: ({ record }) => { - return renderText(record?.['saccharify']); - }, - }, - { - title: '变性', - dataIndex: 'denaturation', - width: 80, - customRender: ({ record }) => { - return renderText(record?.['denaturation']); - }, - }, - { - title: '坏死', - dataIndex: 'necrosis', - width: 80, - customRender: ({ record }) => { - return renderText(record?.['necrosis']); - }, - }, - { - title: '斑块', - dataIndex: 'patch', - width: 80, - customRender: ({ record }) => { - return renderText(record?.['patch']); - }, - }, - { - title: '狭窄', - dataIndex: 'stricture', - width: 80, - customRender: ({ record }) => { - return renderText(record?.['stricture']); - }, - }, - { - title: '脱落', - dataIndex: 'fallOff', - width: 80, - customRender: ({ record }) => { - return renderText(record?.['fallOff']); - }, - }, - { - title: '出血', - dataIndex: 'hemorrhage', - width: 80, - customRender: ({ record }) => { - return renderText(record?.['hemorrhage']); - }, - }, - ], - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'realName', - label: '员工姓名', - component: 'Input', - colProps: { span: 8 }, - }, - { - field: 'workNo', - label: '员工工号', - component: 'Input', - colProps: { span: 8 }, - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2', 'orgCode'), -]; diff --git a/src/views/interveneNew/vascellum/health/stress/stressList.vue b/src/views/interveneNew/vascellum/health/stress/stressList.vue deleted file mode 100644 index ba653f5..0000000 --- a/src/views/interveneNew/vascellum/health/stress/stressList.vue +++ /dev/null @@ -1,26 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/health/sugar/components/fakeRelationShip.vue b/src/views/interveneNew/vascellum/health/sugar/components/fakeRelationShip.vue deleted file mode 100644 index f0b2447..0000000 --- a/src/views/interveneNew/vascellum/health/sugar/components/fakeRelationShip.vue +++ /dev/null @@ -1,341 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/health/sugar/components/relationShip.vue b/src/views/interveneNew/vascellum/health/sugar/components/relationShip.vue deleted file mode 100644 index 951b31e..0000000 --- a/src/views/interveneNew/vascellum/health/sugar/components/relationShip.vue +++ /dev/null @@ -1,118 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/health/sugar/components/trueRelationShip.vue b/src/views/interveneNew/vascellum/health/sugar/components/trueRelationShip.vue deleted file mode 100644 index 66c0317..0000000 --- a/src/views/interveneNew/vascellum/health/sugar/components/trueRelationShip.vue +++ /dev/null @@ -1,241 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/health/sugar/sugar.api.ts b/src/views/interveneNew/vascellum/health/sugar/sugar.api.ts deleted file mode 100644 index a04429c..0000000 --- a/src/views/interveneNew/vascellum/health/sugar/sugar.api.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/health-intervene/angiocarpy/bloodSimulate/bloodSugarList', - bloodSugarCompute = '/health-intervene/angiocarpy/bloodSimulate/bloodSugarCompute', -} -//单位 -export const list = (params: {}) => defHttp.post({ url: Api.list + `?pageNo=${params?.pageNo}&pageSize=${params?.pageSize}`, params }); -export const bloodSugarCompute = (params: {}) => defHttp.post({ url: Api.bloodSugarCompute, params }); diff --git a/src/views/interveneNew/vascellum/health/sugar/sugar.data.ts b/src/views/interveneNew/vascellum/health/sugar/sugar.data.ts deleted file mode 100644 index e48b858..0000000 --- a/src/views/interveneNew/vascellum/health/sugar/sugar.data.ts +++ /dev/null @@ -1,249 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { orgSearchInfo, orgSearchInfoByCode } from '/@/utils/orgSearchInfo'; -import dayjs from 'dayjs'; -import { h } from 'vue'; - -export const columns: BasicColumn[] = [ - { - title: '单位名称', - width: 120, - dataIndex: 'secondDepart', - fixed: 'left', - }, - { - title: '部门名称', - width: 120, - dataIndex: 'thirdDepart', - fixed: 'left', - }, - { - title: '员工姓名', - width: 120, - dataIndex: 'realname', - fixed: 'left', - }, - { - title: '员工工号', - width: 120, - dataIndex: 'workNo', - }, - { - title: '性别', - width: 80, - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - width: 80, - dataIndex: 'age', - }, - { - title: '身高(cm)', - width: 100, - dataIndex: 'height', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '体重(kg)', - width: 100, - dataIndex: 'weight', - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: 'BMI', - width: 100, - dataIndex: 'bmi', - }, - { - title: '体力活动', - width: 100, - dataIndex: 'physicalActivity', - }, - { - title: '糖尿病确\n诊日期', - dataIndex: 'diabetesTime', - width: 120, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - }, - { - title: '近两次体检数据', - children: [ - { - title: '体检日期一', - dataIndex: ['checkDataList', 0, 'time'], - customRender: ({ text }) => { - return text ? dayjs(text).format('YYYY-MM-DD') : ''; - }, - width: 120, - rewriting: true, - rewroteCell: { - type: 'date', - }, - }, - { - title: '空腹血糖', - width: 120, - dataIndex: ['checkDataList', 0, 'fpg'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - { - title: '体检日期二', - dataIndex: ['checkDataList', 1, 'time'], - customRender: ({ text }) => { - return text ? dayjs(text).format('YYYY-MM-DD') : ''; - }, - width: 120, - rewriting: true, - rewroteCell: { - type: 'date', - }, - }, - { - title: '空腹血糖', - width: 120, - dataIndex: ['checkDataList', 1, 'fpg'], - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - rewriting: true, - rewroteCell: { - type: 'inputNumber', - }, - }, - ], - }, - { - title: '血压损害血管\n预警值', - width: 120, - customHeaderCell: () => { - return { - style: { - whiteSpace: 'pre-wrap', - }, - }; - }, - customRender: ({ record }) => { - return record?.bgResult?.bgWarning - ? h( - 'span', - { style: { color: getColor(record?.bgResult?.bgWarning?.code) } }, - `${parseInt(record?.bgResult?.bgWarning?.riskValue)}(${record?.bgResult?.bgWarning?.grade})` - ) - : ''; - }, - }, - { - title: '血压损害血管各风险值', - width: 120, - children: [ - { - title: '糖化', - width: 120, - customRender: ({ record }) => { - return record?.bgResult?.glycosylation - ? h( - 'span', - { style: { color: getColor(record?.bgResult?.glycosylation?.code) } }, - `${parseInt(record?.bgResult?.glycosylation?.riskValue)}(${record?.bgResult?.glycosylation?.grade})` - ) - : ''; - }, - }, - { - title: '变性', - width: 120, - customRender: ({ record }) => { - return record?.bgResult?.degeneration - ? h( - 'span', - { style: { color: getColor(record?.bgResult?.degeneration?.code) } }, - `${parseInt(record?.bgResult?.degeneration?.riskValue)}(${record?.bgResult?.degeneration?.grade})` - ) - : ''; - }, - }, - { - title: '坏死', - width: 120, - customRender: ({ record }) => { - return record?.bgResult?.angionecrosis - ? h( - 'span', - { style: { color: getColor(record?.bgResult?.angionecrosis?.code) } }, - `${parseInt(record?.bgResult?.angionecrosis?.riskValue)}(${record?.bgResult?.angionecrosis?.grade})` - ) - : ''; - }, - }, - { - title: '出血', - width: 120, - dataIndex: 'cavity', - customRender: ({ record }) => { - return record?.bgResult?.rupture - ? h( - 'span', - { style: { color: getColor(record?.bgResult?.rupture?.code) } }, - `${parseInt(record?.bgResult?.rupture?.riskValue)}(${record?.bgResult?.rupture?.grade})` - ) - : ''; - }, - }, - ], - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'realname', - label: '员工姓名', - component: 'Input', - }, - { - field: 'workNo', - label: '员工工号', - component: 'Input', - }, - ...orgSearchInfoByCode('orgCode1', 'orgCode2'), -]; - -function getColor(type) { - type = type * 1; - switch (type) { - case 2: - return '#e99d42'; - case 3: - return 'red'; - } -} diff --git a/src/views/interveneNew/vascellum/health/sugar/sugarList.vue b/src/views/interveneNew/vascellum/health/sugar/sugarList.vue deleted file mode 100644 index 5f79320..0000000 --- a/src/views/interveneNew/vascellum/health/sugar/sugarList.vue +++ /dev/null @@ -1,158 +0,0 @@ - - - - diff --git a/src/views/interveneNew/vascellum/health/video/components/vascularHealthVideoDrawer.vue b/src/views/interveneNew/vascellum/health/video/components/vascularHealthVideoDrawer.vue deleted file mode 100644 index 6475644..0000000 --- a/src/views/interveneNew/vascellum/health/video/components/vascularHealthVideoDrawer.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - diff --git a/src/views/interveneNew/vascellum/health/video/video.api.ts b/src/views/interveneNew/vascellum/health/video/video.api.ts deleted file mode 100644 index 856b2d5..0000000 --- a/src/views/interveneNew/vascellum/health/video/video.api.ts +++ /dev/null @@ -1,27 +0,0 @@ -import {defHttp} from '/@/utils/http/axios' -import { useMessage } from "/@/hooks/web/useMessage"; -const {createConfirm}=useMessage() -export enum Api { - list = '/health-intervene/angiocarpy/vascularVideo/list', - add = '/health-intervene/angiocarpy/vascularVideo/add', - edit = '/health-intervene/angiocarpy/vascularVideo/edit', - deleteOne = '/health-intervene/angiocarpy/vascularVideo/delete', -} -export const list = (params:any) => defHttp.get({ url: Api.list, params }) -export const saveOrUpdate = (params:any,isUpdate:boolean) => { - let url = isUpdate ? Api.edit : Api.add - return defHttp.post({ url: url, params }) - } -export const deleteOne = (params:any,handleSuccess:Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: async () => { - await defHttp.delete({url: Api.deleteOne, data: params}, {joinParamsToUrl: true}); - handleSuccess(); - } - }) -} diff --git a/src/views/interveneNew/vascellum/health/video/video.data.ts b/src/views/interveneNew/vascellum/health/video/video.data.ts deleted file mode 100644 index 589e2a8..0000000 --- a/src/views/interveneNew/vascellum/health/video/video.data.ts +++ /dev/null @@ -1,110 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import moment from 'moment'; - -function formatTime(time: string) { - if (!time) return ''; - return moment(time).format('YYYY-MM-DD'); -} -export const columns: BasicColumn[] = [ - { - title: '视频名称', - dataIndex: 'name', - }, - { - title: '内容简介', - dataIndex: 'state', - }, - { - title: '制作日期', - dataIndex: 'time', - customRender: ({ record }) => { - return formatTime(record?.['time']); - }, - }, - { - title: '排序', - dataIndex: 'videoOrder', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - field: 'name', - component: 'Input', - label: '视频名称', - }, -]; -export const formSchema: FormSchema[] = [ - { - field: 'name', - component: 'Input', - label: '视频名称', - required: true, - }, - { - field: 'videoImg', - component: 'JImageUpload', - componentProps: () => { - return { - accept: '.jpg,.png', - maxCount: 1, - tipText: '支持扩展名:.jpg,.png', - }; - }, - label: '视频封面', - required: true, - }, - { - field: 'videoUrl', - component: 'JUpload', - componentProps: () => { - return { - accept: '.mp4,video/mp4', - maxCount: 1, - tipText: '支持扩展名:.mp4', - }; - }, - label: '视频文件', - required: true, - }, - { - field: 'state', - label: '内容简介', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 4, - }; - }, - }, - { - field: 'time', - label: '制作日期', - component: 'DatePicker', - componentProps: () => { - return { - format: 'YYYY-MM-DD', - valueFormat: 'YYYY-MM-DD', - }; - }, - required: true, - }, - { - field: 'videoOrder', - component: 'InputNumber', - componentProps: () => { - return { - style: { - width: '149px', - }, - }; - }, - label: '排序', - required: true, - }, - { - field: 'id', - label: 'id', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/interveneNew/vascellum/health/video/videoList.vue b/src/views/interveneNew/vascellum/health/video/videoList.vue deleted file mode 100644 index 8886d4e..0000000 --- a/src/views/interveneNew/vascellum/health/video/videoList.vue +++ /dev/null @@ -1,77 +0,0 @@ - - - diff --git a/src/views/medical/appointment/components/physicalModal/PhysicalModal.vue b/src/views/medical/appointment/components/physicalModal/PhysicalModal.vue deleted file mode 100644 index 506c366..0000000 --- a/src/views/medical/appointment/components/physicalModal/PhysicalModal.vue +++ /dev/null @@ -1,11 +0,0 @@ - - - - - diff --git a/src/views/medical/appointment/empDefendCancer/EmpDefendCancer.api.ts b/src/views/medical/appointment/empDefendCancer/EmpDefendCancer.api.ts deleted file mode 100644 index bdee4eb..0000000 --- a/src/views/medical/appointment/empDefendCancer/EmpDefendCancer.api.ts +++ /dev/null @@ -1,116 +0,0 @@ - import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/empDefendCancer/list', - save = '/medical/empDefendCancer/add', - edit = '/medical/empDefendCancer/edit', - deleteOne = '/medical/empDefendCancer/delete', - deleteBatch = '/medical/empDefendCancer/deleteBatch', - importExcel = '/medical/empDefendCancer/importExcel', - selectEmpList = '/medical/empDefendCancer/selectEmp', - // exportXls = '/medical/empDefendCancer/exportXls', - exportXls = '/cqyt/medical/empDefendCancer/exportXls', - queryById = '/medical/empDefendCancer/queryById', - getPlan = '/medical/plan/get', - saveSelectEmp = '/medical/empDefendCancer/saveSelectEmp', - autoAddEmpDefendCancer = '/cqyt/medical/empDefendCancer/autoAddEmpDefendCancer', - commonExportsInfo = '/sys/common/commonExportsInfo/list', //获取导出记录 - exportTempXls = '/medical/empDefendCancer/exportTemp', - checkData = '/medical/empDefendCancer/checkData', - updateData = '/medical/empDefendCancer/updateData', -} - - export const getExportTempUrl = Api.exportTempXls; - export const checkDataUrl = Api.checkData; - export const updateDataUrl = Api.updateData; -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 编辑请求数据 - * @param params - */ -export const resDataEdit = (params) => defHttp.get({ url: Api.queryById, params }); -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 防癌筛查人员列表接口 - * @param params - */ -export const selectEmpList = (params) => defHttp.get({ url: Api.selectEmpList, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -export const getPlanApi = (params) => { - return defHttp.get({ url: Api.getPlan, params }); -}; - -export const saveSelectEmpApi = (params) => { - return defHttp.post({ url: Api.saveSelectEmp, params }); -}; - -export const autoAddEmpDefendCancerApi = (params) => { - const u = Api.autoAddEmpDefendCancer + `?secondDepartId=${params.secondDepartId}`; - return defHttp.post({ url: u, params }); -}; - -export const exportXlsApi = (params) => { - return defHttp.get({ url: Api.exportXls, params }); -}; -export const commonExportsInfoApi = (params) => { - return defHttp.get({ url: Api.commonExportsInfo, params }); -}; diff --git a/src/views/medical/appointment/empDefendCancer/EmpDefendCancer.data.ts b/src/views/medical/appointment/empDefendCancer/EmpDefendCancer.data.ts deleted file mode 100644 index c2b8b28..0000000 --- a/src/views/medical/appointment/empDefendCancer/EmpDefendCancer.data.ts +++ /dev/null @@ -1,337 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { message } from 'ant-design-vue'; -import { getMedicalSecondDeparts, getMedicalThirdDeparts } from '/@/views/system/user/user.api'; -import moment from 'moment'; -import { getPlanApi } from '/@/views/medical/appointment/empOccupational/EmpOccupational.api'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'realname', - }, - { - title: '员工编号', - align: 'center', - dataIndex: 'workNo', - }, - { - title: '身份证号', - align: 'center', - dataIndex: 'empIdcard', - width: '500', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - }, - { - title: '手机号', - align: 'center', - dataIndex: 'mobilePhone', - }, - { - title: '单位', - align: 'center', - dataIndex: 'secondDepartName', - }, - { - title: '部门', - align: 'center', - dataIndex: 'departname', - }, - { - title: '体检年度', - align: 'center', - dataIndex: 'medicalYear', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, - { - title: '体检计划', - align: 'center', - dataIndex: 'planName', - }, - { - title: '体检计划单位', - align: 'center', - dataIndex: 'secondDepartName', - }, - { - title: '年龄范围', - align: 'center', - dataIndex: 'medicalAgeArea', - customRender: ({ text }) => { - return render.renderDict(text, 'prevent_can_age_area'); - }, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, - { - title: '防癌类型', - align: 'center', - dataIndex: 'cancerType', - customRender: ({ text }) => { - return render.renderDict(text, 'cancer_type'); - }, - }, - { - title: '上一年检查情况', - children: [ - { - title: '防癌检查年份', - align: 'center', - dataIndex: 'checkYear', - }, - { - title: 'Septin9是否已检', - align: 'center', - dataIndex: 'septin9IzCheckd', - }, - { - title: 'Septin9检查异常', - align: 'center', - dataIndex: 'septin9Result', - }, - { - title: 'Septin9项目值', - align: 'center', - dataIndex: 'septin9Value', - }, - { - title: 'CA724是否已检', - align: 'center', - dataIndex: 'ca724IzCheckd', - }, - { - title: 'CA724检查异常', - align: 'center', - dataIndex: 'ca724Result', - }, - { - title: 'CA724项目值', - align: 'center', - dataIndex: 'ca724Value', - }, - ], - }, -]; - -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '员工编号', - field: 'workNo', - component: 'Input', - }, - { - label: '身份证号', - field: 'empIdcard', - component: 'Input', - }, - { - label: '年龄范围', - field: 'medicalAgeArea', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'prevent_can_age_area', - }, - }, - { - label: '年龄', - field: 'age', - component: 'Input', - slot: 'ageTemplate', - }, - { - label: '防癌类型', - field: 'cancerType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'cancer_type', - }, - }, - { - label: '单位', - field: 'secondDepartId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - // const { secondSelectValue, secondSelectDisabled } = useDepartment({ schema, key: 'id' }); - // secondSelectValue(); - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - onChange: (val) => { - if (val) { - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - } - }, - onDeselect: () => { - formModel.thirdDepartId = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - // disabled: secondSelectDisabled, - }; - }, - }, - { - label: '部门', - field: 'thirdDepartId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getMedicalThirdDeparts, - resultField: 'list', - labelField: 'departName', - params: { - secondDepartId: formModel?.secondDepartId || '', - }, - valueField: 'id', - onFocus: () => { - if (!formModel.secondDepartId) { - return message.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '体检计划', - field: 'planName', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getPlanApi, - labelField: 'planTitle', - valueField: 'id', - params: { - secondDepartId: getSecond(formModel), - }, - }; - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY', - picker: 'year', - }, - defaultValue: moment(new Date()).format('YYYY'), - }, -]; -const getSecond = (formModel) => { - return formModel.hasOwnProperty('secondDepartId') && formModel.secondDepartId !== '' && formModel.secondDepartId !== undefined - ? formModel.secondDepartId - : 'dw&*^^'; -}; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - componentProps: { - disabled: true, - }, - }, - { - label: '员工身份证号', - field: 'empIdcard', - component: 'Input', - componentProps: { - disabled: true, - }, - }, - { - label: '所属部门', - field: 'departInfo', - component: 'Input', - componentProps: { - disabled: true, - }, - }, - { - label: '防癌类型', - field: 'cancerType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'cancer_type', - }, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; -// 编辑禁用 -export const editDisabled: FormSchema[] = [ - { - label: '员工姓名', - field: 'realname', - component: 'Input', - componentProps: { disabled: true }, - }, - { - label: '员工身份证号', - field: 'empIdcard', - component: 'Input', - componentProps: { disabled: true }, - }, - { - label: '所属部门', - field: 'departname', - component: 'Input', - componentProps: { disabled: true }, - }, - { - label: '防癌类型', - field: 'cancerType', - component: 'JDictSelectTag', - required: true, - componentProps: { - dictCode: 'cancer_type', - }, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/appointment/empDefendCancer/EmpDefendCancerList.vue b/src/views/medical/appointment/empDefendCancer/EmpDefendCancerList.vue deleted file mode 100644 index 7432143..0000000 --- a/src/views/medical/appointment/empDefendCancer/EmpDefendCancerList.vue +++ /dev/null @@ -1,334 +0,0 @@ - - - - - diff --git a/src/views/medical/appointment/empDefendCancer/components/EmpDefendCancerForm.vue b/src/views/medical/appointment/empDefendCancer/components/EmpDefendCancerForm.vue deleted file mode 100644 index 5129da9..0000000 --- a/src/views/medical/appointment/empDefendCancer/components/EmpDefendCancerForm.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - diff --git a/src/views/medical/appointment/empDefendCancer/components/EmpDefendCancerModal.vue b/src/views/medical/appointment/empDefendCancer/components/EmpDefendCancerModal.vue deleted file mode 100644 index 1b367ce..0000000 --- a/src/views/medical/appointment/empDefendCancer/components/EmpDefendCancerModal.vue +++ /dev/null @@ -1,74 +0,0 @@ - - - - - diff --git a/src/views/medical/appointment/empDefendCancer/components/EmpDefendCancerNowModal.vue b/src/views/medical/appointment/empDefendCancer/components/EmpDefendCancerNowModal.vue deleted file mode 100644 index 0bfc60a..0000000 --- a/src/views/medical/appointment/empDefendCancer/components/EmpDefendCancerNowModal.vue +++ /dev/null @@ -1,288 +0,0 @@ - - - diff --git a/src/views/medical/appointment/empDefendCancer/components/selectList/table.vue b/src/views/medical/appointment/empDefendCancer/components/selectList/table.vue deleted file mode 100644 index fe88b59..0000000 --- a/src/views/medical/appointment/empDefendCancer/components/selectList/table.vue +++ /dev/null @@ -1,255 +0,0 @@ - - - diff --git a/src/views/medical/appointment/empDefendCancerCount/EmpDefendCancerCount.api.ts b/src/views/medical/appointment/empDefendCancerCount/EmpDefendCancerCount.api.ts deleted file mode 100644 index 16fdcbc..0000000 --- a/src/views/medical/appointment/empDefendCancerCount/EmpDefendCancerCount.api.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/medical/empDefendCancer/counts', - exportCounts = '/medical/empDefendCancer/exportCounts', -} - -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -export const exportCountApi = (params) => { - return defHttp.get({ url: Api.exportCounts, params }); -}; - diff --git a/src/views/medical/appointment/empDefendCancerCount/EmpDefendCancerCount.data.ts b/src/views/medical/appointment/empDefendCancerCount/EmpDefendCancerCount.data.ts deleted file mode 100644 index 32749e2..0000000 --- a/src/views/medical/appointment/empDefendCancerCount/EmpDefendCancerCount.data.ts +++ /dev/null @@ -1,143 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getMedicalSecondDeparts, getPhysicalHospitalsList } from '/@/views/system/user/user.api'; -import moment from 'moment'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '单位', - align: 'center', - dataIndex: 'planDeptName', - }, - { - title: '签约医院', - align: 'center', - dataIndex: 'contractHospitalName', - }, - { - title: '体检年份', - align: 'center', - dataIndex: 'medicalYear', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, - { - title: 'Septin9', - children: [ - { - title: '已选项目人数', - align: 'center', - dataIndex: 's9Select', - }, - { - title: '预约人数', - align: 'center', - dataIndex: 's9Order', - }, - { - title: '已检项目人数', - align: 'center', - dataIndex: 's9Checked', - }, - ], - }, - { - title: 'CA724', - children: [ - { - title: '已选项目人数', - align: 'center', - dataIndex: 'c7Select', - }, - { - title: '预约人数', - align: 'center', - dataIndex: 'c7Order', - }, - { - title: '已检项目人数', - align: 'center', - dataIndex: 'c7Checked', - }, - ], - }, - { - title: 'Septin9+CA724', - children: [ - { - title: '已选项目人数', - align: 'center', - dataIndex: 'bothSelect', - }, - { - title: '预约人数', - align: 'center', - dataIndex: 'bothOrder', - }, - { - title: '已检项目人数', - align: 'center', - dataIndex: 'bothChecked', - }, - ], - }, -]; - -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '签约医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, - { - label: '单位', - field: 'planDeptId', - component: 'ApiSelect', - componentProps: ({}) => { - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - }; - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY', - picker: 'year', - }, - defaultValue: moment(new Date()).format('YYYY'), - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/appointment/empDefendCancerCount/EmpDefendCancerCountList.vue b/src/views/medical/appointment/empDefendCancerCount/EmpDefendCancerCountList.vue deleted file mode 100644 index 3370b9c..0000000 --- a/src/views/medical/appointment/empDefendCancerCount/EmpDefendCancerCountList.vue +++ /dev/null @@ -1,98 +0,0 @@ - - - - - diff --git a/src/views/medical/appointment/empDefendCancerCount/components/EmpDefendCancerCountForm.vue b/src/views/medical/appointment/empDefendCancerCount/components/EmpDefendCancerCountForm.vue deleted file mode 100644 index c99e812..0000000 --- a/src/views/medical/appointment/empDefendCancerCount/components/EmpDefendCancerCountForm.vue +++ /dev/null @@ -1,62 +0,0 @@ - - - diff --git a/src/views/medical/appointment/empDefendCancerCount/components/EmpDefendCancerCountModal.vue b/src/views/medical/appointment/empDefendCancerCount/components/EmpDefendCancerCountModal.vue deleted file mode 100644 index 9605d57..0000000 --- a/src/views/medical/appointment/empDefendCancerCount/components/EmpDefendCancerCountModal.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - - - diff --git a/src/views/medical/appointment/empOccupational/EmpOccupational.api.ts b/src/views/medical/appointment/empOccupational/EmpOccupational.api.ts deleted file mode 100644 index 616a67f..0000000 --- a/src/views/medical/appointment/empOccupational/EmpOccupational.api.ts +++ /dev/null @@ -1,136 +0,0 @@ -import {defHttp} from '/@/utils/http/axios'; -import {useMessage} from "/@/hooks/web/useMessage"; - -const {createConfirm} = useMessage(); - -enum Api { - list = '/medical/empOccupational/list', - save = '/medical/empOccupational/add', - edit = '/medical/empOccupational/edit', - deleteOne = '/medical/empOccupational/delete', - deleteBatch = '/medical/empOccupational/deleteBatch', - exportXls = '/medical/empOccupational/exportXls', - secondDepart = '/sys/sysDepart/allSecondaryDeparts', - selectEmp = '/medical/empOccupational/selectEmp', - getPlan = '/medical/plan/get', - saveSelectEmp = '/medical/empOccupational/saveSelectEmp', //添加本次职业检查人员 - getUpdateEmpDetail = '/medical/empOccupational/getUpdateEmpDetail', //获取员工详细信息 - lookRes = '/sys/common/commonExportsInfo/list', - automatic = '/medical/empOccupational/autoAdd', - importUserInfo = '/medical/empOccupational/importExcel', - checkData = '/medical/empOccupational/checkData', - updateData = '/medical/empOccupational/updateData', -} -/** - * 导入职业体检员工信息 - */ -export const getImportUrl = Api.importUserInfo; -export const checkDataUrl = Api.checkData; -export const updateDataUrl = Api.updateData; - -export const viewExport = (params) => defHttp.get({ url: Api.lookRes, params }); -/* - * 导入职业体检员工信息 - * */ - -/** - * 导出api - * @param params - */ -export const getExportUrl = (params) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: Api.exportXls, params }); - }, - }); -}; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ - url: Api.deleteBatch, - data: params - }, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); - } - }); -} -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - if (isUpdate) { - return defHttp.put({ url: Api.edit, params }); - } else { - return defHttp.post({ url: Api.save, params }); - } -}; - -export const selectEmpApi = (params) => { - return defHttp.get({ url: Api.selectEmp, params }); -}; - -export const getPlanApi = (params) => { - return defHttp.get({ url: Api.getPlan, params }); -}; - -export const saveSelectEmpApi = (params) => { - return defHttp.post({ url: Api.saveSelectEmp, params }); -}; - -export const getUpdateEmpDetailApi = (params) => { - return defHttp.get({ url: Api.getUpdateEmpDetail, params }); -}; -// 自动添加本年度职业体检人员 -export const automatic = (params, val) => { - createConfirm({ - iconType: 'warning', - title: '提示', - width: '18%', - content: `是否自动添加【${val.departName}】本年度的职业体检人员?`, - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.automatic, params }, { joinParamsToUrl: true }); - }, - }); -}; diff --git a/src/views/medical/appointment/empOccupational/EmpOccupational.data.ts b/src/views/medical/appointment/empOccupational/EmpOccupational.data.ts deleted file mode 100644 index ffa38a4..0000000 --- a/src/views/medical/appointment/empOccupational/EmpOccupational.data.ts +++ /dev/null @@ -1,399 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { getMedicalSecondDeparts, getMedicalThirdDeparts } from '/@/views/system/user/user.api'; -import { useMessage } from '/@/hooks/web/useMessage'; -import { getAllHospitalApi } from '/@/views/medical/appointment/hospitalEmp/HospitalEmp.api'; -import { getPlanApi } from '/@/views/medical/appointment/empOccupational/EmpOccupational.api'; -import moment from 'moment'; -import { useDepartment } from '/@/utils/auth/formAuth'; -const { createMessage } = useMessage(); -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'realname', - }, - { - title: '员工编号', - align: 'center', - dataIndex: 'workNo', - }, - { - title: '身份证号', - align: 'center', - dataIndex: 'empIdcard', - width: '500', - }, - { - title: '手机号', - align: 'center', - dataIndex: 'mobilePhone', - }, - { - title: '单位', - align: 'center', - dataIndex: 'secondDepartName', - }, - { - title: '部门', - align: 'center', - dataIndex: 'departname', - }, - { - title: '工种', - align: 'center', - dataIndex: 'medicalWorkTypeCode', - customRender: ({ text }) => { - return render.renderDict(text, 'medical_worktype'); - }, - }, - { - title: '用工形式', - align: 'center', - dataIndex: 'empType', - customRender: ({ text }) => { - return render.renderDict(text, 'contract'); - }, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - customRender: ({ text }) => { - return render.renderDict(text, 'sex2'); - }, - }, - { - title: '体检形式', - align: 'center', - dataIndex: 'medicalOnJob', - customRender: ({ text }) => { - return render.renderDict(text, 'medical_on_job'); - }, - }, - { - title: '系统体检状态', - align: 'center', - dataIndex: 'medicalStatus', - customRender: ({ text }) => { - return render.renderDict(text, 'medical_status'); - }, - }, - { - title: '体检医院', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '危害因素', - align: 'center', - dataIndex: 'medicalHazardFactorCode', - ellipsis: true, - customRender: ({ text }) => { - return render.renderDicts(text, 'medical_hazard'); - }, - }, - { - title: '体检年度', - align: 'center', - dataIndex: 'medicalYear', - }, - { - title: '体检计划', - align: 'center', - dataIndex: 'planName', - }, - { - title: '体检计划单位', - align: 'center', - dataIndex: 'planDeptName', - }, - { - title: '入职时间', - align: 'center', - dataIndex: 'empWorktime', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substring(0, 10) : text; - }, - }, - { - title: '接害时间', - align: 'center', - dataIndex: 'medicalHazardDate', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substring(0, 10) : text; - }, - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '员工编号', - field: 'workNo', - component: 'Input', - }, - { - label: '身份证号', - field: 'empIdcard', - component: 'Input', - }, - { - label: '用工形式', - field: 'empType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'contract', - }, - }, - { - label: '年龄', - field: 'age', - component: 'Input', - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sex2', - }, - }, - { - label: '系统体检状态', - field: 'medicalStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'medical_status', - }, - }, - { - label: '医院选择', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getAllHospitalApi, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, - { - label: '单位', - field: 'secondDepartId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - // const { secondSelectValue, secondSelectDisabled } = useDepartment({ schema, key: 'id' }); - // secondSelectValue(); - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - onChange: (val, option) => { - if (val) { - option.thirdDepart = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - } - }, - onDeselect: () => { - formModel.secondDepartId = 'sd&*('; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - // disabled: secondSelectDisabled, - }; - }, - }, - { - label: '部门', - field: 'thirdDepartId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getMedicalThirdDeparts, - resultField: 'list', - labelField: 'departName', - params: { - secondDepartId: getSecond(formModel), - }, - valueField: 'id', - onFocus: () => { - if (!formModel.secondDepartId) { - return createMessage.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '体检计划', - field: 'planName', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getPlanApi, - labelField: 'planTitle', - valueField: 'id', - params: { - secondDepartId: getSecond(formModel), - }, - }; - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY', - picker: 'year', - }, - defaultValue: moment(new Date()).format('YYYY'), - }, -]; -const getSecond = (formModel) => { - return formModel.hasOwnProperty('secondDepartId') && formModel.secondDepartId !== '' && formModel.secondDepartId !== undefined - ? formModel.secondDepartId - : 'dw&*^^'; -}; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - componentProps: { - disabled: true, - }, - }, - { - label: '身份证号', - field: 'empIdcard', - component: 'Input', - componentProps: { - disabled: true, - }, - }, - { - label: '单位', - field: 'secondDepartment', - component: 'Input', - }, - { - label: '入职时间', - field: 'empWorktime', - component: 'DatePicker', - required: true, - componentProps: { - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => document.body, - }, - }, - { - label: '体检形式', - field: 'medicalOnJob', - component: 'JDictSelectTag', - componentProps: { - type: 'radio', - dictCode: 'medical_on_job', - }, - required: true, - }, - { - label: '工种', - field: 'medicalWorkTypeCode', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'medical_worktype', - showSearch: true, - numberToString: true, - }, - required: true, - }, - { - label: '其他工种', - field: 'medicalWorkTypeOther', - component: 'Input', - ifShow: ({ model }) => { - return model.medicalWorkTypeCode === '0014' || model.medicalWorkTypeCode === '0033' || model.medicalWorkTypeCode === '999999'; - }, - required: ({ model }) => { - return model.medicalWorkTypeCode === '0014' || model.medicalWorkTypeCode === '0033' || model.medicalWorkTypeCode === '999999'; - }, - }, - { - label: '危害因素', - field: 'medicalHazardFactorCode', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'medical_hazard', - numberToString: true, - showSearch: true, - mode: 'multiple', - }, - required: true, - }, - { - label: '其他危害', - field: 'medicalHazardFactorOther', - component: 'Input', - ifShow: ({ model }) => { - return model.medicalHazardFactorCode?.join(',').indexOf('0999') > -1; - }, - required: ({ model }) => { - return model.medicalHazardFactorCode?.join(',').indexOf('0999') > -1; - }, - }, - { - label: '接害时间', - field: 'medicalHazardDate', - component: 'DatePicker', - required: true, - componentProps: { - valueFormat: 'YYYY-MM-DD', - }, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/appointment/empOccupational/EmpOccupationalList.vue b/src/views/medical/appointment/empOccupational/EmpOccupationalList.vue deleted file mode 100644 index 81729a5..0000000 --- a/src/views/medical/appointment/empOccupational/EmpOccupationalList.vue +++ /dev/null @@ -1,240 +0,0 @@ - - - - diff --git a/src/views/medical/appointment/empOccupational/components/AtuoModal.vue b/src/views/medical/appointment/empOccupational/components/AtuoModal.vue deleted file mode 100644 index 8d3a41b..0000000 --- a/src/views/medical/appointment/empOccupational/components/AtuoModal.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - - - diff --git a/src/views/medical/appointment/empOccupational/components/EmpModal.vue b/src/views/medical/appointment/empOccupational/components/EmpModal.vue deleted file mode 100644 index 597f04b..0000000 --- a/src/views/medical/appointment/empOccupational/components/EmpModal.vue +++ /dev/null @@ -1,227 +0,0 @@ - - - - - diff --git a/src/views/medical/appointment/empOccupational/components/EmpNameList.vue b/src/views/medical/appointment/empOccupational/components/EmpNameList.vue deleted file mode 100644 index 77cd13b..0000000 --- a/src/views/medical/appointment/empOccupational/components/EmpNameList.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - diff --git a/src/views/medical/appointment/empOccupational/components/EmpOccupationalForm.vue b/src/views/medical/appointment/empOccupational/components/EmpOccupationalForm.vue deleted file mode 100644 index dcf9401..0000000 --- a/src/views/medical/appointment/empOccupational/components/EmpOccupationalForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/medical/appointment/empOccupational/components/EmpOccupationalModal.vue b/src/views/medical/appointment/empOccupational/components/EmpOccupationalModal.vue deleted file mode 100644 index 7e112c1..0000000 --- a/src/views/medical/appointment/empOccupational/components/EmpOccupationalModal.vue +++ /dev/null @@ -1,90 +0,0 @@ - - - - - diff --git a/src/views/medical/appointment/empOccupational/components/selectList/table.vue b/src/views/medical/appointment/empOccupational/components/selectList/table.vue deleted file mode 100644 index 2526d58..0000000 --- a/src/views/medical/appointment/empOccupational/components/selectList/table.vue +++ /dev/null @@ -1,215 +0,0 @@ - - - diff --git a/src/views/medical/appointment/hospitalEmp/HospitalEmp.api.ts b/src/views/medical/appointment/hospitalEmp/HospitalEmp.api.ts deleted file mode 100644 index ac2a6b7..0000000 --- a/src/views/medical/appointment/hospitalEmp/HospitalEmp.api.ts +++ /dev/null @@ -1,105 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/hospitalEmp/list', - save = '/medical/hospitalEmp/add', - edit = '/medical/hospitalEmp/edit', - deleteOne = '/medical/hospitalEmp/delete', - deleteBatch = '/cqyt/medical/hospitalEmp/deleteBatch', - importExcel = '/medical/hospitalEmp/importExcel', - exportXls = '/medical/hospitalEmp/exportXls', - exportTempXls = '/medical/hospitalEmp/exportTemp', - selectEmp = '/medical/hospitalEmp/selectEmp', - getAllHospital = '/medical/hospital/getAllHospital', - saveSelectHospitalUser = '/medical/hospitalEmp/saveSelectHospitalUser', - checkData = '/medical/hospitalEmp/checkData', - updateData = '/medical/hospitalEmp/updateData', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -export const checkDataUrl = Api.checkData; -export const updateDataUrl = Api.updateData; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 模版下载 - */ -export const getExportTempUrl = Api.exportTempXls; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; -//获取二级部门列表 -export const selectEmp = (params) => { - return defHttp.get({ url: Api.selectEmp, params }); -}; -// 获取选择后的人员 -export const getAllHospitalApi = (params) => { - return defHttp.get({ url: Api.getAllHospital, params }); -}; -// 获取选择后的人员 -export const saveSelectHospitalUserApi = (params) => { - return defHttp.post({ url: Api.saveSelectHospitalUser, params }); -}; diff --git a/src/views/medical/appointment/hospitalEmp/HospitalEmp.data.ts b/src/views/medical/appointment/hospitalEmp/HospitalEmp.data.ts deleted file mode 100644 index 6ac4629..0000000 --- a/src/views/medical/appointment/hospitalEmp/HospitalEmp.data.ts +++ /dev/null @@ -1,183 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { getMedicalSecondDeparts, getMedicalThirdDeparts } from '/@/views/system/user/user.api'; -import { useMessage } from "/@/hooks/web/useMessage"; -import { getAllHospitalApi } from "/@/views/medical/appointment/hospitalEmp/HospitalEmp.api"; -import moment from "moment"; -import { useDepartment } from '/@/utils/auth/formAuth'; -const { createMessage } = useMessage(); -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'realname', - }, - { - title: '员工编号', - align: 'center', - dataIndex: 'workNo', - }, - { - title: '指定体检医院', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '身份证号', - align: 'center', - dataIndex: 'idCard', - width: '500', - }, - { - title: '手机号', - align: 'center', - dataIndex: 'phone', - }, - { - title: '单位', - align: 'center', - dataIndex: 'secondDepartment', - }, - { - title: '部门', - align: 'center', - dataIndex: 'department', - }, - { - title: '年度体检', - align: 'center', - dataIndex: 'medicalYear', - }, - { - title: '创建日期', - align: 'center', - dataIndex: 'createDate', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '员工编号', - field: 'workNo', - component: 'Input', - }, - { - label: '指定体检医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getAllHospitalApi, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, - { - label: '单位', - field: 'secondDepartment', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - // const { secondSelectValue, secondSelectDisabled } = useDepartment({ schema, key: 'id' }); - // secondSelectValue(); - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - onChange: (val) => { - if (val) { - formModel.thirdDepartment = ''; - if (formModel.hasOwnProperty('thirdDepartment')) { - formModel.thirdDepartment = ''; - } - } - }, - onDeselect: () => { - formModel.secondDepartment = ''; - if (formModel.hasOwnProperty('thirdDepartment')) { - formModel.thirdDepartment = ''; - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - // disabled: secondSelectDisabled, - }; - }, - }, - { - label: '部门', - field: 'thirdDepartment', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - // const { thirdSelectValue, thirdSelectDisabled } = useDepartment({ schema, key: 'id' }); - // thirdSelectValue(); - return { - api: getMedicalThirdDeparts, - resultField: 'list', - labelField: 'departName', - params: { - secondDepartId: getSecond(formModel), - }, - valueField: 'id', - immediate: true, - onFocus: () => { - if (!formModel.secondDepartment) { - return createMessage.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - // disabled: thirdSelectDisabled, - }; - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY', - picker: 'year', - }, - defaultValue: moment(new Date()).format('YYYY'), - }, -]; -const getSecond = (formModel) => { - return formModel.hasOwnProperty('secondDepartment') && formModel.secondDepartment !== '' && formModel.secondDepartment !== undefined ? formModel.secondDepartment : 'dw&*^^'; -}; -//表单数据 -export const formSchema: FormSchema[] = [ - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/appointment/hospitalEmp/HospitalEmpList.vue b/src/views/medical/appointment/hospitalEmp/HospitalEmpList.vue deleted file mode 100644 index be78646..0000000 --- a/src/views/medical/appointment/hospitalEmp/HospitalEmpList.vue +++ /dev/null @@ -1,233 +0,0 @@ - - - diff --git a/src/views/medical/appointment/hospitalEmp/components/HospitalEmpForm.vue b/src/views/medical/appointment/hospitalEmp/components/HospitalEmpForm.vue deleted file mode 100644 index c9b15b0..0000000 --- a/src/views/medical/appointment/hospitalEmp/components/HospitalEmpForm.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - diff --git a/src/views/medical/appointment/hospitalEmp/components/HospitalEmpModal.vue b/src/views/medical/appointment/hospitalEmp/components/HospitalEmpModal.vue deleted file mode 100644 index b9d0fb6..0000000 --- a/src/views/medical/appointment/hospitalEmp/components/HospitalEmpModal.vue +++ /dev/null @@ -1,225 +0,0 @@ - - - - - diff --git a/src/views/medical/appointment/hospitalEmp/components/HospitalNameList.vue b/src/views/medical/appointment/hospitalEmp/components/HospitalNameList.vue deleted file mode 100644 index 77cd13b..0000000 --- a/src/views/medical/appointment/hospitalEmp/components/HospitalNameList.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - diff --git a/src/views/medical/appointment/hospitalEmp/components/selectList/table.vue b/src/views/medical/appointment/hospitalEmp/components/selectList/table.vue deleted file mode 100644 index 9de9be9..0000000 --- a/src/views/medical/appointment/hospitalEmp/components/selectList/table.vue +++ /dev/null @@ -1,236 +0,0 @@ - - - diff --git a/src/views/medical/appointment/limitModel/LimitModel.api.ts b/src/views/medical/appointment/limitModel/LimitModel.api.ts deleted file mode 100644 index 227dc2a..0000000 --- a/src/views/medical/appointment/limitModel/LimitModel.api.ts +++ /dev/null @@ -1,106 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/limitModel/list', - save = '/medical/limitModel/add', - edit = '/medical/limitModel/edit', - deleteOne = '/medical/limitModel/delete', - deleteBatch = '/medical/limitModel/deleteBatch', - importExcel = '/medical/limitModel/importExcel', - exportXls = '/medical/limitModel/exportXls', - queryById = '/medical/limitModel/queryById', - getPrompt = '/medical/limitModel/getSetting', - setPrompt = '/medical/limitModel/cueSetting', - generation = '/medical/limitModel/doSet', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/* - * 提示语折扣获取 - * */ -export const getPrompt = () => defHttp.get({ url: Api.getPrompt }); -/* - * 提示语折扣设置 - * */ -export const setPrompt = (params) => defHttp.post({ url: Api.setPrompt, params }); -/** - * 编辑请求数据 - * @param params - */ -export const resDataEdit = (params) => defHttp.get({ url: Api.queryById, params }); -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; -/* - * 额度生成 - * */ -export const submitGeneration = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: '确认是否生成额度?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.generation, data: params }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/medical/appointment/limitModel/LimitModel.data.ts b/src/views/medical/appointment/limitModel/LimitModel.data.ts deleted file mode 100644 index c88797e..0000000 --- a/src/views/medical/appointment/limitModel/LimitModel.data.ts +++ /dev/null @@ -1,120 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { rules } from '/@/utils/helper/validator'; -import { render } from '/@/utils/common/renderUtils'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '模板名称', - align: 'center', - dataIndex: 'modelTitle', - }, - { - title: '年龄区间', - align: 'center', - dataIndex: 'ageArea_dictText', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - }, - { - title: '体检额度(元)', - align: 'right', - dataIndex: 'userLimit', - customRender: ({ text }) => { - return render.renderCost(text); - }, - }, - { - title: '批量更新规则', - align: 'center', - dataIndex: 'ignoreHandFlag_dictText', - }, - { - title: '是否已生成', - align: 'center', - dataIndex: 'generateFlag_dictText', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = []; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '模板名称', - field: 'modelTitle', - component: 'Input', - dynamicDisabled: true, - }, - { - label: '年龄区间', - field: 'ageArea', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'medical_age_area', - }, - dynamicDisabled: true, - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sex2', - }, - dynamicDisabled: true, - }, - { - label: '体检额度', - field: 'userLimit', - component: 'InputNumber', - componentProps: { - min: 0, - precision: 2, - addonAfter: '元', - style: { - width: '100%', - }, - }, - dynamicRules: () => { - return [ - { - required: true, - validator: (_, value) => { - if (!/^\d+$|^\d*\.\d+$/g.test(value)) { - return Promise.reject('体检额度只能输入小数!'); - } - return Promise.resolve(); - }, - }, - ]; - }, - }, - { - label: '批量更新规则', - field: 'ignoreHandFlag', - component: 'JDictSelectTag', - componentProps: { - type: 'radio', - dictCode: 'medical_ignore', - }, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/appointment/limitModel/LimitModelList.vue b/src/views/medical/appointment/limitModel/LimitModelList.vue deleted file mode 100644 index b71dab8..0000000 --- a/src/views/medical/appointment/limitModel/LimitModelList.vue +++ /dev/null @@ -1,146 +0,0 @@ - - - - - diff --git a/src/views/medical/appointment/limitModel/components/LimitModelForm.vue b/src/views/medical/appointment/limitModel/components/LimitModelForm.vue deleted file mode 100644 index 50ab890..0000000 --- a/src/views/medical/appointment/limitModel/components/LimitModelForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/medical/appointment/limitModel/components/LimitModelModal.vue b/src/views/medical/appointment/limitModel/components/LimitModelModal.vue deleted file mode 100644 index 6b0844d..0000000 --- a/src/views/medical/appointment/limitModel/components/LimitModelModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - diff --git a/src/views/medical/appointment/limitModel/components/PromptModal.vue b/src/views/medical/appointment/limitModel/components/PromptModal.vue deleted file mode 100644 index ff74518..0000000 --- a/src/views/medical/appointment/limitModel/components/PromptModal.vue +++ /dev/null @@ -1,50 +0,0 @@ - - - - - diff --git a/src/views/medical/appointment/userForm/UserForm.api.ts b/src/views/medical/appointment/userForm/UserForm.api.ts deleted file mode 100644 index 3a01f70..0000000 --- a/src/views/medical/appointment/userForm/UserForm.api.ts +++ /dev/null @@ -1,127 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/userForm/list', - save = '/medical/userForm/add', - edit = '/medical/userForm/edit', - deleteOne = '/medical/userForm/delete', - deleteBatch = '/medical/userForm/deleteBatch', - importExcel = '/medical/userForm/importExcel', - exportXls = '/cqyt/medical/userForm/exportXls', - queryById = '/medical/userForm/queryById', - view = '/medical/userForm/view', - viewExport = '/sys/common/commonExportsInfo/list', - reservation = '/medical/userForm/orderCancelHandle', - cleanQueue = '/medical/userForm/cleanQueue', - handleSynItemByUserId = '/medical/userForm/handleSynItemByUserId', - changeDeptList = '/health-system/system/sysUserDepartChangeApply/listCustom', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; - -export const exportFile = (params) => defHttp.get({ url: Api.exportXls, params }); -export const viewExport = (params) => defHttp.get({ url: Api.viewExport, params }); - - -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const resDataEdit = (params) => defHttp.get({ url: Api.queryById, params }); -export const getViewData = (params) => defHttp.get({ url: Api.view, params }); -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); -export const changeDeptListGet = (params) => defHttp.get({ url: Api.changeDeptList, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; -/* - * 取消预约 - * */ -export const cancelReservation = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: ' 提示', - content: '确定要取消预约吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.reservation, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -export const cleanQueue = (params) => { - createConfirm({ - iconType: 'warning', - title: ' 提示', - content: '确定要清空队列吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.cleanQueue, params }, { joinParamsToUrl: true }).then(() => { - // handleSuccess(); - }); - }, - }); -}; -export const synItemByUserId = (params, handleSuccess) => { - return defHttp.post({ url: Api.handleSynItemByUserId, params }).then(() => { - handleSuccess(); - }); -}; diff --git a/src/views/medical/appointment/userForm/UserForm.data.ts b/src/views/medical/appointment/userForm/UserForm.data.ts deleted file mode 100644 index 5ecad87..0000000 --- a/src/views/medical/appointment/userForm/UserForm.data.ts +++ /dev/null @@ -1,562 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { useMessage } from '/@/hooks/web/useMessage'; -import { getPhysicalHospitalsList, getMedicalSecondDeparts, getMedicalThirdDeparts } from '/@/views/system/user/user.api'; -import { JVxeColumn } from '/@/components/jeecg/JVxeTable/src/types'; -import moment from 'moment'; -const { createMessage } = useMessage(); - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - fixed: 'left', - dataIndex: 'userName', - width: '3%', - }, - { - title: '性别', - align: 'center', - fixed: 'left', - dataIndex: 'sex_dictText', - width: '2%', - }, - { - title: '年龄', - align: 'center', - fixed: 'left', - dataIndex: 'age', - width: '2%', - }, - { - title: '年龄区间', - align: 'center', - fixed: 'left', - dataIndex: 'medicalAgeArea_dictText', - width: '4%', - }, - { - title: '身份证号', - align: 'center', - fixed: 'left', - dataIndex: 'empIdcard', - width: '6%', - }, - { - title: '单位', - align: 'center', - fixed: 'left', - dataIndex: 'secondDepart', - }, - { - title: '部门', - align: 'center', - dataIndex: 'thirdDepart', - }, - { - title: '机构分类', - align: 'center', - dataIndex: 'orgClass', - customRender: ({ text }) => { - return render.renderDict(text, 'orgclass'); - }, - }, - { - title: '员工编号', - align: 'center', - dataIndex: 'empSysno', - }, - { - title: '体检编码', - align: 'center', - dataIndex: 'peId', - }, - { - title: '用工形式', - align: 'center', - dataIndex: 'empType', - customRender: ({ text }) => { - return render.renderDict(text, 'contract'); - }, - }, - { - title: '婚姻状态', - align: 'center', - dataIndex: 'empMarriage_dictText', - }, - { - title: '体检类型', - align: 'center', - dataIndex: 'mdMarriageStatus_dictText', - }, - { - title: '防癌项', - align: 'center', - dataIndex: 'cancerType', - customRender: ({ text }) => { - return render.renderDict(text, 'cancer_type'); - }, - }, - { - title: '是否上市员工', - align: 'center', - dataIndex: 'listedFlag', - customRender: ({ text }) => { - return render.renderDict(text, 'sf_10'); - }, - }, - { - title: '体检医院', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '体检预约信息', - align: 'center', - dataIndex: 'errorMsg', - }, - { - title: '体检总费用', - align: 'center', - dataIndex: 'totalAmount', - customRender: ({ text }) => { - return render.renderCost(text); - }, - }, - { - title: '体检实际费用', - children: [ - { - title: '必检费用', - align: 'center', - dataIndex: 'mustAmount', - }, - { - title: '选检费用', - align: 'center', - dataIndex: 'selectAmount', - }, - { - title: '妇科费用', - align: 'center', - dataIndex: 'gynaecologyAmount', - }, - { - title: '防癌筛查费用', - align: 'center', - dataIndex: 'defendCancerAmount', - }, - ], - }, - { - title: '预约状态', - align: 'center', - dataIndex: 'selectType', - customRender: ({ text }) => { - return render.renderDict(text, 'user_form_status'); - }, - }, - { - title: '预约日期', - align: 'center', - dataIndex: 'orderDate', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, - { - title: '体检状态', - align: 'center', - dataIndex: 'medicalStatus_dictText', - }, - { - title: '体检日期', - align: 'center', - dataIndex: 'medicalDate', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, - { - title: '体检年度', - align: 'center', - dataIndex: 'medicalYear', - }, - { - title: '体检计划', - align: 'center', - dataIndex: 'planName', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'userName', - component: 'Input', - }, - { - label: '身份证号', - field: 'empIdcard', - component: 'Input', - }, - { - label: '单位', - field: 'deptId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - // const { secondSelectValue, secondSelectDisabled } = useDepartment({ schema, key: 'id' }); - // secondSelectValue(); - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - onChange: (val) => { - if (val) { - formModel.thirdDepartId = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - } - }, - onDeselect: () => { - formModel.deptId = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - // disabled: secondSelectDisabled, - }; - }, - }, - { - label: '部门', - field: 'thirdDepartId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getMedicalThirdDeparts, - resultField: 'list', - labelField: 'departName', - params: { - secondDepartId: formModel.deptId, - }, - valueField: 'id', - onFocus: () => { - if (!formModel.deptId) { - return createMessage.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '机构分类', - field: 'orgClass', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'orgclass' - }, - }, - { - label: '是否上市员工', - field: 'listedFlag', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sf_10' - }, - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sex2', - }, - }, - { - label: '年龄区间', - field: 'medicalAgeArea', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'medical_age_area', - }, - }, - - - { - label: '防癌项', - field: 'cancerType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'cancer_type', - }, - }, - { - label: '预约状态', - field: 'selectType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'user_form_status', - }, - }, - { - label: '预约日期', - field: 'orderDate', - component: 'DatePicker', - componentProps: { - showTime: false, - valueFormat: 'YYYY-MM-DD', - }, - }, - { - label: '体检状态', - field: 'medicalStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'medical_status', - }, - }, - { - label: '医院选择', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY', - picker: 'year', - }, - defaultValue: moment(new Date()).format('YYYY'), - }, - { - label: '是否为未选项目', - field: 'selectFlag', - component: 'Select', - componentProps: { - options: [ - {value: '0', label: '是'}, - {value: '1', label: '否'}, - ], - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '姓名', - field: 'userName', - component: 'Input', - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sex2', - }, - }, - { - label: '年龄', - field: 'age', - component: 'Input', - }, - { - label: '身份证号', - field: 'empIdcard', - component: 'Input', - }, - { - label: '二级单位', - field: 'secondDepart', - component: 'Input', - }, - { - label: '体检医院', - field: 'hospitalName', - component: 'Input', - }, - { - label: '防癌项', - field: 'cancerType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'cancer_type', - }, - }, - { - label: '体检日期', - field: 'medicalDate', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY', - }, - }, - { - label: '体检状态', - field: 'medicalStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'medical_status', - }, - }, - { - label: '预约状态', - field: 'selectType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'user_form_status', - }, - }, - { - label: '体检年度', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY', - }, - }, - { - label: '体检计划', - field: 'planName', - component: 'Input', - }, - { - label: '体检实际费用', - field: 'realAmount', - component: 'Input', - }, - { - label: '体检总费用', - field: 'totalAmount', - component: 'Input', - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - { - label: '所属部门', - field: 'secondDepart', - component: 'Input', - }, -]; -// 弹窗表单数据 -export const modalForm: FormSchema[] = [ - { - label: '姓名', - field: 'userName', - component: 'Input', - }, - { - label: '所属部门', - field: 'department', - component: 'Input', - }, - { - label: '体检医院', - field: 'hospitalName', - component: 'Input', - }, - { - label: '体检总费用', - field: 'totalAmount', - component: 'Input', - componentProps: { - min: 0, - precision: 2, - addonAfter: '元', - style: { - width: '100%', - }, - }, - }, - { - label: '体检日期', - field: 'medicalDate', - component: 'Input', - }, - { - label: '体检状态', - field: 'medicalStatus', - component: 'Input', - }, - { - label: '体检表状态', - field: 'selectType', - component: 'Input', - }, -]; - -// 员工体检详细信息 -export const physicalColumn: JVxeColumn[] = [ - { - title: '体检项', - key: 'itemName', - }, - { - title: '体检项编号', - key: 'itemNo', - }, - { - title: '体检项费用(元)', - key: 'itemCost', - width: '16%', - }, -]; - -// 员工体检详细信息 -export const changeDeptColumn: JVxeColumn[] = [ - { - title: '姓名', - key: 'userName', - }, - { - title: '原始部门', - key: 'fromDepartName', - }, - { - title: '移入部门', - key: 'toDepartName', - }, - { - title: '审核时间', - key: 'applyTime', - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param _formData - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/appointment/userForm/UserFormList.vue b/src/views/medical/appointment/userForm/UserFormList.vue deleted file mode 100644 index 0168c63..0000000 --- a/src/views/medical/appointment/userForm/UserFormList.vue +++ /dev/null @@ -1,242 +0,0 @@ - - - - - diff --git a/src/views/medical/appointment/userForm/components/ChangeDeptListModal.vue b/src/views/medical/appointment/userForm/components/ChangeDeptListModal.vue deleted file mode 100644 index d2c1129..0000000 --- a/src/views/medical/appointment/userForm/components/ChangeDeptListModal.vue +++ /dev/null @@ -1,74 +0,0 @@ - - - - - diff --git a/src/views/medical/appointment/userForm/components/UserFormForm.vue b/src/views/medical/appointment/userForm/components/UserFormForm.vue deleted file mode 100644 index d1722cf..0000000 --- a/src/views/medical/appointment/userForm/components/UserFormForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/medical/appointment/userForm/components/UserFormModal.vue b/src/views/medical/appointment/userForm/components/UserFormModal.vue deleted file mode 100644 index da7b53e..0000000 --- a/src/views/medical/appointment/userForm/components/UserFormModal.vue +++ /dev/null @@ -1,101 +0,0 @@ - - - - - diff --git a/src/views/medical/appointment/userLimit/UserLimit.api.ts b/src/views/medical/appointment/userLimit/UserLimit.api.ts deleted file mode 100644 index 7063cf3..0000000 --- a/src/views/medical/appointment/userLimit/UserLimit.api.ts +++ /dev/null @@ -1,78 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/userLimit/list', - save = '/medical/userLimit/add', - edit = '/medical/userLimit/edit', - deleteOne = '/medical/userLimit/delete', - deleteBatch = '/medical/userLimit/deleteBatch', - importExcel = '/medical/userLimit/importExcel', - exportXls = '/medical/userLimit/exportXls', - queryById = '/medical/userLimit/queryById', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 请求编辑数据 - * @param params - */ -export const resDataEdit = (params) => defHttp.get({ url: Api.queryById, params }); -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/medical/appointment/userLimit/UserLimit.data.ts b/src/views/medical/appointment/userLimit/UserLimit.data.ts deleted file mode 100644 index 476e24e..0000000 --- a/src/views/medical/appointment/userLimit/UserLimit.data.ts +++ /dev/null @@ -1,262 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { getMedicalSecondDeparts, getMedicalThirdDeparts } from '/@/views/system/user/user.api'; -import { useMessage } from '/@/hooks/web/useMessage'; -// 处理生日截取只要年月日 -function substrDate(text) { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; -} -const { createMessage } = useMessage(); -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'realname', - }, - { - title: '员工编号', - align: 'center', - dataIndex: 'workNo', - }, - { - title: '身份证号', - align: 'center', - dataIndex: 'idCard', - width: '500', - }, - { - title: '单位', - align: 'center', - dataIndex: 'secondDepartment', - }, - { - title: '部门', - align: 'center', - dataIndex: 'thirdDepartment', - }, - { - title: '职务', - align: 'center', - dataIndex: 'empJobNew_dictText', - }, - { - title: '生日', - align: 'center', - dataIndex: 'birthday', - customRender: ({ text }) => substrDate(text), - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - }, - { - title: '体检额度(元)', - align: 'right', - dataIndex: 'userLimit', - customRender: ({ text }) => { - return render.renderCost(text); - }, - }, - { - title: '是否手动输入', - align: 'center', - dataIndex: 'handFlag', - customRender: ({ text }) => { - return text === 'true' ? '是' : '否'; - }, - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '员工编号', - field: 'workNo', - component: 'Input', - }, - { - label: '身份证号', - field: 'idCard', - component: 'Input', - }, - { - label: '职务', - field: 'empJobNew', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'e_job', - }, - }, - { - label: '单位', - field: 'secondDepartment', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - // const { secondSelectValue, secondSelectDisabled } = useDepartment({ schema, key: 'id' }); - // secondSelectValue(); - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - onChange: (val) => { - if (val) { - formModel.thirdDepartment = ''; - if (formModel.hasOwnProperty('thirdDepartment')) { - formModel.thirdDepartment = ''; - } - } - }, - onDeselect: () => { - formModel.secondDepartment = ''; - if (formModel.hasOwnProperty('thirdDepartment')) { - formModel.thirdDepartment = ''; - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - // disabled: secondSelectDisabled, - }; - }, - }, - { - label: '部门', - field: 'thirdDepartment', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getMedicalThirdDeparts, - resultField: 'list', - labelField: 'departName', - params: { - secondDepartId: formModel.secondDepartment, - }, - valueField: 'id', - onFocus: () => { - if (!formModel.secondDepartment) { - return createMessage.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '性别', - field: 'sex_dictText', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sex2', - }, - }, - { - label: '年龄', - field: 'age', - component: 'Input', - }, - { - label: '职务', - field: 'empJobNew_dictText', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'e_job', - }, - }, - { - label: '体检额度', - field: 'userLimit', - component: 'InputNumber', - componentProps: { - min: 0, - precision: 2, - addonAfter: '元', - style: { - width: '100%', - }, - }, - dynamicRules: () => { - return [ - { - required: true, - validator: (_, value) => { - if (!/^\d+$|^\d*\.\d{0,2}$/g.test(value)) { - return Promise.reject('体检额度只能输入小数!'); - } - return Promise.resolve(); - }, - }, - ]; - }, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; -// 编辑时禁用表单数据 -export const editDisabledForm: FormSchema[] = [ - { - field: 'realname', - component: 'Input', - label: '姓名', - componentProps: { disabled: true }, - }, - { - field: 'sex_dictText', - component: 'Input', - label: '性别', - componentProps: { disabled: true }, - }, - { - field: 'age', - label: '年龄', - component: 'Input', - componentProps: { disabled: true }, - }, - { - label: '职务', - field: 'empJobNew_dictText', - component: 'JDictSelectTag', - componentProps: { disabled: true }, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param _formData - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/appointment/userLimit/UserLimitList.vue b/src/views/medical/appointment/userLimit/UserLimitList.vue deleted file mode 100644 index b299dc2..0000000 --- a/src/views/medical/appointment/userLimit/UserLimitList.vue +++ /dev/null @@ -1,100 +0,0 @@ - - - - - diff --git a/src/views/medical/appointment/userLimit/components/UserLimitForm.vue b/src/views/medical/appointment/userLimit/components/UserLimitForm.vue deleted file mode 100644 index 7929f0f..0000000 --- a/src/views/medical/appointment/userLimit/components/UserLimitForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/medical/appointment/userLimit/components/UserLimitModal.vue b/src/views/medical/appointment/userLimit/components/UserLimitModal.vue deleted file mode 100644 index 8750f1c..0000000 --- a/src/views/medical/appointment/userLimit/components/UserLimitModal.vue +++ /dev/null @@ -1,78 +0,0 @@ - - - - - diff --git a/src/views/medical/appointment/userSign/UserSign.api.ts b/src/views/medical/appointment/userSign/UserSign.api.ts deleted file mode 100644 index 6aee50c..0000000 --- a/src/views/medical/appointment/userSign/UserSign.api.ts +++ /dev/null @@ -1,64 +0,0 @@ -import {defHttp} from '/@/utils/http/axios'; -import { useMessage } from "/@/hooks/web/useMessage"; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/userSign/list', - save='/medical/userSign/add', - edit='/medical/userSign/edit', - deleteOne = '/medical/userSign/delete', - deleteBatch = '/medical/userSign/deleteBatch', - importExcel = '/medical/userSign/importExcel', - exportXls = '/medical/userSign/exportXls', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => - defHttp.get({url: Api.list, params}); - -/** - * 删除单个 - */ -export const deleteOne = (params,handleSuccess) => { - return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); -} -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); - } - }); -} -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({url: url, params}); -} diff --git a/src/views/medical/appointment/userSign/UserSign.data.ts b/src/views/medical/appointment/userSign/UserSign.data.ts deleted file mode 100644 index b897687..0000000 --- a/src/views/medical/appointment/userSign/UserSign.data.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '员工ID', - align: 'center', - dataIndex: 'userId', - }, - { - title: '签名地址', - align: 'center', - dataIndex: 'signUrl', - }, - { - title: '创建日期', - align: 'center', - dataIndex: 'createDate', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, - { - title: '更新日期', - align: 'center', - dataIndex: 'updateDate', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '员工ID', - field: 'userId', - component: 'Input', - }, - { - label: '计划ID', - field: 'userId', - component: 'Input', - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '员工ID', - field: 'userId', - component: 'Input', - }, - { - label: '计划ID', - field: 'planId', - component: 'Input', - }, - { - label: '签名地址', - field: 'signUrl', - component: 'Input', - }, - { - label: '创建日期', - field: 'createDate', - component: 'DatePicker', - }, - { - label: '更新日期', - field: 'updateDate', - component: 'DatePicker', - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/appointment/userSign/UserSignList.vue b/src/views/medical/appointment/userSign/UserSignList.vue deleted file mode 100644 index 585e297..0000000 --- a/src/views/medical/appointment/userSign/UserSignList.vue +++ /dev/null @@ -1,171 +0,0 @@ - - - - - diff --git a/src/views/medical/appointment/userSign/components/UserSignForm.vue b/src/views/medical/appointment/userSign/components/UserSignForm.vue deleted file mode 100644 index d762696..0000000 --- a/src/views/medical/appointment/userSign/components/UserSignForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/medical/appointment/userSign/components/UserSignModal.vue b/src/views/medical/appointment/userSign/components/UserSignModal.vue deleted file mode 100644 index f6c6e29..0000000 --- a/src/views/medical/appointment/userSign/components/UserSignModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - diff --git a/src/views/medical/disease/autoCheck/AutoCheck.api.ts b/src/views/medical/disease/autoCheck/AutoCheck.api.ts deleted file mode 100644 index ece6629..0000000 --- a/src/views/medical/disease/autoCheck/AutoCheck.api.ts +++ /dev/null @@ -1,79 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); -enum Api { - list = '/medical/userDiseases/list', - check = '/medical/userDiseases/doAutoCheckDiseaseTypes', - screen = '/medical/userDiseases/doAutoFilterExceptionItems', - deleteOne = '/medical/userDiseases/delete', - checkDisease = '/medical/userDiseases/doAutoCheckDiseaseTypes', - screenExceptions = '/medical/userDiseases/doAutoFilterExceptionItems', - taskDisease = '/medical/userDiseases/userDiseasesExport', - taskRecord = '/sys/common/commonExportsInfo/list', -} - -/* - * 启动导出任务 - * */ -export const launchTask = (type,params) => { - let urlApi = ''; - if (type === 1) { - // 自动勾选病种 - urlApi = Api.checkDisease; - } else if (type === 2) { - // 自动筛选异常项 - urlApi = Api.screenExceptions; - } else if (type === 3) { - // 导出员工病种 - urlApi = Api.taskDisease; - } - createConfirm({ - iconType: 'warning', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: urlApi, params }); - }, - }); -}; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * check 勾选 - * screen 筛选 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.check : Api.screen; - return defHttp.post({ url: url, params }); -}; -/* - * 查看导出记录 - * */ -export const getTaskRecord = (params) => { - return defHttp.get({ url: Api.taskRecord, params }); -}; diff --git a/src/views/medical/disease/autoCheck/AutoCheck.data.ts b/src/views/medical/disease/autoCheck/AutoCheck.data.ts deleted file mode 100644 index 1cd251e..0000000 --- a/src/views/medical/disease/autoCheck/AutoCheck.data.ts +++ /dev/null @@ -1,230 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { getPhysicalHospitalsList, getSecondaryDepartmentList, getThirdDepartmentList } from '/@/views/system/user/user.api'; -import { useMessage } from '/@/hooks/web/useMessage'; -import moment from 'moment'; -import { useDepartment } from '/@/utils/auth/formAuth'; - -const { createMessage } = useMessage(); -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'realname', - }, - { - title: '身份证号', - align: 'center', - dataIndex: 'idCard', - width: '500', - }, - { - title: '单位', - align: 'center', - dataIndex: 'secondDepartName', - }, - { - title: '部门', - align: 'center', - dataIndex: 'thirdDepartName', - }, - { - title: '医院名称', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '体检年份', - align: 'center', - dataIndex: 'medicalYear', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, - { - title: '勾选状态', - align: 'center', - dataIndex: 'diseasesCheckStatus', - customRender: ({ text }) => { - return render.renderDict(text, 'disease_check_status'); - }, - }, - { - title: '勾选病种数', - align: 'center', - dataIndex: 'diseasesNums', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '身份证号', - field: 'idCard', - component: 'Input', - }, - { - label: '勾选状态', - field: 'diseasesCheckStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'disease_check_status', - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - mode: 'year', - picker: 'year', - valueFormat: 'YYYY', - }, - defaultValue: moment(new Date()).format('YYYY'), - }, - { - label: '单位', - field: 'secondDepartId', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - const { secondSelectValue, secondSelectDisabled } = useDepartment({ - schema, - key: 'id', - }); - secondSelectValue(); - return { - api: getSecondaryDepartmentList, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - onChange: (val) => { - if (val) { - formModel.thirdDepart = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - } - }, - onDeselect: () => { - formModel.secondDepartId = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - disabled: secondSelectDisabled, - }; - }, - }, - { - label: '部门', - field: 'thirdDepartId', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - const { thirdSelectValue, thirdSelectDisabled } = useDepartment({ schema, key: 'id' }); - thirdSelectValue(); - return { - api: getThirdDepartmentList, - resultField: 'list', - labelField: 'departName', - params: { - secondDepartId: formModel.secondDepartId, - }, - valueField: 'id', - immediate: true, - onFocus: () => { - if (!formModel.secondDepartId) { - return createMessage.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - disabled: thirdSelectDisabled, - }; - }, - }, - { - label: '医院名称', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; -export const columnsRecord: BasicColumn[] = [ - { - title: '信息提示', - align: 'center', - dataIndex: 'exportMsg', - }, - { - title: '导入状态', - align: 'center', - dataIndex: 'exportStatus_dictText', - }, - { - title: '处理进度', - align: 'center', - dataIndex: 'handleMsg', - }, -]; -export const columnsDown: BasicColumn[] = [ - { - title: '文件url', - align: 'center', - dataIndex: 'exportUrl', - }, - { - title: '信息提示', - align: 'center', - dataIndex: 'exportMsg', - }, - { - title: '导入状态', - align: 'center', - dataIndex: 'exportStatus_dictText', - }, - { - title: '处理进度', - align: 'center', - dataIndex: 'handleMsg', - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/disease/autoCheck/AutoCheckList.vue b/src/views/medical/disease/autoCheck/AutoCheckList.vue deleted file mode 100644 index aa73864..0000000 --- a/src/views/medical/disease/autoCheck/AutoCheckList.vue +++ /dev/null @@ -1,148 +0,0 @@ - - - - - diff --git a/src/views/medical/disease/autoCheck/components/AutoCheckModal.vue b/src/views/medical/disease/autoCheck/components/AutoCheckModal.vue deleted file mode 100644 index ca68a20..0000000 --- a/src/views/medical/disease/autoCheck/components/AutoCheckModal.vue +++ /dev/null @@ -1,94 +0,0 @@ - - - - - diff --git a/src/views/medical/disease/diseaseInfo/DiseaseInfo.api.ts b/src/views/medical/disease/diseaseInfo/DiseaseInfo.api.ts deleted file mode 100644 index 8d2578e..0000000 --- a/src/views/medical/disease/diseaseInfo/DiseaseInfo.api.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/diseasesDic/list', - save = '/medical/diseasesDic/add', - edit = '/medical/diseasesDic/edit', - deleteOne = '/medical/diseasesDic/delete', - deleteBatch = '/medical/diseasesDic/deleteBatch', - queryById = '/medical/diseasesDic/queryById', -} - -/** - * 列表接口 - * @param params - */ -export const resDataEdit = (params) => defHttp.get({ url: Api.queryById, params }); -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/medical/disease/diseaseInfo/DiseaseInfo.data.ts b/src/views/medical/disease/diseaseInfo/DiseaseInfo.data.ts deleted file mode 100644 index 9f47c74..0000000 --- a/src/views/medical/disease/diseaseInfo/DiseaseInfo.data.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '病种名称', - align: 'center', - dataIndex: 'diseasesName', - }, - { - title: '病种类别', - align: 'center', - dataIndex: 'diseasesClass', - customRender: ({ text }) => { - return render.renderDict(text, 'diseases_class'); - }, - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '病种类别', - field: 'diseasesClass', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'diseases_class', - }, - }, - { - label: '病种名称', - field: 'diseasesName', - component: 'Input', - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '病种类别', - field: 'diseasesClass', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'diseases_class', - getPopupContainer: () => document.body, - }, - required: true, - }, - { - label: '病种名称', - field: 'diseasesName', - component: 'Input', - required: true, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/disease/diseaseInfo/DiseaseInfoList.vue b/src/views/medical/disease/diseaseInfo/DiseaseInfoList.vue deleted file mode 100644 index c45353b..0000000 --- a/src/views/medical/disease/diseaseInfo/DiseaseInfoList.vue +++ /dev/null @@ -1,167 +0,0 @@ - - - - - diff --git a/src/views/medical/disease/diseaseInfo/components/DiseaseInfoModal.vue b/src/views/medical/disease/diseaseInfo/components/DiseaseInfoModal.vue deleted file mode 100644 index eee2d54..0000000 --- a/src/views/medical/disease/diseaseInfo/components/DiseaseInfoModal.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - - - diff --git a/src/views/medical/disease/diseaseInfo/components/DiseaseInfoModelForm.vue b/src/views/medical/disease/diseaseInfo/components/DiseaseInfoModelForm.vue deleted file mode 100644 index 2f6660b..0000000 --- a/src/views/medical/disease/diseaseInfo/components/DiseaseInfoModelForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/medical/disease/medicalExam/MedicalExam.api.ts b/src/views/medical/disease/medicalExam/MedicalExam.api.ts deleted file mode 100644 index 5b92a2f..0000000 --- a/src/views/medical/disease/medicalExam/MedicalExam.api.ts +++ /dev/null @@ -1,87 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/conclusion/list', - save = '/medical/conclusion/add', - examine = '/medical/conclusion/edit', - examineBatch = '/medical/conclusion/doBatchReview', - deleteOne = '/medical/conclusion/delete', - deleteBatch = '/medical/conclusion/deleteBatch', - queryById = '/medical/conclusion/queryById', - getTreeData = '/medical/conclusion/getTreeData', -} -/** - * 列表接口 - * @param params - */ -export const resDataEdit = (params) => defHttp.get({ url: Api.queryById, params }); -/** - * 列表接口 - * @param params - */ -export const treeData = (params) => defHttp.get({ url: Api.getTreeData, params }); -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); -/** - * 批量审批 - */ -export const examineBatch = (params) => { - return defHttp.post({ url: Api.examineBatch, params }); -}; -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.examine : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/medical/disease/medicalExam/MedicalExam.data.ts b/src/views/medical/disease/medicalExam/MedicalExam.data.ts deleted file mode 100644 index 03f3f6c..0000000 --- a/src/views/medical/disease/medicalExam/MedicalExam.data.ts +++ /dev/null @@ -1,104 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { getPhysicalHospitalsList } from '/@/views/system/user/user.api'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '医院名称', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '结论描述', - align: 'center', - dataIndex: 'conclusionDes', - }, - { - title: '病种字典表', - align: 'center', - dataIndex: 'diseasesDicName', - }, - { - title: '审核状态', - align: 'center', - dataIndex: 'conclusionCheckStatus', - customRender: ({ text }) => { - return render.renderDict(text, 'medical_check_status'); - }, - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '结论描述', - field: 'conclusionDes', - component: 'Input', - }, - { - label: '审核状态', - field: 'conclusionCheckStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'medical_check_status', - }, - }, - { - label: '医院选择', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '病种', - field: 'diseasesDicId', - component: 'JTreeDisease', - componentProps: () => ({ - multiple: true, - getPopupContainer: () => document.body, - }), - //rules: [{ required: false, message: '请选择病种' }], - }, - { - label: '审核状态', - field: 'conclusionCheckStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'medical_check_status', - type: 'radio', - }, - defaultValue: '1', - required: true, - }, - { - label: '结论描述', - field: 'conclusionDes', - component: 'InputTextArea', - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/disease/medicalExam/MedicalExamList.vue b/src/views/medical/disease/medicalExam/MedicalExamList.vue deleted file mode 100644 index ae5cc79..0000000 --- a/src/views/medical/disease/medicalExam/MedicalExamList.vue +++ /dev/null @@ -1,167 +0,0 @@ - - - - - diff --git a/src/views/medical/disease/medicalExam/components/MedicalExamModal.vue b/src/views/medical/disease/medicalExam/components/MedicalExamModal.vue deleted file mode 100644 index f666ee2..0000000 --- a/src/views/medical/disease/medicalExam/components/MedicalExamModal.vue +++ /dev/null @@ -1,135 +0,0 @@ - - - - - diff --git a/src/views/medical/disease/medicalExam/components/MedicalExamModelForm.vue b/src/views/medical/disease/medicalExam/components/MedicalExamModelForm.vue deleted file mode 100644 index 8807da0..0000000 --- a/src/views/medical/disease/medicalExam/components/MedicalExamModelForm.vue +++ /dev/null @@ -1,65 +0,0 @@ - - - diff --git a/src/views/medical/examinationStatistics/compoents/examinationStatisticsDrawer.vue b/src/views/medical/examinationStatistics/compoents/examinationStatisticsDrawer.vue deleted file mode 100644 index 99379a8..0000000 --- a/src/views/medical/examinationStatistics/compoents/examinationStatisticsDrawer.vue +++ /dev/null @@ -1,54 +0,0 @@ - - - diff --git a/src/views/medical/examinationStatistics/examinationStatisticsList.api.ts b/src/views/medical/examinationStatistics/examinationStatisticsList.api.ts deleted file mode 100644 index 9e3815f..0000000 --- a/src/views/medical/examinationStatistics/examinationStatisticsList.api.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/health-archives/archives/physicalExaminationTotal/list', - selectPhysicalExaminationChildListByTotalId = '/health-archives/archives/physicalExaminationChild/selectPhysicalExaminationChildListByTotalId', - exportXls = '/health-archives/archives/physicalExaminationTotal/exportXls', -} - -export const list = (params) => defHttp.get({ url: Api.list, params }); -export const exportXls = (params) => defHttp.get({ url: Api.exportXls, params }); -export const selectPhysicalExaminationChildListByTotalId = (params) => defHttp.get({ url: Api.selectPhysicalExaminationChildListByTotalId, params }); diff --git a/src/views/medical/examinationStatistics/examinationStatisticsList.data.ts b/src/views/medical/examinationStatistics/examinationStatisticsList.data.ts deleted file mode 100644 index 7084345..0000000 --- a/src/views/medical/examinationStatistics/examinationStatisticsList.data.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; - -export const columns: BasicColumn[] = [ - { - title: '单位', - align: 'center', - dataIndex: 'unitName', - }, - { - title: '部门', - align: 'center', - dataIndex: 'departmentName', - }, - { - title: '年份', - align: 'center', - dataIndex: 'year', - }, - { - title: '体检人数', - align: 'center', - dataIndex: 'totalNum', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - getPopupContainer: () => document.body, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '年份', - field: 'year', - component: 'DatePicker', - componentProps: () => { - return { - picker: 'year', - valueFormat: 'YYYY', - }; - }, - }, -]; diff --git a/src/views/medical/examinationStatistics/examinationStatisticsList.vue b/src/views/medical/examinationStatistics/examinationStatisticsList.vue deleted file mode 100644 index 8c14128..0000000 --- a/src/views/medical/examinationStatistics/examinationStatisticsList.vue +++ /dev/null @@ -1,83 +0,0 @@ - - - diff --git a/src/views/medical/gi/area/MedicalGiHospitalArea.api.ts b/src/views/medical/gi/area/MedicalGiHospitalArea.api.ts deleted file mode 100644 index 5fcae33..0000000 --- a/src/views/medical/gi/area/MedicalGiHospitalArea.api.ts +++ /dev/null @@ -1,87 +0,0 @@ -import {defHttp} from '/@/utils/http/axios'; -import { useMessage } from "/@/hooks/web/useMessage"; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medicalGi/medicalGiHospitalArea/list', - save='/medicalGi/medicalGiHospitalArea/add', - edit='/medicalGi/medicalGiHospitalArea/edit', - deleteOne = '/medicalGi/medicalGiHospitalArea/delete', - deleteBatch = '/medicalGi/medicalGiHospitalArea/deleteBatch', - importExcel = '/medicalGi/medicalGiHospitalArea/importExcel', - exportXls = '/medicalGi/medicalGiHospitalArea/exportXls', - medicalGiHospitalAreaCountList = '/medicalGi/medicalGiHospitalArea/queryMedicalGiHospitalAreaCountByMainId', - medicalGiHospitalAreaDateList = '/medicalGi/medicalGiHospitalArea/queryMedicalGiHospitalAreaDateByMainId', - -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; - -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 查询子表数据 - * @param params - */ -export const medicalGiHospitalAreaCountList = Api.medicalGiHospitalAreaCountList; -/** - * 查询子表数据 - * @param params - */ -export const medicalGiHospitalAreaDateList = Api.medicalGiHospitalAreaDateList; -/** - * 列表接口 - * @param params - */ -export const list = (params) => - defHttp.get({url: Api.list, params}); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); - } - }); -} -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({url: url, params}); -} diff --git a/src/views/medical/gi/area/MedicalGiHospitalArea.data.ts b/src/views/medical/gi/area/MedicalGiHospitalArea.data.ts deleted file mode 100644 index 1d2a1a4..0000000 --- a/src/views/medical/gi/area/MedicalGiHospitalArea.data.ts +++ /dev/null @@ -1,161 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { JVxeTypes, JVxeColumn } from '/@/components/jeecg/JVxeTable/types'; -import { BODY_CONTAINER } from '/@/utils/domUtils'; -import { DATE_FORMAT } from '/@/utils/dateUtil'; -import { getHospitalsGiList } from '/@/views/medical/gi/hospital/MedicalGiHospital.api'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '承检医院', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '每日最多承检人数', - align: 'center', - dataIndex: 'perCount', - }, - { - title: '承检日期起期', - align: 'center', - dataIndex: 'medicalDateBegin', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, - { - title: '承检日期止期', - align: 'center', - dataIndex: 'medicalDateEnd', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, - { - title: '有效标志', - align: 'center', - dataIndex: 'validStatus_dictText', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '承检医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getHospitalsGiList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: true, - }, - }, -]; - -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '承检医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getHospitalsGiList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - }, - rules: [{ required: true }], - }, - { - label: '每日最多承检人数', - field: 'perCount', - component: 'InputNumber', - }, - { - label: '承检日期', - field: 'medicalDate', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - getPopupContainer: () => BODY_CONTAINER, - valueFormat: DATE_FORMAT, - onChange: ([start, end]) => { - formModel.medicalDateBegin = start; - formModel.medicalDateEnd = end; - }, - }; - }, - rules: [{ required: true, message: '请选择承检时间' }], - }, - { - label: '', - field: 'medicalDateBegin', - component: 'Input', - show: false, - }, - { - label: '', - field: 'medicalDateEnd', - component: 'Input', - show: false, - }, - { - label: '有效标志', - field: 'validStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'valid_status', - type: 'radio', - }, - defaultValue: '1', - rules: [{ required: true }], - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; -//子表单数据 -//子表表格配置 -export const medicalGiHospitalAreaCountColumns: JVxeColumn[] = [ - { - title: '当天最多参检人数', - key: 'perCount', - type: JVxeTypes.inputNumber, - width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - }, - { - title: '例外日期', - key: 'exceptDate', - type: JVxeTypes.date, - width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - }, -]; -export const medicalGiHospitalAreaDateColumns: JVxeColumn[] = [ - { - title: '不参检日期', - key: 'exceptDate', - type: JVxeTypes.date, - width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/gi/area/MedicalGiHospitalAreaList.vue b/src/views/medical/gi/area/MedicalGiHospitalAreaList.vue deleted file mode 100644 index c6caecc..0000000 --- a/src/views/medical/gi/area/MedicalGiHospitalAreaList.vue +++ /dev/null @@ -1,167 +0,0 @@ - - - - - diff --git a/src/views/medical/gi/area/components/MedicalGiHospitalAreaForm.vue b/src/views/medical/gi/area/components/MedicalGiHospitalAreaForm.vue deleted file mode 100644 index 00b4f71..0000000 --- a/src/views/medical/gi/area/components/MedicalGiHospitalAreaForm.vue +++ /dev/null @@ -1,147 +0,0 @@ - - - diff --git a/src/views/medical/gi/area/components/MedicalGiHospitalAreaModal.vue b/src/views/medical/gi/area/components/MedicalGiHospitalAreaModal.vue deleted file mode 100644 index 3b9a668..0000000 --- a/src/views/medical/gi/area/components/MedicalGiHospitalAreaModal.vue +++ /dev/null @@ -1,138 +0,0 @@ - - - - - diff --git a/src/views/medical/gi/areadept/MedicalGiHospitalDeptArea.api.ts b/src/views/medical/gi/areadept/MedicalGiHospitalDeptArea.api.ts deleted file mode 100644 index d53ac3d..0000000 --- a/src/views/medical/gi/areadept/MedicalGiHospitalDeptArea.api.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/health-medical-gi/medicalGi/medicalGiHospitalDeptArea/list', - save = '/health-medical-gi/medicalGi/medicalGiHospitalDeptArea/add', - edit = '/health-medical-gi/medicalGi/medicalGiHospitalDeptArea/edit', - deleteOne = '/health-medical-gi/medicalGi/medicalGiHospitalDeptArea/delete', - deleteBatch = '/health-medical-gi/medicalGi/medicalGiHospitalDeptArea/deleteBatch', - medicalGiHospitalDeptAreaItemList = '/health-medical-gi/medicalGi/medicalGiHospitalDeptArea/queryMedicalGiHospitalDeptAreaItemByMainId', - medicalGiHospitalDeptAreaItemListByMonth = '/health-medical-gi/medicalGi/medicalGiHospitalDeptArea/queryMedicalGiHospitalDeptAreaItemByMainIdAndMonth', -} -/** - * 查询子表数据 - * @param params - */ -export const medicalGiHospitalDeptAreaItemList = Api.medicalGiHospitalDeptAreaItemList; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); -export const itemList = (params) => defHttp.get({ url: Api.medicalGiHospitalDeptAreaItemList, params }); -export const itemListMonth = (params) => defHttp.get({ url: Api.medicalGiHospitalDeptAreaItemListByMonth, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/medical/gi/areadept/MedicalGiHospitalDeptArea.data.ts b/src/views/medical/gi/areadept/MedicalGiHospitalDeptArea.data.ts deleted file mode 100644 index 0a4e318..0000000 --- a/src/views/medical/gi/areadept/MedicalGiHospitalDeptArea.data.ts +++ /dev/null @@ -1,193 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { rules } from '/@/utils/helper/validator'; -import { render } from '/@/utils/common/renderUtils'; -import { JVxeTypes, JVxeColumn } from '/@/components/jeecg/JVxeTable/types'; -import { getMedicalSecondDeparts } from '/@/views/system/user/user.api'; -import { getHospitalsGiList } from '/@/views/medical/gi/hospital/MedicalGiHospital.api'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '单位ID', - align: 'center', - dataIndex: 'deptId', - ifShow: false, - }, - { - title: '单位', - align: 'center', - dataIndex: 'deptName', - }, - { - title: '医院ID', - align: 'center', - dataIndex: 'hospitalId', - ifShow: false, - }, - { - title: '医院名称', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '体检年度', - align: 'center', - dataIndex: 'medicalYear', - }, - { - title: '有效标志', - align: 'center', - dataIndex: 'validStatus_dictText', - }, - { - title: '创建时间', - align: 'center', - dataIndex: 'createTime', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '单位', - field: 'deptId', - component: 'ApiSelect', - componentProps: ({ schema }) => { - // const { secondSelectValue, secondSelectDisabled } = useDepartment({ schema, key: 'id' }); - // secondSelectValue(); - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - immediate: true, - // disabled: secondSelectDisabled, - }; - }, - }, - { - label: '有效标志', - field: 'validStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'valid_status', - }, - //colProps: {span: 6}, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - showTime: false, - valueFormat: 'YYYY', - picker: 'year', - }, - defaultValue: new Date(), - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '单位', - field: 'deptId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - // const { secondSelectValue, secondSelectDisabled } = useDepartment({ schema, key: 'id' }); - // secondSelectValue(); - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - disabled: true, - // disabled: secondSelectDisabled, - }; - }, - colProps: { span: 12 }, - }, - { - label: '承检医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getHospitalsGiList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - disabled: true, - }, - rules: [{ required: true }], - colProps: { span: 12 }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'Input', - colProps: { span: 12 }, - componentProps: { - disabled: true, - }, - }, - { - label: '有效标志', - field: 'validStatus', - component: 'JDictSelectTag', - colProps: { span: 12 }, - componentProps: { - type: 'radio', - dictCode: 'valid_status', - }, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -export const medicalGiHospitalDeptAreaItemFormSchema = []; -//子表单数据 -//子表表格配置 -export const medicalGiHospitalDeptAreaItemColumns: JVxeColumn[] = [ - { - title: '日期', - key: 'aiDate', - type: JVxeTypes.date, - width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - }, - { - title: '承检人数', - key: 'aiCount', - type: JVxeTypes.inputNumber, - width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - }, -]; - -// 高级查询数据 -export const superQuerySchema = { - hospitalId: { title: '医院ID', order: 0, view: 'text', type: 'string' }, - planId: { title: '体检计划ID', order: 1, view: 'text', type: 'string' }, - validStatus: { title: '有效标志', order: 2, view: 'radio', type: 'string' }, - //子表高级查询 -}; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/gi/areadept/MedicalGiHospitalDeptAreaList.vue b/src/views/medical/gi/areadept/MedicalGiHospitalDeptAreaList.vue deleted file mode 100644 index a27d928..0000000 --- a/src/views/medical/gi/areadept/MedicalGiHospitalDeptAreaList.vue +++ /dev/null @@ -1,173 +0,0 @@ - - - - - diff --git a/src/views/medical/gi/areadept/components/MedicalGiHospitalDeptAreaForm.vue b/src/views/medical/gi/areadept/components/MedicalGiHospitalDeptAreaForm.vue deleted file mode 100644 index b6b83b4..0000000 --- a/src/views/medical/gi/areadept/components/MedicalGiHospitalDeptAreaForm.vue +++ /dev/null @@ -1,118 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/medical/gi/areadept/components/MedicalGiHospitalDeptAreaItemForm.vue b/src/views/medical/gi/areadept/components/MedicalGiHospitalDeptAreaItemForm.vue deleted file mode 100644 index 7bf2974..0000000 --- a/src/views/medical/gi/areadept/components/MedicalGiHospitalDeptAreaItemForm.vue +++ /dev/null @@ -1,75 +0,0 @@ - - diff --git a/src/views/medical/gi/areadept/components/MedicalGiHospitalDeptAreaModal.vue b/src/views/medical/gi/areadept/components/MedicalGiHospitalDeptAreaModal.vue deleted file mode 100644 index 52557f6..0000000 --- a/src/views/medical/gi/areadept/components/MedicalGiHospitalDeptAreaModal.vue +++ /dev/null @@ -1,337 +0,0 @@ - - - - - - diff --git a/src/views/medical/gi/hospital/MedicalGiHospital.api.ts b/src/views/medical/gi/hospital/MedicalGiHospital.api.ts deleted file mode 100644 index 1fb9820..0000000 --- a/src/views/medical/gi/hospital/MedicalGiHospital.api.ts +++ /dev/null @@ -1,79 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medicalGi/medicalGiHospital/list', - save = '/medicalGi/medicalGiHospital/add', - edit = '/medicalGi/medicalGiHospital/edit', - deleteOne = '/medicalGi/medicalGiHospital/delete', - deleteBatch = '/medicalGi/medicalGiHospital/deleteBatch', - importExcel = '/medicalGi/medicalGiHospital/importExcel', - exportXls = '/medicalGi/medicalGiHospital/exportXls', - getAllHospital = '/medicalGi/medicalGiHospital/getAllHospital', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 查询所有的胃肠镜医院 - */ -export const getHospitalsGiList = async () => { - return await defHttp.get({ url: Api.getAllHospital }); -}; -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/medical/gi/hospital/MedicalGiHospital.data.ts b/src/views/medical/gi/hospital/MedicalGiHospital.data.ts deleted file mode 100644 index 8908137..0000000 --- a/src/views/medical/gi/hospital/MedicalGiHospital.data.ts +++ /dev/null @@ -1,118 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '医院名称', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '医院地址', - align: 'center', - dataIndex: 'hospitalAddress', - }, - { - title: '医院简介', - align: 'center', - dataIndex: 'hospitalDesc', - }, - { - title: '创建时间', - align: 'center', - dataIndex: 'createDate', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '医院名称', - field: 'hospitalName', - component: 'Input', - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '医院名称', - field: 'hospitalName', - component: 'Input', - rules: [{ required: true }], - }, - { - label: '医院地址', - field: 'hospitalAddress', - component: 'InputTextArea', - componentProps: { - autoSize: { minRows: 2, maxRows: 4 }, - }, - rules: [ - { required: true, message: '请输入医院地址' }, - { min: 0, max: 200, message: '长度不能超过 100 个字符', trigger: 'blur' }, - ], - }, - { - label: '医院简介', - field: 'hospitalDesc', - component: 'InputTextArea', - componentProps: { - autoSize: { minRows: 2, maxRows: 4 }, - }, - rules: [ - { required: true, message: '请输入医院简介' }, - { min: 0, max: 200, message: '长度不能超过 100 个字符', trigger: 'blur' }, - ], - }, - { - label: '胃肠镜注意事项', - field: 'hospitalNotice', - component: 'JEditor', - rules: [{ required: true }], - componentProps: () => { - return { - height: 200, - }; - }, - }, - { - label: '是否需要就诊卡号', - field: 'medicalCardFlag', - component: 'JDictSelectTag', - rules: [{ required: true }], - componentProps: { - dictCode: 'card_flag', - type: 'radio', - }, - defaultValue: '0', - }, - { - label: '就诊卡号注册说明', - field: 'medicalCardRegistNotice', - component: 'JEditor', - componentProps: () => { - return { - height: 200, - }; - }, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/gi/hospital/MedicalGiHospitalList.vue b/src/views/medical/gi/hospital/MedicalGiHospitalList.vue deleted file mode 100644 index 80ce7ea..0000000 --- a/src/views/medical/gi/hospital/MedicalGiHospitalList.vue +++ /dev/null @@ -1,161 +0,0 @@ - - - - - diff --git a/src/views/medical/gi/hospital/components/MedicalGiHospitalForm.vue b/src/views/medical/gi/hospital/components/MedicalGiHospitalForm.vue deleted file mode 100644 index 98c2799..0000000 --- a/src/views/medical/gi/hospital/components/MedicalGiHospitalForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/medical/gi/hospital/components/MedicalGiHospitalModal.vue b/src/views/medical/gi/hospital/components/MedicalGiHospitalModal.vue deleted file mode 100644 index ce0bd7b..0000000 --- a/src/views/medical/gi/hospital/components/MedicalGiHospitalModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - diff --git a/src/views/medical/gi/paper/MedicalGiUserPaper.api.ts b/src/views/medical/gi/paper/MedicalGiUserPaper.api.ts deleted file mode 100644 index 87ad532..0000000 --- a/src/views/medical/gi/paper/MedicalGiUserPaper.api.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medicalGi/medicalGiUserPaper/list', - save = '/medicalGi/medicalGiUserPaper/add', - edit = '/medicalGi/medicalGiUserPaper/edit', - deleteOne = '/medicalGi/medicalGiUserPaper/delete', - deleteBatch = '/medicalGi/medicalGiUserPaper/deleteBatch', - importExcel = '/medicalGi/medicalGiUserPaper/importExcel', - exportXls = '/medicalGi/medicalGiUserPaper/exportXls', - exportXlsTask = '/medicalGi/medicalGiUserPaper/exportXlsTask', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -/** - * 导出项目 - * @param params - */ -export const taskStart = (params) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.exportXlsTask, params }); - }, - }); -}; diff --git a/src/views/medical/gi/paper/MedicalGiUserPaper.data.ts b/src/views/medical/gi/paper/MedicalGiUserPaper.data.ts deleted file mode 100644 index 3eb159b..0000000 --- a/src/views/medical/gi/paper/MedicalGiUserPaper.data.ts +++ /dev/null @@ -1,317 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { getHospitalsGiList } from '/@/views/medical/gi/hospital/MedicalGiHospital.api'; -import { useDepartment } from '/@/utils/auth/formAuth'; -import { getThirdDepartmentList } from '/@/views/system/user/user.api'; -import moment from 'moment/moment'; -import { useMessage } from '/@/hooks/web/useMessage'; -import { allSecondaryDepartsNew } from '/@/utils/system/api'; -const { createMessage } = useMessage(); -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'realName', - }, - { - title: '单位', - align: 'center', - dataIndex: 'secondDepart', - }, - { - title: '部门', - align: 'center', - dataIndex: 'thirdDepart', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - }, - { - title: '身份证号', - align: 'center', - dataIndex: 'idCard', - width: '10%', - }, - { - title: '员工编号', - align: 'center', - dataIndex: 'workNo', - }, - { - title: '体检医院', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '预约日期', - align: 'center', - dataIndex: 'orderDate', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, - { - title: '体检状态', - align: 'center', - dataIndex: 'medicalStatus_dictText', - }, - { - title: '体检日期', - align: 'center', - dataIndex: 'medicalDate', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, - { - title: '体检年度', - align: 'center', - dataIndex: 'medicalYear', - }, - { - title: '计划名称', - align: 'center', - dataIndex: 'planName', - }, - { - title: '是否使用阿司匹林', - align: 'center', - dataIndex: 'aspirinFlag_dictText', - }, - { - title: '是否有心脏疾病', - align: 'center', - dataIndex: 'heartDiseaseFlag_dictText', - }, - { - title: '是否有肺部疾病', - align: 'center', - dataIndex: 'lungsDiseaseFlag_dictText', - }, - { - title: '是否有哮喘', - align: 'center', - dataIndex: 'diabetesFlag_dictText', - }, - { - title: '胸部是否检查', - align: 'center', - dataIndex: 'chestCheckFlag_dictText', - }, - { - title: '血液是否检查', - align: 'center', - dataIndex: 'bloodCheckFlag_dictText', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realName', - component: 'Input', - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sex2', - }, - }, - { - label: '员工编号', - field: 'workNo', - component: 'Input', - }, - { - label: '身份证号', - field: 'idCard', - component: 'Input', - }, - { - label: '体检状态', - field: 'medicalStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'gi_status', - }, - }, - { - label: '单位', - field: 'secondDepartId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: allSecondaryDepartsNew, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - onChange: (val) => { - if (val) { - formModel.thirdDepartId = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - } - }, - onDeselect: () => { - formModel.deptId = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '部门', - field: 'thirdDepartId', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - const { thirdSelectValue, thirdSelectDisabled } = useDepartment({ schema, key: 'id' }); - thirdSelectValue(); - return { - api: getThirdDepartmentList, - resultField: 'list', - labelField: 'departName', - params: { - secondDepartId: formModel.secondDepartId, - }, - valueField: 'id', - immediate: true, - onFocus: () => { - if (!formModel.secondDepartId) { - return createMessage.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - disabled: thirdSelectDisabled, - }; - }, - }, - { - label: '医院选择', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getHospitalsGiList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY', - picker: 'year', - }, - defaultValue: moment(new Date()).format('YYYY'), - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '计划名称', - field: 'planName', - component: 'Input', - componentProps: { - disabled: true, - }, - }, - { - label: '姓名', - field: 'realName', - component: 'Input', - componentProps: { - disabled: true, - }, - }, - { - label: '是否使用阿司匹林', - field: 'aspirinFlag', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'disease_flag', - type: 'radio', - }, - }, - { - label: '是否有心脏疾病', - field: 'heartDiseaseFlag', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'disease_flag', - type: 'radio', - }, - }, - { - label: '是否有肺部疾病', - field: 'lungsDiseaseFlag', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'disease_flag', - type: 'radio', - }, - }, - { - label: '是否有哮喘', - field: 'diabetesFlag', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'disease_flag', - type: 'radio', - }, - }, - { - label: '胸部是否检查', - field: 'chestCheckFlag', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'disease_flag', - type: 'radio', - }, - }, - { - label: '血液是否检查', - field: 'bloodCheckFlag', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'disease_flag', - type: 'radio', - }, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/gi/paper/MedicalGiUserPaperList.vue b/src/views/medical/gi/paper/MedicalGiUserPaperList.vue deleted file mode 100644 index 993f0f9..0000000 --- a/src/views/medical/gi/paper/MedicalGiUserPaperList.vue +++ /dev/null @@ -1,184 +0,0 @@ - - - - - diff --git a/src/views/medical/gi/paper/components/MedicalGiUserPaperForm.vue b/src/views/medical/gi/paper/components/MedicalGiUserPaperForm.vue deleted file mode 100644 index abf81af..0000000 --- a/src/views/medical/gi/paper/components/MedicalGiUserPaperForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/medical/gi/paper/components/MedicalGiUserPaperModal.vue b/src/views/medical/gi/paper/components/MedicalGiUserPaperModal.vue deleted file mode 100644 index ea8954e..0000000 --- a/src/views/medical/gi/paper/components/MedicalGiUserPaperModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/medical/gi/plan/MedicalGiPlan.api.ts b/src/views/medical/gi/plan/MedicalGiPlan.api.ts deleted file mode 100644 index 8d95b77..0000000 --- a/src/views/medical/gi/plan/MedicalGiPlan.api.ts +++ /dev/null @@ -1,83 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medicalGi/medicalGiPlan/list', - save = '/medicalGi/medicalGiPlan/add', - edit = '/medicalGi/medicalGiPlan/edit', - deleteOne = '/medicalGi/medicalGiPlan/delete', - deleteBatch = '/medicalGi/medicalGiPlan/deleteBatch', - importExcel = '/medicalGi/medicalGiPlan/importExcel', - exportXls = '/medicalGi/medicalGiPlan/exportXls', - queryById = '/medicalGi/medicalGiPlan/queryById', - getPlan = '/medicalGi/medicalGiPlan/get', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 编辑请求数据 - * @param params - */ -export const resDataEdit = (params) => defHttp.get({ url: Api.queryById, params }); -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; -export const getPlanApi = (params) => { - return defHttp.get({ url: Api.getPlan, params }); -}; - diff --git a/src/views/medical/gi/plan/MedicalGiPlan.data.ts b/src/views/medical/gi/plan/MedicalGiPlan.data.ts deleted file mode 100644 index df2d009..0000000 --- a/src/views/medical/gi/plan/MedicalGiPlan.data.ts +++ /dev/null @@ -1,268 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { getHospitalsGiList } from '/@/views/medical/gi/hospital/MedicalGiHospital.api'; -import moment from 'moment/moment'; -import { BODY_CONTAINER } from '/@/utils/domUtils'; -import { DATE_FORMAT } from '/@/utils/dateUtil'; -import { allSecondaryDepartsNew } from '/@/utils/system/api'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '单位', - align: 'center', - dataIndex: 'planDeptName', - }, - { - title: '体检年份', - align: 'center', - dataIndex: 'medicalYear', - }, - { - title: '计划名称', - align: 'center', - dataIndex: 'planTitle', - }, - { - title: '承检医院', - align: 'center', - dataIndex: 'planHospital', - }, - { - title: '有效标志', - align: 'center', - dataIndex: 'validStatus_dictText', - slots: { customRender: 'statusTag' }, - width: 80, - }, - /* { - title: '签约医院', - align: 'center', - dataIndex: 'contractHospitalName', - },*/ - - /*{ - title: '允许预约起期', - align: 'center', - dataIndex: 'orderDateStart', - }, - { - title: '允许预约止期', - align: 'center', - dataIndex: 'orderDateEnd', - },*/ - { - title: '创建时间', - align: 'center', - dataIndex: 'createDate', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, - { - title: '创建人', - align: 'center', - dataIndex: 'createBy', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '单位', - field: 'planDeptId', - component: 'ApiSelect', - componentProps: ({}) => { - // const { secondSelectValue, secondSelectDisabled } = useDepartment({ schema, key: 'id' }); - // secondSelectValue(); - return { - api: allSecondaryDepartsNew, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - // disabled: secondSelectDisabled, - }; - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - showTime: false, - valueFormat: 'YYYY', - picker: 'year', - }, - defaultValue: new Date(), - }, - { - label: '计划名称', - field: 'planTitle', - component: 'Input', - }, - { - label: '有效标志', - field: 'validStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'valid_status', - }, - // defaultValue: '1', - }, -]; -const getYear = (value) => { - return moment(value).format('YYYY'); -}; -const validateIds = async (_rule, value) => { - const flag = Object.keys(value || {}).length || 0; - if (!flag) { - return Promise.reject('请选择承检医院'); - } else { - return Promise.resolve(); - } -}; -const valiDate = async (_rule, value) => { - if (getYear(value[0]) !== getYear(value[1])) { - return Promise.reject('不能跨年,年度保持一致'); - } else { - return Promise.resolve(); - } -}; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '单位', - field: 'planDeptId', - component: 'ApiSelect', - componentProps: { - api: allSecondaryDepartsNew, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - }, - rules: [{ required: true }], - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - picker: 'year', - valueFormat: 'YYYY', - }, - dynamicDisabled: ({ values }) => { - return !!values.id; - }, - defaultValue: new Date(), - rules: [{ required: true }], - }, - { - label: '计划名称', - field: 'planTitle', - component: 'Input', - dynamicRules: () => { - return [{ required: true, message: '请输入计划名称!' }]; - }, - rules: [{ required: true }], - }, - { - label: '承检医院', - field: 'hospitalIds', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getHospitalsGiList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - mode: 'multiple', - // getPopupContainer: () => document.body, - immediate: true, - onChange: (value) => { - // @ts-ignore - // setCheckData(value); - formModel.hospitalIds = value.join(','); - }, - }; - }, - rules: [{ required: true, validator: validateIds, trigger: 'blur' }], - }, - // { - // label: '允许预约日期', - // field: 'orderDate', - // component: 'RangePicker', - // componentProps: ({ formModel }) => { - // return { - // getPopupContainer: () => BODY_CONTAINER, - // valueFormat: DATE_FORMAT, - // onChange: ([start, end]) => { - // formModel.orderDateStart = start; - // formModel.orderDateEnd = end; - // }, - // }; - // }, - // rules: [{ required: true }], - // dynamicRules: ({ model }) => { - // return [ - // { - // required: true, - // validator: (_, value) => { - // if (model.hasOwnProperty('orderDateStart')) { - // if (getYear(value[0]) !== getYear(model.orderDateStart) && getYear(value[1]) !== getYear(model.orderDateEnd)) { - // return Promise.reject('不能跨年,与体检计划日期年度保持一致'); - // } else { - // return Promise.resolve(); - // } - // } - // }, - // trigger: 'change', - // }, - // { - // required: true, - // validator: valiDate, - // trigger: 'change', - // }, - // ]; - // }, - // }, - // { - // label: '', - // field: 'orderDateStart', - // component: 'Input', - // show: false, - // }, - // { - // label: '', - // field: 'orderDateEnd', - // component: 'Input', - // show: false, - // }, - { - label: '有效标志', - field: 'validStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'valid_status', - type: 'radio', - }, - defaultValue: '1', - rules: [{ required: true }], - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/gi/plan/MedicalGiPlanList.vue b/src/views/medical/gi/plan/MedicalGiPlanList.vue deleted file mode 100644 index 65a3918..0000000 --- a/src/views/medical/gi/plan/MedicalGiPlanList.vue +++ /dev/null @@ -1,161 +0,0 @@ - - - - - diff --git a/src/views/medical/gi/plan/components/MedicalGiPlanForm.vue b/src/views/medical/gi/plan/components/MedicalGiPlanForm.vue deleted file mode 100644 index 0cccd6c..0000000 --- a/src/views/medical/gi/plan/components/MedicalGiPlanForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/medical/gi/plan/components/MedicalGiPlanModal.vue b/src/views/medical/gi/plan/components/MedicalGiPlanModal.vue deleted file mode 100644 index fae7abe..0000000 --- a/src/views/medical/gi/plan/components/MedicalGiPlanModal.vue +++ /dev/null @@ -1,125 +0,0 @@ - - - - - diff --git a/src/views/medical/gi/pre/count/MedicalGiPreCount.api.ts b/src/views/medical/gi/pre/count/MedicalGiPreCount.api.ts deleted file mode 100644 index 2b408f0..0000000 --- a/src/views/medical/gi/pre/count/MedicalGiPreCount.api.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medicalGi/medicalGiPreSelect/count', - save = '/medicalGi/medicalGiPreSelect/add', - edit = '/medicalGi/medicalGiPreSelect/edit', - deleteOne = '/medicalGi/medicalGiPreSelect/delete', - deleteBatch = '/medicalGi/medicalGiPreSelect/deleteBatch', - importExcel = '/medicalGi/medicalGiPreSelect/importExcel', - exportXls = '/medicalGi/medicalGiPreSelect/exportXls', - userItems = '/medicalGi/medicalGiPreSelect/userItems', - exportCounts = '/medicalGi/medicalGiPreSelect/exportCounts', - exportItems = '/medicalGi/medicalGiPreSelect/exportItems', -} - -export const exportItemApi = (params) => { - return defHttp.get({ url: Api.exportItems, params }); -}; -export const exportCountApi = (params) => { - return defHttp.get({ url: Api.exportCounts, params }); -}; -export const userItemsApi = (params) => { - return defHttp.get({ url: Api.userItems, params }); -}; -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/medical/gi/pre/count/MedicalGiPreCount.data.ts b/src/views/medical/gi/pre/count/MedicalGiPreCount.data.ts deleted file mode 100644 index 424eb75..0000000 --- a/src/views/medical/gi/pre/count/MedicalGiPreCount.data.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '单位', - align: 'center', - dataIndex: 'secondDepart', - }, - { - title: '部门', - align: 'center', - dataIndex: 'thirdDepart', - }, - { - title: '预选计划', - align: 'center', - dataIndex: 'planTitle', - }, - { - title: '预选医院', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '预选人数', - align: 'center', - dataIndex: 'count', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = []; -//表单数据 -export const formSchema: FormSchema[] = [ - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/gi/pre/count/MedicalGiPreCountList.vue b/src/views/medical/gi/pre/count/MedicalGiPreCountList.vue deleted file mode 100644 index 55f10b8..0000000 --- a/src/views/medical/gi/pre/count/MedicalGiPreCountList.vue +++ /dev/null @@ -1,263 +0,0 @@ - - - - - diff --git a/src/views/medical/gi/pre/count/components/MedicalGiPreCountForm.vue b/src/views/medical/gi/pre/count/components/MedicalGiPreCountForm.vue deleted file mode 100644 index 8aacb19..0000000 --- a/src/views/medical/gi/pre/count/components/MedicalGiPreCountForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/medical/gi/pre/count/components/MedicalGiPreCountModal.vue b/src/views/medical/gi/pre/count/components/MedicalGiPreCountModal.vue deleted file mode 100644 index e2e3341..0000000 --- a/src/views/medical/gi/pre/count/components/MedicalGiPreCountModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - diff --git a/src/views/medical/gi/pre/count/components/WinModel.vue b/src/views/medical/gi/pre/count/components/WinModel.vue deleted file mode 100644 index 05aac9b..0000000 --- a/src/views/medical/gi/pre/count/components/WinModel.vue +++ /dev/null @@ -1,194 +0,0 @@ - - - diff --git a/src/views/medical/gi/pre/plan/MedicalGiPrePlan.api.ts b/src/views/medical/gi/pre/plan/MedicalGiPrePlan.api.ts deleted file mode 100644 index fd42c13..0000000 --- a/src/views/medical/gi/pre/plan/MedicalGiPrePlan.api.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medicalGi/medicalGiPrePlan/list', - save = '/medicalGi/medicalGiPrePlan/add', - edit = '/medicalGi/medicalGiPrePlan/edit', - deleteOne = '/medicalGi/medicalGiPrePlan/delete', - deleteBatch = '/medicalGi/medicalGiPrePlan/deleteBatch', - importExcel = '/medicalGi/medicalGiPrePlan/importExcel', - exportXls = '/medicalGi/medicalGiPrePlan/exportXls', - queryById = '/medicalGi/medicalGiPrePlan/queryById', -} - -/** - * 编辑请求数据 - * @param params - */ -export const editData = (params) => defHttp.get({ url: Api.queryById, params }); -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/medical/gi/pre/plan/MedicalGiPrePlan.data.ts b/src/views/medical/gi/pre/plan/MedicalGiPrePlan.data.ts deleted file mode 100644 index dcd7ff0..0000000 --- a/src/views/medical/gi/pre/plan/MedicalGiPrePlan.data.ts +++ /dev/null @@ -1,218 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import moment from 'moment'; -import { allSecondaryDepartsNew } from '/@/utils/system/api'; -import { BODY_CONTAINER } from '/@/utils/domUtils'; -import { DATE_FORMAT } from '/@/utils/dateUtil'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '单位', - align: 'center', - dataIndex: 'planDeptName', - }, - { - title: '体检年份', - align: 'center', - dataIndex: 'medicalYear', - }, - { - title: '预选计划名称', - align: 'center', - dataIndex: 'planTitle', - }, - { - title: '有效标志', - align: 'center', - dataIndex: 'validStatus_dictText', - slots: { customRender: 'statusTag' }, - width: 80, - }, - { - title: '预选日期起期', - align: 'center', - dataIndex: 'selectDateStart', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, - { - title: '预选日期止期', - align: 'center', - dataIndex: 'selectDateEnd', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, - { - title: '创建日期', - align: 'center', - dataIndex: 'createTime', - }, -]; -const getYear = (value) => { - return moment(value).format('YYYY'); -}; -const valDate = async (_rule, value) => { - if (getYear(value[0]) !== getYear(value[1])) { - return Promise.reject('不能跨年,年度保持一致'); - } else { - return Promise.resolve(); - } -}; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '单位', - field: 'planDeptId', - component: 'ApiSelect', - componentProps: ({}) => { - return { - api: allSecondaryDepartsNew, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - }; - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - showTime: false, - valueFormat: 'YYYY', - picker: 'year', - }, - defaultValue: new Date(), - }, - { - label: '预选计划名称', - field: 'planTitle', - component: 'Input', - }, - { - label: '有效标志', - field: 'validStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'valid_status', - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '单位', - field: 'planDeptId', - component: 'ApiSelect', - componentProps: { - api: allSecondaryDepartsNew, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - }, - rules: [{ required: true }], - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - picker: 'year', - valueFormat: 'YYYY', - }, - dynamicDisabled: ({ values }) => { - return !!values.id; - }, - defaultValue: new Date(), - rules: [{ required: true }], - }, - { - label: '预选计划名称', - field: 'planTitle', - component: 'Input', - rules: [{ required: true }], - }, - { - label: '预选日期范围', - field: 'selectDate', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - getPopupContainer: () => BODY_CONTAINER, - valueFormat: DATE_FORMAT, - onChange: ([start, end]) => { - formModel.selectDateStart = start; - formModel.selectDateEnd = end; - }, - }; - }, - rules: [{ required: true }], - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: (_, value) => { - if (model.hasOwnProperty('selectDateStart')) { - if (getYear(value[0]) !== getYear(model.orderDateStart) && getYear(value[1]) !== getYear(model.selectDateEnd)) { - return Promise.reject('不能跨年,与预选计划日期年度保持一致'); - } else { - return Promise.resolve(); - } - } - }, - trigger: 'change', - }, - { - required: true, - validator: valDate, - trigger: 'change', - }, - ]; - }, - }, - { - label: '', - field: 'selectDateStart', - component: 'Input', - show: false, - }, - { - label: '', - field: 'selectDateEnd', - component: 'Input', - show: false, - }, - { - label: '有效标志', - field: 'validStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'valid_status', - type: 'radio', - }, - defaultValue: '1', - rules: [{ required: true }], - }, - - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/gi/pre/plan/MedicalGiPrePlanList.vue b/src/views/medical/gi/pre/plan/MedicalGiPrePlanList.vue deleted file mode 100644 index 47b0aba..0000000 --- a/src/views/medical/gi/pre/plan/MedicalGiPrePlanList.vue +++ /dev/null @@ -1,160 +0,0 @@ - - - - - diff --git a/src/views/medical/gi/pre/plan/components/MedicalGiPrePlanForm.vue b/src/views/medical/gi/pre/plan/components/MedicalGiPrePlanForm.vue deleted file mode 100644 index 39ab0b7..0000000 --- a/src/views/medical/gi/pre/plan/components/MedicalGiPrePlanForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/medical/gi/pre/plan/components/MedicalGiPrePlanModal.vue b/src/views/medical/gi/pre/plan/components/MedicalGiPrePlanModal.vue deleted file mode 100644 index 9d4f9f5..0000000 --- a/src/views/medical/gi/pre/plan/components/MedicalGiPrePlanModal.vue +++ /dev/null @@ -1,96 +0,0 @@ - - - - - diff --git a/src/views/medical/gi/pre/select/MedicalGiPreSelect.api.ts b/src/views/medical/gi/pre/select/MedicalGiPreSelect.api.ts deleted file mode 100644 index 46b9215..0000000 --- a/src/views/medical/gi/pre/select/MedicalGiPreSelect.api.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medicalGi/medicalGiPreSelect/items', - save = '/medicalGi/medicalGiPreSelect/add', - edit = '/medicalGi/medicalGiPreSelect/edit', - deleteOne = '/medicalGi/medicalGiPreSelect/delete', - deleteBatch = '/medicalGi/medicalGiPreSelect/deleteBatch', - importExcel = '/medicalGi/medicalGiPreSelect/importExcel', - exportXls = '/medicalGi/medicalGiPreSelect/exportXls', -} - -// export const exportExcel = (params) => defHttp.get({ url: Api.exportXls, params }); -export const exportExcel = (params) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: Api.exportXls, params }); - }, - }); -}; -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/medical/gi/pre/select/MedicalGiPreSelect.data.ts b/src/views/medical/gi/pre/select/MedicalGiPreSelect.data.ts deleted file mode 100644 index c849fa8..0000000 --- a/src/views/medical/gi/pre/select/MedicalGiPreSelect.data.ts +++ /dev/null @@ -1,182 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { allSecondaryDepartsNew } from '/@/utils/system/api'; -import { useDepartment } from '/@/utils/auth/formAuth'; -import { getThirdDepartmentList } from '/@/views/system/user/user.api'; -import { getHospitalsGiList } from '/@/views/medical/gi/hospital/MedicalGiHospital.api'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createMessage } = useMessage(); - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'realName', - }, - { - title: '员工编号', - align: 'center', - dataIndex: 'workNo', - }, - { - title: '身份证号', - align: 'center', - dataIndex: 'idCard', - }, - { - title: '单位', - align: 'center', - dataIndex: 'unit', - }, - { - title: '部门', - align: 'center', - dataIndex: 'depart', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - }, - { - title: '预选计划', - align: 'center', - dataIndex: 'planTitle', - }, - { - title: '预选医院', - align: 'center', - dataIndex: 'selectHospital', - }, - { - title: '提交时间', - align: 'center', - dataIndex: 'submitTime', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '预选计划名称', - field: 'planTitle', - component: 'Input', - }, - { - label: '姓名', - field: 'realName', - component: 'Input', - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sex2', - }, - }, - { - label: '员工编号', - field: 'workNo', - component: 'Input', - }, - { - label: '身份证号', - field: 'idCard', - component: 'Input', - }, - { - label: '单位', - field: 'secondDepartId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: allSecondaryDepartsNew, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - onChange: (val) => { - if (val) { - formModel.thirdDepartId = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - } - }, - onDeselect: () => { - formModel.secondDepartId = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '部门', - field: 'thirdDepartId', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - const { thirdSelectValue, thirdSelectDisabled } = useDepartment({ schema, key: 'id' }); - thirdSelectValue(); - return { - api: getThirdDepartmentList, - resultField: 'list', - labelField: 'departName', - params: { - secondDepartId: formModel.secondDepartId, - }, - valueField: 'id', - immediate: true, - onFocus: () => { - if (!formModel.secondDepartId) { - return createMessage.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - disabled: thirdSelectDisabled, - }; - }, - }, - { - label: '预选医院选择', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getHospitalsGiList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/gi/pre/select/MedicalGiPreSelectList.vue b/src/views/medical/gi/pre/select/MedicalGiPreSelectList.vue deleted file mode 100644 index 8aa98a5..0000000 --- a/src/views/medical/gi/pre/select/MedicalGiPreSelectList.vue +++ /dev/null @@ -1,196 +0,0 @@ - - - - - diff --git a/src/views/medical/gi/pre/select/components/MedicalGiPreSelectForm.vue b/src/views/medical/gi/pre/select/components/MedicalGiPreSelectForm.vue deleted file mode 100644 index d72ee23..0000000 --- a/src/views/medical/gi/pre/select/components/MedicalGiPreSelectForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/medical/gi/pre/select/components/MedicalGiPreSelectModal.vue b/src/views/medical/gi/pre/select/components/MedicalGiPreSelectModal.vue deleted file mode 100644 index 6373736..0000000 --- a/src/views/medical/gi/pre/select/components/MedicalGiPreSelectModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - diff --git a/src/views/medical/gi/result/MedicalGiUserResult.api.ts b/src/views/medical/gi/result/MedicalGiUserResult.api.ts deleted file mode 100644 index cf25629..0000000 --- a/src/views/medical/gi/result/MedicalGiUserResult.api.ts +++ /dev/null @@ -1,120 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -import { useGlobSetting } from '/@/hooks/setting'; -const globSetting = useGlobSetting(); -// const baseUploadUrl = globSetting.uploadUrl; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medicalGi/medicalGiUserResult/list', - save = '/medicalGi/medicalGiUserResult/add', - edit = '/medicalGi/medicalGiUserResult/edit', - deleteOne = '/medicalGi/medicalGiUserResult/delete', - deleteBatch = '/medicalGi/medicalGiUserResult/deleteBatch', - importExcel = '/medicalGi/medicalGiUserResult/importExcel', - exportXls = '/medicalGi/medicalGiUserResult/exportXls', - medicalGiUserResultItemList = '/medicalGi/medicalGiUserResult/queryMedicalGiUserResultItemByMainId', - medicalGiUserResultImageList = '/medicalGi/medicalGiUserResult/queryMedicalGiUserResultImageByMainId', - medicalGiUserResultDiseaseList = '/medicalGi/medicalGiUserResult/queryMedicalGiUserResultDiseaseByMainId', - medicalGiUserResultHandleList = '/medicalGi/medicalGiUserResult/queryMedicalGiUserResultHandleByMainId', - medicalGiUserResultDetailList = '/medicalGi/medicalGiUserResult/queryMedicalGiUserResultDetailByMainId', - exportXlsTask = '/medicalGi/medicalGiUserResult/exportXlsTask', - exportTempXls = '/medicalGi/medicalGiUserResult/exportTempXls', - // uploadReportImg = '/medicalGi/medicalGiUserResult/uploadReport', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; - -export const getExportTempUrl = Api.exportTempXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 查询子表数据 - * @param params - */ -export const medicalGiUserResultItemList = Api.medicalGiUserResultItemList; -/** - * 查询子表数据 - * @param params - */ -export const medicalGiUserResultImageList = Api.medicalGiUserResultImageList; -/** - * 查询子表数据 - * @param params - */ -export const medicalGiUserResultDiseaseList = Api.medicalGiUserResultDiseaseList; -/** - * 查询子表数据 - * @param params - */ -export const medicalGiUserResultHandleList = Api.medicalGiUserResultHandleList; -/** - * 查询子表数据 - * @param params - */ -export const medicalGiUserResultDetailList = Api.medicalGiUserResultDetailList; - -// export const uploadReportImg = baseUploadUrl+Api.uploadReportImg; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -/** - * 导出项目 - * @param params - */ -export const taskStart = (params) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.exportXlsTask, params }); - }, - }); -}; diff --git a/src/views/medical/gi/result/MedicalGiUserResult.data.ts b/src/views/medical/gi/result/MedicalGiUserResult.data.ts deleted file mode 100644 index 7f27385..0000000 --- a/src/views/medical/gi/result/MedicalGiUserResult.data.ts +++ /dev/null @@ -1,552 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { JVxeTypes, JVxeColumn } from '/@/components/jeecg/JVxeTable/types'; -import { getHospitalsGiList } from '/@/views/medical/gi/hospital/MedicalGiHospital.api'; -import moment from 'moment'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; -import { getMedicalSecondDeparts, getMedicalThirdDeparts } from '/@/views/system/user/user.api'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'name', - }, - { - title: '单位', - align: 'center', - dataIndex: 'secondDepart', - }, - { - title: '部门', - align: 'center', - dataIndex: 'thirdDepart', - }, - { - title: '员工编号', - align: 'center', - dataIndex: 'workNo', - }, - { - title: '身份证号', - align: 'center', - dataIndex: 'idCard', - width: '15%', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - }, - { - title: '承检医院', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '检查日期', - align: 'center', - dataIndex: 'medicalDate', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, - { - title: '体检年份', - align: 'center', - dataIndex: 'medicalYear', - }, - { - title: '胃镜报告', - align: 'center', - dataIndex: 'stomachReportUrl', - width: 120, - customRender: ({ text }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 40, - fallback: getDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '肠镜报告', - align: 'center', - dataIndex: 'bowelReportUrl', - width: 120, - customRender: ({ text }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 40, - fallback: getDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '创建时间', - align: 'center', - dataIndex: 'createDate', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'name', - component: 'Input', - }, - // { - // label: '性别', - // field: 'sex', - // component: 'JDictSelectTag', - // componentProps: { - // dictCode: 'sex2', - // }, - // }, - { - label: '员工编号', - field: 'workNo', - component: 'Input', - }, - { - label: '身份证号', - field: 'idCard', - component: 'Input', - }, - { - label: '单位', - field: 'secondDepartId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - // const { secondSelectValue, secondSelectDisabled } = useDepartment({ schema, key: 'id' }); - // secondSelectValue(); - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - onChange: (val) => { - if (val) { - formModel.thirdDepartId = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - } - }, - onDeselect: () => { - formModel.secondDepartId = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - // disabled: secondSelectDisabled, - }; - }, - }, - { - label: '部门', - field: 'thirdDepartId', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - return { - api: getMedicalThirdDeparts, - resultField: 'list', - labelField: 'departName', - params: { - secondDepartId: formModel.secondDepartId, - }, - valueField: 'id', - immediate: true, - onFocus: () => { - if (!formModel.secondDepartId) { - return createMessage.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '承检医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getHospitalsGiList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, - - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY', - picker: 'year', - }, - defaultValue: moment(new Date()).format('YYYY'), - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '姓名', - field: 'name', - component: 'Input', - componentProps: { - disabled: true, - }, - colProps: { span: 12 }, - }, - { - label: '身份证号', - field: 'idCard', - component: 'Input', - componentProps: { - disabled: true, - }, - colProps: { span: 12 }, - }, - { - label: '单位', - field: 'secondDepartId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - onChange: (val) => { - if (val) { - formModel.thirdDepartId = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - } - }, - onDeselect: () => { - formModel.secondDepartId = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - colProps: { span: 12 }, - }, - { - label: '部门', - field: 'thirdDepartId', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - return { - api: getMedicalThirdDeparts, - resultField: 'list', - labelField: 'departName', - params: { - secondDepartId: formModel.secondDepartId, - }, - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - colProps: { span: 12 }, - }, - /*{ - label: '承检医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getHospitalsGiList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - }, - colProps: { span: 12 }, - },*/ - { - label: '承检医院', - field: 'hospitalName', - component: 'Input', - componentProps: { - disabled: true, - }, - // componentProps: { - // api: getHospitalsGiList, - // resultField: 'list', - // labelField: 'hospitalName', - // valueField: 'hospitalId', - // }, - colProps: { span: 12 }, - }, - /*{ - label: '检查日期', - field: 'medicalDate', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD', - }, - colProps: { span: 12 }, - },*/ - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY', - picker: 'year', - }, - defaultValue: moment(new Date()).format('YYYY'), - colProps: { span: 12 }, - }, - { - label: '胃镜报告图片', - field: 'stomachReportUrl', - component: 'JImageUpload', - rules: [{ required: true, message: '请上传图片' }], - colProps: { span: 12 }, - }, - { - label: '肠镜报告图片', - field: 'bowelReportUrl', - component: 'JImageUpload', - rules: [{ required: true, message: '请上传图片' }], - colProps: { span: 12 }, - }, - { - label: '活检报告图片', - field: 'biopsyReportUrl', - component: 'JImageUpload', - componentProps: { - fileMax : 2, - }, - rules: [{ required: false, message: '请上传图片' }], - colProps: { span: 12 }, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; -//子表单数据 -//子表表格配置 -export const medicalGiUserResultItemColumns: JVxeColumn[] = [ - // { - // title: '主表id', - // key: 'resultId', - // type: JVxeTypes.input, - // width: '200px', - // placeholder: '请输入${title}', - // defaultValue: '', - // }, - { - title: '检查类别', - key: 'giType', - type: JVxeTypes.select, - dictCode: 'gi_type', - width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - }, - { - title: '项目编号', - key: 'uniItemNo', - type: JVxeTypes.input, - width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - }, - { - title: '项目名称', - key: 'uniItemName', - type: JVxeTypes.input, - width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - }, - { - title: '结果', - key: 'medicalResult', - type: JVxeTypes.textarea, - width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - }, -]; -export const medicalGiUserResultImageColumns: JVxeColumn[] = [ - // { - // title: '主表id', - // key: 'resultId', - // type: JVxeTypes.input, - // width: '200px', - // placeholder: '请输入${title}', - // defaultValue: '', - // }, - { - title: '检查类别', - key: 'giType', - type: JVxeTypes.select, - dictCode: 'gi_type', - width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - }, - /*{ - title: '图片名称', - key: 'imgName', - type: JVxeTypes.input, - width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - },*/ - { - title: '图片路径', - key: 'imgUrl', - type: JVxeTypes.file, - width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - }, -]; -export const medicalGiUserResultDiseaseColumns: JVxeColumn[] = [ - { - title: '项目编号', - key: 'uniItemNo', - type: JVxeTypes.input, - width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - }, - { - title: '项目名称', - key: 'uniItemName', - type: JVxeTypes.input, - width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - }, - { - title: '结果', - key: 'medicalResult', - type: JVxeTypes.textarea, - width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - }, -]; -export const medicalGiUserResultHandleColumns: JVxeColumn[] = [ - { - title: '项目编号', - key: 'uniItemNo', - type: JVxeTypes.input, - width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - }, - { - title: '项目名称', - key: 'uniItemName', - type: JVxeTypes.input, - width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - }, - { - title: '结果', - key: 'medicalResult', - type: JVxeTypes.textarea, - width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - }, -]; -export const medicalGiUserResultDetailColumns: JVxeColumn[] = [ - // { - // title: '主表id', - // key: 'resultId', - // type: JVxeTypes.input, - // width: '200px', - // placeholder: '请输入${title}', - // defaultValue: '', - // }, - { - title: '项目编号', - key: 'uniItemNo', - type: JVxeTypes.input, - width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - }, - { - title: '项目名称', - key: 'uniItemName', - type: JVxeTypes.input, - width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - }, - { - title: '结果', - key: 'medicalResult', - type: JVxeTypes.textarea, - width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/gi/result/MedicalGiUserResultList.vue b/src/views/medical/gi/result/MedicalGiUserResultList.vue deleted file mode 100644 index a847839..0000000 --- a/src/views/medical/gi/result/MedicalGiUserResultList.vue +++ /dev/null @@ -1,307 +0,0 @@ - - - - - diff --git a/src/views/medical/gi/result/components/MedicalGiUserResultForm.vue b/src/views/medical/gi/result/components/MedicalGiUserResultForm.vue deleted file mode 100644 index c2fa67a..0000000 --- a/src/views/medical/gi/result/components/MedicalGiUserResultForm.vue +++ /dev/null @@ -1,266 +0,0 @@ - - - diff --git a/src/views/medical/gi/result/components/MedicalGiUserResultModal.vue b/src/views/medical/gi/result/components/MedicalGiUserResultModal.vue deleted file mode 100644 index a339daf..0000000 --- a/src/views/medical/gi/result/components/MedicalGiUserResultModal.vue +++ /dev/null @@ -1,234 +0,0 @@ - - - - - diff --git a/src/views/medical/gi/stat/MedicalGiStat.api.ts b/src/views/medical/gi/stat/MedicalGiStat.api.ts deleted file mode 100644 index 6b76a05..0000000 --- a/src/views/medical/gi/stat/MedicalGiStat.api.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medicalGi/medicalGiUserForm/statList', - save = '/medical/plan/add', - edit = '/medical/plan/edit', - deleteOne = '/medical/plan/delete', - deleteBatch = '/medical/plan/deleteBatch', - importExcel = '/medical/plan/importExcel', - // exportXls = '/medical/plan/exportXls', - classifiedDatagrid = '/cqyt/medical/realtimeStatsController/classifiedDatagrid', - empDatagrid = '/cqyt/medical/realtimeStatsController/empDatagrid', - exportXls = '/medicalGi/medicalGiUserForm/exportStatXlsTask', - commonExportsInfo = '/sys/common/commonExportsInfo/list', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -export const empDatagridApi = (params) => { - return defHttp.get({ url: Api.empDatagrid, params }); -}; - -export const classifiedDatagrid = (params) => { - return defHttp.get({ url: Api.classifiedDatagrid, params }); -}; - -export const exportXlsApi = (params) => { - return defHttp.post({ url: Api.exportXls, params }); -}; - -export const commonExportsInfoApi = (params) => { - return defHttp.get({ url: Api.commonExportsInfo, params }); -}; diff --git a/src/views/medical/gi/stat/MedicalGiStat.data.ts b/src/views/medical/gi/stat/MedicalGiStat.data.ts deleted file mode 100644 index 51e047e..0000000 --- a/src/views/medical/gi/stat/MedicalGiStat.data.ts +++ /dev/null @@ -1,136 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { useMessage } from '/@/hooks/web/useMessage'; -import { getMedicalSecondDeparts, getMedicalThirdDeparts } from '/@/views/system/user/user.api'; -const { createMessage } = useMessage(); -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '单位', - align: 'center', - dataIndex: 'secondDepart', - }, - { - title: '计划名称', - align: 'center', - dataIndex: 'planName', - }, - { - title: '应检人数', - align: 'center', - dataIndex: 'count', - }, - { - title: '已预约人数', - align: 'center', - dataIndex: 'orderCount', - }, - { - title: '已体检人数', - align: 'center', - dataIndex: 'medicalCount', - }, - { - title: '已出报告人数', - align: 'center', - dataIndex: 'reportCount', - }, - { - title: '未预约人数', - align: 'center', - dataIndex: 'unOrderCount', - }, - { - title: '体检年份', - align: 'center', - dataIndex: 'medicalYear', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '单位', - field: 'secondDepartId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - onChange: (val, option) => { - if (val) { - option.thirdDepartId = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - } - }, - onDeselect: () => { - formModel.secondDepartId = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - }, - }; - }, - }, - { - label: '部门', - field: 'thirdDepartId', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - return { - api: getMedicalThirdDeparts, - resultField: 'list', - labelField: 'departName', - params: { - secondDepartId: formModel.secondDepartId, - }, - valueField: 'id', - immediate: true, - onFocus: () => { - if (!formModel.secondDepartId) { - return createMessage.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY', - picker: 'year', - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/gi/stat/MedicalGiStatList.vue b/src/views/medical/gi/stat/MedicalGiStatList.vue deleted file mode 100644 index 5843d43..0000000 --- a/src/views/medical/gi/stat/MedicalGiStatList.vue +++ /dev/null @@ -1,301 +0,0 @@ - - - - - diff --git a/src/views/medical/gi/stat/components/MedicalGiStatForm.vue b/src/views/medical/gi/stat/components/MedicalGiStatForm.vue deleted file mode 100644 index a81249c..0000000 --- a/src/views/medical/gi/stat/components/MedicalGiStatForm.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - diff --git a/src/views/medical/gi/stat/components/MedicalGiStatModal.vue b/src/views/medical/gi/stat/components/MedicalGiStatModal.vue deleted file mode 100644 index bcafbb9..0000000 --- a/src/views/medical/gi/stat/components/MedicalGiStatModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - diff --git a/src/views/medical/gi/stat/components/ThreeModal.vue b/src/views/medical/gi/stat/components/ThreeModal.vue deleted file mode 100644 index 08bc2f3..0000000 --- a/src/views/medical/gi/stat/components/ThreeModal.vue +++ /dev/null @@ -1,196 +0,0 @@ - - - diff --git a/src/views/medical/gi/userForm/MedicalGiUserForm.api.ts b/src/views/medical/gi/userForm/MedicalGiUserForm.api.ts deleted file mode 100644 index 437367b..0000000 --- a/src/views/medical/gi/userForm/MedicalGiUserForm.api.ts +++ /dev/null @@ -1,139 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medicalGi/medicalGiUserForm/list', - save = '/medicalGi/medicalGiUserForm/add', - edit = '/medicalGi/medicalGiUserForm/edit', - deleteOne = '/medicalGi/medicalGiUserForm/delete', - deleteBatch = '/medicalGi/medicalGiUserForm/deleteBatch', - importExcel = '/medicalGi/medicalGiUserForm/importExcel', - exportXls = '/medicalGi/medicalGiUserForm/exportXls', - exportTempXls = '/medicalGi/medicalGiUserForm/exportTempXls', - changeStatus = '/medicalGi/medicalGiUserForm/doMedicalStatus', - exportXlsTask = '/medicalGi/medicalGiUserForm/exportXlsTask', - selectEmp = '/medicalGi/medicalGiUserForm/selectEmp', - getPlan = '/medicalGi/medicalGiPlan/get', - getPlanHospital = '/medicalGi/medicalGiPlan/getPlanHospital', - saveSelectEmp = '/medicalGi/medicalGiUserForm/saveSelectEmp', //添加本次胃肠镜检查人员 - checkData = '/medicalGi/medicalGiUserForm/checkData', - updateData = '/medicalGi/medicalGiUserForm/updateData', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; - -export const checkDataUrl = Api.checkData; -export const updateDataUrl = Api.updateData; - -export const getExportTempUrl = Api.exportTempXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -/** - * 导出项目 - * @param params - */ -export const taskStart = (params) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.exportXlsTask, params }); - }, - }); -}; - -/** - * 修改体检状态 - * @param params - * @param handleSuccess - */ -export const editStatus = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: `确定置为${params.status === '1' ? '已体检' : '未体检(已预约)'}吗?`, - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.changeStatus, params }).then(() => { - handleSuccess(); - }); - }, - }); -}; - -export const selectEmpApi = (params) => { - return defHttp.get({ url: Api.selectEmp, params }); -}; - -export const getPlanApi = (params) => { - return defHttp.get({ url: Api.getPlan, params }); -}; - -export const saveSelectEmpApi = (params) => { - return defHttp.post({ url: Api.saveSelectEmp, params }); -}; - -export const getPlanHospitalApi = (params) => { - return defHttp.get({ url: Api.getPlanHospital, params }); -}; diff --git a/src/views/medical/gi/userForm/MedicalGiUserForm.data.ts b/src/views/medical/gi/userForm/MedicalGiUserForm.data.ts deleted file mode 100644 index 421961e..0000000 --- a/src/views/medical/gi/userForm/MedicalGiUserForm.data.ts +++ /dev/null @@ -1,523 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { getHospitalsGiList } from '/@/views/medical/gi/hospital/MedicalGiHospital.api'; -import { getPlanApi } from '/@/views/medical/gi/plan/MedicalGiPlan.api'; -import moment from 'moment'; -import { useMessage } from '/@/hooks/web/useMessage'; -import { getPlanHospitalApi } from '/@/views/medical/gi/userForm/MedicalGiUserForm.api'; -import { getMedicalSecondDeparts, getMedicalThirdDeparts } from '/@/views/system/user/user.api'; -const { createMessage } = useMessage(); - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'realName', - }, - { - title: '员工编号', - align: 'center', - dataIndex: 'workNo', - }, - { - title: '身份证号', - align: 'center', - dataIndex: 'idCard', - }, - { - title: '生日', - align: 'center', - dataIndex: 'birthday', - defaultHidden: true, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, - { - title: '单位', - align: 'center', - dataIndex: 'secondDepart', - }, - { - title: '部门', - align: 'center', - dataIndex: 'thirdDepart', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - }, - { - title: '婚姻状态', - align: 'center', - dataIndex: 'empMarriage_dictText', - defaultHidden: true, - }, - { - title: '手机号码', - align: 'center', - dataIndex: 'phone', - defaultHidden: true, - }, - { - title: '工作地点', - align: 'center', - dataIndex: 'workSpace', - defaultHidden: true, - }, - { - title: '计划名称', - align: 'center', - dataIndex: 'planName', - }, - { - title: '体检年份', - align: 'center', - dataIndex: 'medicalYear', - }, - { - title: '承检医院', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '已选医院', - align: 'center', - dataIndex: 'selectHospitalName', - }, - { - title: '预约时间', - align: 'center', - dataIndex: 'orderDate', - }, - { - title: '就诊卡号', - align: 'center', - dataIndex: 'medicalCardNo', - }, - { - title: '体检状态', - align: 'center', - dataIndex: 'medicalStatus_dictText', - }, - { - title: '体检时间', - align: 'center', - dataIndex: 'medicalDate', - }, - { - title: '创建时间', - align: 'center', - dataIndex: 'createDate', - }, - /*{ - title: '更新时间', - align: 'center', - dataIndex: 'updateDate', - },*/ -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - // { - // label: '计划名称', - // field: 'planTitle', - // component: 'Input', - // }, - { - label: '用户姓名', - field: 'realName', - component: 'Input', - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sex2', - }, - }, - { - label: '员工编号', - field: 'workNo', - component: 'Input', - }, - { - label: '身份证号', - field: 'idCard', - component: 'Input', - }, - { - label: '单位', - field: 'secondDepartId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - onChange: (val) => { - if (val) { - formModel.thirdDepartId = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - } - }, - onDeselect: () => { - formModel.secondDepartId = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - // disabled: secondSelectDisabled, - }; - }, - }, - { - label: '部门', - field: 'thirdDepartId', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - return { - api: getMedicalThirdDeparts, - resultField: 'list', - labelField: 'departName', - params: { - secondDepartId: formModel.secondDepartId, - }, - valueField: 'id', - immediate: true, - onFocus: () => { - if (!formModel.secondDepartId) { - return createMessage.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '已选医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getHospitalsGiList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, - { - label: '体检状态', - field: 'medicalStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'gi_status', - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY', - picker: 'year', - }, - defaultValue: moment(new Date()).format('YYYY'), - }, - { - label: "预约日期", - field: "orderDate", - component: 'RangePicker', - componentProps: { - valueType: 'Date', - }, - //colProps: {span: 6}, - }, - { - label: "体检日期", - field: "medicalDate", - component: 'RangePicker', - componentProps: { - valueType: 'Date', - }, - //colProps: {span: 6}, - }, -]; -const validateIds = async (_rule, value) => { - const flag = Object.keys(value || {}).length || 0; - if (!flag) { - return Promise.reject('请选择承检医院'); - } else { - return Promise.resolve(); - } -}; -//表单数据 -export const formSchema: FormSchema[] = [ - //传递是否修改/详情界面参数 - { - label: 'showFooter', - field: 'showFooter', - component: 'Input', - show: false, - }, - { - label: '姓名', - field: 'realName', - component: 'Input', - dynamicDisabled: true, - }, - { - label: '身份证号', - field: 'idCard', - component: 'Input', - dynamicDisabled: true, - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sex2', - type: 'radio', - }, - ifShow: ({ values }) => { - if (values.id === undefined) { - return false; - } else { - return !values.showFooter; - } - }, - }, - { - label: '单位', - field: 'secondDepartId', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - // const { secondSelectValue, secondSelectDisabled } = useDepartment({ schema, key: 'id' }); - // secondSelectValue(); - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - onChange: (val) => { - if (val) { - formModel.thirdDepartId = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - formModel.planId = ''; - if (formModel.hasOwnProperty('planId')) { - formModel.planId = ''; - } - } - }, - onDeselect: () => { - formModel.deptId = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - if (formModel.hasOwnProperty('planId')) { - formModel.planId = ''; - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - disabled: true, - }; - }, - rules: [{ required: true }], - }, - { - label: '部门', - field: 'thirdDepartId', - component: 'ApiSelect', - dynamicDisabled: true, - componentProps: ({ formModel, schema }) => { - // const { thirdSelectValue, thirdSelectDisabled } = useDepartment({ schema, key: 'id' }); - // thirdSelectValue(); - return { - api: getMedicalThirdDeparts, - resultField: 'list', - labelField: 'departName', - params: { - secondDepartId: formModel.secondDepartId, - }, - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - // disabled: true, - }; - }, - rules: [{ required: true }], - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'Input', - dynamicDisabled: true, - }, - { - label: '计划名称', - field: 'planId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getPlanApi, - resultField: 'list', - labelField: 'planTitle', - valueField: 'id', - params: { - departId: formModel.secondDepartId || '', - medicalYear: moment(new Date()).format('YYYY'), - }, - immediate: true, - }; - }, - rules: [{ required: true }], - dynamicDisabled: true, - }, - { - label: '承检医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - //multiple: 多选;不填写为单选 - mode: 'multiple', - api: getPlanHospitalApi, - // resultField: 'list', - labelField: 'hospitalName', - valueField: 'id', - immediate: true, - showSearch: true, - params: { - departId: formModel.secondDepartId || '', - medicalYear: formModel.medicalYear || '', - }, - }; - }, - rules: [{ required: true, validator: validateIds, trigger: 'blur' }], - }, - { - label: '已选医院', - field: 'selectHospitalId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getPlanHospitalApi, - // resultField: 'list', - labelField: 'hospitalName', - valueField: 'id', - immediate: true, - showSearch: true, - params: { - departId: formModel.secondDepartId || '', - medicalYear: formModel.medicalYear || '', - }, - }; - }, - dynamicDisabled: true, - ifShow: ({ values }) => { - if (values.id === undefined) { - return false; - } else { - return !values.showFooter; - } - }, - }, - { - label: '预约时间', - field: 'orderDate', - component: 'DatePicker', - ifShow: ({ values }) => { - if (values.id === undefined) { - return false; - } else { - return !values.showFooter; - } - }, - }, - { - label: '就诊卡号', - field: 'medicalCardNo', - component: 'Input', - ifShow: ({ values }) => { - if (values.id === undefined) { - return false; - } else { - return !values.showFooter; - } - }, - }, - { - label: '体检状态', - field: 'medicalStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'gi_status', - }, - defaultValue: '0', - ifShow: ({ values }) => { - if (values.id === undefined) { - return false; - } else { - return !values.showFooter; - } - }, - }, - { - label: '体检时间', - field: 'medicalDate', - component: 'DatePicker', - ifShow: ({ values }) => { - if (values.id === undefined) { - return false; - } else { - return !values.showFooter; - } - }, - }, - - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/gi/userForm/MedicalGiUserFormList.vue b/src/views/medical/gi/userForm/MedicalGiUserFormList.vue deleted file mode 100644 index 84d66a8..0000000 --- a/src/views/medical/gi/userForm/MedicalGiUserFormList.vue +++ /dev/null @@ -1,270 +0,0 @@ - - - - - diff --git a/src/views/medical/gi/userForm/components/EmpModal.vue b/src/views/medical/gi/userForm/components/EmpModal.vue deleted file mode 100644 index eab24f2..0000000 --- a/src/views/medical/gi/userForm/components/EmpModal.vue +++ /dev/null @@ -1,258 +0,0 @@ - - - - - diff --git a/src/views/medical/gi/userForm/components/EmpNameList.vue b/src/views/medical/gi/userForm/components/EmpNameList.vue deleted file mode 100644 index 77cd13b..0000000 --- a/src/views/medical/gi/userForm/components/EmpNameList.vue +++ /dev/null @@ -1,41 +0,0 @@ - - - diff --git a/src/views/medical/gi/userForm/components/MedicalGiUserFormForm.vue b/src/views/medical/gi/userForm/components/MedicalGiUserFormForm.vue deleted file mode 100644 index d7fc5f0..0000000 --- a/src/views/medical/gi/userForm/components/MedicalGiUserFormForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/medical/gi/userForm/components/MedicalGiUserFormModal.vue b/src/views/medical/gi/userForm/components/MedicalGiUserFormModal.vue deleted file mode 100644 index 1ac3419..0000000 --- a/src/views/medical/gi/userForm/components/MedicalGiUserFormModal.vue +++ /dev/null @@ -1,68 +0,0 @@ - - - - - diff --git a/src/views/medical/gi/userForm/components/selectList/table.vue b/src/views/medical/gi/userForm/components/selectList/table.vue deleted file mode 100644 index 6cd5973..0000000 --- a/src/views/medical/gi/userForm/components/selectList/table.vue +++ /dev/null @@ -1,269 +0,0 @@ - - - diff --git a/src/views/medical/hospital/appointments/Appoinment.api.ts b/src/views/medical/hospital/appointments/Appoinment.api.ts deleted file mode 100644 index 3678ff5..0000000 --- a/src/views/medical/hospital/appointments/Appoinment.api.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/medical/hospitalArea/orderCountDatagrid', -} - -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); diff --git a/src/views/medical/hospital/appointments/Appointments.data.ts b/src/views/medical/hospital/appointments/Appointments.data.ts deleted file mode 100644 index b0312cc..0000000 --- a/src/views/medical/hospital/appointments/Appointments.data.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { getPhysicalHospitalsList } from "/@/views/system/user/user.api"; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '医院名称', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '日期', - align: 'center', - dataIndex: 'orderDate', - }, - { - title: '医院承检人数', - align: 'center', - dataIndex: 'perCount', - }, - { - title: '当日已预约人数', - align: 'center', - dataIndex: 'orderCount', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '医院选择', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/hospital/appointments/AppointmentsList.vue b/src/views/medical/hospital/appointments/AppointmentsList.vue deleted file mode 100644 index aa9c7af..0000000 --- a/src/views/medical/hospital/appointments/AppointmentsList.vue +++ /dev/null @@ -1,45 +0,0 @@ - - - - - diff --git a/src/views/medical/hospital/checkPackage/CheckPackage.api.ts b/src/views/medical/hospital/checkPackage/CheckPackage.api.ts deleted file mode 100644 index 6070a70..0000000 --- a/src/views/medical/hospital/checkPackage/CheckPackage.api.ts +++ /dev/null @@ -1,95 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/checkPackage/list', - save = '/medical/checkPackage/add', - edit = '/medical/checkPackage/edit', - deleteOne = '/medical/checkPackage/delete', - deleteBatch = '/medical/checkPackage/deleteBatch', - importExcel = '/medical/checkPackage/importExcel', - exportXls = '/medical/checkPackage/exportXls', - queryByIdUrl = '/medical/checkPackage/queryById', - saveCheckedItemAll = '/medical/checkPackage/saveCheckedItemAll', - saveCheckedItem='/cqyt/medical/checkPackage/saveCheckedItem' -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -export const queryByIdUrl = (params) => { - return defHttp.get({ url: Api.queryByIdUrl, params }); -}; -// 保存配置的体检项 -export const saveCheckedItemAll = (params) => { - return defHttp.post({ url: Api.saveCheckedItemAll, params }); -}; -export const saveCheckedItem = (params) => { - return defHttp.post({ url: Api.saveCheckedItem, params }); -}; diff --git a/src/views/medical/hospital/checkPackage/CheckPackage.data.ts b/src/views/medical/hospital/checkPackage/CheckPackage.data.ts deleted file mode 100644 index 5064204..0000000 --- a/src/views/medical/hospital/checkPackage/CheckPackage.data.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { getPhysicalHospitalsList } from '/@/views/system/user/user.api'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '组合项名称', - align: 'center', - dataIndex: 'packageName', - }, - { - title: '医院名称', - align: 'center', - dataIndex: 'hospitalName', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '组合项名称', - field: 'packageName', - component: 'Input', - }, - { - label: '医院选择', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '医院名称', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - getPopupContainer: () => document.body, - }, - rules: [{ required: true }], - }, - { - label: '组合项名称', - field: 'packageName', - component: 'Input', - rules: [{ required: true }], - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/hospital/checkPackage/CheckPackageList.vue b/src/views/medical/hospital/checkPackage/CheckPackageList.vue deleted file mode 100644 index c29b61f..0000000 --- a/src/views/medical/hospital/checkPackage/CheckPackageList.vue +++ /dev/null @@ -1,192 +0,0 @@ - - - diff --git a/src/views/medical/hospital/checkPackage/components/CheckPackageModal.vue b/src/views/medical/hospital/checkPackage/components/CheckPackageModal.vue deleted file mode 100644 index c0bf53f..0000000 --- a/src/views/medical/hospital/checkPackage/components/CheckPackageModal.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - - - diff --git a/src/views/medical/hospital/checkPageTable/CheckPackageTable.api.ts b/src/views/medical/hospital/checkPageTable/CheckPackageTable.api.ts deleted file mode 100644 index f16ed1b..0000000 --- a/src/views/medical/hospital/checkPageTable/CheckPackageTable.api.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/medical/item/list', - getCheckedItem = '/medical/checkPackage/getCheckedItem', -} - -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); -/** - * @params params - * @desc 配置项管理获取获取已配置的体检项 - * */ -export const getCheckedItem = (params) => defHttp.get({ url: Api.getCheckedItem, params }); diff --git a/src/views/medical/hospital/checkPageTable/CheckPackageTable.data.ts b/src/views/medical/hospital/checkPageTable/CheckPackageTable.data.ts deleted file mode 100644 index 8eddaef..0000000 --- a/src/views/medical/hospital/checkPageTable/CheckPackageTable.data.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '医院名称', - align: 'center', - dataIndex: 'hospitalName', - }, - // { - // title: '体检项目编号', - // align: 'center', - // dataIndex: 'itemNo', - // }, - { - title: '体检项名称', - align: 'center', - dataIndex: 'itemName', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '体检项目名称', - field: 'itemName', - component: 'Input', - // colProps: { span: 8 }, - }, - // { - // label: '体检项目编号', - // field: 'itemNo', - // component: 'Input', - // // colProps: { span: 8 }, - // }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -// 配置体检项数据 - -// 列表数据 -export const TransferColumns: BasicColumn[] = [ - { - title: '体检项名称', - key: 'item_name', - }, - { - title: '操作', - key: 'action', - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param _formData - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/hospital/checkPageTable/CheckPageTable.vue b/src/views/medical/hospital/checkPageTable/CheckPageTable.vue deleted file mode 100644 index cba8744..0000000 --- a/src/views/medical/hospital/checkPageTable/CheckPageTable.vue +++ /dev/null @@ -1,228 +0,0 @@ - - - - - diff --git a/src/views/medical/hospital/checkPageTable/TransferTable.data.ts b/src/views/medical/hospital/checkPageTable/TransferTable.data.ts deleted file mode 100644 index ad66ac8..0000000 --- a/src/views/medical/hospital/checkPageTable/TransferTable.data.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -// 列表数据 -export const columns: BasicColumn[] = [ - { - title: '体检项名称', - align: 'center', - key: 'packageName', - }, - { - title: 'Action', - key: 'action', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = []; diff --git a/src/views/medical/hospital/checkPageTable/TransferTable.vue b/src/views/medical/hospital/checkPageTable/TransferTable.vue deleted file mode 100644 index 729ea00..0000000 --- a/src/views/medical/hospital/checkPageTable/TransferTable.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/medical/hospital/commonFun/index.ts b/src/views/medical/hospital/commonFun/index.ts deleted file mode 100644 index efbc6f7..0000000 --- a/src/views/medical/hospital/commonFun/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -export function validate(formData, validateKey) { - let flag = true; - let arr = []; - formData.map((item) => { - flag = validateKey.every((key) => item[key]); - flag && arr.push(item); - }); - return arr; -} diff --git a/src/views/medical/hospital/examinationStatis/ExaminationStatis.api.ts b/src/views/medical/hospital/examinationStatis/ExaminationStatis.api.ts deleted file mode 100644 index 197dde4..0000000 --- a/src/views/medical/hospital/examinationStatis/ExaminationStatis.api.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/medical/hospitalDoctorCheck/totalDatagrid', - exportXls = '/cqyt/medical/hospitalDoctorCheck/exportXls', - viewExport = '/sys/common/commonExportsInfo/list', - detailList = '/medical/hospitalDoctorCheck/view', -} -/** - * 导出api - */ -export const getExportUrl = Api.exportXls; -/** - * 列表接口 - * @param params - */ -export const list = (params) => { - params.groupByDate = false; - return defHttp.get({ url: Api.list, params }); -}; -export const exportFile = (params) => defHttp.get({ url: Api.exportXls, params }); -export const viewExport = (params) => defHttp.get({ url: Api.viewExport, params }); -/** - * 查看列表接口 - * @param params - */ -export const detailList = (params) => defHttp.get({ url: Api.detailList, params }); diff --git a/src/views/medical/hospital/examinationStatis/ExaminationStatis.data.ts b/src/views/medical/hospital/examinationStatis/ExaminationStatis.data.ts deleted file mode 100644 index dc5b997..0000000 --- a/src/views/medical/hospital/examinationStatis/ExaminationStatis.data.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { getPhysicalHospitalsList } from '/@/views/system/user/user.api'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '医院名称', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '医生姓名', - align: 'center', - dataIndex: 'doctorName', - }, - { - title: '检查员工数量', - align: 'center', - dataIndex: 'userCount', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '医院选择', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, - { - label: '医生姓名', - field: 'doctorName', - component: 'Input', - }, -]; -// 查看列表数据 -export const columnsModal: BasicColumn[] = [ - { - title: '医生姓名', - align: 'center', - dataIndex: 'doctorName', - }, - { - title: '员工姓名', - align: 'center', - dataIndex: 'userName', - }, - { - title: '检查项目', - align: 'center', - dataIndex: 'checkItemName', - }, - { - title: '检查日期', - align: 'center', - dataIndex: 'checkDate', - }, -]; -// 查看查询数据 -export const searchFormSchemaModal: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, - { - label: '检查日期', - field: 'checkDate', - component: 'RangePicker', - componentProps: { - valueType: 'Date', - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/hospital/examinationStatis/ExaminationStatisList.vue b/src/views/medical/hospital/examinationStatis/ExaminationStatisList.vue deleted file mode 100644 index c561ca6..0000000 --- a/src/views/medical/hospital/examinationStatis/ExaminationStatisList.vue +++ /dev/null @@ -1,97 +0,0 @@ - - - - - diff --git a/src/views/medical/hospital/examinationStatis/components/ExaminationStatisModal.vue b/src/views/medical/hospital/examinationStatis/components/ExaminationStatisModal.vue deleted file mode 100644 index 0d6ba82..0000000 --- a/src/views/medical/hospital/examinationStatis/components/ExaminationStatisModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - diff --git a/src/views/medical/hospital/examinationStatisDate/ExaminationStatisDate.api.ts b/src/views/medical/hospital/examinationStatisDate/ExaminationStatisDate.api.ts deleted file mode 100644 index e9c15fe..0000000 --- a/src/views/medical/hospital/examinationStatisDate/ExaminationStatisDate.api.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/medical/hospitalDoctorCheck/totalDatagrid2', - exportXls = '/cqyt/medical/hospitalDoctorCheck/exportXls2', - viewExport = '/sys/common/commonExportsInfo/list', - detailList = '/medical/hospitalDoctorCheck/view', -} -/** - * 导出api - */ -export const getExportUrl = Api.exportXls; -/** - * 列表接口 - * @param params - */ -export const list = (params) => { - const data = JSON.parse(JSON.stringify(params)); - if (data.checkDate_begin != undefined) { - params.checkDate_begin = data.checkDate_begin[0]; - params.checkDate_end = data.checkDate_begin[1]; - } - params.groupByDate = true; - return defHttp.get({ url: Api.list, params }); -}; -// 导出 -export const exportFile = (params) => { - params.groupByDate = true; - defHttp.get({ url: Api.exportXls, params }); -}; -export const viewExport = (params) => defHttp.get({ url: Api.viewExport, params }); -/** - * 查看列表接口 - * @param params - */ -export const detailList = (params) => defHttp.get({ url: Api.detailList, params }); diff --git a/src/views/medical/hospital/examinationStatisDate/ExaminationStatisDate.data.ts b/src/views/medical/hospital/examinationStatisDate/ExaminationStatisDate.data.ts deleted file mode 100644 index 87cbdb7..0000000 --- a/src/views/medical/hospital/examinationStatisDate/ExaminationStatisDate.data.ts +++ /dev/null @@ -1,107 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getPhysicalHospitalsList } from '/@/views/system/user/user.api'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '医院名称', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '医生姓名', - align: 'center', - dataIndex: 'doctorName', - }, - { - title: '检查员工数量', - align: 'center', - dataIndex: 'userCount', - }, - { - title: '检查日期', - align: 'center', - dataIndex: 'checkDate', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '医院选择', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, - { - label: '医生姓名', - field: 'doctorName', - component: 'Input', - }, - { - label: '检查日期', - field: 'checkDate_begin', - component: 'RangePicker', - componentProps: { - valueType: 'Date', - valueFormat: 'YYYY-MM-DD', - }, - }, -]; -// 查看列表数据 -export const columnsModal: BasicColumn[] = [ - { - title: '员工姓名', - align: 'center', - dataIndex: 'userName', - }, - { - title: '医生姓名', - align: 'center', - dataIndex: 'doctorName', - }, - { - title: '检查项目', - align: 'center', - dataIndex: 'checkItemName', - }, - { - title: '检查日期', - align: 'center', - dataIndex: 'checkDate', - }, -]; -// 查看查询数据 -export const searchFormSchemaModal: FormSchema[] = [ - { - label: '员工姓名', - field: 'userName', - component: 'Input', - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/hospital/examinationStatisDate/ExaminationStatisDateList.vue b/src/views/medical/hospital/examinationStatisDate/ExaminationStatisDateList.vue deleted file mode 100644 index 77a7dbb..0000000 --- a/src/views/medical/hospital/examinationStatisDate/ExaminationStatisDateList.vue +++ /dev/null @@ -1,113 +0,0 @@ - - - - - diff --git a/src/views/medical/hospital/examinationStatisDate/components/ExaminationDateModal.vue b/src/views/medical/hospital/examinationStatisDate/components/ExaminationDateModal.vue deleted file mode 100644 index b710dcb..0000000 --- a/src/views/medical/hospital/examinationStatisDate/components/ExaminationDateModal.vue +++ /dev/null @@ -1,68 +0,0 @@ - - - - - diff --git a/src/views/medical/hospital/examintionTable/ExamintionTable.api.ts b/src/views/medical/hospital/examintionTable/ExamintionTable.api.ts deleted file mode 100644 index cafe621..0000000 --- a/src/views/medical/hospital/examintionTable/ExamintionTable.api.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/checkPackage/datagridAll', - save = '/medical/hospitalArea/add', - edit = '/medical/hospitalArea/edit', - deleteOne = '/medical/hospitalArea/delete', - deleteBatch = '/medical/hospitalArea/deleteBatch', - importExcel = '/medical/hospitalArea/importExcel', - exportXls = '/medical/hospitalArea/exportXls', - queryByIdUrl = '/medical/hospitalArea/queryById', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -export const queryByIdUrl = (params) => { - return defHttp.post({ url: Api.queryByIdUrl, params }); -}; diff --git a/src/views/medical/hospital/examintionTable/ExamintionTable.data.ts b/src/views/medical/hospital/examintionTable/ExamintionTable.data.ts deleted file mode 100644 index af12061..0000000 --- a/src/views/medical/hospital/examintionTable/ExamintionTable.data.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '医院名称', - align: 'center', - dataIndex: '', - }, - { - title: '体检项目编号', - align: 'center', - dataIndex: 'itemNo', - }, - { - title: '体检项名称', - align: 'center', - dataIndex: 'itemName', - }, - { - title: '体检项类型', - align: 'center', - dataIndex: 'checkItemType', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '体检项名称', - field: 'itemName', - component: 'Input', - }, - { - label: '体检项类型', - field: 'checkItemType', - component: 'JDictSelectTag', - componentProps: { - dictCode: '', - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/hospital/examintionTable/ExamintionTableList.vue b/src/views/medical/hospital/examintionTable/ExamintionTableList.vue deleted file mode 100644 index c0fb4e1..0000000 --- a/src/views/medical/hospital/examintionTable/ExamintionTableList.vue +++ /dev/null @@ -1,48 +0,0 @@ - - - - - diff --git a/src/views/medical/hospital/hospitalArea/HospitalArea.api.ts b/src/views/medical/hospital/hospitalArea/HospitalArea.api.ts deleted file mode 100644 index 9080753..0000000 --- a/src/views/medical/hospital/hospitalArea/HospitalArea.api.ts +++ /dev/null @@ -1,94 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/hospitalArea/list', - save = '/medical/hospitalArea/add', - edit = '/medical/hospitalArea/edit', - deleteOne = '/medical/hospitalArea/delete', - deleteBatch = '/medical/hospitalArea/deleteBatch', - importExcel = '/medical/hospitalArea/importExcel', - exportXls = '/medical/hospitalArea/exportXls', - queryByIdUrl = '/medical/hospitalArea/queryById', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否确认删除', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteOne, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -export const queryByIdUrl = (params) => { - return defHttp.get({ url: Api.queryByIdUrl, params }); -}; diff --git a/src/views/medical/hospital/hospitalArea/HospitalArea.data.ts b/src/views/medical/hospital/hospitalArea/HospitalArea.data.ts deleted file mode 100644 index 7e50e22..0000000 --- a/src/views/medical/hospital/hospitalArea/HospitalArea.data.ts +++ /dev/null @@ -1,140 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getPhysicalHospitalsList } from '/@/views/system/user/user.api'; -import { render } from '/@/utils/common/renderUtils'; -import { DATE_FORMAT } from '/@/utils/dateUtil'; -import { BODY_CONTAINER } from '/@/utils/domUtils'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '承检医院', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '每日最多承检人数', - align: 'center', - dataIndex: 'perCount', - }, - { - title: '承检日期起期', - align: 'center', - dataIndex: 'medicalDateBegin', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, - { - title: '承检日期止期', - align: 'center', - dataIndex: 'medicalDateEnd', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, - { - title: '有效标志', - align: 'center', - dataIndex: 'validStatus', - customRender: ({ text }) => { - return render.renderDict(text, 'valid_status'); - }, - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '承检医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: true, - }, - }, - { - label: '有效标志', - field: 'validStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'valid_status', - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '承检医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - }, - rules: [{ required: true }], - }, - { - label: '每日最多承检人数', - field: 'perCount', - component: 'InputNumber', - rules: [{ required: true }], - }, - { - label: '承检日期', - field: 'medicalDate', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - getPopupContainer: () => BODY_CONTAINER, - valueFormat: DATE_FORMAT, - onChange: ([start, end]) => { - formModel.medicalDateBegin = start; - formModel.medicalDateEnd = end; - }, - }; - }, - rules: [{ required: true, message: '请选择承检时间' }], - }, - { - label: '', - field: 'medicalDateBegin', - component: 'Input', - show: false, - }, - { - label: '', - field: 'medicalDateEnd', - component: 'Input', - show: false, - }, - { - label: '有效标志', - field: 'validStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'valid_status', - type: 'radio', - }, - defaultValue: '1', - rules: [{ required: true }], - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/hospital/hospitalArea/HospitalAreaList.vue b/src/views/medical/hospital/hospitalArea/HospitalAreaList.vue deleted file mode 100644 index 43089f0..0000000 --- a/src/views/medical/hospital/hospitalArea/HospitalAreaList.vue +++ /dev/null @@ -1,135 +0,0 @@ - - - - - diff --git a/src/views/medical/hospital/hospitalArea/components/AddSubList.vue b/src/views/medical/hospital/hospitalArea/components/AddSubList.vue deleted file mode 100644 index f862887..0000000 --- a/src/views/medical/hospital/hospitalArea/components/AddSubList.vue +++ /dev/null @@ -1,63 +0,0 @@ - - - diff --git a/src/views/medical/hospital/hospitalArea/components/HospitalAreaForm.vue b/src/views/medical/hospital/hospitalArea/components/HospitalAreaForm.vue deleted file mode 100644 index febf8f1..0000000 --- a/src/views/medical/hospital/hospitalArea/components/HospitalAreaForm.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - diff --git a/src/views/medical/hospital/hospitalArea/components/HospitalAreaModal.vue b/src/views/medical/hospital/hospitalArea/components/HospitalAreaModal.vue deleted file mode 100644 index e8b28b5..0000000 --- a/src/views/medical/hospital/hospitalArea/components/HospitalAreaModal.vue +++ /dev/null @@ -1,311 +0,0 @@ - - - - - diff --git a/src/views/medical/hospital/hospitalArea/components/PlusMinus.vue b/src/views/medical/hospital/hospitalArea/components/PlusMinus.vue deleted file mode 100644 index efbe114..0000000 --- a/src/views/medical/hospital/hospitalArea/components/PlusMinus.vue +++ /dev/null @@ -1,62 +0,0 @@ - - - diff --git a/src/views/medical/hospital/hospitalList/HospitalList.api.ts b/src/views/medical/hospital/hospitalList/HospitalList.api.ts deleted file mode 100644 index 46dbfe5..0000000 --- a/src/views/medical/hospital/hospitalList/HospitalList.api.ts +++ /dev/null @@ -1,101 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/hospital/list', - save = '/medical/hospital/add', - edit = '/medical/hospital/edit', - deleteOne = '/medical/hospital/delete', - deleteBatch = '/medical/hospital/deleteBatch', - importExcel = '/medical/hospital/importExcel', - exportXls = '/medical/hospital/exportXls', - queryByIdUrl = '/medical/hospital/queryById', - getEdit = '/medical/hospital/queryById', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 请求编辑数据 - * @param params - */ -export const resEditData = (params) => defHttp.get({ url: Api.getEdit, params }, { joinParamsToUrl: true }); -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否确认删除', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteOne, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -export const queryByIdUrl = (params) => { - return defHttp.post({ url: Api.queryByIdUrl, params }); -}; diff --git a/src/views/medical/hospital/hospitalList/HospitalList.data.ts b/src/views/medical/hospital/hospitalList/HospitalList.data.ts deleted file mode 100644 index 696bdce..0000000 --- a/src/views/medical/hospital/hospitalList/HospitalList.data.ts +++ /dev/null @@ -1,175 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; -import { getPhysicalHospitalsList } from '/@/views/system/user/user.api'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '医院名称', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '医院地址', - align: 'center', - dataIndex: 'hospitalAddress', - }, - { - title: '医院图片', - align: 'center', - dataIndex: 'hospitalImg', - width: 100, - customRender: ({ text }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 50, - width: 50, - fallback: getDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '医院简介', - align: 'center', - dataIndex: 'hospitalDesc', - }, - { - title: '开启职业体检', - align: 'center', - dataIndex: 'occupationalFlag', - width: 120, - customRender: ({ text }) => { - return render.renderDict(text, 'sf_10'); - }, - }, - { - title: '排序序号', - align: 'center', - dataIndex: 'orderNum', - }, - { - title: '创建日期', - align: 'center', - dataIndex: 'createDate', - width: 120, - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '医院名称', - field: 'hospitalName', - component: 'JInput', - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '医院名称', - field: 'hospitalName', - component: 'Input', - rules: [{ required: true }], - }, - { - label: '医院地址', - field: 'hospitalAddress', - component: 'Input', - rules: [{ required: true }], - }, - { - label: '医院类型', - field: 'hospitalType', - component: 'RadioGroup', - rules: [{ required: true }], - componentProps: { - options: [ - { - label: '普通医院', - value: '1', - }, - { - label: '指定医院', - value: '2', - }, - ], - }, - }, - { - label: '开启职业体检', - field: 'occupationalFlag', - component: 'RadioGroup', - rules: [{ required: true }], - componentProps: { - options: [ - { - label: '是', - value: '1', - }, - { - label: '否', - value: '0', - }, - ], - }, - }, - { - label: '版本号', - field: 'ver', - component: 'Input', - rules: [{ required: true, message: '请输入版本号' }], - }, - { - label: '排序序号', - field: 'orderNum', - component: 'Input', - rules: [{ required: true }], - }, - { - label: '医院图片', - field: 'hospitalImg', - component: 'JImageUpload', - rules: [{ required: true, message: '请选择医院图片' }], - }, - { - label: '医院简介', - field: 'hospitalDesc', - component: 'InputTextArea', - componentProps: { - autoSize: { minRows: 4, maxRows: 4 }, - }, - rules: [ - { required: true, message: '请输入医院简介' }, - { min: 0, max: 500, message: '长度不能超过 500 个字符', trigger: 'blur' }, - ], - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/hospital/hospitalList/HospitalList.vue b/src/views/medical/hospital/hospitalList/HospitalList.vue deleted file mode 100644 index 32bead8..0000000 --- a/src/views/medical/hospital/hospitalList/HospitalList.vue +++ /dev/null @@ -1,154 +0,0 @@ - - - - - diff --git a/src/views/medical/hospital/hospitalList/components/HospitalListModal.vue b/src/views/medical/hospital/hospitalList/components/HospitalListModal.vue deleted file mode 100644 index 45f1621..0000000 --- a/src/views/medical/hospital/hospitalList/components/HospitalListModal.vue +++ /dev/null @@ -1,73 +0,0 @@ - - - - - diff --git a/src/views/medical/hospital/hospitalUser/HospitalUser.api.ts b/src/views/medical/hospital/hospitalUser/HospitalUser.api.ts deleted file mode 100644 index 0d81d7c..0000000 --- a/src/views/medical/hospital/hospitalUser/HospitalUser.api.ts +++ /dev/null @@ -1,69 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/hospitalUser/list', - save = '/medical/hospitalUser/add', - edit = '/medical/hospitalUser/edit', - deleteOne = '/medical/hospitalUser/delete', - deleteBatch = '/medical/hospitalUser/deleteBatch', - importExcel = '/medical/hospitalUser/importExcel', - exportXls = '/medical/hospitalUser/exportXls', - queryByIdUrl = '/medical/hospitalUser/queryById', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -export const queryByIdUrl = (params) => { - return defHttp.get({ url: Api.queryByIdUrl, params }); -}; diff --git a/src/views/medical/hospital/hospitalUser/HospitalUser.data.ts b/src/views/medical/hospital/hospitalUser/HospitalUser.data.ts deleted file mode 100644 index 7cce113..0000000 --- a/src/views/medical/hospital/hospitalUser/HospitalUser.data.ts +++ /dev/null @@ -1,125 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { getPhysicalHospitalsList } from '/@/views/system/user/user.api'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '用户账号', - align: 'center', - dataIndex: 'username', - }, - { - title: '用户名称', - align: 'center', - dataIndex: 'realname', - }, - { - title: '医院名称', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '账号类型', - align: 'center', - dataIndex: 'pType', - customRender: ({ text }) => { - return render.renderDict(text, 'p_type'); - }, - }, - { - title: '录入日期', - align: 'center', - dataIndex: 'createDate', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '用户账号', - field: 'username', - component: 'Input', - }, - { - label: '用户名称', - field: 'realname', - component: 'Input', - }, - { - label: '账号类型', - field: 'pType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'p_type', - }, - }, - { - label: '医院选择', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: true, - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '所属医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, - { - label: '账号类型', - field: 'pType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'p_type', - }, - }, - { - label: '用户姓名', - field: 'realname', - component: 'Input', - }, - { - label: '用户账号', - field: 'username', - component: 'Input', - }, - { - label: '用户密码', - field: '', - component: 'InputPassword', - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/hospital/hospitalUser/HospitalUserList.vue b/src/views/medical/hospital/hospitalUser/HospitalUserList.vue deleted file mode 100644 index f2686cb..0000000 --- a/src/views/medical/hospital/hospitalUser/HospitalUserList.vue +++ /dev/null @@ -1,198 +0,0 @@ - - - - - diff --git a/src/views/medical/hospital/hospitalUser/components/ExaminationModal.vue b/src/views/medical/hospital/hospitalUser/components/ExaminationModal.vue deleted file mode 100644 index cb7e7aa..0000000 --- a/src/views/medical/hospital/hospitalUser/components/ExaminationModal.vue +++ /dev/null @@ -1,20 +0,0 @@ - - - - - diff --git a/src/views/medical/hospital/hospitalUser/components/HospitalUserForm.vue b/src/views/medical/hospital/hospitalUser/components/HospitalUserForm.vue deleted file mode 100644 index 20a2f3c..0000000 --- a/src/views/medical/hospital/hospitalUser/components/HospitalUserForm.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - diff --git a/src/views/medical/hospital/hospitalUser/components/HospitalUserModal.vue b/src/views/medical/hospital/hospitalUser/components/HospitalUserModal.vue deleted file mode 100644 index bfbaa80..0000000 --- a/src/views/medical/hospital/hospitalUser/components/HospitalUserModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - diff --git a/src/views/medical/hospital/selectedTable/SelectedTable.api.ts b/src/views/medical/hospital/selectedTable/SelectedTable.api.ts deleted file mode 100644 index c2adc59..0000000 --- a/src/views/medical/hospital/selectedTable/SelectedTable.api.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/checkPackage/getCheckedItemAll', - save = '/medical/hospitalArea/add', - edit = '/medical/hospitalArea/edit', - deleteOne = '/medical/hospitalArea/delete', - deleteBatch = '/medical/hospitalArea/deleteBatch', - importExcel = '/medical/hospitalArea/importExcel', - exportXls = '/medical/hospitalArea/exportXls', - queryByIdUrl = '/medical/hospitalArea/queryById', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -export const queryByIdUrl = (params) => { - return defHttp.post({ url: Api.queryByIdUrl, params }); -}; diff --git a/src/views/medical/hospital/selectedTable/SelectedTable.data.ts b/src/views/medical/hospital/selectedTable/SelectedTable.data.ts deleted file mode 100644 index d4fff44..0000000 --- a/src/views/medical/hospital/selectedTable/SelectedTable.data.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '体检项名称', - align: 'center', - dataIndex: 'itemName', - }, - { - title: '体检项类型', - align: 'center', - dataIndex: 'checkItemType', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = []; -//表单数据 -export const formSchema: FormSchema[] = [ - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/hospital/selectedTable/SelectedTableList.vue b/src/views/medical/hospital/selectedTable/SelectedTableList.vue deleted file mode 100644 index 0df2bcb..0000000 --- a/src/views/medical/hospital/selectedTable/SelectedTableList.vue +++ /dev/null @@ -1,52 +0,0 @@ - - - - - diff --git a/src/views/medical/hospital/signingUnit/SigningUnit.api.ts b/src/views/medical/hospital/signingUnit/SigningUnit.api.ts deleted file mode 100644 index 200846f..0000000 --- a/src/views/medical/hospital/signingUnit/SigningUnit.api.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -enum Api { - list = '/medical/contractingUnit/minidaoDatagrid', - exportXls = '/cqyt/medical/contractingUnit/exportXlsTask', - viewExport = '/sys/common/commonExportsInfo/list', - -} - -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); -export const exportFile = (params) => defHttp.get({ url: Api.exportXls, params }); -export const viewExport = (params) => defHttp.get({ url: Api.viewExport, params }); diff --git a/src/views/medical/hospital/signingUnit/SigningUnit.data.ts b/src/views/medical/hospital/signingUnit/SigningUnit.data.ts deleted file mode 100644 index aa01ccc..0000000 --- a/src/views/medical/hospital/signingUnit/SigningUnit.data.ts +++ /dev/null @@ -1,81 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { - getPhysicalHospitalsList, - getSecondaryDepartmentList -} from "/@/views/system/user/user.api"; -import moment from "moment/moment"; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '医院名称', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '单位', - align: 'center', - dataIndex: 'secondDepartName', - }, - { - title: '应检人数', - align: 'center', - dataIndex: 'count', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '单位', - field: 'secondDepartId', - component: 'ApiSelect', - componentProps: { - api: getSecondaryDepartmentList, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: false, - }, - }, - { - label: '医院选择', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY', - picker: 'year', - }, - defaultValue: moment(new Date()).format('YYYY'), - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/hospital/signingUnit/SigningUnitList.vue b/src/views/medical/hospital/signingUnit/SigningUnitList.vue deleted file mode 100644 index 721aae8..0000000 --- a/src/views/medical/hospital/signingUnit/SigningUnitList.vue +++ /dev/null @@ -1,78 +0,0 @@ - - - - - diff --git a/src/views/medical/hospital/virtual/HospitalVirtual.api.ts b/src/views/medical/hospital/virtual/HospitalVirtual.api.ts deleted file mode 100644 index 2d4c5f2..0000000 --- a/src/views/medical/hospital/virtual/HospitalVirtual.api.ts +++ /dev/null @@ -1,64 +0,0 @@ -import {defHttp} from '/@/utils/http/axios'; -import { useMessage } from "/@/hooks/web/useMessage"; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/hospitalVirtual/list', - save='/medical/hospitalVirtual/add', - edit='/medical/hospitalVirtual/edit', - deleteOne = '/medical/hospitalVirtual/delete', - deleteBatch = '/medical/hospitalVirtual/deleteBatch', - importExcel = '/medical/hospitalVirtual/importExcel', - exportXls = '/medical/hospitalVirtual/exportXls', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => - defHttp.get({url: Api.list, params}); - -/** - * 删除单个 - */ -export const deleteOne = (params,handleSuccess) => { - return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); -} -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); - } - }); -} -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({url: url, params}); -} diff --git a/src/views/medical/hospital/virtual/HospitalVirtual.data.ts b/src/views/medical/hospital/virtual/HospitalVirtual.data.ts deleted file mode 100644 index 1c2c28b..0000000 --- a/src/views/medical/hospital/virtual/HospitalVirtual.data.ts +++ /dev/null @@ -1,79 +0,0 @@ -import {BasicColumn} from '/@/components/Table'; -import {FormSchema} from '/@/components/Table'; -import { rules} from '/@/utils/helper/validator'; -import { render } from '/@/utils/common/renderUtils'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '医院名称', - align:"center", - dataIndex: 'hospitalName' - }, - { - title: '是否显示', - align:"center", - dataIndex: 'showFlag_dictText' - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '医院名称', - field: 'hospitalName', - component: 'JInput', - }, - { - label: '是否显示', - field: 'showFlag', - component: 'JDictSelectTag', - defaultValue: "1", - componentProps: { - dictCode: 'yn', - }, - } -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '医院名称', - field: 'hospitalName', - component: 'Input', - dynamicRules: ({model,schema}) => { - return [ - { required: true, message: '请输入医院名称!'}, - ]; - }, - }, - { - label: '是否显示', - field: 'showFlag', - defaultValue: "1", - component: 'JDictSelectTag', - componentProps:{ - dictCode:"yn" - }, - dynamicRules: ({model,schema}) => { - return [ - { required: true, message: '请输入是否显示!'}, - ]; - }, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false - }, -]; - - - -/** -* 流程表单调用这个方法获取formSchema -* @param param -*/ -export function getBpmFormSchema(_formData): FormSchema[]{ - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/hospital/virtual/HospitalVirtualList.vue b/src/views/medical/hospital/virtual/HospitalVirtualList.vue deleted file mode 100644 index e1d5053..0000000 --- a/src/views/medical/hospital/virtual/HospitalVirtualList.vue +++ /dev/null @@ -1,173 +0,0 @@ - - - - - diff --git a/src/views/medical/hospital/virtual/components/HospitalVirtualForm.vue b/src/views/medical/hospital/virtual/components/HospitalVirtualForm.vue deleted file mode 100644 index 390aba0..0000000 --- a/src/views/medical/hospital/virtual/components/HospitalVirtualForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/medical/hospital/virtual/components/HospitalVirtualModal.vue b/src/views/medical/hospital/virtual/components/HospitalVirtualModal.vue deleted file mode 100644 index c401430..0000000 --- a/src/views/medical/hospital/virtual/components/HospitalVirtualModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/medical/item/itemBase/Item.api.ts b/src/views/medical/item/itemBase/Item.api.ts deleted file mode 100644 index 1645041..0000000 --- a/src/views/medical/item/itemBase/Item.api.ts +++ /dev/null @@ -1,130 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/item/list', - save = '/medical/item/add', - edit = '/medical/item/edit', - deleteOne = '/medical/item/delete', - deleteBatch = '/medical/item/deleteBatch', - importExcel = '/medical/item/importExcel', - exportXls = '/medical/item/exportXls', - queryById = '/medical/item/queryById', - updatePrice = '/medical/itemCost/doUpdatePrice', - examinationList = '/medical/itemSyn/pageCustom', - createVoice = '/medical/item/convertVoice', -} - -/** - * 编辑请求数据 - * @param params - */ -export const resDataEdit = (params) => defHttp.get({ url: Api.queryById, params }, { joinParamsToUrl: true }); -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 更新已生成费用 - * @param params - */ -export const updatePrice = (params) => { - const data = { id: params.id }; - createConfirm({ - iconType: 'warning', - title: '提示', - content: `确认更新各单位已生成的【${params.itemName}】项目费用吗?`, - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.updatePrice, data }); - }, - }); -}; - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否确认删除', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteOne, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; -/* - * 体检项目名称 - * */ -export const itemsLists = (params) => defHttp.get({ url: Api.examinationList, params }); -/** - * 语音合成 - * @param params - * @param handleSuccess - */ -export const createVoice = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: '确当是否将该记录生成语音?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: Api.createVoice, params }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/medical/item/itemBase/Item.data.ts b/src/views/medical/item/itemBase/Item.data.ts deleted file mode 100644 index 3a74088..0000000 --- a/src/views/medical/item/itemBase/Item.data.ts +++ /dev/null @@ -1,276 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getPhysicalHospitalsList } from '/@/views/system/user/user.api'; -import { render } from '/@/utils/common/renderUtils'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; -import VideoPreview from '/@/components/Video/VideoPreview.vue'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '项目编号', - align: 'center', - dataIndex: 'itemNo', - }, - { - title: '体检项', - align: 'center', - dataIndex: 'itemName', - }, - { - title: '项目类别', - align: 'center', - dataIndex: 'itemType', - customRender: ({ text }) => { - return render.renderDict(text, 'medical_item_type'); - }, - }, - { - title: '检查分类', - align: 'center', - dataIndex: 'itemCheckType', - customRender: ({ text }) => { - return render.renderDict(text, 'item_check_type'); - }, - }, - { - title: '项目图片', - align: 'center', - dataIndex: 'itemImg', - width: 100, - customRender: ({ text }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 50, - width: 50, - fallback: getDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - - { - title: '默认费用(元)', - align: 'right', - dataIndex: 'itemDefaultCost', - customRender: ({ text }) => { - return render.renderCost(text); - }, - }, - { - title: '项目音频', - align: 'center', - dataIndex: 'itemAudioUrl', - width: 80, - customRender: ({ text }) => { - return h(VideoPreview, { - url: getFileAccessHttpUrl(text), - }); - }, - }, - { - title: '项目视频', - align: 'center', - dataIndex: 'itemVideoUrl', - width: 80, - customRender: ({ text }) => { - return h(VideoPreview, { - url: getFileAccessHttpUrl(text), - }); - }, - }, - /*{ - title: '项目描述语音', - align: 'center', - dataIndex: 'itemDescVoiceUrl', - customRender: ({ text }) => { - return h(VideoPreview, { - url: getFileAccessHttpUrl(text), - }); - }, - },*/ - // { - // title: '录入时间', - // align: 'center', - // dataIndex: 'createDate', - // customRender: ({ text }) => { - // return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - // }, - // ifShow: false, - // }, - // { - // title: '录入用户', - // align: 'center', - // dataIndex: 'createByName', - // ifShow: false, - // }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '项目编号', - field: 'itemNo', - component: 'Input', - }, - { - label: '体检项', - field: 'itemName', - component: 'Input', - }, - { - label: '项目类别', - field: 'itemType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'medical_item_type', - }, - }, - { - label: '检查分类', - field: 'itemCheckType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'item_check_type', - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '承检医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - }, - dynamicDisabled: true, - }, - { - label: '体检项目名称', - field: 'itemName', - component: 'Input', - slot: 'nameSlot', - rules: [{ required: true }], - }, - { - label: '体检项目类别', - field: 'itemType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'medical_item_type', - }, - rules: [{ required: true }], - }, - { - label: '体检分类', - field: 'itemCheckType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'item_check_type', - }, - rules: [{ required: true }], - }, - { - label: '默认费用', - field: 'itemDefaultCost', - component: 'InputNumber', - componentProps: { - min: 0, - precision: 2, - addonAfter: '元', - style: { - width: '100%', - }, - }, - rules: [{ required: true }], - }, - { - label: '体检项目图片', - field: 'itemImg', - component: 'JImageUpload', - rules: [{ required: true, message: '请选择体检项目图片' }], - }, - { - label: '体检项目音频', - field: 'itemAudioUrl', - component: 'JUpload', - componentProps: { - maxCount: 1, - accept: '.mp3,.wma,.avi,.rm,.rmvb,.flv,.mpg,.mov,.mkv', - }, - // rules: [{ required: true, message: '请上传音频文件' }], - }, - { - label: '体检项目视频', - field: 'itemVideoUrl', - component: 'JUpload', - componentProps: { - maxCount: 1, - accept: '.avi,.mov,.rmvb,.rm,.flv,.mp4,.3gp', - }, - // rules: [{ required: true, message: '请上传视频文件' }], - }, - { - label: '体检项目描述', - field: 'itemDesc', - component: 'JEditor', - componentProps: { - resize: false, - showImageUpload: true, - }, - rules: [{ required: true, message: '请输入体检项目图片' }], - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; -//列表数据 -export const itemsColumns: BasicColumn[] = [ - { - title: '项目编号', - align: 'center', - dataIndex: 'itemAssemCode', - }, - { - title: '项目名称', - align: 'center', - dataIndex: 'itemAssemName', - }, - { - title: '助记码', - align: 'center', - dataIndex: 'inputCode', - }, -]; -//查询数据 -export const itemsSearchFormSchema: FormSchema[] = [ - { - label: '项目编号', - field: 'itemAssemCode', - component: 'Input', - }, - { - label: '项目名称', - field: 'itemAssemName', - component: 'Input', - }, - { - label: '助记码', - field: 'inputCode', - component: 'Input', - }, -]; diff --git a/src/views/medical/item/itemBase/ItemList.vue b/src/views/medical/item/itemBase/ItemList.vue deleted file mode 100644 index 820a574..0000000 --- a/src/views/medical/item/itemBase/ItemList.vue +++ /dev/null @@ -1,219 +0,0 @@ - - - - - diff --git a/src/views/medical/item/itemBase/components/ExaminationList.vue b/src/views/medical/item/itemBase/components/ExaminationList.vue deleted file mode 100644 index 5f8fe62..0000000 --- a/src/views/medical/item/itemBase/components/ExaminationList.vue +++ /dev/null @@ -1,52 +0,0 @@ - - - - - diff --git a/src/views/medical/item/itemBase/components/ItemModal.vue b/src/views/medical/item/itemBase/components/ItemModal.vue deleted file mode 100644 index 20eb07e..0000000 --- a/src/views/medical/item/itemBase/components/ItemModal.vue +++ /dev/null @@ -1,111 +0,0 @@ - - - - - diff --git a/src/views/medical/item/itemBase/components/Mutex.api.ts b/src/views/medical/item/itemBase/components/Mutex.api.ts deleted file mode 100644 index aa7e172..0000000 --- a/src/views/medical/item/itemBase/components/Mutex.api.ts +++ /dev/null @@ -1,95 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/itemMutex/list', - save = '/medical/itemMutex/add', - edit = '/medical/itemMutex/edit', - deleteOne = '/medical/itemMutex/delete', - deleteBatch = '/medical/itemMutex/deleteBatch', - importExcel = '/medical/itemMutex/importExcel', - exportXls = '/medical/itemMutex/exportXls', - queryById = '/medical/itemMutex/queryById', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 编辑请求数据 - * @param params - */ -export const resDataEdit = (params) => defHttp.get({ url: Api.queryById, params }, { joinParamsToUrl: true }); -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否确认删除', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteOne, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/medical/item/itemBase/components/Mutex.data.ts b/src/views/medical/item/itemBase/components/Mutex.data.ts deleted file mode 100644 index a2cb704..0000000 --- a/src/views/medical/item/itemBase/components/Mutex.data.ts +++ /dev/null @@ -1,159 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getPhysicalHospitalsList } from '/@/views/system/user/user.api'; -import { list } from '../Item.api'; -import { ref, unref } from 'vue'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '体检项目', - align: 'center', - dataIndex: 'itemIdFirstName', - }, - { - title: '互斥项目', - align: 'center', - dataIndex: 'itemIdSecondName', - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '承检医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - }, - dynamicDisabled: true, - }, - { - label: '', - field: 'itemIdFirstName', - component: 'Input', - show: false, - }, - { - label: '', - field: 'itemIdSecondName', - component: 'Input', - show: false, - }, - { - label: '体检项目', - field: 'itemIdFirst', - component: 'Select', - componentProps: ({ formModel }) => { - const options = ref([]); - return { - showSearch: true, - showArrow: false, - filterOption: false, - options: options, - notFoundContent: null, - placeholder: '请搜索体检项目', - getPopupContainer: () => document.body, - onFocus: async () => { - const res = await list({ - hospitalId: formModel.hospitalId, - pageSize: 200, - }); - options.value = res.records - .filter((record) => record.id !== formModel?.itemIdSecond ?? '') - .map((record) => { - return { - value: record.id, - label: record.itemName, - }; - }); - }, - onSearch: async (searchValue) => { - const res = await list({ - hospitalId: formModel.hospitalId, - itemName: searchValue, - pageSize: 200, - }); - options.value = res.records - .filter((record) => record.id !== formModel?.itemIdSecond ?? '') - .map((record) => { - return { - value: record.id, - label: record.itemName, - }; - }); - }, - onChange: (value) => { - options.value = unref(options).filter((o) => o.value === value); - }, - }; - }, - rules: [{ required: true }], - }, - { - label: '互斥项目', - field: 'itemIdSecond', - component: 'Select', - componentProps: ({ formModel }) => { - const options = ref([]); - return { - showSearch: true, - showArrow: false, - filterOption: false, - options: options, - notFoundContent: null, - placeholder: '请搜索互斥项目', - getPopupContainer: () => document.body, - onFocus: async () => { - const res = await list({ - hospitalId: formModel.hospitalId, - pageSize: 200, - }); - options.value = res.records - .filter((record) => record.id !== formModel?.itemIdFirst ?? '') - .map((record) => { - return { - value: record.id, - label: record.itemName, - }; - }); - }, - onSearch: async (searchValue) => { - const res = await list({ - hospitalId: formModel.hospitalId, - itemName: searchValue, - pageSize: 200, - }); - options.value = res.records - .filter((record) => record.id !== formModel?.itemIdFirst ?? '') - .map((record) => { - return { - value: record.id, - label: record.itemName, - }; - }); - }, - onChange: (value) => { - options.value = unref(options).filter((o) => o.value === value); - }, - }; - }, - rules: [{ required: true }], - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/item/itemBase/components/MutexDrawer.vue b/src/views/medical/item/itemBase/components/MutexDrawer.vue deleted file mode 100644 index a6dc0e2..0000000 --- a/src/views/medical/item/itemBase/components/MutexDrawer.vue +++ /dev/null @@ -1,96 +0,0 @@ - - diff --git a/src/views/medical/item/itemBase/components/MutexModal.vue b/src/views/medical/item/itemBase/components/MutexModal.vue deleted file mode 100644 index ded7eff..0000000 --- a/src/views/medical/item/itemBase/components/MutexModal.vue +++ /dev/null @@ -1,64 +0,0 @@ - - - - - diff --git a/src/views/medical/item/itemCost/ItemCost.api.ts b/src/views/medical/item/itemCost/ItemCost.api.ts deleted file mode 100644 index 6af2144..0000000 --- a/src/views/medical/item/itemCost/ItemCost.api.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/itemCost/list', - edit = '/medical/itemCost/edit', - getAnnualPhysical = '/medical/departHospital/setDepartItemCostByDeptId', -} - -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); -/** - * 生成单位本年度体检项目 - * @param params - */ -export const annualPhysical = (params) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: '是否生成单位本年度体检项目?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.getAnnualPhysical, params }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params) => { - return defHttp.post({ url: Api.edit, params }); -}; diff --git a/src/views/medical/item/itemCost/ItemCost.data.ts b/src/views/medical/item/itemCost/ItemCost.data.ts deleted file mode 100644 index cdb24a6..0000000 --- a/src/views/medical/item/itemCost/ItemCost.data.ts +++ /dev/null @@ -1,199 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getPhysicalHospitalsList, getMedicalSecondDeparts } from '/@/views/system/user/user.api'; -import { render } from '/@/utils/common/renderUtils'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; -import moment from 'moment'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '单位', - align: 'center', - dataIndex: 'departName', - }, - { - title: '体检年度', - align: 'center', - dataIndex: 'medicalYear', - }, - { - title: '医院名称', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '体检项目', - align: 'center', - dataIndex: 'itemName', - }, - { - title: '体检项目图片', - align: 'center', - dataIndex: 'itemImg', - customRender: ({ text }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 50, - width: 50, - fallback: getDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '项目费用(元)', - align: 'right', - dataIndex: 'itemCost', - customRender: ({ text }) => { - return render.renderCost(text); - }, - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '体检项目', - field: 'itemName', - component: 'Input', - }, - { - label: '单位', - field: 'deptId', - component: 'ApiSelect', - componentProps: () => { - // const { secondSelectValue, secondSelectDisabled } = useDepartment({ schema, key: 'id' }); - // secondSelectValue(); - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - // disabled: secondSelectDisabled, - }; - }, - }, - { - label: '医院选择', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, - // { - // label: '是否已录入费用', - // field: 'inputFlag', - // component: 'JDictSelectTag', - // componentProps: { - // dictCode: 'sf_10', - // }, - // }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - mode: 'year', - picker: 'year', - valueFormat: 'YYYY', - }, - defaultValue: moment(new Date()).format('YYYY'), - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '单位', - field: 'departName', - component: 'Input', - dynamicDisabled: true, - }, - { - label: '体检年度', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY', - }, - dynamicDisabled: true, - }, - { - label: '医院名称', - field: 'hospitalName', - component: 'Input', - dynamicDisabled: true, - }, - { - label: '体检项目', - field: 'itemName', - dynamicDisabled: true, - component: 'Input', - }, - { - label: '项目费用', - field: 'itemCost', - component: 'InputNumber', - componentProps: { - min: 0, - precision: 2, - addonAfter: '元', - style: { - width: '100%', - }, - }, - dynamicRules: () => { - return [ - { - required: true, - validator: (_, value) => { - if (!/^\d+$|^\d*\.\d+$/g.test(value)) { - return Promise.reject('项目费用只能输入小数!'); - } - return Promise.resolve(); - }, - }, - ]; - }, - }, - { - label: '体检项目图片', - field: 'itemImg', - component: 'JImageUpload', - dynamicDisabled: true, - }, - { - label: '体检项目描述', - field: 'itemDesc', - component: 'JEditor', - dynamicDisabled: true, - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/item/itemCost/ItemCostList.vue b/src/views/medical/item/itemCost/ItemCostList.vue deleted file mode 100644 index 80a0dc0..0000000 --- a/src/views/medical/item/itemCost/ItemCostList.vue +++ /dev/null @@ -1,99 +0,0 @@ - - - - - diff --git a/src/views/medical/item/itemCost/components/ItemCostForm.vue b/src/views/medical/item/itemCost/components/ItemCostForm.vue deleted file mode 100644 index 7f33005..0000000 --- a/src/views/medical/item/itemCost/components/ItemCostForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/medical/item/itemCost/components/ItemCostModal.vue b/src/views/medical/item/itemCost/components/ItemCostModal.vue deleted file mode 100644 index 224b23e..0000000 --- a/src/views/medical/item/itemCost/components/ItemCostModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - diff --git a/src/views/medical/item/itemPackageSub/ItemPackageSub.api.ts b/src/views/medical/item/itemPackageSub/ItemPackageSub.api.ts deleted file mode 100644 index 9311771..0000000 --- a/src/views/medical/item/itemPackageSub/ItemPackageSub.api.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/itemPackage/list', - save = '/medical/itemPackage/add', - edit = '/medical/itemPackage/edit', - deleteOne = '/medical/itemPackage/delete', - deleteBatch = '/medical/itemPackage/deleteBatch', - annualProject = '/medical/departHospital/setDepartItemPackageByPId', - queryById = '/medical/itemPackage/queryById', - hosCheck = '/medical/itemPackage/hosCheck', - submitHos = '/medical/itemPackage/submitHosCheck', -} - -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); -/* - * 提交医院审核 - * */ -export const submitHos = (params) => defHttp.post({ url: Api.submitHos, params }); -/** - * 生成单位本年度项目组合 - * @param params - */ -export const annualProject = (params) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: '是否生成单位本年度项目组合?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.annualProject, params }); - }, - }); -}; -/** - * 根据id请求数据 - * @param params - */ -export const resEditData = (params) => defHttp.get({ url: Api.queryById, params }); -// 医院审核 -export const hosCheck = (params) => defHttp.post({ url: Api.hosCheck, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/medical/item/itemPackageSub/ItemPackageSub.data.ts b/src/views/medical/item/itemPackageSub/ItemPackageSub.data.ts deleted file mode 100644 index 0bde0dc..0000000 --- a/src/views/medical/item/itemPackageSub/ItemPackageSub.data.ts +++ /dev/null @@ -1,240 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { getPhysicalHospitalsList, getMedicalSecondDeparts } from '/@/views/system/user/user.api'; -import moment from 'moment'; -import { JVxeColumn, JVxeTypes } from '/@/components/jeecg/JVxeTable/src/types'; -import { render } from "/@/utils/common/renderUtils"; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '项目组合名称', - align: 'center', - dataIndex: 'packageName', - }, - { - title: '承检医院', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '单位', - align: 'center', - dataIndex: 'deptName', - }, - { - title: '体检年份', - align: 'center', - dataIndex: 'medicalYear', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - }, - { - title: '年龄范围', - align: 'center', - dataIndex: 'ageArea_dictText', - }, - { - title: '必选项目费用合计(元)', - align: 'right', - dataIndex: 'itemMustAmount', - customRender: ({ text }) => { - return render.renderCost(text); - }, - }, - { - title: '费用审核状态', - align: 'center', - dataIndex: 'checkStatus_dictText', - }, - { - title: '生成状态', - align: 'center', - dataIndex: 'generateFlag_dictText', - }, - { - title: '生成时间', - align: 'center', - dataIndex: 'generateTime', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '项目组合名名称', - field: 'packageName', - component: 'Input', - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sex2', - }, - }, - { - label: '年龄范围', - field: 'ageArea', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'medical_age_area', - }, - }, - { - label: '费用审核状态', - field: 'checkStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'check_status', - }, - }, - { - label: '单位', - field: 'deptId', - component: 'ApiSelect', - componentProps: ({}) => { - // const { secondSelectValue, secondSelectDisabled } = useDepartment({ schema, key: 'id' }); - // secondSelectValue(); - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - // disabled: secondSelectDisabled, - }; - }, - }, - { - label: '医院选择', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - mode: 'year', - picker: 'year', - valueFormat: 'YYYY', - }, - defaultValue: moment(new Date()).format('YYYY'), - }, -]; -//表单数据 -// @ts-ignore -export const formSchema: FormSchema[] = [ - { - label: '项目组合名称', - field: 'packageName', - component: 'Input', - }, - { - label: '单位', - field: 'deptName', - component: 'Input', - dynamicDisabled: true, - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: { - type: 'radio', - dictCode: 'sex2', - }, - dynamicDisabled: true, - }, - { - label: '承检医院', - field: 'hospitalName', - component: 'Input', - dynamicDisabled: true, - }, - { - label: '年龄范围', - field: 'ageArea', - component: 'JDictSelectTag', - componentProps: { - type: 'radio', - dictCode: 'medical_age_area', - }, - dynamicDisabled: true, - }, - { - label: '女性专项费用', - field: 'femaleAmount', - component: 'Input', - dynamicDisabled: true, - componentProps: ({}) => { - return { - suffix: '元', - }; - }, - ifShow: ({ values }) => { - return values.sex == '1'; - }, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; -export const JVxeTableColumn: JVxeColumn[] = [ - { - title: '体检项目', - key: 'itemName', - align: 'center', - }, - { - title: '体检项费用(元)', - key: 'itemCost', - align: 'center', - }, - { - title: '项目标记', - key: 'defaultFlag', - align: 'center', - type: JVxeTypes.radio, - disabled: true, - options: [ - { text: '一般项目', value: '1' }, - { text: '重点项目', value: '2' }, - ], - }, -]; -export const examineColumn: JVxeColumn[] = [ - { - title: '体检项目', - key: 'itemName', - align: 'center', - }, - { - title: '体检项费用(元)', - key: 'itemCost', - align: 'center', - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/item/itemPackageSub/ItemPackageSubList.vue b/src/views/medical/item/itemPackageSub/ItemPackageSubList.vue deleted file mode 100644 index 901397a..0000000 --- a/src/views/medical/item/itemPackageSub/ItemPackageSubList.vue +++ /dev/null @@ -1,192 +0,0 @@ - - - - - diff --git a/src/views/medical/item/itemPackageSub/components/ItemPackageSubModal.vue b/src/views/medical/item/itemPackageSub/components/ItemPackageSubModal.vue deleted file mode 100644 index 1dd2ca2..0000000 --- a/src/views/medical/item/itemPackageSub/components/ItemPackageSubModal.vue +++ /dev/null @@ -1,461 +0,0 @@ - - - - - diff --git a/src/views/medical/itemtemplate/ItemPackageModel.api.ts b/src/views/medical/itemtemplate/ItemPackageModel.api.ts deleted file mode 100644 index 84e4281..0000000 --- a/src/views/medical/itemtemplate/ItemPackageModel.api.ts +++ /dev/null @@ -1,96 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/itemPackageModel/list', - save = '/medical/itemPackageModel/add', - edit = '/medical/itemPackageModel/edit', - deleteOne = '/medical/itemPackageModel/delete', - deleteBatch = '/medical/itemPackageModel/deleteBatch', - importExcel = '/medical/itemPackageModel/importExcel', - exportXls = '/medical/itemPackageModel/exportXls', - queryById = '/medical/itemPackageModel/queryById', - getItemInfoList = '/medical/itemPackageModel/getItemInfoList', - getItemPackageModelList = '/medical/itemPackageModel/getItemPackageModelList', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const resDataEdit = (params) => defHttp.get({ url: Api.queryById, params }); -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -/** - * 获取体检项目列表 - * @param params - */ -export const getItemInfoList = (params) => defHttp.get({ url: Api.getItemInfoList, params }); -export const getItemPackageModelList = (params) => defHttp.get({ url: Api.getItemPackageModelList, params }); diff --git a/src/views/medical/itemtemplate/ItemPackageModel.data.ts b/src/views/medical/itemtemplate/ItemPackageModel.data.ts deleted file mode 100644 index 9ca2f0c..0000000 --- a/src/views/medical/itemtemplate/ItemPackageModel.data.ts +++ /dev/null @@ -1,333 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { rules } from '/@/utils/helper/validator'; -import { ref } from 'vue'; -import { render } from '/@/utils/common/renderUtils'; -import { getPhysicalHospitalsList } from '/@/views/system/user/user.api'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '医院名称', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '模板名称', - align: 'center', - dataIndex: 'packageName', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - width: 70, - }, - { - title: '年龄区间', - align: 'center', - dataIndex: 'ageArea_dictText', - }, - { - title: '折扣类型', - align: 'center', - dataIndex: 'floatType_dictText', - }, - { - title: '折扣数值(元)', - align: 'center', - dataIndex: 'floatAmount', - customRender: ({ record, text }) => { - return record.floatType === '1' ? text : '/'; - }, - }, - { - title: '折扣百分比(%)', - align: 'center', - dataIndex: 'floatPercent', - customRender: ({ record, text }) => { - return record.floatType === '2' ? text : '/'; - }, - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '医院名称', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, - { - label: '模板名称', - field: 'packageName', - component: 'Input', - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sex2', - }, - }, - { - label: '年龄区间', - field: 'ageArea', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'medical_age_area', - }, - }, -]; -export const useHospitalChangeId = ref(); -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '组合模板名称', - field: 'packageName', - component: 'Input', - }, - { - label: '医院名称', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: true, - onChange: (val) => { - useHospitalChangeId.value = val; - }, - }, - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sex2', - type: 'radio', - }, - }, - { - label: '女性专项费用', - field: 'femaleAmount', - component: 'Input', - componentProps: ({}) => { - return { - suffix: '元', - }; - }, - ifShow: ({ values }) => { - return values.sex == '1'; - }, - required: true, - }, - { - label: '年龄范围', - field: 'ageArea', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'medical_age_area', - }, - required: true, - }, - { - label: '折扣类型', - field: 'floatType', - component: 'JDictSelectTag', - defaultValue: '1', - componentProps: { - dictCode: 'float_type', - }, - required: true, - }, - { - label: '折扣金额', - field: 'floatAmount', - component: 'Input', - componentProps: () => { - return { - suffix: '元', - }; - }, - ifShow: ({ values }) => { - return values.floatType == '1'; - }, - dynamicRules: () => { - return [ - { - required: true, - validator: (_, value) => { - if (!/^\d+$|^\d*\.\d+$/g.test(value)) { - return Promise.reject('折扣金额只能输入小数!'); - } - return Promise.resolve(); - }, - }, - ]; - }, - }, - { - label: '折扣百分比', - field: 'floatPercent', - component: 'Input', - componentProps: () => { - return { - suffix: '%', - }; - }, - ifShow: ({ values }) => { - return values.floatType == '2'; - }, - required: true, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -// 新增禁用表单 -export const editDisabled: FormSchema[] = [ - { - label: '医院名称', - field: 'hospitalId', - componentProps: { - disabled: true, - }, - }, -]; -// 编辑弹窗tab数据 -export const addForm: FormSchema[] = [ - { - label: '医院名称', - field: 'hospitalId', - required: true, - }, - { - field: 'hospitalId', - required: true, - componentProps: { - disabled: false, - }, - }, - { - label: '组合模板名称', - field: 'packageName', - component: 'Input', - required: true, - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sex2', - type: 'radioButton', - }, - required: true, - }, - { - label: '年龄范围', - field: 'ageArea', - component: 'JDictSelectTag', - required: true, - }, - { - label: '折扣类型', - field: 'floatType', - component: 'JDictSelectTag', - required: true, - }, - { - label: '折扣金额', - field: 'floatAmount', - component: 'Input', - required: true, - }, -]; -// 编辑表单 table 列表项 -export const editTab1Column = [ - { - title: '体检项目', - dataIndex: 'itemName', - width: '30%', - }, - { - title: '项目编码', - dataIndex: 'itemNo', - }, - { - title: '项目标记', - dataIndex: 'defaultFlag', - option: [ - { label: '一般项目', value: '1' }, - { label: '重点项目', value: '2' }, - ], - }, -]; - -// 二级弹窗 -export const secondForm: FormSchema[] = [ - { - label: '医院名称', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: true, - disabled: true, - }, - }, - { - label: '项目编码', - field: 'itemNo', - component: 'Input', - }, - { - label: '项目名称', - field: 'itemName', - component: 'Input', - }, -]; -export const secondColumns: BasicColumn[] = [ - { - title: '医院名称', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '项目编码', - align: 'center', - dataIndex: 'itemNo', - }, - { - title: '项目名称', - align: 'center', - dataIndex: 'itemName', - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/itemtemplate/ItemPackageModelAppend.api.ts b/src/views/medical/itemtemplate/ItemPackageModelAppend.api.ts deleted file mode 100644 index add3051..0000000 --- a/src/views/medical/itemtemplate/ItemPackageModelAppend.api.ts +++ /dev/null @@ -1,82 +0,0 @@ -import {defHttp} from '/@/utils/http/axios'; -import { useMessage } from "/@/hooks/web/useMessage"; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/itemPackageModelAppend/list', - save='/medical/itemPackageModelAppend/add', - edit='/medical/itemPackageModelAppend/edit', - deleteOne = '/medical/itemPackageModelAppend/delete', - deleteBatch = '/medical/itemPackageModelAppend/deleteBatch', - importExcel = '/medical/itemPackageModelAppend/importExcel', - exportXls = '/medical/itemPackageModelAppend/exportXls', - queryById = '/medical/itemPackageModelAppend/queryById', - itemPackageModelAppendSubList = '/medical/itemPackageModelAppend/queryItemPackageModelAppendSubByMainId', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; - -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 查询子表数据 - * @param params - */ -export const itemPackageModelAppendSubList = Api.itemPackageModelAppendSubList; -/** - * 列表接口 - * @param params - */ -export const list = (params) => - defHttp.get({url: Api.list, params}); - - -export const resDataEdit = (params) => defHttp.get({ url: Api.queryById, params }); -/** - * 删除单个 - */ -export const deleteOne = (params,handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => - defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }), - }); -} -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); - } - }); -} -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({url: url, params}); -} diff --git a/src/views/medical/itemtemplate/ItemPackageModelAppend.data.ts b/src/views/medical/itemtemplate/ItemPackageModelAppend.data.ts deleted file mode 100644 index 4dc1515..0000000 --- a/src/views/medical/itemtemplate/ItemPackageModelAppend.data.ts +++ /dev/null @@ -1,417 +0,0 @@ -import {BasicColumn} from '/@/components/Table'; -import {FormSchema} from '/@/components/Table'; -import { rules} from '/@/utils/helper/validator'; -import { render } from '/@/utils/common/renderUtils'; -import {JVxeTypes,JVxeColumn} from '/@/components/jeecg/JVxeTable/types' -import {getItemPackageModelList} from "/@/views/medical/itemtemplate/ItemPackageModel.api"; -import {getMedicalSecondDeparts, getPhysicalHospitalsList} from "/@/views/system/user/user.api"; -import { ref } from 'vue'; -import moment from "moment/moment"; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '项目组合模板', - align:"center", - dataIndex: 'packageName' - }, - { - title: '二级单位', - align:"center", - dataIndex: 'deptName' - }, - { - title: '医院名称', - align:"center", - dataIndex: 'hospitalName' - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - width: 70, - }, - { - title: '年龄区间', - align: 'center', - dataIndex: 'ageArea_dictText', - }, - { - title: '体检年份', - align:"center", - dataIndex: 'medicalYear' - }, - { - title: '是否有效', - align:"center", - dataIndex: 'isValid_dictText' - }, - { - title: '创建日期', - align:"center", - dataIndex: 'createTime' - }, - { - title: '更新日期', - align:"center", - dataIndex: 'updateTime' - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - - { - label: "项目组合模板", - field: "packageModelId", - component: 'ApiSelect', - componentProps: { - api: getItemPackageModelList, - resultField: 'list', - labelField: 'packageName', - valueField: 'id', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }, - //colProps: {span: 6}, - }, - - { - label: '二级单位', - field: 'deptId', - component: 'ApiSelect', - componentProps: { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }, - }, - - { - label: '医院名称', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sex2', - }, - }, - { - label: '年龄区间', - field: 'ageArea', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'medical_age_area', - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - mode: 'year', - picker: 'year', - valueFormat: 'YYYY', - }, - defaultValue: moment(new Date()).format('YYYY'), - }, - { - label: "是否有效", - field: "isValid", - component: 'JDictSelectTag', - componentProps:{ - dictCode:"valid_status" - }, - //colProps: {span: 6}, - }, -]; - - -export const useHospitalChangeId = ref(); -//表单数据 -export const formSchema: FormSchema[] = [ - - { - label: '项目组合模板', - field: 'packageModelId', - component: 'ApiSelect', - componentProps: ({ formModel}) => { - return { - api: getItemPackageModelList, - resultField: 'list', - labelField: 'packageName', - valueField: 'id', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: (_value, arg) => { - formModel.hospitalId = arg?.hospitalId; - useHospitalChangeId.value = { - hospitalId: arg?.hospitalId, - packageModelId: _value, - } - formModel.sex = arg?.sex; - formModel.ageArea = arg?.ageArea; - }, - } - }, - rules: [{ required: true }], - }, - { - label: '二级单位', - field: 'deptId', - component: 'ApiSelect', - componentProps: { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }, - rules: [{ required: true }], - }, - { - label: '医院名称', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: true, - disabled: true, - }, - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sex2', - disabled: true, - }, - }, - { - label: '年龄范围', - field: 'ageArea', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'medical_age_area', - disabled: true, - }, - }, - { - label: '体检年度', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - picker: 'year', - valueFormat: 'YYYY', - }, - dynamicDisabled: ({ values }) => { - return !!values.id; - }, - defaultValue: new Date(), - rules: [{ required: true }], - }, - - { - label: '是否有效', - field: 'isValid', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'valid_status', - type: 'radio', - }, - defaultValue: '1', - }, - - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false - }, -]; -//子表单数据 -//子表表格配置 -export const itemPackageModelAppendSubColumns: JVxeColumn[] = [ - { - title: '主表ID', - key: 'packageModelAppendId', - type: JVxeTypes.input, - width:"200px", - placeholder: '请输入${title}', - defaultValue:'', - }, - { - title: '体检项目ID', - key: 'itemId', - type: JVxeTypes.input, - width:"200px", - placeholder: '请输入${title}', - defaultValue:'', - }, - { - title: '体检项目编码', - key: 'itemNo', - type: JVxeTypes.input, - width:"200px", - placeholder: '请输入${title}', - defaultValue:'', - }, - { - title: '项目标记', - key: 'defaultFlag', - type: JVxeTypes.input, - width:"200px", - placeholder: '请输入${title}', - defaultValue:'', - }, - { - title: '项目组合类型', - key: 'packageType', - type: JVxeTypes.input, - width:"200px", - placeholder: '请输入${title}', - defaultValue:'', - }, - { - title: '添加标记', - key: 'appendType', - type: JVxeTypes.input, - width:"200px", - placeholder: '请输入${title}', - defaultValue:'', - }, -] - - -// 高级查询数据 -export const superQuerySchema = { - packageModelId: {title: '项目组合ID',order: 0,view: 'text', type: 'string',}, - medicalYear: {title: '体检年份',order: 1,view: 'text', type: 'string',}, - deptId: {title: '二级单位',order: 2,view: 'text', type: 'string',}, - isValid: {title: '是否有效',order: 3,view: 'radio', type: 'string',}, - createTime: {title: '创建日期',order: 4,view: 'datetime', type: 'string',}, - updateTime: {title: '更新日期',order: 5,view: 'datetime', type: 'string',}, - //子表高级查询 -}; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[]{ -// 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} -// 新增禁用表单 -export const editDisabled: FormSchema[] = [ - // { - // label: '医院名称', - // field: 'hospitalId', - // componentProps: { - // disabled: true, - // }, - // }, - { - label: '项目组合模板', - field: 'packageModelId', - component: 'ApiSelect', - componentProps: ({ formModel}) => { - return { - api: getItemPackageModelList, - resultField: 'list', - labelField: 'packageName', - valueField: 'id', - showSearch: true, - disabled: true, - } - }, - }, -]; -// 编辑弹窗tab数据 -export const addForm: FormSchema[] = [ - { - label: '项目组合模板', - field: 'packageModelId', - component: 'ApiSelect', - componentProps: ({ formModel}) => { - return { - api: getItemPackageModelList, - resultField: 'list', - labelField: 'packageName', - valueField: 'id', - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: (_value, arg) => { - formModel.hospitalId = arg?.hospitalId; - useHospitalChangeId.value = { - hospitalId: arg?.hospitalId, - packageModelId: _value, - } - formModel.sex = arg?.sex; - formModel.ageArea = arg?.ageArea; - }, - } - }, - rules: [{ required: true }], - }, -]; -export const editTab1Column = [ - { - title: '体检项目', - dataIndex: 'itemName', - width: '30%', - }, - { - title: '项目编码', - dataIndex: 'itemNo', - }, - { - title: '项目标记', - dataIndex: 'defaultFlag', - option: [ - { label: '一般项目', value: '1' }, - { label: '重点项目', value: '2' }, - ], - }, - /* { - title: '例外类型', - dataIndex: 'appendType', - option: [ - { label: '增加项', value: '1' }, - { label: '减少项', value: '2' }, - ], - },*/ -]; diff --git a/src/views/medical/itemtemplate/ItemPackageModelAppendList.vue b/src/views/medical/itemtemplate/ItemPackageModelAppendList.vue deleted file mode 100644 index 97e7a9f..0000000 --- a/src/views/medical/itemtemplate/ItemPackageModelAppendList.vue +++ /dev/null @@ -1,155 +0,0 @@ - - - - - diff --git a/src/views/medical/itemtemplate/ItemPackageModelList.vue b/src/views/medical/itemtemplate/ItemPackageModelList.vue deleted file mode 100644 index a649c99..0000000 --- a/src/views/medical/itemtemplate/ItemPackageModelList.vue +++ /dev/null @@ -1,159 +0,0 @@ - - - - - diff --git a/src/views/medical/itemtemplate/components/ItemPackageModal.vue b/src/views/medical/itemtemplate/components/ItemPackageModal.vue deleted file mode 100644 index ccf355d..0000000 --- a/src/views/medical/itemtemplate/components/ItemPackageModal.vue +++ /dev/null @@ -1,479 +0,0 @@ - - - - - diff --git a/src/views/medical/itemtemplate/components/ItemPackageModelAppendModal.vue b/src/views/medical/itemtemplate/components/ItemPackageModelAppendModal.vue deleted file mode 100644 index 7b9b1ca..0000000 --- a/src/views/medical/itemtemplate/components/ItemPackageModelAppendModal.vue +++ /dev/null @@ -1,477 +0,0 @@ - - - - - diff --git a/src/views/medical/itemtemplate/components/ItemPackageModelForm.vue b/src/views/medical/itemtemplate/components/ItemPackageModelForm.vue deleted file mode 100644 index 70ee6c5..0000000 --- a/src/views/medical/itemtemplate/components/ItemPackageModelForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/medical/itemtemplate/components/SecondTable.vue b/src/views/medical/itemtemplate/components/SecondTable.vue deleted file mode 100644 index 36f9b85..0000000 --- a/src/views/medical/itemtemplate/components/SecondTable.vue +++ /dev/null @@ -1,202 +0,0 @@ - - - - - diff --git a/src/views/medical/itemtemplate/components/commonFun.ts b/src/views/medical/itemtemplate/components/commonFun.ts deleted file mode 100644 index d2450fc..0000000 --- a/src/views/medical/itemtemplate/components/commonFun.ts +++ /dev/null @@ -1,14 +0,0 @@ -// 克隆数据并添加 key 为index -import { cloneDeep } from 'lodash-es'; - -export const cloneData = (data) => { - if (!data) { - return []; - } - return cloneDeep(data)?.map((item, i) => ({ ...item, key: i })); -}; -export const titleType = { - add: '新增', - edit: '编辑', - look: '详情', -}; diff --git a/src/views/medical/itemtemplate/components/commonTable.vue b/src/views/medical/itemtemplate/components/commonTable.vue deleted file mode 100644 index 91599d5..0000000 --- a/src/views/medical/itemtemplate/components/commonTable.vue +++ /dev/null @@ -1,163 +0,0 @@ - - - diff --git a/src/views/medical/itemtemplate/components/commonTableAppend.vue b/src/views/medical/itemtemplate/components/commonTableAppend.vue deleted file mode 100644 index f51e8c4..0000000 --- a/src/views/medical/itemtemplate/components/commonTableAppend.vue +++ /dev/null @@ -1,166 +0,0 @@ - - - diff --git a/src/views/medical/medicalstat/MedicalStatYear.api.ts b/src/views/medical/medicalstat/MedicalStatYear.api.ts deleted file mode 100644 index 23455e2..0000000 --- a/src/views/medical/medicalstat/MedicalStatYear.api.ts +++ /dev/null @@ -1,69 +0,0 @@ -import {defHttp} from '/@/utils/http/axios'; -import { useMessage } from "/@/hooks/web/useMessage"; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/medicalStatYear/list', - save='/medical/medicalStatYear/add', - edit='/medical/medicalStatYear/edit', - deleteOne = '/medical/medicalStatYear/delete', - deleteBatch = '/medical/medicalStatYear/deleteBatch', - importExcel = '/medical/medicalStatYear/importExcel', - exportXls = '/medical/medicalStatYear/exportXls', - redoDataUrl = '/medical/medicalStatYear/redoData', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => - defHttp.get({url: Api.list, params}); - -/** - * 删除单个 - */ -export const deleteOne = (params,handleSuccess) => { - return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); -} -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); - } - }); -} -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({url: url, params}); -} -export const redoStatData = (params) => { - let url = Api.redoDataUrl; - return defHttp.post({url: url, params},{ joinParamsToUrl: true }); -} diff --git a/src/views/medical/medicalstat/MedicalStatYear.data.ts b/src/views/medical/medicalstat/MedicalStatYear.data.ts deleted file mode 100644 index 347d339..0000000 --- a/src/views/medical/medicalstat/MedicalStatYear.data.ts +++ /dev/null @@ -1,135 +0,0 @@ -import {BasicColumn} from '/@/components/Table'; -import {FormSchema} from '/@/components/Table'; -import { rules} from '/@/utils/helper/validator'; -import { render } from '/@/utils/common/renderUtils'; -import { getWeekMonthQuarterYear } from '/@/utils'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '体检年份', - align:"center", - dataIndex: 'medicalYear' - }, - { - title: '标准化分类', - align:"center", - dataIndex: 'uniItemClassName' - }, - { - title: '标准化基本项名称', - align:"center", - dataIndex: 'uniItemName' - }, - { - title: '标准化基本项ID', - align:"center", - dataIndex: 'uniItemId' - }, - { - title: '员工数量', - align:"center", - dataIndex: 'empCount' - }, - { - title: '创建时间', - align:"center", - dataIndex: 'createTime' - }, - - -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - showTime: false, - valueFormat: 'YYYY', - picker: 'year', - }, - defaultValue: new Date(), - }, - { - label: '标准化分类', - field: 'uniItemClassName', - component: 'JInput', - }, - { - label: '标准化基本项名称', - field: 'uniItemName', - component: 'JInput', - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '体检年份', - field: 'medicalYear', - component: 'InputNumber', - }, - { - label: '标准化分类', - field: 'uniItemClassName', - component: 'Input', - }, - { - label: '标准化基本项名称', - field: 'uniItemName', - component: 'Input', - }, - { - label: '标准化基本项ID', - field: 'uniItemId', - component: 'Input', - }, - { - label: '员工数量', - field: 'empCount', - component: 'InputNumber', - }, - - - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false - }, -]; - -//重新提取数据 -export const formRedoSchema: FormSchema[] = [ - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - showTime: false, - valueFormat: 'YYYY', - picker: 'year', - }, - defaultValue: new Date(), - }, -]; - -// 高级查询数据 -export const superQuerySchema = { - medicalYear: {title: '体检年份',order: 0,view: 'number', type: 'number',}, - uniItemId: {title: '标准化基本项ID',order: 1,view: 'text', type: 'string',}, - empCount: {title: '员工数量',order: 2,view: 'number', type: 'number',}, - createTime: {title: '创建时间',order: 3,view: 'datetime', type: 'string',}, - uniItemName: {title: '标准化基本项名称',order: 4,view: 'text', type: 'string',}, - uniItemClassName: {title: '标准化分类',order: 5,view: 'text', type: 'string',}, -}; - -/** -* 流程表单调用这个方法获取formSchema -* @param param -*/ -export function getBpmFormSchema(_formData): FormSchema[]{ - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/medicalstat/MedicalStatYearList.vue b/src/views/medical/medicalstat/MedicalStatYearList.vue deleted file mode 100644 index 394f4e8..0000000 --- a/src/views/medical/medicalstat/MedicalStatYearList.vue +++ /dev/null @@ -1,204 +0,0 @@ - - - - - diff --git a/src/views/medical/medicalstat/components/MedicalStatYearForm.vue b/src/views/medical/medicalstat/components/MedicalStatYearForm.vue deleted file mode 100644 index 6c7424a..0000000 --- a/src/views/medical/medicalstat/components/MedicalStatYearForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/medical/medicalstat/components/MedicalStatYearModal.vue b/src/views/medical/medicalstat/components/MedicalStatYearModal.vue deleted file mode 100644 index a4df198..0000000 --- a/src/views/medical/medicalstat/components/MedicalStatYearModal.vue +++ /dev/null @@ -1,76 +0,0 @@ - - - - - diff --git a/src/views/medical/medicalstat/components/MedicalStatYearRedoModal.vue b/src/views/medical/medicalstat/components/MedicalStatYearRedoModal.vue deleted file mode 100644 index bc7b1a3..0000000 --- a/src/views/medical/medicalstat/components/MedicalStatYearRedoModal.vue +++ /dev/null @@ -1,76 +0,0 @@ - - - - - diff --git a/src/views/medical/mediclannouncement/AnnouncementInfo.api.ts b/src/views/medical/mediclannouncement/AnnouncementInfo.api.ts deleted file mode 100644 index fe34bcf..0000000 --- a/src/views/medical/mediclannouncement/AnnouncementInfo.api.ts +++ /dev/null @@ -1,93 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/announcementInfo/list', - save = '/medical/announcementInfo/add', - edit = '/medical/announcementInfo/edit', - deleteOne = '/medical/announcementInfo/delete', - deleteBatch = '/medical/announcementInfo/deleteBatch', - importExcel = '/medical/announcementInfo/importExcel', - exportXls = '/medical/announcementInfo/exportXls', - getEdit = '/medical/announcementInfo/queryById', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 请求编辑数据 - */ -export const resEditData = async (params) => { - return await defHttp.get({ url: Api.getEdit, params }, { joinParamsToUrl: true }); -}; -/** - * 列表接口 - * @param params - */ -export const list = (params) => { - if (params.title !== undefined) { - params.title = '*' + params.title + '*'; - } - return defHttp.get({ url: Api.list, params }); -}; - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/medical/mediclannouncement/AnnouncementInfo.data.ts b/src/views/medical/mediclannouncement/AnnouncementInfo.data.ts deleted file mode 100644 index 4e1bf2d..0000000 --- a/src/views/medical/mediclannouncement/AnnouncementInfo.data.ts +++ /dev/null @@ -1,116 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '标题', - align: 'center', - dataIndex: 'title', - }, - { - title: '公告类型', - align: 'center', - dataIndex: 'announcementType', - customRender: ({ text }) => { - return render.renderDict(text, 'announcement_type'); - }, - }, - { - title: '有效标志', - align: 'center', - dataIndex: 'status', - customRender: ({ text }) => { - return render.renderDict(text, 'status'); - }, - }, - // { - // title: '创建时间', - // align: 'center', - // dataIndex: 'createDate', - // customRender: ({ text }) => { - // return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - // }, - // }, - // { - // title: '修改时间', - // align: 'center', - // dataIndex: 'updateDate', - // customRender: ({ text }) => { - // return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - // }, - // }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '标题', - field: 'title', - component: 'Input', - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '标题', - field: 'title', - component: 'Input', - rules: [{ required: true }], - }, - { - label: '人员类型', - field: 'personType', - component: 'JDictSelectTag', - componentProps: { - // @ts-ignore - dictCode: 'p_type', - getPopupContainer: () => document.body, - }, - rules: [{ required: true }], - }, - { - label: '有效标志', - field: 'status', - component: 'JDictSelectTag', - colProps: { span: 24 }, - componentProps: { - // @ts-ignore - dictCode: 'status', - type: 'radio', - }, - rules: [{ required: true }], - defaultValue: '0', - }, - { - label: '公告类型', - field: 'announcementType', - component: 'JDictSelectTag', - componentProps: { - // @ts-ignore - dictCode: 'announcement_type', - getPopupContainer: () => document.body, - }, - rules: [{ required: true }], - }, - { - label: '内容', - field: 'content', - component: 'InputTextArea', - rules: [{ required: true, message: '请输入内容' }], - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - */ -export function getBpmFormSchema(): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/mediclannouncement/AnnouncementInfoList.vue b/src/views/medical/mediclannouncement/AnnouncementInfoList.vue deleted file mode 100644 index ae39f54..0000000 --- a/src/views/medical/mediclannouncement/AnnouncementInfoList.vue +++ /dev/null @@ -1,172 +0,0 @@ - - - - - diff --git a/src/views/medical/mediclannouncement/components/AnnouncementInfoForm.vue b/src/views/medical/mediclannouncement/components/AnnouncementInfoForm.vue deleted file mode 100644 index d3bbc02..0000000 --- a/src/views/medical/mediclannouncement/components/AnnouncementInfoForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/medical/mediclannouncement/components/AnnouncementInfoModal.vue b/src/views/medical/mediclannouncement/components/AnnouncementInfoModal.vue deleted file mode 100644 index fb524da..0000000 --- a/src/views/medical/mediclannouncement/components/AnnouncementInfoModal.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - - - diff --git a/src/views/medical/model/RecordModel.api.ts b/src/views/medical/model/RecordModel.api.ts deleted file mode 100644 index ce96100..0000000 --- a/src/views/medical/model/RecordModel.api.ts +++ /dev/null @@ -1,107 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/recordModel/list', - save = '/medical/recordModel/add', - edit = '/medical/recordModel/edit', - deleteOne = '/medical/recordModel/delete', - deleteBatch = '/medical/recordModel/deleteBatch', - importExcel = '/medical/recordModel/importExcel', - exportXls = '/medical/recordModel/exportXls', - recordModelConfigList = '/medical/recordModel/queryMedicalRecordModelConfigByMainId', - recordModelBaseList = '/medical/recordModel/queryMedicalRecordModelBaseByMainId', - loadTreeRoot = '/medical/uniItemClass/loadTreeRoot', - getInfoListByClassId = '/medical/uniItemInfo/getInfoListByClassId', - downloadTemplate = '/medical/recordModel/template', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; - -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 导出模版 - */ -export const getExportTempUrl = Api.downloadTemplate; -/** - * 查询子表数据 - * @param params - */ -export const recordModelConfigList = Api.recordModelConfigList; -/** - * 查询子表数据 - * @param params - */ -export const recordModelBaseList = Api.recordModelBaseList; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -export const getConfigList = (params) => defHttp.get({ url: Api.recordModelConfigList, params }); -export const getBaseList = (params) => defHttp.get({ url: Api.recordModelBaseList, params }); - -/** - * 体检分类树查询接口 - * @param params - */ -export const getLoadTreeRoot = (params) => defHttp.get({ url: Api.loadTreeRoot, params }); - -/** - * 体检分类树查询接口 - * @param params - */ -export const getInfoListByClassId = (params) => defHttp.get({ url: Api.getInfoListByClassId, params }); diff --git a/src/views/medical/model/RecordModel.data.ts b/src/views/medical/model/RecordModel.data.ts deleted file mode 100644 index 09a6eec..0000000 --- a/src/views/medical/model/RecordModel.data.ts +++ /dev/null @@ -1,182 +0,0 @@ -import {BasicColumn} from '/@/components/Table'; -import {FormSchema} from '/@/components/Table'; -import {rules} from '/@/utils/helper/validator'; -import {render} from '/@/utils/common/renderUtils'; -import {JVxeTypes, JVxeColumn} from '/@/components/jeecg/JVxeTable/types' -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '模版名称', - align: "center", - dataIndex: 'modelName' - }, - { - title: '版本号', - align: "center", - dataIndex: 'modelVersion' - }, - { - title: '是否有效', - align: "center", - dataIndex: 'validStatus_dictText' - }, - { - title: '备注信息', - align: "center", - dataIndex: 'remark' - }, - { - title: '创建日期', - align: "center", - dataIndex: 'createDate' - }, - { - title: '更新日期', - align: "center", - dataIndex: 'updateDate' - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: "模版名称", - field: "modelName", - component: 'Input', - colProps: {span: 6}, - }, - { - label: "是否有效", - field: "validStatus", - component: 'JDictSelectTag', - componentProps: { - dictCode: "valid_status", - stringToNumber: true, - }, - colProps: {span: 6}, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '模版名称', - field: 'modelName', - component: 'Input', - colProps: {span: 12}, - rules: [{ required: true }], - }, - { - label: '版本号', - field: 'modelVersion', - component: 'Input', - colProps: {span: 12}, - // rules: [{ required: true }], - }, - { - label: '是否有效', - field: 'validStatus', - defaultValue: "1", - component: 'JDictSelectTag', - componentProps: { - dictCode: 'valid_status', - type: 'radio', - }, - colProps: {span: 12}, - rules: [{ required: true }], - }, - { - label: '备注信息', - field: 'remark', - component: 'InputTextArea', - colProps: {span: 12}, - // rules: [{ required: true }], - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false - }, -]; -//子表单数据 -//子表表格配置 -export const recordModelConfigColumns: JVxeColumn[] = [ - { - title: '体检项ID', - key: 'baseId', - type: JVxeTypes.input, - width: "200px", - placeholder: '请输入${title}', - defaultValue: '', - }, - { - title: '体检项名称', - key: 'baseName', - type: JVxeTypes.input, - width: "200px", - placeholder: '请输入${title}', - defaultValue: '', - }, - { - title: '体检项编码', - key: 'baseCode', - type: JVxeTypes.input, - width: "200px", - placeholder: '请输入${title}', - defaultValue: '', - }, - { - title: '序号', - key: 'baseOrder', - type: JVxeTypes.inputNumber, - width: "200px", - placeholder: '请输入${title}', - defaultValue: '', - }, -] -export const recordModelBaseColumns: JVxeColumn[] = [ - { - title: '名称', - key: 'baseName', - type: JVxeTypes.input, - // width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - validateRules: [ - {required: true, message: '${title}不能为空'}, - ], - }, - { - title: '名称编码', - key: 'baseCode', - type: JVxeTypes.input, - // width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - validateRules: [ - {required: true, message: '${title}不能为空'}, - ], - }, - { - title: '表头顺序', - key: 'baseOrder', - type: JVxeTypes.inputNumber, - // width: '200px', - placeholder: '请输入${title}', - defaultValue: '', - validateRules: [ - { required: true, message: '${title}不能为空' }, - { pattern: 'z', message: '${title}格式不正确' }, - ], - }, -] - - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { -// 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/model/RecordModelList.vue b/src/views/medical/model/RecordModelList.vue deleted file mode 100644 index 6accd7a..0000000 --- a/src/views/medical/model/RecordModelList.vue +++ /dev/null @@ -1,196 +0,0 @@ - - - - - diff --git a/src/views/medical/model/components/RecordModelForm.vue b/src/views/medical/model/components/RecordModelForm.vue deleted file mode 100644 index 44bf484..0000000 --- a/src/views/medical/model/components/RecordModelForm.vue +++ /dev/null @@ -1,147 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/medical/model/components/RecordModelModal.vue b/src/views/medical/model/components/RecordModelModal.vue deleted file mode 100644 index 7703079..0000000 --- a/src/views/medical/model/components/RecordModelModal.vue +++ /dev/null @@ -1,276 +0,0 @@ - - - - - diff --git a/src/views/medical/physicalExamination/abnormal/Abnormal.api.ts b/src/views/medical/physicalExamination/abnormal/Abnormal.api.ts deleted file mode 100644 index 5bc2aac..0000000 --- a/src/views/medical/physicalExamination/abnormal/Abnormal.api.ts +++ /dev/null @@ -1,54 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); -enum Api { - list = '/medical/seriousResultItem/list', - //importExcel = '/medical/seriousResultItem/importExcelNew', - importExcel = '/medical/seriousResultItem/importExcel', - task = '/medical/seriousResultItem/exportXls', - taskRecord = '/sys/common/commonExportsInfo/list', - exportTemp = '/medical/seriousResultItem/seriousTemp', - checkData = '/medical/seriousResultItem/checkData', - updateData = '/medical/seriousResultItem/updateData', - sendSms = '/medical/seriousResultItem/sendSms', -} - -/** - * 模版下载 - */ -export const getExportTempUrl = Api.exportTemp; - -export const checkDataUrl = Api.checkData; -export const updateDataUrl = Api.updateData; -export const sendSmsUrl = (params) => defHttp.post({ url: Api.sendSms, params }); -/* - * 启动导出任务 - * */ -export const launchTask = (params) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: Api.task, params }); - }, - }); -}; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); -/* - * 查看导出记录 - * */ -export const getTaskRecord = (params) => { - return defHttp.get({ url: Api.taskRecord, params }); -}; diff --git a/src/views/medical/physicalExamination/abnormal/Abnormal.data.ts b/src/views/medical/physicalExamination/abnormal/Abnormal.data.ts deleted file mode 100644 index 6ae7d39..0000000 --- a/src/views/medical/physicalExamination/abnormal/Abnormal.data.ts +++ /dev/null @@ -1,136 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'realname', - }, - { - title: '身份证号', - align: 'center', - dataIndex: 'idCard', - }, - { - title: '手机号', - align: 'center', - dataIndex: 'mobile', - }, - { - title: '重大异常描述', - align: 'center', - dataIndex: 'seriousDesc', - }, - { - title: '已app通知', - align: 'center', - dataIndex: 'noticeFlag', - customRender: ({ text }) => { - return render.renderDict(text, 'sf_10'); - }, - }, - { - title: 'app通知时间', - align: 'center', - dataIndex: 'noticeTime', - }, - { - title: 'app通知已读', - align: 'center', - dataIndex: 'readFlag', - customRender: ({ text }) => { - return render.renderDict(text, 'sf_10'); - }, - }, - { - title: 'app通知已读时间', - align: 'center', - dataIndex: 'readTime', - }, - { - title: '已短信通知', - align: 'center', - dataIndex: 'sendFlag', - customRender: ({ text }) => { - return render.renderDict(text, 'sf_10'); - }, - }, - { - title: '短信通知时间', - align: 'center', - dataIndex: 'sendTime', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '身份证号', - field: 'idCard', - component: 'Input', - }, - { - label: '手机号', - field: 'mobile', - component: 'Input', - }, - { - label: '已app通知', - field: 'noticeFlag', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sf_10', - }, - }, - { - label: 'app通知已读', - field: 'readFlag', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sf_10', - }, - }, - { - label: '已短信通知', - field: 'sendFlag', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sf_10', - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '身份证号', - field: 'idCard', - component: 'Input', - }, - { - label: '手机号', - field: 'mobile', - component: 'Input', - }, - { - label: '重大异常描述', - field: 'seriousDesc', - component: 'InputTextArea', - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/medical/physicalExamination/abnormal/AbnormalList.vue b/src/views/medical/physicalExamination/abnormal/AbnormalList.vue deleted file mode 100644 index 59cd07c..0000000 --- a/src/views/medical/physicalExamination/abnormal/AbnormalList.vue +++ /dev/null @@ -1,168 +0,0 @@ - - - - - diff --git a/src/views/medical/physicalExamination/abnormal/components/AbnormalModal.vue b/src/views/medical/physicalExamination/abnormal/components/AbnormalModal.vue deleted file mode 100644 index 1be8fd3..0000000 --- a/src/views/medical/physicalExamination/abnormal/components/AbnormalModal.vue +++ /dev/null @@ -1,50 +0,0 @@ - - - - - diff --git a/src/views/medical/physicalExamination/illness/Illness.api.ts b/src/views/medical/physicalExamination/illness/Illness.api.ts deleted file mode 100644 index c922352..0000000 --- a/src/views/medical/physicalExamination/illness/Illness.api.ts +++ /dev/null @@ -1,93 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/sickPerson/list', - queryById = '/medical/sickPerson/view', - updateMessage = '/medical/sickPerson/updateMsgStatus', - flowIllness = '/medical/sickPerson/flowTracing', - flowIllnessList = '/medical/userIllSub/tracingInfoRecord', - delete_illness = '/medical/userIll/doDel', - delete_flowPath = '/medical/userIllSub/delete', - submit_flowPath = '/medical/userIllSub/illSubSubmit', - task = '/medical/sickPerson/exportXlsTask', - taskRecord = '/sys/common/commonExportsInfo/list', -} -/* - * 启动导出任务 - * */ -export const launchTask = (params) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: Api.task, params }); - }, - }); -}; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); -/** - * 查看 - * @param params - */ -export const resEditData = (params) => defHttp.get({ url: Api.queryById, params }); -/** - * 消息通知 - * @param params - */ -export const updateMess = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: `确定${params.status === 0 ? '关闭' : '开启'}消息通知吗?`, - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.updateMessage, params }).then(() => { - handleSuccess(); - }); - }, - }); -}; - -/************ 流程跟踪弹窗接口 ***************/ -/** - * 流程跟踪获取数据 - * @param params - */ -export const flowPath = (params) => defHttp.get({ url: Api.flowIllness, params }); -/** - * 录入跟踪信息——提交 - * @param params - */ -export const submitFlowPath = (params) => defHttp.post({ url: Api.submit_flowPath, params }); -/** - * 记录日志——删除 - * @param params - */ -export const deleteFlowPath = (params) => defHttp.delete({ url: Api.delete_flowPath, params }); -/** - * 录入跟踪列表数据 - * @param params - */ -export const flowPathList = (params) => defHttp.get({ url: Api.flowIllnessList, params }); -/** - * 删除大病信息 - * @param params - */ -export const deleteIllness = (params) => defHttp.post({ url: Api.delete_illness, params }); -/* - * 查看导出记录 - * */ -export const getTaskRecord = (params) => { - return defHttp.get({ url: Api.taskRecord, params }); -}; diff --git a/src/views/medical/physicalExamination/illness/Illness.data.ts b/src/views/medical/physicalExamination/illness/Illness.data.ts deleted file mode 100644 index a1ffc29..0000000 --- a/src/views/medical/physicalExamination/illness/Illness.data.ts +++ /dev/null @@ -1,334 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { getPhysicalHospitalsList, getMedicalSecondDeparts, getMedicalThirdDeparts } from '/@/views/system/user/user.api'; -import { JVxeColumn } from '/@/components/jeecg/JVxeTable/src/types'; -import { useMessage } from '/@/hooks/web/useMessage'; -import { useDepartment } from '/@/utils/auth/formAuth'; - -const { createMessage } = useMessage(); -//大病人员列表数据 -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'realname', - }, - { - title: '单位', - align: 'center', - dataIndex: 'secondDepartment', - }, - { - title: '部门', - align: 'center', - dataIndex: 'thirdDepartment', - }, - { - title: '医院名称', - align: 'center', - dataIndex: 'hospital', - }, - { - title: '身份证号', - align: 'center', - dataIndex: 'idCard', - width: '500', - }, - { - title: '手机号', - align: 'center', - dataIndex: 'phone', - }, - { - title: '体检日期', - align: 'center', - dataIndex: 'medicalDate', - }, - { - title: '大病分类', - align: 'center', - dataIndex: 'medicalIllType', - customRender: ({ text }) => { - return render.renderDict(text, 'ill_type'); - }, - }, - { - title: '是否开启消息通知', - align: 'center', - dataIndex: 'msgSend', - customRender: ({ text }) => { - return render.renderDict(text, 'yes_no'); - }, - }, - { - title: '是否已发送短信', - align: 'center', - dataIndex: 'codeSend', - customRender: ({ text }) => { - return render.renderDict(text, 'yes_no'); - }, - }, -]; -//大病人员查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '身份证号', - field: 'idCard', - component: 'Input', - }, - { - label: '体检日期', - field: 'medicalDate', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD', - }, - }, - { - label: '单位', - field: 'secondDepartment', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - // const { secondSelectValue, secondSelectDisabled } = useDepartment({ - // schema, - // key: 'id', - // }); - // secondSelectValue(); - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - onChange: (val, option) => { - if (val) { - option.thirdDepart = ''; - if (formModel.hasOwnProperty('thirdDepartment')) { - formModel.thirdDepartment = ''; - } - } - }, - onDeselect: () => { - formModel.secondDepartment = ''; - if (formModel.hasOwnProperty('thirdDepartment')) { - formModel.thirdDepartment = ''; - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - // disabled: secondSelectDisabled, - }; - }, - }, - { - label: '部门', - field: 'thirdDepartment', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getMedicalThirdDeparts, - resultField: 'list', - labelField: 'departName', - params: { - secondDepartId: formModel.secondDepartment, - }, - valueField: 'id', - onFocus: () => { - if (!formModel.secondDepartment) { - return createMessage.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '医院选择', - field: 'hospital', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '姓名', - field: 'userName', - component: 'Input', - }, - { - label: '所属部门', - field: 'department', - component: 'Input', - }, - { - label: '体检医院', - field: 'hospitalName', - component: 'Input', - }, - { - label: '体检总费用', - field: 'totalAmount', - component: 'Input', - componentProps: { - min: 0, - precision: 2, - addonAfter: '元', - style: { - width: '100%', - }, - }, - }, - { - label: '体检日期', - field: 'medicalDate', - component: 'DatePicker', - }, - { - label: '体检状态', - field: 'medicalStatus_dictText', - component: 'Input', - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; -/* - * 弹窗信息 - * */ -// 查看——员工体检详细信息 -export const physicalColumn: JVxeColumn[] = [ - { - title: '体检项编号', - key: 'itemNo', - }, - { - title: '体检项', - key: 'itemName', - }, - { - title: '体检项费用(元)', - key: 'itemCost', - width: '16%', - }, -]; -//流程跟踪——大病信息列表数据 -export const columnsSerious: BasicColumn[] = [ - { - title: '大病分类', - align: 'center', - dataIndex: 'medicalIllType_dictText', - }, - { - title: '大病详情', - align: 'center', - dataIndex: 'recordDesc', - }, - { - title: '操作人', - align: 'center', - dataIndex: 'createBy', - }, - { - title: '操作时间', - align: 'center', - dataIndex: 'createDate', - }, -]; -// 录入跟踪信息列表 -export const flowColumn: BasicColumn[] = [ - { - title: '患者姓名', - align: 'center', - dataIndex: 'userName', - }, - { - title: '操作类型', - align: 'center', - dataIndex: 'handleType_dictText', - }, - { - title: '大病分类', - align: 'center', - dataIndex: 'illType_dictText', - }, - { - title: '大病详情', - align: 'center', - dataIndex: 'recordDesc', - }, - { - title: '操作人', - align: 'center', - dataIndex: 'createBy', - }, - { - title: '操作时间', - align: 'center', - dataIndex: 'createDate', - }, -]; -// 录入跟踪信息列表 -export const flowFormSchema: FormSchema[] = [ - { - label: '操作类型', - field: 'handleType', - component: 'JDictSelectTag', - componentProps: { - options: [ - { - label: '复检', - value: '2', - }, - { - label: '治疗', - value: '3', - }, - { - label: '其他', - value: '4', - }, - ], - getPopupContainer: () => document.body, - }, - required: true, - }, - { - label: '大病分类', - field: 'illType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'ill_type', - getPopupContainer: () => document.body, - }, - required: true, - }, - { - label: '大病详情', - field: 'recordDesc', - component: 'InputTextArea', - required: true, - }, -]; diff --git a/src/views/medical/physicalExamination/illness/IllnessList.vue b/src/views/medical/physicalExamination/illness/IllnessList.vue deleted file mode 100644 index 0ae3839..0000000 --- a/src/views/medical/physicalExamination/illness/IllnessList.vue +++ /dev/null @@ -1,185 +0,0 @@ - - - - - diff --git a/src/views/medical/physicalExamination/illness/components/IllnessModal.vue b/src/views/medical/physicalExamination/illness/components/IllnessModal.vue deleted file mode 100644 index 07837ca..0000000 --- a/src/views/medical/physicalExamination/illness/components/IllnessModal.vue +++ /dev/null @@ -1,79 +0,0 @@ - - - - - diff --git a/src/views/medical/physicalExamination/illness/components/flowPath/FlowPath.vue b/src/views/medical/physicalExamination/illness/components/flowPath/FlowPath.vue deleted file mode 100644 index b11811f..0000000 --- a/src/views/medical/physicalExamination/illness/components/flowPath/FlowPath.vue +++ /dev/null @@ -1,158 +0,0 @@ - - - - - diff --git a/src/views/medical/physicalExamination/illness/components/flowPath/IllnessRecord.vue b/src/views/medical/physicalExamination/illness/components/flowPath/IllnessRecord.vue deleted file mode 100644 index b3334ab..0000000 --- a/src/views/medical/physicalExamination/illness/components/flowPath/IllnessRecord.vue +++ /dev/null @@ -1,136 +0,0 @@ - - - - - diff --git a/src/views/medical/physicalExamination/inspectedPersonnel/InspectedPersonnel.api.ts b/src/views/medical/physicalExamination/inspectedPersonnel/InspectedPersonnel.api.ts deleted file mode 100644 index d567b6c..0000000 --- a/src/views/medical/physicalExamination/inspectedPersonnel/InspectedPersonnel.api.ts +++ /dev/null @@ -1,89 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); -enum Api { - list = '/medical/inspectedPerson/list', - queryById = '/medical/inspectedPerson/viewDetail', - detailStatus = '/medical/inspectedPerson/batchSetStatus', - addDefend = '/medical/inspectPerson/addDefendItem', - delete_Defend = '/medical/inspectPerson/delDefendItem', - add_major = '/medical/userIll/doAddIll', - detail_marjor = '/medical/inspectedPerson/getSickDetail', - import_project = '/medical/inspectedPerson/exportXlsTask', - import_guidance = '/medical/inspectedPerson/exportGuidelinesDoc', - taskRecord = '/sys/common/commonExportsInfo/list', - handleMarriageItem = '/medical/inspectPerson/handleMarriageItem', - handleSynItem = '/medical/inspectPerson/handleSynItem', -} - -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 详情修改状态 - * @param params - */ -export const updateDetailStatus = (params) => defHttp.post({ url: Api.detailStatus, params }); -/** - * 查看详情 - * @param params - */ -export const resData = (params) => defHttp.get({ url: Api.queryById, params }); -/** - * 大病信息详情 - * @param params - */ -export const detailMarjor = (params) => defHttp.get({ url: Api.detail_marjor, params }); -/** - * 录入大病 - * @param params - */ -export const saveMajor = (params) => { - return defHttp.post({ url: Api.add_major, params }); -}; -/* - * 增加防癌项目,清除手动防癌项目 - * */ -export const defendOrDelete = (params, type, handleSuccess) => { - return defHttp.post({ url: type === 3 ? Api.delete_Defend : Api.addDefend, params }).then(() => { - handleSuccess(); - }); -}; - -export const marriageItem = (params, handleSuccess) => { - return defHttp.post({ url: Api.handleMarriageItem, params }).then(() => { - handleSuccess(); - }); -}; -export const synItem = (params, handleSuccess) => { - return defHttp.post({ url: Api.handleSynItem, params }).then(() => { - handleSuccess(); - }); -}; -/* - * 任务启动 - * 1导出项目状态 2导出体检指引单 - * */ -export const taskStart = (type, params) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: type === 1 ? Api.import_project : Api.import_guidance, params }); - }, - }); -}; -/* - * 查看数据导出记录 - * */ -export const getRecord = (params) => { - return defHttp.get({ url: Api.taskRecord, params }); -}; - diff --git a/src/views/medical/physicalExamination/inspectedPersonnel/InspectedPersonnel.data.ts b/src/views/medical/physicalExamination/inspectedPersonnel/InspectedPersonnel.data.ts deleted file mode 100644 index 2d9c5ad..0000000 --- a/src/views/medical/physicalExamination/inspectedPersonnel/InspectedPersonnel.data.ts +++ /dev/null @@ -1,319 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { getPhysicalHospitalsList, getMedicalSecondDeparts, getMedicalThirdDeparts } from '/@/views/system/user/user.api'; -import { useMessage } from '/@/hooks/web/useMessage'; -import moment from 'moment'; -import { useDepartment } from '/@/utils/auth/formAuth'; - -const { createMessage } = useMessage(); -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'realname', - }, - { - title: '单位', - align: 'center', - dataIndex: 'secondDepartment', - }, - { - title: '部门', - align: 'center', - dataIndex: 'thirdDepartment', - }, - { - title: '手机号码', - align: 'center', - dataIndex: 'phone', - }, - { - title: '体检医院', - align: 'center', - dataIndex: 'hospital', - }, - { - title: '体检编码', - align: 'center', - dataIndex: 'peId', - }, - { - title: '员工编号', - align: 'center', - dataIndex: 'workNo', - }, - { - title: '身份证号', - align: 'center', - dataIndex: 'idCard', - width: '500', - }, - { - title: '体检日期', - align: 'center', - dataIndex: 'medicalDate', - }, - { - title: '系统体检状态', - align: 'center', - dataIndex: 'medicalStatus', - customRender: ({ text }) => { - return render.renderDict(text, 'medical_status'); - }, - }, - { - title: '医院体检状态', - align: 'center', - dataIndex: 'hospitalOrderStatus', - customRender: ({ text }) => { - return render.renderDict(text, 'pe_status'); - }, - }, - { - title: '已检项/全部', - align: 'center', - dataIndex: 'medicalProgress', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '员工编号', - field: 'workNo', - component: 'Input', - }, - { - label: '身份证号', - field: 'idCard', - component: 'Input', - }, - { - label: '体检日期', - field: 'medicalDate', - component: 'RangePicker', - componentProps: { - valueType: 'Date', - }, - }, - { - label: '系统体检状态', - field: 'medicalStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'medical_status', - }, - }, - { - label: '医院体检状态', - field: 'hospitalOrderStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'pe_status', - }, - }, - { - label: '单位', - field: 'secondDepartment', - component: 'ApiSelect', - componentProps: ({ formModel, schema }) => { - // const { secondSelectValue, secondSelectDisabled } = useDepartment({ - // schema, - // key: 'id', - // }); - // secondSelectValue(); - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - onChange: (val, option) => { - if (val) { - option.thirdDepart = ''; - if (formModel.hasOwnProperty('thirdDepartment')) { - formModel.thirdDepartment = ''; - } - } - }, - onDeselect: () => { - formModel.secondDepartment = ''; - if (formModel.hasOwnProperty('thirdDepartment')) { - formModel.thirdDepartment = ''; - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - // disabled: secondSelectDisabled, - }; - }, - }, - { - label: '部门', - field: 'thirdDepartment', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getMedicalThirdDeparts, - resultField: 'list', - labelField: 'departName', - params: { - secondDepartId: formModel.secondDepartment, - }, - valueField: 'id', - immediate: true, - onFocus: () => { - if (!formModel.secondDepartment) { - return createMessage.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '医院选择', - field: 'hospital', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - mode: 'year', - picker: 'year', - valueFormat: 'YYYY', - }, - defaultValue: moment(new Date()).format('YYYY'), - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '所属部门', - field: 'department', - component: 'Input', - }, - { - label: '体检医院', - field: 'hospital', - component: 'Input', - }, - { - label: '体检编号', - field: 'mdPeId', - component: 'Input', - }, - { - label: '体检总费用', - field: 'totalAmount', - component: 'Input', - componentProps: { - min: 0, - precision: 2, - addonAfter: '元', - style: { - width: '100%', - }, - }, - }, - { - label: '体检日期', - field: 'medicalDate', - component: 'DatePicker', - }, - { - label: '体检状态', - field: 'medicalStatus_dictText', - component: 'Input', - }, - { - label: '体检表状态', - field: 'selectType_dictText', - component: 'Input', - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; -// 记录日志列表数据 -export const columnsRecord: BasicColumn[] = [ - { - title: '大病分类', - align: 'center', - dataIndex: 'medicalIllType_dictText', - }, - { - title: '大病详情', - align: 'center', - dataIndex: 'recordDesc', - }, - { - title: '操作人', - align: 'center', - dataIndex: 'createBy', - }, -]; -// -export const formSchemaOperate: FormSchema[] = [ - { - label: '操作类型', - field: 'handleType', - component: 'JDictSelectTag', - componentProps: { - options: [ - { - label: '检出大病', - value: '1', - }, - ], - getPopupContainer: () => document.body, - }, - required: true, - }, - { - label: '大病分类', - field: 'medicalIllType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'ill_type', - getPopupContainer: () => document.body, - }, - required: true, - }, - { - label: '大病详情', - field: 'recordDesc', - component: 'InputTextArea', - required: true, - }, -]; diff --git a/src/views/medical/physicalExamination/inspectedPersonnel/InspectedPersonnelList.vue b/src/views/medical/physicalExamination/inspectedPersonnel/InspectedPersonnelList.vue deleted file mode 100644 index e363e24..0000000 --- a/src/views/medical/physicalExamination/inspectedPersonnel/InspectedPersonnelList.vue +++ /dev/null @@ -1,313 +0,0 @@ - - - - - diff --git a/src/views/medical/physicalExamination/inspectedPersonnel/components/InspectedPersonnelModal.vue b/src/views/medical/physicalExamination/inspectedPersonnel/components/InspectedPersonnelModal.vue deleted file mode 100644 index 98197b0..0000000 --- a/src/views/medical/physicalExamination/inspectedPersonnel/components/InspectedPersonnelModal.vue +++ /dev/null @@ -1,291 +0,0 @@ - - - - - diff --git a/src/views/medical/physicalExamination/selectedProject/SelectedProject.api.ts b/src/views/medical/physicalExamination/selectedProject/SelectedProject.api.ts deleted file mode 100644 index 493b416..0000000 --- a/src/views/medical/physicalExamination/selectedProject/SelectedProject.api.ts +++ /dev/null @@ -1,93 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/inspectPerson/list', - deleteOne = '/medical/inspectPerson/delete', - importProject = '/medical/inspectPerson/exportXlsTask', - importRes = '/medical/inspectPerson/exportXlsTask2', - queryById = '/medical/inspectPerson/view', - changeStatus = '/medical/inspectPerson/doInspectStatus', - detailStatus = '/medical/userForm/setStatus', - taskRecord = '/sys/common/commonExportsInfo/list', -} -/** - * 详情修改状态 - * @param params - */ -export const getDetailStatus = (params) => defHttp.post({ url: Api.detailStatus, params }); - -/** - * 导出项目 - * @param params - */ -export const taskStart = (type, params) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: type === 1 ? Api.importProject : Api.importRes, params }); - }, - }); -}; -/** - * 请求详情数据 - * @param params - */ -export const resEditData = (params) => defHttp.get({ url: Api.queryById, params }); - -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 修改体检状态 - * @param params - * @param handleSuccess - */ -export const editStatus = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: `确定置为${params.status === '1' ? '已体检' : '未体检'}吗?`, - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.changeStatus, params }).then(() => { - handleSuccess(); - }); - }, - }); -}; - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; - -/* - * 查看数据导出记录 - * */ -export const getRecord = (params) => { - return defHttp.get({ url: Api.taskRecord, params }); -}; diff --git a/src/views/medical/physicalExamination/selectedProject/SelectedProject.data.ts b/src/views/medical/physicalExamination/selectedProject/SelectedProject.data.ts deleted file mode 100644 index aba895e..0000000 --- a/src/views/medical/physicalExamination/selectedProject/SelectedProject.data.ts +++ /dev/null @@ -1,403 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { getPhysicalHospitalsList, getMedicalSecondDeparts, getMedicalThirdDeparts } from '/@/views/system/user/user.api'; -import { JVxeColumn, JVxeTypes } from '/@/components/jeecg/JVxeTable/types'; -import { useMessage } from '/@/hooks/web/useMessage'; -import moment from 'moment'; -import { usePermission } from '/@/hooks/web/usePermission'; -const { hasPermission } = usePermission(); - -const { createMessage } = useMessage(); -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'realname', - }, - { - title: '单位', - align: 'center', - dataIndex: 'secondDepartment', - }, - { - title: '部门', - align: 'center', - dataIndex: 'thirdDepartment', - }, - { - title: '体检编码', - align: 'center', - dataIndex: 'peId', - }, - { - title: '手机号码', - align: 'center', - dataIndex: 'phone', - }, - { - title: '医院名称', - align: 'center', - dataIndex: 'hospital', - }, - { - title: '员工编号', - align: 'center', - dataIndex: 'workNo', - }, - { - title: '身份证号', - align: 'center', - dataIndex: 'idCard', - width: '500', - }, - - { - title: '体检预约信息', - align: 'center', - dataIndex: 'errorMsg', - }, - { - title: '预约状态', - align: 'center', - dataIndex: 'selectType', - customRender: ({ text }) => { - return render.renderDict(text, 'user_form_status'); - }, - }, - { - title: '预约日期', - align: 'center', - dataIndex: 'orderDate', - }, - { - title: '医院体检状态', - align: 'center', - dataIndex: 'peStatus', - customRender: ({ text }) => { - return render.renderDict(text, 'pe_status'); - }, - }, - { - title: '系统体检状态', - align: 'center', - dataIndex: 'medicalStatus', - customRender: ({ text }) => { - return render.renderDict(text, 'medical_status'); - }, - }, - { - title: '前置机预约状态', - align: 'center', - dataIndex: 'mdOrderStatus', - customRender: ({ text }) => { - return render.renderDict(text, 'md_order_status'); - }, - ifShow: () => { - return hasPermission('userform:md_order_status'); - }, - }, - { - title: '体检日期', - align: 'center', - dataIndex: 'medicalDate', - }, -]; -export const physicalColumn: JVxeColumn[] = [ - { - title: '体检项编号', - key: 'itemNo', - align: 'center', - }, - { - title: '体检项', - key: 'itemName', - align: 'center', - }, - { - title: '体检项费用(元)', - width: 110, - key: 'itemCost', - align: 'center', - formatter: ({ row }) => { - return row.itemCost ? row.itemCost.toFixed(2) : ''; - }, - }, - { - title: '是否已检', - key: 'itemCostStatusName', - align: 'center', - }, - { - title: '检查时间', - key: 'completeDate', - width: '20%', - align: 'center', - formatter: ({ row }) => { - return row.completeDate ? moment(row.completeDate).format('YYYY-MM-DD') : ''; - }, - }, - { - title: '检查医生', - key: 'doctorName', - align: 'center', - }, - { - title: '操作', - key: 'action', - width: '20%', - // 固定在右侧 - fixed: 'right', - align: 'left', - type: JVxeTypes.slot, - slotName: 'action', - }, -]; -export const noColumn: JVxeColumn[] = [ - { - title: '体检项编号', - key: 'itemNo', - align: 'center', - width: '18%', - }, - { - title: '体检项', - key: 'itemName', - align: 'center', - }, - { - title: '体检项费用(元)', - key: 'itemCost', - align: 'center', - formatter: ({ row }) => { - return row.itemCost ? row.itemCost.toFixed(2) : ''; - }, - }, - { - title: '是否已检', - key: 'itemCostStatusName', - align: 'center', - }, - { - title: '检查时间', - key: 'completeDate', - align: 'center', - formatter: ({ row }) => { - return row.completeDate ? moment(row.completeDate).format('YYYY-MM-DD') : ''; - }, - }, - { - title: '检查医生', - key: 'doctorName', - align: 'center', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '员工编号', - field: 'workNo', - component: 'Input', - }, - { - label: '身份证号', - field: 'idCard', - component: 'Input', - }, - { - label: '预约状态', - field: 'selectType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'user_form_status', - }, - }, - { - label: '预约日期', - field: 'orderDate', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD', - }, - }, - { - label: '系统体检状态', - field: 'medicalStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'medical_status', - }, - }, - { - label: '体检日期', - field: 'medicalDate', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD', - }, - }, - { - label: '单位', - field: 'secondDepartment', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - // const { secondSelectValue, secondSelectDisabled } = useDepartment({ - // schema, - // key: 'id', - // }); - // secondSelectValue(); - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - onChange: (val) => { - if (val) { - formModel.thirdDepart = ''; - if (formModel.hasOwnProperty('thirdDepartment')) { - formModel.thirdDepartment = ''; - } - } - }, - onDeselect: () => { - formModel.secondDepartment = ''; - if (formModel.hasOwnProperty('thirdDepartment')) { - formModel.thirdDepartment = ''; - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - // disabled: secondSelectDisabled, - }; - }, - }, - { - label: '部门', - field: 'thirdDepartment', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - // const { thirdSelectValue, thirdSelectDisabled } = useDepartment({ schema, key: 'id' }); - // thirdSelectValue(); - return { - api: getMedicalThirdDeparts, - resultField: 'list', - labelField: 'departName', - params: { - secondDepartId: formModel.secondDepartment, - }, - valueField: 'id', - // immediate: true, - onFocus: () => { - if (!formModel.secondDepartment) { - return createMessage.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - // disabled: thirdSelectDisabled, - }; - }, - }, - { - label: '医院选择', - field: 'hospital', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - mode: 'year', - picker: 'year', - valueFormat: 'YYYY', - }, - defaultValue: moment(new Date()).format('YYYY'), - }, - { - label: '体检编码', - field: 'peId', - component: 'Input', - }, - { - label: '前置机体检状态', - field: 'mdOrderStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'md_order_status', - }, - ifShow: () => { - return hasPermission('userform:md_order_status'); - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '姓名', - field: 'userName', - component: 'Input', - }, - { - label: '部门', - field: 'department', - component: 'Input', - }, - { - label: '体检医院', - field: 'hospitalName', - component: 'Input', - }, - { - label: '体检总费用', - field: 'totalAmount', - component: 'Input', - componentProps: { - min: 0, - precision: 2, - addonAfter: '元', - style: { - width: '100%', - }, - }, - }, - { - label: '体检日期', - field: 'medicalDate', - component: 'DatePicker', - }, - { - label: '系统体检状态', - field: 'medicalStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'medical_status', - }, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/medical/physicalExamination/selectedProject/SelectedProjectList.vue b/src/views/medical/physicalExamination/selectedProject/SelectedProjectList.vue deleted file mode 100644 index 19dfd33..0000000 --- a/src/views/medical/physicalExamination/selectedProject/SelectedProjectList.vue +++ /dev/null @@ -1,183 +0,0 @@ - - - diff --git a/src/views/medical/physicalExamination/selectedProject/components/SelectedProjectModal.vue b/src/views/medical/physicalExamination/selectedProject/components/SelectedProjectModal.vue deleted file mode 100644 index b770a29..0000000 --- a/src/views/medical/physicalExamination/selectedProject/components/SelectedProjectModal.vue +++ /dev/null @@ -1,244 +0,0 @@ - - - - - diff --git a/src/views/medical/plan/Plan.api.ts b/src/views/medical/plan/Plan.api.ts deleted file mode 100644 index bb73c48..0000000 --- a/src/views/medical/plan/Plan.api.ts +++ /dev/null @@ -1,87 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/plan/list', - save = '/medical/plan/add', - edit = '/medical/plan/edit', - deleteOne = '/medical/plan/delete', - deleteBatch = '/cqyt/medical/plan/delete', - importExcel = '/medical/plan/importExcel', - exportXls = '/medical/plan/exportXls', - queryById = '/medical/plan/queryById', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 编辑请求数据 - * @param params - */ -export const resDataEdit = (params) => defHttp.get({ url: Api.queryById, params }); -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/medical/plan/Plan.data.ts b/src/views/medical/plan/Plan.data.ts deleted file mode 100644 index 35d9cb6..0000000 --- a/src/views/medical/plan/Plan.data.ts +++ /dev/null @@ -1,370 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getMedicalSecondDeparts, getPhysicalHospitalsListIgnoreAuth } from '/@/views/system/user/user.api'; -import { useContractHospital } from './components/hooks'; -import { render } from '/@/utils/common/renderUtils'; -import { BODY_CONTAINER } from '/@/utils/domUtils'; -import { DATE_FORMAT } from '/@/utils/dateUtil'; -import moment from 'moment'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createMessage } = useMessage(); -const [checkBoxData, setCheckData] = useContractHospital(); -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '单位', - align: 'center', - dataIndex: 'planDeptName', - }, - { - title: '体检年度', - align: 'center', - dataIndex: 'medicalYear', - }, - { - title: '计划名称', - align: 'center', - dataIndex: 'planTitle', - }, - { - title: '承检医院', - align: 'center', - dataIndex: 'planHospital', - }, - { - title: '签约医院', - align: 'center', - dataIndex: 'contractHospitalName', - }, - { - title: '有效标志', - align: 'center', - dataIndex: 'validStatus_dictText', - slots: {customRender: 'statusTag'}, - width: 80, - }, - { - title: '体检计划日期起', - align: 'center', - dataIndex: 'orderDateStart', - }, - { - title: '体检计划日期止', - align: 'center', - dataIndex: 'orderDateEnd', - }, - { - title: '允许预约日期起', - align: 'center', - dataIndex: 'checkDateStart', - }, - { - title: '允许预约日期止', - align: 'center', - dataIndex: 'checkDateEnd', - }, - // { - // title: '每日计划体检人数', - // align: 'center', - // dataIndex: 'countPerDay', - // }, - - { - title: '创建人', - align: 'center', - dataIndex: 'createBy', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '计划名称', - field: 'planTitle', - component: 'Input', - }, - { - label: '有效标志', - field: 'validStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'valid_status', - }, - }, - { - label: '单位', - field: 'planDeptId', - component: 'ApiSelect', - componentProps: ({ schema }) => { - // const { secondSelectValue, secondSelectDisabled } = useDepartment({ schema, key: 'id' }); - // secondSelectValue(); - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - // disabled: secondSelectDisabled, - }; - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - showTime: false, - valueFormat: 'YYYY', - picker: 'year', - }, - defaultValue: new Date(), - }, -]; -const getYear = (value) => { - return moment(value).format('YYYY'); -}; -const validateIds = async (_rule, value) => { - const flag = Object.keys(value || {}).length || 0; - if (!flag) { - return Promise.reject('请选择承检医院'); - } else { - return Promise.resolve(); - } -}; -const valiDate = async (_rule, value) => { - if (!value) { - return Promise.reject('请选择日期'); - } - if (getYear(value[0]) !== getYear(value[1])) { - return Promise.reject('不能跨年,年度保持一致'); - } else { - return Promise.resolve(); - } -}; -export const formSchema: FormSchema[] = [ - { - label: '单位', - field: 'planDeptId', - component: 'ApiSelect', - componentProps: { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - }, - rules: [{ required: true }], - }, - { - label: '体检年度', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - picker: 'year', - valueFormat: 'YYYY', - disabledDate: (current) => { - return current.endOf('year') < moment().endOf('year'); - }, - }, - dynamicDisabled: ({ values }) => { - return !!values.id; - }, - defaultValue: new Date(), - rules: [{ required: true }], - }, - { - label: '计划名称', - field: 'planTitle', - component: 'Input', - dynamicRules: () => { - return [{ required: true, message: '请输入计划名称!' }]; - }, - rules: [{ required: true }], - }, - { - label: '签约医院List', - field: 'contractHospitalList', - component: 'Input', - show: false, - }, - { - label: '承检医院', - field: 'hospitalIds', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getPhysicalHospitalsListIgnoreAuth, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - mode: 'multiple', - showDefaultValue: false, - getPopupContainer: () => document.body, - immediate: true, - onChange: (value, arg) => { - console.log(formModel.contractHospitalId); - // @ts-ignore - setCheckData(value); - formModel.hospitalIds = value.join(','); - }, - onSelectOption: (v) => { - console.log(formModel.contractHospitalId); - formModel.contractHospitalList = JSON.stringify(v.length > 0 ? v[0] : []); - const ids: any[] = []; - !!formModel.contractHospitalList && - JSON.parse(formModel.contractHospitalList).map((item) => { - if ( - !!formModel.contractHospitalId && - formModel.contractHospitalId.length > 0 && - formModel.contractHospitalId.includes(item.value) - ) { - ids.push(item.value); - } - }); - formModel.contractHospitalId = ids; - }, - }; - }, - //message: '请选择承检医院', - rules: [{ required: true, validator: validateIds, trigger: 'blur' }], - }, - { - label: '签约医院', - field: 'contractHospitalId', - component: 'CheckboxGroup', - componentProps: ({ formModel }) => { - return { - options: formModel.contractHospitalList ? JSON.parse(formModel.contractHospitalList) : [], - // onChange: (option) => { - // formModel.contractHospitalId = option.join(','); - // }, - }; - }, - }, - { - label: '体检计划日期', - field: 'orderDate', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - getPopupContainer: () => BODY_CONTAINER, - valueFormat: DATE_FORMAT, - onChange: ([start, end]) => { - formModel.orderDateStart = start; - formModel.orderDateEnd = end; - }, - }; - }, - rules: [{ required: true }], - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: (_, value) => { - if (model.hasOwnProperty('medicalYear')) { - if (model.medicalYear !== getYear(model.orderDateStart) && model.medicalYear !== getYear(model.orderDateEnd)) { - return Promise.reject('不能跨年,与体检年度保持一致'); - } else { - return Promise.resolve(); - } - } - }, - trigger: 'change', - }, - { - required: true, - validator: valiDate, - trigger: 'change', - }, - ]; - }, - }, - { - label: '', - field: 'orderDateStart', - component: 'Input', - show: false, - }, - { - label: '', - field: 'orderDateEnd', - component: 'Input', - show: false, - }, - { - label: '允许预约日期', - field: 'checkDate', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - getPopupContainer: () => BODY_CONTAINER, - valueFormat: DATE_FORMAT, - onChange: ([start, end]) => { - formModel.checkDateStart = start; - formModel.checkDateEnd = end; - }, - }; - }, - rules: [{ required: true }], - dynamicRules: ({ model }) => { - return [ - { - required: true, - validator: (_, value) => { - if (model.hasOwnProperty('medicalYear')) { - if (model.medicalYear !== getYear(model.checkDateStart) && model.medicalYear !== getYear(model.checkDateEnd)) { - return Promise.reject('不能跨年,与体检年度保持一致'); - } else { - return Promise.resolve(); - } - } - }, - trigger: 'change', - }, - { - required: true, - validator: valiDate, - trigger: 'change', - }, - ]; - }, - }, - { - label: '', - field: 'checkDateStart', - component: 'Input', - show: false, - }, - { - label: '', - field: 'checkDateEnd', - component: 'Input', - show: false, - }, - { - label: '有效标志', - field: 'validStatus', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'valid_status', - type: 'radio', - }, - defaultValue: '1', - rules: [{ required: true }], - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param _formData - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/plan/PlanList.vue b/src/views/medical/plan/PlanList.vue deleted file mode 100644 index e7abd18..0000000 --- a/src/views/medical/plan/PlanList.vue +++ /dev/null @@ -1,169 +0,0 @@ - - - diff --git a/src/views/medical/plan/components/PlanForm.vue b/src/views/medical/plan/components/PlanForm.vue deleted file mode 100644 index a357a60..0000000 --- a/src/views/medical/plan/components/PlanForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/medical/plan/components/PlanModal.vue b/src/views/medical/plan/components/PlanModal.vue deleted file mode 100644 index 0acf45a..0000000 --- a/src/views/medical/plan/components/PlanModal.vue +++ /dev/null @@ -1,133 +0,0 @@ - - - - - diff --git a/src/views/medical/plan/components/hooks.ts b/src/views/medical/plan/components/hooks.ts deleted file mode 100644 index a10a108..0000000 --- a/src/views/medical/plan/components/hooks.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { ref } from 'vue'; -import { getPhysicalHospitalsList } from '/@/views/system/user/user.api'; - -const checkBoxData = ref({ - data: [], - checkData: [], -}); - -export function useContractHospital() { - function dealRes(res, ids) { - const result = []; - res && - res.map((item) => { - ids.map((id) => { - if (item.hospitalId == id) { - // @ts-ignore - result.push({ label: item.hospitalName, value: item.hospitalId }); - } - }); - }); - return result; - } - - function setCheckData(ids) { - if (!checkBoxData.value.checkData.length) { - getPhysicalHospitalsList().then((res) => { - checkBoxData.value.data = res; - checkBoxData.value.checkData = dealRes(res, ids); - }); - } else { - checkBoxData.value.checkData = dealRes(checkBoxData.value.data, ids); - } - } - - function clearCheckBoxData() { - checkBoxData.value.checkData = []; - } - return [checkBoxData, setCheckData, clearCheckBoxData]; -} diff --git a/src/views/medical/report/reportUpload/ReportUpload.api.ts b/src/views/medical/report/reportUpload/ReportUpload.api.ts deleted file mode 100644 index 7d6c6bd..0000000 --- a/src/views/medical/report/reportUpload/ReportUpload.api.ts +++ /dev/null @@ -1,29 +0,0 @@ -import {defHttp} from '/@/utils/http/axios'; - - -enum Api { - list = '/medical/hmCheckitem/list', - importExcel = '/medical/hmCheckitem/importExcel', - queryById = '/medical/hmCheckitem/queryById', -} -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => { - console.log(params); - if (params.name !== undefined) { - params.name = '*' + params.name + '*'; - } - return defHttp.get({ url: Api.list, params }); -}; - -/** - * 查看 - * @param params - */ -export const resEditData = (params) => defHttp.get({ url: Api.queryById, params }); diff --git a/src/views/medical/report/reportUpload/ReportUpload.data.ts b/src/views/medical/report/reportUpload/ReportUpload.data.ts deleted file mode 100644 index 7e4b949..0000000 --- a/src/views/medical/report/reportUpload/ReportUpload.data.ts +++ /dev/null @@ -1,154 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'name', - }, - { - title: '身份证号', - align: 'center', - dataIndex: 'sfzh', - width: '500', - }, - { - title: '单位', - align: 'center', - dataIndex: 'dw', - }, - { - title: '体检日期', - align: 'center', - dataIndex: 'tjrq', - }, - { - title: '体检医院', - align: 'center', - dataIndex: 'yymc', - }, - { - title: '体检项目', - align: 'center', - dataIndex: 'xmmc', - }, - { - title: '项目值', - align: 'center', - dataIndex: 'xmz', - }, - { - title: '项目单位', - align: 'center', - dataIndex: 'xmdw', - }, - { - title: '项目参考值', - align: 'center', - dataIndex: 'xmckz', - }, - { - title: '导入日期', - align: 'center', - dataIndex: 'insertdate', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'name', - component: 'Input', - }, - { - label: '身份证号', - field: 'sfzh', - component: 'Input', - }, - { - label: '体检日期', - field: 'tjrq', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD', - }, - }, - { - label: '导入日期', - field: 'insertdate', - component: 'RangePicker', - componentProps: { - valueType: 'Date', - valueFormat: 'YYYY-MM-DD', - }, - colProps: { - span: 8, - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '姓名', - field: 'name', - component: 'Input', - }, - { - label: '身份证号', - field: 'sfzh', - component: 'Input', - }, - { - label: '单位', - field: 'dw', - component: 'Input', - }, - { - label: '体检日期', - field: 'tjrq', - component: 'DatePicker', - }, - { - label: '体检医院', - field: 'yymc', - component: 'Input', - }, - { - label: '体检项目', - field: 'xmmc', - component: 'Input', - }, - { - label: '项目参考值', - field: 'xmckz', - component: 'Input', - }, - { - label: '项目单位', - field: 'xmdw', - component: 'Input', - }, - { - label: '项目值', - field: 'yymc', - component: 'Input', - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/report/reportUpload/ReportUploadList.vue b/src/views/medical/report/reportUpload/ReportUploadList.vue deleted file mode 100644 index daa7a98..0000000 --- a/src/views/medical/report/reportUpload/ReportUploadList.vue +++ /dev/null @@ -1,116 +0,0 @@ - - - - - diff --git a/src/views/medical/report/reportUpload/components/ReportUploadForm.vue b/src/views/medical/report/reportUpload/components/ReportUploadForm.vue deleted file mode 100644 index 7d0d623..0000000 --- a/src/views/medical/report/reportUpload/components/ReportUploadForm.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - diff --git a/src/views/medical/report/reportUpload/components/ReportUploadModal.vue b/src/views/medical/report/reportUpload/components/ReportUploadModal.vue deleted file mode 100644 index 9f36134..0000000 --- a/src/views/medical/report/reportUpload/components/ReportUploadModal.vue +++ /dev/null @@ -1,50 +0,0 @@ - - - - - diff --git a/src/views/medical/report/userResult/UserResult.api.ts b/src/views/medical/report/userResult/UserResult.api.ts deleted file mode 100644 index 299ae77..0000000 --- a/src/views/medical/report/userResult/UserResult.api.ts +++ /dev/null @@ -1,135 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -import {getFileAccessHttpUrl, downFile} from "/@/utils/common/compUtils"; -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/userResult/list', - save = '/medical/hospitalMiddle/supplementMedicalReport', - updateReport = '/medical/hospitalMiddle/cleanDataAndgetResultByIdcardAndYear', - preventionResults = '/medical/userDefendCancerResult/dealCancerPreventionResultsByYear', - task = '/medical/userResult/exportXls', - viewReport = '/health-archives/historyReport/selectHealthReportResult', - // viewReport = '/medical/userResult/getMedicalReport', - taskRecord = '/sys/common/commonExportsInfo/list', - downloadRecord = '/health-archives/historyReport/downloadReport', - taskDetail = '/medical/userResult/exportXlsDetail', - importExcel = '/medical/recordModel/importExcel', - noticeToImcFront = '/medical/userResult/passToImcFront', - imgItemList = '/medical/userResult/getImgItemList', -} - -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; - -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); -/** - * 列表接口 - * @param params - */ -export const preventionRes = (params) => defHttp.post({ url: Api.preventionResults, params }); - -export const passToImcFront = (params) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: '是否获取选中信息的影像报告?', - okText: '是', - cancelText: '否', - onOk: () => { - return defHttp.post({ url: Api.noticeToImcFront, params }); - }, - }); -}; - -/** - * 更新体检报告数据 - * @param params - */ -export const getUpdateReport = (params) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: '确定清理体检报告重新获取吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.updateReport, params }); - }, - }); -}; -/** - * 体检报告补录 - * @param params - */ -export const saveReport = (params) => { - return defHttp.post({ url: Api.save, params }); -}; -/* - * 启动导出任务 - * */ -export const launchTask = (params) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: Api.task, params }); - }, - }); -}; -/* - * 启动导出任务(报告详细) - * */ -export const launchTaskDetail = (params) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: '确定启动导出任务吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.taskDetail, params }); - }, - }); -}; -/* - * 查看报告 - * */ -export const viewReport = (params) => defHttp.get({ url: Api.viewReport, params }); - -export const downReport = (params) => { - createConfirm({ - iconType: 'warning', - title: '提示', - content: '确定下载体检报告PDF吗?', - okText: '确认', - cancelText: '取消', - onOk: () => { - let url = downFile(Api.downloadRecord + "?id=" + params.id); - if (url) { - window.open(url); - } - // return defHttp.get({ url: Api.downloadRecord, params }); - }, - }); -}; -/* - * 查看导出记录 - * */ -export const getTaskRecord = (params) => { - return defHttp.get({ url: Api.taskRecord, params }); -}; - -/* - * 查看影像 - * */ -export const getImgItemList = (params) => defHttp.get({ url: Api.imgItemList, params }); diff --git a/src/views/medical/report/userResult/UserResult.data.ts b/src/views/medical/report/userResult/UserResult.data.ts deleted file mode 100644 index 0f37449..0000000 --- a/src/views/medical/report/userResult/UserResult.data.ts +++ /dev/null @@ -1,290 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { getPhysicalHospitalsList, getMedicalSecondDeparts, getMedicalThirdDeparts } from '/@/views/system/user/user.api'; -import moment from 'moment'; -import { message } from 'ant-design-vue'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '姓名', - align: 'center', - dataIndex: 'userName', - }, - { - title: '员工编号', - align: 'center', - dataIndex: 'empSysno', - }, - { - title: '身份证号', - align: 'center', - dataIndex: 'empIdcard', - width: '500', - }, - { - title: '单位', - align: 'center', - dataIndex: 'secondDepart', - }, - { - title: '所属部门', - align: 'center', - dataIndex: 'thirdDepart', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - customRender: ({ text }) => { - return render.renderDict(text, 'sex2'); - }, - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, - { - title: '体检医院', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '体检编码', - align: 'center', - dataIndex: 'peId', - }, - { - title: '体检年度', - align: 'center', - dataIndex: 'medicalYear', - }, - { - title: '终审日期', - align: 'center', - dataIndex: 'auditDate', - }, - { - title: '更新时间', - align: 'center', - dataIndex: 'createDate', - }, - { - title: '是否已读', - align: 'center', - dataIndex: 'readFlag', - customRender: ({ text }) => { - return render.renderDict(text, 'sf_10'); - }, - }, - { - title: '已读时间', - align: 'center', - dataIndex: 'readTime', - }, -]; - -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'userName', - component: 'Input', - }, - { - label: '员工编号', - field: 'empSysno', - component: 'Input', - }, - { - label: '身份证号', - field: 'empIdcard', - component: 'Input', - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sex2', - }, - }, - { - label: '年龄', - field: 'age', - component: 'Input', - }, - { - label: '体检医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, - { - label: '单位', - field: 'secondDepartId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - // console.log(schema,'schema'); - // const { secondSelectValue, secondSelectDisabled } = useDepartment({ schema, key: 'id' }); - // secondSelectValue(); - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - onChange: (val) => { - if (val) { - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - } - }, - onDeselect: () => { - formModel.thirdDepartId = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - // disabled: secondSelectDisabled, - }; - }, - }, - { - label: '部门', - field: 'thirdDepartId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getMedicalThirdDeparts, - resultField: 'list', - labelField: 'departName', - params: { - secondDepartId: formModel?.secondDepartId || '', - }, - valueField: 'id', - onFocus: () => { - if (!formModel.secondDepartId) { - return message.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - mode: 'year', - picker: 'year', - valueFormat: 'YYYY', - }, - defaultValue: moment(new Date()).format('YYYY'), - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '承检医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: true, - }, - }, - { - label: '身份证号', - field: 'idNo', - component: 'Input', - rules: [ - { - // required: true, - pattern: /^\d{6}(18|19|20)?\d{2}(0[1-9]|1[012])(0[1-9]|[12]\d|3[01])\d{3}(\d|[xX])$/, - message: '${label}格式有误', - }, - ], - }, - { - label: '体检编号', - field: 'peId', - component: 'Input', - rules: [ - { - // required: true, - message: '${label}格式有误', - }, - ], - }, - { - label: '体检年份', - field: 'year', - component: 'DatePicker', - // required: true, - componentProps: { - mode: 'year', - picker: 'year', - valueFormat: 'YYYY', - }, - defaultValue: moment(new Date()).format('YYYY'), - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -export const preventionFormSchema: FormSchema[] = [ - { - label: '体检年份', - field: 'year', - component: 'DatePicker', - required: true, - componentProps: { - mode: 'year', - picker: 'year', - valueFormat: 'YYYY', - }, - defaultValue: moment(new Date()).format('YYYY'), - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/report/userResult/UserResultList.vue b/src/views/medical/report/userResult/UserResultList.vue deleted file mode 100644 index d6a6739..0000000 --- a/src/views/medical/report/userResult/UserResultList.vue +++ /dev/null @@ -1,276 +0,0 @@ - - - diff --git a/src/views/medical/report/userResult/components/UserImgItemList.vue b/src/views/medical/report/userResult/components/UserImgItemList.vue deleted file mode 100644 index 0fdc497..0000000 --- a/src/views/medical/report/userResult/components/UserImgItemList.vue +++ /dev/null @@ -1,82 +0,0 @@ - - - - - diff --git a/src/views/medical/report/userResult/components/UserPreventionModal.vue b/src/views/medical/report/userResult/components/UserPreventionModal.vue deleted file mode 100644 index 1b6517e..0000000 --- a/src/views/medical/report/userResult/components/UserPreventionModal.vue +++ /dev/null @@ -1,46 +0,0 @@ - - - diff --git a/src/views/medical/report/userResult/components/UserResultForm.vue b/src/views/medical/report/userResult/components/UserResultForm.vue deleted file mode 100644 index 7ecb384..0000000 --- a/src/views/medical/report/userResult/components/UserResultForm.vue +++ /dev/null @@ -1,42 +0,0 @@ - - - diff --git a/src/views/medical/report/userResult/components/UserResultModal.vue b/src/views/medical/report/userResult/components/UserResultModal.vue deleted file mode 100644 index a0c1b83..0000000 --- a/src/views/medical/report/userResult/components/UserResultModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - diff --git a/src/views/medical/situation/bigScreen/bigScreen.vue b/src/views/medical/situation/bigScreen/bigScreen.vue deleted file mode 100644 index 712391c..0000000 --- a/src/views/medical/situation/bigScreen/bigScreen.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - - diff --git a/src/views/medical/situation/hospitalPhysical/HospitalPhysical.api.ts b/src/views/medical/situation/hospitalPhysical/HospitalPhysical.api.ts deleted file mode 100644 index e80da9c..0000000 --- a/src/views/medical/situation/hospitalPhysical/HospitalPhysical.api.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/medical/realtimeStatsController/minidaoDatagridHospitalGroup', -} - -/** - * 列表接口 - * @param params - */ -export const list = (params) => { - params.hospitalType = '1'; // 医院类型 - return defHttp.get({ url: Api.list, params }); -}; diff --git a/src/views/medical/situation/hospitalPhysical/HospitalPhysical.data.ts b/src/views/medical/situation/hospitalPhysical/HospitalPhysical.data.ts deleted file mode 100644 index dfc60d5..0000000 --- a/src/views/medical/situation/hospitalPhysical/HospitalPhysical.data.ts +++ /dev/null @@ -1,81 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import moment from 'moment'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '医院名称', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '已选项目人数', - align: 'center', - dataIndex: 'selectCount', - }, - { - title: '已预约情况人数', - children: [ - { - title: '已预约人数', - align: 'center', - dataIndex: 'orderCount', - }, - { - title: '已参检人数', - align: 'center', - dataIndex: 'checkCount', - }, - { - title: '未参检人数', - align: 'center', - dataIndex: 'unCheckCount', - }, - ], - }, - { - title: '未预约人数', - align: 'center', - dataIndex: 'unOrderCount', - }, - { - title: '体检年份', - align: 'center', - dataIndex: 'medicalYear', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY', - picker: 'year', - }, - defaultValue: moment(new Date()).format('YYYY'), - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/situation/hospitalPhysical/HospitalPhysicalList.vue b/src/views/medical/situation/hospitalPhysical/HospitalPhysicalList.vue deleted file mode 100644 index 79c1c95..0000000 --- a/src/views/medical/situation/hospitalPhysical/HospitalPhysicalList.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - - - diff --git a/src/views/medical/situation/projectRealTwo/ProjectRealTwo.api.ts b/src/views/medical/situation/projectRealTwo/ProjectRealTwo.api.ts deleted file mode 100644 index 0ab09a2..0000000 --- a/src/views/medical/situation/projectRealTwo/ProjectRealTwo.api.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - list = '/medical/realtimeStatsController/minidaoDatagridSecondDepart', -} -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); diff --git a/src/views/medical/situation/projectRealTwo/ProjectRealTwo.data.ts b/src/views/medical/situation/projectRealTwo/ProjectRealTwo.data.ts deleted file mode 100644 index fed4183..0000000 --- a/src/views/medical/situation/projectRealTwo/ProjectRealTwo.data.ts +++ /dev/null @@ -1,132 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { getPhysicalHospitalsList, getMedicalSecondDeparts } from '/@/views/system/user/user.api'; -import moment from 'moment'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '医院名称', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '单位', - align: 'center', - dataIndex: 'departname', - }, - { - title: '体检项目名称', - align: 'center', - dataIndex: 'itemName', - }, - { - title: '已选人数', - align: 'center', - dataIndex: 'count', - }, - { - title: '已选总费用(元)', - align: 'center', - dataIndex: 'sumItemCost', - }, - { - title: '已参检人数', - align: 'center', - dataIndex: 'completeCount', - }, - { - title: '已检总费用', - align: 'center', - dataIndex: 'sumCompleteCost', - }, - { - title: '体检年份', - align: 'center', - dataIndex: 'medicalYear', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '年龄范围', - field: 'ageArea', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'agearea', - }, - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'sex2', - }, - }, - { - label: '单位', - field: 'secondDepartId', - component: 'ApiSelect', - componentProps: ({ schema }) => { - // const { secondSelectValue, secondSelectDisabled } = useDepartment({ schema, key: 'id' }); - // secondSelectValue(); - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - // disabled: secondSelectDisabled, - }; - }, - }, - { - label: '医院选择', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, - { - label: '体检项目', - field: 'itemName', - component: 'Input', - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY', - picker: 'year', - }, - defaultValue: moment(new Date()).format('YYYY'), - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/situation/projectRealTwo/ProjectRealTwoList.vue b/src/views/medical/situation/projectRealTwo/ProjectRealTwoList.vue deleted file mode 100644 index c32cee9..0000000 --- a/src/views/medical/situation/projectRealTwo/ProjectRealTwoList.vue +++ /dev/null @@ -1,89 +0,0 @@ - - - - - diff --git a/src/views/medical/situation/realHospital/RealHospital.api.ts b/src/views/medical/situation/realHospital/RealHospital.api.ts deleted file mode 100644 index 0f87ad6..0000000 --- a/src/views/medical/situation/realHospital/RealHospital.api.ts +++ /dev/null @@ -1,82 +0,0 @@ -import {defHttp} from '/@/utils/http/axios'; -import {useMessage} from "/@/hooks/web/useMessage"; - -const {createConfirm} = useMessage(); - -enum Api { - list = '/medical/realtimeStatsController/minidaoDatagridHospital', - listsum = '/medical/realtimeStatsController/minidaoDatagridHospitalSum', - save = '/medical/plan/add', - edit = '/medical/plan/edit', - deleteOne = '/medical/plan/delete', - deleteBatch = '/medical/plan/deleteBatch', - importExcel = '/medical/plan/importExcel', - // exportXls = '/medical/plan/exportXls', - exportXls = '/cqyt/medical/realtimeStatsController/exportXlsHospital', - commonExportsInfo = '/sys/common/commonExportsInfo/list', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => - defHttp.get({url: Api.list, params}); - -export const listsum = (params) => - defHttp.get({url: Api.listsum, params}); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); -} -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ - url: Api.deleteBatch, - data: params - }, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); - } - }); -} -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({url: url, params}); -} - -export const exportXlsApi = (params) => { - return defHttp.get({url: Api.exportXls, params}); -}; - -export const commonExportsInfoApi = (params) => { - return defHttp.get({url: Api.commonExportsInfo, params}); -}; diff --git a/src/views/medical/situation/realHospital/RealHospital.data.ts b/src/views/medical/situation/realHospital/RealHospital.data.ts deleted file mode 100644 index a615398..0000000 --- a/src/views/medical/situation/realHospital/RealHospital.data.ts +++ /dev/null @@ -1,106 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { - getPhysicalHospitalsList, - getMedicalSecondDeparts -} from "/@/views/system/user/user.api"; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '医院名称', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '二级部门', - align: 'center', - dataIndex: 'secondDepart', - }, - { - title: '已选项目人数', - align: 'center', - dataIndex: 'count2', - }, - { - title: '已预约人数', - align: 'center', - dataIndex: 'orderCount', - }, - { - title: '已参检人数', - align: 'center', - dataIndex: 'count3', - }, - { - title: '未检人数', - align: 'center', - dataIndex: 'count4', - }, - { - title: '大病人数', - align: 'center', - dataIndex: 'illCount', - }, - { - title: '体检年份', - align: 'center', - dataIndex: 'medicalYear', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '医院选择', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, - { - label: '二级部门', - field: 'secondDepartId', - component: 'ApiSelect', - componentProps: { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: false, - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'MonthPicker', - componentProps: { - valueFormat: 'YYYY', - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/situation/realHospital/RealHospitalList.vue b/src/views/medical/situation/realHospital/RealHospitalList.vue deleted file mode 100644 index 006cec2..0000000 --- a/src/views/medical/situation/realHospital/RealHospitalList.vue +++ /dev/null @@ -1,302 +0,0 @@ - - - - - diff --git a/src/views/medical/situation/realHospital/components/HospitalModal.vue b/src/views/medical/situation/realHospital/components/HospitalModal.vue deleted file mode 100644 index f7774d8..0000000 --- a/src/views/medical/situation/realHospital/components/HospitalModal.vue +++ /dev/null @@ -1,200 +0,0 @@ - - - diff --git a/src/views/medical/situation/realHospital/components/RealHospitalForm.vue b/src/views/medical/situation/realHospital/components/RealHospitalForm.vue deleted file mode 100644 index 56ad8d4..0000000 --- a/src/views/medical/situation/realHospital/components/RealHospitalForm.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - diff --git a/src/views/medical/situation/realHospital/components/RealHospitalModal.vue b/src/views/medical/situation/realHospital/components/RealHospitalModal.vue deleted file mode 100644 index 295e132..0000000 --- a/src/views/medical/situation/realHospital/components/RealHospitalModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - diff --git a/src/views/medical/situation/realThree/RealThree.api.ts b/src/views/medical/situation/realThree/RealThree.api.ts deleted file mode 100644 index 8025c95..0000000 --- a/src/views/medical/situation/realThree/RealThree.api.ts +++ /dev/null @@ -1,94 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/realtimeStatsController/minidaoDatagrid', - listsum = '/medical/realtimeStatsController/minidaoDatagridSum', - save = '/medical/plan/add', - edit = '/medical/plan/edit', - deleteOne = '/medical/plan/delete', - deleteBatch = '/medical/plan/deleteBatch', - importExcel = '/medical/plan/importExcel', - // exportXls = '/medical/plan/exportXls', - classifiedDatagrid = '/cqyt/medical/realtimeStatsController/classifiedDatagrid', - empDatagrid = '/cqyt/medical/realtimeStatsController/empDatagrid', - exportXls = '/cqyt/medical/realtimeStatsController/exportXls', - commonExportsInfo = '/sys/common/commonExportsInfo/list', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); -export const listsum = (params) => defHttp.get({ url: Api.listsum, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -export const empDatagridApi = (params) => { - return defHttp.get({ url: Api.empDatagrid, params }); -}; - -export const classifiedDatagrid = (params) => { - return defHttp.get({ url: Api.classifiedDatagrid, params }); -}; - -export const exportXlsApi = (params) => { - return defHttp.get({ url: Api.exportXls, params }); -}; - -export const commonExportsInfoApi = (params) => { - return defHttp.get({ url: Api.commonExportsInfo, params }); -}; diff --git a/src/views/medical/situation/realThree/RealThree.data.ts b/src/views/medical/situation/realThree/RealThree.data.ts deleted file mode 100644 index 193aacf..0000000 --- a/src/views/medical/situation/realThree/RealThree.data.ts +++ /dev/null @@ -1,130 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { getMedicalSecondDeparts, getMedicalThirdDeparts } from "/@/views/system/user/user.api"; -import { useMessage } from "/@/hooks/web/useMessage"; -const { createMessage } = useMessage(); -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '单位', - align: 'center', - dataIndex: 'secondDepart', - }, - { - title: '应检人数', - align: 'center', - dataIndex: 'count', - }, - { - title: '已选项目人数', - align: 'center', - dataIndex: 'count2', - }, - { - title: '已预约人数', - align: 'center', - dataIndex: 'orderCount', - }, - { - title: '已参检人数', - align: 'center', - dataIndex: 'count3', - }, - { - title: '未检人数', - align: 'center', - dataIndex: 'count4', - }, - { - title: '大病人数', - align: 'center', - dataIndex: 'illCount', - }, - { - title: '体检年份', - align: 'center', - dataIndex: 'medicalYear', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '单位', - field: 'secondDepartId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - onChange: (val, option) => { - if (val) { - option.thirdDepart = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - } - }, - onDeselect: () => { - formModel.secondDepartId = ''; - if (formModel.hasOwnProperty('thirdDepartId')) { - formModel.thirdDepartId = ''; - } - }, - }; - }, - }, - { - label: '部门', - field: 'thirdDepartId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getMedicalThirdDeparts, - resultField: 'list', - labelField: 'departName', - params: { - secondDepartId: formModel?.secondDepartId || 'asd(*', - }, - valueField: 'id', - onFocus: () => { - if (!formModel.secondDepartId) { - return createMessage.warn('请先选择单位!'); - } - }, - }; - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY', - picker: 'year', - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/situation/realThree/RealThreeList.vue b/src/views/medical/situation/realThree/RealThreeList.vue deleted file mode 100644 index 37ada4f..0000000 --- a/src/views/medical/situation/realThree/RealThreeList.vue +++ /dev/null @@ -1,342 +0,0 @@ - - - - - diff --git a/src/views/medical/situation/realThree/components/RealThreeForm.vue b/src/views/medical/situation/realThree/components/RealThreeForm.vue deleted file mode 100644 index 5ce5ea1..0000000 --- a/src/views/medical/situation/realThree/components/RealThreeForm.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - diff --git a/src/views/medical/situation/realThree/components/RealThreeModal.vue b/src/views/medical/situation/realThree/components/RealThreeModal.vue deleted file mode 100644 index daf3447..0000000 --- a/src/views/medical/situation/realThree/components/RealThreeModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - diff --git a/src/views/medical/situation/realThree/components/ThreeModal.vue b/src/views/medical/situation/realThree/components/ThreeModal.vue deleted file mode 100644 index 11cae0f..0000000 --- a/src/views/medical/situation/realThree/components/ThreeModal.vue +++ /dev/null @@ -1,196 +0,0 @@ - - - diff --git a/src/views/medical/situation/realTwo/RealTwo.api.ts b/src/views/medical/situation/realTwo/RealTwo.api.ts deleted file mode 100644 index 0fb1cec..0000000 --- a/src/views/medical/situation/realTwo/RealTwo.api.ts +++ /dev/null @@ -1,82 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/realtimeStatsController/minidaoDatagridTwo', - save = '/medical/plan/add', - edit = '/medical/plan/edit', - deleteOne = '/medical/plan/delete', - deleteBatch = '/medical/plan/deleteBatch', - importExcel = '/medical/plan/importExcel', - // exportXls = '/medical/plan/exportXls', - exportXls = '/cqyt/medical/realtimeStatsController/exportXlsTwo', - commonExportsInfo = '/sys/common/commonExportsInfo/list', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -export const exportXlsApi = (params) => { - return defHttp.get({ url: Api.exportXls, params }); -}; - -export const commonExportsInfoApi = (params) => { - return defHttp.get({ url: Api.commonExportsInfo, params }); -}; diff --git a/src/views/medical/situation/realTwo/RealTwo.data.ts b/src/views/medical/situation/realTwo/RealTwo.data.ts deleted file mode 100644 index 37ac953..0000000 --- a/src/views/medical/situation/realTwo/RealTwo.data.ts +++ /dev/null @@ -1,91 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { getMedicalSecondDeparts } from "/@/views/system/user/user.api"; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '二级部门', - align: 'center', - dataIndex: 'secondDepart', - }, - { - title: '应检人数', - align: 'center', - dataIndex: 'count', - }, - { - title: '已选项目人数', - align: 'center', - dataIndex: 'count2', - }, - { - title: '已预约人数', - align: 'center', - dataIndex: 'orderCount', - }, - { - title: '已参检人数', - align: 'center', - dataIndex: 'count3', - }, - { - title: '未检人数', - align: 'center', - dataIndex: 'count4', - }, - { - title: '大病人数', - align: 'center', - dataIndex: 'illCount', - }, - { - title: '体检年份', - align: 'center', - dataIndex: 'medicalYear', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '二级部门', - field: 'secondDepartId', - component: 'ApiSelect', - componentProps: { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: false, - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'MonthPicker', - componentProps: { - valueFormat: 'YYYY', - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/situation/realTwo/RealTwoList.vue b/src/views/medical/situation/realTwo/RealTwoList.vue deleted file mode 100644 index 42360f2..0000000 --- a/src/views/medical/situation/realTwo/RealTwoList.vue +++ /dev/null @@ -1,266 +0,0 @@ - - - - - diff --git a/src/views/medical/situation/realTwo/components/RealTwoForm.vue b/src/views/medical/situation/realTwo/components/RealTwoForm.vue deleted file mode 100644 index ad54083..0000000 --- a/src/views/medical/situation/realTwo/components/RealTwoForm.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - diff --git a/src/views/medical/situation/realTwo/components/RealTwoModal.vue b/src/views/medical/situation/realTwo/components/RealTwoModal.vue deleted file mode 100644 index d8d2f56..0000000 --- a/src/views/medical/situation/realTwo/components/RealTwoModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - diff --git a/src/views/medical/situation/realTwo/components/TwoModal.vue b/src/views/medical/situation/realTwo/components/TwoModal.vue deleted file mode 100644 index 7899d29..0000000 --- a/src/views/medical/situation/realTwo/components/TwoModal.vue +++ /dev/null @@ -1,197 +0,0 @@ - - - diff --git a/src/views/medical/situation/secondaryPhysical/SecondaryPhysical.api.ts b/src/views/medical/situation/secondaryPhysical/SecondaryPhysical.api.ts deleted file mode 100644 index 4f3373f..0000000 --- a/src/views/medical/situation/secondaryPhysical/SecondaryPhysical.api.ts +++ /dev/null @@ -1,71 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/realtimeStatsController/minidaoDatagridHospitalGroupDept', - save = '/medical/plan/add', - edit = '/medical/plan/edit', - deleteOne = '/medical/plan/delete', - deleteBatch = '/medical/plan/deleteBatch', - importExcel = '/medical/plan/importExcel', - exportXls = '/medical/plan/exportXls', - hospitalDetail = '/medical/realtimeStatsController/minidaoDatagridHospitalGroupDeptHos', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => { - params.hospitalType = '1'; // 医院类型 - return defHttp.get({ url: Api.list, params }); -}; - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -export const hospitalDetailApi = (params) => { - return defHttp.get({ url: Api.hospitalDetail, params }); -}; diff --git a/src/views/medical/situation/secondaryPhysical/SecondaryPhysical.data.ts b/src/views/medical/situation/secondaryPhysical/SecondaryPhysical.data.ts deleted file mode 100644 index 8b743ae..0000000 --- a/src/views/medical/situation/secondaryPhysical/SecondaryPhysical.data.ts +++ /dev/null @@ -1,229 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { - getPhysicalHospitalsList, - getMedicalSecondDeparts -} from "/@/views/system/user/user.api"; -import moment from 'moment'; -import { useDepartment } from "/@/utils/auth/formAuth"; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '单位', - align: 'center', - dataIndex: 'secondDepartName', - }, - { - title: '签约医院', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '应检人数', - align: 'center', - dataIndex: 'empCount', - }, - { - title: '已选项目人数', - align: 'center', - dataIndex: 'selectCount', - }, - { - title: '已预约情况', - children: [ - { - title: '已预约人数', - align: 'center', - dataIndex: 'orderCount', - }, - { - title: '已参检人数', - align: 'center', - dataIndex: 'checkCount', - }, - { - title: '未参检人数', - align: 'center', - dataIndex: 'unCheckCount', - }, - ], - }, - { - title: '未预约人数', - align: 'center', - dataIndex: 'unOrderCount', - }, - { - title: '体检年份', - align: 'center', - dataIndex: 'medicalYear', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, -]; -export const columnsDetail: BasicColumn[] = [ - { - title: '单位', - align: 'center', - dataIndex: 'secondDepartName', - }, - { - title: '体检医院', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '已选项目人数', - align: 'center', - dataIndex: 'selectCount', - }, - { - title: '已预约情况', - children: [ - { - title: '已预约人数', - align: 'center', - dataIndex: 'orderCount', - }, - { - title: '已参检人数', - align: 'center', - dataIndex: 'checkCount', - }, - { - title: '未参检人数', - align: 'center', - dataIndex: 'unCheckCount', - }, - ], - }, - { - title: '未预约人数', - align: 'center', - dataIndex: 'unOrderCount', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '单位', - field: 'secondDepartId', - component: 'ApiSelect', - componentProps: ({ schema }) => { - // const { secondSelectValue, secondSelectDisabled } = useDepartment({ schema, key: 'id' }); - // secondSelectValue(); - return { - api: getMedicalSecondDeparts, - resultField: 'list', - labelField: 'departName', - valueField: 'id', - immediate: true, - // disabled: secondSelectDisabled, - }; - }, - }, - { - label: '签约医院', - field: 'contractHospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: false, - }, - }, - { - label: '体检年份', - field: 'medicalYear', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY', - picker: 'year', - }, - defaultValue: moment(new Date()).format('YYYY'), - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '所属部门', - field: 'planDeptId', - component: 'Input', - dynamicRules: ({ model, schema }) => { - return [{ required: true, message: '请输入所属部门!' }]; - }, - }, - { - label: '体检年度', - field: '', - component: 'DatePicker', - }, - { - label: '计划名称', - field: 'planTitle', - component: 'Input', - dynamicRules: ({ model, schema }) => { - return [{ required: true, message: '请输入计划名称!' }]; - }, - }, - { - label: '承检医院', - field: '', - component: 'JDictSelectTag', - }, - { - label: '签约医院', - field: 'contractHospitalId', - component: 'Input', - }, - { - label: '体检计划日期', - field: '', - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY', - picker: 'year', - }, - }, - { - label: '允许预约日期', - field: '', - component: 'DatePicker', - }, - { - label: '有效标志', - field: '', - component: 'RadioGroup', - componentProps: { - options: [ - { - label: '有效', - value: 1, - }, - { - label: '无效', - value: 2, - }, - ], - }, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/situation/secondaryPhysical/SecondaryPhysicalList.vue b/src/views/medical/situation/secondaryPhysical/SecondaryPhysicalList.vue deleted file mode 100644 index 521dbbc..0000000 --- a/src/views/medical/situation/secondaryPhysical/SecondaryPhysicalList.vue +++ /dev/null @@ -1,105 +0,0 @@ - - - - - diff --git a/src/views/medical/situation/secondaryPhysical/components/SecondaryPhysicalForm.vue b/src/views/medical/situation/secondaryPhysical/components/SecondaryPhysicalForm.vue deleted file mode 100644 index 28cb262..0000000 --- a/src/views/medical/situation/secondaryPhysical/components/SecondaryPhysicalForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/medical/situation/secondaryPhysical/components/SecondaryPhysicalModal.vue b/src/views/medical/situation/secondaryPhysical/components/SecondaryPhysicalModal.vue deleted file mode 100644 index d22871c..0000000 --- a/src/views/medical/situation/secondaryPhysical/components/SecondaryPhysicalModal.vue +++ /dev/null @@ -1,65 +0,0 @@ - - - - - diff --git a/src/views/medical/sourcematerial/Banner.api.ts b/src/views/medical/sourcematerial/Banner.api.ts deleted file mode 100644 index f1af3ae..0000000 --- a/src/views/medical/sourcematerial/Banner.api.ts +++ /dev/null @@ -1,114 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/banner/list', - save = '/medical/banner/add', - edit = '/medical/banner/edit', - deleteOne = '/medical/banner/delete', - deleteBatch = '/medical/banner/deleteBatch', - importExcel = '/medical/banner/importExcel', - exportXls = '/medical/banner/exportXls', - getEdit = '/medical/banner/queryById', - editStatus = '/medical/banner/updateStatus', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => { - if (params.bannerTitle !== undefined) { - params.bannerTitle = '*' + params.bannerTitle + '*'; - } - return defHttp.get({ url: Api.list, params }); -}; -/** - * 请求编辑数据 - */ -export const resEditData = (params) => - defHttp.get( - { - url: Api.getEdit, - params, - }, - { joinParamsToUrl: true } - ); -/** - * 批量修改状态 - */ -export const resEditStatus = (params, handleSuccess) => { - return defHttp.post({ url: Api.editStatus, params }).then(() => { - handleSuccess(); - }); -}; -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否确认删除', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteOne, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/medical/sourcematerial/Banner.data.ts b/src/views/medical/sourcematerial/Banner.data.ts deleted file mode 100644 index 75f8314..0000000 --- a/src/views/medical/sourcematerial/Banner.data.ts +++ /dev/null @@ -1,116 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { render } from '/@/utils/common/renderUtils'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '标题', - align: 'center', - dataIndex: 'bannerTitle', - }, - { - title: '类型', - align: 'center', - dataIndex: 'bannerType', - customRender: ({ text }) => { - return render.renderDict(text, 'banner_type'); - }, - }, - { - title: '轮播图', - align: 'center', - dataIndex: 'bannerUrl', - customRender: ({ text }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 80, - width: 200, - fallback: getDefaultImage(), - }); - }, - }, - { - title: '是否有效', - align: 'center', - dataIndex: 'bannerValid', - customRender: ({ text }) => { - return render.renderDict(text, 'valid_status'); - }, - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '标题', - field: 'bannerTitle', - component: 'Input', - }, - { - label: '类型', - field: 'bannerType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'banner_type', - }, - }, - { - label: '是否有效', - field: 'bannerValid', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'valid_status', - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '标题', - field: 'bannerTitle', - component: 'Input', - rules: [{ required: true }], - }, - { - label: '类型', - field: 'bannerType', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'banner_type', - }, - rules: [{ required: true }], - }, - { - label: '轮播图', - field: 'bannerUrl', - component: 'JImageUpload', - rules: [{ required: true, message: '请选择轮播图' }], - }, - { - label: '是否有效', - field: 'bannerValid', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'valid_status', - type: 'radio', - }, - rules: [{ required: true }], - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/sourcematerial/BannerList.vue b/src/views/medical/sourcematerial/BannerList.vue deleted file mode 100644 index 6bbb7bb..0000000 --- a/src/views/medical/sourcematerial/BannerList.vue +++ /dev/null @@ -1,141 +0,0 @@ - - - - - diff --git a/src/views/medical/sourcematerial/Info.api.ts b/src/views/medical/sourcematerial/Info.api.ts deleted file mode 100644 index 6bbaeee..0000000 --- a/src/views/medical/sourcematerial/Info.api.ts +++ /dev/null @@ -1,110 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/info/list', - save = '/medical/info/add', - edit = '/medical/info/edit', - deleteOne = '/medical/info/delete', - deleteBatch = '/medical/info/deleteBatch', - importExcel = '/medical/info/importExcel', - exportXls = '/medical/info/exportXls', - getEdit = '/medical/info/queryById', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => { - if (params.infoTitle !== undefined) { - params.infoTitle = '*' + params.infoTitle + '*'; - } - if (params.source !== undefined) { - params.source = '*' + params.source + '*'; - } - return defHttp.get({ url: Api.list, params }); -}; -/** - * 请求编辑数据 - * @param params - */ -export const resEditData = (params) => - defHttp.get( - { - url: Api.getEdit, - params, - }, - { joinParamsToUrl: true } - ); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否确认删除', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteOne, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/medical/sourcematerial/Info.data.ts b/src/views/medical/sourcematerial/Info.data.ts deleted file mode 100644 index 6788ef9..0000000 --- a/src/views/medical/sourcematerial/Info.data.ts +++ /dev/null @@ -1,95 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '资讯标题', - align: 'center', - dataIndex: 'infoTitle', - }, - { - title: '资讯图片', - align: 'center', - dataIndex: 'infoImg', - customRender: ({ text }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 80, - width: 200, - fallback: getDefaultImage(), - }); - }, - }, - { - title: '来源', - align: 'center', - dataIndex: 'source', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '资讯标题', - field: 'infoTitle', - component: 'Input', - }, - { - label: '来源', - field: 'source', - component: 'Input', - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '资讯标题', - field: 'infoTitle', - component: 'Input', - rules: [{ required: true }], - }, - { - label: '资讯图片', - field: 'infoImg', - component: 'JImageUpload', - componentProps: { - fileMax: 1, - }, - rules: [{ required: true, message: '请选择资讯图片' }], - }, - { - label: '来源', - field: 'source', - component: 'Input', - rules: [{ required: true }], - }, - { - label: '资讯简介', - field: 'infoDesc', - component: 'InputTextArea', - rules: [{ required: true }], - }, - { - label: '资讯内容', - field: 'infoContent', - component: 'JEditor', - rules: [{ required: true }], - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/sourcematerial/InfoList.vue b/src/views/medical/sourcematerial/InfoList.vue deleted file mode 100644 index 70e6244..0000000 --- a/src/views/medical/sourcematerial/InfoList.vue +++ /dev/null @@ -1,135 +0,0 @@ - - - - - diff --git a/src/views/medical/sourcematerial/Video.api.ts b/src/views/medical/sourcematerial/Video.api.ts deleted file mode 100644 index 8c8fadd..0000000 --- a/src/views/medical/sourcematerial/Video.api.ts +++ /dev/null @@ -1,101 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/video/list', - save = '/medical/video/add', - edit = '/medical/video/edit', - deleteOne = '/medical/video/delete', - deleteBatch = '/medical/video/deleteBatch', - importExcel = '/medical/video/importExcel', - exportXls = '/medical/video/exportXls', - getEdit = '/medical/video/queryById', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => { - if (params.videoTitle !== undefined) { - params.videoTitle = '*' + params.videoTitle + '*'; - } - return defHttp.get({ url: Api.list, params }); -}; - -/* - * - * 请求编辑数据 - * */ -export const resEditData = (params) => defHttp.get({ url: Api.getEdit, params }, { joinParamsToUrl: true }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否确认删除', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteOne, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/medical/sourcematerial/Video.data.ts b/src/views/medical/sourcematerial/Video.data.ts deleted file mode 100644 index f3f49fb..0000000 --- a/src/views/medical/sourcematerial/Video.data.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import VideoPreview from '/@/components/Video/VideoPreview.vue'; -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '视频标题', - align: 'center', - dataIndex: 'videoTitle', - }, - { - title: '视频图片', - align: 'center', - dataIndex: 'videoImg', - customRender: ({ text }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 80, - width: 200, - fallback: getDefaultImage(), - }); - }, - }, - { - title: '视频预览', - align: 'center', - dataIndex: 'videoUrl', - customRender: ({ text }) => { - return h(VideoPreview, { - url: getFileAccessHttpUrl(text), - }); - }, - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '视频标题', - field: 'videoTitle', - component: 'Input', - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '视频标题', - field: 'videoTitle', - component: 'Input', - rules: [{ required: true }], - }, - { - label: '视频图片', - field: 'videoImg', - component: 'JImageUpload', - componentProps: { - fileMax: 1, - }, - rules: [{ required: true, message: '请选择图片' }], - }, - { - label: '视频', - field: 'videoUrl', - component: 'JUpload', - componentProps: { - maxCount: 1, - accept: 'video/*', - }, - rules: [{ required: true, message: '请上传视频' }], - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/sourcematerial/VideoList.vue b/src/views/medical/sourcematerial/VideoList.vue deleted file mode 100644 index 4c04bb7..0000000 --- a/src/views/medical/sourcematerial/VideoList.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - - - diff --git a/src/views/medical/sourcematerial/components/BannerForm.vue b/src/views/medical/sourcematerial/components/BannerForm.vue deleted file mode 100644 index cdeb49b..0000000 --- a/src/views/medical/sourcematerial/components/BannerForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/medical/sourcematerial/components/BannerModal.vue b/src/views/medical/sourcematerial/components/BannerModal.vue deleted file mode 100644 index b955130..0000000 --- a/src/views/medical/sourcematerial/components/BannerModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/medical/sourcematerial/components/InfoForm.vue b/src/views/medical/sourcematerial/components/InfoForm.vue deleted file mode 100644 index f4b9d88..0000000 --- a/src/views/medical/sourcematerial/components/InfoForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/medical/sourcematerial/components/InfoModal.vue b/src/views/medical/sourcematerial/components/InfoModal.vue deleted file mode 100644 index 58bb842..0000000 --- a/src/views/medical/sourcematerial/components/InfoModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/medical/sourcematerial/components/VideoForm.vue b/src/views/medical/sourcematerial/components/VideoForm.vue deleted file mode 100644 index a98810e..0000000 --- a/src/views/medical/sourcematerial/components/VideoForm.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - diff --git a/src/views/medical/sourcematerial/components/VideoModal.vue b/src/views/medical/sourcematerial/components/VideoModal.vue deleted file mode 100644 index 0b8e881..0000000 --- a/src/views/medical/sourcematerial/components/VideoModal.vue +++ /dev/null @@ -1,67 +0,0 @@ - - - - - diff --git a/src/views/medical/standard/hospitalitem/HospitalItem.api.ts b/src/views/medical/standard/hospitalitem/HospitalItem.api.ts deleted file mode 100644 index e3d0726..0000000 --- a/src/views/medical/standard/hospitalitem/HospitalItem.api.ts +++ /dev/null @@ -1,92 +0,0 @@ -import {defHttp} from '/@/utils/http/axios'; -import { useMessage } from "/@/hooks/web/useMessage"; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/hospitalItem/list', - save='/medical/hospitalItem/add', - edit='/medical/hospitalItem/edit', - deleteOne = '/medical/hospitalItem/delete', - deleteBatch = '/medical/hospitalItem/deleteBatch', - importExcel = '/medical/hospitalItem/importExcel', - exportXls = '/medical/hospitalItem/exportXls', - synHospitalItem = '/medical/hospitalItem/synHospitalItem', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => - defHttp.get({url: Api.list, params}); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params}, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); - } - }); -} -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({url: Api.deleteBatch, data: params}, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); - } - }); -} -/** - * 批量删除 - * @param params - */ -export const synHospitalItem = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认执行同步任务', - content: '是否从医院同步增量体检项目', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({url: Api.synHospitalItem, data: params}).then(() => { - handleSuccess(); - }); - } - }); -} -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({url: url, params}); -} diff --git a/src/views/medical/standard/hospitalitem/HospitalItem.data.ts b/src/views/medical/standard/hospitalitem/HospitalItem.data.ts deleted file mode 100644 index 16c6d46..0000000 --- a/src/views/medical/standard/hospitalitem/HospitalItem.data.ts +++ /dev/null @@ -1,123 +0,0 @@ -import {BasicColumn} from '/@/components/Table'; -import {FormSchema} from '/@/components/Table'; -import { rules} from '/@/utils/helper/validator'; -import { render } from '/@/utils/common/renderUtils'; -import {getPhysicalHospitalsAllList} from "/@/views/system/user/user.api"; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '医院名称', - align:"center", - dataIndex: 'hospitalName', - customRender: ({ text ,record}) => { - if(!text && record.hospitalId == 'ZH001'){ - return "中海(虚拟)"; - } - if(!text && record.hospitalId == 'XJ001'){ - return "西京(虚拟)"; - } - return text; - }, - }, - { - title: '体检项目编码 ', - align:"center", - dataIndex: 'peItemCode' - }, - { - title: '体检项目名称', - align:"center", - dataIndex: 'peItemName' - }, - { - title: '关联体检基本项', - align:"center", - dataIndex: 'uniItemNames' - }, - { - title: '关联医院体检项目', - align:"center", - dataIndex: 'itemAssemNames' - }, - { - title: '创建日期', - align:"center", - dataIndex: 'createDate' - }, - { - title: '更新日期', - align:"center", - dataIndex: 'updateDate' - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '承检医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsAllList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: true, - }, - }, - { - label: "体检项目编码", - field: 'peItemCode', - component: 'Input', - colProps: {span: 6}, - }, - { - label: "体检项目名称", - field: 'peItemName', - component: 'Input', - colProps: {span: 6}, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '承检医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsAllList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - height: 20, - }, - rules: [{ required: true }], - }, - { - label: '体检项目编码', - field: 'peItemCode', - component: 'Input', - }, - { - label: '体检项目名称', - field: 'peItemName', - component: 'Input', - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false - }, -]; - - - -/** -* 流程表单调用这个方法获取formSchema -* @param param -*/ -export function getBpmFormSchema(_formData): FormSchema[]{ - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/standard/hospitalitem/HospitalItemList.vue b/src/views/medical/standard/hospitalitem/HospitalItemList.vue deleted file mode 100644 index f3a0b4f..0000000 --- a/src/views/medical/standard/hospitalitem/HospitalItemList.vue +++ /dev/null @@ -1,162 +0,0 @@ - - - - - diff --git a/src/views/medical/standard/hospitalitem/components/HospitalItemForm.vue b/src/views/medical/standard/hospitalitem/components/HospitalItemForm.vue deleted file mode 100644 index 39962f4..0000000 --- a/src/views/medical/standard/hospitalitem/components/HospitalItemForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/medical/standard/hospitalitem/components/HospitalItemModal.vue b/src/views/medical/standard/hospitalitem/components/HospitalItemModal.vue deleted file mode 100644 index b0230bc..0000000 --- a/src/views/medical/standard/hospitalitem/components/HospitalItemModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/medical/standard/uniclass/UniItemClass.api.ts b/src/views/medical/standard/uniclass/UniItemClass.api.ts deleted file mode 100644 index c7d9365..0000000 --- a/src/views/medical/standard/uniclass/UniItemClass.api.ts +++ /dev/null @@ -1,116 +0,0 @@ -import {defHttp} from "/@/utils/http/axios"; -import { useMessage } from "/@/hooks/web/useMessage"; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/uniItemClass/rootList', - save='/medical/uniItemClass/add', - edit='/medical/uniItemClass/edit', - deleteUniItemClass = '/medical/uniItemClass/delete', - importExcel = '/medical/uniItemClass/importExcel', - exportXls = '/medical/uniItemClass/exportXls', - loadTreeData = '/medical/uniItemClass/loadTreeRoot', - getChildList = '/medical/uniItemClass/childList', - getChildListBatch = '/medical/uniItemClass/getChildListBatch', - getDrawerTreeData = '/health-consultation/conDepartment/loadTreeRoot', - getDrawerTreeKeys = '/medical/uniItemClass/getOfficeRel', - saveDrawerTreeKeys = '/medical/uniItemClass/saveOfficeRel', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - * @param params - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); -/** - * 删除 - */ -export const deleteUniItemClass = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteUniItemClass, params }, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDeleteUniItemClass = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({url: Api.deleteUniItemClass, data: params}, {joinParamsToUrl: true}).then(() => { - handleSuccess(); - }); - } - }); -} -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdateDict = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({url: url, params}); -} - -export const getLoadTreeDataUrl = Api.loadTreeData; -/** - * 查询全部树形节点数据 - * @param params - */ -export const loadTreeData = (params) => - defHttp.get({url: Api.loadTreeData,params}); -/** - * 查询子节点数据 - * @param params - */ -export const getChildList = (params) => - defHttp.get({url: Api.getChildList, params}); -/** - * 批量查询子节点数据 - * @param params - */ -export const getChildListBatch = (params) => - defHttp.get({url: Api.getChildListBatch, params},{isTransformResponse:false}); -/** - * 获取抽屉中树形节点数据 - * @param params - */ -export const getLoadTreeRootDrawerTree = (params) => - defHttp.get({url: Api.getDrawerTreeData, params}); -/** - * 获取抽屉中树形节点选中的数据 - * @param params - */ -export const getLoadTreeRootDrawerTreeKeys = (params) => - defHttp.get({url: Api.getDrawerTreeKeys, params}); -/** - * 提交抽屉中树形节点数据 - * @param params - */ -export const submitDrawerTreeKeys = (params) => - defHttp.post({url: Api.saveDrawerTreeKeys, params}); diff --git a/src/views/medical/standard/uniclass/UniItemClass.data.ts b/src/views/medical/standard/uniclass/UniItemClass.data.ts deleted file mode 100644 index 0c9864e..0000000 --- a/src/views/medical/standard/uniclass/UniItemClass.data.ts +++ /dev/null @@ -1,75 +0,0 @@ -import {BasicColumn} from '/@/components/Table'; -import {FormSchema} from '/@/components/Table'; -import {loadTreeData} from './UniItemClass.api'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '体检项目分类名称', - align: 'left', - dataIndex: 'uniItemClassName' - }, - { - title: '体检项目分类编码', - align: 'center', - dataIndex: 'uniItemClassCode' - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: "分类编码", - field: "uniItemClassCode", - component: 'Input', - colProps: {span: 6}, - }, - { - label: "分类名称", - field: "uniItemClassName", - component: 'Input', - colProps: {span: 6}, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '父级节点', - field: 'uniItemClassParentId', - component: 'ApiTreeSelect', - componentProps: () => { - return { - api: loadTreeData, - fieldNames: { - value: 'key', - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '分类编码', - field: 'uniItemClassCode', - component: 'Input', - }, - { - label: '分类名称', - field: 'uniItemClassName', - component: 'Input', - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false - }, -]; - - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/standard/uniclass/UniItemClassList.vue b/src/views/medical/standard/uniclass/UniItemClassList.vue deleted file mode 100644 index 1786a97..0000000 --- a/src/views/medical/standard/uniclass/UniItemClassList.vue +++ /dev/null @@ -1,358 +0,0 @@ - - - - - diff --git a/src/views/medical/standard/uniclass/components/UniItemClassDiseaseModal.api.ts b/src/views/medical/standard/uniclass/components/UniItemClassDiseaseModal.api.ts deleted file mode 100644 index a8515ac..0000000 --- a/src/views/medical/standard/uniclass/components/UniItemClassDiseaseModal.api.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - getAllSicksList = '/health-consultation/conSicks/getAllSicksList', - getSickRel = '/medical/uniItemClass/getSickRel', - saveSicksRel = '/medical/uniItemClass/saveSicksRel', -} - -/** - * 列表接口 - * @param params - */ -export const getAllSicksList = (params) => defHttp.get({ url: Api.getAllSicksList, params }); - -/** - * 已选中接口 - * @param params - */ -export const getSickRelList = (params) => defHttp.get({ url: Api.getSickRel, params }); - -/** - * 提交接口 - * @param params - */ -export const saveSicksRel = (params) => defHttp.post({ url: Api.saveSicksRel, params }); diff --git a/src/views/medical/standard/uniclass/components/UniItemClassDiseaseModal.data.ts b/src/views/medical/standard/uniclass/components/UniItemClassDiseaseModal.data.ts deleted file mode 100644 index 80da072..0000000 --- a/src/views/medical/standard/uniclass/components/UniItemClassDiseaseModal.data.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '疾病名称', - align: 'center', - dataIndex: 'sicksName', - }, - { - title: '关联科室', - align: 'center', - dataIndex: 'departmentName', - }, - /*{ - title: '疾病描述', - align: 'center', - dataIndex: 'descript', - },*/ -]; - -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '疾病名称', - field: 'sicksName', - component: 'Input', - colProps: { span: 6 }, - }, -]; diff --git a/src/views/medical/standard/uniclass/components/UniItemClassDiseaseModal.vue b/src/views/medical/standard/uniclass/components/UniItemClassDiseaseModal.vue deleted file mode 100644 index f58b9a0..0000000 --- a/src/views/medical/standard/uniclass/components/UniItemClassDiseaseModal.vue +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/medical/standard/uniclass/components/UniItemClassDrawerModal.vue b/src/views/medical/standard/uniclass/components/UniItemClassDrawerModal.vue deleted file mode 100644 index b73a469..0000000 --- a/src/views/medical/standard/uniclass/components/UniItemClassDrawerModal.vue +++ /dev/null @@ -1,91 +0,0 @@ - - - diff --git a/src/views/medical/standard/uniclass/components/UniItemClassForm.vue b/src/views/medical/standard/uniclass/components/UniItemClassForm.vue deleted file mode 100644 index 8a7d2f1..0000000 --- a/src/views/medical/standard/uniclass/components/UniItemClassForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - diff --git a/src/views/medical/standard/uniclass/components/UniItemClassModal.vue b/src/views/medical/standard/uniclass/components/UniItemClassModal.vue deleted file mode 100644 index c9834d5..0000000 --- a/src/views/medical/standard/uniclass/components/UniItemClassModal.vue +++ /dev/null @@ -1,107 +0,0 @@ - - - diff --git a/src/views/medical/standard/uniinfo/UniItemInfo.api.ts b/src/views/medical/standard/uniinfo/UniItemInfo.api.ts deleted file mode 100644 index e021156..0000000 --- a/src/views/medical/standard/uniinfo/UniItemInfo.api.ts +++ /dev/null @@ -1,79 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/uniItemInfo/list', - save = '/medical/uniItemInfo/add', - edit = '/medical/uniItemInfo/edit', - deleteOne = '/medical/uniItemInfo/delete', - deleteBatch = '/medical/uniItemInfo/deleteBatch', - importExcel = '/medical/uniItemInfo/importExcel', - exportXls = '/medical/uniItemInfo/exportXls', - loadTreeData = '/medical/uniItemClass/loadTreeRoot', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -/** - * 查询全部树形节点数据 - * @param params - */ -export const loadTreeData = (params) => defHttp.get({ url: Api.loadTreeData, params }); diff --git a/src/views/medical/standard/uniinfo/UniItemInfo.data.ts b/src/views/medical/standard/uniinfo/UniItemInfo.data.ts deleted file mode 100644 index e782f17..0000000 --- a/src/views/medical/standard/uniinfo/UniItemInfo.data.ts +++ /dev/null @@ -1,165 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { loadTreeData } from './UniItemInfo.api'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '体检项目分类', - align: 'center', - dataIndex: 'uniItemClassName', - }, - { - title: '体检项目编码', - align: 'center', - dataIndex: 'uniItemNo', - }, - { - title: '体检项目名称', - align: 'center', - dataIndex: 'uniItemName', - }, - { - title: '体检项目别名', - align: 'center', - dataIndex: 'uniItemAlias', - }, - /*{ - title: '体检项目描述', - align: 'center', - dataIndex: 'uniItemDes', - },*/ - { - title: '是否重点指标', - align: 'center', - dataIndex: 'importantFlag_dictText', - }, - { - title: '是否有参考值', - align: 'center', - dataIndex: 'referFlag_dictText', - }, - { - title: '创建日期', - align: 'center', - dataIndex: 'createDate', - }, - { - title: '更新日期', - align: 'center', - dataIndex: 'updateDate', - }, -]; - -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '体检项目分类', - field: 'uniItemClassId', - component: 'ApiTreeSelect', - componentProps: () => { - return { - api: loadTreeData, - fieldNames: { - value: 'key', - }, - getPopupContainer: () => document.body, - }; - }, - colProps: { span: 6 }, - }, - { - label: '体检项目名称', - field: 'uniItemName', - component: 'JInput', - colProps: { span: 6 }, - }, - { - label: '体检项目别名', - field: 'uniItemAlias', - component: 'JInput', - colProps: { span: 6 }, - }, - { - label: '是否重点指标', - field: 'importantFlag', - component: 'JDictSelectTag', - componentProps: { dictCode: 'yn' }, - colProps: { span: 6 }, - }, -]; - -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '体检项目分类', - field: 'uniItemClassId', - component: 'ApiTreeSelect', - componentProps: () => { - return { - api: loadTreeData, - fieldNames: { - value: 'key', - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '体检项目名称', - field: 'uniItemName', - component: 'Input', - }, - { - label: '体检项目别名', - field: 'uniItemAlias', - component: 'Input', - }, - { - label: '体检项目编码', - field: 'uniItemNo', - component: 'Input', - }, - { - label: '体检项目描述', - field: 'uniItemDes', - component: 'InputTextArea', - }, - - { - label: '是否重点指标', - field: 'importantFlag', - defaultValue: '0', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'yn', - type: 'radio', - }, - }, - { - label: '是否有参考值', - field: 'referFlag', - defaultValue: '0', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'yn', - type: 'radio', - }, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/standard/uniinfo/UniItemInfoList.vue b/src/views/medical/standard/uniinfo/UniItemInfoList.vue deleted file mode 100644 index 083e684..0000000 --- a/src/views/medical/standard/uniinfo/UniItemInfoList.vue +++ /dev/null @@ -1,189 +0,0 @@ - - - - - diff --git a/src/views/medical/standard/uniinfo/components/UniItemInfoDrawer.api.ts b/src/views/medical/standard/uniinfo/components/UniItemInfoDrawer.api.ts deleted file mode 100644 index 9ba658d..0000000 --- a/src/views/medical/standard/uniinfo/components/UniItemInfoDrawer.api.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - getUniHospitalRel = '/medical/uniItemInfo/getUniHospitalRel', -} - -/** - * 列表接口 - * @param params - */ -export const getUniHospitalRel = (params) => defHttp.get({ url: Api.getUniHospitalRel, params }); diff --git a/src/views/medical/standard/uniinfo/components/UniItemInfoDrawer.data.ts b/src/views/medical/standard/uniinfo/components/UniItemInfoDrawer.data.ts deleted file mode 100644 index 1d10886..0000000 --- a/src/views/medical/standard/uniinfo/components/UniItemInfoDrawer.data.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '医院名称', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '项目名称', - align: 'center', - dataIndex: 'peItemName', - }, - { - title: '项目编码', - align: 'center', - dataIndex: 'peItemCode', - }, -]; - diff --git a/src/views/medical/standard/uniinfo/components/UniItemInfoDrawer.vue b/src/views/medical/standard/uniinfo/components/UniItemInfoDrawer.vue deleted file mode 100644 index 59dff62..0000000 --- a/src/views/medical/standard/uniinfo/components/UniItemInfoDrawer.vue +++ /dev/null @@ -1,82 +0,0 @@ - - - diff --git a/src/views/medical/standard/uniinfo/components/UniItemInfoDrawerModal.api.ts b/src/views/medical/standard/uniinfo/components/UniItemInfoDrawerModal.api.ts deleted file mode 100644 index 75f424b..0000000 --- a/src/views/medical/standard/uniinfo/components/UniItemInfoDrawerModal.api.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - getHospitalItemPageList = '/medical/uniItemInfo/getHospitalItemPageList', - getHospitalItemRel = '/medical/uniItemInfo/getHospitalItemRel', - saveUniHospitalRel = '/medical/uniItemInfo/saveUniHospitalRel', -} - -/** - * 列表接口 - * @param params - */ -export const getHospitalItemList = (params) => defHttp.get({ url: Api.getHospitalItemPageList, params }); - - -/** - * 已选中列表接口 - * @param params - */ -export const getHospitalItemRelList = (params) => defHttp.get({ url: Api.getHospitalItemRel, params }); - - -/** - * 提交已选中列表接口 - * @param params - */ -export const saveUniHospitalRelList = (params) => defHttp.post({ url: Api.saveUniHospitalRel, params }); diff --git a/src/views/medical/standard/uniinfo/components/UniItemInfoDrawerModal.data.ts b/src/views/medical/standard/uniinfo/components/UniItemInfoDrawerModal.data.ts deleted file mode 100644 index 4ce231c..0000000 --- a/src/views/medical/standard/uniinfo/components/UniItemInfoDrawerModal.data.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; - -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '医院名称', - align: 'center', - dataIndex: 'hospitalName', - }, - { - title: '项目名称', - align: 'center', - dataIndex: 'peItemName', - }, - { - title: '项目编码', - align: 'center', - dataIndex: 'peItemCode', - }, - { - title: '关联体检项目', - align: 'center', - dataIndex: 'itemAssemNames', - }, -]; - -export const columns1: BasicColumn[] = [ - { - title: '项目名称', - align: 'center', - dataIndex: 'peItemName', - } -]; - -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '项目名称', - field: 'peItemName', - component: 'Input', - colProps: { span: 6 }, - }, -]; - diff --git a/src/views/medical/standard/uniinfo/components/UniItemInfoDrawerModal.vue b/src/views/medical/standard/uniinfo/components/UniItemInfoDrawerModal.vue deleted file mode 100644 index 3d7972b..0000000 --- a/src/views/medical/standard/uniinfo/components/UniItemInfoDrawerModal.vue +++ /dev/null @@ -1,169 +0,0 @@ - - - - - diff --git a/src/views/medical/standard/uniinfo/components/UniItemInfoForm.vue b/src/views/medical/standard/uniinfo/components/UniItemInfoForm.vue deleted file mode 100644 index 63a092b..0000000 --- a/src/views/medical/standard/uniinfo/components/UniItemInfoForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/medical/standard/uniinfo/components/UniItemInfoModal.vue b/src/views/medical/standard/uniinfo/components/UniItemInfoModal.vue deleted file mode 100644 index 4f275e5..0000000 --- a/src/views/medical/standard/uniinfo/components/UniItemInfoModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/medical/standard/unmatch/UserResultItemTmpUnmatch.api.ts b/src/views/medical/standard/unmatch/UserResultItemTmpUnmatch.api.ts deleted file mode 100644 index bebcbfe..0000000 --- a/src/views/medical/standard/unmatch/UserResultItemTmpUnmatch.api.ts +++ /dev/null @@ -1,78 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical/userResultItemTmpUnmatch/list', - save = '/medical/userResultItemTmpUnmatch/add', - edit = '/medical/userResultItemTmpUnmatch/edit', - deleteOne = '/medical/userResultItemTmpUnmatch/delete', - deleteBatch = '/medical/userResultItemTmpUnmatch/deleteBatch', - importExcel = '/medical/userResultItemTmpUnmatch/importExcel', - exportXls = '/medical/userResultItemTmpUnmatch/exportXls', - updateUnmatchItem = '/medical/userResultItemTmpUnmatch/updateUserResultItemUniId', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -export const updateUnmatchItem = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认更新', - content: '是否更新体检报告中未匹配的选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.updateUnmatchItem, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/medical/standard/unmatch/UserResultItemTmpUnmatch.data.ts b/src/views/medical/standard/unmatch/UserResultItemTmpUnmatch.data.ts deleted file mode 100644 index bb4e1ec..0000000 --- a/src/views/medical/standard/unmatch/UserResultItemTmpUnmatch.data.ts +++ /dev/null @@ -1,119 +0,0 @@ -import {BasicColumn} from '/@/components/Table'; -import {FormSchema} from '/@/components/Table'; -import { rules} from '/@/utils/helper/validator'; -import { render } from '/@/utils/common/renderUtils'; -import {getPhysicalHospitalsList} from "/@/views/system/user/user.api"; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '医院名称', - align:"center", - dataIndex: 'hospitalName' - }, - { - title: '体检项目编码', - align:"center", - dataIndex: 'peItemCode' - }, - { - title: '体检项目名称', - align:"center", - dataIndex: 'peItemName' - }, - { - title: '体检组合编码', - align:"center", - dataIndex: 'itemAssemCode' - }, - { - title: '体检组合名称', - align:"center", - dataIndex: 'itemAssemName' - }, - - { - title: '创建时间', - align:"center", - dataIndex: 'createDate' - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '承检医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - immediate: true, - }, - }, - { - label: "体检项目编码", - field: 'peItemCode', - component: 'Input', - colProps: {span: 6}, - }, - { - label: "体检项目名称", - field: 'peItemName', - component: 'Input', - colProps: {span: 6}, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '承检医院', - field: 'hospitalId', - component: 'ApiSelect', - componentProps: { - api: getPhysicalHospitalsList, - resultField: 'list', - labelField: 'hospitalName', - valueField: 'hospitalId', - }, - rules: [{ required: true }], - }, - { - label: '体检项目编码', - field: 'peItemCode', - component: 'Input', - }, - { - label: '体检项目名称', - field: 'peItemName', - component: 'Input', - }, - { - label: '体检组合编码', - field: 'itemAssemCode', - component: 'Input', - }, - { - label: '体检组合名称', - field: 'itemAssemName', - component: 'Input', - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false - }, -]; - - - -/** -* 流程表单调用这个方法获取formSchema -* @param param -*/ -export function getBpmFormSchema(_formData): FormSchema[]{ - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/medical/standard/unmatch/UserResultItemTmpUnmatchList.vue b/src/views/medical/standard/unmatch/UserResultItemTmpUnmatchList.vue deleted file mode 100644 index 40f746a..0000000 --- a/src/views/medical/standard/unmatch/UserResultItemTmpUnmatchList.vue +++ /dev/null @@ -1,170 +0,0 @@ - - - - - diff --git a/src/views/medical/standard/unmatch/components/UserResultItemTmpUnmatchForm.vue b/src/views/medical/standard/unmatch/components/UserResultItemTmpUnmatchForm.vue deleted file mode 100644 index d26188d..0000000 --- a/src/views/medical/standard/unmatch/components/UserResultItemTmpUnmatchForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/medical/standard/unmatch/components/UserResultItemTmpUnmatchModal.vue b/src/views/medical/standard/unmatch/components/UserResultItemTmpUnmatchModal.vue deleted file mode 100644 index 7f729a7..0000000 --- a/src/views/medical/standard/unmatch/components/UserResultItemTmpUnmatchModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/medicalCenter/accessToLibrary/accessToLibrary.api.ts b/src/views/medicalCenter/accessToLibrary/accessToLibrary.api.ts deleted file mode 100644 index beb7292..0000000 --- a/src/views/medicalCenter/accessToLibrary/accessToLibrary.api.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical-center/medicalCenter/medicalSpecialistAudit/queryPageList', - save = '/medical-center', - edit = '/medical-center', - queryById = '/medical-center/medicalCenter/medicalSpecialistAudit/queryById', - reAccept = '/medical-center/medicalCenter/medicalSpecialistAudit/reAccept', - rejectOrAgree = '/medical-center/medicalCenter/medicalSpecialistAudit/rejectOrAgree', - accept = '/medical-center/medicalCenter/medicalSpecialistAudit/accept', - checkUserRole = '/medical-center/medicalCenter/medicalSpecialistAudit/checkUserRole', - queryOfficeList = '/medical-center/medicalCenter/medicalSpecialistAudit/queryOfficeList', - exportXls = '/medical-center/medicalCenter/medicalSpecialistAudit/exportXls', -} - -export const getExportUrl = Api.exportXls; -export const list = (params = {}) => defHttp.post({ url: Api.list, params }); -//所属科室 -export const queryOfficeList = (params = {}) => defHttp.get({ url: Api.queryOfficeList, params }); -export const queryById = (params = {}) => defHttp.get({ url: Api.queryById, params }); -// 当前用户申请状态 -export const checkUserRole = (params = {}) => defHttp.get({ url: Api.checkUserRole, params }); -//重新申请 -export const reAccept = (params = {}) => defHttp.get({ url: Api.reAccept, params }); -// 初次申请 -export const firstAccept = (params = {}) => defHttp.get({ url: Api.accept, params }); -//申请拒绝/通过 -export const rejectOrAgree = (params = {}) => defHttp.post({ url: Api.rejectOrAgree, params }); diff --git a/src/views/medicalCenter/accessToLibrary/accessToLibrary.data.ts b/src/views/medicalCenter/accessToLibrary/accessToLibrary.data.ts deleted file mode 100644 index 9808f1f..0000000 --- a/src/views/medicalCenter/accessToLibrary/accessToLibrary.data.ts +++ /dev/null @@ -1,287 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { BODY_CONTAINER } from '/@/utils/domUtils'; -import { useStatusType } from '/@/views/medicalCenter/accessToLibrary/hooks'; -export const statusText = { - 1: '待审核', - 2: `已拒绝`, - 3: `已通过`, - 4: '申请入库', -}; -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '申请人', - align: 'center', - dataIndex: 'docName', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, - { - title: '职称', - align: 'center', - dataIndex: 'jobTitle_dictText', - }, - { - title: '岗位', - align: 'center', - dataIndex: 'post_dictText', - }, - { - title: '医疗点', - align: 'center', - dataIndex: 'resourceName', - }, - { - title: '单位', - align: 'center', - dataIndex: 'unitName', - }, - { - title: '申请时间', - align: 'center', - dataIndex: 'acceptTime', - }, - { - title: '审核状态', - align: 'center', - dataIndex: 'status_dictText', - slots: { customRender: 'status' }, - }, - { - title: '审核人', - align: 'center', - dataIndex: 'auditName', - }, - { - title: '审核时间', - align: 'center', - dataIndex: 'auditTime', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '申请人', - field: 'docName', - component: 'Input', - }, - { - label: '申请日期', - field: 'date1', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - valueType: 'Date', - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => BODY_CONTAINER, - onChange: ([start, end]) => { - formModel.acceptStartTime = start; - formModel.acceptEndTime = end; - }, - }; - }, - }, - { - label: '', - field: 'acceptStartTime', - component: 'Input', - show: false, - }, - { - label: '', - field: 'acceptEndTime', - component: 'Input', - show: false, - }, - { - label: '审核日期', - field: 'date2', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - valueType: 'Date', - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => BODY_CONTAINER, - onChange: ([start, end]) => { - formModel.auditStartTime = start; - formModel.auditEndTime = end; - }, - }; - }, - }, - { - label: '', - field: 'auditStartTime', - component: 'Input', - show: false, - }, - { - label: '', - field: 'auditEndTime', - component: 'Input', - show: false, - }, - { - label: '审核状态', - field: 'status', - component: 'Select', - componentProps: () => { - return { - options: [ - { - value: '', - label: '全部', - }, - { - value: 0, - label: '待审核', - }, - { - value: 1, - label: '已通过', - }, - { - value: 2, - label: '已拒绝', - }, - ], - }; - }, - defaultValue: '', - }, -]; -const itemProps = { - labelCol: { - sm: 0, - xs: 0, - }, - wrapperCol: { - sm: 24, - xs: 24, - }, -}; - -const { status } = useStatusType(); -export const auditForm: FormSchema[] = [ - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, - { - label: '审核状态:1同意,2拒绝', - field: 'auditStatus', - component: 'Input', - show: false, - }, - { - label: '', - slot: 'header', - field: 'header', - component: 'Input', - itemProps, - }, - { - label: '', - slot: 'basicInfo', - field: 'basicInfo', - component: 'Input', - itemProps, - }, - { - label: '单位', - field: 'unitName', - component: 'Input', - componentProps: () => { - return { - readonly: true, - }; - }, - }, - { - label: '医疗点', - field: 'resourceName', - component: 'Input', - componentProps: () => { - return { - readonly: true, - }; - }, - }, - { - label: '科室', - field: 'officeName', - component: 'Input', - componentProps: () => { - return { - readonly: true, - }; - }, - }, - { - label: '申请时间', - field: 'acceptTime', - component: 'Input', - componentProps: () => { - return { - readonly: true, - }; - }, - }, - { - label: '', - slot: 'auditInfo', - field: 'auditInfo', - component: 'Input', - itemProps, - }, - { - label: '审核人', - field: 'auditName', - component: 'Input', - componentProps: () => { - return { - readonly: true, - }; - }, - }, - { - label: '审核时间', - field: 'auditTime', - component: 'Input', - componentProps: () => { - return { - readonly: true, - }; - }, - }, - { - label: '拒绝理由', - field: 'auditOpinion', - component: 'InputTextArea', - required: true, - componentProps: ({ formModel }) => { - return { - readonly: formModel?.auditStatus == status.passThrough, - }; - }, - ifShow: ({ values }) => { - return values?.auditStatus == status.rejected; - }, - }, -]; diff --git a/src/views/medicalCenter/accessToLibrary/accessToLibrary.vue b/src/views/medicalCenter/accessToLibrary/accessToLibrary.vue deleted file mode 100644 index 3e245e4..0000000 --- a/src/views/medicalCenter/accessToLibrary/accessToLibrary.vue +++ /dev/null @@ -1,119 +0,0 @@ - - - diff --git a/src/views/medicalCenter/accessToLibrary/components/auditModal.vue b/src/views/medicalCenter/accessToLibrary/components/auditModal.vue deleted file mode 100644 index 675bd2f..0000000 --- a/src/views/medicalCenter/accessToLibrary/components/auditModal.vue +++ /dev/null @@ -1,178 +0,0 @@ - - - - diff --git a/src/views/medicalCenter/accessToLibrary/components/auditStatus.vue b/src/views/medicalCenter/accessToLibrary/components/auditStatus.vue deleted file mode 100644 index d2645c7..0000000 --- a/src/views/medicalCenter/accessToLibrary/components/auditStatus.vue +++ /dev/null @@ -1,102 +0,0 @@ - - - diff --git a/src/views/medicalCenter/accessToLibrary/hooks.ts b/src/views/medicalCenter/accessToLibrary/hooks.ts deleted file mode 100644 index 49fa5a0..0000000 --- a/src/views/medicalCenter/accessToLibrary/hooks.ts +++ /dev/null @@ -1,189 +0,0 @@ -import { ref, Ref } from 'vue'; - -export function useStatus(defaultType: string) { - const status = ref(defaultType); - - function setStatus(type: string) { - status.value = type; - } - - return [status, setStatus]; -} - -export function useLoading() { - const loading = ref(false); - - function setLoading(type: Boolean) { - loading.value = type; - } - - return [loading, setLoading]; -} -export function useStatusType() { - enum status { - audit = '0', //待审核 - passThrough = '1', //已通过 - rejected = '2', //已拒绝 - application = '3', //待申请 - } - - const statusText = { - [status.audit]: '待审核', - [status.passThrough]: '已通过', - [status.rejected]: '已拒绝', - [status.application]: '申请入库', - }; - const statusImg = { - [status.passThrough]: new URL('/@/assets/images/pass-through.png', import.meta.url).href, - [status.rejected]: new URL('/@/assets/images/refuse.png', import.meta.url).href, - [status.application]: new URL('/@/assets/images/audit.png', import.meta.url).href, - }; - const statusColor = { - [status.audit]: `color:#333`, - [status.passThrough]: `color:#75db6a`, - [status.rejected]: `color:#ee2310`, - }; - const statusTag = { - [status.audit]: `default`, - [status.passThrough]: `success`, - [status.rejected]: `error`, - }; - const statusForm = { - //待审核 - [status.audit]: [ - { - text: '所属单位', - key: 'unitName', - }, - { - text: '医疗点', - key: 'resourceName', - }, - { - text: '所属科室', - key: 'officeName', - }, - { - text: '申请时间', - key: 'acceptTime', - }, - ], - //已拒绝 - [status.rejected]: [ - { - text: '所属单位', - key: 'unitName', - }, - { - text: '医疗点', - key: 'resourceName', - }, - { - text: '申请时间', - key: 'acceptTime', - }, - { - text: '审核时间', - key: 'auditTime', - }, - { - text: '审核人', - key: 'auditName', - }, - { - text: '拒绝理由', - key: 'auditOpinion', - }, - ], - //已通过 - [status.passThrough]: [ - { - text: '所属单位', - key: 'unitName', - }, - { - text: '医疗点', - key: 'resourceName', - }, - { - text: '申请时间', - key: 'acceptTime', - }, - { - text: '审核时间', - key: 'auditTime', - }, - { - text: '审核人', - key: 'auditName', - }, - ], - }; - - function getStatusText(type: string) { - if (statusText[type]) { - return statusText[type]; - } - return ''; - } - - function getStatusImg(type: string) { - if (statusImg[type]) { - return statusImg[type]; - } - return ''; - } - - function getStatusColor(type: string) { - if (statusColor[type]) { - return statusColor[type]; - } - return ''; - } - - function getStatusForm(type: string) { - if (statusForm[type]) { - return statusForm[type]; - } - return []; - } - - return { - status, - statusText, - statusImg, - statusColor, - statusTag, - statusForm, - getStatusImg, - getStatusText, - getStatusColor, - getStatusForm, - }; -} - -export function useModalRecord() { - interface R { - pic: string; - docName: string; - sex_dictText: string; - age: string; - jobTitle_dictText: string; - status: string; - } - - const record: Ref = ref({ - pic: '', - docName: '', - sex_dictText: '', - age: '', - jobTitle_dictText: '', - status: '', - }); - - function setRecord(data: R) { - record.value = data; - } - - return [record, setRecord]; -} diff --git a/src/views/medicalCenter/accessToLibraryForm/accessToLibraryForm.vue b/src/views/medicalCenter/accessToLibraryForm/accessToLibraryForm.vue deleted file mode 100644 index 41e50b7..0000000 --- a/src/views/medicalCenter/accessToLibraryForm/accessToLibraryForm.vue +++ /dev/null @@ -1,101 +0,0 @@ - - - - diff --git a/src/views/medicalCenter/education/components/educationDrawer.vue b/src/views/medicalCenter/education/components/educationDrawer.vue deleted file mode 100644 index 1f70b44..0000000 --- a/src/views/medicalCenter/education/components/educationDrawer.vue +++ /dev/null @@ -1,65 +0,0 @@ - - - - diff --git a/src/views/medicalCenter/education/education.api.ts b/src/views/medicalCenter/education/education.api.ts deleted file mode 100644 index f5c6415..0000000 --- a/src/views/medicalCenter/education/education.api.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical-center/medicalCenter/healthPropagate/list', - save = '/medical-center/medicalCenter/healthPropagate/add', - edit = '/medical-center/medicalCenter/healthPropagate/edit', - deleteOne = '/medical-center/medicalCenter/healthPropagate/delete', - deleteBatch = '/medical-center/medicalCenter/healthPropagate/deleteBatch', - exportXls = '/medical-center/medicalCenter/healthPropagate/exportXls', - importExcel = '/medical-center/medicalCenter/healthPropagate/importExcel', - departList = '/sys/sysDepart/allSecondaryDepartsNewBack', - medicalCenterList = '/medical-center/medicalCenter/medicalResource/all', -} -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const importExcel = Api.importExcel; - -export const list = (params) => defHttp.get({ url: Api.list, params }); -//医疗点-用户单位 -export const departList = (params = {}) => defHttp.get({ url: Api.departList, params }); -//医疗点集合 -export const medicalCenterList = (params = {}) => defHttp.get({ url: Api.medicalCenterList, params }); -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/medicalCenter/education/education.data.ts b/src/views/medicalCenter/education/education.data.ts deleted file mode 100644 index bd732ab..0000000 --- a/src/views/medicalCenter/education/education.data.ts +++ /dev/null @@ -1,336 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { departList, medicalCenterList } from './education.api'; -import { message } from 'ant-design-vue'; -const inputWidth = { - style: { - width: '50%', - }, -}; -//宣教形式 -const propagateType = { - options: [ - { label: '线上', value: '0' }, - { label: '线下', value: '1' }, - ], -}; -export const columns: BasicColumn[] = [ - { - title: '单位', - dataIndex: 'departName', - }, - { - title: '医疗点', - dataIndex: 'medicalCenterName', - }, - { - title: '宣教主题名称', - dataIndex: 'themeName', - }, - { - title: '宣教日期', - dataIndex: 'propagateDate', - customRender: ({ text }) => { - return !text ? '' : text.length > 10 ? text.substr(0, 10) : text; - }, - }, - { - title: '宣教类型', - dataIndex: 'publicityType_dictText', - }, - { - title: '覆盖区域', - dataIndex: 'propagateArea', - }, - { - title: '培训资料', - dataIndex: 'trainingMaterials', - }, - { - title: '现场培训照片', - dataIndex: 'trainingPhoto', - }, - { - title: '参加活动人数', - dataIndex: 'participateNum', - }, - // { - // title: '视频点击', - // dataIndex: 'videoClickNumber', - // }, - // { - // title: '图文点击', - // dataIndex: 'imageTextClickNumber', - // }, - // { - // title: '展板期数', - // dataIndex: 'displayBoardNumber', - // }, - // { - // title: '资料份数', - // dataIndex: 'profileNumber', - // }, - // { - // title: '宣讲次数', - // dataIndex: 'propagateNumber', - // }, - // { - // title: '座谈次数', - // dataIndex: 'discussionNumber', - // }, - // { - // title: '其他活动次数', - // dataIndex: 'otherActivitiesNumber', - // }, - // { - // title: '合计覆盖人数', - // dataIndex: 'coveragePeopleNumber', - // }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '单位', - field: 'departmentId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: departList, - resultField: 'result', - labelField: 'departName', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: (_val: string, option: Recordable) => { - formModel.medicalCenterId = ''; - formModel.deptCode = option?.orgCode || ''; - }, - onDeselect: () => { - formModel.medicalCenterId = ''; - }, - }; - }, - }, - { - label: '医疗点', - field: 'medicalCenterId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel?.deptCode || 'ascas', - }, - resultField: 'result', - labelField: 'name', - valueField: 'id', - immediate: true, - onFocus: () => { - if (!formModel.departmentId) { - return message.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '单位orgCode', - field: 'deptCode', - component: 'Input', - show: false, - }, - { - label: '宣教类型', - field: 'publicityType', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'publicity_type', - }; - }, - }, -]; -// @ts-ignore -// @ts-ignore -// @ts-ignore -export const drawerFormSchema: FormSchema[] = [ - { - label: '单位', - field: 'departmentId', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: departList, - resultField: 'result', - labelField: 'departName', - valueField: 'id', - immediate: true, - onChange: (_value: string, option: Recordable) => { - formModel.medicalCenterId = ''; - formModel.deptCode = option?.orgCode || ''; - }, - onDeselect: () => { - formModel.medicalCenterId = ''; - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '单位orgCode', - field: 'deptCode', - component: 'Input', - show: false, - }, - { - label: '医疗点', - field: 'medicalCenterId', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - resultField: 'result', - labelField: 'name', - valueField: 'id', - params: { - departCode: formModel?.deptCode || 'ascas', - }, - immediate: true, - onFocus: () => { - if (!formModel.departmentId) { - return message.warn('请先选择单位!'); - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '宣教主题名称', - field: 'themeName', - component: 'Input', - required: true, - }, - { - label: '宣教日期', - field: 'propagateDate', - component: 'DatePicker', - required: true, - }, - { - label: '宣教类型', - field: 'publicityType', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'publicity_type', - type: 'radio', - }; - }, - }, - // { - // label: '形式', - // field: 'propagateType', - // component: 'RadioGroup', - // componentProps: () => propagateType, - // }, - { - label: '覆盖区域', - field: 'propagateArea', - component: 'Input', - }, - { - label: '培训资料', - field: 'trainingMaterials', - component: 'JImageUpload', - componentProps: () => ({ fileMax: 999 }), - }, - { - label: '现场培训照片', - field: 'trainingPhoto', - component: 'JImageUpload', - componentProps: () => ({ fileMax: 999 }), - }, - { - label: '参加活动人数', - field: 'participateNum', - component: 'InputNumber', - componentProps: () => ({ style: { width: '100%' } }), - }, - // { - // label: '视频点击', - // field: 'videoClickNumber', - // component: 'InputNumber', - // componentProps: () => inputWidth, - // // ifShow: ({ values }) => ['0'].includes(values.propagateType), - // }, - // { - // label: '图文点击', - // field: 'imageTextClickNumber', - // component: 'InputNumber', - // componentProps: () => inputWidth, - // // ifShow: ({ values }) => ['0'].includes(values.propagateType), - // }, - // { - // label: '展板期数', - // field: 'displayBoardNumber', - // component: 'InputNumber', - // componentProps: () => inputWidth, - // }, - // { - // label: '资料份数', - // field: 'profileNumber', - // component: 'InputNumber', - // componentProps: () => inputWidth, - // }, - // { - // label: '宣讲次数', - // field: 'propagateNumber', - // component: 'InputNumber', - // componentProps: () => inputWidth, - // }, - // { - // label: '座谈次数', - // field: 'discussionNumber', - // component: 'InputNumber', - // componentProps: () => inputWidth, - // }, - // { - // label: '其他活动次数', - // field: 'otherActivitiesNumber', - // component: 'InputNumber', - // componentProps: () => inputWidth, - // }, - // { - // label: '合计覆盖人数', - // field: 'coveragePeopleNumber', - // component: 'InputNumber', - // componentProps: () => inputWidth, - // }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; diff --git a/src/views/medicalCenter/education/education.vue b/src/views/medicalCenter/education/education.vue deleted file mode 100644 index d3e60a2..0000000 --- a/src/views/medicalCenter/education/education.vue +++ /dev/null @@ -1,117 +0,0 @@ - - - diff --git a/src/views/medicalCenter/helpCenter/helpCenter.vue b/src/views/medicalCenter/helpCenter/helpCenter.vue deleted file mode 100644 index 6418c0d..0000000 --- a/src/views/medicalCenter/helpCenter/helpCenter.vue +++ /dev/null @@ -1,49 +0,0 @@ - - - diff --git a/src/views/medicalCenter/medicalAnalysis/ambulance/ambulance.api.ts b/src/views/medicalCenter/medicalAnalysis/ambulance/ambulance.api.ts deleted file mode 100644 index 660770b..0000000 --- a/src/views/medicalCenter/medicalAnalysis/ambulance/ambulance.api.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - globalList = '/medical-center/ambulance/getAllAmbulanceData', - singleList = '/medical-center/ambulance/queryDataByYiliaodian', - importExcel = '/medical-center/ambulance/excelReadAmbulance', - selectList = '/medical-center/ambulance/queryYiliaodian', -} -export const getImport = Api.importExcel; -// 救护车-全部 -export const getGlobalList = (params) => defHttp.get({ url: Api.globalList, params }); - -//救护车-单个 -export const getSingleList = (params) => defHttp.get({ url: Api.singleList, params }); - -// 救护车 - 医疗点 -export const getSelect = (params) => defHttp.get({ url: Api.selectList, params }); diff --git a/src/views/medicalCenter/medicalAnalysis/ambulance/ambulanceList.vue b/src/views/medicalCenter/medicalAnalysis/ambulance/ambulanceList.vue deleted file mode 100644 index 6e15d6a..0000000 --- a/src/views/medicalCenter/medicalAnalysis/ambulance/ambulanceList.vue +++ /dev/null @@ -1,704 +0,0 @@ - - - diff --git a/src/views/medicalCenter/medicalAnalysis/analysisPoint/analysisPoint.api.ts b/src/views/medicalCenter/medicalAnalysis/analysisPoint/analysisPoint.api.ts deleted file mode 100644 index f4989df..0000000 --- a/src/views/medicalCenter/medicalAnalysis/analysisPoint/analysisPoint.api.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - globalAnalysis = '/medical-center/yiliaodian/getAllYilidiaoData', - globalImportExcel = '/medical-center/yiliaodian/excelReadYiliaodian', - medicalSelect = '/medical-center/yiliaodian/allYiliaodian', - singleAnalysis = '/medical-center/yiliaodian/queryYiliaodianByName', -} -export const getGlobalImport = Api.globalImportExcel; - -export const globalList = (params) => defHttp.get({ url: Api.globalAnalysis, params }); - -// 医疗点下拉框 -export const getMedical = (params) => defHttp.get({ url: Api.medicalSelect, params }); - -// 单个医疗点数据 -export const singleAnalysis = (params) => defHttp.get({ url: Api.singleAnalysis, params }); diff --git a/src/views/medicalCenter/medicalAnalysis/analysisPoint/analysisPointList.vue b/src/views/medicalCenter/medicalAnalysis/analysisPoint/analysisPointList.vue deleted file mode 100644 index 8c11cf6..0000000 --- a/src/views/medicalCenter/medicalAnalysis/analysisPoint/analysisPointList.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - diff --git a/src/views/medicalCenter/medicalAnalysis/analysisPoint/components/AllAnalysis.vue b/src/views/medicalCenter/medicalAnalysis/analysisPoint/components/AllAnalysis.vue deleted file mode 100644 index b705135..0000000 --- a/src/views/medicalCenter/medicalAnalysis/analysisPoint/components/AllAnalysis.vue +++ /dev/null @@ -1,478 +0,0 @@ - - - - - diff --git a/src/views/medicalCenter/medicalAnalysis/analysisPoint/components/PartAnalysis.vue b/src/views/medicalCenter/medicalAnalysis/analysisPoint/components/PartAnalysis.vue deleted file mode 100644 index ffff3b4..0000000 --- a/src/views/medicalCenter/medicalAnalysis/analysisPoint/components/PartAnalysis.vue +++ /dev/null @@ -1,687 +0,0 @@ - - - - - diff --git a/src/views/medicalCenter/medicalAnalysis/components/FileUpload.vue b/src/views/medicalCenter/medicalAnalysis/components/FileUpload.vue deleted file mode 100644 index e3d7487..0000000 --- a/src/views/medicalCenter/medicalAnalysis/components/FileUpload.vue +++ /dev/null @@ -1,51 +0,0 @@ - - - - - diff --git a/src/views/medicalCenter/medicalAnalysis/components/LineChart.vue b/src/views/medicalCenter/medicalAnalysis/components/LineChart.vue deleted file mode 100644 index 7b325b6..0000000 --- a/src/views/medicalCenter/medicalAnalysis/components/LineChart.vue +++ /dev/null @@ -1,163 +0,0 @@ - - - - - diff --git a/src/views/medicalCenter/medicalAnalysis/components/NoChart.vue b/src/views/medicalCenter/medicalAnalysis/components/NoChart.vue deleted file mode 100644 index 5d9b7c3..0000000 --- a/src/views/medicalCenter/medicalAnalysis/components/NoChart.vue +++ /dev/null @@ -1,30 +0,0 @@ - - - - - diff --git a/src/views/medicalCenter/medicalAnalysis/components/PieChart.vue b/src/views/medicalCenter/medicalAnalysis/components/PieChart.vue deleted file mode 100644 index 3be20ea..0000000 --- a/src/views/medicalCenter/medicalAnalysis/components/PieChart.vue +++ /dev/null @@ -1,81 +0,0 @@ - - - - - diff --git a/src/views/medicalCenter/medicalAnalysis/rescueItems/rescueItems.api.ts b/src/views/medicalCenter/medicalAnalysis/rescueItems/rescueItems.api.ts deleted file mode 100644 index 3b6249d..0000000 --- a/src/views/medicalCenter/medicalAnalysis/rescueItems/rescueItems.api.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; - -enum Api { - globalList = '/medical-center/medicineCase/getAllYpxData', - singleList = '/medical-center/medicineCase/getYpxByYiliaodian', - importExcel = '/medical-center/medicineCase/excelReadYpx', - selectList = '/medical-center/medicineCase/queryYiliaodian', -} -export const getImport = Api.importExcel; -// 救助物品-全部 -export const getGlobalList = (params) => defHttp.get({ url: Api.globalList, params }); - -//救助物品-单个 -export const getSingleList = (params) => defHttp.get({ url: Api.singleList, params }); - -// 救助物品 - 医疗点 -export const getSelect = (params) => defHttp.get({ url: Api.selectList, params }); diff --git a/src/views/medicalCenter/medicalAnalysis/rescueItems/rescueItemsList.vue b/src/views/medicalCenter/medicalAnalysis/rescueItems/rescueItemsList.vue deleted file mode 100644 index 9879b8c..0000000 --- a/src/views/medicalCenter/medicalAnalysis/rescueItems/rescueItemsList.vue +++ /dev/null @@ -1,460 +0,0 @@ - - - diff --git a/src/views/medicalCenter/medicalMedicine/components/medicalMedicineDrawer.vue b/src/views/medicalCenter/medicalMedicine/components/medicalMedicineDrawer.vue deleted file mode 100644 index c1084f8..0000000 --- a/src/views/medicalCenter/medicalMedicine/components/medicalMedicineDrawer.vue +++ /dev/null @@ -1,64 +0,0 @@ - - - - diff --git a/src/views/medicalCenter/medicalMedicine/components/medicalMedicineModal.vue b/src/views/medicalCenter/medicalMedicine/components/medicalMedicineModal.vue deleted file mode 100644 index 08b480d..0000000 --- a/src/views/medicalCenter/medicalMedicine/components/medicalMedicineModal.vue +++ /dev/null @@ -1,104 +0,0 @@ - - - diff --git a/src/views/medicalCenter/medicalMedicine/medicalMedicine.api.ts b/src/views/medicalCenter/medicalMedicine/medicalMedicine.api.ts deleted file mode 100644 index b44ee32..0000000 --- a/src/views/medicalCenter/medicalMedicine/medicalMedicine.api.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -export enum Api { - list = '/medical-center/medicalCenter/medicalMedicine/list', - save = '/medical-center/medicalCenter/medicalMedicine/add', - edit = '/medical-center/medicalCenter/medicalMedicine/edit', - deleteOne = '/medical-center/medicalCenter/medicalMedicine/delete', - deleteBatch = '/medical-center/medicalCenter/medicalMedicine/deleteBatch', - importExcel = '/medical-center/medicalCenter/medicalMedicine/importExcel', - exportXls = '/medical-center/medicalCenter/medicalMedicine/exportXls', - queryById = '/medical-center/medicalCenter/medicalMedicine/queryById', - departList = '/sys/sysDepart/allSecondaryDepartsNewBack', - medicalCenterList = '/medical-center/medicalCenter/medicalResource/allByDepartId', -} - -export const getExportXlsUrl = Api.exportXls; -export const importExcel = Api.importExcel; -//批量导入 -export const importFilesApi = (params: any) => defHttp.get({ url: Api.importExcel, params }); -export const list = (params) => defHttp.get({ url: Api.list, params }); -//医疗点-用户单位 -export const departList = (params = {}) => defHttp.get({ url: Api.departList, params }); -//医疗点集合 -export const medicalCenterList = (params = {}) => defHttp.get({ url: Api.medicalCenterList, params }); -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - * @param handleSuccess - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; -export const queryById = (params) => defHttp.get({ url: Api.queryById, params }); diff --git a/src/views/medicalCenter/medicalMedicine/medicalMedicine.data.ts b/src/views/medicalCenter/medicalMedicine/medicalMedicine.data.ts deleted file mode 100644 index 5b79b0d..0000000 --- a/src/views/medicalCenter/medicalMedicine/medicalMedicine.data.ts +++ /dev/null @@ -1,513 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; -import { Image, message } from 'ant-design-vue'; -import { departList } from '/@/views/medicalCenter/education/education.api'; -import { medicalCenterList } from '/@/views/medicalCenter/medicalMedicine/medicalMedicine.api'; - -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '药品名称', - align: 'center', - dataIndex: 'medicineName', - }, - { - title: '别名', - align: 'center', - dataIndex: 'medicineNameAlias', - }, - { - title: '药品单位', - align: 'center', - dataIndex: 'medicineUnit', - }, - { - title: '药品规格', - align: 'center', - dataIndex: 'medicineSpecification', - }, - { - title: '药品类别', - align: 'center', - dataIndex: 'medicineType', - }, - { - title: '说明书', - dataIndex: 'specification', - // customRender: ({ text }) => { - // console.log(text); - // return h(Image, { - // placeholder: true, - // src: getFileAccessHttpUrl(text), - // height: 50, - // width: 50, - // fallback: getDefaultImage(), - // previewMask: () => { - // return h(EyeOutlined, { - // style: { - // color: 'white', - // }, - // }); - // }, - // }); - // }, - }, - { - title: '入库日期', - align: 'center', - dataIndex: 'warehousingDate', - }, - { - title: '现存数量', - align: 'center', - dataIndex: 'medicineNumber', - }, - { - title: '进价(元)', - align: 'center', - dataIndex: 'buyingPrice', - }, - { - title: '售价(元)', - align: 'center', - dataIndex: 'sellingPrice', - }, - { - title: '售出数量', - align: 'center', - dataIndex: 'sellingNumber', - }, - { - title: '销售金额(元)', - align: 'center', - dataIndex: 'sellingMoney', - }, - { - title: '所属单位', - align: 'center', - dataIndex: 'departmentName', - }, - { - title: '医疗点', - align: 'center', - dataIndex: 'medicalCenterName', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '药物名称', - field: 'medicineName', - component: 'Input', - }, - { - label: '所属单位', - field: 'departmentId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: departList, - resultField: 'result', - labelField: 'departName', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: (_val: string, option: Recordable) => { - formModel.medicalCenterId = ''; - formModel.deptCode = option?.orgCode || ''; - }, - onDeselect: () => { - formModel.medicalCenterId = ''; - }, - }; - }, - }, - { - label: '单位orgCode', - field: 'deptCode', - component: 'Input', - show: false, - }, - { - label: '所属医疗点', - field: 'medicalCenterId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departId: formModel?.departmentId || 'ascas', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - onFocus: () => { - if (!formModel?.departmentId) { - return message.warn('请先选择所属单位'); - } - }, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, -]; -export const drawerFormSchema: FormSchema[] = [ - { - label: '所属单位', - field: 'departmentId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: (_value: string, option: Recordable) => { - formModel.medicalCenterId = ''; - formModel.deptCode = option?.orgCode || ''; - }, - onDeselect: () => { - formModel.medicalCenterId = ''; - }, - }; - }, - dynamicRules: () => { - return [{ required: true, message: '请选择所属单位' }]; - }, - }, - { - label: '单位orgCode', - field: 'deptCode', - component: 'Input', - show: false, - }, - { - label: '所属医疗点', - field: 'medicalCenterId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departId: formModel?.departmentId || 'ascas', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - onFocus: () => { - if (!formModel?.departmentId) { - return message.warn('请先选择所属单位'); - } - }, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - }; - }, - dynamicRules: () => { - return [{ required: true, message: '请选择所属医疗点' }]; - }, - }, - { - label: '药品名称', - field: 'medicineName', - component: 'Input', - dynamicRules: () => { - return [{ required: true, message: '请输入药品名称!' }]; - }, - }, - { - label: '别名', - field: 'medicineNameAlias', - component: 'Input', - }, - { - label: '药品单位', - field: 'medicineUnit', - component: 'Input', - dynamicRules: () => { - return [{ required: true, message: '请输入药品单位!' }]; - }, - }, - { - label: '药品规格', - field: 'medicineSpecification', - component: 'Input', - dynamicRules: () => { - return [{ required: true, message: '请输入药品规格!' }]; - }, - }, - { - label: '药品类别', - field: 'medicineType', - component: 'Input', - dynamicRules: () => { - return [{ required: true, message: '请输入药品类别!' }]; - }, - }, - { - label: '入库日期', - field: 'warehousingDate', - component: 'DatePicker', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - }; - }, - dynamicRules: () => { - return [{ required: true, message: '请输入入库日期!' }]; - }, - }, - { - label: '现存数量', - field: 'medicineNumber', - component: 'InputNumber', - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - dynamicRules: () => { - return [ - { required: true, message: '请输入现存数量!' }, - { - validator: (_, value: any) => { - if (!value || value > 0) { - return Promise.resolve(); - } else { - return Promise.reject('请输入大于0的数字'); - } - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '进价(元)', - field: 'buyingPrice', - component: 'InputNumber', - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - dynamicRules: () => { - return [ - { required: true, message: '请输入进价(元)!' }, - { - validator: (_, value: any) => { - if (!value || value > 0) { - return Promise.resolve(); - } else { - return Promise.reject('请输入大于0的数字'); - } - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '售价(元)', - field: 'sellingPrice', - component: 'InputNumber', - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - dynamicRules: () => { - return [ - { required: true, message: '请输入售价(元)!' }, - { - validator: (_, value: any) => { - if (!value || value > 0) { - return Promise.resolve(); - } else { - return Promise.reject('请输入大于0的数字'); - } - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '售出数量', - field: 'sellingNumber', - component: 'InputNumber', - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - dynamicRules: () => { - return [ - { - validator: (_, value: any) => { - if (!value || value > 0) { - return Promise.resolve(); - } else { - return Promise.reject('请输入大于0的数字'); - } - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '销售金额', - field: 'sellingMoney', - component: 'InputNumber', - componentProps: () => { - return { - style: { - width: '100%', - }, - }; - }, - dynamicRules: () => { - return [ - { - validator: (_, value: any) => { - if (!value || value > 0) { - return Promise.resolve(); - } else { - return Promise.reject('请输入大于0的数字'); - } - }, - trigger: 'blur', - }, - ]; - }, - }, - { - label: '说明书', - field: 'specification', - component: 'JImageUpload', - componentProps: () => { - return { - tipText: '支持批量上传,上传格式为.png.jpg文件', - accept: '.png,.jpg', - fileMax: 10, - }; - }, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -export const proSearchFormSchema: FormSchema[] = [ - { - label: '药物名称', - field: 'medicineName', - component: 'Input', - }, -]; -//医药批量导入form -export const importFormSchema: FormSchema[] = [ - { - label: '所属单位', - field: 'departmentId', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: departList, - resultField: 'result', - labelField: 'departName', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: (_val: string, option: Recordable) => { - formModel.medicalCenterId = ''; - formModel.deptCode = option?.orgCode || ''; - }, - onDeselect: () => { - formModel.medicalCenterId = ''; - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '所属医疗点', - field: 'medicalCenterId', - component: 'ApiSelect', - required: true, - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departId: formModel?.departmentId || 'ascas', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - onFocus: () => { - if (!formModel?.departmentId) { - return message.warn('请先选择所属单位'); - } - }, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '文件导入', - field: 'fileComponent', - component: 'Input', - slot: 'importXls', - }, -]; diff --git a/src/views/medicalCenter/medicalMedicine/medicalMedicine.vue b/src/views/medicalCenter/medicalMedicine/medicalMedicine.vue deleted file mode 100644 index 48708d2..0000000 --- a/src/views/medicalCenter/medicalMedicine/medicalMedicine.vue +++ /dev/null @@ -1,202 +0,0 @@ - - - - diff --git a/src/views/medicalCenter/medicalStaff/components/medicalStaffDrawer.vue b/src/views/medicalCenter/medicalStaff/components/medicalStaffDrawer.vue deleted file mode 100644 index e03fb3e..0000000 --- a/src/views/medicalCenter/medicalStaff/components/medicalStaffDrawer.vue +++ /dev/null @@ -1,75 +0,0 @@ - - - - diff --git a/src/views/medicalCenter/medicalStaff/medicalStaff.api.ts b/src/views/medicalCenter/medicalStaff/medicalStaff.api.ts deleted file mode 100644 index 3e438bf..0000000 --- a/src/views/medicalCenter/medicalStaff/medicalStaff.api.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical-center/medicalCenter/medicalStaff/listCustom', - save = '/medical-center/medicalCenter/medicalStaff/add', - edit = '/medical-center/medicalCenter/medicalStaff/edit', - deleteOne = '/medical-center/medicalCenter/medicalStaff/delete', - deleteBatch = '/medical-center/medicalCenter/medicalStaff/deleteBatch', - queryById = '/medical-center/medicalCenter/medicalStaff/queryById', - exportXls = '/medical-center/medicalCenter/medicalStaff/exportXls', -} -export const getExportXlsUrl = Api.exportXls; -export const list = (params) => defHttp.get({ url: Api.list, params }); -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - * @param handleSuccess - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; -export const queryById = (params) => defHttp.get({ url: Api.queryById, params }); diff --git a/src/views/medicalCenter/medicalStaff/medicalStaff.data.ts b/src/views/medicalCenter/medicalStaff/medicalStaff.data.ts deleted file mode 100644 index 9ee90bb..0000000 --- a/src/views/medicalCenter/medicalStaff/medicalStaff.data.ts +++ /dev/null @@ -1,456 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { render } from '/@/utils/common/renderUtils'; -import { Image, message } from 'ant-design-vue'; -import { getFamaleDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; -import { departList, medicalCenterList } from '/@/views/medicalCenter/treatment/treatment.api'; -import moment from 'moment'; -import { rules } from '/@/utils/helper/validator'; -import { getIDCardRegExp } from '/@/utils'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; -import { checkPassword } from '/@/hooks/checkPassword/checkPassword'; -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '图片', - align: 'center', - dataIndex: 'avatar', - width: 100, - customRender: ({ text, record }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 50, - width: 50, - fallback: getFamaleDefaultImage(record.sex), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '姓名', - align: 'center', - dataIndex: 'realname', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex', - width: 70, - customRender: ({ text }) => { - if (!text) return ''; - return render.renderDict(text, 'sex2'); - }, - }, - { - title: '年龄', - width: 70, - align: 'center', - dataIndex: 'age', - }, - { - title: '身份证', - align: 'center', - dataIndex: 'idCard', - }, - { - title: '联系电话', - align: 'center', - dataIndex: 'mobile', - }, - { - title: '单位', - align: 'center', - dataIndex: 'departName', - }, - { - title: '所属医疗点', - align: 'center', - dataIndex: 'resourceName', - }, - { - title: '职称', - align: 'center', - dataIndex: 'job_dictText', - }, - { - title: '岗位', - align: 'center', - dataIndex: 'post_dictText', - }, - { - title: '驻点时间', - align: 'center', - dataIndex: 'joinTime', - customRender: ({ text }) => { - if (!text) return ''; - try { - return moment(text).format('YYYY-MM-DD'); - } catch { - return ''; - } - }, - }, - { - title: '毕业院校', - align: 'center', - dataIndex: 'graduationSchool', - }, - { - title: '工作时间', - align: 'center', - dataIndex: 'workTime', - }, - { - title: '开启状态', - align: 'center', - dataIndex: 'status', - fixed: 'right', - width: 100, - }, - { - title: '开启状态', - align: 'center', - dataIndex: 'loading', - ifShow: false, - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '单位', - field: 'departCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getSecondaryDepartmentList, - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => {}, - onDeselect: () => { - formModel.medicalCenterId = ''; - }, - }; - }, - }, - { - label: '所属医疗点', - field: 'resourceId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel.departCode || 'abc', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onFocus: () => { - if (!formModel.departCode) { - return message.warning('请先选择单位'); - } - }, - }; - }, - }, -]; -export const drawerFormSchema: FormSchema[] = [ - { - label: '主键', - field: 'id', - component: 'Input', - show: false, - }, - { - label: '用户账号', - field: 'username', - component: 'Input', - componentProps: ({ formModel }) => { - return { - onInput: () => { - formModel.username = formModel.username.replace(/[^a-zA-Z0-9_]/g, ''); - }, - autocomplete: 'off', - }; - }, - dynamicDisabled: ({ values }) => { - return !!values.id; - }, - required: true, - // dynamicRules: ({ model, schema }) => { - // return !model?.id && rules.duplicateCheckRule('sys_user', 'username', model, schema, true); - // }, - }, - { - label: '登录密码', - field: 'password', - component: 'StrengthMeter', - componentProps: () => { - return { - autocomplete: 'new-password', - }; - }, - dynamicRules: () => { - return [ - { - required: true, - validator: (_, value) => { - if (!value) { - return Promise.reject('请输入登录密码'); - } - let { message } = checkPassword(value); - if (message === 'ok') { - return Promise.resolve(); - } else { - return Promise.reject(message); - } - }, - trigger: 'blur', - }, - ]; - }, - ifShow: ({ values }) => { - return !values.id; - }, - }, - { - label: '确认密码', - field: 'confirmPassword', - component: 'InputPassword', - dynamicRules: ({ values }) => rules.confirmPassword(values, true), - ifShow: ({ values }) => { - return !values.id; - }, - }, - { - label: '姓名', - field: 'realname', - component: 'Input', - required: true, - }, - { - label: '性别', - field: 'sex', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'sex2', - type: 'radio', - }; - }, - }, - - { - label: '头像', - field: 'avatar', - // required: true, - component: 'JImageUpload', - componentProps: { - // @ts-ignore - maxCount: 1, - }, - }, - { - label: '生日', - field: 'birthday', - component: 'DatePicker', - }, - { - label: '身份证', - field: 'idCard', - component: 'Input', - rules: [ - { - pattern: getIDCardRegExp(), - message: '身份证号码格式有误', - required: true, - }, - ], - }, - { - label: '联系电话', - field: 'mobile', - component: 'Input', - rules: [ - { required: true, message: '请输入联系电话', trigger: 'blur' }, - { pattern: /^1[3456789]\d{9}$/, message: '手机号码格式有误' }, - ], - }, - { - label: '所属单位', - field: 'departCode', - required: true, - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: departList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel['resourceId'] = ''; - }, - }; - }, - dynamicRules: () => { - return [{ required: true, message: '请选择所属单位' }]; - }, - }, - { - label: '所属医疗点', - field: 'resourceId', - required: true, - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel?.departCode || 'abab123', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - onFocus: () => { - if (!formModel?.departCode) { - return message.warn('请先选择所属单位'); - } - }, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '职称', - field: 'job', - component: 'JDictSelectTag', - required: true, - componentProps: () => { - return { - dictCode: 'z_doct_lev', - }; - }, - }, - { - label: '岗位', - field: 'post', - component: 'JDictSelectTag', - required: true, - componentProps: () => { - return { - dictCode: 'medical_center_staff_type', - }; - }, - }, - { - label: '驻点时间', - field: 'joinTime', - component: 'DatePicker', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - }; - }, - required: true, - }, - { - label: '学历', - field: 'education', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'education', - }; - }, - }, - { - label: '毕业院校', - field: 'graduationSchool', - component: 'Input', - }, - { - label: '毕业时间', - field: 'graduationTime', - component: 'DatePicker', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - }; - }, - }, - { - label: '工作时间', - field: 'workTime', - component: 'DatePicker', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - }; - }, - }, - { - label: '简介', - field: 'staffDesc', - component: 'InputTextArea', - }, - { - label: '开启状态', - field: 'status', - component: 'JDictSelectTag', - componentProps: () => { - return { - options: [ - { label: '开启', value: '0' }, - { label: '关闭', value: '1' }, - ], - type: 'radio', - }; - }, - defaultValue: '0', - }, -]; diff --git a/src/views/medicalCenter/medicalStaff/medicalStaff.vue b/src/views/medicalCenter/medicalStaff/medicalStaff.vue deleted file mode 100644 index 3134eb0..0000000 --- a/src/views/medicalCenter/medicalStaff/medicalStaff.vue +++ /dev/null @@ -1,173 +0,0 @@ - - - diff --git a/src/views/medicalCenter/partnerHospital/components/addAnAdministratorModal.vue b/src/views/medicalCenter/partnerHospital/components/addAnAdministratorModal.vue deleted file mode 100644 index c84528c..0000000 --- a/src/views/medicalCenter/partnerHospital/components/addAnAdministratorModal.vue +++ /dev/null @@ -1,66 +0,0 @@ - - - - diff --git a/src/views/medicalCenter/partnerHospital/components/addJurisdictionPoint.vue b/src/views/medicalCenter/partnerHospital/components/addJurisdictionPoint.vue deleted file mode 100644 index df88c69..0000000 --- a/src/views/medicalCenter/partnerHospital/components/addJurisdictionPoint.vue +++ /dev/null @@ -1,117 +0,0 @@ - - - - diff --git a/src/views/medicalCenter/partnerHospital/components/hospitalAdministratorModal.vue b/src/views/medicalCenter/partnerHospital/components/hospitalAdministratorModal.vue deleted file mode 100644 index 3ca7e4f..0000000 --- a/src/views/medicalCenter/partnerHospital/components/hospitalAdministratorModal.vue +++ /dev/null @@ -1,178 +0,0 @@ - - - - diff --git a/src/views/medicalCenter/partnerHospital/components/jurisdictionDetailDrawer.vue b/src/views/medicalCenter/partnerHospital/components/jurisdictionDetailDrawer.vue deleted file mode 100644 index ab082ce..0000000 --- a/src/views/medicalCenter/partnerHospital/components/jurisdictionDetailDrawer.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - - diff --git a/src/views/medicalCenter/partnerHospital/components/jurisdictionModal.vue b/src/views/medicalCenter/partnerHospital/components/jurisdictionModal.vue deleted file mode 100644 index 1c787b5..0000000 --- a/src/views/medicalCenter/partnerHospital/components/jurisdictionModal.vue +++ /dev/null @@ -1,180 +0,0 @@ - - - - - diff --git a/src/views/medicalCenter/partnerHospital/components/partnerHospitalDrawer.vue b/src/views/medicalCenter/partnerHospital/components/partnerHospitalDrawer.vue deleted file mode 100644 index 83cf34f..0000000 --- a/src/views/medicalCenter/partnerHospital/components/partnerHospitalDrawer.vue +++ /dev/null @@ -1,123 +0,0 @@ - - - - diff --git a/src/views/medicalCenter/partnerHospital/partnerHospital.api.ts b/src/views/medicalCenter/partnerHospital/partnerHospital.api.ts deleted file mode 100644 index 2b9b39e..0000000 --- a/src/views/medicalCenter/partnerHospital/partnerHospital.api.ts +++ /dev/null @@ -1,148 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); - -export enum Api { - list = '/medical-center/medicalCenter/medicalHospital/list', - save = '/medical-center/medicalCenter/medicalHospital/add', - edit = '/medical-center/medicalCenter/medicalHospital/edit', - queryById = '/medical-center/medicalCenter/medicalHospital/queryById', - deleteOne = '/medical-center/medicalCenter/medicalHospital/delete', - deleteBatch = '/medical-center/medicalCenter/medicalHospital/deleteBatch', - administratorList = '/medical-center/medicalCenter/medicalHospitalManager/list', - administratorSave = '/medical-center/medicalCenter/medicalHospitalManager/add', - administratorEdit = '/medical-center/medicalCenter/medicalHospitalManager/edit', - administratorDeleteOne = '/medical-center/medicalCenter/medicalHospitalManager/delete', - administratorDeleteBatch = '/medical-center/medicalCenter/medicalHospitalManager/deleteBatch', - jurisdictionList = '/medical-center/medicalCenter/medicalResource/selectResourceByHospital', - jurisdictionQuery = '/medical-center/medicalCenter/medicalResource/queryById', - addHospitalToResource = '/medical-center/medicalCenter/medicalResource/addHospitalToResource', - removeHospitalToResource = '/medical-center/medicalCenter/medicalResource/removeHospitalToResource', - getExportXlsUrl = '/medical-center/medicalCenter/medicalHospital/exportXls', -} -export const getExportXlsUrl = Api.getExportXlsUrl; -export const list = (params: any) => defHttp.get({ url: Api.list, params }); -export const deleteOne = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -export const batchDelete = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -export const queryById = (params: any) => defHttp.get({ url: Api.queryById, params }); -/** - *新增或修改 - * @param params - * @param isUpdate - */ -export const saveOrUpdate = (params: any, isUpdate: boolean) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -//医院管理员列表 -export const administratorList = (params: any) => defHttp.get({ url: Api.administratorList, params }); -/** - *新增或修改 - * @param params - * @param isUpdate - */ -export const administratorSaveOrUpdate = (params: any, isUpdate: boolean) => { - const url = isUpdate ? Api.administratorEdit : Api.administratorSave; - return defHttp.post({ url: url, params }); -}; -/** - *删除 - * @param params - * @param handleSuccess - */ -export const administratorDeleteOne = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.administratorDeleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - *批量删除 - * @param params - * @param handleSuccess - */ -export const administratorDeleteBatch = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.delete({ url: Api.administratorDeleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -//管辖点列表 -export const jurisdictionList = (params: any) => defHttp.get({ url: Api.jurisdictionList, params }); -//新增管辖点 -export const addHospitalToResource = (params: any) => defHttp.get({ url: Api.addHospitalToResource, params }); -//取消管辖 -export const removeHospitalOne = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认取消管辖', - content: '是否取消选中数据管辖', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: Api.removeHospitalToResource, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -//管辖点详请 -export const jurisdictionDetail = (params: any) => defHttp.get({ url: Api.jurisdictionQuery, params }); -//批量取消管辖 -export const removeHospitalToResource = (params: any, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认取消管辖', - content: '是否取消选中数据管辖', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.get({ url: Api.removeHospitalToResource, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/medicalCenter/partnerHospital/partnerHospital.data.ts b/src/views/medicalCenter/partnerHospital/partnerHospital.data.ts deleted file mode 100644 index d48168d..0000000 --- a/src/views/medicalCenter/partnerHospital/partnerHospital.data.ts +++ /dev/null @@ -1,416 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { EyeOutlined } from '@ant-design/icons-vue'; -import { rules } from '/@/utils/helper/validator'; -import { departList } from '/@/views/medicalCenter/education/education.api'; -import { checkPassword } from '/@/hooks/checkPassword/checkPassword'; -// 合作医院-表格列 -export const columns: BasicColumn[] = [ - { - title: '医院名称', - dataIndex: 'resourceName', - }, - { - title: '医院主图', - dataIndex: 'hospitalLogo', - customRender: ({ text }) => { - const t = text ? text.replace(',', '') : null; - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(t), - height: 50, - width: 50, - fallback: getDefaultImage(), - previewMask: () => { - return h(EyeOutlined, { - style: { - color: 'white', - }, - }); - }, - }); - }, - }, - { - title: '医院级别', - dataIndex: 'resourceLevel_dictText', - }, - { - title: '医院简介', - dataIndex: 'resourceIntroduction', - }, - { - title: '详细地址', - dataIndex: 'address', - }, -]; -// 合作医院-查询表单 -export const searchFormSchema: FormSchema[] = [ - { - field: 'resourceName', - label: '医院名称', - component: 'Input', - colProps: { - span: 8, - }, - }, - { - field: 'resourceLevel', - label: '医院级别', - component: 'JDictSelectTag', - componentProps: () => { - return { - dictCode: 'hospital_level', - }; - }, - }, -]; -// 合作医院-新增表单 -export const formSchema: FormSchema[] = [ - { - field: 'resourceName', - label: '医院名称', - component: 'Input', - required: true, - }, - { - field: 'hospitalLogo', - label: '医院主图', - component: 'JImageUpload', - componentProps: () => { - return { - maxCount: 1, - }; - }, - }, - { - field: 'resourceLevel', - label: '医院级别', - component: 'JDictSelectTag', - required: true, - componentProps: () => { - return { - dictCode: 'hospital_level', - }; - }, - }, - { - field: 'address', - label: '详细地址', - component: 'Input', - slot: 'address', - required: true, - }, - { - label: '地址', - field: 'customAddress', - component: 'Input', - slot: 'customAddress', - rules: [{ required: true }], - ifShow: false, - }, - { - label: '经度', - field: 'longitude', - component: 'InputNumber', - ifShow: false, - }, - { - label: '纬度', - field: 'latitude', - component: 'InputNumber', - ifShow: false, - }, - { - field: 'resourceIntroduction', - label: '医院简介', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 4, - }; - }, - }, - { - field: 'id', - label: 'id', - component: 'Input', - show: false, - }, -]; -//管辖范围-表格列 -export const jurisdictionColumns: BasicColumn[] = [ - { - title: '医疗点名称', - dataIndex: 'name', - }, - { - title: '所属单位', - dataIndex: 'departName', - }, - { - title: '医疗点地址', - dataIndex: 'address', - }, - { - title: '负责人', - dataIndex: 'adminUser', - }, - { - title: '设立时间', - dataIndex: 'setUpTime', - }, -]; -//管辖范围-查询表单 -export const jurisdictionSearchForm: FormSchema[] = [ - { - field: 'name', - label: '医疗点名称', - component: 'Input', - }, - { - label: '所属单位', - field: 'departCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: departList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: (_val: string, option: Recordable) => { - formModel.medicalCenterId = ''; - formModel.deptCode = option?.orgCode || ''; - }, - onDeselect: () => { - formModel.medicalCenterId = ''; - }, - }; - }, - }, -]; -//新增管辖点-查询表单 -export const addJurisdictionSearchForm: FormSchema[] = [ - { - field: 'name', - label: '医疗点名称', - component: 'Input', - }, - { - label: '所属单位', - field: 'departCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: departList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, -]; -//新增管辖点-表格列表 -export const addJurisdictionColumns: BasicColumn[] = [ - { - title: '医疗点名称', - dataIndex: 'name', - }, - { - title: '医疗点地址', - dataIndex: 'address', - }, - { - title: '所属单位', - dataIndex: 'departName', - }, - { - title: '负责人', - dataIndex: 'adminUser', - }, - { - title: '设立时间', - dataIndex: 'setUpTime', - }, -]; -interface DetailForm extends FormSchema { - label: string; - field: string; - customRender?: Function; -} -export const jurisdictionDetailsForm: DetailForm[] = [ - { - label: '医疗点名称', - field: 'name', - component: 'Input', - }, - { - label: '图片', - field: 'img', - component: 'JImageUpload', - }, - { - label: '医疗点地址', - field: 'address', - component: 'Input', - }, - { - label: '所属单位', - field: 'departName', - component: 'Input', - }, - { - label: '所属医院', - field: 'hospitalName', - component: 'Input', - }, - { - label: '负责人', - field: 'adminUser', - component: 'Input', - }, - { - label: '设立时间', - field: 'setUpTime', - component: 'Input', - }, - { - label: '辐射人数', - field: 'radiationNum', - component: 'Input', - }, - { - label: '救护车数量', - field: 'ambulanceNum', - component: 'Input', - }, - { - label: '辐射单位', - field: 'radiationDepartList', - component: 'Input', - customRender: (record) => { - return record?.radiationDepartList?.join(','); - }, - }, - { - label: '医疗点简介', - field: 'resourceDesc', - component: 'Input', - }, -]; -//医院管理员-表格列表 -export const administratorColumns: BasicColumn[] = [ - { - title: '账号', - dataIndex: 'username', - }, - { - title: '姓名', - dataIndex: 'realname', - }, -]; -//医院管理员-查询表单 -export const administratorSearchForm: FormSchema[] = [ - { - field: 'realname', - label: '姓名', - component: 'Input', - }, -]; -//医院管理员-表单 -export const administratorFormSchema: FormSchema[] = [ - { - label: '主键', - field: 'id', - component: 'Input', - show: false, - }, - { - field: 'username', - label: '账号', - component: 'Input', - componentProps: ({ formModel }) => { - return { - onInput: () => { - formModel.username = formModel.username.replace(/[^a-zA-Z0-9_]/g, ''); - }, - autocomplete: 'off', - }; - }, - dynamicDisabled: ({ values }) => { - return !!values.id; - }, - required: true, - }, - { - field: 'realname', - label: '姓名', - component: 'Input', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - required: true, - }, - { - label: '密码', - field: 'password', - component: 'StrengthMeter', - componentProps: () => { - return { - autocomplete: 'new-password', - }; - }, - dynamicRules: () => { - return [ - { - required: true, - validator: (_, value) => { - if (!value) { - return Promise.reject('请输入登录密码'); - } - let { message } = checkPassword(value); - if (message === 'ok') { - return Promise.resolve(); - } else { - return Promise.reject(message); - } - }, - trigger: 'blur', - }, - ]; - }, - ifShow: ({ values }) => { - return !values.id; - }, - }, - { - label: '确认密码', - field: 'confirmPassword', - component: 'InputPassword', - componentProps: () => { - return { - autocomplete: 'off', - }; - }, - dynamicRules: ({ values }) => rules.confirmPassword(values, true), - ifShow: ({ values }) => { - return !values.id; - }, - }, -]; diff --git a/src/views/medicalCenter/partnerHospital/partnerHospital.vue b/src/views/medicalCenter/partnerHospital/partnerHospital.vue deleted file mode 100644 index 8b014f6..0000000 --- a/src/views/medicalCenter/partnerHospital/partnerHospital.vue +++ /dev/null @@ -1,155 +0,0 @@ - - - diff --git a/src/views/medicalCenter/treatment/components/treatmentDrawer.vue b/src/views/medicalCenter/treatment/components/treatmentDrawer.vue deleted file mode 100644 index 774a96e..0000000 --- a/src/views/medicalCenter/treatment/components/treatmentDrawer.vue +++ /dev/null @@ -1,243 +0,0 @@ - - - - diff --git a/src/views/medicalCenter/treatment/components/treatmentModal.vue b/src/views/medicalCenter/treatment/components/treatmentModal.vue deleted file mode 100644 index 41c9e07..0000000 --- a/src/views/medicalCenter/treatment/components/treatmentModal.vue +++ /dev/null @@ -1,60 +0,0 @@ - - - diff --git a/src/views/medicalCenter/treatment/hooks.ts b/src/views/medicalCenter/treatment/hooks.ts deleted file mode 100644 index c903348..0000000 --- a/src/views/medicalCenter/treatment/hooks.ts +++ /dev/null @@ -1,21 +0,0 @@ -export function showFormTip(domId: string) { - const dom: HTMLElement | null = document.getElementById(domId); - - function showDom() { - if (dom) { - dom.style.display = 'block'; - dom.scrollIntoView(); - } - } - - function hiddenDom() { - if (dom) { - dom.style.display = 'none'; - } - } - - return { - showDom, - hiddenDom, - }; -} diff --git a/src/views/medicalCenter/treatment/treatment.api.ts b/src/views/medicalCenter/treatment/treatment.api.ts deleted file mode 100644 index 35431f8..0000000 --- a/src/views/medicalCenter/treatment/treatment.api.ts +++ /dev/null @@ -1,75 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/medical-center/medicalCenter/dailyDiagnosis/list', - save = '/medical-center/medicalCenter/dailyDiagnosis/add', - edit = '/medical-center/medicalCenter/dailyDiagnosis/edit', - deleteOne = '/medical-center/medicalCenter/dailyDiagnosis/delete', - deleteBatch = '/medical-center/medicalCenter/dailyDiagnosis/deleteBatch', - getMedicineList = '/medical-center/medicalCenter/medicalMedicine/getMedicineList', - queryById = '/medical-center/medicalCenter/dailyDiagnosis/queryById', - medicalCenterList = '/medical-center/medicalCenter/medicalResource/all', - resourceStaff = '/medical-center/api/resource/resourceStaff', - // resourceStaff = '/medical-center/api/resource/selectMedicalStaffListByOrgCode', - deleteMedical = '/medical-center/medicalCenter/dailyDiagnosis/deleteMedicineById', - departList = '/sys/sysDepart/allSecondaryDepartsNewBack', - exportXls = '/medical-center/medicalCenter/dailyDiagnosis/exportXls', - viewEmployee = '/sys/healthUserEmployeeEx/list', -} -export const getExportXlsUrl = Api.exportXls; -export const list = (params: Recordable) => defHttp.get({ url: Api.list, params: { ...params, userSign: true } }); - -//医疗点-用户单位 -export const departList = (params = {}) => defHttp.get({ url: Api.departList, params }); -export const medicalCenterList = (params = {}) => defHttp.get({ url: Api.medicalCenterList, params }); -export const resourceStaff = (params: Recordable) => defHttp.get({ url: Api.resourceStaff, params }); -export const queryById = (params: Recordable) => defHttp.get({ url: Api.queryById, params }); -export const getMedicineList = (params: Recordable) => defHttp.get({ url: Api.getMedicineList, params }); -export const saveOrUpdate = (params: Recordable, isUpdate: Boolean) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; -/** - * 删除单个 - */ -export const deleteOne = (params: Recordable, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: async () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - * @param handleSuccess - */ -export const batchDelete = (params: Recordable, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: async () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -export const deleteMedical = (params: Recordable) => defHttp.delete({ url: Api.deleteMedical, params }, { joinParamsToUrl: true }); -/** - *查看员工档案 - */ -export const viewEmployee = (params: Recordable) => defHttp.get({ url: Api.viewEmployee, params: { ...params, selectFamily: true } }); diff --git a/src/views/medicalCenter/treatment/treatment.data.ts b/src/views/medicalCenter/treatment/treatment.data.ts deleted file mode 100644 index c329763..0000000 --- a/src/views/medicalCenter/treatment/treatment.data.ts +++ /dev/null @@ -1,685 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { BODY_CONTAINER } from '/@/utils/domUtils'; -import { message } from 'ant-design-vue'; -import { getMedicineList, medicalCenterList, resourceStaff } from '/@/views/medicalCenter/treatment/treatment.api'; -import { ref } from 'vue'; -import { listByMcApi } from '/@/views/emergency/communication/components/commApi'; -import { mColumns } from '/@/views/intervene/medical/slowManage/components/slow/slow.data'; -import { useUserStore } from '/@/store/modules/user'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; -import { AesEncryption } from '/@/utils/cipher'; -import { cacheCipher } from '/@/settings/encryptionSetting'; - -export const baseColProps = { - span: 24, - xs: 24, // <576px - sm: 24, // ≥576px - md: 24, // ≥768px - lg: 24, // ≥992px - xl: 24, // ≥1200px - xxl: 24, // ≥1600px -}; -export const columns: BasicColumn[] = [ - { - title: '序号', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '员工编号', // 原来为工号 - width: 110, - dataIndex: 'workNo', - }, - { - title: '就诊人', - dataIndex: 'userName', - }, - { - title: '性别', - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - dataIndex: 'age', - }, - { - title: '体检报告', - dataIndex: 'lookReport', - }, - { - title: '就诊人所属单位', - dataIndex: 'userOrgName', - }, - { - title: '就诊疾病', - dataIndex: 'diagnosisDisease', - }, - { - title: '就诊医疗点', - dataIndex: 'medicalCenterName', - }, - { - title: '医疗点所属单位', - dataIndex: 'departName', - }, - { - title: '就诊医生', - dataIndex: 'doctorName', - }, - { - title: '就诊时间', - dataIndex: 'diagnosisDate', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '就诊人', - field: 'userName', - component: 'Input', - }, - { - label: '就诊人所属单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: getSecondaryDepartmentList, - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '医疗点所属单位', - field: 'departCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getSecondaryDepartmentList, - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => {}, - onDeselect: () => { - formModel.medicalCenterId = ''; - }, - }; - }, - }, - { - label: '就诊医疗点', - field: 'medicalCenterId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel.departCode || 'abc', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onFocus: () => { - if (!formModel.departCode) { - return message.warning('请先选择医疗点单位'); - } - }, - }; - }, - }, - { - label: '就诊时间', - field: 'date', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - valueType: 'Date', - format: 'YYYY-MM-DD', - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => BODY_CONTAINER, - 'onUpdate:value': (value) => { - if (value) { - formModel.startDate = value[0]; - formModel.endDate = value[1]; - } else { - formModel.startDate = null; - formModel.endDate = null; - } - }, - }; - }, - }, - { - label: '', - field: 'startDate', - component: 'Input', - show: false, - }, - { - label: '', - field: 'endDate', - component: 'Input', - show: false, - }, -]; -const itemProps = { - labelCol: { - sm: 0, - xs: 0, - }, - wrapperCol: { - sm: 24, - xs: 24, - }, -}; -export const drawerFormSchema: FormSchema[] = [ - { - label: '就诊人', - field: 'userId', - component: 'Select', - slot: 'user', - rules: [{ required: true }], - }, - { - label: '', - field: 'followUp', - component: 'Select', - slot: 'followUp', - itemProps, - }, - { - label: '就诊时间', - field: 'diagnosisDate', - required: true, - component: 'DatePicker', - componentProps: () => { - return { - format: 'YYYY-MM-DD HH:mm', - valueFormat: 'YYYY-MM-DD HH:mm', - showTime: { format: 'YYYY-MM-DD HH:mm' }, - style: { - width: '50%', - }, - }; - }, - }, - { - label: '下次随访日期', - field: 'nextVisitDate', - component: 'DatePicker', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - style: { - width: '50%', - }, - }; - }, - }, - { - label: '单位Code', - field: 'orgCode', - component: 'Input', - show: false, - }, - { - label: '就诊医疗点', - field: 'medicalCenterId', - required: true, - component: 'ApiSelect', - componentProps: ({ formModel }) => { - const userInfo = useUserStore().userInfo; - return { - api: medicalCenterList, - params: { - staffId: userInfo?.id || '123', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase().trim(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel['doctorId'] = ''; - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '就诊医生', - field: 'doctorId', - required: true, - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: resourceStaff, - params: { - resourceId: formModel?.medicalCenterId || 'abab123', - }, - resultField: 'list', - labelField: 'realname', - valueField: 'id', - immediate: true, - showSearch: true, - onFocus: () => { - if (!formModel?.medicalCenterId) { - return message.warn('请先选择就诊医疗点'); - } - }, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '', - field: 'userName', - component: 'Select', - slot: 'content', - rules: [{ required: true }], - itemProps, - }, - { - label: '主诉', - field: 'mainDemands', - component: 'InputTextArea', - required: true, - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '查体', - field: 'inspectionTool', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 2, - }; - }, - }, - { - label: '既往史', - field: 'pastHistory', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '现病史', - field: 'historyPresentIllness', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '过敏史', - field: 'allergicHistory', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '诊断疾病', - field: 'diagnosisDisease', - required: true, - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '是否复诊', - field: 'isRevisit', - required: true, - component: 'RadioGroup', - componentProps: () => { - return { - options: [ - { - label: '是', - value: 1, - }, - { - label: '否', - value: 0, - }, - ], - }; - }, - }, - { - label: '', - field: 'plan', - component: 'Select', - slot: 'plan', - itemProps, - }, - { - label: '', - field: 'suggest', - component: 'Input', - slot: 'suggest', - itemProps, - }, - { - label: '医嘱', - field: 'doctorAdvice', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '膳食处方', - field: 'foodFormula', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '运动处方', - field: 'exerciseFormula', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '主键id', - field: 'id', - component: 'Input', - show: false, - }, -]; -export const drawerColumns: BasicColumn[] = [ - { - title: '医药id', - dataIndex: 'medicineId', - ifShow: false, - }, - { - title: '主键', - dataIndex: 'id', - ifShow: false, - }, - { - title: '药品名称', - dataIndex: 'medicineName', - width: '25%', - }, - { - title: '药品规格', - dataIndex: 'medicineSpecification', - width: '25%', - }, - { - title: '数量', - dataIndex: 'drugsNum', - width: '10%', - }, - { - title: '用法用量', - dataIndex: 'dosage', - width: '25%', - }, -]; -const maxMedicineNum = ref(); -export const modalForm: FormSchema[] = [ - { - label: '药品名称', - field: 'medicineId', - required: true, - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getMedicineList, - params: { - resourceId: formModel.medicalCenterId || 'sca', - }, - resultField: 'list', - labelField: 'medicineName', - valueField: 'id', - immediate: true, - getPopupContainer: () => document.body, - onChange: (_val: string, option: Recordable) => { - maxMedicineNum.value = 0; - formModel.medicineName = option?.label; - maxMedicineNum.value = option?.medicineNumber; - formModel.medicineSpecification = option?.medicineSpecification; - formModel.sellingPrice = option?.sellingPrice; - formModel.specification = option?.specification; - formModel.medicineNumber = option?.medicineNumber; - if (_val) { - formModel.drugsNum = 1; - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '规格', - field: 'medicineSpecification', - component: 'Input', - slot: 'medicineSpecification', - show: ({ values }) => values.medicineId, - }, - { - label: '价格', - field: 'sellingPrice', - component: 'Input', - slot: 'sellingPrice', - show: ({ values }) => values.medicineId, - }, - { - label: '库存', - field: 'medicineNumber', - component: 'Input', - slot: 'medicineNumber', - show: ({ values }) => values.medicineId, - }, - { - label: '说明书', - field: 'specification', - component: 'JImageUpload', - componentProps: ({ formModel }) => { - return { - disabled: true, - text: formModel.medicineId ? '查看' : '无', - noIcon: true, - }; - }, - show: ({ values }) => values.medicineId, - }, - { - label: '药品名称', - field: 'medicineName', - component: 'Input', - show: false, - }, - { - label: '药品规格', - field: 'medicineSpecification', - component: 'Input', - show: false, - }, - { - label: '药物数量', - field: 'drugsNum', - required: true, - component: 'InputNumber', - componentProps: () => { - return { - onChange: (val) => { - if (val > maxMedicineNum.value) { - return message.warn('您输入的药物数量大于库存数量'); - } - }, - style: { - width: '100%', - }, - }; - }, - rules: [ - { - required: true, - validator: async (_rule, value) => { - if (!value || value <= 0) { - return Promise.reject('请输入有效的用药数量!'); - } - return Promise.resolve(); - }, - trigger: 'change', - }, - ], - }, - { - label: '用法用量', - field: 'dosage', - required: true, - component: 'Input', - }, - { - label: '医疗点ID', - field: 'medicalCenterId', - component: 'Input', - show: false, - }, -]; -//用户查询表单 -export const mSearchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: () => { - return { - // api: departList, - api: getSecondaryDepartmentList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - style: { - width: '150px', - }, - }; - }, - }, -]; - -export const userTableProps = ref({ - tableProps: { - // title: '一线医疗点医药管理', - api: listByMcApi, - columns: mColumns, - canResize: false, - formConfig: { - //labelWidth: 120, - schemas: mSearchFormSchema, - autoSubmitOnEnter: true, - showAdvancedButton: false, - fieldMapToNumber: [], - fieldMapToTime: [], - baseColProps: { - xs: 12, - sm: 12, - md: 12, - lg: 12, - xl: 12, - xxl: 12, - }, - actionColOptions: { - span: 24, - offset: 0, - xs: 12, - sm: 12, - md: 12, - lg: 12, - xl: 12, - xxl: 12, - }, - }, - showActionColumn: false, - }, -}); -export function encryption() { - const aes = new AesEncryption(cacheCipher); - function encrypt(word: string) { - if (!word) return; - return aes.encryptByAES(word); - } - function decrypt(word: string) { - if (!word) return; - return aes.decryptByAES(word); - } - return { encrypt, decrypt }; -} diff --git a/src/views/medicalCenter/treatment/treatment.vue b/src/views/medicalCenter/treatment/treatment.vue deleted file mode 100644 index 02abd48..0000000 --- a/src/views/medicalCenter/treatment/treatment.vue +++ /dev/null @@ -1,175 +0,0 @@ - - - diff --git a/src/views/medicalCenter/treatmentWrong/components/treatmentDrawer.vue b/src/views/medicalCenter/treatmentWrong/components/treatmentDrawer.vue deleted file mode 100644 index a686af7..0000000 --- a/src/views/medicalCenter/treatmentWrong/components/treatmentDrawer.vue +++ /dev/null @@ -1,237 +0,0 @@ - - - - diff --git a/src/views/medicalCenter/treatmentWrong/components/treatmentModal.vue b/src/views/medicalCenter/treatmentWrong/components/treatmentModal.vue deleted file mode 100644 index 7fe168e..0000000 --- a/src/views/medicalCenter/treatmentWrong/components/treatmentModal.vue +++ /dev/null @@ -1,61 +0,0 @@ - - - diff --git a/src/views/medicalCenter/treatmentWrong/hooks.ts b/src/views/medicalCenter/treatmentWrong/hooks.ts deleted file mode 100644 index c903348..0000000 --- a/src/views/medicalCenter/treatmentWrong/hooks.ts +++ /dev/null @@ -1,21 +0,0 @@ -export function showFormTip(domId: string) { - const dom: HTMLElement | null = document.getElementById(domId); - - function showDom() { - if (dom) { - dom.style.display = 'block'; - dom.scrollIntoView(); - } - } - - function hiddenDom() { - if (dom) { - dom.style.display = 'none'; - } - } - - return { - showDom, - hiddenDom, - }; -} diff --git a/src/views/medicalCenter/treatmentWrong/treatmentWrong.api.ts b/src/views/medicalCenter/treatmentWrong/treatmentWrong.api.ts deleted file mode 100644 index ecb0097..0000000 --- a/src/views/medicalCenter/treatmentWrong/treatmentWrong.api.ts +++ /dev/null @@ -1,66 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); -enum Api { - list = '/medical-center/medicalCenter/dailyDiagnosis/list', - save = '/medical-center/medicalCenter/dailyDiagnosis/add', - edit = '/medical-center/medicalCenter/dailyDiagnosis/edit', - deleteOne = '/medical-center/medicalCenter/dailyDiagnosis/delete', - deleteBatch = '/medical-center/medicalCenter/dailyDiagnosis/deleteBatch', - getMedicineList = '/medical-center/medicalCenter/medicalMedicine/getMedicineList', - queryById = '/medical-center/medicalCenter/dailyDiagnosis/queryById', - medicalCenterList = '/medical-center/medicalCenter/medicalResource/all', - resourceStaff = '/medical-center/api/resource/resourceStaff', - departList = '/sys/sysDepart/allSecondaryDepartsNewBack', - exportXls = '/medical-center/medicalCenter/dailyDiagnosis/exportXls', -} -export const getExportXlsUrl = Api.exportXls; -export const list = (params: Recordable) => defHttp.get({ url: Api.list, params: { ...params, userSign: false } }); -//医疗点-用户单位 -export const departList = (params = {}) => defHttp.get({ url: Api.departList, params }); -//医疗点集合 -export const medicalCenterList = (params = {}) => defHttp.get({ url: Api.medicalCenterList, params }); -export const resourceStaff = (params: Recordable) => defHttp.get({ url: Api.resourceStaff, params }); -export const queryById = (params: Recordable) => defHttp.get({ url: Api.queryById, params }); -export const getMedicineList = (params: Recordable) => defHttp.get({ url: Api.getMedicineList, params }); -export const saveOrUpdate = (params: Recordable, isUpdate: Boolean) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; -/** - * 删除单个 - */ -export const deleteOne = (params: Recordable, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: async () => { - return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - * @param handleSuccess - */ -export const batchDelete = (params: Recordable, handleSuccess: Function) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: async () => { - return defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/medicalCenter/treatmentWrong/treatmentWrong.data.ts b/src/views/medicalCenter/treatmentWrong/treatmentWrong.data.ts deleted file mode 100644 index 85a6c73..0000000 --- a/src/views/medicalCenter/treatmentWrong/treatmentWrong.data.ts +++ /dev/null @@ -1,689 +0,0 @@ -import { ref } from 'vue'; -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { BODY_CONTAINER } from '/@/utils/domUtils'; -import { message } from 'ant-design-vue'; -import { getMedicineList, medicalCenterList, resourceStaff, departList } from '/@/views/medicalCenter/treatmentWrong/treatmentWrong.api'; -import { employListApi } from '/@/views/emergency/communication/components/commApi'; -import { mColumns } from '/@/views/intervene/medical/slowManage/components/slow/slow.data'; -import { useUserStore } from '/@/store/modules/user'; -import { getIDCardRegExp } from '/@/utils'; -import { getSecondaryDepartmentList } from '/@/views/system/user/user.api'; - -export const baseColProps = { - span: 24, - xs: 24, // <576px - sm: 24, // ≥576px - md: 24, // ≥768px - lg: 24, // ≥992px - xl: 24, // ≥1200px - xxl: 24, // ≥1600px -}; -export const columns: BasicColumn[] = [ - { - title: '序号', - align: 'center', - width: 80, - customRender: ({ index }) => { - return index + 1; - }, - }, - { - title: '就诊人', - align: 'center', - dataIndex: 'userName', - }, - { - title: '性别', - align: 'center', - dataIndex: 'sex_dictText', - }, - { - title: '年龄', - align: 'center', - dataIndex: 'age', - }, - { - title: '身份证', - align: 'center', - dataIndex: 'idCard', - }, - { - title: '就诊疾病', - align: 'center', - dataIndex: 'diagnosisDisease', - }, - { - title: '联系电话', - align: 'center', - dataIndex: 'phone', - }, - { - title: '就诊医疗点', - align: 'center', - dataIndex: 'medicalCenterName', - }, - { - title: '医疗点所属单位', - align: 'center', - dataIndex: 'departName', - }, - { - title: '就诊医生', - align: 'center', - dataIndex: 'doctorName', - }, - { - title: '就诊时间', - align: 'center', - dataIndex: 'diagnosisDate', - }, -]; -export const searchFormSchema: FormSchema[] = [ - { - label: '就诊人', - field: 'userName', - component: 'Input', - }, - { - label: '医疗点所属单位', - field: 'departCode', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getSecondaryDepartmentList, - resultField: 'list', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => {}, - onDeselect: () => { - formModel.medicalCenterId = ''; - }, - }; - }, - }, - { - label: '就诊医疗点', - field: 'medicalCenterId', - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: medicalCenterList, - params: { - departCode: formModel.departCode || 'abc', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - disabledInitValue: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onFocus: () => { - if (!formModel.departCode) { - return message.warning('请先选择医疗点单位'); - } - }, - }; - }, - }, - { - label: '就诊时间', - field: 'date', - component: 'RangePicker', - componentProps: ({ formModel }) => { - return { - valueType: 'Date', - format: 'YYYY-MM-DD', - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => BODY_CONTAINER, - 'onUpdate:value': (value) => { - if (value) { - formModel.startDate = value[0]; - formModel.endDate = value[1]; - } else { - formModel.startDate = null; - formModel.endDate = null; - } - }, - }; - }, - }, - { - label: '', - field: 'startDate', - component: 'Input', - show: false, - }, - { - label: '', - field: 'endDate', - component: 'Input', - show: false, - }, -]; -const itemProps = { - labelCol: { - sm: 0, - xs: 0, - }, - wrapperCol: { - sm: 24, - xs: 24, - }, -}; -// 新增非职工就诊表单 -export const drawerFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'userName', - component: 'Input', - componentProps: () => { - return { - placeholder: '请输入就诊人姓名', - }; - }, - required: true, - }, - { - label: '身份证', - field: 'idCard', - component: 'Input', - componentProps: () => { - return { - placeholder: '请输入就诊人身份证', - }; - }, - rules: [ - { - pattern: getIDCardRegExp(), - message: '${label}格式有误', - required: true, - }, - ], - }, - { - label: '联系电话', - field: 'phone', - component: 'Input', - componentProps: () => { - return { - placeholder: '请输入就诊人联系电话', - }; - }, - rules: [{ pattern: /^1[3456789]\d{9}$/, message: '手机号码格式有误', trigger: 'blur', required: true }], - }, - { - label: '', - field: 'followUp', - component: 'Select', - slot: 'followUp', - itemProps, - }, - { - label: '就诊时间', - field: 'diagnosisDate', - required: true, - component: 'DatePicker', - componentProps: () => { - return { - format: 'YYYY-MM-DD HH:mm', - valueFormat: 'YYYY-MM-DD HH:mm', - showTime: { format: 'YYYY-MM-DD HH:mm' }, - style: { - width: '50%', - }, - }; - }, - }, - { - label: '下次随访日期', - field: 'nextVisitDate', - component: 'DatePicker', - componentProps: () => { - return { - valueFormat: 'YYYY-MM-DD', - style: { - width: '50%', - }, - }; - }, - }, - { - label: '单位Code', - field: 'orgCode', - component: 'Input', - show: false, - }, - { - label: '就诊医疗点', - field: 'medicalCenterId', - required: true, - component: 'ApiSelect', - componentProps: ({ formModel }) => { - const userInfo = useUserStore().userInfo; - return { - api: medicalCenterList, - params: { - staffId: userInfo?.id || '123', - }, - resultField: 'list', - labelField: 'name', - valueField: 'id', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - onChange: () => { - formModel['doctorId'] = ''; - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '就诊医生', - field: 'doctorId', - required: true, - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: resourceStaff, - params: { - resourceId: formModel?.medicalCenterId || 'abab123', - }, - resultField: 'list', - labelField: 'realname', - valueField: 'id', - immediate: true, - showSearch: true, - onFocus: () => { - if (!formModel?.userName) { - return message.warn('请先输入就诊人'); - } - if (!formModel?.medicalCenterId) { - return message.warn('请先选择就诊医疗点'); - } - }, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - getPopupContainer: () => document.body, - }; - }, - }, - { - label: '', - field: 'content', - component: 'Select', - slot: 'content', - itemProps, - }, - { - label: '主诉', - field: 'mainDemands', - component: 'InputTextArea', - required: true, - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '查体', - field: 'inspectionTool', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 2, - }; - }, - }, - { - label: '既往史', - field: 'pastHistory', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '现病史', - field: 'historyPresentIllness', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '过敏史', - field: 'allergicHistory', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '诊断疾病', - field: 'diagnosisDisease', - required: true, - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '是否复诊', - field: 'isRevisit', - required: true, - component: 'RadioGroup', - componentProps: () => { - return { - options: [ - { - label: '是', - value: 1, - }, - { - label: '否', - value: 0, - }, - ], - }; - }, - }, - { - label: '', - field: 'plan', - component: 'Select', - slot: 'plan', - itemProps, - }, - { - label: '', - field: 'suggest', - component: 'Input', - slot: 'suggest', - itemProps, - }, - { - label: '医嘱', - field: 'doctorAdvice', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '膳食处方', - field: 'foodFormula', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '运动处方', - field: 'exerciseFormula', - component: 'InputTextArea', - componentProps: () => { - return { - rows: 3, - }; - }, - }, - { - label: '主键id', - field: 'id', - component: 'Input', - show: false, - }, -]; -//医药方案列表 -export const drawerColumns: BasicColumn[] = [ - { - title: '医药id', - dataIndex: 'medicineId', - ifShow: false, - }, - { - title: '主键', - dataIndex: 'id', - ifShow: false, - }, - { - title: '药品名称', - dataIndex: 'medicineName', - width: '25%', - }, - { - title: '药品规格', - dataIndex: 'medicineSpecification', - width: '25%', - }, - { - title: '数量', - dataIndex: 'drugsNum', - width: '25%', - }, - { - title: '用法用量', - dataIndex: 'dosage', - width: '25%', - }, -]; -const maxMedicineNum = ref(); -export const modalForm: FormSchema[] = [ - { - label: '药品名称', - field: 'medicineId', - required: true, - component: 'ApiSelect', - componentProps: ({ formModel }) => { - return { - api: getMedicineList, - params: { - resourceId: formModel.medicalCenterId || 'sca', - }, - resultField: 'list', - labelField: 'medicineName', - valueField: 'id', - immediate: true, - getPopupContainer: () => document.body, - onChange: (_val: string, option: Recordable) => { - maxMedicineNum.value = 0; - formModel.medicineName = option?.label; - maxMedicineNum.value = option?.medicineNumber; - formModel.medicineSpecification = option?.medicineSpecification; - formModel.sellingPrice = option?.sellingPrice; - formModel.specification = option?.specification; - formModel.medicineNumber = option?.medicineNumber; - if (_val) { - formModel.drugsNum = 1; - } - }, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - }; - }, - }, - { - label: '规格', - field: 'medicineSpecification', - component: 'Input', - slot: 'medicineSpecification', - show: ({ values }) => values.medicineId, - }, - { - label: '价格', - field: 'sellingPrice', - component: 'Input', - slot: 'sellingPrice', - show: ({ values }) => values.medicineId, - }, - { - label: '库存', - field: 'medicineNumber', - component: 'Input', - slot: 'medicineNumber', - show: ({ values }) => values.medicineId, - }, - { - label: '说明书', - field: 'specification', - component: 'JImageUpload', - componentProps: () => { - return { - disabled: true, - }; - }, - show: ({ values }) => values.medicineId, - }, - { - label: '药品名称', - field: 'medicineName', - component: 'Input', - show: false, - }, - { - label: '药品规格', - field: 'medicineSpecification', - component: 'Input', - show: false, - }, - { - label: '药物数量', - field: 'drugsNum', - required: true, - component: 'InputNumber', - componentProps: () => { - return { - onChange: (val) => { - if (val > maxMedicineNum.value) { - return message.warn('您输入的药物数量大于库存数量'); - } - }, - style: { - width: '100%', - }, - }; - }, - rules: [ - { - required: true, - validator: async (_rule, value) => { - if (!value || value <= 0) { - return Promise.reject('请输入有效的用药数量!'); - } - return Promise.resolve(); - }, - trigger: 'change', - }, - ], - }, - { - label: '用法用量', - field: 'dosage', - required: true, - component: 'Input', - }, - { - label: '医疗点ID', - field: 'medicalCenterId', - component: 'Input', - show: false, - }, -]; -//用户查询表单 -export const mSearchFormSchema: FormSchema[] = [ - { - label: '姓名', - field: 'realname', - component: 'Input', - }, - { - label: '单位', - field: 'orgCode', - component: 'ApiSelect', - componentProps: () => { - return { - api: departList, - resultField: 'result', - labelField: 'departName', - valueField: 'orgCode', - immediate: true, - showSearch: true, - filterOption: (input: string, option: any): boolean => { - const str: string = input.toLowerCase(); - return option.label.toLowerCase().indexOf(str) >= 0; - }, - style: { - width: '150px', - }, - }; - }, - }, -]; -export const userTableProps = ref({ - tableProps: { - // title: '一线医疗点医药管理', - api: employListApi, - columns: mColumns, - canResize: false, - formConfig: { - //labelWidth: 120, - schemas: mSearchFormSchema, - autoSubmitOnEnter: true, - showAdvancedButton: false, - fieldMapToNumber: [], - fieldMapToTime: [], - baseColProps: { - xs: 8, - sm: 8, - md: 8, - lg: 8, - xl: 12, - xxl: 12, - }, - actionColOptions: { - span: 24, - offset: 0, - xs: 8, - sm: 8, - md: 8, - lg: 8, - xl: 12, - xxl: 12, - }, - }, - showActionColumn: false, - }, -}); diff --git a/src/views/medicalCenter/treatmentWrong/treatmentWrong.vue b/src/views/medicalCenter/treatmentWrong/treatmentWrong.vue deleted file mode 100644 index 68d1195..0000000 --- a/src/views/medicalCenter/treatmentWrong/treatmentWrong.vue +++ /dev/null @@ -1,136 +0,0 @@ - - - diff --git a/src/views/system/messageRemind/SysMessageRemind.api.ts b/src/views/system/messageRemind/SysMessageRemind.api.ts deleted file mode 100644 index 01bdbce..0000000 --- a/src/views/system/messageRemind/SysMessageRemind.api.ts +++ /dev/null @@ -1,89 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); -enum Api { - // list = '/sys/api/messageRemind/selectUserMessageList', - list = '/sys/sysMessageRemind/list', - save = '/sys/sysMessageRemind/add', - edit = '/sys/sysMessageRemind/edit', - deleteOne = '/sys/sysMessageRemind/delete', - deleteBatch = '/sys/sysMessageRemind/deleteBatch', - importExcel = '/sys/sysMessageRemind/importExcel', - exportXls = '/sys/sysMessageRemind/exportXls', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteOne, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/system/messageRemind/SysMessageRemind.data.ts b/src/views/system/messageRemind/SysMessageRemind.data.ts deleted file mode 100644 index 9727bcb..0000000 --- a/src/views/system/messageRemind/SysMessageRemind.data.ts +++ /dev/null @@ -1,108 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '标题', - align: 'center', - dataIndex: 'title', - }, - // { - // title: '内容', - // align: 'center', - // dataIndex: 'content', - // slots: 'htmlSlot', - // }, - { - title: '类型', - align: 'center', - dataIndex: 'type_dictText', - }, - { - title: '创建时间', - align: 'center', - dataIndex: 'createTime', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - label: '标题', - field: 'title', - component: 'Input', - }, - { - label: '类型', - field: 'type', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'message_remind', - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - // { - // label: '用户id', - // field: 'userId', - // component: 'Input', - // }, - { - label: '类型', - field: 'type', - required: true, - component: 'JDictSelectTag', - componentProps: { - dictCode: 'message_remind', - }, - }, - { - label: '用户姓名', - field: 'userName', - component: 'Input', - required: ({ values }): boolean => values.type != '1', - // componentProps: ({ formModel, schema }) => { - // schema.required = formModel.type == '1'; - // }, - componentProps: { - placeholder: '请选择用户', - }, - // ifShow: ({ values }): boolean => values.type == '1', - }, - { - label: '标题', - field: 'title', - component: 'Input', - required: true, - }, - { - label: '', - field: 'userId', - component: 'Input', - show: false, - }, - { - label: '内容', - field: 'content', - component: 'JEditor', - componentProps: { - showImageUpload: true, - }, - required: true, - }, - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param _formData - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/system/messageRemind/SysMessageRemindList.vue b/src/views/system/messageRemind/SysMessageRemindList.vue deleted file mode 100644 index 72c46f6..0000000 --- a/src/views/system/messageRemind/SysMessageRemindList.vue +++ /dev/null @@ -1,142 +0,0 @@ - - - - - diff --git a/src/views/system/messageRemind/components/SysMessageRemindForm.vue b/src/views/system/messageRemind/components/SysMessageRemindForm.vue deleted file mode 100644 index b973985..0000000 --- a/src/views/system/messageRemind/components/SysMessageRemindForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/system/messageRemind/components/SysMessageRemindModal.vue b/src/views/system/messageRemind/components/SysMessageRemindModal.vue deleted file mode 100644 index fdac229..0000000 --- a/src/views/system/messageRemind/components/SysMessageRemindModal.vue +++ /dev/null @@ -1,100 +0,0 @@ - - - - - diff --git a/src/views/system/notice/DetailModal.vue b/src/views/system/notice/DetailModal.vue deleted file mode 100644 index 16eafcf..0000000 --- a/src/views/system/notice/DetailModal.vue +++ /dev/null @@ -1,24 +0,0 @@ - - - - diff --git a/src/views/system/notice/NoticeModal.vue b/src/views/system/notice/NoticeModal.vue deleted file mode 100644 index 6c09d89..0000000 --- a/src/views/system/notice/NoticeModal.vue +++ /dev/null @@ -1,74 +0,0 @@ - - diff --git a/src/views/system/notice/index.vue b/src/views/system/notice/index.vue deleted file mode 100644 index 17f5314..0000000 --- a/src/views/system/notice/index.vue +++ /dev/null @@ -1,143 +0,0 @@ - - diff --git a/src/views/system/notice/notice.api.ts b/src/views/system/notice/notice.api.ts deleted file mode 100644 index 040d44a..0000000 --- a/src/views/system/notice/notice.api.ts +++ /dev/null @@ -1,89 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; -const { createConfirm } = useMessage(); -enum Api { - list = '/sys/annountCement/list', - save = '/sys/annountCement/add', - edit = '/sys/annountCement/edit', - delete = '/sys/annountCement/delete', - deleteBatch = '/sys/annountCement/deleteBatch', - exportXls = '/sys/annountCement/exportXls', - importExcel = '/sys/annountCement/importExcel', - releaseData = '/sys/annountCement/doReleaseData', - reovkeData = '/sys/annountCement/doReovkeData', - publishData = '/sys/annountCement/publishData', - queryById = '/sys/annountCement/queryById', -} - -/** - * 导出url - */ -export const getExportUrl = Api.exportXls; -/** - * 导入url - */ -export const getImportUrl = Api.importExcel; -/** - * 查询租户列表 - * @param params - */ -export const getList = (params) => { - return defHttp.get({ url: Api.list, params }); -}; - -/** - * 请求编辑数据 - */ -export const resEditData = async (params, handleSuccess) => { - return await defHttp.get({ url: Api.queryById, params }); -}; - -/** - * 保存或者更新通告 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - let url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; - -/** - * 删除通告 - * @param params - */ -export const deleteNotice = (params, handleSuccess) => { - return defHttp.delete({ url: Api.delete, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); -}; - -// /** -// * 批量消息公告 -// * @param params -// */ -// export const batchDeleteNotice = (params) => defHttp.delete({ url: Api.deleteBatch, data: params }, { joinParamsToUrl: true }); -// -// /** -// * 发布 -// * @param id -// */ -// export const doReleaseData = (params) => defHttp.get({ url: Api.releaseData, params }); -// /** -// * 撤销 -// * @param id -// */ -// export const doReovkeData = (params) => defHttp.get({ url: Api.reovkeData, params }); -export const publishData = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认发布', - content: '是否发布该消息?发布之后会逐步发短信给用户', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp.post({ url: Api.publishData, data: params }, { joinParamsToUrl: true }).then(() => { - handleSuccess(); - }); - }, - }); -}; diff --git a/src/views/system/notice/notice.data.ts b/src/views/system/notice/notice.data.ts deleted file mode 100644 index 78dc342..0000000 --- a/src/views/system/notice/notice.data.ts +++ /dev/null @@ -1,199 +0,0 @@ -import { BasicColumn, FormSchema } from '/@/components/Table'; -import { rules } from '/@/utils/helper/validator'; -import { render } from '/@/utils/common/renderUtils'; - -export const columns: BasicColumn[] = [ - { - title: '标题', - width: 150, - dataIndex: 'titile', - }, - { - title: '消息类型', - dataIndex: 'msgCategory_dictText', - width: 100, - }, - - /*{ - title: '优先级', - dataIndex: 'priority', - width: 70, - customRender: ({ text }) => { - const color = text == 'L' ? 'blue' : text == 'M' ? 'yellow' : 'red'; - return render.renderTag(render.renderDict(text, 'priority'), color); - }, - },*/ - { - title: '通知对象', - dataIndex: 'msgType_dictText', - width: 100, - }, - { - title: '创建人', - width: 100, - dataIndex: 'createBy', - }, - { - title: '发布状态', - dataIndex: 'sendStatus', - width: 70, - customRender: ({ text }) => { - const color = text == '0' ? 'red' : text == '1' ? 'green' : 'orange'; - return render.renderTag(render.renderDict(text, 'send_status'), color); - }, - }, - { - title: '发布人', - width: 100, - dataIndex: 'sender', - }, - { - title: '发布时间', - width: 100, - dataIndex: 'sendTime', - }, - { - title: '发布进度', - width: 100, - dataIndex: 'msgAbstract', - }, - /*{ - title: '撤销时间', - width: 100, - dataIndex: 'cancelTime', - },*/ -]; - -export const searchFormSchema: FormSchema[] = [ - { - field: 'titile', - label: '标题', - component: 'JInput', - colProps: { span: 8 }, - }, - { - field: 'sendStatus', - label: '发布状态', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'send_status', - }, - colProps: { span: 8 }, - }, -]; - -export const formSchema: FormSchema[] = [ - { - field: 'id', - label: 'id', - component: 'Input', - show: false, - }, - { - field: 'msgCategory', - label: '消息类型', - required: true, - component: 'JDictSelectTag', - defaultValue: '3', - componentProps: { - type: 'radio', - dictCode: 'msg_category', - placeholder: '请选择类型', - }, - }, - - /*{ - field: 'msgAbstract', - label: '摘要', - component: 'InputTextArea', - required: true, - },*/ - // { - // field: 'endTime', - // label: '截至日期', - // component: 'DatePicker', - // componentProps: { - // showTime: true, - // valueFormat: 'YYYY-MM-DD HH:mm:ss', - // placeholder: '请选择截至日期', - // }, - // dynamicRules: ({ model }) => rules.endTime(model.startTime, true), - // }, - { - field: 'msgType', - label: '通知对象', - defaultValue: 'ALL', - component: 'JDictSelectTag', - required: true, - componentProps: { - type: 'radioButton', - dictCode: 'msg_type', - placeholder: '请选择发布范围', - onChange: function (arg1) { - console.log(arg1); - }, - }, - }, - { - field: 'userIds', - label: '指定用户', - component: 'JSelectUserByDept', - required: true, - componentProps: ({ formModel }) => { - return { - rowKey: 'id', - labelKey: 'realname', - // onChange: function (arg1) { - // formModel.userIds = arg1.join(','); - // } - }; - }, - ifShow: ({ values }) => values.msgType == 'USER', - }, - { - field: 'docIds', - label: '指定专家', - component: 'JSelectDocByType', - required: true, - componentProps: ({ formModel }) => { - return { - rowKey: 'id', - labelKey: 'doctorName', - // onChange: function (arg1) { - // formModel.userIds = arg1.join(','); - // } - }; - }, - ifShow: ({ values }) => values.msgType == 'DOC', - }, - - /*{ - field: 'priority', - label: '优先级', - defaultValue: 'H', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'priority', - type: 'radio', - placeholder: '请选择优先级', - }, - },*/ - { - field: 'titile', - label: '标题', - component: 'Input', - required: true, - componentProps: { - placeholder: '请输入标题', - }, - }, - { - field: 'msgContent', - label: '短信内容', - component: 'InputTextArea', - required: true, - componentProps: { - placeholder: '请输入短信内容', - }, - }, -]; diff --git a/src/views/system/systemBanner/SysBanner.api.ts b/src/views/system/systemBanner/SysBanner.api.ts deleted file mode 100644 index ec51a91..0000000 --- a/src/views/system/systemBanner/SysBanner.api.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { defHttp } from '/@/utils/http/axios'; -import { useMessage } from '/@/hooks/web/useMessage'; - -const { createConfirm } = useMessage(); - -enum Api { - list = '/sys/sysBanner/list', - save = '/sys/sysBanner/add', - edit = '/sys/sysBanner/edit', - deleteOne = '/sys/sysBanner/delete', - deleteBatch = '/sys/sysBanner/deleteBatch', - importExcel = '/sys/sysBanner/importExcel', - exportXls = '/sys/sysBanner/exportXls', -} - -/** - * 导出api - * @param params - */ -export const getExportUrl = Api.exportXls; -/** - * 导入api - */ -export const getImportUrl = Api.importExcel; -/** - * 列表接口 - * @param params - */ -export const list = (params) => defHttp.get({ url: Api.list, params }); - -/** - * 删除单个 - */ -export const deleteOne = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteOne, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); - // return defHttp.delete({ url: Api.deleteOne, params }, { joinParamsToUrl: true }).then(() => { - // handleSuccess(); - // }); -}; -/** - * 批量删除 - * @param params - */ -export const batchDelete = (params, handleSuccess) => { - createConfirm({ - iconType: 'warning', - title: '确认删除', - content: '是否删除选中数据', - okText: '确认', - cancelText: '取消', - onOk: () => { - return defHttp - .delete( - { - url: Api.deleteBatch, - data: params, - }, - { joinParamsToUrl: true } - ) - .then(() => { - handleSuccess(); - }); - }, - }); -}; -/** - * 保存或者更新 - * @param params - */ -export const saveOrUpdate = (params, isUpdate) => { - const url = isUpdate ? Api.edit : Api.save; - return defHttp.post({ url: url, params }); -}; diff --git a/src/views/system/systemBanner/SysBanner.data.ts b/src/views/system/systemBanner/SysBanner.data.ts deleted file mode 100644 index 6b3352a..0000000 --- a/src/views/system/systemBanner/SysBanner.data.ts +++ /dev/null @@ -1,177 +0,0 @@ -import { BasicColumn } from '/@/components/Table'; -import { FormSchema } from '/@/components/Table'; -import { rules } from '/@/utils/helper/validator'; -import { render } from '/@/utils/common/renderUtils'; -import { h } from 'vue'; -import { Image } from 'ant-design-vue'; -import { getDefaultImage, getFileAccessHttpUrl } from '/@/utils/common/compUtils'; -import { BODY_CONTAINER } from "/@/utils/domUtils"; -//列表数据 -export const columns: BasicColumn[] = [ - { - title: '名称', - align: 'center', - dataIndex: 'name', - }, - { - title: '序号', - align: 'center', - dataIndex: 'sort', - }, - { - title: '图片', - align: 'center', - dataIndex: 'photoUrl', - minWidth: 230, - customRender: ({ text }) => { - return h(Image, { - placeholder: true, - src: getFileAccessHttpUrl(text), - height: 80, - width: 200, - fallback: getDefaultImage(), - }); - }, - }, - { - title: '展示位置', - align: 'center', - dataIndex: 'showLocation_dictText', - }, - { - title: '是否有效', - align: 'center', - dataIndex: 'status_dictText', - }, - { - title: '有效期', - align: 'center', - dataIndex: 'isLongTermEffective_dictText', - }, -]; -//查询数据 -export const searchFormSchema: FormSchema[] = [ - { - field: 'name', - label: '名称', - component: 'Input', - }, - { - field: 'showLocation', - label: '展示位置', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'show_location', - }, - }, - { - field: 'status', - label: '是否有效', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'yes_no_status', - }, - }, -]; -//表单数据 -export const formSchema: FormSchema[] = [ - { - label: '序号', - field: 'sort', - component: 'InputNumber', - rules: [{ required: true }], - }, - { - label: '名称', - field: 'name', - component: 'Input', - rules: [{ required: true }], - }, - { - label: '图片', - field: 'photoUrl', - component: 'JImageUpload', - rules: [{ required: true, message: '请上传图片' }], - }, - { - label: '展示位置', - field: 'showLocation', - component: 'JDictSelectTag', - componentProps: { - dictCode: 'show_location', - }, - rules: [{ required: true }], - }, - { - label: '是否有效', - field: 'status', - component: 'JDictSelectTag', - defaultValue: '1', - componentProps: { - type: 'radio', - dictCode: 'yes_no_status', - }, - rules: [{ required: true }], - }, - { - label: '有效期', - field: 'isLongTermEffective', - component: 'JDictSelectTag', - defaultValue: '1', - componentProps: { - type: 'radio', - dictCode: 'is_long_term_effective', - }, - rules: [{ required: true }], - }, - { - label: '有效期时间', - field: 'rangeTime', - component: 'RangePicker', - dynamicRules: ({ model }) => { - return [{ required: model.isLongTermEffective !== '1', message: '请选择有效期时间' }]; - }, - ifShow: ({ model }) => { - return model.isLongTermEffective !== '1'; - }, - componentProps: ({ formModel }) => { - return { - valueType: 'Date', - valueFormat: 'YYYY-MM-DD', - getPopupContainer: () => BODY_CONTAINER, - onChange: ([start, end]) => { - formModel.startTime = start; - formModel.endTime = end; - }, - }; - }, - }, - { - label: '', - field: 'startTime', - component: 'Input', - show: false, - }, - { - label: '', - field: 'endTime', - component: 'Input', - show: false, - }, - // TODO 主键隐藏字段,目前写死为ID - { - label: '', - field: 'id', - component: 'Input', - show: false, - }, -]; - -/** - * 流程表单调用这个方法获取formSchema - * @param param - */ -export function getBpmFormSchema(_formData): FormSchema[] { - // 默认和原始表单保持一致 如果流程中配置了权限数据,这里需要单独处理formSchema - return formSchema; -} diff --git a/src/views/system/systemBanner/SysBannerList.vue b/src/views/system/systemBanner/SysBannerList.vue deleted file mode 100644 index ff578fa..0000000 --- a/src/views/system/systemBanner/SysBannerList.vue +++ /dev/null @@ -1,195 +0,0 @@ - - - - - diff --git a/src/views/system/systemBanner/components/SysBannerForm.vue b/src/views/system/systemBanner/components/SysBannerForm.vue deleted file mode 100644 index 20c291a..0000000 --- a/src/views/system/systemBanner/components/SysBannerForm.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/system/systemBanner/components/SysBannerModal.vue b/src/views/system/systemBanner/components/SysBannerModal.vue deleted file mode 100644 index 2fc7f39..0000000 --- a/src/views/system/systemBanner/components/SysBannerModal.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - - -