测试bug反馈修复

This commit is contained in:
仲么了
2023-08-24 15:35:45 +08:00
parent 79d6771aad
commit 7c79eddc05
24 changed files with 149 additions and 112 deletions

View File

@@ -6,18 +6,20 @@
:options="engineeringListFilter"
:showSelect="false"
@click="confirm"
></uni-indexed-list>
></uni-indexed-list>
</view>
</view>
</Cn-page>
</template>
<script>
import {pinyin} from 'pinyin-pro'
import {queryEngineering} from "@/common/api/engineering";
export default {
data() {
return {
loading: false,
engineeringList:[]
engineeringList: []
}
},
computed: {
@@ -40,9 +42,19 @@ export default {
return result
},
},
onLoad(){
onLoad() {
this.engineeringList = uni.getStorageSync('engineeringList')
},
onShow() {
queryEngineering().then(res => {
this.engineeringList = res.data
})
},
onNavigationBarButtonTap(e) {
uni.redirectTo({
url: '/pages/engineering/new',
})
},
methods: {
confirm(e) {
console.log(e)