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

tui

parent d994ba48
......@@ -440,6 +440,8 @@ export default {
},
replaceImage(val) {
this.form.snapPath = val;
this.$forceUpdate(this.form);
},
staffChange(val) {
console.log(val);
......@@ -453,7 +455,6 @@ export default {
// this.urls.currUrl = "perform/attend/record/edit";
// this.getData();
this.$get("/perform/attend/record/info", { id: row.id }).then((res) => {
console.log(res.data);
if (res.code == 1) {
this.form = res.data;
} else {
......@@ -488,6 +489,8 @@ export default {
}).then((res) => {
this.ruleArr = res.data.data;
});
this.form.snapPath = this.form.snapPath ? this.form.snapPath : "";
console.log(this.form);
this.open = true;
});
this.pageInfo.type = "edit";
......
......@@ -220,7 +220,7 @@ export default {
{
label: "图片凭证",
prop: "snapPath",
prop: "filePaths",
formatter: this.formatterPic,
},
......
......@@ -502,7 +502,10 @@ export default {
});
},
replaceImage(val) {
this.form.snapPath = val;
this.form.snapPath = val;
this.$forceUpdate(this.form);
},
staffChange(val) {
let arr = this.staffArr.filter((v) => v.id == val);
......
......@@ -224,7 +224,7 @@ export default {
{
label: "图片凭证",
prop: "snapPath",
prop: "filePaths",
formatter: this.formatterPic,
},
......
......@@ -473,7 +473,10 @@ export default {
});
},
replaceImage(val) {
this.form.snapPath = val;
this.form.snapPath = val;
this.$forceUpdate(this.form);
},
staffChange(val) {
console.log(val);
......
......@@ -227,7 +227,7 @@ export default {
{
label: "图片凭证",
prop: "snapPath",
prop: "filePaths",
formatter: this.formatterPic,
},
{ label: "绩效规则", prop: "ruleName" },
......
......@@ -442,7 +442,10 @@ export default {
});
},
replaceImage(val) {
this.form.snapPath = val;
this.form.snapPath = val;
this.$forceUpdate(this.form);
},
staffChange(val) {
console.log(val);
......
......@@ -214,7 +214,7 @@ export default {
{
label: "图片凭证",
prop: "snapPath",
prop: "filePaths",
formatter: this.formatterPic,
},
{ label: "绩效规则", prop: "ruleName" },
......
......@@ -404,7 +404,8 @@ export default {
},
replaceImage(val) {
this.form.snapPath = val;
this.$forceUpdate(this.form.snapPath);
this.$forceUpdate(this.form);
},
staffChange(val) {
console.log(val);
......
......@@ -223,7 +223,7 @@ export default {
// { label: "绩效规则id", prop: "ruleId", formatter: this.formatter },
{
label: "图片凭证",
prop: "snapPath",
prop: "filePaths",
formatter: this.formatterPic,
},
{ label: "绩效规则", prop: "ruleName" },
......
......@@ -457,7 +457,10 @@ export default {
});
},
replaceImage(val) {
this.form.snapPath = val;
this.form.snapPath = val;
this.$forceUpdate(this.form);
},
staffChange(val) {
console.log(val);
......
......@@ -224,7 +224,7 @@ export default {
{
label: "图片凭证",
prop: "snapPath",
prop: "filePaths",
formatter: this.formatterPic,
},
......
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