haoxuan
2023-11-06 92bd815250054f79473bfe10df31b93c996e32ea
工艺列表的更新按钮状态修改
2个文件已修改
7 ■■■■ 已修改文件
src/components.d.ts 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/dashboard/components/ProcessInfo.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components.d.ts
@@ -28,4 +28,7 @@
    RouterLink: typeof import('vue-router')['RouterLink']
    RouterView: typeof import('vue-router')['RouterView']
  }
  export interface ComponentCustomProperties {
    vInfiniteScroll: typeof import('element-plus/es')['ElInfiniteScroll']
  }
}
src/views/dashboard/components/ProcessInfo.vue
@@ -13,8 +13,8 @@
    </div>
    <div v-if="craftModel.number == task?.Procedure?.processModelNumber" class="tip-current">当前使用</div>
    <div class="btn">
      <!-- :disabled="craftModel.isUpdate?false:true" -->
      <el-button type="primary" class="color_organge" @click="onUpdateClick">
      <!--  -->
      <el-button type="primary" :disabled="craftModel.isUpdate ? false : true" @click="onUpdateClick">
        <el-icon v-if="loading" color="#fff" :size="16" class="refresh-top-icon">
          <Loading />
        </el-icon>