_filterDateId
{_whereSqlDateId:start_date}}
<section class="bs-search-date-range" v-loading="loading">
<el-row>
<el-button v-if="!removes.includes(6)" :type="actives['6']"
@click="handleEmit({title:'当日',_filterDateId:'6'})">当日</el-button>
<el-button v-if="!removes.includes(3)" :type="actives['3']"
@click="handleEmit({title:'上周',_filterDateId:'3'})">上周</el-button>
<el-button v-if="!removes.includes(2)" :type="actives['2']"
@click="handleEmit({title:'本周',_filterDateId:'2'})">本周</el-button>
<el-button v-if="!removes.includes(1)" :type="actives['1']"
@click="handleEmit({title:'上月',_filterDateId:'1'})">上月</el-button>
<el-button v-if="!removes.includes(0)" :type="actives['0']"
@click="handleEmit({title:'本月',_filterDateId:'0'})">本月</el-button>
<el-button v-if="!removes.includes(4)" :type="actives['4']"
@click="handleEmit({title:'今年',_filterDateId:'4'})">今年</el-button>
<el-button v-if="!removes.includes(5)" :type="actives['5']"
@click="handleEmit({title:'去年',_filterDateId:'5'})">去年</el-button>
<el-button v-if="!removes.includes(7)" :type="actives['7']"
@click="handleEmit({title:'明年',_filterDateId:'5'})">明年</el-button>
<el-button v-if="!removes.includes(8)" :type="actives['8']"
@click="handleEmit({title:'下月',_filterDateId:'8'})">下月</el-button>
<el-button v-if="!removes.includes(9)" :type="actives['9']"
@click="handleEmit({title:'下周',_filterDateId:'9'})">下周</el-button>
<el-button v-if="!removes.includes(10)" :type="actives['10']"
@click="handleEmit({title:'明日',_filterDateId:'10'})">明日</el-button>
<el-button v-if="!removes.includes(11)" :type="actives['11']"
@click="handleEmit({title:'昨日',_filterDateId:'11'})">昨日</el-button>
<el-button v-if="!removes.includes(12)" :type="actives['12']"
@click="handleEmit({title:'当时',_filterDateId:'12'})">当时</el-button>
</el-row>
</section>
公共的参数信息
namespace RG3.PF.Abstractions.Consts
{
/// <summary>
/// 系统 公共的参数信息
/// </summary>
public partial class SystemParamConst
{
/// <summary>
/// 图表时间轴信息 ["1","2"]
/// </summary>
public const string CURRENT_CHART_RANGE = "_currentChartRange";
/// <summary>
/// 存储token KEY accessToken
/// </summary>
public const string TOKEN_KEY = "Authorization";
#region 系统参数
/// <summary>
/// 星期几
/// </summary>
public const string CURRENT_DAY_WEEK = "_currentDayWeek";
/// <summary>
/// 当日 开始时间
/// </summary>
public const string CURRENT_DAY_S = "_currentDayS";
/// <summary>
///
/// </summary>
public const string CURRENT_DAY_E = "_currentDayE";
/// <summary>
/// 近7日、近1周 开始时间
/// </summary>
public const string CURRENT_DAY7_S = "_currentDay7S";
/// <summary>
/// 近7日、近1周 接收时间
/// </summary>
public const string CURRENT_DAY7_E = "_currentDay7E";
/// <summary>
/// 当周 开始时间
/// </summary>
public const string CURRENT_WEEK_S = "_currentWeekS";
/// <summary>
/// 当周 结束时间
/// </summary>
public const string CURRENT_WEEK_E = "_currentWeekE";
/// <summary>
/// 当月 开始时间
/// </summary>
public const string CURRENT_MONTH_S = "_currentMonthS";
/// <summary>
/// 当月 结束时间
/// </summary>
public const string CURRENT_MONTH_E = "_currentMonthE";
/// <summary>
/// 当年 开始时间
/// </summary>
public const string CURRENT_YEAR_S = "_currentYearS";
/// <summary>
/// 当年 结束时间
/// </summary>
public const string CURRENT_YEAR_E = "_currentYearE";
/// <summary>
///当前 小时 开始时间
/// </summary>
public const string CURRENT_HOUR_S = "_currentHourS";
/// <summary>
/// 当前 小时 结束时间
/// </summary>
public const string CURRENT_HOUR_E = "_currentHourE";
/// <summary>
/// 最近5分钟 开始时间
/// </summary>
public const string CURRENT_MINUTE5_S = "_currentMinute5S";
/// <summary>
/// 最近5分钟 结束时间
/// </summary>
public const string CURRENT_MINUTE5_E = "_currentMinute5E";
/// <summary>
/// 最近10分钟 开始时间
/// </summary>
public const string CURRENT_MINUTE10_S = "_currentMinute10S";
/// <summary>
/// 最近10分钟 结束时间
/// </summary>
public const string CURRENT_MINUTE10_E = "_currentMinute10E";
/// <summary>
/// 最近15分钟 开始时间
/// </summary>
public const string CURRENT_MINUTE15_S = "_currentMinute15S";
/// <summary>
/// 最近15分钟 结束时间
/// </summary>
public const string CURRENT_MINUTE15_E = "_currentMinute15E";
/// <summary>
/// 最近30分钟 开始时间
/// </summary>
public const string CURRENT_MINUTE30_S = "_currentMinute30S";
/// <summary> 结束时间
/// 最近30分钟
/// </summary>
public const string CURRENT_MINUTE30_E = "_currentMinute30E";
/// <summary>
/// 最近45分钟 开始时间
/// </summary>
public const string CURRENT_MINUTE45_S = "_currentMinute45S";
/// <summary>
/// 最近45分钟 结束时间
/// </summary>
public const string CURRENT_MINUTE45_E = "_currentMinute45E";
/// <summary>
/// 最近60分钟 开始时间
/// </summary>
public const string CURRENT_MINUTE60_S = "_currentMinute60S";
/// <summary>
/// 最近60分钟 结束时间
/// </summary>
public const string CURRENT_MINUTE60_E = "_currentMinute60E";
/// <summary>
/// 上周 开始时间
/// </summary>
public const string CURRENT_PREV_WEEK_S = "_currentPrevWeekS";
/// <summary>
/// 上周 结束时间
/// </summary>
public const string CURRENT_PREV_WEEK_E = "_currentPrevWeekE";
/// <summary>
/// 上个月 开始时间
/// </summary>
public const string CURRENT_PREV_MONTH_S = "_currentPrevMonthS";
/// <summary>
/// 上个月 结束时间
/// summary
/// </summary>
public const string CURRENT_PREV_MONTH_E = "_currentPrevMonthE";
/// <summary>
/// 去年 开始时间
/// </summary>
public const string CURRENT_PREV_YEAR_S = "_currentPrevYearS";
/// <summary>
/// 去年 结束时间
/// </summary>
public const string CURRENT_PREV_YEAR_E = "_currentPrevYearE";
/// <summary>
/// 昨日 开始时间
/// </summary>
public const string CURRENT_PREV_DAY_S = "_currentPrevDayS";
/// <summary>
/// 昨日 结束时间
/// </summary>
public const string CURRENT_PREV_DAY_E = "_currentPrevDayE";
#endregion
#region 未来参数
/// <summary>
/// 当前月份
/// </summary>
public const string CURRENT_MONTH = "_currentMonth";
/// <summary>
/// 当前年
/// </summary>
public const string CURRENT_YEAR = "_currentYear";
/// <summary>
/// 未来近1周
/// </summary>
public const string FUTURE_WEEK01_S = "_futureWeek01S";
/// <summary>
/// 未来近1周
/// </summary>
public const string FUTURE_WEEK01_E = "_futureWeek01E";
/// <summary>
/// 未来近1个月份
/// </summary>
public const string FUTURE_MONTH01_S = "_futureMonth01S";
/// <summary>
/// 未来近1个月份
/// </summary>
public const string FUTURE_MONTH01_E = "_futureMonth01E";
/// <summary>
/// 未来近3个月份
/// </summary>
public const string FUTURE_MONTH03_S = "_futureMonth03S";
/// <summary>
/// 未来近3个月份
/// </summary>
public const string FUTURE_MONTH03_E = "_futureMonth03E";
/// <summary>
/// 未来近6个月份
/// </summary>
public const string FUTURE_MONTH06_S = "_futureMonth06S";
/// <summary>
/// 未来近6个月份
/// </summary>
public const string FUTURE_MONTH06_E = "_futureMonth06E";
/// <summary>
/// 未来近12个月份
/// </summary>
public const string FUTURE_MONTH12_S = "_futureMonth12S";
/// <summary>
/// 未来近12个月份
/// </summary>
public const string FUTURE_MONTH012_E = "_futureMonth12E";
#endregion
#region 当前公共参数 存储到缓存
/// <summary>
///当前时间 常用 开始时间结尾 00:00:00
/// </summary>
public const string FILTER_DATE_S = "_filterDateS";
/// <summary>
///当前时间 常用 开始时间结尾 23:59:59
/// </summary>
public const string FILTER_DATE_E = "_filterDateE";
/// <summary>
///当前时间 常用
/// </summary>
public const string CURRENT_DATE = "_currentDate";
/// <summary>
/// 当前年月份
/// </summary>
public const string CURRENT_YEAR_MONTH = "_currentYearMonth";
/// <summary>
/// 当前年月份 yyyy-MM-01
/// </summary>
public const string CURRENT_YEAR_MONTH_01 = "_currentYearMonth01";
/// <summary>
/// 当前用户 id 常用
/// </summary>
public const string CURRENT_USER_ID = "_userId";
/// <summary>
/// 当前用户显示的名称 id 常用
/// </summary>
public const string CURRENT_USER_PUSH_NAME = "_userPushName";
/// <summary>
/// 平台默认密码 md加密的结果
/// </summary>
public const string CURRENT_DEF_PWSD = "_defaultPwsd";
/// <summary>
/// 当前用户手机号 常用
/// </summary>
public const string CURRENT_TELEPHONE = "_telephone";
/// <summary>
/// 当前 登录账号名
/// </summary>
public const string CURRENT_USER_NAME = "_userName";
/// <summary>
///
/// </summary>
public const string DEFAULT_ROLE_ID = "_defaultRoleId";
/// <summary>
///
/// </summary>
public const string DEFALUE_AREA_CODE = "_defaultAreaCode";
/// <summary>
///
/// </summary>
public const string DEFAULT_DEP_ID = "_defaultDepId";
/// <summary>
///
/// </summary>
public const string DEFAULT_JOB_ID = "_defaultJobId";
/// <summary>
///
/// </summary>
public const string DEFAULT_SYS_ID = "_defaultSysId";
/// <summary>
/// 开发者
/// </summary>
public const string CURRENT_USER_DEVELOPER = "_developer";
/// <summary>
///当前系统ID
/// </summary>
public const string CURRENT_SYS_ID = "_sysId";
/// <summary>
///nodejs转换
///\Config\AppNodeJs\Plugins common-data
/// </summary>
public const string CURRENT_NODE_JS = "_nodejs";
/// <summary>
///当前所属部门 depId 数组
/// </summary>
public const string CURRENT_DEP_ID = "_depId";
/// <summary>
///当前用户拥有的其它用户id
/// </summary>
public const string CURRENT_MERGE_USER_ID = "_mergeUserId";
/// <summary>
///当前三方 机构 ID
/// </summary>
public const string CURRENT_OPEN_ORG_ID= "_openOrgId";
/// <summary>
///当前三方 角色 ID
/// </summary>
public const string CURRENT_OPEN_ROLE_ID = "_openrRoleId";
/// <summary>
///当前三方ID
/// </summary>
public const string CURRENT_OPEN_ID = "_openId";
/// <summary>
///当前职位 depId 数组
/// </summary>
public const string CURRENT_JOB_ID = "_jobId";
/// <summary>
///当前用户拥有查看的行政区划 数组
/// </summary>
public const string CURRENT_AREA_CODE = "_areaCode";
/// <summary>
///当前过滤的行政区
/// </summary>
public const string CURRENT_FILTER_AREA_CODE = "_filterAreaCode";
/// <summary>
/// 特殊权限的用户ID
/// </summary>
public const string FILTER_USER_ID = "_filterUser";
/// <summary>
///当前角色 roleId 存储数组
/// </summary>
public const string CURRENT_ROLE_ID = "_roleId";
/// <summary>
///当前系统 参数全部信息 _sysParam
///RG3.PF 缓存里面需要设置
/// </summary>
public const string CURRENT_SYS_PARAM = "_sysParam";
#endregion
#region 头部参数
/// <summary>
/// API有效性验证 值存储在 header里面 _verifyApi
/// </summary>
public const string VERIFY_API = "_verifyApi";
/// <summary>
/// 短信验证 验证码等 存储表示key的名称
/// </summary>
public const string VERIFY_GUID = "verifyGuid";
/// <summary>
/// 短信验证 验证码等 存储表示值的名称
/// </summary>
public const string VERIFY_CODE = "verifyCode";
/// <summary>
/// //当前经度 GC102 _userLng
/// </summary>
public const string USER_LNG = "_userLng";
/// <summary>
/// 当前纬度 GC102 _userLat
/// </summary>
public const string USER_LAT = "_userLat";
/// <summary>
/// 当前 行政编码
/// </summary>
public const string USER_AREA_CODE = "_userAreaCode";
/// <summary>
/// 来源应用
/// </summary>
public const string FROM_APP_ID = "_fromAppId";
/// <summary>
/// 项目
/// </summary>
public const string OWNER_ID = "_ownerId";
/// <summary>
/// 项目 URL 传递
/// </summary>
public const string PARAM_OWNER_ID = "ownerId";
/// <summary>
/// 头前缀
/// </summary>
public const string HEADER_BEFORE_SUFFIX = "X";
/// <summary>
/// 来至用户分享的id
/// </summary>
public const string USER_FROM_FIRST_SHARE_ID = "_userFromFirstShareId";
/// <summary>
/// 来至用户分享的二级ID
/// </summary>
public const string USER_FROM_SECOND_SHARE_ID = "_userFromSecondShareId";
/// <summary>
/// 特定api验证
/// </summary>
public const string API_VERIFY_SOURCE = "_verifySource";
#endregion
/// <summary>
/// mapper文件和参数映射,根据值二次处理请求结果
/// </summary>
public const string API_MAPPER_TYPE = "_mapperType";
/// <summary>
///二级排序 _order=sort_id:asc|id:desc
/// </summary>
public const string API_ORDER = "_order";
/// <summary>
///二级排序 _sortchild =[commoditys]sort_id:asc|id:desc[commoditys] sort_id:asc|id:desc
/// </summary>
public const string API_SORT_CHILD = "_sortchild";
}
}
文档更新时间: 2022-09-04 17:31 作者:admin