Parcourir la source

系统footer隐藏

yuedefeng il y a 5 ans
Parent
commit
75d8785271

+ 12 - 23
src/dashoo.cn/frontend_web/src/pages/datadown.vue

@@ -9,18 +9,18 @@
         </div>
         <div style="float: right;">
           <router-link :to="'/login'">
-            <el-button type="info" size="small" round>登录系统</el-button>
+            <el-button type="primary" size="small" round>登录系统</el-button>
           </router-link>
         </div>
       </div>
     </sticky>
 
-    <div style="background-color: white;">
+    <div style="background-color: white; margin: 0 auto;">
 
         <el-table :data="noticeList"
                   border
                   size="mini"
-                  style="width: 1500px;margin-right: auto;  margin-left: auto;">
+                  style="width: 1004px;">
           <el-table-column prop="Name"
                             align="center"
                             label="通知">
@@ -40,44 +40,33 @@
           </el-table-column>
         </el-table>
     </div>
-
-    <div>
-      <footer class="login-footer1">
-        <div class="foot-wrapper" style="height: 30px; background-color: transparent; color:#A9A9A9; padding-top: 10px; text-align: right">
-          ©企管法规处 版权所有
-        </div>
-      </footer>
-    </div>
-
   </div>
 </template>
 
 <script>
-
   import Vue from 'vue'
   import Component from 'class-component'
   import Sticky from '@/components/Sticky'
