Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
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
罗超
confucius
Commits
68d22d57
Commit
68d22d57
authored
Apr 14, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增合同配置
parent
5f62045e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
school-form.vue
src/components/school/schoolarea/school-form.vue
+8
-4
No files found.
src/components/school/schoolarea/school-form.vue
View file @
68d22d57
...
...
@@ -12,9 +12,8 @@
<q-input
filled
stack-label
maxlength=
"100"
:dense=
"false"
v-model=
"objOption.SAddress"
ref=
"SAddress"
class=
"col-6 q-pb-lg"
label=
"校区地址"
:rules=
"[val => !!val || '请填写校区地址']"
/>
<q-select
class=
"col-6 q-pb-lg q-pr-lg"
clearable
filled
stack-label
use-input
input-debounce=
"0"
option-value=
"Id"
option-label=
"EmployeeName"
v-model=
"objOption.ManagerId"
ref=
"ManagerId"
:options=
"EmployeeList"
label=
"校区联系人"
:dense=
"false"
emit-value
map-options
@
filter=
"filterFn"
>
option-value=
"Id"
option-label=
"EmployeeName"
v-model=
"objOption.ManagerId"
ref=
"ManagerId"
:options=
"EmployeeList"
label=
"校区联系人"
:dense=
"false"
emit-value
map-options
@
filter=
"filterFn"
>
<template
v-slot:no-option
>
<q-item>
<q-item-section
class=
"text-grey"
>
...
...
@@ -30,6 +29,8 @@
<selectTree
v-if=
"DeptList&&DeptList.length>0"
:treeData=
'DeptList'
:defaultArray=
"returnString"
nodeKey=
"DeptId"
:multiple=
"false"
labelKey=
"DeptName"
childrenKey=
"ChildList"
tipText=
"上级部门"
@
getChild=
"getChild"
classStr=
"col-6 q-pb-lg"
></selectTree>
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.ContractTitle"
class=
"col-6 q-pb-lg q-pr-lg"
label=
"合同抬头"
/>
<div
class=
"col-6"
>
<q-toggle
size=
"md"
label=
"校区状态"
color=
"primary"
:false-value=
"1"
:true-value=
"0"
v-model=
"objOption.Status"
/>
...
...
@@ -87,8 +88,9 @@
Status
:
"0"
,
//校区状态
Dept_Id
:
0
,
//校区直属上级部门编号
ManagerId
:
""
,
//校区负责人
ContractTitle
:
""
,
//合同抬头
},
model
:
""
,
model
:
""
,
optionTitle
:
""
,
saveLoading
:
false
,
DeptList
:
[],
//部门列表
...
...
@@ -120,6 +122,7 @@
this
.
objOption
.
Remark
=
res
.
Data
.
Remark
;
this
.
objOption
.
Status
=
res
.
Data
.
Status
;
this
.
objOption
.
Dept_Id
=
res
.
Data
.
Dept_Id
;
this
.
objOption
.
ContractTitle
=
res
.
Data
.
ContractTitle
;
if
(
res
.
Data
.
ManagerId
&&
res
.
Data
.
ManagerId
>
0
)
{
this
.
objOption
.
ManagerId
=
res
.
Data
.
ManagerId
;
}
...
...
@@ -136,6 +139,7 @@
this
.
objOption
.
Status
=
"0"
;
this
.
objOption
.
Dept_Id
=
0
;
this
.
objOption
.
ManagerId
=
""
;
this
.
objOption
.
ContractTitle
=
""
;
}
this
.
persistent
=
true
;
},
...
...
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