Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
贷
贷超管理后台
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhanhai
贷超管理后台
Commits
a5d007b0
Commit
a5d007b0
authored
Nov 25, 2021
by
caimeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改BUG
parent
8d7f22e4
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
46 additions
and
31 deletions
+46
-31
api.js
src/server/api.js
+10
-1
new.vue
src/views/merchant/new.vue
+4
-4
new.vue
src/views/notice/new.vue
+12
-6
list.vue
src/views/prod/list.vue
+18
-18
vue.config.js
vue.config.js
+2
-2
No files found.
src/server/api.js
View file @
a5d007b0
...
@@ -145,7 +145,16 @@ export default {
...
@@ -145,7 +145,16 @@ export default {
method
:
"post"
,
method
:
"post"
,
data
data
});
});
},
// 公告编辑
},
// 公告编辑
notice_detail
(
data
)
{
return
request
({
url
:
"/smgw/getNotice"
,
method
:
"post"
,
data
});
},
// 公告编辑
notice_edit
(
data
)
{
notice_edit
(
data
)
{
return
request
({
return
request
({
url
:
"/smgw/updateNotice"
,
url
:
"/smgw/updateNotice"
,
...
...
src/views/merchant/new.vue
View file @
a5d007b0
...
@@ -73,7 +73,7 @@
...
@@ -73,7 +73,7 @@
<el-form-item
<el-form-item
class=
"form-item"
class=
"form-item"
prop=
"loanLicenseUrl"
prop=
"loanLicenseUrl"
label=
"小贷
拍
照"
label=
"小贷
牌
照"
>
>
<el-upload
<el-upload
class=
"avatar-uploader"
class=
"avatar-uploader"
...
@@ -173,9 +173,9 @@ export default {
...
@@ -173,9 +173,9 @@ export default {
rules
:
{
rules
:
{
tenantFullName
:
[{
required
:
true
,
message
:
"请输入机构名称"
,
trigger
:
"blur"
}],
tenantFullName
:
[{
required
:
true
,
message
:
"请输入机构名称"
,
trigger
:
"blur"
}],
tenantName
:
[{
required
:
true
,
message
:
"请输入机构简称"
,
trigger
:
"blur"
}],
tenantName
:
[{
required
:
true
,
message
:
"请输入机构简称"
,
trigger
:
"blur"
}],
businessLicenseUrl
:
[{
required
:
tru
e
,
message
:
"请上传营业执照"
,
trigger
:
"blur"
}],
businessLicenseUrl
:
[{
required
:
fals
e
,
message
:
"请上传营业执照"
,
trigger
:
"blur"
}],
loanLicenseUrl
:
[{
required
:
true
,
message
:
"请上传小贷拍
照"
,
trigger
:
"blur"
}],
loanLicenseUrl
:
[{
required
:
false
,
message
:
"请上传小贷牌
照"
,
trigger
:
"blur"
}],
officeApprovalUrl
:
[{
required
:
tru
e
,
message
:
"请上传金融办批文"
,
trigger
:
"blur"
}]
officeApprovalUrl
:
[{
required
:
fals
e
,
message
:
"请上传金融办批文"
,
trigger
:
"blur"
}]
}
}
};
};
},
},
...
...
src/views/notice/new.vue
View file @
a5d007b0
...
@@ -98,10 +98,10 @@ export default {
...
@@ -98,10 +98,10 @@ export default {
return
{
return
{
uploadUrl
:
`
${
$API
}
/sysUser/upload`
,
uploadUrl
:
`
${
$API
}
/sysUser/upload`
,
form
:
{
form
:
{
znxTitle
:
"
mc公告标题
"
,
znxTitle
:
""
,
znxTitleUrl
:
""
,
znxTitleUrl
:
""
,
znxContent
:
"
名称公告内容
"
,
znxContent
:
""
,
znxHref
:
"
www.baidu.com
"
znxHref
:
""
},
},
rules
:
{
rules
:
{
znxTitle
:
[{
required
:
true
,
message
:
"请输入公告标题"
,
trigger
:
"blur"
}],
znxTitle
:
[{
required
:
true
,
message
:
"请输入公告标题"
,
trigger
:
"blur"
}],
...
@@ -122,7 +122,7 @@ export default {
...
@@ -122,7 +122,7 @@ export default {
methods
:
{
methods
:
{
async
init
()
{
async
init
()
{
const
id
=
this
.
id
;
const
id
=
this
.
id
;
const
{
result
,
success
}
=
await
API
.
notice_
edit
({
id
});
const
{
result
,
success
}
=
await
API
.
notice_
detail
({
id
});
if
(
success
)
{
if
(
success
)
{
this
.
form
=
result
;
this
.
form
=
result
;
}
}
...
@@ -148,7 +148,13 @@ export default {
...
@@ -148,7 +148,13 @@ export default {
this
.
$refs
[
formName
].
validate
(
async
(
valid
)
=>
{
this
.
$refs
[
formName
].
validate
(
async
(
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
const
form
=
Object
.
assign
({},
this
.
form
);
const
form
=
Object
.
assign
({},
this
.
form
);
let
result
=
await
API
.
notice_add
({
...
form
});
let
result
;
if
(
this
.
id
)
{
result
=
await
API
.
notice_edit
({
...
form
});
}
else
{
result
=
await
API
.
notice_add
({
...
form
});
}
if
(
result
.
success
)
{
if
(
result
.
success
)
{
this
.
$baseMessage
(
"保存成功"
,
"success"
);
this
.
$baseMessage
(
"保存成功"
,
"success"
);
setTimeout
(()
=>
{
setTimeout
(()
=>
{
...
...
src/views/prod/list.vue
View file @
a5d007b0
...
@@ -17,27 +17,27 @@
...
@@ -17,27 +17,27 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
"产品名称"
>
<el-form-item
label=
"产品名称"
>
<el-input
<el-input
v-model=
"queryForm.
tenantNo
"
v-model=
"queryForm.
appName
"
clearable
clearable
placeholder=
"请输入机构名称"
placeholder=
"请输入机构名称"
/>
/>
</el-form-item>
</el-form-item>
<
el-form-item
label=
"产品状态"
>
<
!--
<el-form-item
label=
"产品状态"
>
--
>
<el-select
<!--
<el-select-->
v-model=
"queryForm.status"
<!-- v-model="queryForm.status"-->
clearable
<!-- clearable-->
placeholder=
"请选择"
<!-- placeholder="请选择"-->
>
<!-- >--
>
<el-option
<!--
<el-option-->
label=
"启用"
<!-- label="启用"-->
value=
"1"
<!-- value="1"-->
/
>
<!-- />--
>
<el-option
<!--
<el-option-->
label=
"禁用"
<!-- label="禁用"-->
value=
"0"
<!-- value="0"-->
/
>
<!-- />--
>
</el-select
>
<!--
</el-select>
--
>
<
/el-form-item
>
<
!--
</el-form-item>
--
>
<el-form-item>
<el-form-item>
<el-button
<el-button
type=
"primary"
type=
"primary"
...
@@ -196,7 +196,7 @@ export default {
...
@@ -196,7 +196,7 @@ export default {
current
:
1
,
current
:
1
,
size
:
10
,
size
:
10
,
status
:
""
,
status
:
""
,
tenant
Name
:
""
,
app
Name
:
""
,
tenantNo
:
""
tenantNo
:
""
}
}
};
};
...
...
vue.config.js
View file @
a5d007b0
...
@@ -69,8 +69,8 @@ module.exports = {
...
@@ -69,8 +69,8 @@ module.exports = {
// }
// }
//},
//},
"/api"
:
{
"/api"
:
{
//
target: `http://192.168.0.199:8221`,
target
:
`http://192.168.0.199:8221`
,
target
:
`http://192.168.0.75:8080`
,
//
target: `http://192.168.0.75:8080`,
ws
:
true
,
ws
:
true
,
changeOrigin
:
true
,
changeOrigin
:
true
,
pathRewrite
:
{
pathRewrite
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment