|
@@ -43,8 +43,6 @@
|
|
|
<el-button v-if="row.state == 2" :size="size" :type="type" @click="forbidden(row, 1)">启用</el-button>
|
|
|
<el-button v-if="row.livingHall === 0" :size="size" :type="type" @click="setLeader(row)">设为团长</el-button>
|
|
|
<el-button v-if="row.livingHall === 1" :size="size" :type="type" @click="removeLeader(row)">移除团长</el-button>
|
|
|
- <el-button v-if="row.isStore === 0" :size="size" :type="type" @click="handleAddTicket(row)">设为供应商</el-button>
|
|
|
-<!-- <el-button v-if="row.isStore === 1" :size="size" :type="type" @click="removeStore(row)">移除供应商</el-button>-->
|
|
|
</template>
|
|
|
</avue-crud>
|
|
|
|
|
@@ -156,7 +154,7 @@
|
|
|
dialogClickModal: false,
|
|
|
menuAlign: 'left',
|
|
|
searchLabelWidth:100,
|
|
|
- menuWidth: 265,
|
|
|
+ menuWidth: 200,
|
|
|
searchIcon: true,
|
|
|
searchIndex: 3,
|
|
|
column: [
|
|
@@ -193,26 +191,26 @@
|
|
|
editDisplay: false,
|
|
|
search: true,
|
|
|
},
|
|
|
- {
|
|
|
- label: "供应商身份",
|
|
|
- prop: "isStore",
|
|
|
- type: "select",
|
|
|
- dicUrl: "/api/blade-system/dict-biz/dictionary?code=is_store",
|
|
|
- props: {
|
|
|
- label: "dictValue",
|
|
|
- value: "dictKey"
|
|
|
- },
|
|
|
- dataType: "number",
|
|
|
- hide: false,
|
|
|
- search: true,
|
|
|
- addDisplay: false,
|
|
|
- editDisplay: false,
|
|
|
- rules: [{
|
|
|
- required: true,
|
|
|
- message: "请选择状态",
|
|
|
- trigger: "blur"
|
|
|
- }]
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // label: "供应商身份",
|
|
|
+ // prop: "isStore",
|
|
|
+ // type: "select",
|
|
|
+ // dicUrl: "/api/blade-system/dict-biz/dictionary?code=is_store",
|
|
|
+ // props: {
|
|
|
+ // label: "dictValue",
|
|
|
+ // value: "dictKey"
|
|
|
+ // },
|
|
|
+ // dataType: "number",
|
|
|
+ // hide: false,
|
|
|
+ // search: true,
|
|
|
+ // addDisplay: false,
|
|
|
+ // editDisplay: false,
|
|
|
+ // rules: [{
|
|
|
+ // required: true,
|
|
|
+ // message: "请选择状态",
|
|
|
+ // trigger: "blur"
|
|
|
+ // }]
|
|
|
+ // },
|
|
|
{
|
|
|
label: "团长身份",
|
|
|
prop: "livingHall",
|