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
27b2049d
Commit
27b2049d
authored
Sep 16, 2021
by
刘玉帅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xq
parent
3d4450da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
5 deletions
+57
-5
src/views/rwgl/rwglindex.vue
+57
-5
No files found.
src/views/rwgl/rwglindex.vue
View file @
27b2049d
<!--
* @Author: your name
* @Date: 2021-08-28 21:28:08
* @LastEditTime: 2021-09-16 1
3:53:11
* @LastEditTime: 2021-09-16 1
6:39:05
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\rwgl\rwglindex.vue
...
...
@@ -112,6 +112,7 @@
:cell-class-name=
"addClass"
>
<el-table-column
type=
"selection"
width=
"55"
>
</el-table-column>
<template
v-if=
"zzjglx!=12"
>
<el-table-column
v-for=
"columnTitle in cxDefaultFormThead"
:prop=
"columnTitle.prop"
...
...
@@ -119,8 +120,22 @@
:label=
"columnTitle.label"
:width=
"columnTitle.width"
sortable:true
>
</el-table-column>
</
template
>
<
template
v-else
>
<el-table-column
v-for=
"columnTitle in cxDefaultFormTheadisShow"
:prop=
"columnTitle.prop"
:key=
"columnTitle.label"
:label=
"columnTitle.label"
:width=
"columnTitle.width"
sortable:true
>
</el-table-column>
</
template
>
<el-table-column
label=
"操作"
width=
"auto"
>
<
template
slot-scope=
"scope"
>
<!--
<el-button
...
...
@@ -186,7 +201,7 @@
</div>
</el-dialog>
<!-- 新增的diolog -->
<el-dialog
title=
"新增"
:visible
.
sync=
"XZdialogFormVisible"
>
<el-dialog
title=
"新增"
:visible
.
sync=
"XZdialogFormVisible"
@
closed=
"closed"
>
<el-form
:model=
"XZformDiolog"
>
<el-form-item
label=
"任务名称"
:label-width=
"formLabelWidth"
>
<el-input
...
...
@@ -325,6 +340,39 @@ export default {
width
:
"auto"
,
},
],
//表头的数据
cxDefaultFormTheadisShow
:
[
{
label
:
"任务名称"
,
prop
:
"rwmc"
,
width
:
"auto"
,
},
{
label
:
"人员摸排总数"
,
prop
:
"rympzs"
,
width
:
"auto"
,
},
{
label
:
"已反馈"
,
prop
:
"yfk"
,
width
:
"auto"
,
},
{
label
:
"未反馈"
,
prop
:
"wfk"
,
width
:
"auto"
,
},
{
label
:
"退回"
,
prop
:
"th"
,
width
:
"auto"
,
},
{
label
:
"完成进度"
,
prop
:
"wcjd"
,
width
:
"auto"
,
},
],
//表头的数据
tableData
:
[],
//表格的内容
form
:
{
name
:
""
,
...
...
@@ -340,6 +388,10 @@ export default {
},
methods
:
{
...
mapMutations
([
"setzzjglx"
]),
//调用vueX的方法修改值
closed
(){
console
.
log
(
'000000'
);
this
.
XZformDiolog
=
{}
},
/**
* @description: 选择文件的时候进行判断勾选的内容只能是一个
* @param {*}
...
...
@@ -503,7 +555,7 @@ export default {
})
.
then
(()
=>
{
let
clearid
=
row
.
rwid
;
post
(
"/xqapi/deleteRwgl"
,
{
id
:
clearid
}).
then
((
res
)
=>
{
post
(
"/xqapi/
rwgl/
deleteRwgl"
,
{
id
:
clearid
}).
then
((
res
)
=>
{
console
.
log
(
res
);
if
(
res
.
code
==
"200"
)
{
self
.
$message
({
...
...
@@ -665,7 +717,7 @@ export default {
handClickXZ
()
{
//调用接口将数据传给后台 在 调用接口进行查询数据
let
self
=
this
;
postJson
(
"/xqapi/insertRwgl"
,
self
.
XZformDiolog
).
then
((
res
)
=>
{
postJson
(
"/xqapi/
rwgl/
insertRwgl"
,
self
.
XZformDiolog
).
then
((
res
)
=>
{
console
.
log
(
res
);
if
(
res
.
code
==
"200"
)
{
this
.
$message
({
...
...
@@ -686,7 +738,7 @@ export default {
*/
handClickXG
()
{
let
self
=
this
;
postJson
(
"/xqapi/updateRw"
,
self
.
XGformDiolog
).
then
((
res
)
=>
{
postJson
(
"/xqapi/
rwgl/
updateRw"
,
self
.
XGformDiolog
).
then
((
res
)
=>
{
console
.
log
(
res
);
if
(
res
.
code
==
"200"
)
{
this
.
$message
({
...
...
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