过程记录模板部分状态改动,删除上线字段,删除审核功能

dev-scheduling
姜雪 1 month ago
parent 0ba6f9af20
commit d18ba4694e
  1. 101
      src/views/qualityManagement/inspectionArchiving/rbFilePreserve/index.vue
  2. 4
      vite.config.mjs

@ -48,15 +48,7 @@
<el-tag v-if="row.line == 1">线上</el-tag>
<el-tag v-if="row.line == 0" type="success">线下</el-tag>
</template>
<!-- <template #approvalStatus="{ row }">
<approvalStandard
ref="approvalRpf"
:cur-status="row.approvalStatus"
:flow-code="row.flowCode"
:the-id="row.rfpId"
@refresh="refresh"
/>
</template> -->
</avue-crud>
<detailRb
:detail-open="detailOpen"
@ -224,24 +216,24 @@ export default {
},
],
},
{
label: '线上/线下',
prop: 'line',
span: 24,
value:0,
type: 'switch',
dicData: [
{
label: '线下',
value: 0,
},
{
label: '线上',
value: 1,
},
// {
// label: '线/线',
// prop: 'line',
// span: 24,
// value:0,
// type: 'switch',
// dicData: [
// {
// label: '线',
// value: 0,
// },
// {
// label: '线',
// value: 1,
// },
],
},
// ],
// },
{
label: '维护人',
prop: 'keepUserRealName',
@ -261,33 +253,50 @@ export default {
display: false,
width:200,
},
// {
// label: '',
// prop: 'status',
// search: true,
// sortable: true,
// filter: true,
// display: false,
// type: 'select',
// dicUrl:'/api/blade-system/dict/dictionary?code=ProReTemplate-Status',
// props:{
// label: 'dictValue',
// value: 'dictKey',
// }
// },
{
label: '状态',
prop: 'status',
search: true,
sortable: true,
filter: true,
display: false,
type: 'select',
dicUrl:'/api/blade-system/dict/dictionary?code=ProReTemplate-Status',
props:{
label: 'dictValue',
value: 'dictKey',
}
},
{
label: '审批状态',
prop: 'approvalStatus',
search: true,
sortable: true,
filter: true,
display: false,
type: 'select',
dicUrl:'/api/blade-system/dict/dictionary?code=ProReTemplate-ApprovalStatus',
props:{
label: 'dictValue',
value: 'dictKey',
}
// dicUrl:'/api/blade-system/dict/dictionary?code=ProReTemplate-ApprovalStatus',
// props:{
// label: 'dictValue',
// value: 'dictKey',
// },
dicData: [
{
label: '新建',
value: 0,
},
{
label: '发布',
value: 1,
},
{
label: '使用中',
value: 2,
},
{
label: '废弃',
value: 3,
},
],
},
],
},

@ -61,7 +61,7 @@ export default ({ mode, command }) => {
port: 2888,
proxy: {
'/api': {
target: 'http://192.168.0.115:80',//本地
// target: 'http://192.168.0.115:80',//本地
// target: 'http://192.168.1.5:82',
// target: "http://192.168.1.4:82",
// target: 'http://49.232.74.228:82',
@ -70,7 +70,7 @@ export default ({ mode, command }) => {
// target: 'http://49.232.74.228:82',
// target: "http:192.168.0.220:80",
// target: 'http:49.232.74.228:49',
// target: 'http://49.232.74.228:80', //测试环境的地址
target: 'http://49.232.74.228:80', //测试环境的地址
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''),
},

Loading…
Cancel
Save