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
Hide 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 {
method
:
"post"
,
data
});
},
// 公告编辑
},
// 公告编辑
notice_detail
(
data
)
{
return
request
({
url
:
"/smgw/getNotice"
,
method
:
"post"
,
data
});
},
// 公告编辑
notice_edit
(
data
)
{
return
request
({
url
:
"/smgw/updateNotice"
,
...
...
src/views/merchant/new.vue
View file @
a5d007b0
...
...
@@ -73,7 +73,7 @@
<el-form-item
class=
"form-item"
prop=
"loanLicenseUrl"
label=
"小贷
拍
照"
label=
"小贷
牌
照"
>
<el-upload
class=
"avatar-uploader"
...
...
@@ -173,9 +173,9 @@ export default {
rules
:
{
tenantFullName
:
[{
required
:
true
,
message
:
"请输入机构名称"
,
trigger
:
"blur"
}],
tenantName
:
[{
required
:
true
,
message
:
"请输入机构简称"
,
trigger
:
"blur"
}],
businessLicenseUrl
:
[{
required
:
tru
e
,
message
:
"请上传营业执照"
,
trigger
:
"blur"
}],
loanLicenseUrl
:
[{
required
:
true
,
message
:
"请上传小贷拍
照"
,
trigger
:
"blur"
}],
officeApprovalUrl
:
[{
required
:
tru
e
,
message
:
"请上传金融办批文"
,
trigger
:
"blur"
}]
businessLicenseUrl
:
[{
required
:
fals
e
,
message
:
"请上传营业执照"
,
trigger
:
"blur"
}],
loanLicenseUrl
:
[{
required
:
false
,
message
:
"请上传小贷牌
照"
,
trigger
:
"blur"
}],
officeApprovalUrl
:
[{
required
:
fals
e
,
message
:
"请上传金融办批文"
,
trigger
:
"blur"
}]
}
};
},
...
...
src/views/notice/new.vue
View file @
a5d007b0
...
...
@@ -98,10 +98,10 @@ export default {
return
{
uploadUrl
:
`
${
$API
}
/sysUser/upload`
,
form
:
{
znxTitle
:
"
mc公告标题
"
,
znxTitle
:
""
,
znxTitleUrl
:
""
,
znxContent
:
"
名称公告内容
"
,
znxHref
:
"
www.baidu.com
"
znxContent
:
""
,
znxHref
:
""
},
rules
:
{
znxTitle
:
[{
required
:
true
,
message
:
"请输入公告标题"
,
trigger
:
"blur"
}],
...
...
@@ -120,9 +120,9 @@ export default {
}
},
methods
:
{
async
init
()
{
async
init
()
{
const
id
=
this
.
id
;
const
{
result
,
success
}
=
await
API
.
notice_
edit
({
id
});
const
{
result
,
success
}
=
await
API
.
notice_
detail
({
id
});
if
(
success
)
{
this
.
form
=
result
;
}
...
...
@@ -148,7 +148,13 @@ export default {
this
.
$refs
[
formName
].
validate
(
async
(
valid
)
=>
{
if
(
valid
)
{
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
)
{
this
.
$baseMessage
(
"保存成功"
,
"success"
);
setTimeout
(()
=>
{
...
...
src/views/prod/list.vue
View file @
a5d007b0
...
...
@@ -17,27 +17,27 @@
</el-form-item>
<el-form-item
label=
"产品名称"
>
<el-input
v-model=
"queryForm.
tenantNo
"
v-model=
"queryForm.
appName
"
clearable
placeholder=
"请输入机构名称"
/>
</el-form-item>
<
el-form-item
label=
"产品状态"
>
<el-select
v-model=
"queryForm.status"
clearable
placeholder=
"请选择"
>
<el-option
label=
"启用"
value=
"1"
/
>
<el-option
label=
"禁用"
value=
"0"
/
>
</el-select
>
<
/el-form-item
>
<
!--
<el-form-item
label=
"产品状态"
>
--
>
<!--
<el-select-->
<!-- v-model="queryForm.status"-->
<!-- clearable-->
<!-- placeholder="请选择"-->
<!-- >--
>
<!--
<el-option-->
<!-- label="启用"-->
<!-- value="1"-->
<!-- />--
>
<!--
<el-option-->
<!-- label="禁用"-->
<!-- value="0"-->
<!-- />--
>
<!--
</el-select>
--
>
<
!--
</el-form-item>
--
>
<el-form-item>
<el-button
type=
"primary"
...
...
@@ -196,7 +196,7 @@ export default {
current
:
1
,
size
:
10
,
status
:
""
,
tenant
Name
:
""
,
app
Name
:
""
,
tenantNo
:
""
}
};
...
...
vue.config.js
View file @
a5d007b0
...
...
@@ -69,8 +69,8 @@ module.exports = {
// }
//},
"/api"
:
{
//
target: `http://192.168.0.199:8221`,
target
:
`http://192.168.0.75:8080`
,
target
:
`http://192.168.0.199:8221`
,
//
target: `http://192.168.0.75:8080`,
ws
:
true
,
changeOrigin
:
true
,
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