Commit 87812f82 authored by 周远喜's avatar 周远喜

删除样式处理

parent 70deed81
......@@ -47,7 +47,8 @@ export default {
detail: "查看",
edit: "编辑",
add: "添加",
delete: "删除"
delete: "删除",
remove: "删除"
};
if (oprates[this.oprate]) {
......@@ -61,7 +62,7 @@ export default {
},
methods: {
handler() {
if (this.oprate == "delete") {
if (this.oprate == "delete"||this.oprate == "remove") {
this.$Modal.confirm({
title: "确认",
content: "<p>" + this.msg + "</p>",
......
......@@ -4,6 +4,11 @@ export default {
menu: {
i18n: '多语言'
},
id: '编号',
creationTime: '创建时间',
creatorUserId: '创建人',
lastModificationTime: '更新时间',
lastModifierUserId: '更新人',
page: {
login: {
title: '登录',
......@@ -960,12 +965,12 @@ export default {
outSideTime: '外协工期',
taskSeq: '工序号',
taskName: '工序名称',
productName:'产品名称',
drawingNum:'产品图号',
batchNum:'批次号',
projectNo:'项目号',
partTaskPk:'计划编号',
opTaskPk:'工单Id',
productName: '产品名称',
drawingNum: '产品图号',
batchNum: '批次号',
projectNo: '项目号',
partTaskPk: '计划编号',
opTaskPk: '工单Id',
}, //多租户-服务器数据源
host: {
id: '',
......
......@@ -81,7 +81,7 @@ keys:{op:"unicode,name,code",value:null}
h('op', { attrs: { oprate: 'detail' }, on: { click: () => this.view(params.row.id) } }, '查看'),
//h('op', { attrs: { oprate: 'copy' }, on: { click: () => this.copy(params.row.id) } }, '克隆'),
h('op', { attrs: { oprate: 'edit'}, on: { click: () => this.edit(params.row.id) } }, '编辑'),
h('op', { attrs: { oprate: 'remove' }, on: { click: () => this.remove(params.row.id) } }, '删除')
h('op', { attrs: { oprate: 'delete' }, on: { click: () => this.remove(params.row.id) } }, '删除')
])
}
},
......
<template>
<Form ref="form" :model="condition" :label-width="90">
<Row>
<Col :span="12" :v-if="condition.id.show"><FormItem :label="l('id')" prop="id"> <Input v-model="condition.id.value"> </Input>
<Col :span="12" :v-if="condition.id.show"><FormItem :label="$t('id')" prop="id"> <Input v-model="condition.id.value"> </Input>
</FormItem></Col>
<Col :span="12" :v-if="condition.creationTime.show"><FormItem :label="$t('creationTime')" prop="creationTime"> <DatePicker type="daterange" v-model="condition.creationTime.value"></DatePicker>
</FormItem></Col>
......
......@@ -49,7 +49,7 @@ const systemApi = {
window.iconImg = `http://${hostAddress}:3006/imgicon/`; //待办任务图标路径
window.apsManualUrl = `http://${apsAdress}:10091/api/services/app`;//aps手工排产
window.apsUrl = `http://${apsAdress}:10110/api/services/app`;//aps排产
window.technologyUrl =`http://localhost:10031/api/services/app/`;
window.technologyUrl =`http://${address}:10031/api/services/app/`;
//oidc配置:
window.authConfig = {
authority: `http://${address}:10010`,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment