Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sgaqgl-vue
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
李苏
sgaqgl-vue
Commits
05cbf2a8
Commit
05cbf2a8
authored
Jan 10, 2023
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
非常规活动
parent
f5533dfa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
22 deletions
+54
-22
edit.vue
src/views/daily/fcghd/edit.vue
+24
-16
index.vue
src/views/daily/fcghd/index.vue
+30
-6
No files found.
src/views/daily/fcghd/edit.vue
View file @
05cbf2a8
...
@@ -4,17 +4,11 @@
...
@@ -4,17 +4,11 @@
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"分类ID"
ref=
"flid"
prop=
"flid"
>
<el-form-item
label=
"分类"
ref=
"flid"
prop=
"flid"
>
<el-input
:readonly=
"readonly"
v-model=
"form.flid"
></el-input>
<!--
<el-input
:readonly=
"readonly"
v-model=
"form.flid"
></el-input>
-->
<RelSelect
style=
"width: 100%;"
:readonly=
"readonly"
src=
'aqgl/rcgl/fcghd/init/zylx'
:match=
"
{value:'id',label:'name'}" v-model='form.flid' >
</RelSelect>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"活动内容"
ref=
"hdnr"
prop=
"hdnr"
>
<el-input
:readonly=
"readonly"
v-model=
"form.hdnr"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"活动日期"
ref=
"hdrq"
prop=
"hdrq"
>
<el-form-item
label=
"活动日期"
ref=
"hdrq"
prop=
"hdrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
...
@@ -22,23 +16,38 @@
...
@@ -22,23 +16,38 @@
</el-date-picker>
</el-date-picker>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"公司"
ref=
"gsid"
prop=
"gsid"
>
<!--
<el-input
:readonly=
"readonly"
v-model=
"form.flid"
></el-input>
-->
<RelSelect
style=
"width: 100%;"
src=
'jcsj/common/bm/queryGs'
filterable
clearable
:match=
"
{value:'id',label:'bmmc'}" v-model='form.gsid' >
</RelSelect>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"活动内容"
ref=
"hdnr"
prop=
"hdnr"
>
<el-input
type=
"textarea"
:readonly=
"readonly"
v-model=
"form.hdnr"
></el-input>
</el-form-item>
</el-col>
<!--
<el-col
:span=
"12"
>
<el-form-item
label=
"附件数"
ref=
"attachcount"
prop=
"attachcount"
>
<el-form-item
label=
"附件数"
ref=
"attachcount"
prop=
"attachcount"
>
<el-input
:readonly=
"readonly"
v-model=
"form.attachcount"
></el-input>
<el-input
:readonly=
"readonly"
v-model=
"form.attachcount"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
-->
</el-row>
</el-row>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"
12
"
>
<el-col
:span=
"
24
"
>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"bz"
>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
<el-input
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<!--
<el-col
:span=
"12"
>
<el-form-item
label=
"系统版本"
ref=
"sysversion"
prop=
"sysversion"
>
<el-form-item
label=
"系统版本"
ref=
"sysversion"
prop=
"sysversion"
>
<el-input
:readonly=
"readonly"
v-model=
"form.sysversion"
></el-input>
<el-input
:readonly=
"readonly"
v-model=
"form.sysversion"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
-->
</el-row>
</el-row>
</el-form>
</el-form>
</RelDialog>
</RelDialog>
...
@@ -65,6 +74,7 @@
...
@@ -65,6 +74,7 @@
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
form
:
{
gsid
:
''
,
//ID
//ID
id
:
''
,
id
:
''
,
//分类ID
//分类ID
...
@@ -107,5 +117,3 @@
...
@@ -107,5 +117,3 @@
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
</
style
>
</
style
>
src/views/daily/fcghd/index.vue
View file @
05cbf2a8
<
template
>
<
template
>
<div
class=
"min_full"
>
<div
style=
"display: flex;"
>
<div
class=
"min_full"
style=
"width: 200px;border-right: 0px;"
>
<TreeBase
:app=
'app'
:dgtype=
'4'
@
selected=
'selectedTree'
></TreeBase>
</div>
<div
class=
"min_full"
style=
"width: calc(100% - 200px)"
>
<!-- 查询条件-->
<!-- 查询条件-->
<div
class=
"search"
v-condition
>
<div
class=
"search"
v-condition
>
<SearchButton
:app=
'app'
></SearchButton>
<SearchButton
:app=
'app'
></SearchButton>
...
@@ -10,6 +14,12 @@
...
@@ -10,6 +14,12 @@
<el-input
v-model=
"queryParams.info"
></el-input>
<el-input
v-model=
"queryParams.info"
></el-input>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"12"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
分类:
</span>
<RelSelect
style=
"width: 100%;"
:readonly=
"readonly"
src=
'aqgl/rcgl/fcghd/init/zylx'
:match=
"
{value:'id',label:'name'}" v-model='queryParams.flid' >
</RelSelect>
</div>
</el-col>
</el-row>
</el-row>
</div>
</div>
<!-- 按钮操作-->
<!-- 按钮操作-->
...
@@ -35,11 +45,15 @@
...
@@ -35,11 +45,15 @@
</TablePager>
</TablePager>
</div>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
/* 引入需要的接口*/
/* 引入需要的接口*/
import
{
queryGsTree
}
from
"@/api/train/planning.js"
;
import
{
import
{
doQuery
,
doQuery
,
doAdd
,
doAdd
,
...
@@ -57,10 +71,16 @@
...
@@ -57,10 +71,16 @@
/* 初始额外赋值*/
/* 初始额外赋值*/
async
mounted
()
{
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
},
data
()
{
data
()
{
return
{
return
{
/* 树的标题 */
treeTitle
:
'公司列表'
,
treeDefaultProps
:
{
children
:
'children'
,
label
:
'bmmc'
},
/*需要的额外参数 */
/*需要的额外参数 */
showDialog
:
false
,
showDialog
:
false
,
DialogName
:
''
,
DialogName
:
''
,
...
@@ -70,11 +90,12 @@
...
@@ -70,11 +90,12 @@
baseUrl
:
'/aqgl/rcgl/fcghd'
,
baseUrl
:
'/aqgl/rcgl/fcghd'
,
/* 查询参数*/
/* 查询参数*/
queryParams
:
{
queryParams
:
{
info
:
''
info
:
''
,
flid
:
''
},
},
/* 表格标题对应参数*/
/* 表格标题对应参数*/
tableTitle
:
[
tableTitle
:
[
{
label
:
"分类
ID"
,
prop
:
"flid
"
,
fieldType
:
"ftString"
,
width
:
60
},
{
label
:
"分类
"
,
prop
:
"flName
"
,
fieldType
:
"ftString"
,
width
:
60
},
{
label
:
"活动内容"
,
prop
:
"hdnr"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"活动内容"
,
prop
:
"hdnr"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"活动日期"
,
prop
:
"hdrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"活动日期"
,
prop
:
"hdrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"附件数"
,
prop
:
"attachcount"
,
fieldType
:
"int"
},
{
label
:
"附件数"
,
prop
:
"attachcount"
,
fieldType
:
"int"
},
...
@@ -87,7 +108,11 @@
...
@@ -87,7 +108,11 @@
}
}
},
},
methods
:
{
methods
:
{
selectedTree
(
e
){
this
.
queryParams
.
gsid
=
e
.
id
||
'root'
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
apiTreeQuery
:
queryGsTree
,
/* 基础查询*/
/* 基础查询*/
query
:
doQuery
,
query
:
doQuery
,
/* 基础增*/
/* 基础增*/
...
@@ -112,4 +137,3 @@
...
@@ -112,4 +137,3 @@
<
style
scoped
>
<
style
scoped
>
</
style
>
</
style
>
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