|
@@ -558,16 +558,13 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
getPreviewList(val){
|
|
getPreviewList(val){
|
|
- console.log("val.problemPicture",val.problemPicture)
|
|
|
|
val.problemPicture.forEach(item =>{
|
|
val.problemPicture.forEach(item =>{
|
|
this.previewSrcList.push(item.filepath)
|
|
this.previewSrcList.push(item.filepath)
|
|
})
|
|
})
|
|
return this.previewSrcList
|
|
return this.previewSrcList
|
|
},
|
|
},
|
|
changeBtn2(param){
|
|
changeBtn2(param){
|
|
- console.log(param)
|
|
|
|
if(param==true){
|
|
if(param==true){
|
|
- console.log(this.processorOptions)
|
|
|
|
if(this.processorOptions.length==0){
|
|
if(this.processorOptions.length==0){
|
|
getAllProcessorDataList().then(res =>{
|
|
getAllProcessorDataList().then(res =>{
|
|
if(res.code == 200){
|
|
if(res.code == 200){
|
|
@@ -753,7 +750,6 @@ export default {
|
|
},
|
|
},
|
|
// 多选框选中数据
|
|
// 多选框选中数据
|
|
handleSelectionChange(selection) {
|
|
handleSelectionChange(selection) {
|
|
- console.log(selection)
|
|
|
|
this.problemInfos = selection// 需要根据数据情况调整id名称
|
|
this.problemInfos = selection// 需要根据数据情况调整id名称
|
|
this.single = selection.length != 1;
|
|
this.single = selection.length != 1;
|
|
this.multiple = !selection.length;
|
|
this.multiple = !selection.length;
|
|
@@ -916,7 +912,7 @@ export default {
|
|
if(valid){
|
|
if(valid){
|
|
this.loading=true
|
|
this.loading=true
|
|
pushWorkOrder(this.form).then(res =>{
|
|
pushWorkOrder(this.form).then(res =>{
|
|
- if(200 == res.code){
|
|
|
|
|
|
+ if(res.code == 200){
|
|
this.$message.success('转工单成功')
|
|
this.$message.success('转工单成功')
|
|
list(this.queryParams).then(res => {
|
|
list(this.queryParams).then(res => {
|
|
if(res.code == 200){
|
|
if(res.code == 200){
|
|
@@ -1054,7 +1050,6 @@ export default {
|
|
},
|
|
},
|
|
async submitFormSolve(){
|
|
async submitFormSolve(){
|
|
this.$refs["form"].validate(async valid => {
|
|
this.$refs["form"].validate(async valid => {
|
|
- console.log("valid",valid)
|
|
|
|
if(valid){
|
|
if(valid){
|
|
if(this.form.id != undefined){
|
|
if(this.form.id != undefined){
|
|
let formData = new FormData();
|
|
let formData = new FormData();
|