修复发放到外部

This commit is contained in:
骆乐 2022-06-30 17:42:32 +08:00
parent ff255c7e94
commit efc0b77542
4 changed files with 18 additions and 7 deletions

View File

@ -762,6 +762,7 @@ export default {
sn: sn, sn: sn,
projectName: this.formInline.projectName, projectName: this.formInline.projectName,
}).then((res) => { }).then((res) => {
console.log('培训人数',res)
if (res.result) { if (res.result) {
this.statictisData = res.result; this.statictisData = res.result;
console.log(this.statictisData, '列表数据') console.log(this.statictisData, '列表数据')

View File

@ -116,7 +116,6 @@ import {
import { import {
getDockingUrlApi getDockingUrlApi
} from "@/assets/js/api/configManage"; } from "@/assets/js/api/configManage";
import Axios from "axios";
export default { export default {
name: "projectIndex", name: "projectIndex",
components: { vhead }, components: { vhead },

View File

@ -452,7 +452,7 @@
<img src="@/assets/images/icon-edit.png" style="margin-right:5px" /> <img src="@/assets/images/icon-edit.png" style="margin-right:5px" />
<span>{{$t('message.laborMange.edit')}}</span> <span>{{$t('message.laborMange.edit')}}</span>
</div> --> </div> -->
<!-- 再次进场 -->
<el-button <el-button
class="operationText" class="operationText"
type="text" type="text"
@ -1684,6 +1684,7 @@
</template> </template>
<script> <script>
import axios from 'axios'
import { import {
deleteTeamInfo, deleteTeamInfo,
editTeamInfo, editTeamInfo,
@ -2514,8 +2515,7 @@ export default {
return false; return false;
} }
}); });
}, },
// //
editWorkerInfo(value, type) { editWorkerInfo(value, type) {
this.personDialogTitle = this.$t( this.personDialogTitle = this.$t(
@ -2554,6 +2554,7 @@ export default {
personSerial: "", personSerial: "",
}; };
this.getUfaceDevList(); this.getUfaceDevList();
this.goTwo();
this.addPersonDialog = true; this.addPersonDialog = true;
this.personForm = JSON.parse(JSON.stringify(value)); this.personForm = JSON.parse(JSON.stringify(value));
this.personForm.sex = Number(value.sex); this.personForm.sex = Number(value.sex);

View File

@ -336,7 +336,7 @@
type="primary" type="primary"
:disabled="checkedWorker.length == 0" :disabled="checkedWorker.length == 0"
@click="issuePersonFn" @click="issuePersonFn"
v-if="!key" v-if="key"
>{{ $t("message.laborMange.aKeyIssued") }}</el-button >{{ $t("message.laborMange.aKeyIssued") }}</el-button
> >
</el-form-item> </el-form-item>
@ -477,7 +477,7 @@
type="primary" type="primary"
size="mini" size="mini"
@click="issuePersonOneFn(scope.row.id)" @click="issuePersonOneFn(scope.row.id)"
v-if="!key" v-if="key"
>{{ $t("message.laborMange.aKeyIssued") }}</el-button >{{ $t("message.laborMange.aKeyIssued") }}</el-button
> >
</div> </div>
@ -497,7 +497,7 @@
</div> --> </div> -->
<div <div
class="personItemBottom" class="personItemBottom"
v-if="!key" v-if="key"
> >
<el-checkbox <el-checkbox
v-model="scope.row.isUploadHousing" v-model="scope.row.isUploadHousing"
@ -2260,6 +2260,7 @@ import {
updateByIdWorkerInfo, updateByIdWorkerInfo,
sendBatchWokerApi sendBatchWokerApi
} from "@/assets/js/api/laborPerson"; } from "@/assets/js/api/laborPerson";
import axios from 'axios'
import { import {
selectUserDevAuthorityByUserIdApi, selectUserDevAuthorityByUserIdApi,
exporExcelWorkerTemplateApi, exporExcelWorkerTemplateApi,
@ -3326,6 +3327,15 @@ export default {
}, },
// //
editWorkerInfo(value, type) { editWorkerInfo(value, type) {
console.log('当前行',value)
//
axios({
method:"GET",
originId : value.id,
url:'http://192.168.34.148:8080/workerReEntry'
}).then((res)=>{
console.log('调用成功了吗',res)
})
this.personDialogTitle = this.$t("message.laborMange.editCrewInfo"); this.personDialogTitle = this.$t("message.laborMange.editCrewInfo");
this.titleType = "edit"; this.titleType = "edit";
this.personForm = { this.personForm = {