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

tui

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