瀏覽代碼

Merge branch 'develop6.0-tmd' of http://52.130.252.100:10000/TEAMMODEL/TEAMModelOS into develop6.0-tmd

CrazyIter_Bin 3 年之前
父節點
當前提交
e4bbd3cf9b

+ 1 - 1
TEAMModelBI/ClientApp/public/index.html

@@ -11,7 +11,7 @@
     </title>
 </head>
 <script src="https://g.alicdn.com/dingding/dinglogin/0.0.5/ddLogin.js"></script>
-<script src="https://at.alicdn.com/t/font_2934132_2bf1igxcbdy.js"></script>
+<script src="https://at.alicdn.com/t/font_2934132_qjsuxn9n1ih.js"></script>
 
 <body>
     <noscript>

+ 9 - 0
TEAMModelBI/ClientApp/src/api/index.js

@@ -124,6 +124,15 @@ export default {
     updateSchoolinfo(data) {
         return post('/batchschool/upd-schoolassist', data)
     },
+    //获取当前学校的学段管理数据
+    getNowscholl(data) {
+        return post('/schoolcheck/get-schoolid', data)
+    },
+    //修改学段管理内容
+    updateSchoolphase(data) {
+        return post('/schoolcheck/upd-school', data)
+    },
+
     //首页dashboard数据接口
     //获取各城市的学校数量(bar)
     getEachSchool(data) {

+ 550 - 0
TEAMModelBI/ClientApp/src/static/time-zone/timeCN.json

@@ -0,0 +1,550 @@
+[
+    {
+        "label": "(UTC-12:00) 国际换日线以西",
+        "value": "-12:00"
+    },
+    {
+        "label": "(UTC-11:00) 国际标准时间-11",
+        "value": "-11:00"
+    },
+    {
+        "label": "(UTC-10:00) 阿留申群岛",
+        "value": "-10:00"
+    },
+    {
+        "label": "(UTC-10:00) 夏威夷",
+        "value": "-10:00"
+    },
+    {
+        "label": "(UTC-09:30) 马克沙斯群岛",
+        "value": "-09:30"
+    },
+    {
+        "label": "(UTC-09:00) 阿拉斯加",
+        "value": "-09:00"
+    },
+    {
+        "label": "(UTC-09:00) 国际标准时间-09",
+        "value": "-09:00"
+    },
+    {
+        "label": "(UTC-08:00) 下加利福尼亚",
+        "value": "-08:00"
+    },
+    {
+        "label": "(UTC-08:00) 太平洋时间 (美国和加拿大)",
+        "value": "-08:00"
+    },
+    {
+        "label": "(UTC-08:00) 国际标准时间-08",
+        "value": "-08:00"
+    },
+    {
+        "label": "(UTC-07:00) 山区时间 (美国和加拿大)",
+        "value": "-07:00"
+    },
+    {
+        "label": "(UTC-07:00) 亚历桑那",
+        "value": "-07:00"
+    },
+    {
+        "label": "(UTC-07:00) 齐骅华,拉帕兹,马札特兰",
+        "value": "-07:00"
+    },
+    {
+        "label": "(UTC-06:00) 中美洲",
+        "value": "-06:00"
+    },
+    {
+        "label": "(UTC-06:00) 中部时间 (美国和加拿大)",
+        "value": "-06:00"
+    },
+    {
+        "label": "(UTC-06:00) 瓜达拉加若,墨西哥城,蒙特利",
+        "value": "-06:00"
+    },
+    {
+        "label": "(UTC-06:00) 伊斯特岛",
+        "value": "-06:00"
+    },
+    {
+        "label": "(UTC-06:00) 萨克其万 (加拿大)",
+        "value": "-06:00"
+    },
+    {
+        "label": "(UTC-05:00) 土克斯及开科斯",
+        "value": "-05:00"
+    },
+    {
+        "label": "(UTC-05:00) 切图马尔",
+        "value": "-05:00"
+    },
+    {
+        "label": "(UTC-05:00) 印第安纳 (东部)",
+        "value": "-05:00"
+    },
+    {
+        "label": "(UTC-05:00) 东部时间 (美国和加拿大)",
+        "value": "-05:00"
+    },
+    {
+        "label": "(UTC-05:00) 波哥大,利马,基多,里约布兰科",
+        "value": "-05:00"
+    },
+    {
+        "label": "(UTC-05:00) 哈瓦那",
+        "value": "-05:00"
+    },
+    {
+        "label": "(UTC-05:00) 海地",
+        "value": "-05:00"
+    },
+    {
+        "label": "(UTC-04:00) 大西洋时间 (加拿大)",
+        "value": "-04:00"
+    },
+    {
+        "label": "(UTC-04:00) 卡拉卡斯",
+        "value": "-04:00"
+    },
+    {
+        "label": "(UTC-04:00) 古雅巴",
+        "value": "-04:00"
+    },
+    {
+        "label": "(UTC-04:00) 佐治敦,拉帕兹,玛瑙斯,圣胡安",
+        "value": "-04:00"
+    },
+    {
+        "label": "(UTC-04:00) 亚松森",
+        "value": "-04:00"
+    },
+    {
+        "label": "(UTC-04:00) 圣地牙哥",
+        "value": "-04:00"
+    },
+    {
+        "label": "(UTC-03:30) 纽芬兰",
+        "value": "-03:30"
+    },
+    {
+        "label": "(UTC-03:00) 巴西利亚",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) 布宜诺斯艾利斯",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) 阿拉瓜伊纳",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) 格陵兰",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) 开云,福塔力沙",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) 圣匹岛",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) 蒙特维多",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) 蓬塔阿雷纳斯",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) 萨尔瓦多",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-02:00) 国际标准时间-02",
+        "value": "-02:00"
+    },
+    {
+        "label": "(UTC-01:00) 亚速尔群岛",
+        "value": "-01:00"
+    },
+    {
+        "label": "(UTC-01:00) 维德角",
+        "value": "-01:00"
+    },
+    {
+        "label": "(UTC) 国际标准时间",
+        "value": ""
+    },
+    {
+        "label": "(UTC+00:00) 都柏林,爱丁堡,里斯本,伦敦",
+        "value": "+00:00"
+    },
+    {
+        "label": "(UTC+00:00) 圣多美普林西比",
+        "value": "+00:00"
+    },
+    {
+        "label": "(UTC+00:00) 蒙罗维亚,雷克雅维克",
+        "value": "+00:00"
+    },
+    {
+        "label": "(UTC+01:00) 卡萨布兰卡",
+        "value": "+01:00"
+    },
+    {
+        "label": "(UTC+01:00) 中西非",
+        "value": "+01:00"
+    },
+    {
+        "label": "(UTC+01:00) 布鲁塞尔,哥本哈根,马德里,巴黎",
+        "value": "+01:00"
+    },
+    {
+        "label": "(UTC+01:00) 贝尔格勒,布拉提斯拉瓦,布达佩斯,卢布亚纳,布拉格",
+        "value": "+01:00"
+    },
+    {
+        "label": "(UTC+01:00) 阿姆斯特丹,柏林,伯恩,罗马,斯德哥尔摩,维也纳",
+        "value": "+01:00"
+    },
+    {
+        "label": "(UTC+01:00) 塞拉耶佛,斯高彼亚,华沙,札格雷布",
+        "value": "+01:00"
+    },
+    {
+        "label": "(UTC+02:00) 大马士革",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 加萨,希伯仑",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 卡里宁格勒",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 安曼",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 贝鲁特",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 奇西瑙",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 的黎波里",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 哈拉雷,皮托里",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 耶路撒冷",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 喀土穆",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 开罗",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 雅典,布加勒斯特",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 温吐克",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 赫尔辛基,凯耶夫,里加,苏非亚,塔林,维尔纽斯",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+03:00) 巴格达",
+        "value": "+03:00"
+    },
+    {
+        "label": "(UTC+03:00) 伊斯坦堡",
+        "value": "+03:00"
+    },
+    {
+        "label": "(UTC+03:00) 奈洛比",
+        "value": "+03:00"
+    },
+    {
+        "label": "(UTC+03:00) 明斯克",
+        "value": "+03:00"
+    },
+    {
+        "label": "(UTC+03:00) 科威特,利雅德",
+        "value": "+03:00"
+    },
+    {
+        "label": "(UTC+03:00) 莫斯科,圣彼得堡",
+        "value": "+03:00"
+    },
+    {
+        "label": "(UTC+03:30) 德黑兰",
+        "value": "+03:30"
+    },
+    {
+        "label": "(UTC+04:00) 巴库",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) 伊热夫斯克,沙马拉",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) 伏尔加格勒",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) 阿布达比,马斯喀特",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) 阿斯特拉罕,乌里扬诺夫斯克",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) 第比利斯",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) 叶里温",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) 路易士港",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) 萨拉托夫",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:30) 喀布尔",
+        "value": "+04:30"
+    },
+    {
+        "label": "(UTC+05:00) 伊卡特林堡",
+        "value": "+05:00"
+    },
+    {
+        "label": "(UTC+05:00) 伊斯兰马巴德,克洛奇",
+        "value": "+05:00"
+    },
+    {
+        "label": "(UTC+05:00) 克孜勒奥尔达",
+        "value": "+05:00"
+    },
+    {
+        "label": "(UTC+05:00) 阿什哈巴德,塔什干",
+        "value": "+05:00"
+    },
+    {
+        "label": "(UTC+05:30) 辰内,加尔各答,孟拜,新德里",
+        "value": "+05:30"
+    },
+    {
+        "label": "(UTC+05:30) 斯里哈亚华登尼普拉",
+        "value": "+05:30"
+    },
+    {
+        "label": "(UTC+05:45) 加德满都",
+        "value": "+05:45"
+    },
+    {
+        "label": "(UTC+06:00) 阿斯坦纳",
+        "value": "+06:00"
+    },
+    {
+        "label": "(UTC+06:00) 鄂木斯克",
+        "value": "+06:00"
+    },
+    {
+        "label": "(UTC+06:00) 达卡",
+        "value": "+06:00"
+    },
+    {
+        "label": "(UTC+06:30) 仰光",
+        "value": "+06:30"
+    },
+    {
+        "label": "(UTC+07:00) 巴尔瑙尔,戈尔诺-阿尔泰斯克",
+        "value": "+07:00"
+    },
+    {
+        "label": "(UTC+07:00) 托木斯克",
+        "value": "+07:00"
+    },
+    {
+        "label": "(UTC+07:00) 克拉斯诺亚尔斯克",
+        "value": "+07:00"
+    },
+    {
+        "label": "(UTC+07:00) 哈霍德",
+        "value": "+07:00"
+    },
+    {
+        "label": "(UTC+07:00) 曼谷,河内,雅加达",
+        "value": "+07:00"
+    },
+    {
+        "label": "(UTC+07:00) 新西伯利亚",
+        "value": "+07:00"
+    },
+    {
+        "label": "(UTC+08:00) 北京,重庆,香港特别行政区,乌鲁木齐",
+        "value": "+08:00"
+    },
+    {
+        "label": "(UTC+08:00) 台北",
+        "value": "+08:00"
+    },
+    {
+        "label": "(UTC+08:00) 伊尔库次克",
+        "value": "+08:00"
+    },
+    {
+        "label": "(UTC+08:00) 吉隆坡,新加坡",
+        "value": "+08:00"
+    },
+    {
+        "label": "(UTC+08:00) 伯斯",
+        "value": "+08:00"
+    },
+    {
+        "label": "(UTC+08:00) 库伦",
+        "value": "+08:00"
+    },
+    {
+        "label": "(UTC+08:45) 尤克拉",
+        "value": "+08:45"
+    },
+    {
+        "label": "(UTC+09:00) 大阪,北海道,东京",
+        "value": "+09:00"
+    },
+    {
+        "label": "(UTC+09:00) 平壤",
+        "value": "+09:00"
+    },
+    {
+        "label": "(UTC+09:00) 赤塔",
+        "value": "+09:00"
+    },
+    {
+        "label": "(UTC+09:00) 亚库兹克",
+        "value": "+09:00"
+    },
+    {
+        "label": "(UTC+09:00) 首尔",
+        "value": "+09:00"
+    },
+    {
+        "label": "(UTC+09:30) 爱德兰",
+        "value": "+09:30"
+    },
+    {
+        "label": "(UTC+09:30) 达尔文",
+        "value": "+09:30"
+    },
+    {
+        "label": "(UTC+10:00) 布里斯本",
+        "value": "+10:00"
+    },
+    {
+        "label": "(UTC+10:00) 坎培拉,墨尔本,雪梨",
+        "value": "+10:00"
+    },
+    {
+        "label": "(UTC+10:00) 海参威",
+        "value": "+10:00"
+    },
+    {
+        "label": "(UTC+10:00) 霍巴特",
+        "value": "+10:00"
+    },
+    {
+        "label": "(UTC+10:00) 关岛,莫尔斯贝港",
+        "value": "+10:00"
+    },
+    {
+        "label": "(UTC+10:30) 罗豪岛",
+        "value": "+10:30"
+    },
+    {
+        "label": "(UTC+11:00) 布干维尔岛",
+        "value": "+11:00"
+    },
+    {
+        "label": "(UTC+11:00) 库页岛",
+        "value": "+11:00"
+    },
+    {
+        "label": "(UTC+11:00) 索罗门群岛,新喀里多尼亚群岛",
+        "value": "+11:00"
+    },
+    {
+        "label": "(UTC+11:00) 马加丹",
+        "value": "+11:00"
+    },
+    {
+        "label": "(UTC+11:00) 乔库尔达赫",
+        "value": "+11:00"
+    },
+    {
+        "label": "(UTC+11:00) 诺福克岛",
+        "value": "+11:00"
+    },
+    {
+        "label": "(UTC+12:00) 阿纳底,彼得保罗夫斯克-堪察加斯克",
+        "value": "+12:00"
+    },
+    {
+        "label": "(UTC+12:00) 国际标准时间+12",
+        "value": "+12:00"
+    },
+    {
+        "label": "(UTC+12:00) 斐济",
+        "value": "+12:00"
+    },
+    {
+        "label": "(UTC+12:00) 奥克兰,威灵顿",
+        "value": "+12:00"
+    },
+    {
+        "label": "(UTC+12:45) 查塔姆群岛",
+        "value": "+12:45"
+    },
+    {
+        "label": "(UTC+13:00) 努瓜娄发",
+        "value": "+13:00"
+    },
+    {
+        "label": "(UTC+13:00) 国际标准时间+13",
+        "value": "+13:00"
+    },
+    {
+        "label": "(UTC+13:00) 萨摩亚",
+        "value": "+13:00"
+    },
+    {
+        "label": "(UTC+14:00) 刻里提玛斯岛",
+        "value": "+14:00"
+    }
+]

