Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
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
紫光云
web-project
Commits
6db890b0
Commit
6db890b0
authored
Oct 23, 2024
by
ccc2wdd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
变更签证,bug修改
parent
778e1b0a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
26 deletions
+30
-26
changeSignatrue.data.ts
src/views/changeSignature/changeSignatrue.data.ts
+1
-0
index.vue
src/views/changeSignature/index.vue
+20
-25
index.vue
src/views/safetyEducation/index.vue
+9
-1
No files found.
src/views/changeSignature/changeSignatrue.data.ts
View file @
6db890b0
...
@@ -83,6 +83,7 @@ export const searchFormSchema: FormSchema[] = [
...
@@ -83,6 +83,7 @@ export const searchFormSchema: FormSchema[] = [
field
:
'companyName'
,
field
:
'companyName'
,
label
:
''
,
label
:
''
,
component
:
'Select'
,
component
:
'Select'
,
required
:
false
,
componentProps
:
{
componentProps
:
{
options
:
[
options
:
[
{
label
:
'公司名称1'
,
value
:
'1'
},
{
label
:
'公司名称1'
,
value
:
'1'
},
...
...
src/views/changeSignature/index.vue
View file @
6db890b0
...
@@ -8,14 +8,14 @@
...
@@ -8,14 +8,14 @@
</
template
>
</
template
>
<
template
#
bodyCell=
"{ column, record }"
>
<
template
#
bodyCell=
"{ column, record }"
>
<template
v-if=
"column.key === 'status'"
>
<template
v-if=
"column.key === 'status'"
>
<Tag
color=
"warning"
v-if=
"record.status == '0'"
>
未审核
</Tag>
<Tag
color=
"warning"
v-if=
"record.status ==
=
'0'"
>
未审核
</Tag>
</
template
>
</
template
>
<
template
v-if=
"column.key === 'status'"
>
<
template
v-if=
"column.key === 'status'"
>
<Tag
color=
"success"
v-if=
"record.status == '1'"
>
已审核
</Tag>
<Tag
color=
"success"
v-if=
"record.status ==
=
'1'"
>
已审核
</Tag>
</
template
>
</
template
>
<
template
v-if=
"column.key === 'action'"
>
<
template
v-if=
"column.key === 'action'"
>
<TableAction
<TableAction
v-if=
"record.status == '0'"
v-if=
"record.status ==
=
'0'"
:actions=
"[
:actions=
"[
{
{
label: '修改',
label: '修改',
...
@@ -70,24 +70,18 @@
...
@@ -70,24 +70,18 @@
</div>
</div>
</template>
</template>
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
>
import
{
operateType
,
addItemApi
,
addItemData
}
from
'@/api/operations/operations'
;
import
{
addItemApi
,
addItemData
,
operateType
}
from
'@/api/operations/operations'
;
import
{
BasicTable
,
useTable
,
TableAction
}
from
'@/components/Table'
;
import
{
BasicTable
,
TableAction
,
useTable
}
from
'@/components/Table'
;
import
{
useModal
}
from
'@/components/Modal'
;
import
{
useModal
}
from
'@/components/Modal'
;
import
yearModal
from
'@/components/yearModal/yearModal.vue'
;
import
{
auditItem
,
checkQuarter
,
deleteList
,
getSettlementManageList
,}
from
'@/api/changeSignatrue/changeSignatrue'
;
import
{
import
{
columns
,
searchFormSchema
}
from
'@/views/changeSignature/changeSignatrue.data'
;
getSettlementManageList
,
import
{
Tag
}
from
'ant-design-vue'
;
auditItem
,
import
{
useRouter
}
from
'vue-router'
;
deleteList
,
import
{
onMounted
}
from
'vue'
;
checkQuarter
,
import
{
getDepartmentList
}
from
'@/api/project/settlementManage'
;
}
from
'@/api/changeSignatrue/changeSignatrue'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
import
{
columns
,
searchFormSchema
}
from
'@/views/changeSignature/changeSignatrue.data'
;
import
{
Tag
}
from
'ant-design-vue'
;
import
{
useRouter
}
from
'vue-router'
;
import
{
onMounted
}
from
'vue'
;
import
{
getDepartmentList
}
from
'@/api/project/settlementManage'
;
import
{
useMessage
}
from
'@/hooks/web/useMessage'
;
const
{
createMessage
}
=
useMessage
();
const
{
createMessage
}
=
useMessage
();
const
{
push
}
=
useRouter
();
const
{
push
}
=
useRouter
();
const
[
register
,
{
openModal
:
openModal
,
closeModal
:
closeModal
}]
=
useModal
();
const
[
register
,
{
openModal
:
openModal
,
closeModal
:
closeModal
}]
=
useModal
();
...
@@ -113,13 +107,14 @@
...
@@ -113,13 +107,14 @@
onMounted
(
async
()
=>
{
onMounted
(
async
()
=>
{
const
data
=
await
getDepartmentList
();
const
data
=
await
getDepartmentList
();
searchFormSchema
[
2
].
componentProps
.
options
=
data
;
searchFormSchema
[
2
].
componentProps
.
options
=
data
.
map
(
item
=>
({
console
.
log
(
searchFormSchema
[
2
].
componentProps
.
options
,
'数据仓库'
);
key
:
item
.
value
,
value
:
item
.
label
,
label
:
item
.
label
}));
});
});
async
function
handleDelete
(
record
:
Recordable
)
{
async
function
handleDelete
(
record
:
Recordable
)
{
console
.
log
(
record
);
console
.
log
(
record
);
let
id
=
record
.
id
;
let
id
=
record
.
id
;
await
deleteList
({
id
});
await
deleteList
({
id
});
reload
();
reload
();
...
...
src/views/safetyEducation/index.vue
View file @
6db890b0
...
@@ -56,8 +56,10 @@
...
@@ -56,8 +56,10 @@
import
{
useUserStore
}
from
'@/store/modules/user'
;
import
{
useUserStore
}
from
'@/store/modules/user'
;
import
{
getDepartmentList
}
from
'@/api/project/settlementManage'
;
import
{
getDepartmentList
}
from
'@/api/project/settlementManage'
;
import
{
downloadByData
}
from
'@/utils/file/download'
;
import
{
downloadByData
}
from
'@/utils/file/download'
;
import
{
dataStyleTask
}
from
"echarts/types/src/visual/style"
;
const
deptId
=
useUserStore
().
userInfo
.
deptId
;
const
deptId
=
useUserStore
().
userInfo
.
deptId
;
// const deptId = "764";
const
APopconfirm
=
Popconfirm
;
const
APopconfirm
=
Popconfirm
;
const
userStore
=
useUserStore
();
const
userStore
=
useUserStore
();
const
getUserInfo
=
computed
(()
=>
{
const
getUserInfo
=
computed
(()
=>
{
...
@@ -294,7 +296,13 @@
...
@@ -294,7 +296,13 @@
}
else
{
}
else
{
columns
.
value
=
columns2
;
columns
.
value
=
columns2
;
}
}
searchForm
.
value
[
2
].
componentProps
.
options
=
await
getDepartmentList
();
const
data
=
await
getDepartmentList
();
// console.log(data);
searchForm
.
value
[
2
].
componentProps
.
options
=
data
.
map
((
item
)
=>
({
key
:
item
.
value
,
value
:
item
.
label
,
label
:
item
.
label
,
}));
getStatisticList
();
getStatisticList
();
});
});
...
...
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