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