tijiao
This commit is contained in:
@@ -55,21 +55,21 @@
|
||||
<!-- -->
|
||||
|
||||
<el-table-column
|
||||
v-if="!disableOperate"
|
||||
v-if="!isDisableOperate"
|
||||
header-align="center"
|
||||
align="center"
|
||||
label="操作"
|
||||
width="120"
|
||||
:width="operationWidth?operationWidth:120"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
<slot name="operation" :row="scope.row"></slot>
|
||||
<el-button
|
||||
type="text"
|
||||
v-if="urlList.editCourse"
|
||||
v-if="urlList.editCourse&&!isShowNewOperation"
|
||||
@click="editCourse(scope.row)"
|
||||
>编辑</el-button
|
||||
>
|
||||
<el-button
|
||||
<el-button v-if="!isShowNewOperation"
|
||||
type="text"
|
||||
style="color: red;"
|
||||
@click="shopDelete(scope.row)"
|
||||
@@ -155,11 +155,14 @@ export default {
|
||||
"isShowPagination",
|
||||
"axiosType",
|
||||
"otherInfo",
|
||||
"isShowNewOperation",
|
||||
"operationWidth",
|
||||
"CustomEdit",
|
||||
"pageSizes"
|
||||
],
|
||||
data() {
|
||||
return {
|
||||
isDisableOperate: this.disableOperate,
|
||||
multipleSelectionAll: [], // 所有选中的数据包含跨页数据
|
||||
goodsTypeList: [], // goodsTypeList
|
||||
multipleSelection: [], // 当前页选中的数据
|
||||
@@ -458,7 +461,7 @@ export default {
|
||||
// 获取关联数据列表
|
||||
async getAssociatedGoodsList() {
|
||||
this.$emit("changeStatisticsQuery");
|
||||
this.disableOperate = false;
|
||||
this.isDisableOperate = false;
|
||||
console.log("🚀 ~ getAssociatedGoodsList ~ form:11111", form);
|
||||
|
||||
var form = { ...this.defaultForm, ...this.dataForm };
|
||||
@@ -564,7 +567,7 @@ export default {
|
||||
}
|
||||
},
|
||||
async statisticsQuery() {
|
||||
this.disableOperate = true;
|
||||
this.isDisableOperate = true;
|
||||
var form = { ...this.defaultForm, ...this.dataForm };
|
||||
|
||||
this.dataListLoading = true;
|
||||
|
||||
Reference in New Issue
Block a user