|
|
@@ -33,14 +33,16 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
- import {Debounce} from "../../util/anitthro.js"
|
|
|
+ import {
|
|
|
+ Debounce
|
|
|
+ } from "../../util/anitthro.js"
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
loading: false,
|
|
|
tasklist: [],
|
|
|
- name:"",
|
|
|
- page:1,
|
|
|
+ name: "",
|
|
|
+ page: 1,
|
|
|
}
|
|
|
},
|
|
|
onLoad() {
|
|
|
@@ -66,7 +68,7 @@
|
|
|
data: {
|
|
|
page: this.page, // 否 页码, 默认1
|
|
|
page_item: 10, //
|
|
|
- supervisor_user_name:this.name
|
|
|
+ supervisor_user_name: this.name
|
|
|
}
|
|
|
})
|
|
|
// this.tasklist = res.page_list
|
|
|
@@ -76,12 +78,12 @@
|
|
|
console.log(res)
|
|
|
this.loading = false
|
|
|
},
|
|
|
- totask(id){
|
|
|
+ totask(id) {
|
|
|
uni.navigateTo({
|
|
|
- url:"./supetask?id="+id
|
|
|
+ url: "./supetask?id=" + id
|
|
|
})
|
|
|
},
|
|
|
- search(){
|
|
|
+ search() {
|
|
|
Debounce(() => {
|
|
|
this.tasklist = []
|
|
|
this.page = 1
|
|
|
@@ -93,13 +95,14 @@
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
- .division{
|
|
|
+ .division {
|
|
|
position: fixed;
|
|
|
width: 90%;
|
|
|
left: 5%;
|
|
|
background-color: #FFFFFF;
|
|
|
padding: 40rpx 0;
|
|
|
}
|
|
|
+
|
|
|
.hisbox_hint {
|
|
|
width: 100%;
|
|
|
text-align: center;
|
|
|
@@ -114,6 +117,7 @@
|
|
|
width: 90%;
|
|
|
margin: 0 auto;
|
|
|
padding-top: 130rpx;
|
|
|
+
|
|
|
.taskbox_item {
|
|
|
width: 100%;
|
|
|
font-size: 28rpx;
|