|
@@ -28,8 +28,8 @@
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
<el-dialog title="编辑" :visible.sync="lookEditRemarkDlgShow" width="500px" v-dialogDrag :close-on-click-modal="false" :modal-append-to-body="false" center @close="handleCloseRemark">
|
|
<el-dialog title="编辑" :visible.sync="lookEditRemarkDlgShow" width="500px" v-dialogDrag :close-on-click-modal="false" :modal-append-to-body="false" center @close="handleCloseRemark">
|
|
- <el-input v-model="lookEditRemarkInfo.InviteName" placeholder="请输入引荐人" clearable style="display: inline-block; margin-bottom: 20px"> </el-input>
|
|
|
|
- <el-input type="textarea" :rows="4" placeholder="请输入备注" v-model="lookEditRemarkInfo.Remark"> </el-input>
|
|
|
|
|
|
+ <el-input v-model="lookRemarkInfo.InviteName" placeholder="请输入引荐人" clearable style="display: inline-block; margin-bottom: 20px"> </el-input>
|
|
|
|
+ <el-input type="textarea" :rows="4" placeholder="请输入备注" v-model="lookRemarkInfo.Remark"> </el-input>
|
|
<span slot="footer" class="dialog-footer">
|
|
<span slot="footer" class="dialog-footer">
|
|
<el-button @click="handleCloseRemark">取 消</el-button>
|
|
<el-button @click="handleCloseRemark">取 消</el-button>
|
|
<el-button type="primary" @click="submitRemarkHandler">确 定</el-button>
|
|
<el-button type="primary" @click="submitRemarkHandler">确 定</el-button>
|
|
@@ -73,10 +73,18 @@ export default {
|
|
isShowKey: true,
|
|
isShowKey: true,
|
|
referrer: "",
|
|
referrer: "",
|
|
remarksKeys: "",
|
|
remarksKeys: "",
|
|
|
|
+ lookRemarkInfo: {},
|
|
};
|
|
};
|
|
},
|
|
},
|
|
- computed: {},
|
|
|
|
- watch: {},
|
|
|
|
|
|
+ watch: {
|
|
|
|
+ lookEditRemarkInfo: {
|
|
|
|
+ handler(newValue) {
|
|
|
|
+ this.lookRemarkInfo = _.cloneDeep(newValue);
|
|
|
|
+ },
|
|
|
|
+ deep: true,
|
|
|
|
+ immediate: true,
|
|
|
|
+ },
|
|
|
|
+ },
|
|
created() {},
|
|
created() {},
|
|
mounted() {},
|
|
mounted() {},
|
|
methods: {
|
|
methods: {
|
|
@@ -160,13 +168,14 @@ export default {
|
|
// q确定事件
|
|
// q确定事件
|
|
async submitRemarkHandler() {
|
|
async submitRemarkHandler() {
|
|
const res = await raiInterface.yanxuan_specialAuthorUpdate({
|
|
const res = await raiInterface.yanxuan_specialAuthorUpdate({
|
|
- UserId: this.lookEditRemarkInfo.UserId,
|
|
|
|
- InviteName: this.lookEditRemarkInfo.InviteName, //邀请人
|
|
|
|
- Remark: this.lookEditRemarkInfo.Remark, //备注
|
|
|
|
|
|
+ UserId: this.lookRemarkInfo.UserId,
|
|
|
|
+ InviteName: this.lookRemarkInfo.InviteName, //邀请人
|
|
|
|
+ Remark: this.lookRemarkInfo.Remark, //备注
|
|
});
|
|
});
|
|
if (res.Ret === 200) {
|
|
if (res.Ret === 200) {
|
|
this.$emit("update:lookEditRemarkDlgShow", false);
|
|
this.$emit("update:lookEditRemarkDlgShow", false);
|
|
this.$emit("update:lookEditRemarkInfo", {});
|
|
this.$emit("update:lookEditRemarkInfo", {});
|
|
|
|
+ this.$parent.getyanxuanReportSpecial();
|
|
}
|
|
}
|
|
},
|
|
},
|
|
},
|
|
},
|