Browse Source

系统日志完善、es6语法调整

shanxin 4 years ago
parent
commit
5867511eac

+ 2 - 2
src/views/modules/appconfig/appConfigArticle-add-or-update.vue

@@ -193,10 +193,10 @@ export default {
   },
   created () {
     let that = this
-    that.upLoadUrl = '/api/sys/appconfig/configArticle/uploadFile' + '/?width=300'
+    that.upLoadUrl = '/allsteel/api/sys/appconfig/configArticle/uploadFile' + '/?width=300'
     that.editorOption = quillRedefine({
       uploadConfig: {
-        action: '/api/sys/appconfig/configArticle/uploadFile',
+        action: '/allsteel/api/sys/appconfig/configArticle/uploadFile',
         token: token,
         res: respnse => {
           const path = respnse.data // 这里return你的图片地址即可

+ 1 - 1
src/views/modules/appconfig/configBanner-add-or-update.vue

@@ -106,7 +106,7 @@
           ],
         },
         brandOptions: [],
-        uploadURL: '/api/sys/appconfig/configBrand/uploadFile',
+        uploadURL: '/allsteel/api/sys/appconfig/configBrand/uploadFile',
         fileList: []
       }
     },

+ 1 - 1
src/views/modules/appconfig/configBrand-add-or-update.vue

@@ -84,7 +84,7 @@
           ]
         },
         fileList: [],
-        uploadURL: '/api/sys/appconfig/configBrand/uploadFile'
+        uploadURL: '/allsteel/api/sys/appconfig/configBrand/uploadFile'
       }
     },
     methods: {

+ 1 - 0
src/views/modules/log/sysFunctionLog-add-or-update.vue

@@ -5,6 +5,7 @@
     :close-on-click-modal="false"
     :visible.sync="visible">
     <el-form :model="dataForm" :rules="dataRule" ref="dataForm" @keyup.enter.native="dataFormSubmit()" label-width="80px">
+
       <el-form-item label="账号id" prop="accountId">
         <el-input v-model="dataForm.accountId" placeholder="账号id" :disabled="true"></el-input>
       </el-form-item>

+ 20 - 0
src/views/modules/log/sysFunctionLog.vue

@@ -12,6 +12,12 @@
       </el-form-item>
       -->
       <el-form-item>
+        <el-input v-model="dataForm.storeId" placeholder="门店ID" clearable></el-input>
+      </el-form-item>
+      <el-form-item>
+        <el-input v-model="dataForm.resCode" placeholder="相应状态码" clearable></el-input>
+      </el-form-item>
+      <el-form-item>
           <el-input v-model="dataForm.functionName" placeholder="功能名称" clearable></el-input>
       </el-form-item>
       <el-form-item>
@@ -33,6 +39,12 @@
         width="50">
       </el-table-column>
       <el-table-column
+        prop="mainId"
+        header-align="center"
+        align="center"
+        label="ID">
+      </el-table-column>
+      <el-table-column
         prop="accountId"
         header-align="center"
         align="center"
@@ -56,6 +68,12 @@
         align="center"
         label="调用时间">
       </el-table-column>
+      <el-table-column
+        prop="resCode"
+        header-align="center"
+        align="center"
+        label="相应状态码">
+      </el-table-column>
 
       <el-table-column
         fixed="right"
@@ -89,6 +107,8 @@
     data () {
       return {
         dataForm: {
+          storeId: '',
+          resCode: '',
           current: 1,
           size: 10
         },

+ 1 - 1
src/views/modules/sys/appVersionLog-add-or-update.vue

@@ -56,7 +56,7 @@ export default {
     return {
       visible: false,
       dataRule: {},
-      uploadURL: '/api/sys//sys/appVersionLog/uploadFileToHuaweiOBS',
+      uploadURL: '/allsteel/api/sys/sys/appVersionLog/uploadFileToHuaweiOBS',
       myHeaders: {token: token}
     }
   },