+ 550 - 0
TEAMModelBI/ClientApp/src/static/time-zone/timeEN.json

@@ -0,0 +1,550 @@
+[
+    {
+        "label": "(UTC-12:00) International Date Line West",
+        "value": "-12:00"
+    },
+    {
+        "label": "(UTC-11:00) Coordinated Universal Time-11",
+        "value": "-11:00"
+    },
+    {
+        "label": "(UTC-10:00) Aleutian Islands",
+        "value": "-10:00"
+    },
+    {
+        "label": "(UTC-10:00) Hawaii",
+        "value": "-10:00"
+    },
+    {
+        "label": "(UTC-09:30) Marquesas Islands",
+        "value": "-09:30"
+    },
+    {
+        "label": "(UTC-09:00) Alaska",
+        "value": "-09:00"
+    },
+    {
+        "label": "(UTC-09:00) Coordinated Universal Time-09",
+        "value": "-09:00"
+    },
+    {
+        "label": "(UTC-08:00) Baja California",
+        "value": "-08:00"
+    },
+    {
+        "label": "(UTC-08:00) Coordinated Universal Time-08",
+        "value": "-08:00"
+    },
+    {
+        "label": "(UTC-08:00) Pacific Time (US & Canada)",
+        "value": "-08:00"
+    },
+    {
+        "label": "(UTC-07:00) Arizona",
+        "value": "-07:00"
+    },
+    {
+        "label": "(UTC-07:00) Chihuahua, La Paz, Mazatlan",
+        "value": "-07:00"
+    },
+    {
+        "label": "(UTC-07:00) Mountain Time (US & Canada)",
+        "value": "-07:00"
+    },
+    {
+        "label": "(UTC-06:00) Central America",
+        "value": "-06:00"
+    },
+    {
+        "label": "(UTC-06:00) Central Time (US & Canada)",
+        "value": "-06:00"
+    },
+    {
+        "label": "(UTC-06:00) Easter Island",
+        "value": "-06:00"
+    },
+    {
+        "label": "(UTC-06:00) Guadalajara, Mexico City, Monterrey",
+        "value": "-06:00"
+    },
+    {
+        "label": "(UTC-06:00) Saskatchewan",
+        "value": "-06:00"
+    },
+    {
+        "label": "(UTC-05:00) Bogota, Lima, Quito, Rio Branco",
+        "value": "-05:00"
+    },
+    {
+        "label": "(UTC-05:00) Chetumal",
+        "value": "-05:00"
+    },
+    {
+        "label": "(UTC-05:00) Eastern Time (US & Canada)",
+        "value": "-05:00"
+    },
+    {
+        "label": "(UTC-05:00) Haiti",
+        "value": "-05:00"
+    },
+    {
+        "label": "(UTC-05:00) Havana",
+        "value": "-05:00"
+    },
+    {
+        "label": "(UTC-05:00) Indiana (East)",
+        "value": "-05:00"
+    },
+    {
+        "label": "(UTC-05:00) Turks and Caicos",
+        "value": "-05:00"
+    },
+    {
+        "label": "(UTC-04:00) Asuncion",
+        "value": "-04:00"
+    },
+    {
+        "label": "(UTC-04:00) Atlantic Time (Canada)",
+        "value": "-04:00"
+    },
+    {
+        "label": "(UTC-04:00) Caracas",
+        "value": "-04:00"
+    },
+    {
+        "label": "(UTC-04:00) Cuiaba",
+        "value": "-04:00"
+    },
+    {
+        "label": "(UTC-04:00) Georgetown, La Paz, Manaus, San Juan",
+        "value": "-04:00"
+    },
+    {
+        "label": "(UTC-04:00) Santiago",
+        "value": "-04:00"
+    },
+    {
+        "label": "(UTC-03:30) Newfoundland",
+        "value": "-03:30"
+    },
+    {
+        "label": "(UTC-03:00) Araguaina",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) Brasilia",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) Cayenne, Fortaleza",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) City of Buenos Aires",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) Greenland",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) Montevideo",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) Punta Arenas",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) Saint Pierre and Miquelon",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) Salvador",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-02:00) Coordinated Universal Time-02",
+        "value": "-02:00"
+    },
+    {
+        "label": "(UTC-01:00) Azores",
+        "value": "-01:00"
+    },
+    {
+        "label": "(UTC-01:00) Cabo Verde Is.",
+        "value": "-01:00"
+    },
+    {
+        "label": "(UTC) Coordinated Universal Time",
+        "value": ""
+    },
+    {
+        "label": "(UTC+00:00) Dublin, Edinburgh, Lisbon, London",
+        "value": "+00:00"
+    },
+    {
+        "label": "(UTC+00:00) Monrovia, Reykjavik",
+        "value": "+00:00"
+    },
+    {
+        "label": "(UTC+00:00) Sao Tome",
+        "value": "+00:00"
+    },
+    {
+        "label": "(UTC+01:00) Casablanca",
+        "value": "+01:00"
+    },
+    {
+        "label": "(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna",
+        "value": "+01:00"
+    },
+    {
+        "label": "(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague",
+        "value": "+01:00"
+    },
+    {
+        "label": "(UTC+01:00) Brussels, Copenhagen, Madrid, Paris",
+        "value": "+01:00"
+    },
+    {
+        "label": "(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb",
+        "value": "+01:00"
+    },
+    {
+        "label": "(UTC+01:00) West Central Africa",
+        "value": "+01:00"
+    },
+    {
+        "label": "(UTC+02:00) Amman",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) Athens, Bucharest",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) Beirut",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) Cairo",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) Chisinau",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) Damascus",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) Gaza, Hebron",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) Harare, Pretoria",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) Jerusalem",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) Kaliningrad",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) Khartoum",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) Tripoli",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) Windhoek",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+03:00) Baghdad",
+        "value": "+03:00"
+    },
+    {
+        "label": "(UTC+03:00) Istanbul",
+        "value": "+03:00"
+    },
+    {
+        "label": "(UTC+03:00) Kuwait, Riyadh",
+        "value": "+03:00"
+    },
+    {
+        "label": "(UTC+03:00) Minsk",
+        "value": "+03:00"
+    },
+    {
+        "label": "(UTC+03:00) Moscow, St. Petersburg",
+        "value": "+03:00"
+    },
+    {
+        "label": "(UTC+03:00) Nairobi",
+        "value": "+03:00"
+    },
+    {
+        "label": "(UTC+03:30) Tehran",
+        "value": "+03:30"
+    },
+    {
+        "label": "(UTC+04:00) Abu Dhabi, Muscat",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) Astrakhan, Ulyanovsk",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) Baku",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) Izhevsk, Samara",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) Port Louis",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) Saratov",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) Tbilisi",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) Volgograd",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) Yerevan",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:30) Kabul",
+        "value": "+04:30"
+    },
+    {
+        "label": "(UTC+05:00) Ashgabat, Tashkent",
+        "value": "+05:00"
+    },
+    {
+        "label": "(UTC+05:00) Ekaterinburg",
+        "value": "+05:00"
+    },
+    {
+        "label": "(UTC+05:00) Islamabad, Karachi",
+        "value": "+05:00"
+    },
+    {
+        "label": "(UTC+05:00) Qyzylorda",
+        "value": "+05:00"
+    },
+    {
+        "label": "(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi",
+        "value": "+05:30"
+    },
+    {
+        "label": "(UTC+05:30) Sri Jayawardenepura",
+        "value": "+05:30"
+    },
+    {
+        "label": "(UTC+05:45) Kathmandu",
+        "value": "+05:45"
+    },
+    {
+        "label": "(UTC+06:00) Astana",
+        "value": "+06:00"
+    },
+    {
+        "label": "(UTC+06:00) Dhaka",
+        "value": "+06:00"
+    },
+    {
+        "label": "(UTC+06:00) Omsk",
+        "value": "+06:00"
+    },
+    {
+        "label": "(UTC+06:30) Yangon (Rangoon)",
+        "value": "+06:30"
+    },
+    {
+        "label": "(UTC+07:00) Bangkok, Hanoi, Jakarta",
+        "value": "+07:00"
+    },
+    {
+        "label": "(UTC+07:00) Barnaul, Gorno-Altaysk",
+        "value": "+07:00"
+    },
+    {
+        "label": "(UTC+07:00) Hovd",
+        "value": "+07:00"
+    },
+    {
+        "label": "(UTC+07:00) Krasnoyarsk",
+        "value": "+07:00"
+    },
+    {
+        "label": "(UTC+07:00) Novosibirsk",
+        "value": "+07:00"
+    },
+    {
+        "label": "(UTC+07:00) Tomsk",
+        "value": "+07:00"
+    },
+    {
+        "label": "(UTC+08:00) Beijing, Chongqing,Hong Kong, Urumqi ",
+        "value": "+08:00"
+    },
+    {
+        "label": "(UTC+08:00) Irkutsk",
+        "value": "+08:00"
+    },
+    {
+        "label": "(UTC+08:00) Kuala Lumpur, Singapore",
+        "value": "+08:00"
+    },
+    {
+        "label": "(UTC+08:00) Perth",
+        "value": "+08:00"
+    },
+    {
+        "label": "(UTC+08:00) Taipei",
+        "value": "+08:00"
+    },
+    {
+        "label": "(UTC+08:00) Ulaanbaatar",
+        "value": "+08:00"
+    },
+    {
+        "label": "(UTC+08:45) Eucla",
+        "value": "+08:45"
+    },
+    {
+        "label": "(UTC+09:00) Chita",
+        "value": "+09:00"
+    },
+    {
+        "label": "(UTC+09:00) Osaka, Sapporo, Tokyo",
+        "value": "+09:00"
+    },
+    {
+        "label": "(UTC+09:00) Pyongyang",
+        "value": "+09:00"
+    },
+    {
+        "label": "(UTC+09:00) Seoul",
+        "value": "+09:00"
+    },
+    {
+        "label": "(UTC+09:00) Yakutsk",
+        "value": "+09:00"
+    },
+    {
+        "label": "(UTC+09:30) Adelaide",
+        "value": "+09:30"
+    },
+    {
+        "label": "(UTC+09:30) Darwin",
+        "value": "+09:30"
+    },
+    {
+        "label": "(UTC+10:00) Brisbane",
+        "value": "+10:00"
+    },
+    {
+        "label": "(UTC+10:00) Canberra, Melbourne, Sydney",
+        "value": "+10:00"
+    },
+    {
+        "label": "(UTC+10:00) Guam, Port Moresby",
+        "value": "+10:00"
+    },
+    {
+        "label": "(UTC+10:00) Hobart",
+        "value": "+10:00"
+    },
+    {
+        "label": "(UTC+10:00) Vladivostok",
+        "value": "+10:00"
+    },
+    {
+        "label": "(UTC+10:30) Lord Howe Island",
+        "value": "+10:30"
+    },
+    {
+        "label": "(UTC+11:00) Bougainville Island",
+        "value": "+11:00"
+    },
+    {
+        "label": "(UTC+11:00) Chokurdakh",
+        "value": "+11:00"
+    },
+    {
+        "label": "(UTC+11:00) Magadan",
+        "value": "+11:00"
+    },
+    {
+        "label": "(UTC+11:00) Norfolk Island",
+        "value": "+11:00"
+    },
+    {
+        "label": "(UTC+11:00) Sakhalin",
+        "value": "+11:00"
+    },
+    {
+        "label": "(UTC+11:00) Solomon Is., New Caledonia",
+        "value": "+11:00"
+    },
+    {
+        "label": "(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky",
+        "value": "+12:00"
+    },
+    {
+        "label": "(UTC+12:00) Auckland, Wellington",
+        "value": "+12:00"
+    },
+    {
+        "label": "(UTC+12:00) Coordinated Universal Time+12",
+        "value": "+12:00"
+    },
+    {
+        "label": "(UTC+12:00) Fiji",
+        "value": "+12:00"
+    },
+    {
+        "label": "(UTC+12:45) Chatham Islands",
+        "value": "+12:45"
+    },
+    {
+        "label": "(UTC+13:00) Coordinated Universal Time+13",
+        "value": "+13:00"
+    },
+    {
+        "label": "(UTC+13:00) Nuku'alofa",
+        "value": "+13:00"
+    },
+    {
+        "label": "(UTC+13:00) Samoa",
+        "value": "+13:00"
+    },
+    {
+        "label": "(UTC+14:00) Kiritimati Island",
+        "value": "+14:00"
+    }
+]

