|
@@ -305,7 +305,7 @@
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="其他附件" prop="attachIds">
|
|
|
<FileUpload :files="form.fileList" @input="handleSaleSuccess" :multiple="true" :params="params">上传材料</FileUpload>
|
|
|
- <el-table v-loading="loading" :data="list" border style="width: 100%;margin-top: 5px;" v-if="type == 'update'">
|
|
|
+ <el-table v-loading="loading" :data="list" border style="width: 100%;margin-top: 5px;" v-if="type == 'update' || type == 'updateEnt'">
|
|
|
<el-table-column label="序号" type="index" width="50" align="center"></el-table-column>
|
|
|
<el-table-column label="文件名称" prop="fileName" align="center"></el-table-column>
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
@@ -376,7 +376,7 @@ import {getProvinceDataApi,getRegionChildrenApi} from "@/api/common/common"
|
|
|
import { regTypeOptions,mainProductsOptions,yesOrNoOptions } from "@/utils/dataFormat"
|
|
|
import FileUpload from '@/components/FileUpload'
|
|
|
import ImageUpload from '@/components/ImageUpload'
|
|
|
-import {getEnclosureApi} from "@/api/enterprise/project/project"
|
|
|
+import {getEnclosureApi,entUserAudit} from "@/api/enterprise/project/project"
|
|
|
import UploadEnclosure from "./components/UploadEnclosure"
|
|
|
import {deleteEnclosureApi} from '@/api/enterprise/project/project'
|
|
|
import { validIDcard,validAmount,validNumber } from '@/utils/validate'
|
|
@@ -786,6 +786,27 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
});
|
|
|
+ }else if(this.type == 'updateEnt') {
|
|
|
+ this.$refs.form.validate(valid => {
|
|
|
+ if (valid) {
|
|
|
+ this.loading = true;
|
|
|
+ entUserAudit(this.form).then(res => {
|
|
|
+ const userName = this.form.userName;
|
|
|
+ this.$notify.success({
|
|
|
+ title: '系统提示',
|
|
|
+ message: '信息修改成功!',
|
|
|
+ showClose: false,
|
|
|
+ duration: 2000
|
|
|
+ });
|
|
|
+ setTimeout(() => {
|
|
|
+ this.$store.dispatch("tagsView/delView", this.$route);
|
|
|
+ this.$router.go(-1);
|
|
|
+ }, 2000);
|
|
|
+ }).catch(() => {
|
|
|
+ this.loading = false;
|
|
|
+ })
|
|
|
+ }
|
|
|
+ });
|
|
|
}
|
|
|
|
|
|
}
|