Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
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
haoban-3
Commits
6ffbb058
Commit
6ffbb058
authored
Apr 20, 2021
by
陈羽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 优化
parent
5ee61a35
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
6 deletions
+13
-6
distribution-enterprise.vue
src/components/set/distribution-enterprise.vue
+8
-1
file-table.vue
src/components/set/file-table.vue
+1
-1
image-table.vue
src/components/set/image-table.vue
+1
-1
text-table.vue
src/components/set/text-table.vue
+1
-1
video-table.vue
src/components/set/video-table.vue
+1
-1
web-table.vue
src/components/set/web-table.vue
+1
-1
No files found.
src/components/set/distribution-enterprise.vue
View file @
6ffbb058
...
...
@@ -7,7 +7,7 @@
* @LastEditTime: 2021-04-12 15:57:24
-->
<!--
<el-button type="text" @click="toDistribute(scope.$index, scope.row)" v-if="
!scope.row.fromMaterialId
">分配企业</el-button>
<el-button type="text" @click="toDistribute(scope.$index, scope.row)" v-if="
scope.row.fromMaterialId =='-1'
">分配企业</el-button>
<distribution-enterprise :editRow="distributionEditRow" :show="showDistribution" @closeText="closeTextDistribution" @submitText="submitTextDistribution"></distribution-enterprise>
<script>
...
...
@@ -104,6 +104,10 @@ export default {
methods
:
{
toCancel
()
{
this
.
$emit
(
'closeText'
);
this
.
form
.
checkedList
=
[];
this
.
hasCheckAll
=
false
;
this
.
checkAll
=
false
;
this
.
isIndeterminate
=
false
;
this
.
$refs
[
'ruleForm'
].
resetFields
();
},
submitForm
:
_debounce
(
function
(
formName
)
{
...
...
@@ -159,6 +163,8 @@ export default {
const
data
=
{
materialId
:
this
.
editRow
.
materialId
};
this
.
checkAll
=
false
;
this
.
hasCheckAll
=
false
;
getRequest
(
'/haoban-manage3-web/agent-wx-enterprise-list'
,
data
)
.
then
(
res
=>
{
let
resData
=
res
.
data
;
...
...
@@ -178,6 +184,7 @@ export default {
this
.
hasCheckAll
=
true
;
}
this
.
options
=
[...
options
];
this
.
handleCheckedListChange
(
this
.
form
.
checkedList
);
}
else
{
errMsg
.
errorMsg
(
resData
);
}
...
...
src/components/set/file-table.vue
View file @
6ffbb058
...
...
@@ -45,7 +45,7 @@
</el-table-column>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"toDistribute(scope.$index, scope.row)"
v-if=
"
!scope.row.fromMaterialId
"
>
分配企业
</el-button>
<el-button
type=
"text"
@
click=
"toDistribute(scope.$index, scope.row)"
v-if=
"
scope.row.fromMaterialId == '-1'
"
>
分配企业
</el-button>
<el-button
type=
"text"
@
click=
"toEdit(scope.$index, scope.row)"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"toDel(scope.$index, scope.row)"
>
删除
</el-button>
</
template
>
...
...
src/components/set/image-table.vue
View file @
6ffbb058
...
...
@@ -45,7 +45,7 @@
</el-table-column>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"toDistribute(scope.$index, scope.row)"
v-if=
"
!scope.row.fromMaterialId
"
>
分配企业
</el-button>
<el-button
type=
"text"
@
click=
"toDistribute(scope.$index, scope.row)"
v-if=
"
scope.row.fromMaterialId == '-1'
"
>
分配企业
</el-button>
<el-button
type=
"text"
@
click=
"toEdit(scope.$index, scope.row)"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"toDel(scope.$index, scope.row)"
>
删除
</el-button>
</
template
>
...
...
src/components/set/text-table.vue
View file @
6ffbb058
...
...
@@ -43,7 +43,7 @@
</el-table-column>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"toDistribute(scope.$index, scope.row)"
v-if=
"
!scope.row.fromMaterialId
"
>
分配企业
</el-button>
<el-button
type=
"text"
@
click=
"toDistribute(scope.$index, scope.row)"
v-if=
"
scope.row.fromMaterialId == '-1'
"
>
分配企业
</el-button>
<el-button
type=
"text"
@
click=
"toEdit(scope.$index, scope.row)"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"toDel(scope.$index, scope.row)"
>
删除
</el-button>
</
template
>
...
...
src/components/set/video-table.vue
View file @
6ffbb058
...
...
@@ -47,7 +47,7 @@
</el-table-column>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"toDistribute(scope.$index, scope.row)"
v-if=
"
!scope.row.fromMaterialId
"
>
分配企业
</el-button>
<el-button
type=
"text"
@
click=
"toDistribute(scope.$index, scope.row)"
v-if=
"
scope.row.fromMaterialId == '-1'
"
>
分配企业
</el-button>
<el-button
type=
"text"
@
click=
"toEdit(scope.$index, scope.row)"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"toDel(scope.$index, scope.row)"
>
删除
</el-button>
</
template
>
...
...
src/components/set/web-table.vue
View file @
6ffbb058
...
...
@@ -48,7 +48,7 @@
</el-table-column>
<el-table-column
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"toDistribute(scope.$index, scope.row)"
v-if=
"
!scope.row.fromMaterialId
"
>
分配企业
</el-button>
<el-button
type=
"text"
@
click=
"toDistribute(scope.$index, scope.row)"
v-if=
"
scope.row.fromMaterialId == '-1'
"
>
分配企业
</el-button>
<el-button
type=
"text"
@
click=
"toEdit(scope.$index, scope.row)"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"toDel(scope.$index, scope.row)"
>
删除
</el-button>
</
template
>
...
...
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