diff --git a/src/api/model/orders.js b/src/api/model/orders.js
index 071059a..ebecf2d 100644
--- a/src/api/model/orders.js
+++ b/src/api/model/orders.js
@@ -32,6 +32,20 @@ export default {
return await http.post(this.url, params);
},
},
+ detailIds:{
+ url: `${config.API_URL}/maintenance.order.detail.ids`,
+ name: "邮件维修清单列表ids",
+ post: async function (params) {
+ return await http.post(this.url, params);
+ },
+ },
+ manual:{
+ url: `${config.API_URL}/mail.sync.manual`,
+ name: "手动同步邮件",
+ post: async function (params) {
+ return await http.post(this.url, params);
+ },
+ },
confirm:{
url: `${config.API_URL}/mail.sync.repair.confirm`,
name: "确认入保",
diff --git a/src/views/order/dataConfirm/index.vue b/src/views/order/dataConfirm/index.vue
index bcee976..39b4445 100644
--- a/src/views/order/dataConfirm/index.vue
+++ b/src/views/order/dataConfirm/index.vue
@@ -64,17 +64,39 @@
重置
-
+
-
-
-
- {{scope.row[item.prop]}}
-
-
-
+
+
+
+
+
+
+ {{scope.row[item.prop]}}
+
+
+
+
+
+
+
+
+
+
+
+ {{scope.row[item.prop]}}
+
+
+
+
@@ -194,15 +216,31 @@ export default {
userColumn:[],
emailData:{
list:[],
- column:[]
+ column:[],
+ rows:[]
},
emptyText: "暂无数据",
}
},
+ computed: {
+ isAllDisabled() {
+ let isDis = false;
+ if(this.emailData && this.emailData.rows.length>0){
+ isDis = this.emailData.rows.every((el) => el.is_confirm == true)
+ }
+ return isDis
+ },
+ },
mounted() {
this.getData();
},
methods: {
+ setClassName({ column }) {
+ if (column.type == 'selection' && this.isAllDisabled) {
+ return 'all-disabled'
+ }
+ },
+
async getData() {
this.listLoading = true;
const res = await this.$API.orders.order.mail.list.get(this.listParams);
@@ -357,6 +395,13 @@ export default {