Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
9b226c4e
Commit
9b226c4e
authored
5 years ago
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
9fd9849a
3c595aca
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
205 additions
and
50 deletions
+205
-50
mywork.vue
src/components/work/mywork.vue
+14
-3
workDetails.vue
src/components/work/workDetails.vue
+169
-41
workManager.vue
src/components/work/workManager.vue
+15
-4
index.js
src/plug/index.js
+7
-2
No files found.
src/components/work/mywork.vue
View file @
9b226c4e
...
@@ -110,10 +110,11 @@
...
@@ -110,10 +110,11 @@
<th>
开始时间
</th>
<th>
开始时间
</th>
<th>
截止时间
</th>
<th>
截止时间
</th>
<th>
创建时间
</th>
<th>
创建时间
</th>
<th>
总经理审批
</th>
<th>
总经理
立项
审批
</th>
<th>
立项审批
</th>
<th>
主管
立项审批
</th>
<th>
当前进度
</th>
<th>
当前进度
</th>
<th>
完成审批
</th>
<th>
总经理完成审批
</th>
<th>
主管完成审批
</th>
<th
width=
"200"
>
操作
</th>
<th
width=
"200"
>
操作
</th>
</tr>
</tr>
<tr
v-for=
"(item, index) in tempList"
:key=
"index"
>
<tr
v-for=
"(item, index) in tempList"
:key=
"index"
>
...
@@ -159,6 +160,16 @@
...
@@ -159,6 +160,16 @@
status=
"success"
status=
"success"
></el-progress>
></el-progress>
</td>
</td>
<td>
<span
v-if=
"item.Status==2||item.Status==3"
>
<span
v-if=
"item.ZongFinishExamineStatus==0"
style=
"color:grey"
>
审批中
</span>
<span
v-else-if=
"item.ZongFinishExamineStatus==1"
style=
"color:green;text-decoration: underline;"
>
已通过
</span>
<span
v-else
style=
"color:red;text-decoration: underline;"
>
已驳回
</span>
</span>
</td>
<td>
<td>
<span
v-if=
"item.Status==2||item.Status==3"
>
<span
v-if=
"item.Status==2||item.Status==3"
>
<span
v-if=
"item.FinishExamineStatus==0"
style=
"color:grey"
>
审批中
</span>
<span
v-if=
"item.FinishExamineStatus==0"
style=
"color:grey"
>
审批中
</span>
...
...
This diff is collapsed.
Click to expand it.
src/components/work/workDetails.vue
View file @
9b226c4e
This diff is collapsed.
Click to expand it.
src/components/work/workManager.vue
View file @
9b226c4e
...
@@ -122,10 +122,11 @@
...
@@ -122,10 +122,11 @@
<th>
开始时间
</th>
<th>
开始时间
</th>
<th>
截止时间
</th>
<th>
截止时间
</th>
<th>
创建时间
</th>
<th>
创建时间
</th>
<th>
总经理审批
</th>
<th>
总经理
立项
审批
</th>
<th>
立项审批信息
</th>
<th>
主管立项审批
</th>
<th>
当前进度
</th>
<th>
当前进度
</th>
<th>
完成审批信息
</th>
<th>
总经理完成审批
</th>
<th>
主管完成审批
</th>
<th>
操作
</th>
<th>
操作
</th>
</tr>
</tr>
<tr
v-for=
"(item, index) in DataList"
:key=
"index"
>
<tr
v-for=
"(item, index) in DataList"
:key=
"index"
>
...
@@ -173,6 +174,16 @@
...
@@ -173,6 +174,16 @@
status=
"success"
status=
"success"
></el-progress>
></el-progress>
</td>
</td>
<td>
<span
v-if=
"item.Status==2||item.Status==3"
>
<span
v-if=
"item.ZongFinishExamineStatus==0"
style=
"color:grey"
>
审批中
</span>
<span
v-else-if=
"item.ZongFinishExamineStatus==1"
style=
"color:green;text-decoration: underline;"
>
已通过
</span>
<span
v-else
style=
"color:red;text-decoration: underline;"
>
已驳回
</span>
</span>
</td>
<td>
<td>
<span
v-if=
"item.Status==2||item.Status==3"
>
<span
v-if=
"item.Status==2||item.Status==3"
>
<span
v-if=
"item.FinishExamineStatus==0"
style=
"color:grey"
>
审批中
</span>
<span
v-if=
"item.FinishExamineStatus==0"
style=
"color:grey"
>
审批中
</span>
...
@@ -213,7 +224,7 @@
...
@@ -213,7 +224,7 @@
effect=
"dark"
effect=
"dark"
content=
"总经理审核"
content=
"总经理审核"
placement=
"top-start"
placement=
"top-start"
v-if=
"userInfo.EmployeeId==1 &&
item.ZongExamineStatus==0
"
v-if=
"userInfo.EmployeeId==1 &&
(item.ZongExamineStatus==0 || (item.ZongFinishExamineStatus==0 && item.Status>1))
"
>
>
<el-button
<el-button
style=
"padding:4px"
style=
"padding:4px"
...
...
This diff is collapsed.
Click to expand it.
src/plug/index.js
View file @
9b226c4e
...
@@ -753,10 +753,15 @@ export default {
...
@@ -753,10 +753,15 @@ export default {
that
.
$http
.
post
(
uploadUrl
,
formData
,
{})
that
.
$http
.
post
(
uploadUrl
,
formData
,
{})
.
then
(
res
=>
{
.
then
(
res
=>
{
successCall
(
res
);
successCall
(
res
);
})
}).
catch
(
function
(
reason
){
that
.
$refs
[
'my-upload'
].
clearFiles
();
that
.
$message
.
error
(
'上传失败!'
);
});
}
}
}).
catch
(
function
(
err
)
{
}).
catch
(
function
(
err
)
{
that
.
$refs
[
'my-upload'
].
clearFiles
();
that
.
$message
.
error
(
'上传失败!'
);
});
});
}
}
}
}
...
...
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