wangting
2024-12-17 b9686c7739bf131922005e86128ba9232c0313ac
Source/plt-web/plt-web-ui/src/views/modelingMenu/modeling/statusPool/index.vue
@@ -33,12 +33,7 @@
      </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 v-html="svgHtml(row.imagePath )"></span>
      </template>
    </avue-crud>
@@ -66,8 +61,8 @@
          </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">
@@ -78,8 +73,8 @@
        </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>
@@ -224,6 +219,9 @@
    this.getList();
  },
  methods: {
    svgHtml(svgName){
      return func.getSVGByName(svgName);
    },
    getList() {
      gridStatus(this.page.currentPage, this.page.pageSize).then(res => {
        const data = res.data.data;