Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit bee1d4bb
authored
Jun 26, 2024
by
xiehao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:删除了试用范围
1 parent
0ab3a26b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
65 additions
and
28 deletions
src/api/architectureInspection.js
src/views/artPolicyExamine/index.vue
src/api/architectureInspection.js
View file @
bee1d4b
...
...
@@ -20,7 +20,7 @@ export const artPolicyExamine = EADC_ARRCHITECTURE + '/klTechPolicyCheck/'
export
const
artPolicyExamineAdd
=
EADC_KNOWLEDGE_POOL
+
'/kl-tech-policy/'
// 审查 查询
export
const
examineSearch
=
EADC_ARRCHITECTURE
+
'/
prj-info/
'
export
const
examineSearch
=
EADC_ARRCHITECTURE
+
'/
klTechPolicyCheck/qu
'
// 字典管理
export
const
dictionarySearch
=
EADC_SHARED_ABILITY
+
'/dict/'
...
...
src/views/artPolicyExamine/index.vue
View file @
bee1d4b
...
...
@@ -27,7 +27,8 @@
icon=
"el-icon-document-add"
plain
@
click=
"fnAdd"
>
添加
</el-button
>
添加
</el-button
>
</
template
>
<!-- 表格插槽 -->
...
...
@@ -54,11 +55,13 @@ import ListPage from '@/components/ListPage.vue'
import
SearchForm
from
'@/components/SearchForm.vue'
import
TableConfig
from
'@/views/collectDataConfiguration/TableConfig.vue'
import
AddTabelList
from
'./AddTabelList.vue'
import
{
artPolicyExamine
,
examineSearch
}
from
'@/api/architectureInspection'
import
{
artPolicyExamine
,
examineSearch
}
from
'@/api/architectureInspection'
import
{
getDictTypeOptions
}
from
"@/utils"
;
import
{
buildType
,
prjPlanClass
}
from
"@/utils/dictionary"
;
export
default
{
name
:
'artPolicyExamine'
,
components
:
{
ListPage
,
SearchForm
,
TableConfig
,
AddTabelList
},
components
:
{
ListPage
,
SearchForm
,
TableConfig
,
AddTabelList
},
data
()
{
return
{
selectRows
:
[],
...
...
@@ -71,11 +74,12 @@ export default {
?
this
.
$route
.
query
.
activeName
:
'1'
,
tabOptions
:
[
{
label
:
'技术政策'
,
name
:
'1'
},
{
label
:
'审查'
,
name
:
'2'
},
{
label
:
'技术政策'
,
name
:
'1'
},
{
label
:
'审查'
,
name
:
'2'
},
],
visible
:
false
,
dialogTitle
:
''
,
sysBuildOrgOptions
:
[]
}
},
computed
:
{
...
...
@@ -103,17 +107,33 @@ export default {
columns
()
{
if
(
this
.
activeName
==
'2'
)
{
return
[
{
label
:
'序号'
,
type
:
'index'
,
width
:
'80px'
},
{
label
:
'单位'
,
prop
:
'manageOrgId'
,
width
:
'100px'
},
{
label
:
'部门'
,
prop
:
'manageDeptId'
,
width
:
'100px'
},
{
label
:
'系统名称'
,
prop
:
'appName'
},
{
label
:
'建设类型'
,
prop
:
'buildType'
,
width
:
'100px'
},
{
label
:
'项目名称'
,
prop
:
'prjName'
},
{
label
:
'项目类型'
,
prop
:
'prjPlanClass'
,
width
:
'100px'
},
{
label
:
'承建单位'
,
prop
:
'buildOrg'
,
width
:
'100px'
},
{
label
:
'项目经理'
,
prop
:
'projectManager'
,
width
:
'100px'
},
{
label
:
'创建人'
,
prop
:
'createMan'
,
width
:
'100px'
},
{
label
:
'创建时间'
,
prop
:
'createTime'
,
width
:
'100px'
},
{
label
:
'序号'
,
type
:
'index'
,
width
:
'80px'
},
{
label
:
'单位'
,
prop
:
'manageOrgName'
,
width
:
'200px'
},
{
label
:
'部门'
,
prop
:
'manageDeptName'
,
width
:
'200px'
},
{
label
:
'系统名称'
,
prop
:
'appName'
},
{
label
:
'建设类型'
,
width
:
'100px'
,
prop
:
'buildType'
,
options
:
buildType
,
collectionType
:
'buildType'
,
},
{
label
:
'项目名称'
,
prop
:
'prjName'
},
{
label
:
'是否续建'
,
prop
:
'prjPlanClass'
,
options
:
prjPlanClass
,
collectionType
:
'prjPlanClass'
,
},
{
label
:
'承建单位'
,
prop
:
'buildOrg'
,
options
:
this
.
sysBuildOrgOptions
,
collectionType
:
true
,
width
:
'300px'
,
},
{
label
:
'项目经理'
,
prop
:
'projectManager'
,
width
:
'100px'
},
{
label
:
'创建时间'
,
prop
:
'createTime'
,
width
:
'100px'
},
{
label
:
'操作'
,
type
:
'operation'
,
...
...
@@ -134,15 +154,20 @@ export default {
]
}
else
{
return
[
{
label
:
'序号'
,
type
:
'index'
,
width
:
'80px'
},
{
label
:
'政策名称'
,
prop
:
'policyName'
,
width
:
'100px'
},
{
label
:
'政策描述'
,
prop
:
'policyContent'
},
{
label
:
'适用范围'
,
prop
:
'scope_'
},
{
label
:
'发布部门'
,
prop
:
'deptName'
},
{
label
:
'级别'
,
prop
:
'level_'
},
{
label
:
'启用时间'
,
prop
:
'startTime'
},
{
label
:
'创建人'
,
prop
:
'createMan'
},
{
label
:
'创建时间'
,
prop
:
'createTime'
},
{
label
:
'序号'
,
type
:
'index'
,
width
:
'80px'
},
{
label
:
'政策名称'
,
prop
:
'policyName'
,
width
:
'100px'
},
{
label
:
'政策描述'
,
prop
:
'policyContent'
},
{
label
:
'适用范围'
,
prop
:
'scope'
,
options
:
this
.
sysBuildOrgOptions
,
collectionType
:
true
,
width
:
'300px'
,
},
{
label
:
'发布部门'
,
prop
:
'deptName'
},
{
label
:
'级别'
,
prop
:
'level'
},
{
label
:
'启用时间'
,
prop
:
'startTime'
},
{
label
:
'创建时间'
,
prop
:
'createTime'
},
{
label
:
'操作'
,
type
:
'operation'
,
...
...
@@ -164,7 +189,18 @@ export default {
}
},
},
created
()
{
this
.
getDicts
()
},
methods
:
{
getDicts
()
{
getDictTypeOptions
(
'tech_policy_scope'
).
then
((
res
)
=>
{
this
.
sysBuildOrgOptions
=
res
});
getDictTypeOptions
(
'build_company'
).
then
((
res
)
=>
{
this
.
sysBuildOrgOptions
=
res
})
},
querySearch
(
data
)
{
if
(
this
.
activeName
==
'1'
)
{
this
.
query
.
url
=
artPolicyExamine
...
...
@@ -221,7 +257,7 @@ export default {
type
:
'warning'
,
})
.
then
(()
=>
{
this
.
$postRequest
(
'/klTechPolicyCheck/del/'
,
{
id
:
row
.
id
}).
then
(
this
.
$postRequest
(
'/klTechPolicyCheck/del/'
,
{
id
:
row
.
id
}).
then
(
(
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
'删除成功'
)
...
...
@@ -232,7 +268,8 @@ export default {
},
)
})
.
catch
(()
=>
{})
.
catch
(()
=>
{
})
},
},
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment