Skip to content

Commit 09beb16

Browse files
author
shizhong
committed
2 parents 2dcdd99 + ecea771 commit 09beb16

File tree

11 files changed

+31
-10
lines changed

11 files changed

+31
-10
lines changed

.env.local

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ ENV = 'development'
55
VUE_APP_TITLE = 芋道管理系统
66

77
# 芋道管理系统/本地环境
8-
VUE_APP_BASE_API = '/dev-api'
8+
# VUE_APP_BASE_API = '/proxy-api'
9+
VUE_APP_BASE_API = 'http://127.0.0.1:48080'
910

1011
# 路由懒加载
1112
VUE_CLI_BABEL_TRANSPILE_MODULES = true

src/api/login.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,3 +134,6 @@ export function authorize(responseType, clientId, redirectUri, state,
134134
method: 'post'
135135
})
136136
}
137+
138+
export class socialBindLogin {
139+
}

src/store/modules/user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {login, logout, getInfo, socialLogin, socialBindLogin, smsLogin} from '@/api/login'
2-
import {getAccessToken, setToken, removeToken, getRefreshToken} from '@/utils/auth'
2+
import {setToken, removeToken} from '@/utils/auth'
33

44
const user = {
55
state: {

src/views/bpm/definition/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export default {
111111
showBpmnOpen: false,
112112
bpmnXML: null,
113113
bpmnControlForm: {
114-
prefix: "activiti"
114+
prefix: "flowable"
115115
},
116116
117117
// 数据字典

src/views/bpm/model/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ export default {
259259
showBpmnOpen: false,
260260
bpmnXML: null,
261261
bpmnControlForm: {
262-
prefix: "activiti"
262+
prefix: "flowable"
263263
},
264264
265265
// 流程表单详情

src/views/bpm/processInstance/create.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export default {
8080
// BPMN 数据
8181
bpmnXML: null,
8282
bpmnControlForm: {
83-
prefix: "activiti"
83+
prefix: "flowable"
8484
},
8585
8686
// 流程表单

src/views/bpm/processInstance/detail.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export default {
138138
// BPMN 数据
139139
bpmnXML: null,
140140
bpmnControlForm: {
141-
prefix: "activiti"
141+
prefix: "flowable"
142142
},
143143
activityList: [],
144144

src/views/system/dept/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export default {
167167
],
168168
phone: [
169169
{
170-
pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,
170+
pattern: /^(?:(?:\+|00)86)?1(?:(?:3[\d])|(?:4[5-79])|(?:5[0-35-9])|(?:6[5-7])|(?:7[0-8])|(?:8[\d])|(?:9[189]))\d{8}$/,
171171
message: "请输入正确的手机号码",
172172
trigger: "blur"
173173
}

src/views/system/tenant/index.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,6 @@ export default {
183183
accountCount: [{ required: true, message: "账号额度不能为空", trigger: "blur" }],
184184
expireTime: [{ required: true, message: "过期时间不能为空", trigger: "blur" }],
185185
domain: [{ required: true, message: "绑定域名不能为空", trigger: "blur" }],
186-
username: [{ required: true, message: "用户名称不能为空", trigger: "blur" }],
187-
password: [{ required: true, message: "用户密码不能为空", trigger: "blur" }],
188186
}
189187
};
190188
},
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<template>
2+
<div>
3+
<doc-alert title="报表设计器" url="https://doc.iocoder.cn/report/" />
4+
<i-frame :src="url" />
5+
</div>
6+
</template>
7+
<script>
8+
import iFrame from "@/components/iFrame/index";
9+
import {getAccessToken} from "@/utils/auth";
10+
export default {
11+
name: "JimuReport",
12+
components: { iFrame },
13+
data() {
14+
return {
15+
url: process.env.VUE_APP_BASE_API + "/jmreport/list?token=" + getAccessToken(),
16+
};
17+
},
18+
};
19+
</script>

0 commit comments

Comments
 (0)