Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xichonght
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
zhangdishen
xichonght
Commits
a47b0f57
Commit
a47b0f57
authored
Aug 27, 2019
by
lc@weface.com.cn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新闻
parent
4d40fbc1
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
56 deletions
+47
-56
getlist.js
xichongSys/src/http/moudules/getlist.js
+26
-38
index.js
xichongSys/src/router/index.js
+1
-13
global.js
xichongSys/src/utils/global.js
+1
-1
newsupdata.vue
xichongSys/src/views/Myvue/newsupdata.vue
+19
-4
No files found.
xichongSys/src/http/moudules/getlist.js
View file @
a47b0f57
...
...
@@ -132,20 +132,20 @@ export const seledysqdc = (data) => {
}
//覆盖人员查询
export
const
listAllBaseInfo
=
(
data
)
=>
{
return
axios
({
url
:
'/baseInfo/getAllBaseInfo'
,
method
:
'post'
,
data
})
}
return
axios
({
url
:
'/baseInfo/getAllBaseInfo'
,
method
:
'post'
,
data
})
}
//
export
const
selectflowState
=
(
params
)
=>
{
return
axios
({
url
:
'/folw/selectflowState'
,
method
:
'get'
,
params
})
}
export
const
selectflowState
=
(
params
)
=>
{
return
axios
({
url
:
'/folw/selectflowState'
,
method
:
'get'
,
params
})
}
//缴费信息查询
export
const
listPayInfo
=
(
data
)
=>
{
return
axios
({
...
...
@@ -164,12 +164,12 @@ export const getGrantList = (data) => {
}
//流程详情
export
const
selectRoleflowNo
=
(
params
)
=>
{
return
axios
({
url
:
'role/selectRoleflowNo'
,
method
:
'get'
,
params
})
}
return
axios
({
url
:
'role/selectRoleflowNo'
,
method
:
'get'
,
params
})
}
export
const
updatePassword
=
(
data
)
=>
{
return
axios
({
url
:
'user/updatePassword'
,
...
...
@@ -177,7 +177,6 @@ export const updatePassword = (data)=>{
data
})
}
<<<<<<<
HEAD
export
const
getTown
=
()
=>
{
return
axios
({
url
:
'/dept/findTreeByUser'
,
...
...
@@ -186,11 +185,11 @@ export const getTown = () => {
})
}
//交互中心信息查询
export
const
getInteracts
=
()
=>
{
export
const
getInteracts
=
(
params
)
=>
{
return
axios
({
url
:
'/news/listinteract'
,
method
:
'get'
,
params
})
}
...
...
@@ -205,27 +204,16 @@ export const saveFile = (data)=>{
//更新文件状态
export
const
updateFileState
=
(
id
,
state
)
=>
{
return
axios
({
url
:
'news/update/'
+
id
+
'/'
+
state
,
method
:
'post'
,
data
:{}
=======
export
const
getTown
=
()
=>
{
return
axios
({
url
:
'/dept/findTreeByUser'
,
method
:
'get'
,
})
>>>>>>>
cdbd67c6b8b39eb57f99fa7312b409566ab17998
}
)
url
:
'news/update/'
+
id
+
'/'
+
state
,
method
:
'post'
})
}
//新闻预览
export
const
newsPreView
=
(
id
)
=>
{
return
axios
({
url
:
'news/view/'
+
id
,
method
:
'get'
,
}
)
method
:
'get'
})
}
//
//参保注销导出
...
...
xichongSys/src/router/index.js
View file @
a47b0f57
...
...
@@ -25,27 +25,18 @@ import receivePersonnel from "@/views/Myvue/receivePersonnel";
import
AllbaseInfo
from
"@/views/Myvue/allbaseInfo"
import
PayInfo
from
"@/views/Myvue/payInfo"
import
application
from
"@/views/Myvue/application"
<<<<<<<
HEAD
import
importByExcel
from
"@/views/Myvue/importByExcel"
import
treatmentApplicationAudit
from
"@/views/Myvue/treatmentApplicationAudit"
import
insuranceCancellationAudit
from
"@/views/Myvue/insuranceCancellationAudit"
import
supPaymentAudit
from
"@/views/Myvue/supPaymentAudit"
import
traRelationsAudit
from
"@/views/Myvue/traRelationsAudit"
import
upgradeReoAudit
from
"@/views/Myvue/upgradeReoAudit"
import
interact
from
"@/views/Myvue/interact"
import
preView
from
"@/views/Myvue/preView"
=======
import
importByExcel
from
"@/views/Myvue/importByExcel"
;
import
treatmentApplicationAudit
from
"@/views/Myvue/treatmentApplicationAudit"
;
import
insuranceCancellationAudit
from
"@/views/Myvue/insuranceCancellationAudit"
;
import
supPaymentAudit
from
"@/views/Myvue/supPaymentAudit"
;
import
traRelationsAudit
from
"@/views/Myvue/traRelationsAudit"
;
import
upgradeReoAudit
from
"@/views/Myvue/upgradeReoAudit"
;
import
drcbzx
from
"@/views/Myvue/drcbzx"
;
import
drbjbf
from
"@/views/Myvue/drbjbf"
;
import
drtsyw
from
"@/views/Myvue/drtsyw"
;
>>>>>>>
cdbd67c6b8b39eb57f99fa7312b409566ab17998
Vue
.
use
(
Router
)
...
...
@@ -176,7 +167,6 @@ const router = new Router({
component
:
traRelationsAudit
},
{
<<<<<<<
HEAD
path
:
"/interact"
,
name
:
"交互中心"
,
component
:
interact
...
...
@@ -185,8 +175,7 @@ const router = new Router({
path
:
"/preView"
,
name
:
"预览"
,
component
:
preView
}
=======
},{
path
:
"/insCanExport"
,
name
:
"参保注销导出"
,
component
:
drcbzx
...
...
@@ -201,7 +190,6 @@ const router = new Router({
name
:
"特殊业务导出"
,
component
:
drtsyw
},
>>>>>>>
cdbd67c6b8b39eb57f99fa7312b409566ab17998
]
},
{
...
...
xichongSys/src/utils/global.js
View file @
a47b0f57
...
...
@@ -7,7 +7,7 @@
// 后台管理系统服务器地址
export
const
baseUrl2
=
'http://xclc.rensheju.com'
export
const
baseUrl
=
'http://xc.rensheju.com'
//export const baseUrl = 'http://172.16.10.33:900
2
'
//export const baseUrl = 'http://172.16.10.33:900
3
'
export
default
{
...
...
xichongSys/src/views/Myvue/newsupdata.vue
View file @
a47b0f57
...
...
@@ -89,7 +89,7 @@
active-color=
"#13ce66"
inactive-color=
"#ff4949"
active-text =
"启用"
inactive-text=
"禁用"
:inactive-value =
"0"
:active-value =
"2"
@
change=
"changeSwitch(scope.row.state)"
>
@
change=
"changeSwitch(scope.row.state
,scope.$index
)"
>
</el-switch>
</
template
>
</el-table-column>
...
...
@@ -115,7 +115,7 @@
<el-dialog
width=
"60%"
:visible
.
sync=
"preViewVisible"
>
<div
style=
"margin-top:-100px"
v-html =
"content"
></div>
<div
v-html =
"content"
></div>
</el-dialog>
</div>
...
...
@@ -222,8 +222,23 @@
})
},
changeSwitch
(
value
,
row
)
{
console
.
log
(
value
,
row
)
changeSwitch
(
value
,
index
)
{
let
str
=
value
==
2
?
'启用'
:
value
==
0
?
'禁用'
:
''
;
this
.
$confirm
(
'确认'
+
str
+
'?'
,
'提示'
,
{}).
then
(()
=>
{
this
.
$api
.
getlist
.
updateFileState
(
this
.
tableData
[
index
].
id
,
value
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
({
message
:
'操作成功'
,
type
:
'success'
})
this
.
current_change
(
this
.
pageNum
);
}
else
{
this
.
$message
({
message
:
'操作失败, '
+
res
.
message
,
type
:
'error'
})
this
.
tableData
[
index
].
state
=
this
.
tableData
[
index
].
state
==
0
?
2
:
0
;
}
}).
catch
((
res
)
=>
{
});
}).
catch
(()
=>
{
this
.
tableData
[
index
].
state
=
this
.
tableData
[
index
].
state
==
0
?
2
:
0
;
})
},
upload
(
form
){
this
.
$refs
[
form
].
validate
((
valid
)
=>
{
...
...
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