|
@@ -362,7 +362,7 @@
|
|
|
width="100"
|
|
|
/>
|
|
|
<el-table-column
|
|
|
- width="300"
|
|
|
+ width="350"
|
|
|
fixed="right"
|
|
|
label="操作"
|
|
|
align="center"
|
|
@@ -389,31 +389,6 @@
|
|
|
>发起立项会议</el-button
|
|
|
>
|
|
|
|
|
|
- <el-button
|
|
|
- class="custom-orange-color"
|
|
|
- v-if="stage == '4'"
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-document"
|
|
|
- @click="handleSurvey(scope.row)"
|
|
|
- >尽职调查</el-button
|
|
|
- >
|
|
|
- <el-button
|
|
|
- class="custom-orange-color"
|
|
|
- v-if="stage == '4'"
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-upload2"
|
|
|
- >上传尽调报告</el-button
|
|
|
- >
|
|
|
- <el-button
|
|
|
- class="custom-orange-color"
|
|
|
- v-if="stage == '4'"
|
|
|
- size="mini"
|
|
|
- type="text"
|
|
|
- icon="el-icon-edit-outline"
|
|
|
- >修改尽调报告</el-button
|
|
|
- >
|
|
|
<el-button
|
|
|
class="custom-orange-color"
|
|
|
v-if="stage == '5'"
|
|
@@ -458,6 +433,37 @@
|
|
|
v-hasPermi="['invest:pool:remove']"
|
|
|
>终止</el-button
|
|
|
>
|
|
|
+ <el-dropdown
|
|
|
+ v-if="stage == '4'"
|
|
|
+ trigger="click"
|
|
|
+ @command="handleSurvey($event, scope.row)"
|
|
|
+ >
|
|
|
+ <span class="el-dropdown-link" @click="getButtonItem(scope.row)">
|
|
|
+ <el-button size="mini" type="text" icon="el-icon-d-arrow-right"
|
|
|
+ >更多</el-button
|
|
|
+ >
|
|
|
+ </span>
|
|
|
+ <el-dropdown-menu slot="dropdown">
|
|
|
+ <el-dropdown-item
|
|
|
+ command="1"
|
|
|
+ v-if="isInitiator && needInitiate"
|
|
|
+ icon="el-icon-document-remove"
|
|
|
+ >发起尽调申请</el-dropdown-item
|
|
|
+ >
|
|
|
+ <el-dropdown-item
|
|
|
+ v-if="isInitiator && !needInitiate"
|
|
|
+ command="2"
|
|
|
+ icon="el-icon-document-remove"
|
|
|
+ >修改尽调申请</el-dropdown-item
|
|
|
+ >
|
|
|
+ <el-dropdown-item
|
|
|
+ v-if="needUpload"
|
|
|
+ icon="el-icon-search"
|
|
|
+ command="3"
|
|
|
+ >上传尽调报告</el-dropdown-item
|
|
|
+ >
|
|
|
+ </el-dropdown-menu>
|
|
|
+ </el-dropdown>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -499,20 +505,201 @@
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
+ <!-- 添加或修改尽调申请 -->
|
|
|
+ <el-dialog
|
|
|
+ :title="dueDiligenceTit"
|
|
|
+ :visible.sync="dueDiligenceOpen"
|
|
|
+ width="1000px"
|
|
|
+ append-to-body
|
|
|
+ >
|
|
|
+ <el-form
|
|
|
+ ref="dueForm"
|
|
|
+ class="special-el-form"
|
|
|
+ :model="dueForm"
|
|
|
+ :rules="dueRules"
|
|
|
+ label-width="100px"
|
|
|
+ >
|
|
|
+ <el-form-item label="尽调名称" prop="investigateName">
|
|
|
+ <el-input
|
|
|
+ :disabled="dueDiligenceType === '3'"
|
|
|
+ v-model="dueForm.investigateName"
|
|
|
+ placeholder="请输入尽调名称"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="项目名称" prop="projectName">
|
|
|
+ <el-input
|
|
|
+ disabled
|
|
|
+ v-model="dueForm.projectName"
|
|
|
+ placeholder="请输入尽调名称"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="尽调人员" prop="investigatePerson">
|
|
|
+ <div
|
|
|
+ class="el-input__inner inputSimulation"
|
|
|
+ @click="userVisible = true"
|
|
|
+ :class="{ show_disabled: dueDiligenceType === '3' }"
|
|
|
+ >
|
|
|
+ {{
|
|
|
+ dueForm.investigatePerson
|
|
|
+ ? dueForm.investigatePerson
|
|
|
+ : "请选择尽调人员"
|
|
|
+ }}
|
|
|
+ </div>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="尽调费用" prop="investigateCost">
|
|
|
+ <el-input
|
|
|
+ :disabled="dueDiligenceType === '3'"
|
|
|
+ v-model="dueForm.investigateCost"
|
|
|
+ placeholder="请输入尽调费用"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="文件" prop="file" class="special-el-form-item">
|
|
|
+ <fileItem
|
|
|
+ :class="{ show_disabled: dueDiligenceType === '3' }"
|
|
|
+ ref="fileItems"
|
|
|
+ :id="dueForm.id"
|
|
|
+ @getFileList="getFileList"
|
|
|
+ ></fileItem>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="描述" prop="describe" class="special-el-form-item">
|
|
|
+ <el-input
|
|
|
+ :disabled="dueDiligenceType === '3'"
|
|
|
+ rows="4"
|
|
|
+ v-model="dueForm.describe"
|
|
|
+ type="textarea"
|
|
|
+ placeholder="请输入内容"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="备注" prop="remark" class="special-el-form-item">
|
|
|
+ <el-input
|
|
|
+ :disabled="dueDiligenceType === '3'"
|
|
|
+ rows="4"
|
|
|
+ type="textarea"
|
|
|
+ v-model="dueForm.remark"
|
|
|
+ placeholder="请输入备注"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="primary" @click="submitDueForm">确 定</el-button>
|
|
|
+ <el-button @click="cancelDueForm">取 消</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
+ <!-- 添加或修改尽调报告 -->
|
|
|
+ <el-dialog
|
|
|
+ :title="dueDiligenceTit1"
|
|
|
+ :visible.sync="dueDiligenceOpen1"
|
|
|
+ width="1000px"
|
|
|
+ append-to-body
|
|
|
+ >
|
|
|
+ <h3>尽调申请详情</h3>
|
|
|
+ <el-divider></el-divider>
|
|
|
+ <el-form
|
|
|
+ ref="duePeportForm"
|
|
|
+ class="special-el-form"
|
|
|
+ :model="duePeportForm"
|
|
|
+ :rules="dueRules1"
|
|
|
+ label-width="100px"
|
|
|
+ >
|
|
|
+ <el-form-item label="尽调名称">
|
|
|
+ <el-input
|
|
|
+ disabled
|
|
|
+ v-model="dueForm.investigateName"
|
|
|
+ placeholder="请输入尽调名称"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="项目名称">
|
|
|
+ <el-input disabled v-model="dueForm.projectName" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="尽调人员">
|
|
|
+ <el-input disabled v-model="dueForm.investigatePerson" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="尽调费用">
|
|
|
+ <el-input disabled v-model="dueForm.investigateCost" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="文件" class="special-el-form-item">
|
|
|
+ <fileItem
|
|
|
+ class="show_disabled"
|
|
|
+ ref="fileItems"
|
|
|
+ :id="dueForm.id"
|
|
|
+ @getFileList="getFileList"
|
|
|
+ ></fileItem>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="描述" class="special-el-form-item">
|
|
|
+ <el-input
|
|
|
+ disabled
|
|
|
+ rows="4"
|
|
|
+ v-model="dueForm.describe"
|
|
|
+ type="textarea"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="备注" class="special-el-form-item">
|
|
|
+ <el-input
|
|
|
+ disabled
|
|
|
+ rows="4"
|
|
|
+ type="textarea"
|
|
|
+ v-model="dueForm.remark"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ <h3>尽调报告</h3>
|
|
|
+ <el-divider></el-divider>
|
|
|
+ <el-form-item label="文件" prop="listFile" class="special-el-form-item">
|
|
|
+ <fileItem
|
|
|
+ ref="reportFileItems"
|
|
|
+ :id="duePeportForm.id"
|
|
|
+ @getFileList="getreportFileList"
|
|
|
+ ></fileItem>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="备注" prop="remark" class="special-el-form-item">
|
|
|
+ <el-input
|
|
|
+ rows="4"
|
|
|
+ type="textarea"
|
|
|
+ v-model="duePeportForm.remark"
|
|
|
+ placeholder="请输入备注"
|
|
|
+ />
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="primary" @click="submitduePeportForm">确 定</el-button>
|
|
|
+ <el-button @click="cancelduePeportForm">取 消</el-button>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
+ <!--选择人员-->
|
|
|
+ <el-dialog
|
|
|
+ title="选择人员"
|
|
|
+ :visible.sync="userVisible"
|
|
|
+ width="60%"
|
|
|
+ :show-close="false"
|
|
|
+ >
|
|
|
+ <flow-user
|
|
|
+ :checkType="checkType"
|
|
|
+ :selectValues="selectValues"
|
|
|
+ @handleUserSelect="handleUserSelect"
|
|
|
+ ></flow-user>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button @click="userVisible = false">取 消</el-button>
|
|
|
+ <el-button type="primary" @click="checkUserComplete">确 定</el-button>
|
|
|
+ </span>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import {
|
|
|
listPool,
|
|
|
- getPool,
|
|
|
delPool,
|
|
|
- addPool,
|
|
|
- updatePool,
|
|
|
editStage,
|
|
|
+ getlistProjectPoolId,
|
|
|
+ addInvestigate,
|
|
|
+ updateInvestigate,
|
|
|
+ addInvestigatePerson,
|
|
|
+ getProjectInvestigateId,
|
|
|
} from "@/api/invest/pool";
|
|
|
import { selectByFlowKey } from "@/api/flowable/definition";
|
|
|
import { listChannel } from "@/api/invest/channel";
|
|
|
+import projectItem from "./projectItem";
|
|
|
+import fileItem from "./fileItem";
|
|
|
+import FlowUser from "@/components/flow/User";
|
|
|
export default {
|
|
|
props: {
|
|
|
type: {
|
|
@@ -528,8 +715,21 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
dicts: ["project_group", "project_stage", "project_state"],
|
|
|
+ components: { projectItem, fileItem, FlowUser },
|
|
|
data() {
|
|
|
+ const validateLogo = (rule, value, callback) => {
|
|
|
+ if (this.reportFileList.length <= 0) {
|
|
|
+ callback(new Error("请上传文件"));
|
|
|
+ } else {
|
|
|
+ callback();
|
|
|
+ }
|
|
|
+ };
|
|
|
return {
|
|
|
+ // 人员选择器
|
|
|
+ checkType: "multiple",
|
|
|
+ // 数据回显
|
|
|
+ selectValues: null,
|
|
|
+ userVisible: false,
|
|
|
project_state: [],
|
|
|
projectState: [
|
|
|
[
|
|
@@ -673,9 +873,75 @@ export default {
|
|
|
deploymentId: null,
|
|
|
id: null,
|
|
|
},
|
|
|
+
|
|
|
+ isInitiator: false, //是否是发起人
|
|
|
+ needInitiate: false, //需要发起申请
|
|
|
+ needUpload: false, //需要上传
|
|
|
+ user: {
|
|
|
+ userId: null,
|
|
|
+ nickName: null,
|
|
|
+ },
|
|
|
+ dueDiligenceTit: "",
|
|
|
+ dueDiligenceOpen: false,
|
|
|
+ dueDiligenceTit1: "",
|
|
|
+ dueDiligenceOpen1: false,
|
|
|
+ duePeportForm: {
|
|
|
+ createBy: null,
|
|
|
+ createTime: null,
|
|
|
+ deptId: null,
|
|
|
+ deptName: null,
|
|
|
+ id: null,
|
|
|
+ investigatePerson: null,
|
|
|
+ investigatePersonId: null,
|
|
|
+ listFile: null,
|
|
|
+ projectInvestigateId: null,
|
|
|
+ remark: null,
|
|
|
+ updateBy: null,
|
|
|
+ updateTime: null,
|
|
|
+ },
|
|
|
+ dueForm: {
|
|
|
+ id: null,
|
|
|
+ investigateName: null,
|
|
|
+ investigateCode: null,
|
|
|
+ projectPoolId: null,
|
|
|
+ investigatePerson: null,
|
|
|
+ investigatePersonId: null,
|
|
|
+ investigateCost: null,
|
|
|
+ describe: null,
|
|
|
+ remark: null,
|
|
|
+ delFlag: null,
|
|
|
+ createBy: null,
|
|
|
+ createTime: null,
|
|
|
+ updateBy: null,
|
|
|
+ updateTime: null,
|
|
|
+ projectPoolId: null,
|
|
|
+ projectName: null,
|
|
|
+ },
|
|
|
+ dueRules1: {
|
|
|
+ listFile: [{ required: true, validator: validateLogo }],
|
|
|
+ remark: [{ required: true, trigger: "blur", message: "请输入" }],
|
|
|
+ },
|
|
|
+ dueRules: {
|
|
|
+ investigateName: [
|
|
|
+ { required: true, trigger: "blur", message: "请输入" },
|
|
|
+ ],
|
|
|
+ projectName: [{ required: true, trigger: "blur", message: "请输入" }],
|
|
|
+ investigatePerson: [
|
|
|
+ { required: true, trigger: "blur", message: "请选择" },
|
|
|
+ ],
|
|
|
+ investigateCost: [
|
|
|
+ { required: true, trigger: "blur", message: "请输入" },
|
|
|
+ ],
|
|
|
+ describe: [{ required: true, trigger: "blur", message: "请输入" }],
|
|
|
+ },
|
|
|
+ fileList: [],
|
|
|
+ reportFileList: [],
|
|
|
+ dueDiligenceType: "0",
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
|
+ this.user = this.$store.getters.user;
|
|
|
+ this.user.userId = this.user.userId.toString();
|
|
|
// 项目阶段
|
|
|
if (this.stage != "0") {
|
|
|
this.queryParams.projectStage = this.stage;
|
|
@@ -707,6 +973,26 @@ export default {
|
|
|
this.getList();
|
|
|
},
|
|
|
methods: {
|
|
|
+ /*用户选中赋值*/
|
|
|
+ checkUserComplete() {
|
|
|
+ this.userVisible = false;
|
|
|
+ this.checkType = "";
|
|
|
+ },
|
|
|
+ // 用户选中数据
|
|
|
+ handleUserSelect(selection) {
|
|
|
+ const that = this;
|
|
|
+ if (selection) {
|
|
|
+ if (selection instanceof Array) {
|
|
|
+ const userIds = selection.map((item) => item.userId);
|
|
|
+ const nickName = selection.map((item) => item.nickName);
|
|
|
+ this.dueForm.investigatePerson = nickName.join(",");
|
|
|
+ this.dueForm.investigatePersonId = userIds.join(",");
|
|
|
+ } else {
|
|
|
+ this.dueForm.investigatePerson = selection.nickName;
|
|
|
+ this.dueForm.investigatePersonId = selection.userId;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
// 下拉框改变
|
|
|
handleProjectSelect(index, dict) {
|
|
|
this.form.projectState = null;
|
|
@@ -774,17 +1060,168 @@ export default {
|
|
|
query: { id: row.id, type: "1", meetingType: meetingType },
|
|
|
});
|
|
|
},
|
|
|
+
|
|
|
+ // 获取fileList
|
|
|
+ getFileList(fileList) {
|
|
|
+ this.fileList = fileList;
|
|
|
+ },
|
|
|
+ getreportFileList(fileList) {
|
|
|
+ this.reportFileList = fileList;
|
|
|
+ },
|
|
|
+ // 获取公司信息
|
|
|
+ getProjectInfo(info) {
|
|
|
+ this.dueForm.projectPoolId = info[0].id;
|
|
|
+ this.dueForm.projectName = info[0].projectName;
|
|
|
+ this.dueForm.projectStage = info[0].projectStage;
|
|
|
+ this.dueForm.projectState = info[0].projectState;
|
|
|
+ },
|
|
|
+
|
|
|
+ handleProjectItem() {
|
|
|
+ this.$refs.projectItem.showProjectItem = true;
|
|
|
+ },
|
|
|
+ getButtonItem(row) {
|
|
|
+ let that = this;
|
|
|
+ this.needUpload = false;
|
|
|
+ // 是否是发起人
|
|
|
+ this.isInitiator = row.investHead == this.user.nickName;
|
|
|
+ getlistProjectPoolId(row.id).then((response) => {
|
|
|
+ // 是否有尽调报告
|
|
|
+ if (response.tProjectInvestigate) {
|
|
|
+ // 修改尽调申请
|
|
|
+ this.needInitiate = false;
|
|
|
+ this.dueForm = response.tProjectInvestigate;
|
|
|
+ // 如果上传人有 this.user.userId 那么 needUpload=true
|
|
|
+ // 需要上传的人数组
|
|
|
+ let investigatePersonIdList =
|
|
|
+ response.tProjectInvestigate.investigatePersonId.split(",");
|
|
|
+ if (investigatePersonIdList.indexOf(this.user.userId) > -1) {
|
|
|
+ this.needUpload = true;
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ // 发起尽调申请
|
|
|
+ this.needInitiate = true;
|
|
|
+ if (!this.isInitiator) {
|
|
|
+ this.$message.warning("暂无更多操作权限");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
// 发起尽调申请
|
|
|
- handleSurvey(row) {
|
|
|
- this.$router.push({
|
|
|
- path: "/invest/pool/surveyForm",
|
|
|
- query: {
|
|
|
- deployId: this.surveyForm.deploymentId,
|
|
|
- procDefId: this.surveyForm.id,
|
|
|
- },
|
|
|
+ handleSurvey(type, row) {
|
|
|
+ let that = this;
|
|
|
+ this.dueDiligenceType = type;
|
|
|
+ //type 1=发起 2=修改 3=上传
|
|
|
+ console.log(type, row);
|
|
|
+ if (type === "1") {
|
|
|
+ this.resetDueForm();
|
|
|
+ setTimeout(() => {
|
|
|
+ that.$refs.fileItems.fileList = [];
|
|
|
+ }, 200);
|
|
|
+ this.dueDiligenceTit = "发起尽调申请";
|
|
|
+ this.dueDiligenceOpen = true;
|
|
|
+ } else if (type === "2") {
|
|
|
+ setTimeout(() => {
|
|
|
+ that.$refs.fileItems.getListFileBusinessId(this.dueForm.id);
|
|
|
+ }, 200);
|
|
|
+ this.dueDiligenceTit = "修改尽调申请";
|
|
|
+ this.dueDiligenceOpen = true;
|
|
|
+ } else if (type === "3") {
|
|
|
+ this.duePeportForm.projectInvestigateId = this.dueForm.id;
|
|
|
+ setTimeout(() => {
|
|
|
+ that.$refs.fileItems.getListFileBusinessId(this.dueForm.id);
|
|
|
+ that.$refs.reportFileItems.fileList = [];
|
|
|
+ that.$refs.reportFileItems.getListFileBusinessId(
|
|
|
+ this.duePeportForm.id
|
|
|
+ );
|
|
|
+ }, 200);
|
|
|
+ this.dueDiligenceTit1 = "上传尽调报告";
|
|
|
+ getProjectInvestigateId(this.dueForm.id).then((response) => {
|
|
|
+ if (response.data) {
|
|
|
+ this.duePeportForm = response.data;
|
|
|
+ }
|
|
|
+ this.dueDiligenceOpen1 = true;
|
|
|
+ });
|
|
|
+ }
|
|
|
+ this.dueForm.projectName = row.projectName;
|
|
|
+ this.dueForm.projectPoolId = row.id;
|
|
|
+ },
|
|
|
+ // 尽调报告
|
|
|
+ submitduePeportForm() {
|
|
|
+ this.$refs["duePeportForm"].validate((valid) => {
|
|
|
+ if (valid) {
|
|
|
+ this.duePeportForm.listFile = this.reportFileList;
|
|
|
+ addInvestigatePerson(this.duePeportForm).then((response) => {
|
|
|
+ this.$modal.msgSuccess("操作成功");
|
|
|
+ this.dueDiligenceOpen1 = false;
|
|
|
+ });
|
|
|
+ }
|
|
|
});
|
|
|
},
|
|
|
-
|
|
|
+ cancelduePeportForm() {
|
|
|
+ this.dueDiligenceOpen1 = false;
|
|
|
+ this.resetduePeportForm();
|
|
|
+ },
|
|
|
+ resetduePeportForm() {
|
|
|
+ this.duePeportForm = {
|
|
|
+ createBy: null,
|
|
|
+ createTime: null,
|
|
|
+ deptId: null,
|
|
|
+ deptName: null,
|
|
|
+ id: null,
|
|
|
+ investigatePerson: null,
|
|
|
+ investigatePersonId: null,
|
|
|
+ listFile: null,
|
|
|
+ remark: null,
|
|
|
+ updateBy: null,
|
|
|
+ updateTime: null,
|
|
|
+ projectInvestigateId: this.dueForm.id,
|
|
|
+ };
|
|
|
+ },
|
|
|
+ // 尽调申请
|
|
|
+ submitDueForm() {
|
|
|
+ this.$refs["dueForm"].validate((valid) => {
|
|
|
+ if (valid) {
|
|
|
+ this.dueForm.listFile = this.fileList;
|
|
|
+ if (this.dueForm.id != null) {
|
|
|
+ updateInvestigate(this.dueForm).then((response) => {
|
|
|
+ this.$modal.msgSuccess("修改成功");
|
|
|
+ this.dueDiligenceOpen = false;
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ addInvestigate(this.dueForm).then((response) => {
|
|
|
+ this.$modal.msgSuccess("新增成功");
|
|
|
+ this.dueDiligenceOpen = false;
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ cancelDueForm() {
|
|
|
+ this.dueDiligenceOpen = false;
|
|
|
+ this.resetDueForm();
|
|
|
+ },
|
|
|
+ // 表单重置
|
|
|
+ resetDueForm() {
|
|
|
+ this.dueForm = {
|
|
|
+ id: null,
|
|
|
+ investigateName: null,
|
|
|
+ investigateCode: null,
|
|
|
+ projectPoolId: null,
|
|
|
+ investigatePerson: null,
|
|
|
+ investigatePersonId: null,
|
|
|
+ investigateCost: null,
|
|
|
+ describe: null,
|
|
|
+ remark: null,
|
|
|
+ delFlag: null,
|
|
|
+ createBy: null,
|
|
|
+ createTime: null,
|
|
|
+ updateBy: null,
|
|
|
+ updateTime: null,
|
|
|
+ projectPoolId: null,
|
|
|
+ projectName: null,
|
|
|
+ };
|
|
|
+ this.resetForm("dueForm");
|
|
|
+ },
|
|
|
// 上传跟进记录
|
|
|
handlefollowRecord(row) {
|
|
|
this.$store.commit("SET_PROJECTITEMMESSAGE", row);
|