| | |
| | | </span> |
| | | </el-dialog> |
| | | |
| | | <el-dialog title="标签管理" append-to-body :visible.sync="labelFlag" center> |
| | | |
| | | <el-dialog title="标签管理" append-to-body :visible.sync="labelFlag" center width="600px"> |
| | | <div id="" v-for="(item1,index1) in labelData"> |
| | | <el-row> |
| | | <el-col :span="24"> |
| | |
| | | </el-col> |
| | | </el-row> |
| | | <div id="" class="grid-container2" v-if="item1.children"> |
| | | <div id="" v-for="(item2,index2) in item1.children "> |
| | | <div id="" @click="changLabel(item2)"> |
| | | |
| | | <div class="grid-item" v-for="(item2,index2) in item1.children " @click="changLabel(item2)"> |
| | | {{item2.name}} |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="roleBox = false">取 消</el-button> |
| | | <el-button @click="labelFlag = false">取 消</el-button> |
| | | <el-button type="primary" @click="submitRole">确 定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | |
| | | <el-dialog title="编辑标签" append-to-body :visible.sync="editLabelFlge" width="655px"> |
| | | <el-dialog :title="'编辑标签' + currentLabel.name" append-to-body :visible.sync="editLabelFlge" width="655px"> |
| | | <avue-form :option="labelOption" v-model="excelForm"> |
| | | <template slot="excelTemplate"> |
| | | |
| | |
| | | span: 24, |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | currentLabel:"" |
| | | }; |
| | | }, |
| | | watch: {}, |
| | |
| | | |
| | | changLabel(item) { |
| | | this.editLabelFlge = true |
| | | this.currentLabel = item; |
| | | }, |
| | | manageLabel() { |
| | | this.labelFlag = true |
| | |
| | | } |
| | | |
| | | .grid-container2 { |
| | | display: grid; |
| | | /* display: grid; |
| | | grid-template-columns: auto auto auto auto; |
| | | grid-gap: 10px; |
| | | grid-gap: 10px; */ |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | padding-bottom:20px; |
| | | } |
| | | .grid-item{ |
| | | padding:8px 14px; |
| | | border:1px solid #dcdfe6; |
| | | margin-right:10px; |
| | | margin-bottom:10px; |
| | | border-radius: 20px; |
| | | } |
| | | .grid-item:hover{ |
| | | background-color: #e8f4ff; |
| | | color:#017BFC; |
| | | cursor: pointer; |
| | | } |
| | | |
| | | .el-scrollbar { |