Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yq-ui
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaopanyu
yq-ui
Commits
bef3646d
Commit
bef3646d
authored
Oct 24, 2024
by
zhaopanyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zpy
parent
8c09c6d0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
9 deletions
+20
-9
src/api/sy.js
+5
-4
src/views/system/cb/index.vue
+15
-5
src/views/zyyq/index.vue
+0
-0
No files found.
src/api/sy.js
View file @
bef3646d
import
request
from
"@/utils/request"
;
// 首页查询
export
function
getListcx
(
id
)
{
export
function
getListcx
(
data
)
{
return
request
({
url
:
"/system/z
yyq/"
+
id
,
url
:
"/system/z
b/list"
,
method
:
"get"
,
data
,
});
}
//单条详情
export
function
getListdt
()
{
export
function
getListdt
(
id
)
{
return
request
({
url
:
"/system/z
yyq/list"
,
url
:
"/system/z
b/"
+
id
,
method
:
"get"
,
});
}
src/views/system/cb/index.vue
View file @
bef3646d
...
...
@@ -692,6 +692,7 @@ export default {
id
:
id
,
fbzt
:
zt
}
updateCb
(
list
).
then
(
response
=>
{
if
(
zt
===
'1'
)
{
this
.
$modal
.
msgSuccess
(
"已发布"
);
...
...
@@ -801,7 +802,19 @@ export default {
this
.
$refs
[
"form"
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
this
.
form
.
id
!=
null
)
{
updateCb
(
this
.
form
).
then
(
response
=>
{
let
list
=
this
.
form
list
.
tdjs
=
Base64
.
encode
(
this
.
form
.
tdjs
)
list
.
cpjj
=
Base64
.
encode
(
this
.
form
.
cpjj
)
list
.
gntd
=
Base64
.
encode
(
this
.
form
.
gntd
)
list
.
yycx
=
Base64
.
encode
(
this
.
form
.
yycx
)
list
.
yfjs
=
Base64
.
encode
(
this
.
form
.
yfjs
)
list
.
fwts
=
Base64
.
encode
(
this
.
form
.
fwts
)
list
.
fwal
=
Base64
.
encode
(
this
.
form
.
fwal
)
updateCb
(
list
).
then
(
response
=>
{
this
.
$modal
.
msgSuccess
(
"修改成功"
);
this
.
open
=
false
;
this
.
getList
();
...
...
@@ -820,10 +833,7 @@ export default {
this
.
$modal
.
msgSuccess
(
"新增成功"
);
this
.
open
=
false
;
this
.
getList
();
}
).
catch
(
error
=>
{
console
.
error
(
"添加失败:"
,
error
);
this
.
$modal
.
msgError
(
"新增失败,请重试!"
);
}
);;
}
);
}
}
}
);
...
...
src/views/zyyq/index.vue
View file @
bef3646d
This diff is collapsed.
Click to expand it.
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