|  | @@ -56,6 +56,7 @@
 | 
	
		
			
				|  |  |                style="width: 100%"
 | 
	
		
			
				|  |  |                placeHolder="请输入检查组成员"
 | 
	
		
			
				|  |  |                v-model="info.checkTeam"
 | 
	
		
			
				|  |  | +              maxlength="255"
 | 
	
		
			
				|  |  |              ></el-input> </el-form-item
 | 
	
		
			
				|  |  |          ></el-col>
 | 
	
		
			
				|  |  |          <el-col :span="6">
 | 
	
	
		
			
				|  | @@ -74,7 +75,7 @@
 | 
	
		
			
				|  |  |      <div>
 | 
	
		
			
				|  |  |        <span style="margin-right: 20px">巡检区域</span>
 | 
	
		
			
				|  |  |        <el-button type="primary" size="mini" @click="onAddPoint()"
 | 
	
		
			
				|  |  | -        >新增检查内容</el-button
 | 
	
		
			
				|  |  | +        >选择检查内容</el-button
 | 
	
		
			
				|  |  |        >
 | 
	
		
			
				|  |  |      </div>
 | 
	
		
			
				|  |  |      <div class="content">
 | 
	
	
		
			
				|  | @@ -156,7 +157,7 @@
 | 
	
		
			
				|  |  |        <el-button
 | 
	
		
			
				|  |  |          type="primary"
 | 
	
		
			
				|  |  |          @click="onSubmit()"
 | 
	
		
			
				|  |  | -        v-hasPermi="['safetycheck:register:add']"
 | 
	
		
			
				|  |  | +        v-hasPermi="['core:safetycheck:tempregister']"
 | 
	
		
			
				|  |  |          >提交</el-button
 | 
	
		
			
				|  |  |        >
 | 
	
		
			
				|  |  |      </div>
 | 
	
	
		
			
				|  | @@ -169,7 +170,7 @@
 | 
	
		
			
				|  |  |  </template>
 | 
	
		
			
				|  |  |  <script>
 | 
	
		
			
				|  |  |  import { mapGetters } from "vuex";
 | 
	
		
			
				|  |  | -import * as api from "@/api/safetycheck/register.js";
 | 
	
		
			
				|  |  | +import * as api from "@/api/safetycheck/checkRegister.js";
 | 
	
		
			
				|  |  |  import dayjs from "dayjs";
 | 
	
		
			
				|  |  |  import SelectPoint from "../../ruleManager/dialog.select.point.vue";
 | 
	
		
			
				|  |  |  import imgUpload from "@/components/ImageUpload/index.vue";
 | 
	
	
		
			
				|  | @@ -186,7 +187,7 @@ export default {
 | 
	
		
			
				|  |  |          checkRoleId: null,
 | 
	
		
			
				|  |  |          beCheckedOrgId: null,
 | 
	
		
			
				|  |  |          beCheckOrgType: null,
 | 
	
		
			
				|  |  | -        planStartTime: null,
 | 
	
		
			
				|  |  | +        planStartTime: new Date(),
 | 
	
		
			
				|  |  |          checkTeam: null,
 | 
	
		
			
				|  |  |          checkList: [],
 | 
	
		
			
				|  |  |        },
 | 
	
	
		
			
				|  | @@ -221,13 +222,14 @@ export default {
 | 
	
		
			
				|  |  |          return;
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +      this.info.checkRoleId=null;
 | 
	
		
			
				|  |  |        getNamesByOrgId(node.id).then((r) => {
 | 
	
		
			
				|  |  |          this.roleOptions = r.data;
 | 
	
		
			
				|  |  |          this.prevCheckOrgType = node.type;
 | 
	
		
			
				|  |  |        });
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      onBecheckOrgSelect(node) {
 | 
	
		
			
				|  |  | -      this.info.beCheckOrgType = node.type;
 | 
	
		
			
				|  |  | +      this.info.beCheckOrgType=node.type;
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      onAddPoint() {
 | 
	
		
			
				|  |  |        if (!this.info.beCheckedOrgId) {
 | 
	
	
		
			
				|  | @@ -324,7 +326,7 @@ export default {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      onSave() {
 | 
	
		
			
				|  |  |        this.info.isSubmit = 0;
 | 
	
		
			
				|  |  | -      api.submit(this.info).then((r) => {
 | 
	
		
			
				|  |  | +      api.tempSubmit(this.info).then((r) => {
 | 
	
		
			
				|  |  |          this.$message.info("保存成功");
 | 
	
		
			
				|  |  |        });
 | 
	
		
			
				|  |  |      },
 | 
	
	
		
			
				|  | @@ -343,7 +345,7 @@ export default {
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |        if (isOk) {
 | 
	
		
			
				|  |  |          this.info.isSubmit = 1;
 | 
	
		
			
				|  |  | -        api.submit(this.info).then((r) => {
 | 
	
		
			
				|  |  | +        api.tempSubmit(this.info).then((r) => {
 | 
	
		
			
				|  |  |            this.$message.info("提交成功");
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |        }
 |