Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
ruer_cms
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蔡闯
ruer_cms
Commits
82d08949
Commit
82d08949
authored
Jan 07, 2021
by
蔡闯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
房间模板导入下载
parent
a338b70c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
+11
-12
app/shequ/controller/Vacancy.php
app/shequ/controller/Vacancy.php
+11
-12
No files found.
app/shequ/controller/Vacancy.php
View file @
82d08949
...
...
@@ -277,7 +277,6 @@ class Vacancy extends Base
->
setPromptTitle
(
'车库位置'
)
->
setFormula1
(
'"'
.
$optionsCarBlockString
.
'"'
);;
//这一句为要设置数据有效性的单元格
}
if
(
$optionsCarBlockString
)
{
$phpExcel
->
getActiveSheet
()
->
getCell
(
'I'
.
$i
)
->
getDataValidation
()
->
setType
(
\PHPExcel_Cell_DataValidation
::
TYPE_LIST
)
->
setErrorStyle
(
\PHPExcel_Cell_DataValidation
::
STYLE_INFORMATION
)
->
setAllowBlank
(
false
)
...
...
@@ -288,7 +287,7 @@ class Vacancy extends Base
->
setError
(
'您输入的值不在下拉框列表内.'
)
->
setPromptTitle
(
'房屋类型'
)
->
setFormula1
(
'"住宅,商铺,办公"'
);
//这一句为要设置数据有效性的单元格
}
}
$objWriter
=
new
\PHPExcel_Writer_Excel5
(
$phpExcel
);
...
...
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