|
@@ -89,7 +89,6 @@
|
|
|
<tr>
|
|
|
<td class="td_con">{{formModel.companyIndustryN}} | {{formModel.companyScaleN}}</td>
|
|
|
<td rowspan="2" align="right" valign="top">
|
|
|
- <!-- <el-avatar :size="56" shape="square" src='http://oss.xiaoxinda.com/enterprise/personInfo/2021/8/b16c75d5-2d5c-4236-b8ec-c7ab8ecb6f14/336.jpg?x-oss-process=image/resize,m_fill,w_64,h_64'></el-avatar> -->
|
|
|
<el-avatar :size="56" shape="square" :src="formModel.companyLogo"></el-avatar>
|
|
|
</td>
|
|
|
</tr>
|
|
@@ -108,7 +107,8 @@
|
|
|
</div>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button @click="closeDialog">取 消</el-button>
|
|
|
- <el-button type="primary" @click="handleSubmit" :loading="submitting">确 定</el-button>
|
|
|
+ <el-button type="danger" @click="handleFail" :loading="submitting">退 回</el-button>
|
|
|
+ <el-button type="primary" @click="handlePass" :loading="submitting">确 定</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
</template>
|
|
@@ -130,13 +130,44 @@ export default {
|
|
|
closeDialog() {
|
|
|
this.$emit("close", false);
|
|
|
},
|
|
|
- handleSubmit() {
|
|
|
+ handlePass() {
|
|
|
var self = this;
|
|
|
|
|
|
(function () {
|
|
|
var formData = new FormData();
|
|
|
formData.append("id", self.businessKey);
|
|
|
formData.append("approveId", self.approveKey);
|
|
|
+ formData.append("approveStatus", "3");
|
|
|
+
|
|
|
+ return recruitmentApi.checked(formData);
|
|
|
+ })().then(function (response) {
|
|
|
+ var jsonData = response.data;
|
|
|
+
|
|
|
+ if (jsonData.result) {
|
|
|
+ self.$message({
|
|
|
+ message: "保存成功!",
|
|
|
+ type: "success",
|
|
|
+ });
|
|
|
+
|
|
|
+ self.$emit("close", true);
|
|
|
+ } else {
|
|
|
+ self.$message({
|
|
|
+ message: jsonData.message + "",
|
|
|
+ type: "warning",
|
|
|
+ });
|
|
|
+
|
|
|
+ self.$emit("close", false);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ handleFail() {
|
|
|
+ var self = this;
|
|
|
+
|
|
|
+ (function () {
|
|
|
+ var formData = new FormData();
|
|
|
+ formData.append("id", self.businessKey);
|
|
|
+ formData.append("approveId", self.approveKey);
|
|
|
+ formData.append("approveStatus", "4");
|
|
|
|
|
|
return recruitmentApi.checked(formData);
|
|
|
})().then(function (response) {
|
|
@@ -164,7 +195,7 @@ export default {
|
|
|
var self = this;
|
|
|
|
|
|
(function () {
|
|
|
- return recruitmentApi.edit(self.businessKey);
|
|
|
+ return recruitmentApi.editD(self.businessKey);
|
|
|
})()
|
|
|
.then((response) => {
|
|
|
var jsonData = response.data;
|