Browse Source

代码优化

雷佳斌 2 months ago
parent
commit
2f4a0f8375

+ 1 - 1
src/components/common/CheckboxPicker/index.jsx

@@ -1,5 +1,5 @@
 import React, { Component } from "react";
-import { AtFloatLayout , AtCheckbox, AtButton } from "taro-ui";
+import { AtFloatLayout, AtCheckbox, AtButton } from "taro-ui";
 
 import 'taro-ui/dist/style/components/float-layout.scss';
 import 'taro-ui/dist/style/components/button.scss';

+ 2 - 6
src/pages/applyDepart/index.jsx

@@ -1,7 +1,7 @@
 import React, { Component } from "react";
 import { connect } from "react-redux";
 import { View } from "@tarojs/components";
-import { AtSteps, AtButton, AtListItem } from "taro-ui";
+import { AtSteps, AtButton } from "taro-ui";
 
 import "taro-ui/dist/style/components/steps.scss";
 import "taro-ui/dist/style/components/icon.scss";
@@ -207,11 +207,7 @@ class ApplyDepart extends Component {
                         />
                     )
                 }
-                
-              {/* <PublicContent
-                enterpriseInfor={this.state.enterpriseInfor}
-                selectArrderLocation={this.state.selectArrderLocation}
-              /> */}
+
             </View>
             <View
               style={{ display: this.state.current === 2 ? "block" : "none" }}

+ 0 - 8
src/pages/customerProfile/index.jsx

@@ -4,23 +4,18 @@ import Taro, { getCurrentInstance } from "@tarojs/taro";
 import { getProvince } from '../../utils/tools/index'
 import {
   AtSearchBar,
-  AtCheckbox,
   AtTextarea,
   AtModal,
   AtModalHeader,
   AtModalContent,
   AtModalAction,
   AtInput,
-  AtIcon,
   AtButton,
-  AtTag,
-  AtRadio,
   AtInputNumber
 } from "taro-ui";
 import Skeleton from "taro-skeleton";
 import {
   queryByUidAll,
-  updateUserDate,
   updateUser,
   addOneContact,
   findCustomerContacts,
@@ -33,15 +28,12 @@ import {
 } from "../../utils/servers/servers";
 import "./index.less";
 
-import "taro-ui/dist/style/components/icon.scss";
 import "taro-ui/dist/style/components/textarea.scss";
 import "taro-ui/dist/style/components/modal.scss";
 import "taro-ui/dist/style/components/timeline.scss";
 import "taro-ui/dist/style/components/calendar.scss";
 import "taro-ui/dist/style/components/input.scss";
-import "taro-ui/dist/style/components/checkbox.scss";
 import "taro-ui/dist/style/components/search-bar.scss";
-import "taro-ui/dist/style/components/tag.scss";
 
 import MessageNoticebar from "../../components/common/messageNoticebar";
 import { industry, channelTypeList, yearList } from '../../utils/tools/config';

+ 0 - 6
src/pages/interview/index.jsx

@@ -4,7 +4,6 @@ import Taro, { getCurrentInstance } from "@tarojs/taro";
 import { getProvince } from '../../utils/tools/index'
 import {
   AtSearchBar,
-  AtCheckbox,
   AtTextarea,
   AtModal,
   AtModalHeader,
@@ -13,14 +12,11 @@ import {
   AtInput,
   AtIcon,
   AtButton,
-  AtTag,
-  AtRadio,
   AtInputNumber
 } from "taro-ui";
 import Skeleton from "taro-skeleton";
 import {
   queryByUidAll,
-  updateUserDate,
   updateUser,
   addOneContact,
   findCustomerContacts,
@@ -39,9 +35,7 @@ import "taro-ui/dist/style/components/modal.scss";
 import "taro-ui/dist/style/components/timeline.scss";
 import "taro-ui/dist/style/components/calendar.scss";
 import "taro-ui/dist/style/components/input.scss";
-import "taro-ui/dist/style/components/checkbox.scss";
 import "taro-ui/dist/style/components/search-bar.scss";
-import "taro-ui/dist/style/components/tag.scss";
 
 import MessageNoticebar from "../../components/common/messageNoticebar";
 import { industry, channelTypeList, yearList } from '../../utils/tools/config';