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

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 == 1">线上</el-tag>
<el-tag v-if="row.line == 0" type="success">线下</el-tag> <el-tag v-if="row.line == 0" type="success">线下</el-tag>
</template> </template>
<!-- <template #approvalStatus="{ row }">
<approvalStandard
ref="approvalRpf"
:cur-status="row.approvalStatus"
:flow-code="row.flowCode"
:the-id="row.rfpId"
@refresh="refresh"
/>
</template> -->
</avue-crud> </avue-crud>
<detailRb <detailRb
:detail-open="detailOpen" :detail-open="detailOpen"
@ -224,24 +216,24 @@ export default {
}, },
], ],
}, },
{ // {
label: '线上/线下', // label: '线/线',
prop: 'line', // prop: 'line',
span: 24, // span: 24,
value:0, // value:0,
type: 'switch', // type: 'switch',
dicData: [ // dicData: [
{ // {
label: '线下', // label: '线',
value: 0, // value: 0,
}, // },
{ // {
label: '线上', // label: '线',
value: 1, // value: 1,
}, // },
], // ],
}, // },
{ {
label: '维护人', label: '维护人',
prop: 'keepUserRealName', prop: 'keepUserRealName',
@ -261,33 +253,50 @@ export default {
display: false, display: false,
width:200, 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: '状态', 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', prop: 'approvalStatus',
search: true, search: true,
sortable: true, sortable: true,
filter: true, filter: true,
display: false,
type: 'select', type: 'select',
dicUrl:'/api/blade-system/dict/dictionary?code=ProReTemplate-ApprovalStatus', // dicUrl:'/api/blade-system/dict/dictionary?code=ProReTemplate-ApprovalStatus',
props:{ // props:{
label: 'dictValue', // label: 'dictValue',
value: 'dictKey', // 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, port: 2888,
proxy: { proxy: {
'/api': { '/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.5:82',
// target: "http://192.168.1.4:82", // target: "http://192.168.1.4:82",
// target: 'http://49.232.74.228: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://49.232.74.228:82',
// target: "http:192.168.0.220:80", // target: "http:192.168.0.220:80",
// target: 'http:49.232.74.228:49', // target: 'http:49.232.74.228:49',
// target: 'http://49.232.74.228:80', //测试环境的地址 target: 'http://49.232.74.228:80', //测试环境的地址
changeOrigin: true, changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''), rewrite: path => path.replace(/^\/api/, ''),
}, },

Loading…
Cancel
Save