|
|
@@ -126,17 +126,18 @@ Component({
|
|
|
content.where = {
|
|
|
"condition": content.where.condition || '',
|
|
|
"tag": [],
|
|
|
- "begindate": "",
|
|
|
+ "begdate": "",
|
|
|
"enddate": "",
|
|
|
isleave: 1
|
|
|
}
|
|
|
} else if (detail.name == "confirm") {
|
|
|
const res = organization.data.result
|
|
|
+ content.type = res.departmentid ? 1 : 0;
|
|
|
content.dataid = res.departmentid || res.userid;
|
|
|
content.where = {
|
|
|
"condition": content.where.condition || '',
|
|
|
"tag": detail.tag || [],
|
|
|
- "begindate": detail.startdate || '',
|
|
|
+ "begdate": detail.startdate || '',
|
|
|
"enddate": detail.enddate || '',
|
|
|
isleave: detail.isleave
|
|
|
}
|