+
+
+ 达标
+
+
+
@@ -477,6 +480,11 @@ export default {
dicts: ['device_order_status', 'device_loop_type'],
data() {
return {
+ dialogImageUrl: '',
+ dialogVisible: false,
+ disabled: false,
+ // 上传图片弹出层
+ imgDialog: false,
// 工作中心
workCenterList:[],
// 遮罩层
@@ -544,6 +552,17 @@ export default {
this.setWorkCenter();
},
methods: {
+ // test
+ handleRemove(file) {
+ console.log(file);
+ },
+ handlePictureCardPreview(file) {
+ this.dialogImageUrl = file.url;
+ this.dialogVisible = true;
+ },
+ handleDownload(file) {
+ console.log(file);
+ },
// 获取工作中心
setWorkCenter() {
getWorkCenter().then(response => {
diff --git a/src/views/device/upkeepOrder/index.vue b/src/views/device/upkeepOrder/index.vue
index aa1427f..f31a06d 100644
--- a/src/views/device/upkeepOrder/index.vue
+++ b/src/views/device/upkeepOrder/index.vue
@@ -772,8 +772,8 @@
- 达标
- 未达标
+ 未达标
+ 达标
@@ -1088,7 +1088,7 @@ export default {
this.form.personList = this.selectPersonList;
addUpkeepOrder(this.form).then(response => {
this.$modal.msgSuccess("新增成功");
- this.open = false;
+ this.orderDialog = false;
this.getList();
});
},