Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
薪
薪瑞通-前端
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
许珑标
薪瑞通-前端
Commits
794c3215
Commit
794c3215
authored
May 23, 2025
by
谢子梦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stage:发包任务管理问题修复
parent
4dba3095
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
38 deletions
+39
-38
src/views/business/onlineTaskInfo/index.vue
src/views/business/onlineTaskInfo/index.vue
+39
-38
No files found.
src/views/business/onlineTaskInfo/index.vue
View file @
794c3215
...
@@ -89,13 +89,8 @@
...
@@ -89,13 +89,8 @@
v-hasPermi=
"['business:onlineTaskInfo:recived']"
@
click=
"handleRecivedVisible(scope.row)"
>
接收任务
</el-button>
v-hasPermi=
"['business:onlineTaskInfo:recived']"
@
click=
"handleRecivedVisible(scope.row)"
>
接收任务
</el-button>
<el-button
v-if=
"scope.row.status == 21"
size=
"mini"
type=
"text"
icon=
"el-icon-upload"
<el-button
v-if=
"scope.row.status == 21"
size=
"mini"
type=
"text"
icon=
"el-icon-upload"
v-hasPermi=
"['business:onlineTaskInfo:importPayInfo']"
@
click=
"importPayInfo(scope.row)"
>
导入名单
</el-button>
v-hasPermi=
"['business:onlineTaskInfo:importPayInfo']"
@
click=
"importPayInfo(scope.row)"
>
导入名单
</el-button>
<el-button
<el-button
size=
"mini"
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
size=
"mini"
v-hasPermi=
"['business:onlineTaskInfo:edit']"
>
修改
</el-button>
type=
"text"
icon=
"el-icon-edit"
@
click=
"handleUpdate(scope.row)"
v-hasPermi=
"['business:onlineTaskInfo:edit']"
>
修改
</el-button>
<!--
<el-button-->
<!--
<el-button-->
<!-- size="mini"-->
<!-- size="mini"-->
<!-- type="text"-->
<!-- type="text"-->
...
@@ -135,8 +130,8 @@
...
@@ -135,8 +130,8 @@
<el-form-item
label=
"所属行业"
prop=
"industry"
>
<el-form-item
label=
"所属行业"
prop=
"industry"
>
<el-input
v-model=
"form.industry"
placeholder=
"请输入所属行业"
/>
<el-input
v-model=
"form.industry"
placeholder=
"请输入所属行业"
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"代发企业"
prop=
"taxCompany
Sign
Id"
>
<el-form-item
label=
"代发企业"
prop=
"taxCompanyId"
>
<el-select
v-model=
"form.taxCompany
Sign
Id"
placeholder=
"请选择代发企业"
clearable
@
change=
"taxCompanyChange"
>
<el-select
v-model=
"form.taxCompanyId"
placeholder=
"请选择代发企业"
clearable
@
change=
"taxCompanyChange"
>
<el-option
v-for=
"item in taxCompanyList"
:key=
"item.id"
:label=
"item.taxUnitName"
<el-option
v-for=
"item in taxCompanyList"
:key=
"item.id"
:label=
"item.taxUnitName"
:value=
"item.id"
></el-option>
:value=
"item.id"
></el-option>
</el-select>
</el-select>
...
@@ -145,7 +140,8 @@
...
@@ -145,7 +140,8 @@
<!-- <el-input v-model="form.araeCode" placeholder="请输入地区code" />-->
<!-- <el-input v-model="form.araeCode" placeholder="请输入地区code" />-->
<!-- </el-form-item>-->
<!-- </el-form-item>-->
<el-form-item
label=
"所在区域"
prop=
"area"
>
<el-form-item
label=
"所在区域"
prop=
"area"
>
<el-cascader
style=
"width: 100%;"
size=
"small"
:options=
"options"
v-model=
"form.selectedOptions"
@
change=
"handleChange"
/>
<el-cascader
style=
"width: 100%;"
size=
"small"
:options=
"options"
v-model=
"form.selectedOptions"
@
change=
"handleChange"
/>
</el-form-item>
</el-form-item>
<!-- <el-form-item label="所在区域" prop="area">
<!-- <el-form-item label="所在区域" prop="area">
<el-input v-model="form.area" placeholder="请输入所在区域" />
<el-input v-model="form.area" placeholder="请输入所在区域" />
...
@@ -216,12 +212,12 @@
...
@@ -216,12 +212,12 @@
</el-dialog>
</el-dialog>
<el-dialog
title=
"接受任务并签订合同"
:visible.sync=
"receiveSignVisible"
width=
"40%"
center
>
<el-dialog
title=
"接受任务并签订合同"
:visible.sync=
"receiveSignVisible"
width=
"40%"
center
>
<div
style=
"margin: 20px;padding: 20px;"
>
<div
style=
"margin: 20px;padding: 20px;"
>
<iframe
:src=
this.contractUrl
style=
"width:100%;height:600px;"
frameborder=
"0"
></iframe>
<iframe
:src=
this.contractUrl
style=
"width:100%;height:600px;"
frameborder=
"0"
></iframe>
</div>
</div>
<div
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center;"
>
<div
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center;"
>
<el-button
type=
"primary"
@
click.native=
"handleRecived"
>
接收任务并签订合同
</el-button>
<el-button
type=
"primary"
@
click.native=
"handleRecived"
>
接收任务并签订合同
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
</div>
</div>
</template>
</template>
...
@@ -414,6 +410,8 @@ export default {
...
@@ -414,6 +410,8 @@ export default {
this
.
applyCompanyList
=
response
.
rows
;
this
.
applyCompanyList
=
response
.
rows
;
}
else
if
(
bindType
==
2
)
{
}
else
if
(
bindType
==
2
)
{
this
.
taxCompanyList
=
response
.
rows
;
this
.
taxCompanyList
=
response
.
rows
;
// console.log('返回的企业信息', this.taxCompanyList);
}
}
this
.
loading
=
false
;
this
.
loading
=
false
;
});
});
...
@@ -433,6 +431,7 @@ export default {
...
@@ -433,6 +431,7 @@ export default {
return
;
return
;
}
}
this
.
taxCompanyList
=
response
.
rows
;
this
.
taxCompanyList
=
response
.
rows
;
// console.log('返回的企业信息', this.taxCompanyList);
}
}
})
})
},
},
...
@@ -517,17 +516,19 @@ export default {
...
@@ -517,17 +516,19 @@ export default {
handleUpdate
(
row
)
{
handleUpdate
(
row
)
{
this
.
reset
();
this
.
reset
();
const
id
=
row
.
id
||
this
.
ids
const
id
=
row
.
id
||
this
.
ids
getOnlineTaskInfo
(
id
).
then
(
response
=>
{
getOnlineTaskInfo
(
id
).
then
(
async
(
response
)
=>
{
await
this
.
queryTaxCompanyList
(
response
.
data
.
companyId
);
this
.
form
=
response
.
data
;
this
.
form
=
response
.
data
;
//查询合作机构list
//服务时间
//服务时间
this
.
form
.
serviceTimeArr
=
[
this
.
form
.
serviceTimeStart
,
this
.
form
.
serviceTimeEnd
];
this
.
form
.
serviceTimeArr
=
[
this
.
form
.
serviceTimeStart
,
this
.
form
.
serviceTimeEnd
];
//查询合作机构list
this
.
queryTaxCompanyList
(
this
.
form
.
companyId
);
this
.
onlineTaskId
=
row
.
id
;
this
.
onlineTaskId
=
row
.
id
;
// console.log(this.form);
this
.
open
=
true
;
this
.
open
=
true
;
this
.
title
=
"
修改线上任务信息
"
;
this
.
title
=
"
修改线上任务信息
"
;
this
.
$forceUpdate
();
});
});
},
},
/** 提交按钮 */
/** 提交按钮 */
...
@@ -725,24 +726,24 @@ export default {
...
@@ -725,24 +726,24 @@ export default {
confirmSealContractFile
()
{
confirmSealContractFile
()
{
// TODO 确认框
// TODO 确认框
// this.$modal.confirm('是否确认签订合同?').then(() => {
// this.$modal.confirm('是否确认签订合同?').then(() => {
// 添加 loading 提示
// 添加 loading 提示
this
.
$modal
.
loading
(
"
正在签订合同,请稍候...
"
);
this
.
$modal
.
loading
(
"
正在签订合同,请稍候...
"
);
const
obj
=
{
id
:
this
.
onlineTaskId
,
status
:
10
};
const
obj
=
{
id
:
this
.
onlineTaskId
,
status
:
10
};
signContractFile
(
obj
).
then
(
response
=>
{
signContractFile
(
obj
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
"
签订合同成功
"
);
this
.
$modal
.
msgSuccess
(
"
签订合同成功
"
);
this
.
contractUrl
=
response
.
data
;
this
.
contractUrl
=
response
.
data
;
this
.
active
=
3
;
this
.
active
=
3
;
this
.
getList
();
this
.
getList
();
}
else
{
}
else
{
this
.
$modal
.
msgError
(
"
签订合同失败:
"
+
(
response
.
msg
||
"
未知错误
"
));
this
.
$modal
.
msgError
(
"
签订合同失败:
"
+
(
response
.
msg
||
"
未知错误
"
));
}
}
}).
catch
(
error
=>
{
}).
catch
(
error
=>
{
console
.
error
(
"
签订合同接口调用失败
"
,
error
);
console
.
error
(
"
签订合同接口调用失败
"
,
error
);
this
.
$modal
.
msgError
(
"
签订合同失败,请稍后再试
"
);
this
.
$modal
.
msgError
(
"
签订合同失败,请稍后再试
"
);
}).
finally
(()
=>
{
}).
finally
(()
=>
{
this
.
$modal
.
closeLoading
()
this
.
$modal
.
closeLoading
()
});
});
// }).catch(() => {
// }).catch(() => {
// // 用户取消操作
// // 用户取消操作
// this.$modal.msgError("已取消签订合同");
// this.$modal.msgError("已取消签订合同");
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment