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
727ba436
Commit
727ba436
authored
Sep 21, 2019
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a
parent
fdba87a3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
23 deletions
+39
-23
common.scss
public/css/common.scss
+24
-0
editBasic.vue
src/views/bigbusiness/pages/editBasic.vue
+1
-1
requireEdit.vue
src/views/bigbusiness/pages/requireEdit.vue
+6
-10
edit.vue
src/views/saleManage/requireManage/pages/edit.vue
+8
-12
No files found.
public/css/common.scss
View file @
727ba436
...
...
@@ -1260,6 +1260,30 @@ i {
height
:
40px
;
}
/*alert狂*/
.alertDialog.el-message-box
{
width
:
500px
;
min-height
:
190px
;
}
.alertDialog.el-message-box
.el-message-box__content
{
text-align
:
center
;
font-size
:
16px
;
margin
:
20px
50px
0
;
}
.alertDialog.el-message-box
.el-button
{
width
:
130px
;
height
:
40px
;
}
.alertDialog.el-message-box
.el-message-box__btns
{
text-align
:
center
;
margin
:
10px
0
;
height
:
40px
;
display
:
flex
;
justify-content
:
center
;
}
/* 表格头部 */
.projectTable2.el-table
{
font-size
:
14px
;
...
...
src/views/bigbusiness/pages/editBasic.vue
View file @
727ba436
...
...
@@ -479,6 +479,7 @@
api
.
getIndustryAxios
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
0
){
that
.
industryInvolvedOptions
=
res
.
result
;
this
.
getCompanyInfoFunc
();
}
else
{
that
.
$message
.
error
(
res
.
msg
);
}
...
...
@@ -698,7 +699,6 @@
this
.
getCompanyScale
();
this
.
getIndustryList
(
0
);
this
.
getAddressDataFunc
(
-
1
,
1
);
this
.
getCompanyInfoFunc
();
}
}
</
script
>
...
...
src/views/bigbusiness/pages/requireEdit.vue
View file @
727ba436
...
...
@@ -1009,6 +1009,7 @@
if
(
!
item
.
childrenList
)
item
.
childrenList
=
[];
that
.
industryOptions
.
push
(
item
)
})
this
.
getRequireDetailInfoFunc
();
}
else
{
that
.
$message
.
error
(
res
.
msg
);
}
...
...
@@ -1260,17 +1261,13 @@
that
.
ruleForm
.
requirementEndTime
=
publicFunc
.
getDataFormatFunc
(
that
.
ruleForm
.
requirementEndTime
,
0
);
that
.
ruleForm
.
targetLabel
=
this
.
flagList1
?
this
.
flagList1
.
join
(
","
)
:
""
;
if
(
new
Date
(
this
.
ruleForm
.
requirementEndTime
+
" 23:59:59"
).
getTime
()
<
new
Date
().
getTime
()){
this
.
$
confirm
(
'需求有效期不能小于当前时间'
,
{
this
.
$
alert
(
'需求有效期不能小于当前时间'
,
{
confirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
closeOnClickModal
:
false
,
closeOnPressEscape
:
false
,
type
:
''
,
customClass
:
'deleteConfirm'
}).
then
(()
=>
{
}).
catch
(()
=>
{
center
:
true
,
customClass
:
'alertDialog'
,
callback
:
action
=>
{
}
});
return
false
;
}
...
...
@@ -1354,7 +1351,6 @@
this
.
getIndustryList
(
0
);
this
.
getTargetIndustryList
(
0
);
this
.
getAddressDataFunc
(
-
1
,
1
);
this
.
getRequireDetailInfoFunc
();
}
}
</
script
>
...
...
src/views/saleManage/requireManage/pages/edit.vue
View file @
727ba436
...
...
@@ -1102,6 +1102,7 @@
if
(
!
item
.
childrenList
)
item
.
childrenList
=
[];
that
.
industryOptions
.
push
(
item
)
})
this
.
getRequireDetailInfoFunc
();
}
else
{
that
.
$message
.
error
(
res
.
msg
);
}
...
...
@@ -1353,18 +1354,14 @@
this
.
ruleForm
.
requirementEndTime
=
publicFunc
.
getDataFormatFunc
(
this
.
ruleForm
.
requirementEndTime
,
0
);
this
.
ruleForm
.
companyLabel
=
this
.
flagList1
?
this
.
flagList1
.
join
(
","
):
""
;
if
(
new
Date
(
this
.
ruleForm
.
requirementEndTime
+
" 23:59:59"
).
getTime
()
<
new
Date
().
getTime
()){
this
.
$
confirm
(
'需求有效期不能小于当前时间'
,
{
this
.
$
alert
(
'需求有效期不能小于当前时间'
,
{
confirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
closeOnClickModal
:
false
,
closeOnPressEscape
:
false
,
type
:
''
,
customClass
:
'deleteConfirm'
}).
then
(()
=>
{
center
:
true
,
customClass
:
'alertDialog'
,
callback
:
action
=>
{
}).
catch
(()
=>
{
});;
}
});
return
false
;
}
if
(
!
this
.
ruleForm
.
companyLogoUrl
)
return
false
;
...
...
@@ -1438,11 +1435,10 @@
},
mounted
()
{
this
.
getCompanyScale
();
this
.
getAddressDataFunc
(
-
1
,
1
);
this
.
getCompanyWay
();
this
.
getIndustryList
(
0
);
this
.
getTargetIndustryList
(
0
);
this
.
getAddressDataFunc
(
-
1
,
1
);
this
.
getRequireDetailInfoFunc
();
}
}
</
script
>
...
...
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