Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-4
Overview
Overview
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
office
haoban-4
Commits
5a2f8264
Commit
5a2f8264
authored
Dec 22, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 更新loading
parent
8ac73f8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
target-set.vue
src/views/apps/target-manage/target-set.vue
+6
-4
No files found.
src/views/apps/target-manage/target-set.vue
View file @
5a2f8264
...
...
@@ -4,12 +4,12 @@
* @Author: 无尘
* @Date: 2020-11-09 10:05:27
* @LastEditors: 无尘
* @LastEditTime: 2020-12-
01 18:06:40
* @LastEditTime: 2020-12-
22 16:19:08
-->
<!-- -->
<
template
>
<div
class=
"common-app-right"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"30px"
class=
"demo-ruleForm"
@
submit
.
native
.
prevent
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
v-loading=
"loadingBtn"
ref=
"ruleForm"
label-width=
"30px"
class=
"demo-ruleForm"
@
submit
.
native
.
prevent
>
<el-form-item
label=
""
prop=
"days"
>
<span
class=
"font-14 color-606266"
>
下发时间当月,第
</span><el-select
class=
"w-100"
v-model=
"ruleForm.days"
placeholder=
"请选择"
>
<el-option
...
...
@@ -22,7 +22,7 @@
<span
class=
"font-14 color-909399 p-l-35"
>
注:如当月第28天下发,如果现在是1月份,即1月28号下发2月份指标。设置后次日生效
</span>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
:loading=
"loadingBtn"
@
click=
"submitForm('ruleForm')"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"submitForm('ruleForm')"
>
保存
</el-button>
</el-form-item>
</el-form>
</div>
...
...
@@ -118,16 +118,18 @@ export default {
*/
getData
()
{
const
that
=
this
;
that
.
loadingBtn
=
true
;
const
para
=
{
enterpriseId
:
that
.
brandId
,
wxEnterpriseId
:
that
.
wxEnterpriseId
};
getTargetSet
(
para
,
{
headers
:
{
sign
:
that
.
brandId
}
})
.
then
(
res
=>
{
that
.
loadingBtn
=
false
;
that
.
ruleForm
.
days
=
res
.
result
.
days
||
''
;
})
.
catch
(
function
(
error
)
{
that
.
loadingBtn
=
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