Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
3d4450da
Commit
3d4450da
authored
Sep 16, 2021
by
刘玉帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xq
parent
9c1f9386
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
69 deletions
+24
-69
src/store/index.js
+3
-3
src/views/rwgl/mptj.vue
+15
-63
src/views/rwgl/rwglindex.vue
+6
-3
src/views/rwgl/rymplb.vue
+0
-0
No files found.
src/store/index.js
View file @
3d4450da
/*
/*
* @Author: your name
* @Author: your name
* @Date: 2021-08-31 10:44:27
* @Date: 2021-08-31 10:44:27
* @LastEditTime: 2021-09-1
5 18:33:02
* @LastEditTime: 2021-09-1
6 11:05:08
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: \西青项目\founder_vue\src\store\index.js
* @FilePath: \西青项目\founder_vue\src\store\index.js
...
@@ -20,8 +20,8 @@ const store = new Vuex.Store({
...
@@ -20,8 +20,8 @@ const store = new Vuex.Store({
},
},
mutations
:{
mutations
:{
setzzjglx
(
state
){
setzzjglx
(
state
){
state
.
zzjglx
=
11
state
.
zzjglx
=
//
JSON.parse(sessionStorage.getItem('userInformation')).data.zzjglx|| ''
JSON
.
parse
(
sessionStorage
.
getItem
(
'userInformation'
)).
data
.
zzjglx
||
''
console
.
log
(
JSON
.
parse
(
sessionStorage
.
getItem
(
'userInformation'
)).
data
.
zzjglx
);
console
.
log
(
JSON
.
parse
(
sessionStorage
.
getItem
(
'userInformation'
)).
data
.
zzjglx
);
}
}
},
},
...
...
src/views/rwgl/mptj.vue
View file @
3d4450da
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2021-08-27 15:52:57
* @Date: 2021-08-27 15:52:57
* @LastEditTime: 2021-09-1
5 18:31:10
* @LastEditTime: 2021-09-1
6 13:56:14
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\rymp.vue
* @FilePath: \founder_vue\src\views\rymp.vue
...
@@ -435,22 +435,22 @@ export default {
...
@@ -435,22 +435,22 @@ export default {
}
}
},
},
/**
/**
* @description: 获取
未匹配
人员的列表
* @description: 获取
全部的
人员的列表
* @param {*} form
* @param {*} form
* @return {*}
* @return {*}
*/
*/
//
getList(form) {
getList
(
form
)
{
//
let self = this;
let
self
=
this
;
//
postJson("/xqapi/rymp/selectRympList", form).then((res) => {
postJson
(
"/xqapi/rymp/selectRympList"
,
form
).
then
((
res
)
=>
{
//
console.log(res);
console
.
log
(
res
);
//
if (res.code == "200") {
if
(
res
.
code
==
"200"
)
{
//
self.tableLoading = true;
self
.
tableLoading
=
true
;
//
this.tableData = utils.deepClone(res.data.rows);
this
.
tableData
=
utils
.
deepClone
(
res
.
data
.
rows
);
//
this.tableDataLength = res.data.total;
this
.
tableDataLength
=
res
.
data
.
total
;
//
self.tableLoading = false;
self
.
tableLoading
=
false
;
//
}
}
//
});
});
//
},
},
/**
/**
* @description: 关闭diolog清空列表
* @description: 关闭diolog清空列表
* @param {*}
* @param {*}
...
@@ -478,55 +478,7 @@ export default {
...
@@ -478,55 +478,7 @@ export default {
console
.
log
(
JSON
.
parse
(
sessionStorage
.
getItem
(
"userInformation"
)).
username
);
console
.
log
(
JSON
.
parse
(
sessionStorage
.
getItem
(
"userInformation"
)).
username
);
console
.
log
(
this
.
$route
.
params
.
type
);
console
.
log
(
this
.
$route
.
params
.
type
);
//点击未匹配/和退回跳转过来传过来的信息
//点击未匹配/和退回跳转过来传过来的信息
console
.
log
(
this
.
showList
);
if
(
this
.
$route
.
params
.
type
==
"wpp"
)
{
// debugger
let
formList
=
{
rwid
:
"2"
,
page
:
1
,
limit
:
10
,
ppzt
:
"0"
,
};
this
.
showList
=
formList
;
console
.
log
(
this
.
showList
);
this
.
getList
(
formList
);
}
else
if
(
this
.
$route
.
params
.
type
==
"th"
)
{
let
formList
=
{
rwid
:
this
.
$route
.
params
.
id
,
page
:
1
,
limit
:
10
,
thzt
:
"0"
,
};
this
.
showList
=
formList
;
this
.
getList
(
formList
);
}
else
if
(
this
.
$route
.
params
.
type
==
"ypp"
)
{
var
formList
=
{
rwid
:
this
.
$route
.
params
.
id
,
page
:
1
,
limit
:
10
,
ppzt
:
"1"
,
};
this
.
showList
=
formList
;
this
.
getList
(
formList
);
}
else
if
(
this
.
$route
.
params
.
type
==
"yfk"
)
{
let
formList
=
{
rwid
:
this
.
$route
.
params
.
id
,
page
:
1
,
limit
:
10
,
fkzt
:
"1"
,
};
this
.
showList
=
formList
;
this
.
getList
(
formList
);
}
else
if
(
this
.
$route
.
params
.
type
==
"wfk"
)
{
let
formList
=
{
rwid
:
this
.
$route
.
params
.
id
,
page
:
1
,
limit
:
10
,
fkzt
:
"0"
,
};
this
.
showList
=
formList
;
this
.
getList
(
formList
);
}
},
},
};
};
...
...
src/views/rwgl/rwglindex.vue
View file @
3d4450da
<!--
<!--
* @Author: your name
* @Author: your name
* @Date: 2021-08-28 21:28:08
* @Date: 2021-08-28 21:28:08
* @LastEditTime: 2021-09-1
5 18:28:18
* @LastEditTime: 2021-09-1
6 13:53:11
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\rwgl\rwglindex.vue
* @FilePath: \founder_vue\src\views\rwgl\rwglindex.vue
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<
template
>
<
template
>
<div
class=
"rwgl"
id=
"rwglindex"
>
<div
class=
"rwgl"
id=
"rwglindex"
>
<el-form
ref=
"form"
:model=
"selectPage"
label-width=
"80px"
:inline=
"true"
>
<el-form
ref=
"form"
:model=
"selectPage"
label-width=
"80px"
:inline=
"true"
>
<div
class=
"rybdsearch"
>
<div
class=
"rybdsearch"
v-if=
"zzjglx==11"
>
<el-form-item
label=
""
>
<el-form-item
label=
""
>
<!--
<el-input
<!--
<el-input
v-model=
"form.name"
v-model=
"form.name"
...
@@ -249,7 +249,7 @@ import Table from "@/components/Table.vue";
...
@@ -249,7 +249,7 @@ import Table from "@/components/Table.vue";
import
{
get
,
postJson
,
post
}
from
"@/utils/http.js"
;
import
{
get
,
postJson
,
post
}
from
"@/utils/http.js"
;
import
axios
from
"axios"
;
import
axios
from
"axios"
;
import
utils
from
"@/utils/util.js"
;
import
utils
from
"@/utils/util.js"
;
import
{
mapMutations
,
mapState
}
from
"vuex"
;
export
default
{
export
default
{
components
:
{
components
:
{
Table
,
Table
,
...
@@ -339,6 +339,7 @@ export default {
...
@@ -339,6 +339,7 @@ export default {
};
};
},
},
methods
:
{
methods
:
{
...
mapMutations
([
"setzzjglx"
]),
//调用vueX的方法修改值
/**
/**
* @description: 选择文件的时候进行判断勾选的内容只能是一个
* @description: 选择文件的时候进行判断勾选的内容只能是一个
* @param {*}
* @param {*}
...
@@ -700,11 +701,13 @@ export default {
...
@@ -700,11 +701,13 @@ export default {
},
},
},
},
computed
:
{
computed
:
{
...
mapState
([
"zzjglx"
]),
Tpage
()
{
Tpage
()
{
return
Math
.
ceil
(
this
.
tableDataLength
/
this
.
curpage
);
return
Math
.
ceil
(
this
.
tableDataLength
/
this
.
curpage
);
},
},
},
},
mounted
()
{
mounted
()
{
this
.
setzzjglx
();
this
.
handSizePageSearch
();
this
.
handSizePageSearch
();
},
},
};
};
...
...
src/views/rwgl/rymplb.vue
View file @
3d4450da
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