|
@@ -44,7 +44,7 @@
|
|
|
</el-form>
|
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
- <el-col :span="1.5" v-if="activeShowBtn">
|
|
|
+ <el-col :span="1.5" v-if="!activeShowBtn">
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
plain
|
|
@@ -185,7 +185,7 @@
|
|
|
|
|
|
<!-- 添加或修改参数配置对话框 -->
|
|
|
<el-dialog :title="title" :visible.sync="open" width="800px" append-to-body>
|
|
|
- <el-form ref="form" :model="form" :rules="rulesRole" label-width="140px">
|
|
|
+ <el-form ref="form" :model="form" label-width="140px">
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="商品名称:" prop="configName">
|
|
@@ -208,8 +208,6 @@
|
|
|
<el-upload
|
|
|
action="https://jsonplaceholder.typicode.com/posts/"
|
|
|
list-type="picture-card"
|
|
|
- :on-preview="handlePictureCardPreview"
|
|
|
- :on-remove="handleRemove"
|
|
|
>
|
|
|
<i class="el-icon-plus"></i>
|
|
|
</el-upload>
|
|
@@ -223,8 +221,6 @@
|
|
|
<el-upload
|
|
|
action="https://jsonplaceholder.typicode.com/posts/"
|
|
|
list-type="picture-card"
|
|
|
- :on-preview="handlePictureCardPreview"
|
|
|
- :on-remove="handleRemove"
|
|
|
>
|
|
|
<i class="el-icon-plus"></i>
|
|
|
</el-upload>
|
|
@@ -236,8 +232,6 @@
|
|
|
<el-upload
|
|
|
action="https://jsonplaceholder.typicode.com/posts/"
|
|
|
list-type="picture-card"
|
|
|
- :on-preview="handlePictureCardPreview"
|
|
|
- :on-remove="handleRemove"
|
|
|
>
|
|
|
<i class="el-icon-plus"></i>
|
|
|
</el-upload>
|
|
@@ -249,8 +243,6 @@
|
|
|
<el-upload
|
|
|
action="https://jsonplaceholder.typicode.com/posts/"
|
|
|
list-type="picture-card"
|
|
|
- :on-preview="handlePictureCardPreview"
|
|
|
- :on-remove="handleRemove"
|
|
|
>
|
|
|
<i class="el-icon-plus"></i>
|
|
|
</el-upload>
|
|
@@ -264,8 +256,6 @@
|
|
|
<el-upload
|
|
|
action="https://jsonplaceholder.typicode.com/posts/"
|
|
|
list-type="picture-card"
|
|
|
- :on-preview="handlePictureCardPreview"
|
|
|
- :on-remove="handleRemove"
|
|
|
>
|
|
|
<i class="el-icon-plus"></i>
|
|
|
</el-upload>
|
|
@@ -596,7 +586,6 @@ import { getClassificationListPage } from "@/api/common/index";
|
|
|
export default {
|
|
|
name: "Config",
|
|
|
// dicts: ["sys_yes_no"],
|
|
|
- props: ["type"],
|
|
|
data() {
|
|
|
return {
|
|
|
// 遮罩层
|
|
@@ -680,18 +669,20 @@ export default {
|
|
|
multipleSelection: [],
|
|
|
};
|
|
|
},
|
|
|
- created() {
|
|
|
+
|
|
|
+ mounted() {
|
|
|
this.getList();
|
|
|
},
|
|
|
- watch: {
|
|
|
- type(newV, oldV) {
|
|
|
- if (newV == "active") {
|
|
|
+ methods: {
|
|
|
+ handRef(type, scope) {
|
|
|
+ if (type == "active") {
|
|
|
+ this.queryParams.scope = scope;
|
|
|
+ this.multipleSelection = [];
|
|
|
this.activeShowBtn = false;
|
|
|
+ this.getList();
|
|
|
}
|
|
|
},
|
|
|
- },
|
|
|
|
|
|
- methods: {
|
|
|
addActive() {
|
|
|
this.$emit("multipleTable", this.multipleSelection);
|
|
|
},
|