Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
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
front-end-dev
techbook
Commits
b7f2cddf
Commit
b7f2cddf
authored
Sep 21, 2019
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
confirm
parent
fa079cf1
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
54 additions
and
23 deletions
+54
-23
detail.vue
src/views/bigbusiness/pages/detail.vue
+6
-3
requireDetail.vue
src/views/bigbusiness/pages/requireDetail.vue
+6
-3
requireEdit.vue
src/views/bigbusiness/pages/requireEdit.vue
+12
-5
selfDetail.vue
src/views/bigbusiness/pages/selfDetail.vue
+5
-2
selfList.vue
src/views/bigbusiness/pages/selfList.vue
+5
-2
activeStatus.vue
src/views/saleManage/projectManage/pages/activeStatus.vue
+9
-3
edit.vue
src/views/saleManage/requireManage/pages/edit.vue
+5
-2
requireDetail.vue
src/views/saleManage/requireManage/pages/requireDetail.vue
+6
-3
No files found.
src/views/bigbusiness/pages/detail.vue
View file @
b7f2cddf
...
...
@@ -499,11 +499,14 @@
return
false
;
}
if
(
data
.
requirementStatus
==
"RA03"
||
data
.
requirementStatus
==
"RA04"
)
{
this
.
$confirm
(
title
,
''
,
{
this
.
$confirm
(
title
,{
confirmButtonText
:
type
==
1
?
'上架'
:
'下架'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
center
:
true
center
:
true
,
closeOnClickModal
:
false
,
closeOnPressEscape
:
false
,
type
:
''
,
customClass
:
'deleteConfirm'
}).
then
(()
=>
{
that
.
fullscreenLoading
=
true
;
api
.
soldAxios
(
params
).
then
((
res
)
=>
{
...
...
src/views/bigbusiness/pages/requireDetail.vue
View file @
b7f2cddf
...
...
@@ -422,11 +422,14 @@
return
false
;
}
if
(
this
.
detailInfo
.
requirementStatus
==
"RA03"
||
this
.
detailInfo
.
requirementStatus
==
"RA04"
){
this
.
$confirm
(
title
,
''
,
{
this
.
$confirm
(
title
,
{
confirmButtonText
:
type
==
1
?
'上架'
:
'下架'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
center
:
true
center
:
true
,
closeOnClickModal
:
false
,
closeOnPressEscape
:
false
,
type
:
''
,
customClass
:
'deleteConfirm'
}).
then
(()
=>
{
that
.
fullscreenLoading
=
true
;
api
.
soldAxios
(
params
).
then
((
res
)
=>
{
...
...
src/views/bigbusiness/pages/requireEdit.vue
View file @
b7f2cddf
...
...
@@ -1268,12 +1268,15 @@
});
return
false
;
}
this
.
$confirm
(
'您的需求已更改,点击确认该需求会重新提交审核,通过后会更新为最新修改结果,确认将修改的内容提交审核吗?'
,
'提示'
,
{
this
.
$confirm
(
'您的需求已更改,点击确认该需求会重新提交审核,通过后会更新为最新修改结果,确认将修改的内容提交审核吗?'
,
{
confirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
closeOnClickModal
:
false
,
closeOnPressEscape
:
false
,
type
:
''
,
customClass
:
'deleteConfirm'
}).
then
(()
=>
{
//
this.submitDataFunc();
this
.
submitDataFunc
();
}).
catch
(()
=>
{
that
.
$message
({
type
:
'info'
,
...
...
@@ -1320,10 +1323,14 @@
//取消
handleCancel
()
{
//
this
.
$confirm
(
'您修改的内容尚未保存,如果返回将保留原需求内容不做更改,确认要返回吗?'
,
'提示'
,
{
this
.
$confirm
(
'您修改的内容尚未保存,如果返回将保留原需求内容不做更改,确认要返回吗?'
,
{
confirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
closeOnClickModal
:
false
,
closeOnPressEscape
:
false
,
type
:
''
,
customClass
:
'deleteConfirm'
}).
then
(()
=>
{
this
.
$router
.
push
({
path
:
"/require/detail"
,
query
:{
id
:
this
.
detailInfo
.
detailId
}});
}).
catch
(()
=>
{
...
...
src/views/bigbusiness/pages/selfDetail.vue
View file @
b7f2cddf
...
...
@@ -191,10 +191,13 @@
//接受或者忽略意向
sendRequireStatus
(
data
){
var
id
=
this
.
$route
.
query
.
id
;
this
.
$confirm
(
data
?
"确认接受该意向?"
:
"确认忽略该意向?"
,
'提示'
,
{
this
.
$confirm
(
data
?
"确认接受该意向?"
:
"确认忽略该意向?"
,
{
cancelButtonText
:
'取消'
,
confirmButtonText
:
'确定'
,
type
:
'warning'
closeOnClickModal
:
false
,
closeOnPressEscape
:
false
,
type
:
''
,
customClass
:
'deleteConfirm'
}).
then
(()
=>
{
this
.
fullscreenLoading
=
true
;
let
url
=
data
?
api
.
confirmAxios
(
id
):
api
.
ignoreAxios
(
id
);
...
...
src/views/bigbusiness/pages/selfList.vue
View file @
b7f2cddf
...
...
@@ -155,10 +155,13 @@
//接受/忽略意向
handleIntention
(
type
,
data
){
this
.
$confirm
(
type
?
"确认接受该意向?"
:
"确认忽略该意向?"
,
'提示'
,
{
this
.
$confirm
(
type
?
"确认接受该意向?"
:
"确认忽略该意向?"
,
{
cancelButtonText
:
'取消'
,
confirmButtonText
:
'确定'
,
type
:
'warning'
closeOnClickModal
:
false
,
closeOnPressEscape
:
false
,
type
:
''
,
customClass
:
'deleteConfirm'
}).
then
(()
=>
{
let
url
=
type
?
api
.
confirmAxios
(
data
):
api
.
ignoreAxios
(
data
);
this
.
fullscreenLoading
=
true
;
...
...
src/views/saleManage/projectManage/pages/activeStatus.vue
View file @
b7f2cddf
...
...
@@ -439,10 +439,13 @@
sendRequireStatus
(
data
){
var
id
=
this
.
$route
.
query
.
id
;
if
(
this
.
$route
.
query
.
type
==
0
){
this
.
$confirm
(
"确认接受该合作意向?"
,
'提示'
,
{
this
.
$confirm
(
"确认接受该合作意向?"
,
{
cancelButtonText
:
'取消'
,
confirmButtonText
:
'确定'
,
type
:
'warning'
closeOnClickModal
:
false
,
closeOnPressEscape
:
false
,
type
:
''
,
customClass
:
'deleteConfirm'
}).
then
(()
=>
{
let
url
=
data
?
api
.
confirmAxios
(
id
):
api
.
ignoreAxios
(
id
);
url
.
then
((
res
)
=>
{
...
...
@@ -465,7 +468,10 @@
this
.
$confirm
(
"确认接受该合作意向?"
,
'提示'
,
{
cancelButtonText
:
'取消'
,
confirmButtonText
:
'确定'
,
type
:
'warning'
closeOnClickModal
:
false
,
closeOnPressEscape
:
false
,
type
:
''
,
customClass
:
'deleteConfirm'
}).
then
(()
=>
{
let
url
=
data
?
api
.
confirmIntentionAxios
(
id
):
api
.
ignoreIntentionAxios
(
id
);
url
.
then
((
res
)
=>
{
...
...
src/views/saleManage/requireManage/pages/edit.vue
View file @
b7f2cddf
...
...
@@ -1362,10 +1362,13 @@
return
false
;
}
if
(
!
this
.
ruleForm
.
companyLogoUrl
)
return
false
;
this
.
$confirm
(
'您的需求已更改,点击确认该需求会重新提交审核,通过后会更新为最新修改结果,确认将修改的内容提交审核吗?'
,
'提示'
,
{
this
.
$confirm
(
'您的需求已更改,点击确认该需求会重新提交审核,通过后会更新为最新修改结果,确认将修改的内容提交审核吗?'
,
{
confirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
closeOnClickModal
:
false
,
closeOnPressEscape
:
false
,
type
:
''
,
customClass
:
'deleteConfirm'
}).
then
(()
=>
{
this
.
submitDataFunc
();
}).
catch
(()
=>
{
...
...
src/views/saleManage/requireManage/pages/requireDetail.vue
View file @
b7f2cddf
...
...
@@ -381,11 +381,14 @@
return
false
;
}
if
(
this
.
detailInfo
.
requirementStatus
==
"RA03"
||
this
.
detailInfo
.
requirementStatus
==
"RA04"
){
this
.
$confirm
(
title
,
''
,
{
this
.
$confirm
(
title
,
{
confirmButtonText
:
type
==
1
?
'上架'
:
'下架'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
center
:
true
center
:
true
,
closeOnClickModal
:
false
,
closeOnPressEscape
:
false
,
type
:
''
,
customClass
:
'deleteConfirm'
}).
then
(()
=>
{
that
.
fullscreenLoading
=
true
;
api
.
soldAxios
(
params
).
then
((
res
)
=>
{
...
...
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