退伍复学修改
This commit is contained in:
@@ -1178,7 +1178,8 @@ export default {
|
|||||||
|
|
||||||
// 退伍复学申请表单数据
|
// 退伍复学申请表单数据
|
||||||
getBasicApplication(startUser) {
|
getBasicApplication(startUser) {
|
||||||
let newName = this.startUser.replace(/-/g, "");
|
// let newName = this.startUser.replace(/-/g, "");
|
||||||
|
let newName = this.startUser.split('-')[0].trim();
|
||||||
getStname(newName).then((res) => {
|
getStname(newName).then((res) => {
|
||||||
// console.log("后端返回原始数据:",res.data);
|
// console.log("后端返回原始数据:",res.data);
|
||||||
this.form = res.data
|
this.form = res.data
|
||||||
@@ -1366,7 +1367,7 @@ export default {
|
|||||||
} else if (this.category == "退伍复学") {
|
} else if (this.category == "退伍复学") {
|
||||||
// updateBasic({stuId:this.form.stuId,fdStatus:"1",fdIdea:this.taskForm.comment}).then(response => {})
|
// updateBasic({stuId:this.form.stuId,fdStatus:"1",fdIdea:this.taskForm.comment}).then(response => {})
|
||||||
var stNameData = ''
|
var stNameData = ''
|
||||||
let newName = this.startUser.replace(/-/g, "");
|
let newName = this.startUser.split('-')[0].trim();
|
||||||
// 异步请求的回调内处理后续逻辑
|
// 异步请求的回调内处理后续逻辑
|
||||||
getStname(newName).then(response => {
|
getStname(newName).then(response => {
|
||||||
stNameData = response.data;
|
stNameData = response.data;
|
||||||
@@ -1553,7 +1554,8 @@ export default {
|
|||||||
else if (this.category == "退伍复学") {
|
else if (this.category == "退伍复学") {
|
||||||
// updateBasic({stuId:this.form.stuId,fdStatus:"1",fdIdea:this.taskForm.comment}).then(response => {})
|
// updateBasic({stuId:this.form.stuId,fdStatus:"1",fdIdea:this.taskForm.comment}).then(response => {})
|
||||||
var stNameData = ''
|
var stNameData = ''
|
||||||
let newName = this.startUser.replace(/-/g, "");
|
// let newName = this.startUser.replace(/-/g, "");
|
||||||
|
let newName = this.startUser.split('-')[0].trim();
|
||||||
// 异步请求的回调内处理后续逻辑
|
// 异步请求的回调内处理后续逻辑
|
||||||
getStname(newName).then(response => {
|
getStname(newName).then(response => {
|
||||||
stNameData = response.data;
|
stNameData = response.data;
|
||||||
@@ -1712,7 +1714,8 @@ export default {
|
|||||||
console.log("数据",this.returnTaskList)
|
console.log("数据",this.returnTaskList)
|
||||||
// updateBasic({stuId:this.form.stuId,fdStatus:"1",fdIdea:this.taskForm.comment}).then(response => {})
|
// updateBasic({stuId:this.form.stuId,fdStatus:"1",fdIdea:this.taskForm.comment}).then(response => {})
|
||||||
var stNameData = ''
|
var stNameData = ''
|
||||||
let newName = this.startUser.replace(/-/g, "");
|
// let newName = this.startUser.replace(/-/g, "");
|
||||||
|
let newName = this.startUser.split('-')[0].trim();
|
||||||
// 异步请求的回调内处理后续逻辑
|
// 异步请求的回调内处理后续逻辑
|
||||||
getStname(newName).then(response => {
|
getStname(newName).then(response => {
|
||||||
stNameData = response.data;
|
stNameData = response.data;
|
||||||
@@ -1829,7 +1832,8 @@ export default {
|
|||||||
else if (this.category == "退伍复学") {
|
else if (this.category == "退伍复学") {
|
||||||
// updateBasic({stuId:this.form.stuId,fdStatus:"1",fdIdea:this.taskForm.comment}).then(response => {})
|
// updateBasic({stuId:this.form.stuId,fdStatus:"1",fdIdea:this.taskForm.comment}).then(response => {})
|
||||||
var stNameData = ''
|
var stNameData = ''
|
||||||
let newName = this.startUser.replace(/-/g, "");
|
// let newName = this.startUser.replace(/-/g, "");
|
||||||
|
let newName = this.startUser.split('-')[0].trim();
|
||||||
// 异步请求的回调内处理后续逻辑
|
// 异步请求的回调内处理后续逻辑
|
||||||
getStname(newName).then(response => {
|
getStname(newName).then(response => {
|
||||||
stNameData = response.data;
|
stNameData = response.data;
|
||||||
|
|||||||
Reference in New Issue
Block a user