11
This commit is contained in:
@@ -64,8 +64,8 @@
|
||||
{{item}} 分
|
||||
</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="btn_box ">
|
||||
</view>
|
||||
<view class="btn_box " v-if="classState != '2' && classState != '0'">
|
||||
<button class="submit" @click="onSubmit">提 交</button>
|
||||
</view>
|
||||
</template>
|
||||
@@ -103,12 +103,14 @@
|
||||
score: undefined, //分数
|
||||
id: undefined,
|
||||
},
|
||||
classState:undefined,
|
||||
}
|
||||
},
|
||||
onLoad(e) {
|
||||
console.log('e', e);
|
||||
this.classId = e.classId
|
||||
this.pageType = e.type
|
||||
this.classState = e.classState
|
||||
this.roleCode = e.roleCode
|
||||
if (e.type == '0') {
|
||||
this.pageName = '作业列表'
|
||||
@@ -205,8 +207,9 @@
|
||||
|
||||
}).catch(e => {
|
||||
uni.showToast({
|
||||
title: '操作失败',
|
||||
icon: 'error'
|
||||
title: e.errMsg,
|
||||
icon: 'error',
|
||||
duration:3000
|
||||
})
|
||||
});
|
||||
},
|
||||
|
||||
@@ -125,7 +125,7 @@
|
||||
</view>
|
||||
</view>
|
||||
{{curReplay.haveGiveScore}}
|
||||
<view class="btn_box ">
|
||||
<view class="btn_box " v-if="classState != '2' && classState != '0'">
|
||||
<button class="submit" @click="onSubmit" v-show="!form.hasGiveScore">提 交</button>
|
||||
</view>
|
||||
</template>
|
||||
@@ -596,8 +596,9 @@
|
||||
|
||||
}).catch(e => {
|
||||
uni.showToast({
|
||||
title: '操作失败',
|
||||
icon: 'error'
|
||||
title: e.errMsg,
|
||||
icon: 'error',
|
||||
duration:3000
|
||||
})
|
||||
});
|
||||
// }).catch(err => {
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
</uni-forms-item>
|
||||
</uni-forms> -->
|
||||
</view>
|
||||
<view class="btn_box"><button @click="onSubmit">提 交</button></view>
|
||||
<view class="btn_box" v-if="classState != '2' && classState != '0'"><button @click="onSubmit">提 交</button></view>
|
||||
</template>
|
||||
</view>
|
||||
</view>
|
||||
@@ -198,8 +198,9 @@
|
||||
|
||||
}).catch(e => {
|
||||
uni.showToast({
|
||||
title: '操作失败',
|
||||
icon: 'error'
|
||||
title: e.errMsg,
|
||||
icon: 'error',
|
||||
duration:3000
|
||||
})
|
||||
});
|
||||
// }).catch(err => {
|
||||
|
||||
Reference in New Issue
Block a user