|
@@ -98,6 +98,7 @@ import { GL } from "./../http/http";
|
98
|
98
|
export default {
|
99
|
99
|
data() {
|
100
|
100
|
return {
|
|
101
|
+ toast:null,
|
101
|
102
|
action: {
|
102
|
103
|
target:
|
103
|
104
|
this.$host + "/service/common/common/uploadAttachment/inspection/",
|
|
@@ -118,12 +119,12 @@ export default {
|
118
|
119
|
sdCheckEnable4: true,
|
119
|
120
|
sdCheckEnable5: true,
|
120
|
121
|
sdCheckEnable6: true,
|
121
|
|
- sdCheckEnable7: true,
|
|
122
|
+ sdCheckEnable7: false,
|
122
|
123
|
sdCheckEnable8: true,
|
123
|
124
|
sdCheckEnable9: true,
|
124
|
125
|
sdCheckEnable10: true,
|
125
|
|
- sdCheckEnable11: true,
|
126
|
|
- sdCheckEnable12: true,
|
|
126
|
+ sdCheckEnable11: false,
|
|
127
|
+ sdCheckEnable12: false,
|
127
|
128
|
descriptionTextarea: "",
|
128
|
129
|
inspectionProcessActual: {}
|
129
|
130
|
},
|
|
@@ -205,6 +206,12 @@ export default {
|
205
|
206
|
// 获取项目异常状态
|
206
|
207
|
getItems() {
|
207
|
208
|
var that = this;
|
|
209
|
+ that.toast = that.$createToast({
|
|
210
|
+ time: 0,
|
|
211
|
+ mask: true,
|
|
212
|
+ txt: "正在加载中",
|
|
213
|
+ });
|
|
214
|
+ that.toast.show();
|
208
|
215
|
that.$http
|
209
|
216
|
.get(
|
210
|
217
|
"/service/form/renderForm/inspection_LinHu_confirm/" +
|
|
@@ -216,6 +223,7 @@ export default {
|
216
|
223
|
{}
|
217
|
224
|
)
|
218
|
225
|
.then(function(res) {
|
|
226
|
+ that.toast.hide();
|
219
|
227
|
console.log(res.data);
|
220
|
228
|
that.model = res.data.model;
|
221
|
229
|
var fields = res.data.fields;
|