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 e7734b0e
authored
Jun 19, 2024
by
史敦盼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
size调整
1 parent
785072e6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
169 additions
and
173 deletions
src/components/ChoosePrjDialog.vue
src/views/architectureInspectionAnalysis/Add.vue
src/views/batchPlanManagement/ApprovalDialog.vue
src/views/collectDataConfiguration/SearchFormItem.vue
src/views/conceptualBaseManagement/AddOrg.vue
src/views/conceptualReview/AnalysisContent.vue
src/views/conceptualViewOrg/Detail.vue
src/views/conceptualViewOrg/MaterialFeedback.vue
src/views/conceptualViewOrg/MaterialPush.vue
src/views/dictionaryManagement/AddMaintenance.vue
src/views/etpManage/AddExpert.vue
src/views/etpManage/AddTalent.vue
src/components/ChoosePrjDialog.vue
View file @
e7734b0
...
...
@@ -4,7 +4,7 @@
* @Autor: pan
* @Date: 2024-05-29 16:57:25
* @LastEditors: pan
* @LastEditTime: 2024-06-
05 19:46:56
* @LastEditTime: 2024-06-
19 17:59:48
-->
<
template
>
<el-dialog
...
...
@@ -33,8 +33,8 @@
</list-page>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"handleClose()"
size=
"mini"
>
取 消
</el-button>
<el-button
type=
"primary"
v-preventReClick
@
click=
"handleConfirm()"
size=
"mini"
<el-button
@
click=
"handleClose()"
>
取 消
</el-button>
<el-button
type=
"primary"
v-preventReClick
@
click=
"handleConfirm()"
>
确 定
</el-button
>
</span></el-dialog
...
...
src/views/architectureInspectionAnalysis/Add.vue
View file @
e7734b0
This diff is collapsed.
Click to expand it.
src/views/batchPlanManagement/ApprovalDialog.vue
View file @
e7734b0
...
...
@@ -19,10 +19,8 @@
></Form>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"handleClose()"
size=
"mini"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit"
size=
"mini"
>
提 交
</el-button
>
<el-button
@
click=
"handleClose()"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit"
>
提 交
</el-button>
</span></el-dialog
>
</template>
...
...
@@ -30,7 +28,7 @@
<
script
>
import
Form
from
'@/components/Form.vue'
import
{
approveBatchPlan
,
editBatchPlan
}
from
'@/api/index.js'
import
{
approveBatchPlan
,
editBatchPlan
}
from
'@/api/index.js'
export
default
{
props
:
{
title
:
{
...
...
src/views/collectDataConfiguration/SearchFormItem.vue
View file @
e7734b0
...
...
@@ -4,7 +4,7 @@
* @Autor: pan
* @Date: 2024-03-12 15:11:47
* @LastEditors: pan
* @LastEditTime: 2024-0
4-01 17:08:42
* @LastEditTime: 2024-0
6-19 18:07:17
-->
<
template
>
<div
class=
"form-item"
>
...
...
@@ -105,7 +105,6 @@
v-model=
"currentVal"
v-bind=
"bindProps"
v-on=
"bindEvents"
size=
"mini"
clearable
></el-cascader>
</div>
...
...
@@ -150,9 +149,9 @@ export default {
currentVal
:
{
get
()
{
if
(
this
.
isSelect
)
{
if
(
this
.
value
==
0
)
{
if
(
this
.
value
==
0
)
{
return
this
.
value
+
''
}
else
{
}
else
{
return
this
.
value
&&
this
.
value
+
''
}
}
else
{
...
...
src/views/conceptualBaseManagement/AddOrg.vue
View file @
e7734b0
...
...
@@ -15,8 +15,11 @@
></Form>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"handleClose()"
size=
"mini"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit()"
size=
"mini"
v-if=
"this.title != '详情'"
<el-button
@
click=
"handleClose()"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit()"
v-if=
"this.title != '详情'"
>
提 交
</el-button
>
</span></el-dialog
...
...
src/views/conceptualReview/AnalysisContent.vue
View file @
e7734b0
...
...
@@ -19,7 +19,7 @@
</el-tabs>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"handleClose()"
size=
"mini"
>
关 闭
</el-button>
<el-button
@
click=
"handleClose()"
>
关 闭
</el-button>
</span></el-dialog
>
</
template
>
...
...
src/views/conceptualViewOrg/Detail.vue
View file @
e7734b0
<
template
>
<el-dialog
:title=
"'详情'"
:visible
.
sync=
"showDialog"
:close-on-click-modal=
"false"
width=
"66%"
@
close=
"showDialog = false"
@
open=
"handleOpen"
>
<el-dialog
:title=
"'详情'"
:visible
.
sync=
"showDialog"
:close-on-click-modal=
"false"
width=
"66%"
@
close=
"showDialog = false"
@
open=
"handleOpen"
>
<div>
<Form
ref=
"addForm"
...
...
@@ -15,146 +15,151 @@
></Form>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"showDialog = false"
size=
"mini"
>
取 消
</el-button>
<el-button
@
click=
"showDialog = false"
>
取 消
</el-button>
</span>
</el-dialog
>
</el-dialog
>
</
template
>
<
script
>
import
Form
from
'@/components/Form.vue'
import
{
buildType
,
pushStateOptions
,
onlineApprovalStatusOptions
,
sendStateOptions
}
from
'@/utils/dictionary'
import
{
buildType
,
pushStateOptions
,
onlineApprovalStatusOptions
,
sendStateOptions
,
}
from
'@/utils/dictionary'
export
default
{
components
:
{
Form
,
},
props
:
{
visible
:
{
type
:
Boolean
,
default
:
false
,
components
:
{
Form
},
props
:
{
visible
:
{
type
:
Boolean
,
default
:
false
,
},
rowData
:
{
type
:
Object
,
default
:
()
=>
{},
},
activeName
:
{
type
:
String
,
default
:
'1'
,
},
activeName2
:
{
type
:
String
,
default
:
'1'
,
},
},
computed
:
{
formOptions
()
{
let
arr
=
[
{
label
:
'批次名称'
,
// label文字
prop
:
'batName'
,
// 字段名
element
:
'el-input'
,
// 指定elementui组件
disabled
:
true
,
},
rowData
:
{
type
:
Object
,
default
:
()
=>
{},
{
label
:
'需求名称'
,
// label文字
prop
:
'needName'
,
// 字段名
element
:
'el-input'
,
// 指定elementui组件
disabled
:
true
,
},
activeName
:
{
type
:
String
,
default
:
'1'
,
{
label
:
'项目名称'
,
// label文字
prop
:
'prjName'
,
// 字段名
element
:
'el-input'
,
// 指定elementui组件
disabled
:
true
,
},
activeName2
:
{
type
:
String
,
default
:
'1'
,
}
},
computed
:
{
formOptions
()
{
let
arr
=
[
{
label
:
'批次名称'
,
// label文字
prop
:
'batName'
,
// 字段名
element
:
'el-input'
,
// 指定elementui组件
disabled
:
true
,
},
{
label
:
'需求名称'
,
// label文字
prop
:
'needName'
,
// 字段名
element
:
'el-input'
,
// 指定elementui组件
disabled
:
true
,
},
{
label
:
'项目名称'
,
// label文字
prop
:
'prjName'
,
// 字段名
element
:
'el-input'
,
// 指定elementui组件
disabled
:
true
,
},
{
label
:
'关联机构'
,
// label文字
prop
:
'orgName'
,
// 字段名
element
:
'el-input'
,
// 指定elementui组件
disabled
:
true
,
},
{
label
:
'材料'
,
// label文字
prop
:
'fileList'
,
// 字段名
element
:
'el-input'
,
// 指定elementui组件
disabled
:
true
,
},
]
if
(
this
.
activeName
===
'1'
)
{
arr
=
[
...
arr
,
{
label
:
'推送状态'
,
prop
:
'state'
,
element
:
'el-select'
,
// 指定elementui组件
options
:
pushStateOptions
,
options
:
[
{
label
:
'已反馈'
,
value
:
'1'
},
{
label
:
'未反馈'
,
value
:
'0'
},
],
placeholder
:
''
,
disabled
:
true
,
},
{
label
:
'修改剩余时间'
,
prop
:
'createTime'
,
element
:
'el-input'
,
// 指定elementui组件
disabled
:
true
,
},
{
label
:
'在线评审状态'
,
prop
:
'onlineReviewState'
,
element
:
'el-select'
,
// 指定elementui组件
options
:
onlineApprovalStatusOptions
,
placeholder
:
''
,
disabled
:
true
,
},
]
}
else
{
arr
=
[
...
arr
,
{
label
:
'发送状态'
,
prop
:
'sendState'
,
element
:
'el-select'
,
// 指定elementui组件
options
:
sendStateOptions
,
placeholder
:
''
,
disabled
:
true
,
},
]
}
return
[
...
arr
,
{
label
:
'意见内容'
,
prop
:
'remark'
,
element
:
'el-input'
,
// 指定elementui组件
disabled
:
true
,
},
]
{
label
:
'关联机构'
,
// label文字
prop
:
'orgName'
,
// 字段名
element
:
'el-input'
,
// 指定elementui组件
disabled
:
true
,
},
showDialog
:
{
get
()
{
return
this
.
visible
},
set
(
value
)
{
this
.
$emit
(
'update:visible'
,
value
)
},
{
label
:
'材料'
,
// label文字
prop
:
'fileList'
,
// 字段名
element
:
'el-input'
,
// 指定elementui组件
disabled
:
true
,
},
},
methods
:
{
handleOpen
()
{
if
(
Object
.
keys
(
this
.
rowData
).
length
)
{
this
.
formOptions
.
forEach
((
v
)
=>
{
v
.
initValue
=
this
.
rowData
[
v
.
prop
]
})
this
.
$nextTick
(()
=>
{
this
.
$refs
[
'addForm'
].
addInitValue
()
})
}
else
{
this
.
$nextTick
(()
=>
{
this
.
$refs
[
'addForm'
].
addInitValue
()
this
.
$refs
[
'addForm'
].
onReset
()
})
}
]
if
(
this
.
activeName
===
'1'
)
{
arr
=
[
...
arr
,
{
label
:
'推送状态'
,
prop
:
'state'
,
element
:
'el-select'
,
// 指定elementui组件
options
:
pushStateOptions
,
options
:
[
{
label
:
'已反馈'
,
value
:
'1'
},
{
label
:
'未反馈'
,
value
:
'0'
},
],
placeholder
:
''
,
disabled
:
true
,
},
{
label
:
'修改剩余时间'
,
prop
:
'createTime'
,
element
:
'el-input'
,
// 指定elementui组件
disabled
:
true
,
},
{
label
:
'在线评审状态'
,
prop
:
'onlineReviewState'
,
element
:
'el-select'
,
// 指定elementui组件
options
:
onlineApprovalStatusOptions
,
placeholder
:
''
,
disabled
:
true
,
},
]
}
else
{
arr
=
[
...
arr
,
{
label
:
'发送状态'
,
prop
:
'sendState'
,
element
:
'el-select'
,
// 指定elementui组件
options
:
sendStateOptions
,
placeholder
:
''
,
disabled
:
true
,
},
]
}
return
[
...
arr
,
{
label
:
'意见内容'
,
prop
:
'remark'
,
element
:
'el-input'
,
// 指定elementui组件
disabled
:
true
,
},
}
]
},
showDialog
:
{
get
()
{
return
this
.
visible
},
set
(
value
)
{
this
.
$emit
(
'update:visible'
,
value
)
},
},
},
methods
:
{
handleOpen
()
{
if
(
Object
.
keys
(
this
.
rowData
).
length
)
{
this
.
formOptions
.
forEach
((
v
)
=>
{
v
.
initValue
=
this
.
rowData
[
v
.
prop
]
})
this
.
$nextTick
(()
=>
{
this
.
$refs
[
'addForm'
].
addInitValue
()
})
}
else
{
this
.
$nextTick
(()
=>
{
this
.
$refs
[
'addForm'
].
addInitValue
()
this
.
$refs
[
'addForm'
].
onReset
()
})
}
},
},
}
</
script
>
\ No newline at end of file
</
script
>
src/views/conceptualViewOrg/MaterialFeedback.vue
View file @
e7734b0
...
...
@@ -4,7 +4,7 @@
* @Autor: pan
* @Date: 2024-03-21 14:29:32
* @LastEditors: pan
* @LastEditTime: 2024-0
3-24 19:05:44
* @LastEditTime: 2024-0
6-19 18:08:08
-->
<
template
>
...
...
@@ -54,10 +54,8 @@
</el-table>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"handleClose()"
size=
"mini"
>
取 消
</el-button>
<el-button
@
click=
"fnOperation()"
type=
"primary"
size=
"mini"
>
反馈
</el-button
>
<el-button
@
click=
"handleClose()"
>
取 消
</el-button>
<el-button
@
click=
"fnOperation()"
type=
"primary"
>
反馈
</el-button>
</span></el-dialog
>
</div>
...
...
src/views/conceptualViewOrg/MaterialPush.vue
View file @
e7734b0
...
...
@@ -14,10 +14,8 @@
></Form>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"handleClose()"
size=
"mini"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit()"
size=
"mini"
>
反 馈
</el-button
>
<el-button
@
click=
"handleClose()"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit()"
>
反 馈
</el-button>
</span></el-dialog
>
</
template
>
...
...
src/views/dictionaryManagement/AddMaintenance.vue
View file @
e7734b0
This diff is collapsed.
Click to expand it.
src/views/etpManage/AddExpert.vue
View file @
e7734b0
...
...
@@ -4,7 +4,7 @@
* @Autor: pan
* @Date: 2024-04-01 14:39:48
* @LastEditors: pan
* @LastEditTime: 2024-0
4-02 13:55:25
* @LastEditTime: 2024-0
6-19 18:08:49
-->
<
template
>
<el-dialog
...
...
@@ -38,10 +38,8 @@
</Form>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"handleClose()"
size=
"mini"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit"
size=
"mini"
>
确 定
</el-button
>
<el-button
@
click=
"handleClose()"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit"
>
确 定
</el-button>
</span></el-dialog
>
</template>
...
...
src/views/etpManage/AddTalent.vue
View file @
e7734b0
...
...
@@ -4,7 +4,7 @@
* @Autor: pan
* @Date: 2024-04-01 14:38:41
* @LastEditors: pan
* @LastEditTime: 2024-0
4-02 13:55:40
* @LastEditTime: 2024-0
6-19 18:08:45
-->
<
template
>
<el-dialog
...
...
@@ -20,10 +20,8 @@
</Form>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"handleClose()"
size=
"mini"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit"
size=
"mini"
>
确 定
</el-button
>
<el-button
@
click=
"handleClose()"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit"
>
确 定
</el-button>
</span></el-dialog
>
</
template
>
...
...
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