xtz 4 years ago
parent
commit
d85a8737ad

+ 4 - 2
src/views/candidateManage/mailManage.vue

@@ -102,8 +102,9 @@ export default {
       reqdata.useType = 0
       // reqdata.cmpMailType = 0
       // reqdata.cmpMailType = val
+      let url = reqdata.id ? '/companyAccount/updateCompanyAccount' : '/companyAccount/saveReceiverMail'
       this.$api
-        .post('/companyAccount/updateCompanyAccount', {
+        .post(url, {
           reqdata
         })
         .then((res) => {
@@ -139,8 +140,9 @@ export default {
       if (!a) return
       let reqdata = this.form
       reqdata.useType = 1
+      let url = reqdata.id ? '/companyAccount/updateCompanyAccount' : '/companyAccount/saveReceiverMail'
       this.$api
-        .post('/companyAccount/saveReceiverMail', {
+        .post(url, {
           reqdata
         })
         .then((res) => {

+ 6 - 6
src/views/companyManage/templateManage.vue

@@ -13,12 +13,12 @@
     <v-pager @page="callPage" :total="totalrecords"></v-pager>
     <el-dialog :visible.sync="dialogFormVisible" :before-close="close" width="650px" :close-on-click-modal="false">
         <el-form :model="form" ref="form" label-width="140px" :rules="rule" label-position="left">
-            <el-form-item label="模板名称" prop="templateName">
-                <el-input v-if="state !== 2" v-model="form.templateName" placeholder="请输入模板名称" autocomplete="off"></el-input>
+            <el-form-item label="邀约岗位" prop="templateName">
+                <el-input v-if="state !== 2" v-model="form.templateName" placeholder="请输入邀约岗位" autocomplete="off"></el-input>
                 <div v-else>{{form.templateName}}</div>
             </el-form-item>
-            <el-form-item label="模板内容" prop="templateIntroduce">
-                <el-input v-if="state !== 2" type="textarea" :rows="4" resize="none" placeholder="请输入模板内容" v-model="form.templateIntroduce"></el-input>
+            <el-form-item label="邮件内容" prop="templateIntroduce">
+                <el-input v-if="state !== 2" type="textarea" :rows="4" resize="none" placeholder="请输入邮件内容" v-model="form.templateIntroduce"></el-input>
                 <div v-else>{{form.templateIntroduce}}</div>
             </el-form-item>
             <el-form-item label="关联场景" prop="sceneId">
@@ -27,8 +27,8 @@
                 </el-select>
                 <div v-else>{{this.downList0.some(i => i.id === form.sceneId) ? this.downList0.find(i => i.id === form.sceneId).sceneName : ''}}</div>
             </el-form-item>
-            <el-form-item label="关联流程" prop="processId">
-                <el-select v-if="state !== 2" filterable clearable v-model="form.processId" placeholder="请选择关联流程">
+            <el-form-item label="关联岗位" prop="processId">
+                <el-select v-if="state !== 2" filterable clearable v-model="form.processId" placeholder="请选择关联岗位">
                     <el-option v-for="item in downList1" :key="item.id" :label="item.processName" :value="item.id"></el-option>
                 </el-select>
                 <div v-else>{{this.downList1.some(i => i.id === form.processId) ? this.downList1.find(i => i.id === form.processId).processName : ''}}</div>