|
@@ -1037,6 +1037,7 @@
|
|
</el-form>
|
|
</el-form>
|
|
|
|
|
|
<span slot="footer" class="dialog-footer" v-if="!isSubstitude || substitudeStep == 2">
|
|
<span slot="footer" class="dialog-footer" v-if="!isSubstitude || substitudeStep == 2">
|
|
|
|
+ <span v-if="isSubstitude" style="float:left;color:orange;">*正在为【{{workForm.userNames}}】代填</span>
|
|
<!-- <el-button @click="zhoAddlast()" style="float:left;" class="el-icon-back">{{$t('defaultText.selectProject')}}</el-button> -->
|
|
<!-- <el-button @click="zhoAddlast()" style="float:left;" class="el-icon-back">{{$t('defaultText.selectProject')}}</el-button> -->
|
|
<el-button @click="closeAddWeeklyReport()" :loading="submitingReport">{{$t('btn.cancel')}}</el-button>
|
|
<el-button @click="closeAddWeeklyReport()" :loading="submitingReport">{{$t('btn.cancel')}}</el-button>
|
|
<el-button @click="submitWeekReport(1)" :loading="submitingReport" >{{$t('btn.temporaryStorage')}}</el-button>
|
|
<el-button @click="submitWeekReport(1)" :loading="submitingReport" >{{$t('btn.temporaryStorage')}}</el-button>
|
|
@@ -7196,6 +7197,9 @@
|
|
flgs = true
|
|
flgs = true
|
|
// formData.append("degreeId", "-1");
|
|
// formData.append("degreeId", "-1");
|
|
formData.append("id", '-1');
|
|
formData.append("id", '-1');
|
|
|
|
+ if (this.isSubstitude) {
|
|
|
|
+ formData.append('targetUids',this.workForm.userId[0]);
|
|
|
|
+ }
|
|
for(var s in this.projectList) {
|
|
for(var s in this.projectList) {
|
|
if(j == this.projectList[s].projectName) {
|
|
if(j == this.projectList[s].projectName) {
|
|
formData.append("projectId", this.projectList[s].id);
|
|
formData.append("projectId", this.projectList[s].id);
|
|
@@ -7298,6 +7302,9 @@
|
|
flgs = true
|
|
flgs = true
|
|
// formData.append("degreeId", "-1");
|
|
// formData.append("degreeId", "-1");
|
|
formData.append("id", zhoD[j].id==null?'-1':zhoD[j].id);
|
|
formData.append("id", zhoD[j].id==null?'-1':zhoD[j].id);
|
|
|
|
+ if (this.isSubstitude) {
|
|
|
|
+ formData.append('targetUids',this.workForm.userId[0]);
|
|
|
|
+ }
|
|
for(var s in this.projectList) {
|
|
for(var s in this.projectList) {
|
|
if(j == this.projectList[s].projectName) {
|
|
if(j == this.projectList[s].projectName) {
|
|
formData.append("projectId", this.projectList[s].id);
|
|
formData.append("projectId", this.projectList[s].id);
|
|
@@ -7383,6 +7390,9 @@
|
|
// formData.append("degreeId", "-1");
|
|
// formData.append("degreeId", "-1");
|
|
console.log('进入了workFpppp==='+j);
|
|
console.log('进入了workFpppp==='+j);
|
|
formData.append("id", zhoD[j].id==null?'-1':zhoD[j].id);
|
|
formData.append("id", zhoD[j].id==null?'-1':zhoD[j].id);
|
|
|
|
+ if (this.isSubstitude) {
|
|
|
|
+ formData.append('targetUids',this.workForm.userId[0]);
|
|
|
|
+ }
|
|
for(var s in this.projectList) {
|
|
for(var s in this.projectList) {
|
|
if(j == this.projectList[s].projectName) {
|
|
if(j == this.projectList[s].projectName) {
|
|
formData.append("projectId", this.projectList[s].id);
|
|
formData.append("projectId", this.projectList[s].id);
|