Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
learn-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
learn-online-pc
Commits
de3e4429
提交
de3e4429
authored
4月 17, 2020
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改bug
上级
b6b82ec0
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
24 行增加
和
13 行删除
+24
-13
mPage.vue
client/src/components/comTable/mPage.vue
+1
-0
againAdd.vue
client/src/pages/affairsHall/againAdd.vue
+1
-1
hall.vue
client/src/pages/affairsHall/hall.vue
+19
-9
learningAdd.vue
client/src/pages/affairsHall/learningAdd.vue
+1
-1
shareAdd.vue
client/src/pages/affairsHall/shareAdd.vue
+2
-2
没有找到文件。
client/src/components/comTable/mPage.vue
浏览文件 @
de3e4429
...
...
@@ -89,6 +89,7 @@ export default {
},
'objFn.paramsFn'
:
{
handler
()
{
console
.
log
(
11111
)
this
.
getList
()
}
}
...
...
client/src/pages/affairsHall/againAdd.vue
浏览文件 @
de3e4429
...
...
@@ -136,7 +136,7 @@ export default {
this
.
dialogVisible
=
true
},
gobackActiveList
()
{
this
.
$router
.
push
({
path
:
'/app/affairs-hall/hall'
})
this
.
$router
.
push
({
path
:
'/app/affairs-hall/hall'
,
query
:
{
index
:
2
}
})
},
onApplyFrom
()
{
this
.
$refs
.
setApplyForm
.
validate
((
valid
)
=>
{
...
...
client/src/pages/affairsHall/hall.vue
浏览文件 @
de3e4429
...
...
@@ -76,7 +76,9 @@ export default {
this
.
VueEvent
.
$off
(
'command-tablelist-x'
)
},
mounted
()
{
this
.
getTapData
()
const
i
=
this
.
$route
.
query
.
index
||
0
this
.
tapParam
[
0
].
selectIndex
=
i
this
.
getTapData
(
i
)
this
.
VueEvent
.
$on
(
'command-tablelist-x'
,
(
_obj
)
=>
{
if
(
_obj
.
command
.
command
===
'activelist-show'
)
{
const
rid
=
_obj
.
tableData
[
_obj
.
index
-
1
].
formId
...
...
@@ -111,8 +113,9 @@ export default {
this
.
dialogVisible
=
false
},
setmPage
()
{
console
.
log
(
111
)
this
.
objFn
=
{
paramsFn
:
(
_this
)
=>
{
return
{
affair_id
:
this
.
dataParam
}
},
paramsFn
:
(
_this
)
=>
{
return
{
affair_id
:
this
.
dataParam
,
action
:
Math
.
random
()
}
},
nameAPI
:
'getAffairsData'
,
actionClass
:
'Affairs'
,
// nameExcel: 'getStatSummaryExcel',
...
...
@@ -165,8 +168,8 @@ export default {
this
.
getData
(
data
)
},
getData
(
data
)
{
console
.
log
(
5555
)
const
n
=
parseInt
(
data
.
index
)
this
.
dataParam
=
data
.
id
switch
(
n
)
{
case
0
:
this
.
tableHead
=
[
...
...
@@ -204,22 +207,29 @@ export default {
]
break
}
this
.
dataParam
=
data
.
id
this
.
setmPage
()
},
getTapData
()
{
const
affairId
=
this
.
$route
.
query
.
id
||
''
cons
ole
.
log
(
affairId
,
'======='
)
getTapData
(
index
)
{
index
=
index
!==
undefined
?
index
:
0
cons
t
affairId
=
this
.
$route
.
query
.
affairId
||
''
// 获取事务类型 tap切换
cAction
.
Affairs
.
getAffairsType
().
then
(
data
=>
{
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
console
.
log
(
this
.
tapParam
[
0
])
this
.
tapParam
[
0
].
arrItem
.
push
(
{
val
:
data
[
i
].
id
,
name
:
data
[
i
].
affair_name
}
)
}
const
param
=
{
id
:
this
.
tapParam
[
0
].
arrItem
[
0
].
val
,
index
:
0
const
param
=
{}
if
(
affairId
===
''
)
{
param
.
id
=
this
.
tapParam
[
0
].
arrItem
[
index
].
val
param
.
index
=
index
}
else
{
param
.
id
=
affairId
param
.
index
=
1
}
this
.
tapIndex
=
index
this
.
getData
(
param
)
}).
catch
(
e
=>
{
this
.
$message
.
error
(
e
.
message
)
...
...
client/src/pages/affairsHall/learningAdd.vue
浏览文件 @
de3e4429
...
...
@@ -158,7 +158,7 @@ export default {
}).
catch
(
e
=>
{
this
.
filesArr
.
pop
();
this
.
$message
.
error
(
e
.
message
)
}).
finally
(()
=>
{
loading
.
close
()
})
},
gobackActiveList
()
{
this
.
$router
.
push
({
path
:
'/app/affairs-hall/hall'
})
this
.
$router
.
push
({
path
:
'/app/affairs-hall/hall'
,
query
:
{
index
:
0
}
})
},
onApplyFrom
()
{
this
.
$refs
.
setApplyForm
.
validate
((
valid
)
=>
{
...
...
client/src/pages/affairsHall/shareAdd.vue
浏览文件 @
de3e4429
...
...
@@ -150,7 +150,7 @@ export default {
}).
catch
(
e
=>
{
this
.
filesArr
.
pop
();
this
.
$message
.
error
(
e
.
message
)
}).
finally
(()
=>
{
loading
.
close
()
})
},
gobackActiveList
()
{
this
.
$router
.
push
({
path
:
'/app/affairs-hall/hall'
,
query
:
{
i
d
:
this
.
$route
.
query
.
id
}
})
this
.
$router
.
push
({
path
:
'/app/affairs-hall/hall'
,
query
:
{
i
ndex
:
1
}
})
},
onApplyFrom
()
{
this
.
$refs
.
setApplyForm
.
validate
((
valid
)
=>
{
...
...
@@ -188,7 +188,7 @@ export default {
if
(
data
.
success
)
{
this
.
$message
({
type
:
'success'
,
message
:
'提交成功'
})
setTimeout
(()
=>
{
this
.
$router
.
push
({
path
:
'/app/affairs-hall/hall'
})
this
.
$router
.
push
({
path
:
'/app/affairs-hall/hall'
,
query
:
{
index
:
1
}
})
},
500
)
}
}).
catch
(
e
=>
{
this
.
filesArr
.
pop
();
this
.
$message
.
error
(
e
.
message
)
}).
finally
(()
=>
{
loading
.
close
()
})
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论