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
53959ce6
Commit
53959ce6
authored
Dec 15, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
875e3c4b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
16 deletions
+21
-16
schedul-visit.vue
src/components/schedul/schedul-visit.vue
+6
-6
stage-form.vue
src/components/system/stage-form.vue
+4
-3
scheduleInfo.vue
src/pages/scheduling/scheduleInfo.vue
+6
-0
schedulingRecord.vue
src/pages/scheduling/schedulingRecord.vue
+5
-7
No files found.
src/components/schedul/schedul-visit.vue
View file @
53959ce6
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
</
template
>
</
template
>
</q-input>
</q-input>
</div>
</div>
<div
v-if=
"tabCheck == 'second'"
>
<div
v-if=
"tabCheck == 'second'
&&DutyAuthObj.isShowAddCustom
"
>
<q-btn
outline
dense
icon=
"add"
class=
"q-px-sm"
color=
"primary"
@
click=
"showAddForm = true"
label=
"新增客户"
>
<q-btn
outline
dense
icon=
"add"
class=
"q-px-sm"
color=
"primary"
@
click=
"showAddForm = true"
label=
"新增客户"
>
</q-btn>
</q-btn>
</div>
</div>
...
@@ -559,7 +559,8 @@
...
@@ -559,7 +559,8 @@
//权限显示对象
//权限显示对象
DutyAuthObj
:
{
DutyAuthObj
:
{
isShowAdd
:
true
,
//是否显示新增按钮【默认显示】
isShowAdd
:
true
,
//是否显示新增按钮【默认显示】
isShowEdit
:
true
//是否显示编辑按钮【默认显示】
isShowEdit
:
true
,
//是否显示编辑按钮【默认显示】
isShowAddCustom
:
true
//是否显示新增客户按钮 【默认显示】
},
},
rules
:
{
rules
:
{
//表单必填验证
//表单必填验证
...
@@ -716,9 +717,9 @@
...
@@ -716,9 +717,9 @@
if
(
this
.
authObj
.
isShowEdit
!=
null
&&
!
this
.
authObj
.
isShowEdit
)
{
if
(
this
.
authObj
.
isShowEdit
!=
null
&&
!
this
.
authObj
.
isShowEdit
)
{
this
.
DutyAuthObj
.
isShowEdit
=
this
.
authObj
.
isShowEdit
;
this
.
DutyAuthObj
.
isShowEdit
=
this
.
authObj
.
isShowEdit
;
}
}
}
if
(
this
.
authObj
.
isShowAddCustom
!=
null
&&
!
this
.
authObj
.
isShowAddCustom
)
{
if
(
!
this
.
DutyAuthObj
.
isShowEdit
)
{
this
.
DutyAuthObj
.
isShowAddCustom
=
this
.
authObj
.
isShowAddCustom
;
this
.
visibleColumns
.
splice
(
this
.
visibleColumns
.
length
-
1
,
1
);
}
}
}
},
},
//日语基础枚举
//日语基础枚举
...
@@ -751,7 +752,6 @@
...
@@ -751,7 +752,6 @@
this
.
loading
=
true
;
this
.
loading
=
true
;
getStudentPage
(
this
.
msg
)
getStudentPage
(
this
.
msg
)
.
then
(
res
=>
{
.
then
(
res
=>
{
console
.
log
(
"res"
,
res
);
this
.
loading
=
false
;
this
.
loading
=
false
;
this
.
data
=
res
.
Data
.
PageData
;
this
.
data
=
res
.
Data
.
PageData
;
this
.
pageCount
=
res
.
Data
.
PageCount
;
this
.
pageCount
=
res
.
Data
.
PageCount
;
...
...
src/components/system/stage-form.vue
View file @
53959ce6
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
</div>
</div>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
<q-input
filled
stack-label
maxlength=
"5"
:dense=
"false"
v-model=
"objOption.No"
ref=
"No"
<q-input
filled
stack-label
maxlength=
"5"
:dense=
"false"
v-model=
"objOption.No"
ref=
"No"
class=
"col-12 q-pb-lg"
label=
"编号"
@
keyup
.
native=
"checkInteger(objOption,'No')"
/>
class=
"col-12 q-pb-lg"
label=
"编号"
:rules=
"[val => !!val || '请填写编号']"
@
keyup
.
native=
"checkInteger(objOption,'No')"
/>
</div>
</div>
</q-card-section>
</q-card-section>
<q-separator
/>
<q-separator
/>
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
objOption
:
{
objOption
:
{
Id
:
0
,
Id
:
0
,
StageName
:
''
,
//阶段名称
StageName
:
''
,
//阶段名称
No
:
1
//编号
No
:
''
//编号
},
},
optionTitle
:
""
,
optionTitle
:
""
,
}
}
...
@@ -71,7 +71,8 @@
...
@@ -71,7 +71,8 @@
//保存菜单
//保存菜单
saveStage
()
{
saveStage
()
{
this
.
$refs
.
StageName
.
validate
();
this
.
$refs
.
StageName
.
validate
();
if
(
!
this
.
$refs
.
StageName
.
hasError
)
{
this
.
$refs
.
No
.
validate
();
if
(
!
this
.
$refs
.
StageName
.
hasError
&&!
this
.
$refs
.
No
.
hasError
)
{
this
.
saveLoading
=
true
this
.
saveLoading
=
true
SetStage
(
this
.
objOption
).
then
(
res
=>
{
SetStage
(
this
.
objOption
).
then
(
res
=>
{
this
.
saveLoading
=
false
;
this
.
saveLoading
=
false
;
...
...
src/pages/scheduling/scheduleInfo.vue
View file @
53959ce6
...
@@ -289,6 +289,7 @@
...
@@ -289,6 +289,7 @@
vitiorAuthObj
:
{
vitiorAuthObj
:
{
isShowAdd
:
false
,
//是否显示新增按钮【默认不显示】
isShowAdd
:
false
,
//是否显示新增按钮【默认不显示】
isShowEdit
:
false
,
//是否显示编辑按钮【默认不显示】
isShowEdit
:
false
,
//是否显示编辑按钮【默认不显示】
isShowAddCustom
:
true
//是否显示新增客户按钮 【默认显示】
},
},
//是否显示工作内容相关按钮
//是否显示工作内容相关按钮
workAuthObj
:
{
workAuthObj
:
{
...
@@ -309,6 +310,11 @@
...
@@ -309,6 +310,11 @@
if
(
this
.
$route
.
query
.
DutyMan
){
if
(
this
.
$route
.
query
.
DutyMan
){
this
.
msg
.
DutyMan
=
this
.
$route
.
query
.
DutyMan
;
this
.
msg
.
DutyMan
=
this
.
$route
.
query
.
DutyMan
;
}
}
if
(
this
.
$route
.
query
.
isShowAddCustom
){
if
(
this
.
$route
.
query
.
isShowAddCustom
==
1
){
this
.
vitiorAuthObj
.
isShowAddCustom
=
false
;
}
}
this
.
getList
();
this
.
getList
();
},
},
methods
:
{
methods
:
{
...
...
src/pages/scheduling/schedulingRecord.vue
View file @
53959ce6
...
@@ -336,13 +336,11 @@
...
@@ -336,13 +336,11 @@
},
},
//跳转到值班详情
//跳转到值班详情
GoToDutyInfo
(
item
)
{
GoToDutyInfo
(
item
)
{
this
.
$router
.
push
({
this
.
OpenNewUrl
(
'/scheduling/scheduleInfo'
,
{
path
:
"/scheduling/scheduleInfo"
,
Id
:
item
.
PlanId
,
query
:
{
Shift
:
item
.
Shift
,
Id
:
item
.
PlanId
,
DutyMan
:
item
.
DutyMan
,
Shift
:
item
.
Shift
,
isShowAddCustom
:
1
DutyMan
:
item
.
DutyMan
}
});
});
}
}
},
},
...
...
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