+ 550 - 0
TEAMModelBI/ClientApp/src/static/time-zone/timeTW.json

@@ -0,0 +1,550 @@
+[
+    {
+        "label": "(UTC-12:00) 國際換日線以西",
+        "value": "-12:00"
+    },
+    {
+        "label": "(UTC-11:00) 國際標準時間-11",
+        "value": "-11:00"
+    },
+    {
+        "label": "(UTC-10:00) 阿留申群島",
+        "value": "-10:00"
+    },
+    {
+        "label": "(UTC-10:00) 夏威夷",
+        "value": "-10:00"
+    },
+    {
+        "label": "(UTC-09:30) 馬克沙斯群島",
+        "value": "-09:30"
+    },
+    {
+        "label": "(UTC-09:00) 阿拉斯加",
+        "value": "-09:00"
+    },
+    {
+        "label": "(UTC-09:00) 國際標準時間-09",
+        "value": "-09:00"
+    },
+    {
+        "label": "(UTC-08:00) 下加利福尼亞",
+        "value": "-08:00"
+    },
+    {
+        "label": "(UTC-08:00) 太平洋時間 (美國和加拿大)",
+        "value": "-08:00"
+    },
+    {
+        "label": "(UTC-08:00) 國際標準時間-08",
+        "value": "-08:00"
+    },
+    {
+        "label": "(UTC-07:00) 山區時間 (美國和加拿大)",
+        "value": "-07:00"
+    },
+    {
+        "label": "(UTC-07:00) 亞歷桑那",
+        "value": "-07:00"
+    },
+    {
+        "label": "(UTC-07:00) 齊驊華,拉帕茲,馬札特蘭",
+        "value": "-07:00"
+    },
+    {
+        "label": "(UTC-06:00) 中美洲",
+        "value": "-06:00"
+    },
+    {
+        "label": "(UTC-06:00) 中部時間 (美國和加拿大)",
+        "value": "-06:00"
+    },
+    {
+        "label": "(UTC-06:00) 瓜達拉加若,墨西哥城,蒙特利",
+        "value": "-06:00"
+    },
+    {
+        "label": "(UTC-06:00) 伊斯特島",
+        "value": "-06:00"
+    },
+    {
+        "label": "(UTC-06:00) 薩克其萬 (加拿大)",
+        "value": "-06:00"
+    },
+    {
+        "label": "(UTC-05:00) 土克斯及開科斯",
+        "value": "-05:00"
+    },
+    {
+        "label": "(UTC-05:00) 切圖馬爾",
+        "value": "-05:00"
+    },
+    {
+        "label": "(UTC-05:00) 印第安納 (東部)",
+        "value": "-05:00"
+    },
+    {
+        "label": "(UTC-05:00) 東部時間 (美國和加拿大)",
+        "value": "-05:00"
+    },
+    {
+        "label": "(UTC-05:00) 波哥大,利馬,基多,里約布蘭科",
+        "value": "-05:00"
+    },
+    {
+        "label": "(UTC-05:00) 哈瓦那",
+        "value": "-05:00"
+    },
+    {
+        "label": "(UTC-05:00) 海地",
+        "value": "-05:00"
+    },
+    {
+        "label": "(UTC-04:00) 大西洋時間 (加拿大)",
+        "value": "-04:00"
+    },
+    {
+        "label": "(UTC-04:00) 卡拉卡斯",
+        "value": "-04:00"
+    },
+    {
+        "label": "(UTC-04:00) 古雅巴",
+        "value": "-04:00"
+    },
+    {
+        "label": "(UTC-04:00) 佐治敦,拉帕茲,瑪瑙斯,聖胡安",
+        "value": "-04:00"
+    },
+    {
+        "label": "(UTC-04:00) 亞松森",
+        "value": "-04:00"
+    },
+    {
+        "label": "(UTC-04:00) 聖地牙哥",
+        "value": "-04:00"
+    },
+    {
+        "label": "(UTC-03:30) 紐芬蘭",
+        "value": "-03:30"
+    },
+    {
+        "label": "(UTC-03:00) 巴西利亞",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) 布宜諾斯艾利斯",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) 阿拉瓜伊納",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) 格陵蘭",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) 開雲,福塔力沙",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) 聖匹島",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) 蒙特維多",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) 蓬塔阿雷納斯",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-03:00) 薩爾瓦多",
+        "value": "-03:00"
+    },
+    {
+        "label": "(UTC-02:00) 國際標準時間-02",
+        "value": "-02:00"
+    },
+    {
+        "label": "(UTC-01:00) 亞速爾群島",
+        "value": "-01:00"
+    },
+    {
+        "label": "(UTC-01:00) 維德角",
+        "value": "-01:00"
+    },
+    {
+        "label": "(UTC) 國際標准時間",
+        "value": ""
+    },
+    {
+        "label": "(UTC+00:00) 都柏林,愛丁堡,里斯本,倫敦",
+        "value": "+00:00"
+    },
+    {
+        "label": "(UTC+00:00) 聖多美普林西比",
+        "value": "+00:00"
+    },
+    {
+        "label": "(UTC+00:00) 蒙羅維亞,雷克雅維克",
+        "value": "+00:00"
+    },
+    {
+        "label": "(UTC+01:00) 卡薩布蘭卡",
+        "value": "+01:00"
+    },
+    {
+        "label": "(UTC+01:00) 中西非",
+        "value": "+01:00"
+    },
+    {
+        "label": "(UTC+01:00) 布魯塞爾,哥本哈根,馬德里,巴黎",
+        "value": "+01:00"
+    },
+    {
+        "label": "(UTC+01:00) 貝爾格勒,布拉提斯拉瓦,布達佩斯,盧布亞納,布拉格",
+        "value": "+01:00"
+    },
+    {
+        "label": "(UTC+01:00) 阿姆斯特丹,柏林,伯恩,羅馬,斯德哥爾摩,維也納",
+        "value": "+01:00"
+    },
+    {
+        "label": "(UTC+01:00) 塞拉耶佛,斯高彼亞,華沙,札格雷布",
+        "value": "+01:00"
+    },
+    {
+        "label": "(UTC+02:00) 大馬士革",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 加薩,希伯侖",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 卡里寧格勒",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 安曼",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 貝魯特",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 奇西瑙",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 的黎波里",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 哈拉雷,皮托里",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 耶路撒冷",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 喀土穆",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 開羅",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 雅典,布加勒斯特",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 溫吐克",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+02:00) 赫爾辛基,凱耶夫,里加,蘇非亞,塔林,維爾紐斯",
+        "value": "+02:00"
+    },
+    {
+        "label": "(UTC+03:00) 巴格達",
+        "value": "+03:00"
+    },
+    {
+        "label": "(UTC+03:00) 伊斯坦堡",
+        "value": "+03:00"
+    },
+    {
+        "label": "(UTC+03:00) 奈洛比",
+        "value": "+03:00"
+    },
+    {
+        "label": "(UTC+03:00) 明斯克",
+        "value": "+03:00"
+    },
+    {
+        "label": "(UTC+03:00) 科威特,利雅德",
+        "value": "+03:00"
+    },
+    {
+        "label": "(UTC+03:00) 莫斯科,聖彼得堡",
+        "value": "+03:00"
+    },
+    {
+        "label": "(UTC+03:30) 德黑蘭",
+        "value": "+03:30"
+    },
+    {
+        "label": "(UTC+04:00) 巴庫",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) 伊熱夫斯克,沙馬拉",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) 伏爾加格勒",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) 阿布達比,馬斯喀特",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) 阿斯特拉罕,烏里揚諾夫斯克",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) 第比利斯",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) 葉里溫",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) 路易士港",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:00) 薩拉托夫",
+        "value": "+04:00"
+    },
+    {
+        "label": "(UTC+04:30) 喀布爾",
+        "value": "+04:30"
+    },
+    {
+        "label": "(UTC+05:00) 伊卡特林堡",
+        "value": "+05:00"
+    },
+    {
+        "label": "(UTC+05:00) 伊斯蘭馬巴德,克洛奇",
+        "value": "+05:00"
+    },
+    {
+        "label": "(UTC+05:00) 克孜勒奧爾達",
+        "value": "+05:00"
+    },
+    {
+        "label": "(UTC+05:00) 阿什哈巴德,塔什干",
+        "value": "+05:00"
+    },
+    {
+        "label": "(UTC+05:30) 辰內,加爾各答,孟拜,新德里",
+        "value": "+05:30"
+    },
+    {
+        "label": "(UTC+05:30) 斯里哈亞華登尼普拉",
+        "value": "+05:30"
+    },
+    {
+        "label": "(UTC+05:45) 加德滿都",
+        "value": "+05:45"
+    },
+    {
+        "label": "(UTC+06:00) 阿斯坦納",
+        "value": "+06:00"
+    },
+    {
+        "label": "(UTC+06:00) 鄂木斯克",
+        "value": "+06:00"
+    },
+    {
+        "label": "(UTC+06:00) 達卡",
+        "value": "+06:00"
+    },
+    {
+        "label": "(UTC+06:30) 仰光",
+        "value": "+06:30"
+    },
+    {
+        "label": "(UTC+07:00) 巴爾瑙爾,戈爾諾-阿爾泰斯克",
+        "value": "+07:00"
+    },
+    {
+        "label": "(UTC+07:00) 托木斯克",
+        "value": "+07:00"
+    },
+    {
+        "label": "(UTC+07:00) 克拉斯諾亞爾斯克",
+        "value": "+07:00"
+    },
+    {
+        "label": "(UTC+07:00) 哈霍德",
+        "value": "+07:00"
+    },
+    {
+        "label": "(UTC+07:00) 曼谷,河內,雅加達",
+        "value": "+07:00"
+    },
+    {
+        "label": "(UTC+07:00) 新西伯利亞",
+        "value": "+07:00"
+    },
+    {
+        "label": "(UTC+08:00) 北京,重慶,香港特別行政區,烏魯木齊",
+        "value": "+08:00"
+    },
+    {
+        "label": "(UTC+08:00) 台北",
+        "value": "+08:00"
+    },
+    {
+        "label": "(UTC+08:00) 伊爾庫次克",
+        "value": "+08:00"
+    },
+    {
+        "label": "(UTC+08:00) 吉隆坡,新加坡",
+        "value": "+08:00"
+    },
+    {
+        "label": "(UTC+08:00) 伯斯",
+        "value": "+08:00"
+    },
+    {
+        "label": "(UTC+08:00) 庫倫",
+        "value": "+08:00"
+    },
+    {
+        "label": "(UTC+08:45) 尤克拉",
+        "value": "+08:45"
+    },
+    {
+        "label": "(UTC+09:00) 大阪,北海道,東京",
+        "value": "+09:00"
+    },
+    {
+        "label": "(UTC+09:00) 平壤",
+        "value": "+09:00"
+    },
+    {
+        "label": "(UTC+09:00) 赤塔",
+        "value": "+09:00"
+    },
+    {
+        "label": "(UTC+09:00) 亞庫茲克",
+        "value": "+09:00"
+    },
+    {
+        "label": "(UTC+09:00) 首爾",
+        "value": "+09:00"
+    },
+    {
+        "label": "(UTC+09:30) 愛德蘭",
+        "value": "+09:30"
+    },
+    {
+        "label": "(UTC+09:30) 達爾文",
+        "value": "+09:30"
+    },
+    {
+        "label": "(UTC+10:00) 布里斯本",
+        "value": "+10:00"
+    },
+    {
+        "label": "(UTC+10:00) 坎培拉,墨爾本,雪梨",
+        "value": "+10:00"
+    },
+    {
+        "label": "(UTC+10:00) 海參威",
+        "value": "+10:00"
+    },
+    {
+        "label": "(UTC+10:00) 霍巴特",
+        "value": "+10:00"
+    },
+    {
+        "label": "(UTC+10:00) 關島,莫爾斯貝港",
+        "value": "+10:00"
+    },
+    {
+        "label": "(UTC+10:30) 羅豪島",
+        "value": "+10:30"
+    },
+    {
+        "label": "(UTC+11:00) 布干維爾島",
+        "value": "+11:00"
+    },
+    {
+        "label": "(UTC+11:00) 庫頁島",
+        "value": "+11:00"
+    },
+    {
+        "label": "(UTC+11:00) 索羅門群島,新喀里多尼亞群島",
+        "value": "+11:00"
+    },
+    {
+        "label": "(UTC+11:00) 馬加丹",
+        "value": "+11:00"
+    },
+    {
+        "label": "(UTC+11:00) 喬庫爾達赫",
+        "value": "+11:00"
+    },
+    {
+        "label": "(UTC+11:00) 諾福克島",
+        "value": "+11:00"
+    },
+    {
+        "label": "(UTC+12:00) 阿納底,彼得保羅夫斯克-堪察加斯克",
+        "value": "+12:00"
+    },
+    {
+        "label": "(UTC+12:00) 國際標準時間+12",
+        "value": "+12:00"
+    },
+    {
+        "label": "(UTC+12:00) 斐濟",
+        "value": "+12:00"
+    },
+    {
+        "label": "(UTC+12:00) 奧克蘭,威靈頓",
+        "value": "+12:00"
+    },
+    {
+        "label": "(UTC+12:45) 查塔姆群島",
+        "value": "+12:45"
+    },
+    {
+        "label": "(UTC+13:00) 努瓜婁發",
+        "value": "+13:00"
+    },
+    {
+        "label": "(UTC+13:00) 國際標準時間+13",
+        "value": "+13:00"
+    },
+    {
+        "label": "(UTC+13:00) 薩摩亞",
+        "value": "+13:00"
+    },
+    {
+        "label": "(UTC+14:00) 刻里提瑪斯島",
+        "value": "+14:00"
+    }
+]

