Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
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
new-sing
admin-base
Commits
6c4a0db1
Commit
6c4a0db1
authored
Nov 23, 2018
by
王
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
来源码管理
parent
1306e0ba
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
451 additions
and
7 deletions
+451
-7
index.vue
src/components/groupSend/index.vue
+6
-1
index.vue
src/components/sourceManage/index.vue
+425
-6
api.js
src/service/api.js
+20
-0
No files found.
src/components/groupSend/index.vue
View file @
6c4a0db1
...
@@ -373,7 +373,7 @@
...
@@ -373,7 +373,7 @@
label=
"手机号"
>
label=
"手机号"
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<page
:total=
"userDialog.total"
:limit=
"userDialog.limit"
@
pageChange=
"onUserPageChange"
@
sizeChange=
"onSizeChange"
/>
<page
:total=
"userDialog.total"
:limit=
"userDialog.limit"
@
pageChange=
"onUserPageChange"
@
sizeChange=
"on
User
SizeChange"
/>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"userDialog.show = false"
>
取 消
</el-button>
<el-button
@
click=
"userDialog.show = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"onConfirm"
>
确 定
</el-button>
<el-button
type=
"primary"
@
click=
"onConfirm"
>
确 定
</el-button>
...
@@ -739,6 +739,11 @@
...
@@ -739,6 +739,11 @@
this
.
userDialog
.
nowPage
=
val
this
.
userDialog
.
nowPage
=
val
this
.
getUser
()
this
.
getUser
()
},
},
onUserSizeChange
(
val
){
this
.
userDialog
.
nowPage
=
1
this
.
userDialog
.
limit
=
val
this
.
getUser
()
},
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
;
this
.
multipleSelection
=
val
;
},
},
...
...
src/components/sourceManage/index.vue
View file @
6c4a0db1
This diff is collapsed.
Click to expand it.
src/service/api.js
View file @
6c4a0db1
...
@@ -684,3 +684,23 @@ export const exportExcelApi = function (url, params) {
...
@@ -684,3 +684,23 @@ export const exportExcelApi = function (url, params) {
url
+=
urlEncode
(
params
)
url
+=
urlEncode
(
params
)
window
.
open
(
url
)
window
.
open
(
url
)
};
};
// 来源码列表
const
getSourceListUrl
=
'api/admin/code/rule'
;
export
const
getSourceListApi
=
function
(
json
)
{
return
Vue
.
prototype
.
$fetch
(
getSourceListUrl
,
json
)
};
// 添加来源码
const
addSourceUrl
=
'api/admin/code/rule'
;
export
const
addSourceApi
=
function
(
json
)
{
return
Vue
.
prototype
.
$post
(
addSourceUrl
,
json
)
};
// 修改来源码
const
updateSourceUrl
=
'api/admin/code/rule'
;
export
const
updateSourceApi
=
function
(
id
,
json
)
{
return
Vue
.
prototype
.
$put
(
`
${
updateSourceUrl
}
/
${
id
}
`
,
json
)
};
// 删除来源码
const
delSourceUrl
=
`api/admin/code/rule/`
;
export
const
delSourceApi
=
function
(
id
)
{
return
Vue
.
prototype
.
$del
(
`
${
delSourceUrl
}${
id
}
`
)
};
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