|
@@ -6,6 +6,15 @@
|
|
|
<template>
|
|
|
<el-form :model="addData" :rules="rules" ref="addData" label-width="100px" class="demo-ruleForm">
|
|
|
<el-row>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="导游地接" prop="StaffType">
|
|
|
+ <el-select v-model="addData.StaffType" placeholder="导游地接">
|
|
|
+ <el-option :key="0" label="公司" :value="0"></el-option>
|
|
|
+ <el-option :key="1" label="个人" :value="1"></el-option>
|
|
|
+
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col :span="8">
|
|
|
<el-form-item label="服务评分" prop="Score">
|
|
|
<el-select v-model="addData.Score" placeholder="服务评分">
|
|
@@ -215,6 +224,7 @@ export default {
|
|
|
LocalAndChineseScore: 'A',
|
|
|
CreateUserId: '',
|
|
|
Remark: '',
|
|
|
+ StaffType: ''
|
|
|
},
|
|
|
unitAreas: [],
|
|
|
restaurants: [],
|
|
@@ -243,7 +253,7 @@ export default {
|
|
|
}
|
|
|
}).then(function (res) {
|
|
|
if (res.data.code == 200) {
|
|
|
-
|
|
|
+ debugger
|
|
|
that.tableData = res.data.data;
|
|
|
that.tableData.forEach(function (item, index) {
|
|
|
that.unitAreas.push({
|
|
@@ -339,6 +349,7 @@ export default {
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
+ debugger
|
|
|
this.addData.Status = 2;
|
|
|
this.addData.Id = this.LocalGuideData.id;
|
|
|
this.addData.UnitArea = this.LocalGuideData.unitArea;
|
|
@@ -359,6 +370,7 @@ export default {
|
|
|
this.addData.LocalAndChineseScore = this.LocalGuideData.localAndChineseScore;
|
|
|
this.addData.CreateUserId = this.LocalGuideData.createUserId;
|
|
|
this.addData.Remark = this.LocalGuideData.remark;
|
|
|
+ this.addData.StaffType = parseInt(this.LocalGuideData.staffType)
|
|
|
},
|
|
|
},
|
|
|
|