You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iot/projects/WebMVC/wwwroot/js/components.js

46 lines
1.5 KiB

Vue.component('pagination', function (resolve, reject) {
axios.get("/router/shared/pagination.html").then(function (response) {
resolve(parseModel(response));
});
});
Vue.component('layout', function (resolve, reject) {
axios.get("/router/shared/layout.html").then(function (response) {
resolve(parseModel(response));
});
});
Vue.component('list', function (resolve, reject) {
axios.get("/router/shared/list.html").then(function (response) {
resolve(parseModel(response));
});
});
Vue.component('display', function (resolve, reject) {
axios.get("/router/shared/display.html").then(function (response) {
resolve(parseModel(response));
});
});
Vue.component('update', function (resolve, reject) {
axios.get("/router/shared/update.html").then(function (response) {
resolve(parseModel(response));
});
});
//
Vue.component('index', function (resolve, reject) {
axios.get("/router/shared/index.html").then(function (response) {
resolve(parseModel(response));
});
});
Vue.component('detail', function (resolve, reject) {
axios.get("/router/shared/detail.html").then(function (response) {
resolve(parseModel(response));
});
});
Vue.component('add', function (resolve, reject) {
axios.get("/router/shared/add.html").then(function (response) {
resolve(parseModel(response));
});
});
Vue.component('edit', function (resolve, reject) {
axios.get("/router/shared/edit.html").then(function (response) {
resolve(parseModel(response));
});
});