Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
office-web
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
office-web
Commits
305fc629
Commit
305fc629
authored
Dec 12, 2018
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: 增加员工档案
parent
34640c32
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
4 deletions
+30
-4
api.js
src/api/api.js
+1
-1
staffInfoTemplate.js
src/components/contacts/staffInfoTemplate.js
+0
-0
limit-input.vue
src/components/limit-input.vue
+29
-3
staffRecordsTemplate.vue
src/views/contacts/staffRecordsTemplate.vue
+0
-0
No files found.
src/api/api.js
View file @
305fc629
...
...
@@ -6,7 +6,7 @@ import {Message} from 'element-ui'
Vue
.
axios
.
defaults
.
timeout
=
15000
;
var
local
=
window
.
location
.
origin
;
if
(
local
.
indexOf
(
'localhost'
)
!=
-
1
)
{
local
=
'http://
gicdev.demogic
.com'
;
local
=
'http://
www.gicdev
.com'
;
}
console
.
log
(
local
)
...
...
src/components/contacts/staffInfoTemplate.js
View file @
305fc629
This diff is collapsed.
Click to expand it.
src/components/limit-input.vue
View file @
305fc629
...
...
@@ -2,6 +2,8 @@
限制输入框组件
<limitInput
:inputWidth="500"
:limitClass="'limit-color'"
:disflag='!childItem.fieldEdited'
:inputValue.sync="ruleForm.addressDetail"
:holder="'请输入详细地址'"
:getByType="'word'"
...
...
@@ -9,8 +11,16 @@
</limitInput>
-->
<
template
>
<div
class=
"input-line-cell"
:style=
"
{width: inputWidth + 'px'}">
<el-input
:style=
"
{width: inputWidth + 'px'}" v-model="itemValue" :placeholder="holder" @focus="inputFocus()" @keyup.native="(value) => toInput(value)">
</el-input>
<div
:class=
"['input-line-cell',limitClass]"
:style=
"
{width: inputWidth + 'px'}">
<el-input
:style=
"
{width: inputWidth + 'px'}"
v-model="itemValue"
:disabled='disflag'
:placeholder="holder"
@focus="inputFocus()"
@keyup.native="(value) => toInput(value)">
</el-input>
<span
class=
"tip"
><span
class=
"len_span"
>
{{
inputNum
}}
</span>
/
{{
limitLength
}}
</span>
</div>
...
...
@@ -43,7 +53,17 @@
holder
:
{
type
:
String
,
default
:
'请输入'
}
},
disflag
:
{
type
:
Boolean
,
default
:
false
},
limitClass
:
{
type
:
String
,
default
:
''
},
},
data
()
{
return
{
...
...
@@ -104,6 +124,12 @@
.input-line-cell
{
position
:
relative
;
display
:
inline-block
;
&.limit-color
{
.tip
{
color
:
rgba
(
255
,
255
,
255
,
0.7
);
}
}
}
.w-340
{
...
...
src/views/contacts/staffRecordsTemplate.vue
View file @
305fc629
This diff is collapsed.
Click to expand it.
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