修改舱位问题

dev
sunzehua 2 weeks ago
parent a4f0771013
commit 79c0ff6743

@ -14,7 +14,7 @@ VITE_PUBLIC_PATH = /
# Please note that no line breaks # Please note that no line breaks
# VITE_PROXY = [["/basic-api","http://60.209.125.238"],["/upload","http://localhost:3300/upload"]] # VITE_PROXY = [["/basic-api","http://60.209.125.238"],["/upload","http://localhost:3300/upload"]]
# VITE_PROXY=[["/api","http://60.209.125.238:3008"],["/stage-api","https://www.666cxf.com/stage-api"]] # 开发 测试环境 # VITE_PROXY=[["/api","http://60.209.125.238:3008"],["/stage-api","https://www.666cxf.com/stage-api"]] # 开发 测试环境
VITE_PROXY=[["/api","http://118.190.144.189:3008"],["/stage-api","https://www.666cxf.com/stage-api"]] # 开发 测试环境 VITE_PROXY=[["/api","http://60.209.125.238:3008"],["/stage-api","https://www.666cxf.com/stage-api"]] # 开发 测试环境
# Delete console # Delete console
VITE_DROP_CONSOLE = false VITE_DROP_CONSOLE = false

@ -1199,6 +1199,20 @@ export const detialForm: FormSchema[] = [
component: 'Input', component: 'Input',
colProps: { span: 4 }, colProps: { span: 4 },
}, },
{
field: 'recvEmail',
label: '接受邮箱',
dynamicDisabled:true,
component: 'Input',
colProps: { span: 4 },
},
{
field: 'senderEmail',
label: '来源邮箱',
component: 'Input',
dynamicDisabled:true,
colProps: { span: 4 },
},
] ]
export const detialTimeForm: FormSchema[] = [ export const detialTimeForm: FormSchema[] = [

@ -439,7 +439,7 @@ function handleSubmit() {
} }
function handlePub() { function handlePub() {
workFlowSetUnPublishRelease([form.value.pkId]).then(res => { workFlowSetUnPublishRelease([form.value.pkId]).then(res => {
if (res.data.ext[0].succ) { if (res.succeeded) {
createMessage.success('发布成功') createMessage.success('发布成功')
visible.value = false visible.value = false
} else { } else {

@ -10,20 +10,10 @@
> >
<span class="iconfont icon-qiyong-danse" @click="handleApply"></span> <span class="iconfont icon-qiyong-danse" @click="handleApply"></span>
<span class="iconfont icon-quxiaoqiyong-danse" @click="handleWithdraw"></span> <span class="iconfont icon-quxiaoqiyong-danse" @click="handleWithdraw"></span>
<span class="iconfont icon-qiyong-danse" @click="handlePub"></span>
</TableButton> </TableButton>
</template> </template>
<template v-slot:bodyCell="{ column, record }"> <template v-slot:bodyCell="{ column, record }">
<!-- <template v-if="column.key === 'action'">
<TableAction :actions="[
{
icon: 'clarity:note-edit-line',
tooltip: '编辑',
onClick: () => {
GoDetailed(true, record)
},
},
]" />
</template> -->
<template v-if="column.key === 'isEnable'"> <template v-if="column.key === 'isEnable'">
<span v-if="record.isEnable == 1"></span> <span v-if="record.isEnable == 1"></span>
<span v-if="record.isEnable == 0"></span> <span v-if="record.isEnable == 0"></span>
@ -36,7 +26,7 @@
</template> </template>
<script lang="ts" setup name="服务流程台账"> <script lang="ts" setup name="服务流程台账">
import { ref } from 'vue' import { ref } from 'vue'
import { GetList, SetUnEnable, SetEnable, Delete } from './api.js' import { GetList, SetUnEnable, SetEnable, Delete,workFlowSetUnPublishRelease } from './api.js'
import { BasicTable, useTable } from '/@/components/Table' import { BasicTable, useTable } from '/@/components/Table'
import { columns, searchFormSchema, detailForm } from './columns' import { columns, searchFormSchema, detailForm } from './columns'
import manyModel from './manyModel.vue' import manyModel from './manyModel.vue'
@ -84,6 +74,24 @@ function GoDetailed(type, row) {
} }
} }
const manyModelRef = ref() const manyModelRef = ref()
function handlePub(){
let ids = []
ids = getVxeSelectRows().map((item) => {
return item.pkId
})
if (ids.length == 0) {
createMessage.error('请选择数据')
return false
}
workFlowSetUnPublishRelease(ids).then(res => {
if (res.succeeded) {
createMessage.success('操作成功')
clearSelectedRowKeys()
reload()
manyModelRef.value.init(res)
}
})
}
function handleSuccess(){ function handleSuccess(){
reload() reload()

Loading…
Cancel
Save