|
@@ -52,7 +52,7 @@
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
- <el-col :span="12" v-if="operationForm.typeAttr != '1' && operationForm.isAddSalesman == '1'">
|
|
|
|
|
|
|
+ <el-col :span="12" v-if="operationForm.typeAttr != '6' && operationForm.isAddSalesman == '1'">
|
|
|
<el-form-item prop="organizationId" label="所属团队">
|
|
<el-form-item prop="organizationId" label="所属团队">
|
|
|
<el-select v-model="operationForm.organizationId" placeholder="请选择所属团队" @change="handleDeptChange">
|
|
<el-select v-model="operationForm.organizationId" placeholder="请选择所属团队" @change="handleDeptChange">
|
|
|
<el-option v-for="item in teamList" :key="item.id" :value="item.id" :label="item.name"></el-option>
|
|
<el-option v-for="item in teamList" :key="item.id" :value="item.id" :label="item.name"></el-option>
|
|
@@ -941,7 +941,6 @@ const uploadImage = (file, type) => {
|
|
|
// params.append("multipartFile", files);
|
|
// params.append("multipartFile", files);
|
|
|
// params.append("type", "image");
|
|
// params.append("type", "image");
|
|
|
api.areaApi.fileUpload(params).then((res: any) => {
|
|
api.areaApi.fileUpload(params).then((res: any) => {
|
|
|
-
|
|
|
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
|
switch (type) {
|
|
switch (type) {
|
|
|
case 1:
|
|
case 1:
|
|
@@ -1170,7 +1169,8 @@ const onSubmit = async (OperationFormRef: FormInstance, type: number) => {
|
|
|
}
|
|
}
|
|
|
await OperationFormRef.validate((valid) => {
|
|
await OperationFormRef.validate((valid) => {
|
|
|
if (valid) {
|
|
if (valid) {
|
|
|
-
|
|
|
|
|
|
|
+ console.log(operationForm.value)
|
|
|
|
|
+ return
|
|
|
if (!route.query.id) {
|
|
if (!route.query.id) {
|
|
|
api.operationApi.addOperation({
|
|
api.operationApi.addOperation({
|
|
|
...operationForm.value,
|
|
...operationForm.value,
|