| | |
| | | </template> |
| | | |
| | | <template #icon="{ row }"> |
| | | <span class="avue-icon avue-icon--small" style="display: block"> |
| | | <svg v-if="row.imagePath && row.imagePath.indexOf('#')==0" aria-hidden="true"> |
| | | <use :xlink:href="row.imagePath"></use> |
| | | </svg> |
| | | <i v-else :class="row.imagePath"></i> |
| | | </span> |
| | | <span class="avue-icon"> |
| | | <icon-show :name="row.imagePath"></icon-show> |
| | | </span> |
| | | </template> |
| | | </avue-crud> |
| | | |
| | |
| | | </el-col> |
| | | <el-col :span="24"> |
| | | <el-form-item label="图标:" prop="imagePath"> |
| | | <avue-input-icon v-model="form.imagePath" :icon-list="iconList" placeholder="请选择图标"> |
| | | </avue-input-icon> |
| | | <input-icon v-model="form.imagePath" placeholder="请选择图标"> |
| | | </input-icon> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="24"> |
| | |
| | | </el-row> |
| | | </el-form> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="addSaveHandler">确 定</el-button> |
| | | <el-button @click="visibleCloseHandler">取 消</el-button> |
| | | <el-button size="small" type="primary" @click="addSaveHandler">确 定</el-button> |
| | | <el-button size="small" @click="visibleCloseHandler">取 消</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | |
| | |
| | | import {gridStatus, addSave, editSave, deleteStatus, exportStatus, listUsed} from "@/api/modeling/statusPool/api"; |
| | | import func from "@/util/func"; |
| | | import basicOption from "@/util/basic-option"; |
| | | import iconList from "@/config/iconList"; |
| | | import {mapGetters} from "vuex"; |
| | | |
| | | export default { |
| | | name: "index", |
| | | data() { |
| | | return { |
| | | iconList: iconList, |
| | | loading: false, |
| | | data: [], |
| | | option: { |
| | |
| | | this.lastIndex = newIndex; |
| | | }, |
| | | () => { |
| | | this.selectList = []; |
| | | this.selectList = [row]; |
| | | } |
| | | ); |
| | | }, |