| | |
| | | ></uni-icons> |
| | | <text class="project-title">{{ item.projectName }}</text> |
| | | </view> |
| | | <!-- <view class="status-tags"> |
| | | <text class="tag type-tag">{{ getDictLabel('sys_project_type', item.projectType) }}</text> |
| | | <text class="tag status-tag" :class="'status-' + item.status">{{ getDictLabel('sys_project_status', item.status) }}</text> |
| | | </view> --> |
| | | </view> |
| | | |
| | | <view class="card-body"> |
| | |
| | | </view> |
| | | |
| | | <view class="card-footer"> |
| | | <button |
| | | v-if="item.processInsId" |
| | | class="action-btn view-btn" |
| | | @click="goToDetail(item)" |
| | | > |
| | | <uni-icons type="eye" size="16" color="#1E88E5"></uni-icons> |
| | | <text>查看流程</text> |
| | | </button> |
| | | <!-- <button --> |
| | | <!-- v-if="item.processInsId" --> |
| | | <!-- class="action-btn view-btn" --> |
| | | <!-- @click="goToDetail(item)"--> |
| | | <!-- >--> |
| | | <!-- <uni-icons type="eye" size="16" color="#1E88E5"></uni-icons>--> |
| | | <!-- <text>查看流程</text>--> |
| | | <!-- </button>--> |
| | | |
| | | <button |
| | | v-if="isReserve" |
| | | class="action-btn process-btn" |
| | | <button |
| | | v-if="isReserve && item.processInsId " |
| | | class="action-btn process-btn" |
| | | @click="openOpProcess(item)" |
| | | > |
| | | <uni-icons type="gear" size="16" color="#26A69A"></uni-icons> |
| | |
| | | const option = options.find(opt => opt.value == value) |
| | | return option ? option.label : value |
| | | }, |
| | | |
| | | /** 前往详情页 */ |
| | | goToDetail(item) { |
| | | uni.navigateTo({ |
| | | |
| | | url: `/subpackage/manager/project-detail?data=${encodeURIComponent(JSON.stringify(item))}` |
| | | }) |
| | | }, |
| | | |
| | | |
| | | /** 打开操作流程 */ |
| | | openOpProcess(row) { |
| | | const params = { |