我正在尝试使用CRUD Vuetify Datatable作为我的API的前端。
我来自laravel的API端点为http://localhost:8888/civuejs/user/showTransactionDoctor,来自API的响应为:
setsebool -P httpd_can_connect_ldap on
我的组件CRUD Vuetify Datatable仍然是Vuetify的模板
此模板和脚本:
{
"TransactionDoctors": [
{
"id": "1",
"transaction_date": "2020-11-10",
"email_employee": "snuff@xyz.com",
"name": "john doe",
"phone_number": "08123345556",
"gender": "Male",
"address": "st. hushdign kroah",
"indication": "fever",
"final_diagnosa": null,
"status": "1"
},
{
"id": "2",
"transaction_date": "2020-13-11",
"email_employee": "john@abx.com",
"name": "john george",
"phone_number": "08123345556",
"gender": "Male",
"address": "st. hubsha hugh",
"indication": "cough",
"final_diagnosa": null,
"status": "1"
},
{
"id": "3",
"transaction_date": "2020-12-12",
"email_employee": "huzni@xyz.com",
"name": "huzni",
"phone_number": "08123312121",
"gender": "Female",
"address": "st. ufhash nokh",
"indication": "fever",
"final_diagnosa": null,
"status": "1"
},
]
}
我想使用我的数据API更改模板表中的所有数据。我想显示身份证,交易日期,电子邮件员工和姓名。怎么改变呢?谢谢,GBU。