|
|
@@ -35,7 +35,8 @@
|
|
|
:sortable="item.sortable"
|
|
|
:width="item.width">
|
|
|
<template #default="{ row }">
|
|
|
- <span>{{ row[item.prop] }}</span>
|
|
|
+ <span v-if="item.prop === 'isBig'">{{ row[item.prop] === '10' ? '是' : '否' }}</span>
|
|
|
+ <span v-else>{{ row[item.prop] }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column align="center" label="操作" width="120px">
|
|
|
@@ -64,6 +65,9 @@
|
|
|
</el-checkbox>
|
|
|
</el-checkbox-group>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="大项目授权">
|
|
|
+ <el-switch v-model="form.isBig" active-text="是" active-value="10" inactive-text="否" inactive-value="20" />
|
|
|
+ </el-form-item>
|
|
|
</el-form>
|
|
|
<template #footer>
|
|
|
<el-button @click="visible = false">取 消</el-button>
|
|
|
@@ -116,6 +120,11 @@
|
|
|
sortable: false,
|
|
|
disableCheck: false,
|
|
|
},
|
|
|
+ {
|
|
|
+ label: '大项目',
|
|
|
+ width: '120px',
|
|
|
+ prop: 'isBig',
|
|
|
+ },
|
|
|
{
|
|
|
label: '授权产品线',
|
|
|
width: 'auto',
|
|
|
@@ -132,6 +141,7 @@
|
|
|
userPost: '',
|
|
|
userPhone: '',
|
|
|
productLine: [],
|
|
|
+ isBig: '20',
|
|
|
},
|
|
|
}
|
|
|
},
|
|
|
@@ -192,6 +202,7 @@
|
|
|
userPost: '',
|
|
|
userPhone: '',
|
|
|
productLine: [],
|
|
|
+ isBig: '20',
|
|
|
}
|
|
|
this.$refs.form.clearValidate()
|
|
|
},
|