k94314517
2023-09-15 64f45c75ea93911b9841bf00bb4c436cd294be3a
company_admin/src/views/business/category.vue
@@ -35,8 +35,6 @@
            </template>
          </el-table-column>
          <el-table-column prop="name" label="类别名称" min-width="100px"></el-table-column>
          <el-table-column prop="attrFirst" label="属性1" min-width="100px"></el-table-column>
          <el-table-column prop="attrSecond" label="属性2" min-width="100px"></el-table-column>
          <el-table-column prop="sortnum" label="排序码(升序)" min-width="100px"></el-table-column>
          <el-table-column prop="createDate" label="创建时间" min-width="100px"></el-table-column>
          <el-table-column prop="status" label="状态" min-width="100px">
@@ -130,8 +128,18 @@
              paramList: res.paramList,
              imgurl: res.imgurl,
              budgetList: res.budgetList,
              fileList: res.imgurl ? [ {url: res.prefixUrl + res.imgurl} ] : []
              type: res.type,
              platCateId: res.platCateId,
              tableData: res.paramList.map(item => {
                return {
                  name: item.name,
                  isselect: item.isselect,
                  isshow: item.isshow
                }
              }),
              fileList: res.imgurl ? [{ url: res.prefixUrl + res.imgurl }] : []
            }
            console.log(obj)
            this.$refs.operaCategoryWindow.open('编辑类别', obj)
          })
      }