|
@@ -7,9 +7,9 @@
|
|
|
<view class="d-flex j-sb a-center">
|
|
|
<view class="u-font-xl">{{ item.projectName }}: {{ item.projectValue }}</view>
|
|
|
<view class="d-flex">
|
|
|
- <dj-button v-if="item.status === '1'" class="u-m-r-12" content="NOK" borderRadius="0" ifPlain width="111" height="53" bColor="#fff" color="#FE0000" border="#FE0000" @click.native="btn_click(index,false)"></dj-button>
|
|
|
+ <dj-button v-if="item.status === '' || item.status === '1'" class="u-m-r-12" content="NOK" borderRadius="0" ifPlain width="111" height="53" bColor="#fff" color="#FE0000" border="#FE0000" @click.native="btn_click(index,false)"></dj-button>
|
|
|
<dj-button v-else class="u-m-r-12" content="NOK" width="111" height="53" bColor="#FE0000" borderRadius="0" color="#fff" border="#FE0000"></dj-button>
|
|
|
- <dj-button v-if="item.status === '0'" content="OK" ifPlain borderRadius="0" width="111" height="53" bColor="#fff" color="#2196F3" border="#2196F3" @click.native="btn_click(index,true)"></dj-button>
|
|
|
+ <dj-button v-if="!item.status || item.status === '0'" content="OK" ifPlain borderRadius="0" width="111" height="53" bColor="#fff" color="#2196F3" border="#2196F3" @click.native="btn_click(index,true)"></dj-button>
|
|
|
<dj-button v-else content="OK" width="111" height="53" bColor="#2196F3" borderRadius="0" color="#fff" border="#2196F3"></dj-button>
|
|
|
</view>
|
|
|
</view>
|