任务台

szh-new
lijingjia 4 months ago
parent 74954f49b8
commit 7a596a5550

@ -71,8 +71,12 @@
.ant-form-item-label { .ant-form-item-label {
label { label {
font-size: 12px; font-size: 12px;
height: 24px;
} }
} }
.ant-form-item-control-input {
min-height: 24px;
}
.ant-form-item-control-input-content { .ant-form-item-control-input-content {
font-size: 12px; font-size: 12px;
font-weight: 600; font-weight: 600;

@ -128,7 +128,7 @@
} }
// //
const previewFile = (item) => { const previewFile = (item) => {
let fileURL = `http://118.190.144.189:3008//${item.filePath}` let fileURL = `http://118.190.144.189:3008/LinkAttach/${item.filePath}`
window.open(fileURL) window.open(fileURL)
} }
const showIcon = (v) => { const showIcon = (v) => {

@ -968,7 +968,8 @@
const submit = async () => { const submit = async () => {
const postData = { const postData = {
businessId: id.value, businessId: id.value,
businessType: '1' businessType: '1',
taskTypeName: 'WAIT_ORDER_AUDIT'
} }
loading.value = true loading.value = true
await CreateTask(postData) await CreateTask(postData)

@ -199,6 +199,15 @@ export const basicInfoFormSchema: FormSchema[] = [
valueFormat: 'YYYY-MM', valueFormat: 'YYYY-MM',
}, },
}, },
{
field: 'isBusinessLocking',
label: '业务锁定',
component: 'Input',
required: false,
dynamicDisabled: true,
colProps: { span: 4 },
colSlot: 'isBusinessLocking'
},
{ {
field: 'blType', field: 'blType',
label: '装运方式', label: '装运方式',
@ -227,15 +236,6 @@ export const basicInfoFormSchema: FormSchema[] = [
} }
} }
}, },
{
field: 'isBusinessLocking',
label: '业务锁定',
component: 'Input',
required: false,
dynamicDisabled: true,
colProps: { span: 4 },
colSlot: 'isBusinessLocking'
},
{ {
label: '业务来源', label: '业务来源',
field: 'sourceId', field: 'sourceId',

@ -55,13 +55,13 @@
<template #isBusinessLocking="item"> <template #isBusinessLocking="item">
<span class="lock-box" style="margin-right: 15px;"> <span class="lock-box" style="margin-right: 15px;">
业务锁定 业务锁定
<div> <div :class="{ 'locksuo': item.values.isBusinessLocking, 'openkaisuo': !item.values.isBusinessLocking }">
<span class="iconfont" :class="{ 'icon-locksuo': item.values.isBusinessLocking, 'icon-lock-openkaisuo': !item.values.isBusinessLocking }"></span> <span class="iconfont" :class="{ 'icon-locksuo': item.values.isBusinessLocking, 'icon-lock-openkaisuo': !item.values.isBusinessLocking }"></span>
</div> </div>
</span> </span>
<span class="lock-box"> <span class="lock-box">
费用锁定 费用锁定
<div> <div :class="{ 'locksuo': item.values.isFeeLocking, 'openkaisuo': !item.values.isFeeLocking }">
<span class="iconfont" :class="{ 'icon-locksuo': item.values.isFeeLocking, 'icon-lock-openkaisuo': !item.values.isFeeLocking }"></span> <span class="iconfont" :class="{ 'icon-locksuo': item.values.isFeeLocking, 'icon-lock-openkaisuo': !item.values.isFeeLocking }"></span>
</div> </div>
</span> </span>
@ -304,8 +304,15 @@
width: calc(50% - 7.5px); width: calc(50% - 7.5px);
padding-top: 3px; padding-top: 3px;
font-size: 12px; font-size: 12px;
.openkaisuo {
background: #F5F5F5;
color: #7A8798;
}
.locksuo {
background: #257AFA;
color: #ffffff;
}
div { div {
border: 1px solid #d9d9d9;
border-radius: 2px; border-radius: 2px;
height: 26px; height: 26px;
line-height: 26px; line-height: 26px;

@ -76,7 +76,7 @@
<span class="s-txt" :class="{ 's-active': model.isDispatcher }">{{ model.isDispatcher ? '是' : '否'}}</span> <span class="s-txt" :class="{ 's-active': model.isDispatcher }">{{ model.isDispatcher ? '是' : '否'}}</span>
</template> </template>
<template #signatureUrl> <template #signatureUrl>
<DsFile ref="dsFile" :id="id" :show="false" height="300"> <DsFile v-if="id" :maxCount="1" ref="dsFile" :id="id" :show="false" height="300">
<a-button type="link" size="mini" style="padding-right: 3px!important;" @click="addFile"> <a-button type="link" size="mini" style="padding-right: 3px!important;" @click="addFile">
<span class="iconfont icon-fujian1"></span> <span class="iconfont icon-fujian1"></span>
点击上传图片 点击上传图片

Loading…
Cancel
Save