+ 6 - 1
TEAMModelBI/ClientApp/src/store/index.js

@@ -12,7 +12,8 @@ export default createStore({
             "host": '',
             "sas": '',
         },
-        createModel: ''
+        createModel: '',
+        changbtnShow: false
     },
     mutations: {
         //修改组织架构
@@ -48,6 +49,10 @@ export default createStore({
         //改变创建模式
         changeCreatedmodel(state, value) {
             state.createModel = value
+        },
+        //改变存储变更按钮显示
+        changeShowbtn(state, value) {
+            state.changbtnShow = value
         }
     },
     actions: {},

+ 44 - 0
TEAMModelBI/ClientApp/src/until/common.js

@@ -28,5 +28,49 @@ export default {
     //时间戳转日期
     getLocalTime(nS) {
         return new Date(parseInt(nS)).toLocaleString().replace(/:\d{1,2}$/, ' ');
+    },
+    //计算总天数
+    totalDay(startime, endtime) {
+        console.log(startime, endtime, '传进来的值')
+        var date = new Date();
+        let year = date.getFullYear()
+        let month = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
+        var totaldays = 0
+        month.forEach(item => {
+            let days = 0
+            if (item >= startime && item <= endtime) {
+                switch (item) {
+                    case 1:
+                    case 3:
+                    case 5:
+                    case 7:
+                    case 8:
+                    case 10:
+                    case 12:
+                        days = 31;
+                        break;
+                    case 4:
+                    case 6:
+                    case 9:
+                    case 11:
+                        days = 30;
+                        break;
+                    case 2:
+                        let years = 0;
+                        if (startime < endtime)
+                            years = year;
+                        else
+                            years = year + 1;
+                        if (years % 4 == 0 && year % 100 != 0 || year % 400 == 0)
+                            days = 29;
+                        else
+                            days = 28;
+                        break;
+                }
+                totaldays += days;
+                console.log(totaldays, days)
+            }
+        });
+        return totaldays
     }
 }

+ 0 - 1
TEAMModelBI/ClientApp/src/until/http.js

@@ -17,7 +17,6 @@ axios.interceptors.request.use(
                 'Authorization': ""
             }
         }
-
         return config;
     },
     error => {

+ 39 - 0
TEAMModelBI/ClientApp/src/until/inspect.js

@@ -24,5 +24,44 @@ export default {
             m = now.getMonth() + 1,
             d = now.getDate();
         return y + "-" + (m < 10 ? "0" + m : m) + "-" + (d < 10 ? "0" + d : d) + " " + now.toTimeString().substr(0, 8);
+    },
+    //计算总天数
+    totalDay(startime, endtime) {
+        var date = new Date();
+        let year = date.getFullYear()
+        let month = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
+        let totaldays = 0
+        month.forEach(item => {
+            switch (item) {
+                case 1:
+                case 3:
+                case 5:
+                case 7:
+                case 8:
+                case 10:
+                case 12:
+                    days = 31;
+                    break;
+                case 4:
+                case 6:
+                case 9:
+                case 11:
+                    days = 30;
+                    break;
+                case 2:
+                    let years = 0;
+                    if (item <= 8 && item >= 3)
+                        years = year;
+                    else
+                        years = year + 1;
+                    if (years % 4 == 0 && year % 100 != 0 || year % 400 == 0)
+                        days = 29;
+                    else
+                        days = 28;
+                    break;
+            }
+            totaldays += days;
+        });
+        return totaldays
     }
 }

