diff --git a/components/VNavigationBar.vue b/components/VNavigationBar.vue index 00718e1..b3a4c83 100644 --- a/components/VNavigationBar.vue +++ b/components/VNavigationBar.vue @@ -22,6 +22,9 @@ + + 新增 + @@ -53,6 +56,11 @@ export default { showClear: { type: Boolean, default: false + }, + //新增配件 + addWares:{ + type: Boolean, + default: false } }, mounted() { @@ -88,6 +96,9 @@ export default { }, clearNoReadFun(){ this.$emit('clearNoRead') + }, + addNewWares(){ + this.$emit('addNewWares') } } } diff --git a/pages-order/choosePeople/choosePeople.vue b/pages-order/choosePeople/choosePeople.vue index 0e3f6ea..68d1f38 100644 --- a/pages-order/choosePeople/choosePeople.vue +++ b/pages-order/choosePeople/choosePeople.vue @@ -176,16 +176,7 @@ export default { method: 'get', params: {ticketId: this.ticketId} }).then((res) => { - let thisList = res.data - thisList.map((item) => { - getDictTextByCodeAndValue("repair_work_type", item.workType).then(value => { - item.workTypeText = value - }).catch(error => { - item.workTypeText = "未知" - console.error(error); - }); - }) - this.list = thisList + this.list = res.data if (this.list.length > 0) { console.log(this.list[0].userId) this.checkedUserId = this.list[0].userId diff --git a/pages-repair/apply/applyForm.vue b/pages-repair/apply/applyForm.vue index 50cbd48..abdfe66 100644 --- a/pages-repair/apply/applyForm.vue +++ b/pages-repair/apply/applyForm.vue @@ -1,6 +1,6 @@