Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
W
whp-xl
Project
Project
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
lizhichao
whp-xl
Commits
0dc860cc
Commit
0dc860cc
authored
Jun 10, 2021
by
lizhichao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预案、设备修改为政府端
parent
8bdafe49
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
17 deletions
+19
-17
PlansMg.vue
dcit-hcsystem-hcsystem-master/src/views/Plans/PlansMg.vue
+5
-5
PlansMgEdit.vue
...-hcsystem-hcsystem-master/src/views/Plans/PlansMgEdit.vue
+9
-9
SafetyDeviceMg.vue
...hcsystem-master/src/views/SafetyDevice/SafetyDeviceMg.vue
+5
-3
No files found.
dcit-hcsystem-hcsystem-master/src/views/Plans/PlansMg.vue
View file @
0dc860cc
...
@@ -188,11 +188,11 @@ export default class CamerasMg extends Vue {
...
@@ -188,11 +188,11 @@ export default class CamerasMg extends Vue {
}
}
created
()
{
created
()
{
this
.
enterpriseId
=
METHOD
.
enterpriseId
;
this
.
enterpriseId
=
METHOD
.
enterpriseId
;
if
(
this
.
enterpriseId
){
//
if( this.enterpriseId ){
this
.
qyvisble
=
true
;
//
this.qyvisble = true;
}
else
{
//
}else{
this
.
qyvisble
=
false
;
//
this.qyvisble = false;
}
//
}
this
.
getTableData
();
this
.
getTableData
();
}
}
}
}
...
...
dcit-hcsystem-hcsystem-master/src/views/Plans/PlansMgEdit.vue
View file @
0dc860cc
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
<el-col
:span=
"12"
class=
"flcolum"
>
<el-col
:span=
"12"
class=
"flcolum"
>
<div>
<div>
<div
class=
"yatit"
>
预案内容
</div>
<div
class=
"yatit"
>
预案内容
</div>
<textarea
id=
"editorA"
v-model=
"editForm.planContents"
></textarea>
<textarea
id=
"editorA"
v-model=
"editForm.planContents"
height=
"100%"
></textarea>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -242,7 +242,7 @@ export default class PlansMgEdit extends Vue {
...
@@ -242,7 +242,7 @@ export default class PlansMgEdit extends Vue {
"insertUnorderedList"
,
"insertUnorderedList"
,
"indent"
,
"indent"
,
];
];
this
.
editorA
.
height
=
"
200
px"
;
this
.
editorA
.
height
=
"
413
px"
;
this
.
editorA
.
create
();
this
.
editorA
.
create
();
}
}
deleteList
()
{
deleteList
()
{
...
@@ -255,15 +255,15 @@ export default class PlansMgEdit extends Vue {
...
@@ -255,15 +255,15 @@ export default class PlansMgEdit extends Vue {
created
()
{
created
()
{
let
that
=
this
;
let
that
=
this
;
that
.
enterpriseId
=
METHOD
.
enterpriseId
;
that
.
enterpriseId
=
METHOD
.
enterpriseId
;
if
(
that
.
enterpriseId
)
{
//
if (that.enterpriseId) {
that
.
qyvisble
=
true
;
//
that.qyvisble = true;
that
.
$nextTick
(()
=>
{
that
.
$nextTick
(()
=>
{
that
.
creatEditor
();
that
.
creatEditor
();
})
})
}
else
{
//
} else {
that
.
qyvisble
=
false
;
//
that.qyvisble = false;
}
//
}
if
(
that
.
editForm
.
id
&&
that
.
enterpriseId
)
{
//
if (that.editForm.id && that.enterpriseId) {
that
.
$nextTick
(()
=>
{
that
.
$nextTick
(()
=>
{
//编辑
//编辑
if
(
that
.
editForm
.
planContents
)
{
if
(
that
.
editForm
.
planContents
)
{
...
@@ -276,7 +276,7 @@ export default class PlansMgEdit extends Vue {
...
@@ -276,7 +276,7 @@ export default class PlansMgEdit extends Vue {
});
});
}
}
});
});
}
//
}
that
.
actionUrl
=
METHOD
.
URL
+
"/file/uploadFile"
;
that
.
actionUrl
=
METHOD
.
URL
+
"/file/uploadFile"
;
}
}
}
}
...
...
dcit-hcsystem-hcsystem-master/src/views/SafetyDevice/SafetyDeviceMg.vue
View file @
0dc860cc
...
@@ -36,6 +36,7 @@
...
@@ -36,6 +36,7 @@
</el-row>
</el-row>
<el-table
:data=
"tableData.pageData"
stripe
border
style=
"width:100%;"
:loading=
"loading"
>
<el-table
:data=
"tableData.pageData"
stripe
border
style=
"width:100%;"
:loading=
"loading"
>
<el-table-column
width=
"50"
type=
"index"
label=
"序号"
></el-table-column>
<el-table-column
width=
"50"
type=
"index"
label=
"序号"
></el-table-column>
<el-table-column
prop=
"enterpriseName"
label=
"企业名称"
></el-table-column>
<el-table-column
prop=
"deviceName"
label=
"设备名称"
></el-table-column>
<el-table-column
prop=
"deviceName"
label=
"设备名称"
></el-table-column>
<el-table-column
prop=
"deviceName"
label=
"设备类型"
>
<el-table-column
prop=
"deviceName"
label=
"设备类型"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
...
@@ -46,8 +47,8 @@
...
@@ -46,8 +47,8 @@
<el-table-column
prop=
"deviceNumber"
label=
"设备编号"
></el-table-column>
<el-table-column
prop=
"deviceNumber"
label=
"设备编号"
></el-table-column>
<el-table-column
prop=
"shortNum"
label=
"设备短号"
></el-table-column>
<el-table-column
prop=
"shortNum"
label=
"设备短号"
></el-table-column>
<el-table-column
prop=
"goodsName"
label=
"所在厂区位置"
></el-table-column>
<el-table-column
prop=
"goodsName"
label=
"所在厂区位置"
></el-table-column>
<
el-table-column
prop=
"stockNum"
label=
"库存数量"
></el-table-column
>
<
!-- <el-table-column prop="stockNum" label="库存数量"></el-table-column> --
>
<
el-table-column
prop=
"dangerGrade"
label=
"危险等级"
></el-table-column
>
<
!-- <el-table-column prop="dangerGrade" label="危险等级"></el-table-column> --
>
<el-table-column
label=
"操作"
width=
"150"
>
<el-table-column
label=
"操作"
width=
"150"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"editFun(scope.row)"
size=
"small"
>
编辑
</el-button>
<el-button
@
click=
"editFun(scope.row)"
size=
"small"
>
编辑
</el-button>
...
@@ -97,12 +98,13 @@ export default class SafetyDeviceMg extends Vue {
...
@@ -97,12 +98,13 @@ export default class SafetyDeviceMg extends Vue {
enterpriseId
:
""
enterpriseId
:
""
};
};
@
Provide
()
zjKey
:
any
=
0
;
@
Provide
()
zjKey
:
any
=
0
;
@
Provide
()
enterpriseId
:
string
=
""
;
@
Provide
()
enterpriseId
:
string
=
"
all
"
;
@
Provide
()
dataType
:
string
=
""
;
@
Provide
()
dataType
:
string
=
""
;
getTableData
()
{
getTableData
()
{
let
that
=
this
,
let
that
=
this
,
param
=
Object
.
assign
({},
that
.
PAGE
,
that
.
searchData
);
param
=
Object
.
assign
({},
that
.
PAGE
,
that
.
searchData
);
that
.
enterpriseId
=
"all"
;
that
.
loading
=
true
;
that
.
loading
=
true
;
METHOD
.
axiosPost
(
METHOD
.
axiosPost
(
that
,
that
,
...
...
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