+ 69 - 9
TEAMModelBI/ClientApp/src/view/teachermanage/school.vue

@@ -81,11 +81,17 @@
     </div>
     <!--学校列表end-->
     <!--编辑学校页面-->
-    <div class="backbtn" v-show="models==='details' && PowerShow">
+    <div class="backbtn" v-if="models==='details' && PowerShow">
         <el-button type="primary" icon="el-icon-back" @click="schoolClose">返回</el-button>
+        <el-button class="changebtn" v-if="store.state.changbtnShow && changebtns" @click="getSetschool()">
+            <svg class="changebtn-areaicon" aria-hidden="true">
+                <use xlink:href="#icon-wenjian"></use>
+            </svg>
+            <span class="changebtn-title">存储变更</span>
+        </el-button>
     </div>
     <div class="schoolDeatils">
-        <el-tabs type="border-card" v-show="models==='details' && PowerShow">
+        <el-tabs type="border-card" v-if="models==='details' && PowerShow" @tab-click="changeTabs">
             <el-tab-pane label="基础设置">
                 <div class="redactbox" v-show="models==='details' && PowerShow">
                     <div class="school-formbox">
@@ -95,7 +101,7 @@
                             </el-form-item>
                             <el-form-item label="校徽:" class="school-form-badge">
                                 <el-upload class="upload-demo" :headers="uploadHeader" action="/blob/upload-public" :before-upload="changeBadge" :on-success="success" :on-error="handleUpdErr">
