Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dxgaqgl-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
李苏
dxgaqgl-vue
Commits
fe2d88ed
Commit
fe2d88ed
authored
May 24, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改功能字段
parent
7fe173ff
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
259 additions
and
361 deletions
+259
-361
index.vue
src/views/daily/nrtm/index.vue
+2
-2
api.js
src/views/zywsgl/grzyjkda/api.js
+16
-4
edit.vue
src/views/zywsgl/grzyjkda/edit.vue
+76
-0
index.vue
src/views/zywsgl/grzyjkda/index.vue
+165
-292
lessEdit.vue
src/views/zywsgl/grzyjkda/lessEdit.vue
+0
-63
No files found.
src/views/daily/nrtm/index.vue
View file @
fe2d88ed
...
...
@@ -7,7 +7,7 @@
<el-col
:span=
"12"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
名称:
</span>
<el-input
v-model=
"queryParams.
info
"
></el-input>
<el-input
v-model=
"queryParams.
name
"
></el-input>
</div>
</el-col>
</el-row>
...
...
@@ -69,7 +69,7 @@
baseUrl
:
'/aqgl/rcgl/ufcgzylx'
,
/* 查询参数*/
queryParams
:
{
info
:
''
name
:
''
},
/* 表格标题对应参数*/
tableTitle
:
[
...
...
src/views/zywsgl/grzyjkda/api.js
View file @
fe2d88ed
import
request
from
'common/src/utils/request'
/*
query */
/*query */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/zywsgl/ugrzyjkda/query'
,
...
...
@@ -8,7 +8,7 @@ export function doQuery(query) {
data
:
query
||
{}
})
}
/*
更新 */
/*更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/zywsgl/ugrzyjkda/update'
,
...
...
@@ -31,11 +31,23 @@ export function doDelete(query) {
})
}
export
function
doInitSyfw
(
query
)
{
return
request
({
url
:
'/aqgl/zywsgl/ugrzyjkda/init/syfw'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doQuerytree
(
query
)
{
export
function
initZt
(
query
)
{
return
request
({
url
:
'/aqgl/zywsgl/ugrzyjkda/
query/tree
'
,
url
:
'/aqgl/zywsgl/ugrzyjkda/
init/zt
'
,
method
:
'post'
,
data
:
query
||
{}
})
}
src/views/zywsgl/grzyjkda/edit.vue
0 → 100644
View file @
fe2d88ed
<
template
>
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"100px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"职工"
ref=
"userid"
prop=
"userid"
>
<!--
<el-input
:readonly=
"readonly"
v-model=
"form.userid"
></el-input>
-->
<personSelector
:label=
"form.username||form.userid||'暂无'"
@
selected=
'userSelected'
></personSelector>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"所属公司"
ref=
"gsid"
prop=
"gsid"
>
<RelSelect
style=
"width: 100%;"
:readonly=
"readonly"
src=
'jcsj/common/bm/queryGs'
filterable
clearable
:match=
"
{value:'id',label:'bmmc'}" v-model='form.gsid' >
</RelSelect>
</el-form-item>
</el-col>
<el-col
:span=
"24"
>
<el-form-item
label=
"健康档案内容"
ref=
"jkdanr"
prop=
"jkdanr"
>
<el-input
type=
"textarea"
v-model=
'form.jkdanr'
rows=
"5"
>
</el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
},
/* 组件名称*/
name
:
"aqgl/rcglYgczxxEdit"
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
bmList
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
gsid
:
''
,
userName
:
''
,
//ID
id
:
''
,
//用户编码
userid
:
''
,
jkdanr
:
''
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
gsid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
userid
:
[{
required
:
true
,
trigger
:
'blur'
},
],
}
}
},
methods
:
{
userSelected
(
row
){
this
.
form
.
userid
=
row
.
id
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/zywsgl/grzyjkda/index.vue
View file @
fe2d88ed
This diff is collapsed.
Click to expand it.
src/views/zywsgl/grzyjkda/lessEdit.vue
deleted
100644 → 0
View file @
7fe173ff
<
template
>
<RelDialog
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"标题"
ref=
"title"
prop=
"title"
>
<el-input
:readonly=
"readonly"
v-model=
"form.title"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
/* 存放index页面传递的额外参数*/
mounted
()
{
// this.form.mlid=this.app.queryParams.mlid
this
.
form
.
gsid
=
this
.
app
.
queryParams
.
gsid
},
/* 组件名称*/
name
:
'appVersionEdit'
,
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
/* 额外初始化,根据需求*/
systemType
:
[],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
mlid
:
''
,
gsid
:
''
,
title
:
''
,
sytk
:
''
,
bz
:
""
,
fbrq
:
new
Date
().
getTime
(),
ssrq
:
new
Date
().
getTime
(),
mlid
:
''
},
/* form提交时的规则,具体规则参考官网*/
rules
:
{
gsid
:
[{
required
:
true
,
},
],
}
}
},
methods
:
{
/* 重写方法,this.app来调用index页面定义的api*/
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
</
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