Commit dfbd0f63 by gao_yingdong

工作犬

parent 911f1ed4
......@@ -153,6 +153,7 @@
>
<el-button
size="small"
disabled
icon="el-icon-download"
class="btnStylePub btnStyle2"
@click="importData"
......
......@@ -192,7 +192,6 @@
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择评定日期"
:picker-options="pickerOptions"
>
</el-date-picker>
</el-form-item>
......@@ -1032,6 +1031,8 @@ export default {
.then((res) => {
if (res.code === 200 && res.success && res.data && res.data.data) {
let datas = res.data.data;
console.log(res.data, '退役犬qqqq');
console.log(datas, '退役犬azzzz');
if (datas.trainingUnitName)
datas.trainingUnit = datas.trainingUnitName;
......@@ -1047,7 +1048,6 @@ export default {
if (datas.refreshmentKssj && datas.refreshmentJssj) {
datas.dateArr = [datas.refreshmentKssj, datas.refreshmentJssj];
}
this.detailInfo = datas;
// // 处理专业方向和分数
// let workArr = [];
// let scoreArr = [];
......@@ -1192,6 +1192,15 @@ export default {
}
}
this.detailInfo = datas;
// this.$set(this.detailInfo, "name", datas.name);
// this.$set(this.detailInfo, "chipCode", datas.chipCode);
// this.$set(this.detailInfo, "gender", datas.gender);
// this.$set(this.detailInfo, "birthDate", datas.birthDate);
// this.$set(this.detailInfo, "speciesId", datas.speciesId);
// this.$set(this.detailInfo, "dogSource", datas.dogSource);
// this.$set(this.detailInfo, "dna", datas.dna);
console.log(this.detailInfo, '退役犬');
this.loading = false;
return;
}
......@@ -1234,8 +1243,14 @@ export default {
chipCode: this.detailInfo.chipCode,
checkUnit: this.detailInfo.unitCodeName,
checkStaff: this.detailInfo.checkStaff,
refreshmentKssj: this.detailInfo.dateArr[0],
refreshmentJssj: this.detailInfo.dateArr[1],
refreshmentKssj:
this.detailInfo.dateArr.length > 0
? this.detailInfo.dateArr[0]
: "",
refreshmentJssj:
this.detailInfo.dateArr.length > 0
? this.detailInfo.dateArr[1]
: "",
trainCount: this.detailInfo.trainCount,
trainSubject,
trainSubjectGrade,
......
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