小生不才 11 miesięcy temu
rodzic
commit
e125b8c4e8

+ 4 - 4
jp-mobile/api/file/fileService.js

@@ -3,23 +3,23 @@ import {request, upload} from "../../common/request"
 export default {
 	
   upload: function (filePath, config = {}) {
-	return upload('/file/upload?uploadPath=userdir',filePath)    
+	return upload('/gwfile/upload?uploadPath=userdir',filePath)    
   },
 
   download: function (params) {
     return request({
-      url: '/file/download',
+      url: '/gwfile/download',
       method: 'get',
       params: params
     })
   },
 
   uploadFile: function (filePath, config = {}) {
-	return upload('/file/uploadFile?uploadPath=userdir',filePath)      
+	return upload('/gwfile/uploadFile?uploadPath=userdir',filePath)      
   },
   downloadFile: function (params) {
     return request({
-      url: '/file/downloadFile',
+      url: '/gwfile/downloadFile',
       method: 'get',
       params: params
     })

+ 1 - 1
jp-mobile/config.js

@@ -5,7 +5,7 @@ if(process.env.NODE_ENV === 'development'){
     APP_SERVER_URL = '/api'
 }else{
     // 生产环境
-    APP_SERVER_URL = 'http://vue3.jeeplus.org/jeeplus-v3/api'
+    APP_SERVER_URL = 'https://miniapp.huidutech.com.cn/gw/'
 }
 
 // APP_SERVER_URL = APP_SERVER_URL + '/app'

+ 21 - 19
jp-mobile/package.json

@@ -1,20 +1,22 @@
 {
-    "id": "am-sign-input",
-    "name": "电子签名输入框",
-    "displayName": "电子签名输入框",
-    "version": "0.0.7",
-    "description": "用于canvas电子签名生成图片(可配置上传接口生成图片地址,配置生成图片大小) 毛笔字  笔锋",
-    "keywords": [
-        "电子签名",
-        "签名上传",
-        "签名",
-        "毛笔字",
-        "笔锋"
-    ],
-    "dcloudext": {
-        "category": [
-            "前端组件",
-            "通用组件"
-        ]
-    }
-}
+  "name": "ColorUI-UniApp",
+  "version": "1.0.0",
+  "description": "<p style=\"text-align: center;\"><img src=\"https://image.weilanwl.com/uni/UniAppReadme.jpg\" alt=\"ColorUI简介\"></img></p>",
+  "main": "main.js",
+  "dependencies": {
+    "lodash": "^4.17.20",
+    "lodash.pick": "^4.4.0",
+    "moment": "^2.27.0",
+    "prettier": "^1.12.1",
+    "qs": "^6.9.4"
+  },
+  "devDependencies": {},
+  "scripts": {
+    "test": "echo \"Error: no test specified\" && exit 1"
+  },
+  "keywords": [],
+  "author": "",
+  "license": "ISC"
+    
+}
+

+ 7 - 7
jp-mobile/pages.json

@@ -1,12 +1,6 @@
 {
 	"pages": [
 		//pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
-		{
-			"path": "pages/index/index",
-			"style": {
-				"navigationStyle": "custom" // 隐藏系统导航栏
-			}
-		},
 		{
 			"path": "pages/login/login",
 			"style": {
@@ -14,6 +8,12 @@
 			}
 		}
 		,{
+			"path": "pages/index/index",
+			"style": {
+				"navigationStyle": "custom" // 隐藏系统导航栏
+			}
+		},
+		{
 		    "path" : "pages/fileTransmit/addFileTransmit",
 		    "style" : {
 				"navigationBarTitleText": "新增文件传阅卡"
@@ -612,7 +612,7 @@
 				"ly-tree-node": "/components/ly-tree/ly-tree-node"
 			},
 		"navigationBarBackgroundColor": "#36a7f3",
-		"navigationBarTitleText": "Jeeplus 移动审批",
+		"navigationBarTitleText": "公文流转",
 		// "navigationStyle": "custom",
 		"navigationBarTextStyle": "white"
 	},

+ 1 - 1
jp-mobile/pages/fileTransmit/addFileTransmit.vue

@@ -166,7 +166,7 @@
 			uploadFilePromise(param) {
 				return new Promise((resolve, reject) => {
 					let a = uni.uploadFile({
-						url: this.BASE_URL + '/file/upload?uploadPath=filtransmit',
+						url: this.BASE_URL + '/gwfile/upload?uploadPath=filtransmit',
 						filePath: param.url,
 						name: 'file',
 						header: {

+ 3 - 3
jp-mobile/pages/login/login.vue

@@ -7,7 +7,7 @@
 				<view class="top_ri"></view>
 			</view>
 			<view class="title">
-				<view>欢迎登录JeePlus</view>
+				<view>文件传阅流转卡</view>
 			</view>
 			<view class="login-form">
 				<u--form :model="inputForm" labelWidth="100px"  labelPosition="left" :rules="rules" ref="uForm">
@@ -45,8 +45,8 @@
 			return {
 				captchaImg: '',
 				inputForm: {
-					'username': 'admin',
-					'password': 'admin',
+					'username': '',
+					'password': '',
 					'code': '',
 					'uuid': ''
 				},