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
f6b50e14
Commit
f6b50e14
authored
Oct 28, 2022
by
dingyoujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文档
parent
8a21b3d5
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
147 additions
and
115 deletions
+147
-115
securityDocumentManagement.js
src/api/basicData/securityDocumentManagement.js
+69
-0
edit.vue
src/views/basicData/announcementManagement/edit.vue
+0
-6
mainIndex.vue
src/views/basicData/operationDcManagement/mainIndex.vue
+3
-3
lessEdit.vue
src/views/basicData/securityDocumentManagement/lessEdit.vue
+39
-37
lessIndex.vue
src/views/basicData/securityDocumentManagement/lessIndex.vue
+19
-39
mainIndex.vue
src/views/basicData/securityDocumentManagement/mainIndex.vue
+17
-30
No files found.
src/api/basicData/securityDocumentManagement.js
0 → 100644
View file @
f6b50e14
import
request
from
'common/src/utils/request'
/* 角色管理query */
export
function
doQuery
(
query
)
{
return
request
({
url
:
'/aqgl/jcsj/aqwdml/query'
,
method
:
'post'
,
data
:
query
||
{}
})
}
/* 角色管理更新 */
export
function
doUpdate
(
query
)
{
return
request
({
url
:
'/aqgl/jcsj/aqwdml/update'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doAdd
(
query
)
{
return
request
({
url
:
'/aqgl/jcsj/aqwdml/add'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doDelete
(
query
)
{
return
request
({
url
:
'/aqgl/jcsj/aqwdml/delete'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doQueryDtl
(
query
)
{
return
request
({
url
:
'/aqgl/jcsj/aqwd/query'
,
method
:
'post'
,
data
:
query
||
{}
})
}
/* 角色管理更新 */
export
function
doUpdateDtl
(
query
)
{
return
request
({
url
:
'/aqgl/jcsj/aqwd/update'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doAddDtl
(
query
)
{
return
request
({
url
:
'/aqgl/jcsj/aqwd/add'
,
method
:
'post'
,
data
:
query
||
{}
})
}
export
function
doDeleteDtl
(
query
)
{
return
request
({
url
:
'/aqgl/jcsj/aqwd/delete'
,
method
:
'post'
,
data
:
query
||
{}
})
}
src/views/basicData/announcementManagement/edit.vue
View file @
f6b50e14
...
@@ -56,12 +56,6 @@
...
@@ -56,12 +56,6 @@
</el-col>
</el-col>
</el-row>
</el-row>
</el-form>
</el-form>
<!-- 按钮重写, -->
<!--
<div
slot=
"reFooter"
>
<span
slot=
"footer"
>
重写按钮写在这里,根据需要重写 slot(reFooter,foorer) 节点样式 重写方法需要在此页重新定义
</span>
</div>
-->
</RelDialog>
</RelDialog>
</
template
>
</
template
>
<
script
>
<
script
>
...
...
src/views/basicData/operationDcManagement/mainIndex.vue
View file @
f6b50e14
...
@@ -82,13 +82,13 @@
...
@@ -82,13 +82,13 @@
},
},
{
{
prop
:
'name'
,
prop
:
'name'
,
label
:
'
标准
名称'
,
label
:
'
目录
名称'
,
width
:
'
12
0'
width
:
'
20
0'
},
},
{
{
prop
:
'bz'
,
prop
:
'bz'
,
label
:
'备注'
,
label
:
'备注'
,
width
:
'
6
00'
width
:
'
3
00'
}
}
]
]
}
}
...
...
src/views/basicData/securityDocumentManagement/lessEdit.vue
View file @
f6b50e14
...
@@ -3,58 +3,59 @@
...
@@ -3,58 +3,59 @@
<!-- 填写表单内容,slot=form必写-->
<!-- 填写表单内容,slot=form必写-->
<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=
"24"
>
<el-form-item
label=
"项目管理"
ref=
"appid"
prop=
"appid"
>
<el-form-item
label=
"标题"
ref=
"title"
prop=
"title"
>
<el-input
:readonly=
"readonly"
v-model=
"form.appid"
></el-input>
<el-input
:readonly=
"readonly"
v-model=
"form.title"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"标准"
ref=
"name"
prop=
"name"
>
<el-input
:readonly=
"readonly"
v-model=
"form.name"
></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=
"8"
>
<el-form-item
label=
"发布日期"
ref=
"appid"
prop=
"appid"
>
<el-form-item
label=
"发布日期"
ref=
"fbrq"
prop=
"fbrq"
>
<el-date-picker
<el-date-picker
style=
"width: 100%;"
style=
"width: 100%;"
type=
"date"
:readonly=
"readonly"
placeholder=
"选择日期"
>
type=
"date"
</el-date-picker>
v-model=
"form.fbrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"实施日期"
ref=
"ssrq"
prop=
"ssrq"
>
<el-date-picker
style=
"width: 100%;"
:readonly=
"readonly"
type=
"date"
v-model=
"form.ssrq"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"实施日期"
ref=
"name"
prop=
"name"
>
<el-form-item
label=
"发布部门"
ref=
"bmid"
prop=
"bmid"
>
<el-date-picker
<el-select
:disabled=
"readonly"
style=
"width: 100%;"
:filterable=
'true'
v-model=
"form.bmid"
placeholder=
"请选择"
>
style=
"width: 100%;"
<el-option
:key=
"index"
v-for=
"(item,index) in bmList"
:label=
"item.bmmc"
:value=
"item.id"
>
type=
"date"
</el-option>
placeholder=
"选择日期"
>
</el-select>
</el-date-picker>
</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=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"
处理方法
"
>
<el-form-item
label=
"
适用条款"
ref=
"sytk"
prop=
"content
"
>
<el-input
type=
"textarea"
:readonly=
"readonly"
v-model=
"form.bz
"
></el-input>
<el-input
:readonly=
"readonly"
type=
"textarea"
v-model=
"form.sytk
"
></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=
"24"
>
<el-col
:span=
"24"
>
<el-form-item
label=
"备注"
>
<el-form-item
label=
"备注"
ref=
"bz"
prop=
"content"
>
<el-input
type=
"textarea"
:readonly=
"readonly"
v-model=
"form.bz"
></el-input>
<el-input
:readonly=
"readonly"
type=
"textarea"
v-model=
"form.bz"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
</el-form>
</el-form>
<!-- 按钮重写, -->
<!--
<div
slot=
"reFooter"
>
<span
slot=
"footer"
>
重写按钮写在这里,根据需要重写 slot(reFooter,foorer) 节点样式 重写方法需要在此页重新定义
</span>
</div>
-->
</RelDialog>
</RelDialog>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -78,11 +79,12 @@
...
@@ -78,11 +79,12 @@
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
form
:
{
appid
:
''
,
title
:
''
,
name
:
''
,
sytk
:
''
,
version
:
""
,
bz
:
""
,
url
:
""
,
fbrq
:
new
Date
().
getTime
(),
bz
:
''
ssrq
:
new
Date
().
getTime
(),
mlid
:
this
.
app
.
app
.
singleItem
.
id
},
},
/* form提交时的规则,具体规则参考官网*/
/* form提交时的规则,具体规则参考官网*/
rules
:
{
rules
:
{
...
...
src/views/basicData/securityDocumentManagement/lessIndex.vue
View file @
f6b50e14
...
@@ -24,35 +24,21 @@
...
@@ -24,35 +24,21 @@
<
script
>
<
script
>
/* 引入需要的接口*/
/* 引入需要的接口*/
import
{
import
{
QueryAppversion
,
doQueryDtl
,
QueryApptype
,
doAddDtl
,
AddAppversion
,
doUpdateDtl
,
DelAppversion
,
doDeleteDtl
UpdateAppversion
}
from
"@/api/basicData/securityDocumentManagement.js"
;
}
from
"common/src/api/system/dmgSystem.js"
;
/* edit页面*/
/* edit页面*/
import
Edit
from
'./lessEdit'
import
Edit
from
'./lessEdit'
import
{
tableMixin
}
from
'common'
import
{
tableMixin
}
from
'common'
export
default
{
export
default
{
mixins
:
[
tableMixin
],
mixins
:
[
tableMixin
],
name
:
'
appVersion
'
,
name
:
'
securityDocumentManagementDtl
'
,
/* 初始额外赋值*/
/* 初始额外赋值*/
async
mounted
()
{
async
mounted
()
{
console
.
log
(
'兄弟组件通信'
,
this
.
$attrs
.
vMain
.
$refs
.
lessIndex
,
this
.
$attrs
.
vMain
.
$refs
.
mainIndex
)
console
.
log
(
'兄弟组件通信'
,
this
.
$attrs
.
vMain
.
$refs
.
lessIndex
,
this
.
$attrs
.
vMain
.
$refs
.
mainIndex
)
await
this
.
$asRun
(
[
QueryApptype
(),
res
=>
{
var
data
=
res
[
'data'
][
'records'
];
let
typeMap
=
[]
for
(
var
i
in
data
)
{
typeMap
[
data
[
i
].
id
]
=
data
[
i
].
name
}
this
.
systemType
=
data
this
.
typeMap
=
typeMap
}
]
)
this
.
$refs
[
'TablePager'
].
pageQuery
()
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
},
data
()
{
data
()
{
...
@@ -60,34 +46,29 @@
...
@@ -60,34 +46,29 @@
/*需要的额外参数 */
/*需要的额外参数 */
typeMap
:
[],
typeMap
:
[],
systemType
:
[],
systemType
:
[],
baseUrl
:
'
kzzx/appversion
'
,
baseUrl
:
'
aqgl/jcsj/aqwd
'
,
/* 查询参数*/
/* 查询参数*/
queryParams
:
{},
queryParams
:
{},
/* 表格标题对应参数*/
/* 表格标题对应参数*/
tableTitle
:
[
tableTitle
:
[
{
{
prop
:
'name'
,
prop
:
'title'
,
label
:
'管理项目'
,
label
:
'标题'
,
width
:
'120'
},
{
prop
:
'name'
,
label
:
'标准'
,
width
:
'120'
width
:
'120'
},
},
{
{
prop
:
'
whsj
'
,
prop
:
'
fbrq
'
,
label
:
'发布
时间
'
,
label
:
'发布
日期
'
,
...
this
.
$common
(
'ftDateTime'
)
...
this
.
$common
(
'ftDateTime'
)
},
},
{
{
prop
:
'
whsj
'
,
prop
:
'
ssrq
'
,
label
:
'实施
时间
'
,
label
:
'实施
日期
'
,
...
this
.
$common
(
'ftDateTime'
)
...
this
.
$common
(
'ftDateTime'
)
},
},
{
{
prop
:
'
name
'
,
prop
:
'
sytk
'
,
label
:
'
异常项处理方法
'
,
label
:
'
适用条款
'
,
width
:
'120'
width
:
'120'
},
},
{
{
...
@@ -100,14 +81,13 @@
...
@@ -100,14 +81,13 @@
},
},
methods
:
{
methods
:
{
/* 基础查询*/
/* 基础查询*/
query
:
QueryAppversion
,
query
:
doQueryDtl
,
/* 基础增*/
/* 基础增*/
apiAdd
:
AddAppversion
,
apiAdd
:
doAddDtl
,
/* 基础更新*/
/* 基础更新*/
apiUpdate
:
UpdateAppversion
,
apiUpdate
:
doUpdateDtl
,
/* 删除操作*/
/* 删除操作*/
apiDelete
:
DelAppversion
,
apiDelete
:
doDeleteDtl
/* 初始化赋值操作*/
},
},
/* 注册组件*/
/* 注册组件*/
components
:
{
components
:
{
...
...
src/views/basicData/securityDocumentManagement/mainIndex.vue
View file @
f6b50e14
...
@@ -55,33 +55,19 @@
...
@@ -55,33 +55,19 @@
<
script
>
<
script
>
/* 引入需要的接口*/
/* 引入需要的接口*/
import
{
import
{
QueryAppversion
,
doQuery
,
QueryApptype
,
doAdd
,
AddAppversion
,
doUpdate
,
DelAppversion
,
doDelete
UpdateAppversion
}
from
"@/api/basicData/securityDocumentManagement.js"
;
}
from
"common/src/api/system/dmgSystem.js"
;
/* edit页面*/
/* edit页面*/
import
Edit
from
'./edit'
import
Edit
from
'./edit'
import
{
tableMixin
}
from
'common'
import
{
tableMixin
}
from
'common'
export
default
{
export
default
{
mixins
:
[
tableMixin
],
mixins
:
[
tableMixin
],
name
:
'
appVersion
'
,
name
:
'
mainIndex
'
,
/* 初始额外赋值*/
/* 初始额外赋值*/
async
mounted
()
{
async
mounted
()
{
await
this
.
$asRun
(
[
QueryApptype
(),
res
=>
{
var
data
=
res
[
'data'
][
'records'
];
let
typeMap
=
[]
for
(
var
i
in
data
)
{
typeMap
[
data
[
i
].
id
]
=
data
[
i
].
name
}
this
.
systemType
=
data
this
.
typeMap
=
typeMap
}
]
)
this
.
$refs
[
'TablePager'
].
pageQuery
()
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
},
data
()
{
data
()
{
...
@@ -89,9 +75,11 @@
...
@@ -89,9 +75,11 @@
/*需要的额外参数 */
/*需要的额外参数 */
typeMap
:
[],
typeMap
:
[],
systemType
:
[],
systemType
:
[],
baseUrl
:
'
kzzx/appversion
'
,
baseUrl
:
'
aqgl/jcsj/aqwdml
'
,
/* 查询参数*/
/* 查询参数*/
queryParams
:
{},
queryParams
:
{
},
/* 表格标题对应参数*/
/* 表格标题对应参数*/
tableTitle
:
[
tableTitle
:
[
{
{
...
@@ -101,27 +89,26 @@
...
@@ -101,27 +89,26 @@
},
},
{
{
prop
:
'name'
,
prop
:
'name'
,
label
:
'
标准
名称'
,
label
:
'
目录
名称'
,
width
:
'
12
0'
width
:
'
20
0'
},
},
{
{
prop
:
'bz'
,
prop
:
'bz'
,
label
:
'备注'
,
label
:
'备注'
,
width
:
'
6
00'
width
:
'
3
00'
}
}
]
]
}
}
},
},
methods
:
{
methods
:
{
/* 基础查询*/
/* 基础查询*/
query
:
QueryAppversion
,
query
:
doQuery
,
/* 基础增*/
/* 基础增*/
apiAdd
:
AddAppversion
,
apiAdd
:
doAdd
,
/* 基础更新*/
/* 基础更新*/
apiUpdate
:
UpdateAppversion
,
apiUpdate
:
doUpdate
,
/* 删除操作*/
/* 删除操作*/
apiDelete
:
DelAppversion
,
apiDelete
:
doDelete
/* 初始化赋值操作*/
},
},
/* 注册组件*/
/* 注册组件*/
components
:
{
components
:
{
...
...
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