Commit e3aa41a5 authored by 姬鋆屾's avatar 姬鋆屾

tui

parent 03ac1bd8
......@@ -69,7 +69,7 @@
>
<el-col :span="12"
>图片凭证:{{
form.snapPath ? picMatter(form.snapPath) : "--"
form.filePaths ? picMatter(form.filePaths) : "--"
}}</el-col
>
</el-row>
......
......@@ -212,7 +212,7 @@ export default {
{
label: "图片凭证",
prop: "snapPath",
prop: "filePaths",
formatter: this.formatterPic,
},
......
......@@ -85,7 +85,7 @@
>
<el-col :span="12"
>图片凭证:{{
form.snapPath ? picMatter(form.snapPath) : "--"
form.filePaths ? picMatter(form.filePaths) : "--"
}}</el-col
>
</el-row>
......
......@@ -217,7 +217,7 @@ export default {
{
label: "图片凭证",
prop: "snapPath",
prop: "filePaths",
formatter: this.formatterPic,
},
......
......@@ -62,7 +62,7 @@
<el-row>
<el-col :span="24">
图片凭证:{{
form.snapPath ? picMatter(form.snapPath) : "--"
form.filePaths ? picMatter(form.filePaths) : "--"
}}</el-col
>
</el-row>
......@@ -248,8 +248,8 @@
/>
<Field
label="图片凭证地址"
prop="snapPath"
v-model="form.snapPath"
prop="filePaths"
v-model="form.filePaths"
type="textarea"
placeholder="请输入图片凭证地址"
/>
......@@ -554,7 +554,7 @@ export default {
happenTime: null,
duration: 0,
alarmTime: null,
snapPath: "",
filePaths: "",
ruleId: null,
ruleName: "",
subMethod: 1,
......
......@@ -219,7 +219,7 @@ export default {
{
label: "图片凭证",
prop: "snapPath",
prop: "filePaths",
formatter: this.formatterPic,
},
......
......@@ -42,7 +42,7 @@
{{ util_formatterDate(form.alarmTime)}}
</el-descriptions-item>
<el-descriptions-item label="图片凭证地址" label-class-name="labelClass" content-class-name="contentClass">
{{form.snapPath}}
{{form.filePaths}}
</el-descriptions-item>
<el-descriptions-item label="绩效规则id" label-class-name="labelClass" content-class-name="contentClass">
{{form.ruleId}}
......
......@@ -64,7 +64,7 @@
<el-row>
<el-col :span="24">
图片凭证:{{
form.snapPath ? picMatter(form.snapPath) : "--"
form.filePaths ? picMatter(form.filePaths) : "--"
}}</el-col
>
</el-row>
......
......@@ -207,7 +207,7 @@ export default {
{
label: "图片凭证",
prop: "snapPath",
prop: "filePaths",
formatter: this.formatterPic,
},
......
......@@ -60,7 +60,7 @@
<el-row>
<el-col :span="24"
>图片凭证:{{
form.snapPath ? picMatter(form.snapPath) : "--"
form.filePaths ? picMatter(form.filePaths) : "--"
}}</el-col
>
</el-row>
......
......@@ -215,7 +215,7 @@ export default {
// { label: "绩效规则id", prop: "ruleId", formatter: this.formatter },
{
label: "图片凭证",
prop: "snapPath",
prop: "filePaths",
formatter: this.formatterPic,
},
......
......@@ -65,7 +65,7 @@
<el-row>
<el-col :span="12"
>图片凭证:{{
form.snapPath ? picMatter(form.snapPath) : "--"
form.filePaths ? picMatter(form.filePaths) : "--"
}}</el-col
>
</el-row>
......
......@@ -216,7 +216,7 @@ export default {
{
label: "图片凭证",
prop: "snapPath",
prop: "filePaths",
formatter: this.formatterPic,
},
......
......@@ -439,7 +439,7 @@ export default {
});
},
replaceImage(val) {
this.form.snapPath = val;
this.form.filePaths = val;
this.$forceUpdate(this.form);
},
......@@ -489,7 +489,7 @@ export default {
}).then((res) => {
this.ruleArr = res.data.data;
});
this.form.snapPath = this.form.snapPath ? this.form.snapPath : "";
this.form.filePaths = this.form.filePaths ? this.form.filePaths : "";
console.log(this.form);
this.open = true;
});
......@@ -575,7 +575,7 @@ export default {
errorResult: "",
errorTime: "",
fileNames: "",
snapPath: "",
filePaths: "",
goOffTimeStr: "",
processStatus: 1,
remark: "",
......
......@@ -174,11 +174,11 @@
<el-col :span="22">
<el-form-item label="图片凭证:">
<div v-if="form.view == '查看'">
{{ form.snapPath ? picMatter(form.snapPath) : "--" }}
{{ form.filePaths ? picMatter(form.filePaths) : "--" }}
</div>
<ImageUpload
v-else
:value="form.snapPath"
:value="form.filePaths"
@input="replaceImage"
></ImageUpload>
</el-form-item>
......@@ -502,7 +502,7 @@ export default {
});
},
replaceImage(val) {
this.form.snapPath = val;
this.form.filePaths = val;
this.$forceUpdate(this.form);
......@@ -586,7 +586,7 @@ export default {
score: "",
processStatus: 1,
remark: "",
snapPath: "",
filePaths: "",
fileNames: "",
};
this.open = true;
......
......@@ -148,11 +148,11 @@
<el-col :span="22">
<el-form-item label="图片凭证:">
<div v-if="form.view == '查看'">
{{ form.snapPath ? picMatter(form.snapPath) : "--" }}
{{ form.filePaths ? picMatter(form.filePaths) : "--" }}
</div>
<ImageUpload
v-else
:value="form.snapPath"
:value="form.filePaths"
@input="replaceImage"
></ImageUpload>
</el-form-item>
......@@ -278,8 +278,8 @@
/>
<Field
label="图片凭证地址"
prop="snapPath"
v-model="form.snapPath"
prop="filePaths"
v-model="form.filePaths"
type="textarea"
placeholder="请输入图片凭证地址"
/>
......@@ -473,7 +473,7 @@ export default {
});
},
replaceImage(val) {
this.form.snapPath = val;
this.form.filePaths = val;
this.$forceUpdate(this.form);
......@@ -612,7 +612,7 @@ export default {
happenTime: null,
duration: 0,
alarmTime: null,
snapPath: "",
filePaths: "",
ruleId: null,
ruleName: "",
subMethod: "",
......
......@@ -200,7 +200,7 @@ export default {
formatter: this.formatterDate,
},
{ label: "图片凭证地址", prop: "snapPath" },
{ label: "图片凭证地址", prop: "filePaths" },
{ label: "绩效规则id", prop: "ruleId", formatter: this.formatter },
......
......@@ -39,7 +39,7 @@
{{ util_formatterDate(form.alarmTime)}}
</el-descriptions-item>
<el-descriptions-item label="图片凭证地址" label-class-name="labelClass" content-class-name="contentClass">
{{form.snapPath}}
{{form.filePaths}}
</el-descriptions-item>
<el-descriptions-item label="绩效规则id" label-class-name="labelClass" content-class-name="contentClass">
{{form.ruleId}}
......
......@@ -126,11 +126,11 @@
<el-col :span="22">
<el-form-item label="图片凭证:">
<div v-if="form.view == '查看'">
{{ form.snapPath ? picMatter(form.snapPath) : "--" }}
{{ form.filePaths ? picMatter(form.filePaths) : "--" }}
</div>
<ImageUpload
v-else
:value="form.snapPath"
:value="form.filePaths"
@input="replaceImage"
></ImageUpload>
</el-form-item>
......@@ -442,7 +442,7 @@ export default {
});
},
replaceImage(val) {
this.form.snapPath = val;
this.form.filePaths = val;
this.$forceUpdate(this.form);
......
......@@ -86,11 +86,11 @@
<el-col :span="22">
<el-form-item label="图片凭证:">
<div v-if="form.view == '查看'">
{{ form.snapPath ? picMatter(form.snapPath) : "--" }}
{{ form.filePaths ? picMatter(form.filePaths) : "--" }}
</div>
<ImageUpload
v-else
:value="form.snapPath"
:value="form.filePaths"
@input="replaceImage"
></ImageUpload>
</el-form-item>
......@@ -403,7 +403,7 @@ export default {
});
},
replaceImage(val) {
this.form.snapPath = val;
this.form.filePaths = val;
this.$forceUpdate(this.form);
},
......@@ -446,7 +446,7 @@ export default {
: "";
}
this.form.processStatus = 2;
this.form.snapPath ? "" : (this.form.snapPath = "");
this.form.filePaths ? "" : (this.form.filePaths = "");
this.form.view = "核查";
this.staffChange(this.form.staffId);
this.$post("/perform/rules/list", {
......@@ -547,7 +547,7 @@ export default {
remark: "",
categoryId: "",
happenTime: "",
snapPath: "",
filePaths: "",
};
this.resetForm("form");
},
......
......@@ -139,11 +139,11 @@
<el-col :span="22">
<el-form-item label="图片凭证:">
<div v-if="form.view == '查看'">
{{ form.snapPath ? picMatter(form.snapPath) : "--" }}
{{ form.filePaths ? picMatter(form.filePaths) : "--" }}
</div>
<ImageUpload
v-else
:value="form.snapPath"
:value="form.filePaths"
@input="replaceImage"
></ImageUpload>
</el-form-item>
......@@ -457,7 +457,7 @@ export default {
});
},
replaceImage(val) {
this.form.snapPath = val;
this.form.filePaths = val;
this.$forceUpdate(this.form);
......@@ -590,7 +590,7 @@ export default {
deptId: "",
deptName: "",
fileNames: "",
snapPath: "",
filePaths: "",
processStatus: 1,
remark: "",
reviewDevice: "",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment