diff --git a/src/components/miliu-autograph/miliu-autograph.vue b/src/components/miliu-autograph/miliu-autograph.vue
new file mode 100644
index 0000000..aab36c1
--- /dev/null
+++ b/src/components/miliu-autograph/miliu-autograph.vue
@@ -0,0 +1,167 @@
+
+
+
+
+
+ 清空
+
+
+ 确认
+
+
+ 取消
+
+
+
+
+
+
+
+
diff --git a/src/pages.json b/src/pages.json
index 44fb9c5..1d7f4c3 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -57,7 +57,7 @@
"style": {
"navigationBarTitleText": "新购绑定"
}
- },//编码扫码
+ }, //编码扫码
{
"path": "pages/new-purchase/bind/coding-scan",
"style": {
@@ -130,19 +130,19 @@
"style": {
"navigationBarTitleText": "编码出库"
}
- },// 3. 编码出库
+ }, // 3. 编码出库
{
"path": "pages/picking/outbound/code-outScan",
"style": {
"navigationBarTitleText": "编码出库"
}
},
- {
- "path": "pages/picking/outbound/codeOutScan",
- "style": {
- "navigationBarTitleText": "编码出库"
- }
- },
+ {
+ "path": "pages/picking/outbound/codeOutScan",
+ "style": {
+ "navigationBarTitleText": "编码出库"
+ }
+ },
// 4. 数量出库
{
"path": "pages/picking/outbound/num-outbound",
@@ -167,10 +167,10 @@
{
"path": "pages/back/addBack",
"style": {
- "navigationStyle": "custom"
+ "navigationStyle": "custom"
// "navigationBarTitleText": "新增退料任务"
}
- },
+ },
{
"path": "pages/back/backCodeAdd",
"style": {
@@ -182,7 +182,8 @@
"style": {
"navigationBarTitleText": "退料编码"
}
- },{
+ },
+ {
"path": "pages/back/backCodeScan",
"style": {
"navigationBarTitleText": "退料编码"
@@ -207,25 +208,24 @@
}
},
//配件-------------------------------
- {
- "path": "pages/part/part-lease/index",
- "style": {
- "navigationBarTitleText": "配件领用"
- }
- },
{
- "path": "pages/part/part-lease/applyList",
- "style": {
- "navigationBarTitleText": "配件领用记录"
- }
- },
+ "path": "pages/part/part-lease/index",
+ "style": {
+ "navigationBarTitleText": "配件领用"
+ }
+ },
{
- "path": "pages/part/part-lease/applyDetail",
- "style": {
- "navigationBarTitleText": "配件领用详情"
- }
- },
-
+ "path": "pages/part/part-lease/applyList",
+ "style": {
+ "navigationBarTitleText": "配件领用记录"
+ }
+ },
+ {
+ "path": "pages/part/part-lease/applyDetail",
+ "style": {
+ "navigationBarTitleText": "配件领用详情"
+ }
+ },
/* 维修及其页面 */
// 1. 维修列表
@@ -281,7 +281,7 @@
{
"path": "pages/repair/testedInBound/index",
"style": {
- "navigationStyle": "custom"
+ "navigationStyle": "custom"
// "navigationBarTitleText": "修试入库"
}
},
@@ -307,12 +307,12 @@
}
},
{
- "path": "pages/standardBox/index",
+ "path": "pages/standardBox/index",
"style": {
"navigationStyle": "custom"
// "navigationBarTitleText": "标准箱管理"
}
- },
+ },
{
"path": "pages/standardBox/addBox",
"style": {
@@ -324,7 +324,8 @@
"style": {
"navigationBarTitleText": "标准箱录入"
}
- },{
+ },
+ {
"path": "pages/standardBox/codeView",
"style": {
"navigationBarTitleText": "标准箱查看"
@@ -341,9 +342,13 @@
"style": {
"navigationBarTitleText": "标准箱接收"
}
+ },
+ {
+ "path": "pages/my/signature",
+ "style": {
+ "navigationBarTitleText": "电子签名"
+ }
}
-
-
],
"tabBar": {
"color": "#2c2c2c",
diff --git a/src/pages/my/index.vue b/src/pages/my/index.vue
index f525234..17f1643 100644
--- a/src/pages/my/index.vue
+++ b/src/pages/my/index.vue
@@ -3,6 +3,7 @@
用户: {{ userInfo.nickName }}
用户: {{ userInfo.userName }}
手机号:{{ userInfo.phonenumber || '13655555' }}
+ 电子签名
退出登录
@@ -20,6 +21,11 @@ const onExit = () => {
memberStore.clearToken()
uni.navigateTo({ url: '/pages/login/index' })
}
+
+// 电子签名页
+const onSignature = () => {
+ uni.navigateTo({ url: '/pages/my/signature' })
+}
diff --git a/src/services/signature.js b/src/services/signature.js
new file mode 100644
index 0000000..a16db7f
--- /dev/null
+++ b/src/services/signature.js
@@ -0,0 +1,19 @@
+import { http } from '@/utils/http'
+
+// 获取签名
+export const getSign = (data) => {
+ return http({
+ method: 'GET',
+ url: '/material/archives/getSign',
+ data,
+ })
+}
+
+// 更新签名
+export const updateSign = (data) => {
+ return http({
+ method: 'POST',
+ url: '/material/archives/updateSign',
+ data,
+ })
+}