Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
Project
Project
Details
Activity
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
fulixin
dsk-operate-sys-cscec
Commits
292d6b2a
Commit
292d6b2a
authored
Nov 21, 2023
by
tianhongyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
过期企业添加账号 添加提示语
parent
6ca99a1e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
index.vue
dsk-operate-ui/src/views/enterpriseManagement/index.vue
+8
-7
No files found.
dsk-operate-ui/src/views/enterpriseManagement/index.vue
View file @
292d6b2a
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"序号"
width=
"60"
>
<el-table-column
label=
"序号"
width=
"60"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<span>
{{
(
queryParams
.
pageNum
-
1
)
*
queryParams
.
pageSize
+
scope
.
$index
+
1
}}
</span>
<span>
{{
(
queryParams
.
pageNum
-
1
)
*
queryParams
.
pageSize
+
scope
.
$index
+
1
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"企业名称"
prop=
"companyName"
:show-overflow-tooltip=
"true"
width=
"150"
/>
<el-table-column
label=
"企业名称"
prop=
"companyName"
:show-overflow-tooltip=
"true"
width=
"150"
/>
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<pagination
v-show=
"total
>
0"
:total=
"total"
:page
.
sync=
"queryParams.pageNum"
:limit
.
sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
<pagination
v-show=
"total
>
0"
:total=
"total"
:page
.
sync=
"queryParams.pageNum"
:limit
.
sync=
"queryParams.pageSize"
@
pagination=
"getList"
/>
<!-- 添加或修改对话框 -->
<!-- 添加或修改对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"800px"
append-to-body
:close-on-click-modal=
"false"
>
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"800px"
append-to-body
:close-on-click-modal=
"false"
>
...
@@ -85,8 +85,8 @@
...
@@ -85,8 +85,8 @@
<el-row>
<el-row>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"续约时间"
prop=
"dateRange"
>
<el-form-item
label=
"续约时间"
prop=
"dateRange"
>
<el-date-picker
:disabled=
"disabled"
v-model=
"form.dateRange"
style=
"width: 100%"
value-format=
"yyyy-MM-dd HH:mm:ss"
<el-date-picker
:disabled=
"disabled"
v-model=
"form.dateRange"
style=
"width: 100%"
value-format=
"yyyy-MM-dd HH:mm:ss"
type=
"datetimerange"
type=
"datetimerange"
range-separator=
"-"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
range-separator=
"-"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
...
@@ -105,8 +105,7 @@
...
@@ -105,8 +105,7 @@
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"企业规模"
prop=
"accountCount"
>
<el-form-item
label=
"企业规模"
prop=
"accountCount"
>
<el-input
onkeyup=
"this.value=this.value.replace(/[^0-9]/g,'')"
:disabled=
"disabled"
v-model=
"form.accountCount"
<el-input
onkeyup=
"this.value=this.value.replace(/[^0-9]/g,'')"
:disabled=
"disabled"
v-model=
"form.accountCount"
placeholder=
"请输入企业规模"
/>
placeholder=
"请输入企业规模"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -114,7 +113,7 @@
...
@@ -114,7 +113,7 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"状态"
prop=
"status"
>
<el-form-item
label=
"状态"
prop=
"status"
>
<el-radio-group
v-model=
"form.status"
:disabled=
"disabled"
>
<el-radio-group
v-model=
"form.status"
:disabled=
"disabled"
>
<el-radio
v-for=
"dict in dict.type.sys_user_status"
:key=
"dict.value"
:label=
"dict.value"
>
{{
dict.label
}}
</el-radio>
<el-radio
v-for=
"dict in dict.type.sys_user_status"
:key=
"dict.value"
:label=
"dict.value"
>
{{
dict.label
}}
</el-radio>
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -258,6 +257,7 @@ export default {
...
@@ -258,6 +257,7 @@ export default {
// 新增用户账号
// 新增用户账号
async
handleAddAccount
(
row
)
{
async
handleAddAccount
(
row
)
{
try
{
try
{
if
(
row
.
status
==
"1"
)
return
this
.
$message
.
warning
(
"该企业账号已过期,不能添加用户"
);
if
(
!
row
.
tenantId
)
return
this
.
$message
.
warning
(
"缺少租户ID"
);
if
(
!
row
.
tenantId
)
return
this
.
$message
.
warning
(
"缺少租户ID"
);
await
this
.
getAccountCount
(
row
.
tenantId
);
await
this
.
getAccountCount
(
row
.
tenantId
);
if
(
this
.
addAccountCount
>=
6
)
{
if
(
this
.
addAccountCount
>=
6
)
{
...
@@ -448,6 +448,7 @@ export default {
...
@@ -448,6 +448,7 @@ export default {
.el-dialog__header
{
.el-dialog__header
{
border-bottom
:
1px
solid
#eee
;
border-bottom
:
1px
solid
#eee
;
}
}
.el-dialog__body
{
.el-dialog__body
{
padding
:
15px
20px
;
padding
:
15px
20px
;
}
}
...
...
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