-  import axios from 'axios'
 
   @Component({
     data () {
-       var check = (rule, value, callback) => {
+      let check = (rule, value, callback) => {
         if (value === '') {
-          callback(new Error('请输入验证码'));
+          callback(new Error('请输入验证码'))
         } else {
-          this.isPass=false
+          this.isPass = false
         }
-      };
+      }
       return {
         activeIndex: '1',
         isVisual: false,
-        isCodePass:true,
-        isPass:true,
+        isCodePass: true,
+        isPass: true,
         noticeList: [], // 文档列表
         formData: {
-          UserName:'',
-          Telephone: '', //用户手机号
-          yzCode: '', //验证码
+          UserName: '',
+          Telephone: '', // 用户手机号
+          yzCode: '', // 验证码
           UserPass: '',
           UserPass2: ''
         },

+ 33 - 42
src/dashoo.cn/frontend_web/src/pages/documentdown.vue

@@ -9,63 +9,53 @@
         </div>
         <div style="float: right;">
           <router-link :to="'/login'">
-            <el-button type="info" size="small" round>登录系统</el-button>
+            <el-button type="primary" size="small" round>登录系统</el-button>
           </router-link>
         </div>
       </div>
     </sticky>
 
-    <div style="background-color: white;">
+    <el-card style="margin: 0 auto; ">
+      <el-table :data="fileList"
+                stripe
+                highlight-current-row
+                size="mini">
+        <el-table-column prop="Name"
+                         align="center"
+                         label="资料下载">
+          <template slot-scope="scope">
+            <el-link :href="getDownloadFile(scope.row.FileURL)"
+                     target="_blank"
+                     type="primary">{{ scope.row.Name }}</el-link>
+          </template>
+        </el-table-column>
+        <el-table-column prop="CreateOn"
+                         label="发布时间"
+                         width="141">
+          <template slot-scope="scope">{{ jstimehandle(scope.row.CreateOn+'') }}</template>
+        </el-table-column>
+        <el-table-column width="80">
+          <template slot-scope="scope"><span style="font-size: 15px; color: #f13f40">{{strnew(scope.row.CreateOn+'') }}</span></template>
+        </el-table-column>
+      </el-table>
+    </el-card>
 
-        <el-table :data="fileList"
-                  border
-                  size="mini"
-                  style="width: 1500px;margin-right: auto;  margin-left: auto;">
-          <el-table-column prop="Name"
-                            align="center"
-                            label="资料下载">
-            <template slot-scope="scope">
-              <el-link :href="getDownloadFile(scope.row.FileURL)"
-                        target="_blank"
-                        type="primary">{{ scope.row.Name }}</el-link>
-            </template>
-          </el-table-column>
-          <el-table-column prop="CreateOn"
-                            label="发布时间"
-                            width="141">
-            <template slot-scope="scope">{{ jstimehandle(scope.row.CreateOn+'') }}</template>
-          </el-table-column>
-          <el-table-column width="80">
-            <template slot-scope="scope"><span style="font-size: 15px; color: #f13f40">{{strnew(scope.row.CreateOn+'') }}</span></template>
-          </el-table-column>
-        </el-table>
-    </div>
-
-    <div>
-      <footer class="login-footer1">
-        <div class="foot-wrapper" style="height: 30px; background-color: transparent; color:#A9A9A9; padding-top: 10px; text-align: right">
-          ©企管法规处 版权所有
-        </div>
-      </footer>
-    </div>
 
   </div>
 </template>
 
 <script>
-
   import Vue from 'vue'
   import Component from 'class-component'
   import Sticky from '@/components/Sticky'
-  import axios from 'axios'
 
   @Component({
     data () {
-       var check = (rule, value, callback) => {
+      let check = (rule, value, callback) => {
         if (value === '') {
-          callback(new Error('请输入验证码'));
+          callback(new Error('请输入验证码'))
         } else {
-          this.isPass=false
+          this.isPass = false
         }
       };
       return {
@@ -75,9 +65,9 @@
         isPass:true,
         fileList: [], // 文档列表
         formData: {
-          UserName:'',
-          Telephone: '', //用户手机号
-          yzCode: '', //验证码
+          UserName: '',
+          Telephone: '', // 用户手机号
+          yzCode: '', // 验证码
           UserPass: '',
           UserPass2: ''
         },
@@ -202,8 +192,9 @@
   .home-wrapper{
     margin:0px auto;
     width: 1004px;
-    flex-direction: column;
+    left: -502;
     margin-bottom: 45px;
+    flex-direction: column;
     background-color: white;
     overflow: auto;
   }

+ 10 - 21
src/dashoo.cn/frontend_web/src/pages/passwordback.vue

@@ -9,7 +9,7 @@
         </div>
         <div style="float: right;">
           <router-link :to="'/login'">
-            <el-button type="info" size="small" round>登录系统</el-button>
+            <el-button type="primary" size="small" round>登录系统</el-button>
           </router-link>
         </div>
       </div>
@@ -17,7 +17,7 @@
 
     <div style="background-color: white;">
       <div class="top-wrapper">
-        <el-menu  :default-active="activeIndex" @select="handleSelect" mode="horizontal">
+        <el-menu :default-active="activeIndex" @select="handleSelect" mode="horizontal">
           <el-menu-item index="1" style="font-size: large;">
             <span>密码找回</span>
           </el-menu-item>
@@ -64,45 +64,34 @@
         </div>
       </el-card>
     </div>
-
-    <div>
-      <footer class="login-footer1">
-        <div class="foot-wrapper" style="height: 30px; background-color: transparent; color:#A9A9A9; padding-top: 10px; text-align: right">
-          ©企管法规处 版权所有
-        </div>
-      </footer>
-    </div>
-
   </div>
 </template>
 
 <script>
-
   import Vue from 'vue'
   import Component from 'class-component'
   import Sticky from '@/components/Sticky'
-  import axios from 'axios'
 
   @Component({
     data () {
-       var check = (rule, value, callback) => {
+      let check = (rule, value, callback) => {
         if (value === '') {
           callback(new Error('请输入验证码'));
         } else {
-          this.isPass=false
+          this.isPass = false
         }
-      };
+      }
       return {
         activeIndex: '1',
         isVisual: false,
-        isCodePass:true,
-        isPass:true,
+        isCodePass: true,
+        isPass: true,
         captcha: '获取验证码',
 
         formData: {
-          UserName:'',
-          Telephone: '', //用户手机号
-          yzCode: '', //验证码
+          UserName: '',
+          Telephone: '', // 用户手机号
+          yzCode: '', // 验证码
           UserPass: '',
           UserPass2: ''
         },

+ 5 - 8
src/dashoo.cn/frontend_web/src/pages/signup.vue

@@ -9,7 +9,7 @@
         </div>
         <div style="float: right;">
           <router-link :to="'/login'">
-            <el-button type="info" size="small" round>登录系统</el-button>
+            <el-button type="primary" size="small" round>登录系统</el-button>
           </router-link>
         </div>
       </div>
@@ -151,7 +151,7 @@
                 <router-link to="#">《麦吉轮用户注册协议》</router-link><router-link to="#">《隐私政策》</router-link> -->
               </el-row>
               <el-row style="margin-left: 50%; margin-top: 10px; margin-bottom: 20px;">
-                <el-button type="primary" @click="register" style="width: 30%" v-if="isShow" :loading="isLoading">立即注册</el-button>
+                <el-button type="primary" @click="register" style="width: 30%" :loading="isLoading">立即注册</el-button>
               </el-row>
             </el-form>
 
@@ -163,13 +163,13 @@
 
     </div>
 
-    <div>
+    <!--<div>
       <footer class="login-footer1">
         <div class="foot-wrapper" style="height: 30px; background-color: transparent; color:#A9A9A9; padding-top: 10px; text-align: right">
           ©企管法规处 版权所有
         </div>
       </footer>
-    </div>
+    </div>-->
 
   </div>
 </template>
@@ -179,7 +179,6 @@
   import Component from 'class-component'
   import Sticky from '@/components/Sticky'
   import axios from 'axios'
-  import api from '@/api/oilsupplier/supplier'
   import uploadajax from '../assets/js/uploadajax.js'
   import ChooseAuditor from '@/components/oilsupplier/chooseauditor2'
 
@@ -622,9 +621,8 @@
                   })
                   _this.$router.push('/login') // 跳转到登录页
                 } else {
-                  _this.isShow = true
                   _this.isLoading = false
-                  console.log(response.data.message, '爱妃')
+                  console.log(response.data.message, '工作流异常日志')
                   var message = response.data.message
                   if (!message) {
                     message = '工作流异常,请联系管理员!'
@@ -635,7 +633,6 @@
                 }
               })
               .catch(function (error) {
-                _this.isShow = true
                 _this.isLoading = false
                 console.log(error)
               })