Sfoglia il codice sorgente

面谈项目新增功能参数修改

雷佳斌 1 mese fa
parent
commit
31e75260d1
2 ha cambiato i file con 8 aggiunte e 8 eliminazioni
  1. 7 7
      src/pages/applyDepart/enterprise.jsx
  2. 1 1
      src/pages/interview/index.jsx

+ 7 - 7
src/pages/applyDepart/enterprise.jsx

@@ -212,17 +212,17 @@ class Enterprise extends Component {
     })
       .then((msg) => {
         if (msg.error.length === 0) {
-          if (msg.data) {
+        //   if (msg.data) {
             list.push(v)
             this.setState({
               newList: list
             })
-          } else {
-            Taro.showToast({
-              title: "请先完善客户档案,才可发起公出",
-              icon: 'none'
-            })
-          }
+        //   } else {
+        //     Taro.showToast({
+        //       title: "请先完善客户档案,才可发起公出",
+        //       icon: 'none'
+        //     })
+        //   }
         } else {
           Taro.showToast({
             title: msg.error[0].message,

+ 1 - 1
src/pages/interview/index.jsx

@@ -551,7 +551,7 @@ class CustomerProfile extends Component {
   }
   postAddProject() {
     const { checkProject, dtails, info } = this.state;
-    const params = { uid: dtails.id };
+    const params = { uid: dtails.uid };
     if (!checkProject.length) {
         Taro.showToast({
           title: "请选择要添加的项目",