Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
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
lanbaoming
jiedao-app-operator-master
Commits
5d57b2db
Commit
5d57b2db
authored
Oct 21, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化部门业绩目标设置
parent
d09f76ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
index.vue
src/views/ecw/deptTarget/index.vue
+16
-5
No files found.
src/views/ecw/deptTarget/index.vue
View file @
5d57b2db
...
...
@@ -106,11 +106,15 @@
</el-select> -->
<dict-selector
:type=
"DICT_TYPE.TARGET_TYPE"
v-model=
"form.targetType"
:placeholder=
"$t('请选择目标类型')"
/>
</el-form-item>
<el-form-item
:label=
"$t('计算周期')"
prop=
"targetPeriodName"
>
<el-select
v-model=
"form.targetPeriodName"
:placeholder=
"$t('请选择计算周期')"
@
change=
"setTime"
>
<el-option
v-for=
"item in targetPeriod"
:label=
"item.name"
:value=
"item.name"
:key=
"item.name"
></el-option>
</el-select>
</el-form-item>
<div
class=
"flex"
>
<el-form-item
:label=
"$t('计算周期')"
prop=
"startTime"
>
<el-date-picker
v-model=
"form.startTime"
placeholder=
""
value-format=
"yyyy-MM-dd HH:mm:ss"
class=
"w-150"
></el-date-picker>
</el-form-item>
<div
class=
"ml-10 mr-10 flex flex-center"
style=
"margin-bottom:22px"
>
-
</div>
<el-form-item
prop=
"endTime"
label-width=
"0"
>
<el-date-picker
v-model=
"form.endTime"
placeholder=
""
value-format=
"yyyy-MM-dd HH:mm:ss"
class=
"w-150"
></el-date-picker>
</el-form-item>
</div>
<el-form-item
:label=
"$t('运输方式')"
prop=
"transportType"
>
<dict-selector
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
v-model=
"form.transportType"
formatter=
"number"
@
change=
"showChannel"
/>
</el-form-item>
...
...
@@ -147,6 +151,7 @@
import
{
listSimpleDepts
}
from
"
@/api/system/dept
"
;
import
{
getChannelList
}
from
'
@/api/ecw/channel
'
;
import
dayjs
from
"
dayjs
"
;
import
{
parseTime
}
from
'
@/utils/ruoyi
'
;
export
default
{
name
:
"
DeptTarget
"
,
...
...
@@ -213,6 +218,8 @@
targetPeriodName
:
[{
required
:
true
,
message
:
this
.
$t
(
"
计算周期不能为空
"
),
trigger
:
"
change
"
}],
transportType
:
[{
required
:
true
,
message
:
this
.
$t
(
"
运输方式不能为空
"
),
trigger
:
"
change
"
}],
cubeNum
:
[{
required
:
true
,
message
:
this
.
$t
(
"
立方数不能为空
"
),
trigger
:
"
blur
"
}],
startTime
:
[{
required
:
true
,
message
:
this
.
$t
(
"
起始时间不能为空
"
),
trigger
:
"
change
"
}],
endTime
:
[{
required
:
true
,
message
:
this
.
$t
(
"
截止时间不能为空
"
),
trigger
:
"
change
"
}],
}
};
},
...
...
@@ -372,6 +379,10 @@
}
else
{
this
.
targetPeriod
=
this
.
yearList
;
}
this
.
form
.
startTime
=
parseTime
(
this
.
form
.
startTime
)
this
.
form
.
endTime
=
parseTime
(
this
.
form
.
endTime
)
this
.
open
=
true
;
this
.
title
=
this
.
$t
(
"
修改部门业绩目标设置
"
);
});
...
...
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