Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZiBoYingJI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Kimber
ZiBoYingJI
Commits
3cfc4f6e
Commit
3cfc4f6e
authored
Sep 24, 2024
by
forevertyler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:行政区,电子档案管理
parent
fff35e9c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
29 deletions
+48
-29
index.vue
src/views/edoc/index.vue
+19
-0
index.vue
src/views/kd/c/enterprise/index.vue
+29
-29
No files found.
src/views/edoc/index.vue
View file @
3cfc4f6e
...
@@ -72,10 +72,13 @@
...
@@ -72,10 +72,13 @@
:ref=
"`addhdpic`"
:ref=
"`addhdpic`"
class=
"helloworld"
class=
"helloworld"
type=
"file"
type=
"file"
accept=
".pdf"
hidden
hidden
@
change=
"addhdPicChange"
@
change=
"addhdPicChange"
/>
/>
</label>
</label>
<span>
仅支持pdf格式文件
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
""
>
<el-form-item
label=
""
>
<div
v-for=
"(item, index) in uploadedFiles"
:key=
"item.name + index"
>
<div
v-for=
"(item, index) in uploadedFiles"
:key=
"item.name + index"
>
...
@@ -181,6 +184,13 @@
...
@@ -181,6 +184,13 @@
<el-table-column
width=
"200px"
prop=
"createTime"
label=
"录入时间"
/>
<el-table-column
width=
"200px"
prop=
"createTime"
label=
"录入时间"
/>
<el-table-column
label=
"操作"
width=
"230px"
align=
"center"
>
<el-table-column
label=
"操作"
width=
"230px"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
v-show=
"scope.row.downloadWhether"
type=
"primary"
size=
"mini"
@
click=
"viewFile(scope.row)"
>
预览
</el-button
>
<el-button
<el-button
v-show=
"scope.row.downloadWhether"
v-show=
"scope.row.downloadWhether"
type=
"primary"
type=
"primary"
...
@@ -227,6 +237,8 @@ export default {
...
@@ -227,6 +237,8 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
dialogVisible4
:
false
,
pdfSrc
:
''
,
modalBtnLoad
:
false
,
modalBtnLoad
:
false
,
query
:
{
query
:
{
originallyName
:
""
,
originallyName
:
""
,
...
@@ -268,6 +280,13 @@ export default {
...
@@ -268,6 +280,13 @@ export default {
},
},
created
()
{},
created
()
{},
methods
:
{
methods
:
{
viewFile
(
row
){
this
.
pdfSrc
=
process
.
env
.
VUE_APP_LOCAL_API
+
'
/file
'
+
row
.
filePath
;
const
link
=
document
.
createElement
(
'
a
'
);
link
.
href
=
this
.
pdfSrc
;
link
.
target
=
'
_blank
'
;
link
.
click
();
},
// searchParamReset() {
// searchParamReset() {
// this.searchParam = {
// this.searchParam = {
// originallyName: "",
// originallyName: "",
...
...
src/views/kd/c/enterprise/index.vue
View file @
3cfc4f6e
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
</el-row>
</el-row>
<el-row
:gutter=
"100"
>
<el-row
:gutter=
"100"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"
行业
类别:"
prop=
"dict3"
>
<el-form-item
label=
"
矿山
类别:"
prop=
"dict3"
>
<el-select
v-model=
"mainDataEditing.dict3"
placeholder=
"请选择"
style=
"width: 100%;"
>
<el-select
v-model=
"mainDataEditing.dict3"
placeholder=
"请选择"
style=
"width: 100%;"
>
<el-option
v-for=
"item in dict3List"
:key=
"item.id"
:label=
"item.value"
:value=
"item.id"
/>
<el-option
v-for=
"item in dict3List"
:key=
"item.id"
:label=
"item.value"
:value=
"item.id"
/>
</el-select>
</el-select>
...
@@ -336,7 +336,7 @@
...
@@ -336,7 +336,7 @@
</el-row>
</el-row>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"
行业
类别:"
prop=
"dict3"
>
<el-form-item
label=
"
矿山
类别:"
prop=
"dict3"
>
<span>
{{
dialog1Data
.
dict3Name
}}
</span>
<span>
{{
dialog1Data
.
dict3Name
}}
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -622,35 +622,35 @@ export default {
...
@@ -622,35 +622,35 @@ export default {
},
},
mainFormRules
:
{
mainFormRules
:
{
name
:
[{
required
:
true
,
message
:
'
请输入
'
}],
name
:
[{
required
:
true
,
message
:
'
请输入
'
}],
idCode
:
[{
required
:
true
,
message
:
'
请输入
'
}],
//
idCode: [{ required: true, message: '请输入' }],
_administrativeAreaCascade
:
[{
required
:
true
,
message
:
'
请选择
'
}],
//
_administrativeAreaCascade: [{ required: true, message: '请选择' }],
address
:
[{
required
:
true
,
message
:
'
请输入
'
}],
//
address: [{ required: true, message: '请输入' }],
dict1
:
[{
required
:
true
,
message
:
'
请选择
'
}],
//
dict1: [{ required: true, message: '请选择' }],
dict2
:
[{
required
:
true
,
message
:
'
请选择
'
}],
//
dict2: [{ required: true, message: '请选择' }],
dict3
:
[{
required
:
true
,
message
:
'
请选择
'
}],
dict3
:
[{
required
:
true
,
message
:
'
请选择
'
}],
hasRegisteredCapital
:
[{
required
:
true
,
message
:
'
请选择
'
}],
//
hasRegisteredCapital: [{ required: true, message: '请选择' }],
registeredCapital
:
[{
required
:
true
,
message
:
'
请输入
'
}],
//
registeredCapital: [{ required: true, message: '请输入' }],
businessScope
:
[{
required
:
true
,
message
:
'
请输入
'
}],
//
businessScope: [{ required: true, message: '请输入' }],
setupDate
:
[{
required
:
true
,
message
:
'
请选择
'
}],
//
setupDate: [{ required: true, message: '请选择' }],
beginLimitDate
:
[{
required
:
true
,
message
:
'
请选择
'
}],
//
beginLimitDate: [{ required: true, message: '请选择' }],
endLimitDate
:
[{
required
:
true
,
message
:
'
请选择
'
}],
//
endLimitDate: [{ required: true, message: '请选择' }],
dict4
:
[{
required
:
true
,
message
:
'
请选择
'
}],
//
dict4: [{ required: true, message: '请选择' }],
dict5
:
[{
required
:
true
,
message
:
'
请选择
'
}],
//
dict5: [{ required: true, message: '请选择' }],
dict6
:
[{
required
:
true
,
message
:
'
请选择
'
}],
//
dict6: [{ required: true, message: '请选择' }],
dict7
:
[{
required
:
true
,
message
:
'
请选择
'
}],
//
dict7: [{ required: true, message: '请选择' }],
dict41
:
[{
required
:
true
,
message
:
'
请选择
'
}],
//
dict41: [{ required: true, message: '请选择' }],
liablePerson
:
[{
required
:
true
,
message
:
'
请输入
'
}],
//
liablePerson: [{ required: true, message: '请输入' }],
liablePersonPhone
:
[{
required
:
true
,
trigger
:
'
blur
'
,
validator
:
validatePhone
}],
//
liablePersonPhone: [{ required: true, trigger: 'blur', validator: validatePhone }],
businessAddress
:
[{
required
:
true
,
message
:
'
请输入
'
}],
//
businessAddress: [{ required: true, message: '请输入' }],
longitude
:
[{
required
:
true
,
message
:
'
请选择位置
'
}],
//
longitude: [{ required: true, message: '请选择位置' }],
latitude
:
[{
required
:
true
,
message
:
'
请选择位置
'
}],
//
latitude: [{ required: true, message: '请选择位置' }],
_workLicenseFileList
:
[{
required
:
true
,
message
:
'
请选择
'
}],
//
_workLicenseFileList: [{ required: true, message: '请选择' }],
workLicenseBeginDate
:
[{
required
:
true
,
message
:
'
请选择
'
}],
//
workLicenseBeginDate: [{ required: true, message: '请选择' }],
workLicenseEndDate
:
[{
required
:
true
,
message
:
'
请选择
'
}],
//
workLicenseEndDate: [{ required: true, message: '请选择' }],
_safetyLicenseFileList
:
[{
required
:
true
,
message
:
'
请选择
'
}],
//
_safetyLicenseFileList: [{ required: true, message: '请选择' }],
safetyLicenseBeginDate
:
[{
required
:
true
,
message
:
'
请选择
'
}],
//
safetyLicenseBeginDate: [{ required: true, message: '请选择' }],
safetyLicenseEndDate
:
[{
required
:
true
,
message
:
'
请选择
'
}]
//
safetyLicenseEndDate: [{ required: true, message: '请选择' }]
},
},
searching
:
false
,
searching
:
false
,
...
...
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