常见问题说明
关于禁用/默认组织结构选择框
选择框组件:res-select-group
组织结构选择框包含:公司,部门,人员,片区
部分情况下,不会显示片区选择框
3.1.89+ 的 systemclient 模块中 ,对于res-select-group
组件,增加了权限控制,
部门默认选中
和 人员默认选中
两个权限,会使得默认选中当前公司部门
人员强制选中
权限会默认成当前人员的 分公司部门人员,并且不可修改
配置文件放在那里?
50.4 上测试系统得例子,
配置文件放在E:\afServer\tomcat-revenue-manage-system-address-8007\webapps\system\WEB-INF\classes\vues
目录下
如果资源管理里面配置了组件目录 比如配置的是 ceshi
那么路径就会在E:\afServer\tomcat-revenue-manage-system-address-8007\webapps\system\WEB-INF\classes\ceshi\vues
关于带卡物联网表开户方式
当选择的的气表品牌是共享开户
并且为指令开户
时,会发送开户指令,并且不会出现发卡售气页面。
当选择的的气表品牌是共享开户
并且为发卡开户
时,不会发送开户指令,并且会出现发卡售气页面。
当选择的的气表品牌不是共享开户
时,会发送开户指令,并且会出现发卡售气页面。
滞纳金计算方式
滞纳金 = 违约天数 x 滞纳金比率 x 欠费金额
h = t_handplan
违约天数 = h.f_end_date - h.f_input_date
滞纳金比率 = 单值中的 民用违约金||非民用违约金
欠费金额 = h.f_oughtfee
f_end_date 怎么 生成的?
当系统配置 滞纳天数 单值时,f_end_date = f_input_date + 滞纳天数, 如:滞纳天数 = 15 , f_iuput_date = 2023-01-01, 那么 f_end_date 就是 2023-01-16
当系统配置 次月结算日期 单值时,f_end_date = 次月结算日期 如:次月结算日期 = 15 , f_iuput_date = 2023-01-01, 那么 f_end_date 就是 2023-02-15
用户编号是怎么生成的?
v3 产品公共的生成方法是 当前登陆人的组织机构 id f_orgid
+ t_sequence 表中 key 是 当前 f_ord_id 的 value
即 f_org_id
+ value
通常来说一般上 线前会制定好编号生成规则,或者按照原来客户旧系统的规则进行开发
打印控件怎么配置?为什么我配置好了但是没有效果?
一、 查看打印控件使用端口
- 进入系统首页
- 按下 F12 打开控制台查看网络,并点开
CLodopfuncs.js
开头得请求即可查看到端口
- 如果网络里没有请求数据,请保持控制台在这个页面,并且刷新客服系统
二、打印控件端口配置完成不生效
查看控制台是否有报错类似下图
Access to script at 'http://localhost:18000/CLodopfuncs.js?priority=1' from origin 'http://220.194.141.253:8600' has been blocked by CORS policy: The request client is not a secure context and the resource is in more-private address space
local
.
-
错误原因
Chrome 浏览器 94 及以后的版本,引入了弃用试验 Block insecure private network requests,就是当目标站点的 ip 地址比请求发起者的 ip 地址更加私密时,会进行阻止
-
解决方案 1
浏览器地址栏输入
chrome://flags/#block-insecure-private-network-requests
将Block insecure private network requests
选项设置为Disable
点击Relaunch
重启浏览器
- 解决方案 2
将网站升级为 https
-
解决方案 3
更换浏览器到 chrome 内核 94 以下 比如 93 版本
- chrome 旧版本下载地址 https://www.chromedownloads.net/chrome64win/
- 使用双核浏览器
- 使用 360 极速浏览器 极速模式进行访问
-
解决方案 4
修改注册表配置,不推荐不进行阐述
系统是如何划价的?物联网表预划价是什么意思?
2022-11-23 之前
物联网表
周期内内用气量 = ( 使用 f_user_id 查询 周期内收费记录之和) + 换表时填写的旧表余量 (当卡表换成物联网表时会让填写)
如果换表时选择同步 则会取 新表和旧表的 气量之和
查询 sql ↓
-- 收费记录用气量
select isnull(sum(s.f_pregas), 0) as gas
from t_sellinggas s
left join t_userfiles u on s.f_userfiles_id = u.f_userfiles_id
where s.f_operate_date >= '{stairbegindate}'
and s.f_type not in ('超用收费', '卡表收费', '发卡售气')
and s.f_user_id = '{f_user_id}'
and (u.f_ladder_sync != '不同步' or u.f_ladder_sync is null)
and s.f_state = '有效'
-- 换表时阶梯余量
select isnull(f_stair_use,0) f_stair_use from t_changetables
where f_operate_date >= '{stairbegindate}' and f_state = '有效'
and f_type='换新表' and f_userfiles_id = '{data.param.f_userfiles_id}'
卡表
周期内内用气量 = ( 使用 f_user_id 查询 周期内收费划价记录气量之和)
如果换表时选择同步 则会取 新表和旧表的 气量之和
查询 sql ↓
select sum(c.f_gas) as gas
from t_chargeprice c
left join t_sellinggas h on h.id = c.f_charge_id
left join t_userfiles u on c.f_userfiles_id = u.f_userfiles_id
where c.f_type not in ('超用收费', '余量抵扣')
and (u.f_ladder_sync != '不同步' or u.f_ladder_sync is null)
and c.f_state = '有效'
and c.f_user_id = '{f_user_id}'
and c.f_operate_date >= '{stairbegindate}'
机表
周期内内用气量 = ( 使用 f_user_id 查询 周期内抄表划价记录气量之和)
如果换表时选择同步 则会取 新表和旧表的 气量之和
查询 sql ↓
select sum(c.f_gas) as gas
from t_chargeprice c
left join t_handplan h on h.id = c.f_hand_id
left join t_userfiles u on c.f_userfiles_id = u.f_userfiles_id
where c.f_type not in ('超用收费', '余量抵扣')
and (u.f_ladder_sync != '不同步' or u.f_ladder_sync is null)
and c.f_state = '有效'
and c.f_user_id = '{data.param.f_user_id}'
and c.f_operate_date >= '{stairbegindate}'
2022-11-23 之后
物联网表 有变动
周期内内用气量 = ( 使用 f_userfiles_id 查询 周期内收费记录之和) + 换表时填写的旧表余量 (当卡表换成物联网表时会让填写)
如果换表时选择同步 则会取 新表和旧表的 气量之和
查询 sql ↓
-- 收费记录用气量
select isnull(sum(s.f_pregas), 0) as gas
from t_sellinggas s
left join t_userfiles u on s.f_userfiles_id = u.f_userfiles_id
where s.f_operate_date >= '{stairbegindate}'
and s.f_type not in ('超用收费', '卡表收费', '发卡售气')
and s.f_userfiles_id = '{data.param.f_userfiles_id}'
and s.f_state = '有效'
-- 换表时阶梯余量
select isnull(f_stair_use, 0) f_stair_use
from t_changetables
where f_operate_date >= '{stairbegindate}'
and f_state = '有效'
and f_type = '换新表'
and f_userfiles_id = '{data.param.f_userfiles_id}'
union all
select 0
stairbegindate 本次阶梯开始日期
2023-11-19 物联网表营收页面调价改动
王磊 (公司最 diao 得产品) 让改成
周期内内用气量 = ( 使用 f_user_id 查询 周期内抄表(t_handplan/t_web_handplan)记录之和) + 换表时填写的旧表余量 (当卡表换成物联网表时会让填写)
如果换表时选择同步 则会取 新表和旧表的 气量之和
查询 sql ↓
-- 收费记录用气量
select isnull(sum(h.f_oughtamount), 0) as gas
from {table_name} h
left join t_userfiles u on h.f_userfiles_id = u.f_userfiles_id
where h.f_input_date >= '{stairbegindate}'
and h.f_userfiles_id = '{data.param.f_userfiles_id}'
and h.f_meter_state ='已抄表'
and h.f_hand_state='有效'
-- 换表时阶梯余量
select isnull(f_stair_use,0) f_stair_use from t_changetables
where f_operate_date >= '{stairbegindate}' and f_state = '有效'
and f_type='换新表' and f_userfiles_id = '{data.param.f_userfiles_id}'
物联网表预划价是什么意思
物联网表购气时,会更具收费记录划价,不会根据抄表记录划价
输入金额划价之后划出的气量只是预估能用的气量,不是实际用气量
因为是预付费,所以不确定每次买的气量能用多少,所以会预划价
比如今年年底小明已经买气买到三阶梯此时气价是 3, 小明的物联网表以三阶梯购气了 300 元,划价得出气量为 100,
但是到了来年一月一号,这 300 元气量是按照新的阶梯,1 阶梯 1 元的单价结算的,此时气量可以用 300,
所以预划价是不准确的