Commit f0244c43 authored by zqm's avatar zqm

配置跳转路径以及参数

parent 9df81c9e
This diff is collapsed.
/*
* @Author: your name
* @Date: 2021-12-20 15:36:50
* @LastEditTime: 2021-12-20 15:38:55
* @LastEditors: your name
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \onlineReport\static\config.js
*/
/**
* @Author ygy
* @Description //TODO 获取地址栏参数
......@@ -12,4 +20,25 @@ function getUrlParam(name) {
return null;
}
// 公共配置
eval(unescape("var%20config%20%3D%20%7B%0A%20%20%20%20environmental%3A%22production%22%2C//production%20%u751F%u4EA7%20%20test%20%u6D4B%u8BD5%0A%20%20%20%20webUrl%3A%22/web/onlineReport/jsp/%22%2C%20//%20%u9884%u751F%u4EA7%u73AF%u5883%u89E3%u5F00%0A%20%20%20%20url%3A%22%22%2C//%20%u5F00%u53D1%u73AF%u5883%u914D%u7F6E%u8DE8%u57DF%u8BBE%u7F6E%20%20//%20%u5F00%u53D1%u73AF%u5883%0A%20%20%20%20value%3A%27%27%2C//%u52A0%u5BC6token%0A%09%20%20nsrsbq%3A%27%27%2C%0A%20%20%20%20spreadUrl%3A%22http%3A//sbjs.tjsat.gov.cn%22%2C//%20%u5C40%u7AEF%u751F%u4EA7%20%u503C%u4E3A%u7A7A%20%20%u5176%u4F59%u5168%u90E8%u6307%u5411%u5728%u7EBF%u7684%u57DF%u540D%0A%20%20%20%20ssfwptPage%3A%22/taxservicedesk/index.html%23/taxTableList%22%2C//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%20%u6708%u5B63%u62A5%0A%20%20%20%20yearTaxTable%3A%22/taxservicedesk/index.html%23/yearTaxTable%22%2C//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%20%u5E74%u62A5%0A%20%20%20%20zhsbPage%3A%22/taxservicedesk/index.html%23/syntheticalReport%22%2C//%20%u6D89%u7A0E%20%u7EFC%u5408%u7533%u62A5%u9875%u9762%0A%20%20%20%20taxFormComponent%3A%22/web/taxFormComponent/index.html%3Fparam%3D%22%2C//%20%u6D89%u7A0E%u670D%u52A1%u5E73%u53F0%u586B%u62A5%u9875%u9762%u5730%u5740%0A%20%20%20%20ccxwsTaxTable%3A%22/web/tax-plugin/index.html%22%2C//%u8D22%u4EA7%u884C%u4E3A%u7A0E%20%u7533%u62A5%20%u8DF3%u8F6C%u9875%u9762%0A%20%20%20%20collectPage%3A%22/propertybehaviortax/index.html%23/buttonFrame%22%2C//%u8D22%u4EA7%u884C%u4E3A%u7A0E%20%u91C7%u96C6%20%u8DF3%u8F6C%u586B%u62A5%u9875%u9762%0A%7D"))
\ No newline at end of file
var config = {
environmental: "test", //production生产,test测试,dev开发 注:environmental为dev时,ssfwptPage/yearTaxTable/zhsbPage使用配置文件地址
webUrl: "/web/onlineReport/jsp/", // 预生产环境解开
url: "", // 开发环境配置跨域设置 // 开发环境
value: '', //加密token
nsrsbq: '',
spreadUrl: "http://sbjs.tjsat.gov.cn", // 局端生产 值为空 其余全部指向在线的域名
ssfwptPage: "/taxservicedesk/index.html#/taxTableList", // 涉税服务平台填报页面地址 月季报
yearTaxTable: "/taxservicedesk/index.html#/yearTaxTable", // 涉税服务平台填报页面地址 年报
zhsbPage: "/taxservicedesk/index.html#/syntheticalReport", // 涉税 综合申报页面
taxFormComponent: "/web/taxFormComponent/index.html?param=", // 涉税服务平台填报页面地址
ccxwsTaxTable: "/web/tax-plugin/index.html", //财产行为税 申报 跳转页面
collectPage: "/propertybehaviortax/index.html#/buttonFrame", //财产行为税 采集 跳转填报页面
tableBridge: "/tableDisplayBusiness/index.html", //税表2.0 税种开表展示页面
}
if (config.environmental == 'test') {
prefix = "/web";
config.ccxwsTaxTable = "http://dev-web.htyfw.com.cn/page/property_tax_plugin_web/index.html";
} else if (config.environmental == 'production') {
prefix = "/web/online";
config.ccxwsTaxTable = "/web/tax-plugin/index.html";
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment