Jelajahi Sumber

Revert "feat"

This reverts commit eb7922ecec4b099702ea25bc5d59d31def11d0c6.
xtz 3 tahun lalu
induk
melakukan
1161b7d5a2

+ 3 - 4
answer - 副本/public/index.html

@@ -16,10 +16,9 @@
     <link rel="icon" href="<%= BASE_URL %>static/logo.ico">
     <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+SC:100,300,400,500,600,700,900">
     <!-- <script src="https://cdn.jsdelivr.net/npm/proxy-polyfill@0.3.0/proxy.min.js"></script> -->
-    <!-- <script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script> -->
-    <!-- <script src="https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js"></script> -->
-    <script src="./js/jweixin-1.2.0.js"></script>
-    <script src="./js/jwxwork-1.0.0.js"></script>
+    <script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
+    <script src="https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js"></script>
+    <!-- <script src="./static/jwxwork-1.0.0.js"></script> -->
     <title>一键报修</title>
     <style>
       *{

File diff ditekan karena terlalu besar
+ 0 - 1
answer - 副本/public/js/jweixin-1.2.0.js


File diff ditekan karena terlalu besar
+ 0 - 1
answer - 副本/public/js/jwxwork-1.0.0.js


File diff ditekan karena terlalu besar
+ 1 - 1
spance/lib/jwxwork-1.0.0.js


+ 2 - 4
maintenance/public/index.html

@@ -16,10 +16,8 @@
     <link rel="icon" href="<%= BASE_URL %>static/logo.ico">
     <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+SC:100,300,400,500,600,700,900">
     <!-- <script src = "https://cdn.jsdelivr.net/npm/proxy-polyfill@0.3.0/proxy.min.js"></script> -->
-    <!-- <script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
-    <script src="https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js"></script> -->
-    <script src="./js/jweixin-1.2.0.js"></script>
-    <script src="./js/jwxwork-1.0.0.js"></script>
+    <script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
+    <script src="https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js"></script>
     <title>IT故障维修管理</title>
     <style>
       *{

File diff ditekan karena terlalu besar
+ 0 - 1
maintenance/public/js/jweixin-1.2.0.js


File diff ditekan karena terlalu besar
+ 0 - 1
maintenance/public/js/jwxwork-1.0.0.js


+ 4 - 9
spance/index.html

@@ -5,16 +5,11 @@
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>一键报修</title>
     <!-- <script src="https://cdn.jsdelivr.net/npm/vant@2.10/lib/vant.min.js"></script> -->
-    <!-- <script src="https://cdn.bootcss.com/babel-polyfill/6.23.0/polyfill.min.js"></script>
+    <script src="https://cdn.bootcss.com/babel-polyfill/6.23.0/polyfill.min.js"></script>
     <script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.0/axios.min.js"></script>
-    <script src='https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js'></script> -->
-    <!-- <script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
-    <script src="https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js"></script> -->
-    <script src="./lib/polyfill.min.js"></script>
-    <script src="./lib/axios.min.js"></script>
-    <script src="./lib/js.cookie.min.js"></script>
-    <script src="./lib/jweixin-1.2.0.js"></script>
-    <script src="./lib/jwxwork-1.0.0.js"></script>
+    <script src='https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js'></script>
+    <script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
+     <script src="https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js"></script>
     <script src="./js/interceptor.js"></script>
     <script src="./js/api.js"></script>
     

+ 1 - 2
spance/js/index.js

@@ -100,9 +100,8 @@ window.addEventListener('load', async () => {
                 // localStorage.setItem('username',username) //2
                 let orderId = state.split('-')[1] - 0
                 Cookies.set('userId', userId)
-                // location.replace(location.href.split('?')[0] + '/admin')
                 // location.href=location.href.split('?')[0] + (window.screen.width > 1000 ? '/pc' : orderId?'/front/#/detail/'+orderId:'/front/#/index') //2
-                location.replace(location.href.split('?')[0] + (window.screen.width > 1000 ? (orderId?'/repair1/#/pc-detail/'+orderId:'/repair1/#/pc-list') : (orderId?'/repair1/#/detail/'+orderId:'/repair1/#/home')))
+                location.href=location.href.split('?')[0] + (window.screen.width > 1000 ? (orderId?'/repair1/#/pc-detail/'+orderId:'/repair1/#/pc-list') : (orderId?'/repair1/#/detail/'+orderId:'/repair1/#/home'))
                 // location.href=location.href.split('?')[0] + (window.screen.width > 1000 ? '/repair1/#/pc-form' : '/repair1/#/info')
             },
             fail: function(res) {

File diff ditekan karena terlalu besar
+ 0 - 3
spance/lib/axios.min.js


File diff ditekan karena terlalu besar
+ 0 - 8
spance/lib/js.cookie.min.js


File diff ditekan karena terlalu besar
+ 0 - 1
spance/lib/jweixin-1.2.0.js


File diff ditekan karena terlalu besar
+ 0 - 4
spance/lib/polyfill.min.js