|
|
@ -35,7 +35,7 @@ |
|
|
|
<view class="flex items-center mb-1"> |
|
|
|
<view class="mr-2">{{ item.name }}</view> |
|
|
|
<!-- 状态 TODO:--> |
|
|
|
<view class="px-2 text-xs text-green-400 bg-green-100 rounded-full">进行中</view> |
|
|
|
<view class="px-2 text-xs text-green-400 bg-green-100 rounded-full flex-shrink-0">进行中</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="flex items-center text-xs text-gray-400"> |
|
|
@ -93,7 +93,7 @@ |
|
|
|
? 'text-red-400 bg-red-100' |
|
|
|
: 'text-gray-400 bg-gray-100' |
|
|
|
" |
|
|
|
class="px-2 text-xs text-gray-400 bg-gray-100 rounded-full" |
|
|
|
class="px-2 text-xs text-gray-400 bg-gray-100 rounded-full flex-shrink-0" |
|
|
|
> |
|
|
|
{{ subItem.status === 0 ? '未开始' : subItem.status === 1 ? '进行中' : subItem.status === 2 ? '暂停' : '已完成' }} |
|
|
|
</view> |
|
|
@ -225,8 +225,6 @@ export default { |
|
|
|
|
|
|
|
// 操作 |
|
|
|
chooseAction(obj) { |
|
|
|
console.log(obj, '操作返回的数据', this.menuList[obj.index].text); |
|
|
|
|
|
|
|
let action = this.menuList[obj.index].text; |
|
|
|
if (action === '排序') { |
|
|
|
this.changeEvent = true; |
|
|
@ -235,7 +233,6 @@ export default { |
|
|
|
|
|
|
|
if (action === '删除') { |
|
|
|
this.changeEvent = false; |
|
|
|
// this.$t.ui.showToast('请删除...'); |
|
|
|
this.delProject(obj.projectId); |
|
|
|
} |
|
|
|
|
|
|
|