|
6 | 6 | </h3>
|
7 | 7 | <Row class="search-bar">
|
8 | 8 | <Col span="5" class="search-item">
|
9 |
| - <span class="lable">{{$t("message.apiServices.label.name")}}: </span> |
10 |
| - <Input v-model="searchName" class="input" :placeholder="$t('message.apiServices.placeholder.enterName')"></Input> |
| 9 | + <span class="lable">{{$t("message.apiServices.label.name")}}: </span> |
| 10 | + <Input v-model="searchName" class="input" :placeholder="$t('message.apiServices.placeholder.enterName')"></Input> |
11 | 11 | </Col>
|
12 | 12 | <Col span="5" class="search-item">
|
13 |
| - <span class="lable">{{$t("message.apiServices.label.status")}}:</span> |
14 |
| - <Select v-model="searchStatus" clearable class="input"> |
15 |
| - <Option value="1">{{$t('message.apiServices.enable')}}</Option> |
16 |
| - <Option value="0">{{$t('message.apiServices.disable')}}</Option> |
17 |
| - </Select> |
| 13 | + <span class="lable">{{$t("message.apiServices.label.status")}}:</span> |
| 14 | + <Select v-model="searchStatus" clearable class="input"> |
| 15 | + <Option value="1">{{$t('message.apiServices.enable')}}</Option> |
| 16 | + <Option value="0">{{$t('message.apiServices.disable')}}</Option> |
| 17 | + </Select> |
18 | 18 | </Col>
|
19 | 19 | <Col span="5" class="search-item">
|
20 |
| - <span class="lable">{{$t("message.apiServices.label.submitter")}}:</span> |
21 |
| - <Input v-model="searchCommitter" class="input" :placeholder="$t('message.apiServices.placeholder.inputSubmitter')"></Input> |
| 20 | + <span class="lable">{{$t("message.apiServices.label.submitter")}}:</span> |
| 21 | + <Input v-model="searchCommitter" class="input" :placeholder="$t('message.apiServices.placeholder.inputSubmitter')"></Input> |
22 | 22 | </Col>
|
23 | 23 | <Col span="5">
|
24 |
| - <Button class="search" type="primary" @click="getApiData">{{$t("message.apiServices.label.find")}}</Button> |
| 24 | + <Button class="search" type="primary" @click="getApiData">{{$t("message.apiServices.label.find")}}</Button> |
25 | 25 | </Col>
|
26 | 26 | </Row>
|
27 | 27 | <div class="workspace-header-right">
|
|
60 | 60 | v-for="(item, index) in pageDatalist"
|
61 | 61 | :key="item.id + `${index}`"
|
62 | 62 | >
|
63 |
| - <!-- 卡片 --> |
64 |
| - <apiCard |
65 |
| - :title="item" |
66 |
| - :desc="item.description" |
67 |
| - :disabled="item.status === 0 || item.status === 2" |
68 |
| - :status="getStatusButtonTextAndColor(item.status).status" |
69 |
| - :button="getStatusButtonTextAndColor(item.status).button" |
70 |
| - @onButton="holderButton(item)" > |
71 |
| - <template slot="dropdown" v-if="item.creator === username && item.status !== 2"> |
72 |
| - <dop :dropdownList="getDropdownList(item, index)" @commonAction="commonAction(item, arguments, index)"></dop> |
73 |
| - </template> |
74 |
| - </apiCard> |
| 63 | + <!-- 卡片 --> |
| 64 | + <apiCard |
| 65 | + :title="item" |
| 66 | + :desc="item.description" |
| 67 | + :disabled="item.status === 0 || item.status === 2" |
| 68 | + :status="getStatusButtonTextAndColor(item.status).status" |
| 69 | + :button="getStatusButtonTextAndColor(item.status).button" |
| 70 | + @onButton="holderButton(item)" > |
| 71 | + <template slot="dropdown" v-if="item.creator === username && item.status !== 2"> |
| 72 | + <dop :dropdownList="getDropdownList(item, index)" @commonAction="commonAction(item, arguments, index)"></dop> |
| 73 | + </template> |
| 74 | + </apiCard> |
75 | 75 | </Col>
|
76 | 76 | </Row>
|
77 | 77 | </template>
|
|
0 commit comments