-                                    <el-image style="width: 125px; height:125px" :src="nowPitchdata.picture" fit="contain"></el-image>
+                                    <el-image style="width: 100%; height:125px" :src="nowPitchdata.picture" fit="contain"></el-image>
                                     <div class="changebadge">
                                         <el-button>更 换</el-button>
                                     </div>
@@ -148,7 +154,7 @@
                 </div>
             </el-tab-pane>
             <el-tab-pane label="学段管理">
-                <SetSchool></SetSchool>
+                <SetSchool :schoolData="studyPhase" ref="setSchoolData"></SetSchool>
             </el-tab-pane>
         </el-tabs>
     </div>
@@ -240,6 +246,11 @@ export default {
             Selectvalue: '',
             data: [],
         })
+        //学段管理(传输给子组件)
+        let studyPhase = ref()
+        //存储变更按钮显示show
+        let changebtns = ref(false)
+        let setSchoolData = ref(null)
         provinceOptions.value.optionInfo = optionsData
         console.log(store.state.point)
         //所有学校列表
@@ -263,7 +274,9 @@ export default {
         //点击学校列表,详情
         function deleteRow(index, data) {
             console.log(data, 'DATA')
+            //处理的基础设置
             areaSelect.value.data = []
+            studyPhase.value = data.id
             nowPitchdata.value = Object.assign(nowPitchdata.value, data)
             let checkboxInof = [
                 { value: false, name: '小学' },
@@ -290,9 +303,10 @@ export default {
                 : ''
             let token = JSON.parse(localStorage.getItem('id_token'))
             uploadHeader.value['x-auth-authtoken'] = token
-            models.value = 'details'
-            data.areaId !== null ? (areaSelect.value.Selectvalue = data.areaId) : ''
+            // data.areaId !== null ? (areaSelect.value.Selectvalue = data.areaId) : ''
+            console.log(store.state.point, '目前现有的所有区')
             store.state.point.length ? areaSelect.value.data.push(...store.state.point) : getoption()
+            models.value = 'details'
         }
         //更换校徽
         function changeBadge(file) {
@@ -441,7 +455,7 @@ export default {
             let standname = areaSelect.value.data.filter((item) => {
                 return item.id === areaSelect.value.Selectvalue
             })
-            console.log(standname, nowPitchdata.value)
+            console.log(standname, nowPitchdata.value, '值!!!!!!!!!!!')
             let dataInfo = {
                 tmdId: user.tmdId,
                 tmdName: user.tmdName,
@@ -482,9 +496,28 @@ export default {
             tableData.value = originalData.value
             provinceOptions.value.optionInfo = optionsData
         }
+        //关于储存变更按钮
+        function changeTabs(value) {
+            console.log(value.props.label)
+            value.props.label == '学段管理' ? (changebtns.value = true) : (changebtns.value = false)
+        }
+        //获取子页面的数据
+        function getSetschool() {
+            console.log(setSchoolData.value.nowschoolData)
+            let newData = setSchoolData.value.nowschoolData
+            proxy.$api
+                .updateSchoolphase(newData)
+                .then((res) => {
+                    res.state === 200 ? (ElMessage.success('保存成功'), (studyPhase.value = res.schoolInfo.id), (changebtns.value = false)) : ElMessage.error('保存失败')
+                })
+                .catch((res) => {
+                    ElMessage.error('API异常,保存失败')
+                })
+        }
         getAllschool()
         getAllassists()
         return {
+            store,
             tableData,
             options,
             props,
@@ -516,6 +549,11 @@ export default {
             updateSuccess,
             PowerShow,
             closeSelectarea,
+            studyPhase,
+            changeTabs,
+            changebtns,
+            setSchoolData,
+            getSetschool,
         }
     },
 }
@@ -544,7 +582,7 @@ export default {
     width: 100%;
 }
 .backbtn {
-    width: 20%;
+    width: 100%;
     text-align: left;
     line-height: 20px;
 }
@@ -554,7 +592,7 @@ export default {
     padding: 2%;
 }
 .upload-demo {
-    width: 125px;
+    width: 100%;
     height: 125px;
 }
 .school-form-name {
@@ -765,6 +803,21 @@ export default {
 }
 .schoolDeatils {
     margin-top: 0.5%;
+    position: relative;
+}
+.changebtn {
+    display: inline-block;
+    float: right;
+}
+.changebtn-title {
+    font-size: 12px;
+}
+.changebtn-areaicon {
+    width: 0.9em;
+    height: 0.9em;
+    vertical-align: -0.1em;
+    fill: currentColor;
+    margin-right: 3px;
 }
 </style>
 <style>
@@ -825,6 +878,13 @@ export default {
 .schoolDeatils .el-tabs__content {
     padding: 0px;
 }
+.backbtn .changebtn {
+    padding: 8px 15px;
+}
+.upload-demo .el-upload {
+    width: 100%;
+    height: 125px;
+}
 @media screen and (max-width: 1920px) {
     .school-formbox .school-form-badge {
         width: 17.5%;

File diff suppressed because it is too large
+ 1093 - 82
TEAMModelBI/ClientApp/src/view/teachermanage/setschool.vue


+ 11 - 54
TEAMModelBI/Controllers/BISchool/BatchSchoolController.cs

@@ -560,18 +560,17 @@ namespace TEAMModelBI.Controllers.BISchool
             try
             {
                 if (!jsonElement.TryGetProperty("schoolId", out JsonElement _schoolId)) return BadRequest();
-                if (!jsonElement.TryGetProperty("period", out JsonElement period)) return BadRequest();
+                //if (!jsonElement.TryGetProperty("period", out JsonElement period)) return BadRequest();
                 if (!jsonElement.TryGetProperty("picture", out JsonElement picture)) return BadRequest();
                 if (!jsonElement.TryGetProperty("size", out JsonElement size)) return BadRequest();
                 if (!jsonElement.TryGetProperty("scale", out JsonElement scale)) return BadRequest();
                 if (!jsonElement.TryGetProperty("assistId", out JsonElement _assistId)) return BadRequest();
-                //if (!jsonElement.TryGetProperty("tmdId", out JsonElement _tmdId)) return BadRequest();
-                //if (!jsonElement.TryGetProperty("tmdName", out JsonElement _tmdName)) return BadRequest();
+                if (!jsonElement.TryGetProperty("type", out JsonElement _type)) return BadRequest();
 
                 var (_tmdId, _tmdName, pic, did, dname, dpic) = HttpJwtAnalysis.JwtXAuthBI(HttpContext.GetXAuth("AuthToken"), _option);
 
                 List<string> assistId = _assistId.ToObject<List<string>>();
-                List<string> periodS = period.ToObject<List<string>>();
+                //List<string> periodS = period.ToObject<List<string>>();
 
                 Dictionary<string, List<Dictionary<string, string>>> haveSchoolManger = new Dictionary<string, List<Dictionary<string, string>>>();
 
@@ -581,15 +580,16 @@ namespace TEAMModelBI.Controllers.BISchool
                 {
                     List<Period> periods = new List<Period>();
                     string campusId = Guid.NewGuid().ToString();
-                    periodS.ForEach(x =>
-                    {
-                        periods.Add(new Period { id = Guid.NewGuid().ToString(), name = x.ToString(), campusId = campusId });
-                    });
+                    //periodS.ForEach(x =>
+                    //{
+                    //    periods.Add(new Period { id = Guid.NewGuid().ToString(), name = x.ToString(), campusId = campusId });
+                    //});
 
-                    tempShool.period = periods;
+                    //tempShool.period = periods;
                     tempShool.size = !string.IsNullOrEmpty($"{size}") ? int.Parse($"{size}") : tempShool.size;
                     tempShool.scale = !string.IsNullOrEmpty($"{scale}") ? int.Parse($"{scale}") : tempShool.scale;
                     tempShool.picture = $"{picture}";
+                    tempShool.type = int.Parse($"{_type}");
                     //修改学校
                     await cosmosClient.GetContainer(Constant.TEAMModelOS, "School").ReplaceItemAsync<School>(tempShool, tempShool.id, new PartitionKey("Base"));
 
@@ -613,8 +613,7 @@ namespace TEAMModelBI.Controllers.BISchool
                                     var tems = await cosmosClient.GetContainer("TEAMModelOS", "School").DeleteItemAsync<SchoolTeacher>(item.id, new PartitionKey(item.code));
                                 }
                             }
-                        }
-                        //bool temp = item.roles.Contains("assist");                        
+                        }                   
                     }
 
                     if (assistId.Count > 0)
@@ -698,52 +697,10 @@ namespace TEAMModelBI.Controllers.BISchool
                             }
                         }
                     }
-
-                    //SchoolAssist schoolAssist = new();
-                    //schoolAssist.id = tempShool.id;
-                    //schoolAssist.code = tempShool.code;
-                    //schoolAssist.pk = tempShool.pk;
-                    //schoolAssist.ttl = tempShool.ttl;
-                    //schoolAssist.schoolCode = tempShool.schoolCode;
-                    //schoolAssist.name = tempShool.name;
-                    //schoolAssist.period = tempShool.period;
-                    //schoolAssist.campuses = tempShool.campuses;
-                    //schoolAssist.region = tempShool.region;
-                    //schoolAssist.province = tempShool.province;
-                    //schoolAssist.city = tempShool.city;
-                    //schoolAssist.dist = tempShool.dist;
-                    //schoolAssist.areaId = tempShool.areaId;
-                    //schoolAssist.size = tempShool.size;
-                    //schoolAssist.address = tempShool.address;
-                    //schoolAssist.picture = tempShool.picture;
-                    //schoolAssist.timeZone = tempShool.timeZone;
-                    //schoolAssist.type = tempShool.type;
-                    //schoolAssist.standard = tempShool.standard;
-                    //schoolAssist.hpappraise = tempShool.hpappraise;
-
-                    //List<Assist> assists = new List<Assist>();
-                    ////查询学校的顾问
-                    //string managerSql = $"SELECT DISTINCT REPLACE(c.code, 'Teacher-', '') AS schoolId, c.id, c.name FROM c WHERE ARRAY_CONTAINS(c.roles, 'assist', true) AND c.pk = 'Teacher' AND c.status = 'join' AND c.code = 'Teacher-{tempShool.id}'";
-                    //var cosmosClent = _azureCosmos.GetCosmosClient();
-                    //await foreach (var item in cosmosClent.GetContainer(Constant.TEAMModelOS, "School").GetItemQueryStreamIterator(queryText: managerSql, requestOptions: new QueryRequestOptions() { }))
-                    //{
-                    //    using var json = await JsonDocument.ParseAsync(item.ContentStream);
-                    //    foreach (var obj in json.RootElement.GetProperty("Documents").EnumerateArray())
-                    //    {
-                    //        Assist assist = new Assist
-                    //        {
-                    //            tmdId = obj.GetProperty("id").GetString(),
-                    //            tmdName = obj.GetProperty("name").GetString()
-                    //        };
-                    //        assists.Add(assist);
-                    //    }
-                    //}
-
-                    //schoolAssist.assists = assists;
                 }
 
                 //保存操作记录
-                await _azureStorage.SaveLog("TeacherRoles-update", $"{_tmdName}【{_tmdId}】修改学校功能,修改的学校:{_schoolId},{string.Join("|", periodS.ToArray())},{picture},{size},{string.Join("|", assistId.ToArray())}", _dingDing, httpContext: HttpContext);
+                await _azureStorage.SaveLog("TeacherRoles-update", $"{_tmdName}【{_tmdId}】修改学校功能,修改的学校:{_schoolId},{_type},{picture},{size},{string.Join("|", assistId.ToArray())}", _dingDing, httpContext: HttpContext);
 
 
                 return Ok(new { state = 200 });